According to Wikipedia:
In United States v. Cruikshank (1876), the Supreme Court of the United States ruled that, "The right to bear arms is not granted by the Constitution; neither is it in any manner dependent upon that instrument for its existence" and limited the scope of the Second Amendment's protections to the federal government.[11] In United States v. Miller (1939), the Supreme Court ruled that the Second Amendment did not protect weapon types not having a "reasonable relationship to the preservation or efficiency of a well regulated militia".[12][13]
As I stated, I have no expertise in this matter. If it requires a repeal then that is what I would favor.
https://en.wikipedia.org/wiki/Second_Amendment_to_the_United...