ref: 990ceeef3bfd9d56e2e6dd39cf5ac185b1a2de08
dir: /sys/src/ape/lib/ap/arm64/setjmp.s/
TEXT sigsetjmp(SB), 1, $-4 MOVW savemask+8(FP), R1 MOVW _psigblocked(SB), R2 MOVW R1, 0(R0) MOVW R2, 4(R0) ADD $8, R0 /* wet floor */ TEXT setjmp(SB), 1, $-4 MOV LR, 8(R0) MOV SP, R1 MOV R1, 0(R0) MOV $0, R0 RETURN TEXT longjmp(SB), 1, $-4 MOV 8(R0), LR MOV 0(R0), R1 MOVW arg+8(FP), R0 MOV R1, SP CBZ R0, _one RETURN _one: MOV $1, R0 RETURN