How do those contrast with the contortions upon "shall not be infringed?"
I think the governing circumstance is that the law is assumed to not be a suicide pact, but I lack sufficient case history to really have the zen of how common-law precedent and the US legislature has squared the circle of "shall not be infringed" vs. various licensures, taxes, and bans applied.
Perhaps worth considering is that two of the restrictions - automated rifles and sawed-off shotguns - come from an era where organized crime began out-gunning the police. This may shed light on the question.