I do love the last Amicus brief filed that states that the 2nd isn't about "the right of the people to keep and bear Arms" as it literally says, but instead it's a right to server in 'the militia'
Even if they were right about that it would still be damning to their case.
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.
(Aug. 10, 1956, ch. 1041, 70A Stat. 14, § 311; Pub. L. 85–861, § 1(7), Sept. 2, 1958, 72 Stat. 1439; Pub. L. 103–160, div. A, title V, § 524(a), Nov. 30, 1993, 107 Stat. 1656; renumbered § 246, Pub. L. 114–328, div. A, title XII, § 1241(a)(2), Dec. 23, 2016, 130 Stat. 2497.)