We are not "granted" our inalienable rights by the government. The Constitution does not grant those rights either. The Constitution RECOGNIZES those rights as inherent in our creation, and specifically enumerates them. As stated in the Declaration of Independence, they are given to us "by [our] Maker". No government can revoke them. That is what the 2nd Amendment is about...preserving a means to keep those rights from being violated.
If our rights are "inalienable" then how about you arm up and head down to Mexico and see how far you get before you get thrown in prison for possessing firearms. Go ahead and scream all you want about "inalienable rights" and then let us know if Mexican prisons are as bad as they say they are.
Our rights are based on the fact that we are American citizens. They go exactly as far as the borders of this country and no further. Why? Because they are granted by the Constitution of the United States and mean exactly squat outside of our national boundaries.