The Second Amendment doesn’t say anything about registration.
It does once you figure out that gun registration poses a threat to the security of a free state.