Here is the opinion in Young v. State of Hawaii. An excerpt:
Some colonies’ issuance of carry requirements—especially to church, public gatherings, and other travel—reflects “adaptation to the realities of colonial life, especially [considering] the ongoing hostile relationship with Native Americans.” Cornell, 80 Law & Contemp. Probs. at 28. In addition to tense relations with Native Americans, southern colonies also feared the possibility of slave uprisings. Id
page 60, note 16.