Go through immigration.
The plane takes off.
Wait at the boarding gate.
4
6
Go to the check-in desk.
5
Arrive at the airport
2
1
3
Board the plane.