Man arrested for firing gun, assaulting cops