Why is that even relevant?
That would be self defense. However, in this scenario, you'd probably be dead. The odds of you getting off a headshot while breathing in tear gas with screaming people running around and your adrenaline pumping, you'd probably be dead.