The grammar at issue here isn’t the comma, it’s the conditional statement, “if y’all think I did it.” The suspect prefaced the request for a lawyer (or lawyer dog) with a condition, which meant if any of the officers didn’t think he did it, then there would be no request for a lawyer... or a lawyer dog.