mulli for constant multiplies
A multiply by a non-power-of-two constant uses the immediate multiply mulli rD, rA, imm, where the multiplier rides along inside the instruction.
For example, times6(n) = n * 6 compiles to:
mulli r3, r3, 6
blr
The immediate field is the constant — read it straight out of the instruction. (For some constants MWCC will instead synthesize the product from shifts and adds when that's cheaper — but for many small values it just emits mulli.)
Look at the immediate on the mulli in the target assembly: that value is your multiplier.
Your task
Write times12 to reproduce the target assembly.