Univerbation of أَن (ʔan, “that”) + مَا (mā, relative), the original thought being “that this matter be touched”, “be it that”, or just a dialectal variant of disjunctive إِمَّا (ʔimmā, “be it that”) as أَمَّا (ʔammā) can well be used for positing two alternatives.