since we arrived in Qatar in 1982.
Those with long memories will remember the concrete box with a half covered window at each end where passports went in and out. It wasn't unusual for inbound passengers to wait a couple of hours.
Just to keep us on our toes the passports didn't come out in the same order as they went in. You had to check that you had received the correct passport.
It wasn't unusual to find passengers desperately checking passports in the baggage collection area looking for their own (given mistakenly to someone else)