My brother lives in Tuscon. His wife was bitten by a rattler while hiking some years ago and she has scars on her ankle to prove it.
Lots of rattlers in the hills here. Used to get them in the yard where I lived before I moved here. Sometimes the fire dep't. would come and get them an relocate them.
One time there was one under my neighbor's van and he had a 22 loaded with snake shot which he unloaded on the poor snake. It echoed through that narrow canyon and sounded like a cannon.
I see them on the trails and if they are in the way usually a pebble or 2 tossed their way will get them to slither away. One time I did that and the snake became super aggressive. I gave him all the time he wanted.
My cat killed a couple gopher snakes at the old house and I was always worried he would get bitten by a rattler. There was a dead one in the shared driveway and I was out there when he saw it. He started toward it and I yelled "NO" and he stopped. A friend lost a cat to a rattler. His cat killed the snake but was bitten in the fight.
There are places here that train dogs to avoid snakes.