Rattlesnake courtship can last multiple days, as this National Geographic clip shows (though, fair warning: there are graphic shots of viper coitus and a few cringeworthy puns). The interaction between male rattlesnakes, on the other hand, tends to be quite a bit shorter and involves one male trying to stretch taller than the other.
The combat dance is a guarding behavior, says Pauly. He tells the National Park Service:
Male rattlesnakes will often spend multiple days with a female until she is ready to mate. If another male comes along, the two males will engage in this "combat." The combat typically involves the two rising up into the air and trying to push the other back to the ground. Usually the larger male wins and the other leaves the area.
The victor gets to stay. "So what people often don't realize when they are watching this wrestling match," Pauly writes, "is that somewhere close by is probably a female rattlesnake."