You don't seem to understand the purpose of martial law. It is a very obsolete low tech technique used to control population movements at times where the humans with guns need to take a rest and your human informers are largely not around. It is to limit the human resources needed to surveil the population. Martial law is only instituted when the positive effects are outweighing the negative effects of angering and radicalizing the society on which it is applied. For example when a suitable justification can be used to placate 95% of the people it applies to.
Now ask yourself, why would they ever again need to institute martial law, when they can perfectly track and control your movements, spending, associations, through electronic means. Martial law would have only its negative effects and serve none of the positive ones, which are now 1000% more effectively served by total information awareness programs.
Your guns are absolutely meaningless, because nobody will come at you with force. They will come during day, with arrest warrant, since there are enough laws on books for everyone to break one here or there, and enough surveilance for them to know about it. Your guns will be absolutely useless, because they pick you one by one with the direct approval of your neighbors and convict you with some randomly selected 12 non-peers of yours, who will have only carefully selected and filtered 10% of the information about you.
You naive gun guys make me laugh so hard sometimes.