1. When a thing has stopped functioning.
2. When a person has run out of energy, especially after a period of sustained effort.
"We kept the afterparty going til about six, but then the sun came up and everyone just died in the ass."
"This project's important, Doug. I don't want to get halfway through and have you die in the ass again."