.rept is not supported at all. Use .space instead
.ltorg is also not supported, so manually create literal pool (boo) periodically for the jumps
.global is .globl in Apple's version
After manually fixing this, I got it to compile, but the use of r9 is a no-no on iPhone, as this is used by the OS and can be used by the compiler. I globally replaced with r12, as it looked safe, but will review my changes and try again.