Steps that either would not work between architectures or that Rosetta would handle (thereby answering your own question)
What? They would compile the code that they control for the M-series architectures. The target architecture is M-series ARM chips running on MacOS.
Rosetta is for translating x86 to ARM. Which wouldn't be necessary because there are no x86 binaries involved at all.