	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0299_write
_stv0299_write:                         ## @stv0299_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %edx
	jne	LBB0_1
## %bb.2:
	movq	(%rdi), %rdi
	movl	(%rsi), %eax
	movl	4(%rsi), %edx
	movl	%eax, %esi
	popq	%rbp
	jmp	_stv0299_writeregI              ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stv0299_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0299_write
_stv0299_write:                         ; @stv0299_write
	.cfi_startproc
; %bb.0:
	cmp	w2, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x0]
	ldp	w8, w2, [x1]
	mov	x1, x8
	b	_stv0299_writeregI
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stv0299_write
.subsections_via_symbols
