#include "zasm_GOOS_GOARCH.h"
#include "../../cmd/ld/textflag.h"
TEXT runtime·setldt(SB),NOSPLIT,$0
RET
TEXT runtime·open(SB),NOSPLIT,$0
MOVL $14, AX
INT $64
RET
TEXT runtime·pread(SB),NOSPLIT,$0
MOVL $50, AX
INT $64
RET
TEXT runtime·pwrite(SB),NOSPLIT,$0
MOVL $51, AX
INT $64
RET
TEXT runtime·seek(SB),NOSPLIT,$0
MOVL $39, AX
INT $64
CMPL AX, $-1
JNE 4(PC)
MOVL a+0(FP), CX
MOVL AX, 0(CX)
MOVL AX, 4(CX)
RET
TEXT runtime·close(SB),NOSPLIT,$0
MOVL $4, AX
INT $64
RET
TEXT runtime·exits(SB),NOSPLIT,$0
MOVL $8, AX
INT $64
RET
TEXT runtime·brk_(SB),NOSPLIT,$0
MOVL $24, AX
INT $64
RET
TEXT runtime·sleep(SB),NOSPLIT,$0
MOVL $17, AX
INT $64
RET
TEXT runtime·plan9_semacquire(SB),NOSPLIT,$0
MOVL $37, AX
INT $64
RET
TEXT runtime·plan9_tsemacquire(SB),NOSPLIT,$0
MOVL $52, AX
INT $64
RET
TEXT runtime·notify(SB),NOSPLIT,$0
MOVL $28, AX
INT $64
RET
TEXT runtime·noted(SB),NOSPLIT,$0
MOVL $29, AX
INT $64
RET
TEXT runtime·plan9_semrelease(SB),NOSPLIT,$0
MOVL $38, AX
INT $64
RET
TEXT runtime·rfork(SB),NOSPLIT,$0
MOVL $19, AX
MOVL stack+8(SP), CX
MOVL mm+12(SP), BX
MOVL gg+16(SP), DX
MOVL fn+20(SP), SI
INT $64
CMPL AX, $0
JEQ 2(PC)
RET
MOVL CX, SP
get_tls(AX)
MOVL DX, g(AX)
MOVL BX, m(AX)
MOVL 48(AX), AX
MOVL AX, m_procid(BX)
CALL runtime·stackcheck(SB)
MOVL 0(DX), DX
MOVL 0(BX), BX
PUSHL SI
CALL runtime·emptyfunc(SB)
POPL SI
CALL SI
CALL runtime·exit(SB)
RET
TEXT runtime·sigtramp(SB),NOSPLIT,$0
get_tls(AX)
MOVL m(AX), BX
CMPL BX, $0
JNE 3(PC)
CALL runtime·badsignal2(SB)
RET
MOVL ureg+4(SP), CX
MOVL note+8(SP), DX
MOVL m_gsignal(BX), BP
MOVL g_stackbase(BP), BP
MOVL BP, SP
SUBL $16, SP
MOVL g(AX), BP
MOVL BP, 12(SP)
MOVL m_gsignal(BX), DI
MOVL DI, g(AX)
MOVL CX, 0(SP)
MOVL DX, 4(SP)
MOVL BP, 8(SP)
CALL runtime·sighandler(SB)
get_tls(BX)
MOVL 12(SP), BP
MOVL BP, g(BX)
MOVL AX, 0(SP)
CALL runtime·noted(SB)
RET
TEXT runtime·setfpmasks(SB),NOSPLIT,$0
RET
#define ERRMAX 128
TEXT runtime·errstr(SB),NOSPLIT,$0
get_tls(AX)
MOVL m(AX), BX
MOVL m_errstr(BX), CX
MOVL CX, 4(SP)
MOVL $ERRMAX, 8(SP)
MOVL $41, AX
INT $64
MOVL 4(SP), CX
PUSHL CX
CALL runtime·findnull(SB)
POPL CX
MOVL AX, 8(SP)
RET