	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i8042_aux_write
_i8042_aux_write:                       ## @i8042_aux_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movb	%sil, -1(%rbp)
	movq	(%rdi), %rax
	movslq	(%rax), %rsi
	cmpq	$-1, %rsi
	jne	LBB0_1
## %bb.2:
	movq	_I8042_CMD_AUX_SEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_3
LBB0_1:
	movq	_I8042_CMD_MUX_SEND@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
LBB0_3:
	leaq	-1(%rbp), %rdi
	callq	_i8042_command
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I8042_CMD_AUX_SEND,8,3         ## @I8042_CMD_AUX_SEND
	.comm	_I8042_CMD_MUX_SEND,8,3         ## @I8042_CMD_MUX_SEND
	.no_dead_strip	_i8042_aux_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i8042_aux_write
_i8042_aux_write:                       ; @i8042_aux_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sturb	w1, [x29, #-1]
	ldr	x8, [x0]
	ldrsw	x8, [x8]
Lloh0:
	adrp	x9, _I8042_CMD_AUX_SEND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I8042_CMD_AUX_SEND@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _I8042_CMD_MUX_SEND@GOTPAGE
Lloh4:
	ldr	x10, [x10, _I8042_CMD_MUX_SEND@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x10, x10, x8
	cmn	w8, #1
	csel	x1, x9, x10, eq
	sub	x0, x29, #1
	bl	_i8042_command
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I8042_CMD_AUX_SEND,8,3         ; @I8042_CMD_AUX_SEND
	.comm	_I8042_CMD_MUX_SEND,8,3         ; @I8042_CMD_MUX_SEND
	.no_dead_strip	_i8042_aux_write
.subsections_via_symbols
