The puppy was lying on the ground with its tongue out, gasping for breath.