She swept the dirt out of the entryway.

Literal

She [topic-は] entryway [of-の] dirt [object-を] swept.

はいた is the past tense of 掃く ('to sweep') — one of three verbs that share the reading はく. The other two are 履く ('wear, put on for the lower body') and 吐く ('exhale, vomit, spit out'); kanji disambiguates them in writing, while context handles it in speech. The pairing of ごみ ('dirt, trash, rubbish') with the entryway is a small piece of daily-life vocabulary: shopkeepers and homeowners traditionally sweep the front of the property in the morning, often finishing with 打ち水 — splashing water on the cleaned area to settle dust and, in summer, cool the air. This routine 'tidying outward' embodies the broader cultural habit of keeping one's immediate surroundings presentable.