I would get a magnifying glass and look real close. If it looks fine and chambers I would shoot it( the smaller dent).YMMV! But if ANY question I would toss it or pull the bullet, its only 30 cents or so.
Because of the bigger dent being on the shoulder I'm not gonna shoot it, but I will unload it and reload it in another case eventually.
I'll inspect the little dent and look for any abnormality and decide then.
First one looks like a dent from reloading lube...reloaded by others?! No dang way I'd shoot any of them then. Now that I reload, I know the mistakes that can be made. It's one thing if I hurt myself by a stupid mistake even after following all my quality control safeguards but I sure won't expose myself to someone else's stupid mistake (and unknown quality control, or lack there of).
I would say its unsafe to fire but not because of the dents but rather because it is from an unknown source. If you can be certain it is factory ammo then the small dented case would be safe to fire for sure the larger dent is borderline at best and I'd trash it.