I don't think it's "just" regular prime factorization, because it's a special property of groups that there's a prime power subgroup. Nothing like that holds for semigroups or loops.
See below
See below