Move irq_signal bit check to the front
Open, Needs TriagePublic

Description

Check the bit of irq_signal in the first place, then do other things.