Complex sentence: They are supposed to respond when one or more inmates attack someone or go out of control, but it is alleged to serve as a punishment squad.
Split into simpler sentences: They are supposed to respond when one or more inmates attack someone, or go out of control. But it is alleged to serve as a punishment squad.