My preference would be several lines of Claymores. If they get though that, a flame thrower.
Back in the real world, a shotgun catches a person’s attention very quickly but a AR holds more rounds and can reload faster for a normal person. I think either weapon would do the job. Most of the protesters would run after a few .22 cals were shot at them. They are only brave when the victims don’t resist.