- mov r6,r0 // Load continuation
- mov r0,r1 // Set first parameter
- mov r1,r2 // Set wait result arg
- blx r6 // Branch to continuation
+
+ mov r4,r0 // Load continuation
+ mov r5,r1 // continuation parameter
+ mov r6,r2 // Set wait result arg
+
+ teq r3, #0
+ beq 1f
+ mov r0, #1
+ bl _ml_set_interrupts_enabled
+1:
+
+ mov r0,r5 // Set first parameter
+ mov r1,r6 // Set wait result arg
+ blx r4 // Branch to continuation
+