Where does the second say “state militia”?
You are aware that private militias were common at the time, right.
Didn’t Thomas Jefferson have a private militia?
It doesn't. The second amendment says, "a well regulated Militia".
A well regulated Militia was one that was organized, trained, disciplined, armed and accoutered with officers appointed by the state. What else can that be but a state Militia?
"You are aware that private militias were common at the time, right."
Be that as it may, their right to keep and bear arms would not have been protected by the second amenmdment.