Where did it go?

I figured it had to happen to me at one point. They were about to begin boarding my red eye last night and I was looking for my boarding pass in all my pockets but it was no where to be found. I just went up to the podium and gave the gate agent my ID and voila! a new boarding pass. Crisis averted.