and “well regulated” means well supplied and trained.
Exactly. Something that we often ignore today. Many of us are competent as individuals with marksmanship skills, but we don't train as "militia" to work as coordinated teams. That limits our effectiveness if called up to repel a foreign invasion as originally envisioned in the concept of a militia.