	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au8522_rc_write
_au8522_rc_write:                       ## @au8522_rc_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	$32, %rsp
	movl	%esi, %eax
	shrl	$8, %eax
	orb	$-128, %al
	movb	%al, -3(%rbp)
	movb	%sil, -2(%rbp)
	movb	%dl, -1(%rbp)
	leaq	-3(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	$3, -24(%rbp)
	movl	8(%rdi), %eax
	movl	%eax, -16(%rbp)
	movq	(%rdi), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	cmovel	%ecx, %edx
	testl	%eax, %eax
	cmovnsl	%edx, %eax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_au8522_rc_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function au8522_rc_write
lCPI0_0:
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_au8522_rc_write:                       ; @au8522_rc_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	lsr	w8, w1, #8
	orr	w8, w8, #0x80
	sturb	w8, [x29, #-3]
	sturb	w1, [x29, #-2]
	sturb	w2, [x29, #-1]
	sub	x8, x29, #3
	str	x8, [sp]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	ldr	w8, [x0, #8]
	str	w8, [sp, #16]
	ldr	x8, [x0]
	ldr	w0, [x8]
	mov	x1, sp
	mov	w2, #1
	bl	_i2c_transfer
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, #1
	csneg	w8, wzr, w8, eq
	cmp	w0, #0
	csel	w0, w0, w8, lt
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_au8522_rc_write
.subsections_via_symbols
