Since the 2nd Amendment is the supreme law of the land and it says The right of the people shall not be infringed, all Federal gun control laws are unconstitutional.
In legal documents the word "shall" allows for NO wiggle room.
A well regulated Militia, being necessary to the security of of a free State,
This is what the founders said:
The power of the sword, say the minority..., is in the hands of Congress. My friends and countrymen, it is not so, for the powers of the sword are in the hands of the yeomanry of America from sixteen to sixty. The militia of these free commonwealths, entitled and accustomed to their arms, when compared with any possible army, must be tremendous and irresistible. Who are the militia? Are they not ourselves? Is it feared, then, that we shall turn our arms each man against his own bosom. Congress has no power to disarm the militia. Their swords and every terrible implement of the soldier are the birthright of Americans.
The unlimited power of the sword is not in the hands of either the federal or state governments but where, I trust in God, it will always remain, in the hands of the people.
Whereas civil rulers, not having their duty to the people duly before them, may attempt to tyrannize, and as the military forces which must be occasionally raised to defend our country, might pervert their power to the injury of their fellow citizens, the people are confirmed by the article in their right to keep and bear their private arms.
The militia, who are in fact the effective part of the people at large, will render many troops quite unnecessary. They will form a powerful check upon the regular troops, and will generally be sufficient to over-awe them.
Tench Coxe
This is what Federal law says.
10 U.S. Code § 246 - Militia: composition and classes
(a)The militia of the United States consists of all able-bodied males at least 17 years of age and, except as provided in section 313 of title 32, under 45 years of age who are, or who have made a declaration of intention to become, citizens of the United States and of female citizens of the United States who are members of the National Guard.
(b)The classes of the militia are—
(1)the organized militia, which consists of the National Guard and the Naval Militia; and
(2)the unorganized militia, which consists of the members of the militia who are not members of the National Guard or the Naval Militia.