He heard shouting, quarreling voices, but nothing made sense through the haze of his agony.
He was in agony while there was shouting near him.