native: add support for ARM

Incomplete, but working for non-asynchronous operation already.

@thomaseichinger please help out with the arm asm.