ref: 8bf1e5b77521d94876a58989a434ef1a08d6d509 dir: /sys/src/libc/arm64/tas.s/
TEXT _tas(SB), 1, $-4 MOVW $1, R2 _tas1: LDXRW (R0), R1 STXRW R2, (R0), R3 CBNZ R3, _tas1 MOVW R1, R0 B _barrier(SB) TEXT _barrier(SB), 1, $-4 DMB $0xB // ISH RETURN