	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_address
_do_address:                            ## @do_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	(%r15), %ebx
	movq	_PSC_SMBEVNT_ALLCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	xorl	%eax, %eax
	callq	_au_sync
	movq	_PSC_SMBSTAT_TE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_PSC_SMBSTAT_RE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_5
LBB0_2:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_PSC_SMBPCR_DC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, 4(%r15)
	xorl	%eax, %eax
	callq	_au_sync
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r15), %r12d
	xorl	%eax, %eax
	callq	_au_sync
	testl	%r12d, (%rbx)
	jne	LBB0_3
## %bb.4:
	movl	$50, %edi
	callq	_udelay
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_5:
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	leal	(%rax,%r12,2), %eax
	movl	%r13d, %ecx
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.6:
	movq	_PSC_SMBTXRX_STP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_7:
	orl	%eax, %ecx
	movl	%ecx, 8(%r15)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_au_sync
	movq	_PSC_SMBPCR_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	xorl	%eax, %eax
	callq	_au_sync
	movq	%r14, %rdi
	callq	_wait_ack
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.11:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wait_master_done               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PSC_SMBEVNT_ALLCLR,4,2         ## @PSC_SMBEVNT_ALLCLR
	.comm	_PSC_SMBSTAT_TE,4,2             ## @PSC_SMBSTAT_TE
	.comm	_PSC_SMBSTAT_RE,4,2             ## @PSC_SMBSTAT_RE
	.comm	_PSC_SMBPCR_DC,4,2              ## @PSC_SMBPCR_DC
	.comm	_PSC_SMBTXRX_STP,4,2            ## @PSC_SMBTXRX_STP
	.comm	_PSC_SMBPCR_MS,4,2              ## @PSC_SMBPCR_MS
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_do_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_address
_do_address:                            ; @do_address
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x0]
	ldr	w24, [x23]
Lloh0:
	adrp	x8, _PSC_SMBEVNT_ALLCLR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSC_SMBEVNT_ALLCLR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23, #12]
	bl	_au_sync
Lloh3:
	adrp	x8, _PSC_SMBSTAT_TE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PSC_SMBSTAT_TE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _PSC_SMBSTAT_RE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSC_SMBSTAT_RE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w24
	b.ne	LBB0_5
LBB0_2:
Lloh9:
	adrp	x24, _PSC_SMBPCR_DC@GOTPAGE
Lloh10:
	ldr	x24, [x24, _PSC_SMBPCR_DC@GOTPAGEOFF]
	ldr	w8, [x24]
	str	w8, [x23, #4]
	bl	_au_sync
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w25, [x23, #4]
	bl	_au_sync
	ldr	w8, [x24]
	tst	w8, w25
	b.ne	LBB0_3
; %bb.4:
	mov	w0, #50
	bl	_udelay
LBB0_5:
	cmp	w22, #0
	cset	w8, ne
Lloh11:
	adrp	x9, _PSC_SMBTXRX_STP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PSC_SMBTXRX_STP@GOTPAGEOFF]
	bfi	w8, w21, #1, #31
Lloh13:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
	str	w8, [x23, #8]
	bl	_au_sync
Lloh14:
	adrp	x8, _PSC_SMBPCR_MS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PSC_SMBPCR_MS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x23, #4]
	bl	_au_sync
	mov	x0, x20
	bl	_wait_ack
	cbz	x0, LBB0_8
; %bb.6:
Lloh17:
	adrp	x8, _EIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	cbz	w19, LBB0_10
; %bb.9:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_wait_master_done
LBB0_10:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PSC_SMBEVNT_ALLCLR,4,2         ; @PSC_SMBEVNT_ALLCLR
	.comm	_PSC_SMBSTAT_TE,4,2             ; @PSC_SMBSTAT_TE
	.comm	_PSC_SMBSTAT_RE,4,2             ; @PSC_SMBSTAT_RE
	.comm	_PSC_SMBPCR_DC,4,2              ; @PSC_SMBPCR_DC
	.comm	_PSC_SMBTXRX_STP,4,2            ; @PSC_SMBTXRX_STP
	.comm	_PSC_SMBPCR_MS,4,2              ; @PSC_SMBPCR_MS
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_do_address
.subsections_via_symbols
