A reduplication of もし (moshi), a shortened form of 申し (mōshi), the noun stem form of humble verb 申す (mōsu, “to say”) ...
en.m.wiktionary.org