Getty/TMZ Composite

Andy Dick is in dire straits ... the troubled comedian suffered an apparent drug overdose on the street, prompting people to rush to his aid to save his life.

TMZ has exclusively obtained pics of Andy slumped over on cement stairs outside a building in Hollywood in broad daylight Tuesday. As you can see, Andy is completely out of it with his signature spectacles lying on the ground in front of him. TMZ.com

Eyewitnesses tell us several of Andy's friends ran up to him to try to revive him with one screaming at Andy to "wake up." Other people called an ambulance.

We're told a bystander shouted for someone to grab Narcan, a life saving medication used to reverse the affects of opioid overdoses, and Andy was administered the shot. TMZ.com

A rep for the Los Ang

See Full Page