The beginning, subordinate clause of the 2nd Amendment sentence mentions "militia" which references the enumerated power in Article I, Section 8.15-16. There it is stated re: the militia that the U.S. Government only may "govern such part of them (the militia) as may be EMPLOYED in its service". And according to the 10th Amendment, the U.S. Government may do NOTHING without delegated power. Therefore, it has NO lawful power for any gun laws re: the People.
If one READS the Preamble to the Bill of Rights, they were ADDED to "prevent usurpations and abuses" , that is, the Federal Government going beyond its delegated powers. The "shall not be infringed" main clause reiterates that the Federal Government may do NOTHING re: "the right of the People to keep and bear (carry) arms!
Judge Kavanaugh cited quite a few quotes from the Federalist Papers, which was good. I would've liked to have heard this one cited and applied to gun law legislation since it is pursuant or precisely congruent to "the equal protection of the laws" clause in tbe14th Amendment:
" Congress can make no law which will not have its full operation on themselves and their
friends, as well as on the great mass of the society."
-- James Madison, The Federalist Papers, No. 57.
I doubt if Sen. Feinstein would vote for her own anti gun bills if they included all government officials and agents. She and others want to take from us what they have and keep for themselves--and the by force. It's what criminals do.