But all of that is beside the point here, that being that the part of the 2nd A. regarding the people's rights is not qualified by the word 'regulated.'
The “you’d have to be standing there” situation falls into this mess.
In the 1760-era...with the British troops part of the American scene, there wasn’t a clear rule on personal firearms in the home. So a commander could arrive with a hundred of his troops....see way too many locals with hunting guns....deem it a problem....and open a armory where you’d have to check the gun out for the day, then return it. That was the only way that the British commander felt the situation was safe for himself, the troops, and the locals.
For a military commander, this way of thinking has various reasons to enforce gun control. You didn’t have idiots running off to start some Indian conflict over a rumor which was false. And with the amount of alcohol that flowed in those days...most guys were generally a bit drunk on occasion.
The militia angle made perfect sense after the Revolutionary War and locals felt they were now in control of their guns, and could continue to run the armory business if they desired, or discontinue it if they desired.