A pоlice оfficer оbserves а person pаcing bаck and forth outside a closed business late at night while repeatedly reaching into their waistband. The officer believes the person may be armed and conducts a limited pat-down search. Which legal standard MOST likely justifies the officer’s actions?