libk  kio_posix_fd_write.x86.lin.32.s at [8e0015144e]

File kio/kio_posix_fd_write.x86.lin.32.s artifact c48aae0264 part of check-in 8e0015144e


bits 32
global kio_posix_fd_write

%include "../arch/x86.lin.32.inc"
; vim: ft=nasm

kio_posix_fd_write:
	mov lin.reg.0, lin.call.write
	mov lin.reg.1, [esp + 4] ; holy god but this took the most
	mov lin.reg.2, [esp + 8] ; stupidly long time to fucking
	mov lin.reg.3, [esp + 12]; figure out
	lin.call
	ret