	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_PSC_SMBSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RD
	movl	%eax, %r13d
	movq	_PSC_SMBEVNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PSC_SMBEVNT_ALLCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_WR
	movq	_PSC_SMBSTAT_TE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	%r13d, %eax
	movq	_PSC_SMBSTAT_RE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
LBB0_2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_PSC_SMBPCR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_PSC_SMBPCR_DC@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_WR
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_RD
	testl	%eax, (%r15)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	jmp	LBB0_4
LBB0_5:
	movl	$50, %edi
	callq	_udelay
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_6:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setne	%al
	leal	(%rax,%r15,2), %eax
	movl	%r14d, %edx
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	movq	_PSC_SMBTXRX_STP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_8:
	orl	%eax, %edx
	movq	_PSC_SMBTXRX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WR
	movq	_PSC_SMBPCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PSC_SMBPCR_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_WR
	movq	%rbx, %rdi
	callq	_wait_ack
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.13:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wait_master_done               ## TAILCALL
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_PSC_SMBSTAT,4,2                ## @PSC_SMBSTAT
	.comm	_PSC_SMBEVNT,4,2                ## @PSC_SMBEVNT
	.comm	_PSC_SMBEVNT_ALLCLR,4,2         ## @PSC_SMBEVNT_ALLCLR
	.comm	_PSC_SMBSTAT_TE,8,3             ## @PSC_SMBSTAT_TE
	.comm	_PSC_SMBSTAT_RE,8,3             ## @PSC_SMBSTAT_RE
	.comm	_PSC_SMBPCR,4,2                 ## @PSC_SMBPCR
	.comm	_PSC_SMBPCR_DC,4,2              ## @PSC_SMBPCR_DC
	.comm	_PSC_SMBTXRX_STP,4,2            ## @PSC_SMBTXRX_STP
	.comm	_PSC_SMBTXRX,4,2                ## @PSC_SMBTXRX
	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PSC_SMBSTAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PSC_SMBSTAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_RD
	mov	w24, w0
Lloh3:
	adrp	x8, _PSC_SMBEVNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PSC_SMBEVNT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _PSC_SMBEVNT_ALLCLR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PSC_SMBEVNT_ALLCLR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_WR
Lloh9:
	adrp	x8, _PSC_SMBSTAT_TE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PSC_SMBSTAT_TE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x23, _PSC_SMBPCR@GOTPAGE
Lloh13:
	ldr	x23, [x23, _PSC_SMBPCR@GOTPAGEOFF]
	tst	x8, x24
	b.eq	LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _PSC_SMBSTAT_RE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PSC_SMBSTAT_RE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	tst	x8, x24
	b.ne	LBB0_6
LBB0_2:
	ldr	w1, [x23]
Lloh17:
	adrp	x24, _PSC_SMBPCR_DC@GOTPAGE
Lloh18:
	ldr	x24, [x24, _PSC_SMBPCR_DC@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_WR
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	bl	_RD
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_cpu_relax
	b	LBB0_3
LBB0_5:
	mov	w0, #50
	bl	_udelay
LBB0_6:
	cmp	w22, #0
	cset	w8, ne
	bfi	w8, w21, #1, #31
Lloh19:
	adrp	x9, _PSC_SMBTXRX_STP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PSC_SMBTXRX_STP@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w9, wzr, w9, eq
	orr	w2, w9, w8
Lloh22:
	adrp	x8, _PSC_SMBTXRX@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PSC_SMBTXRX@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_WR
	ldr	w1, [x23]
Lloh25:
	adrp	x8, _PSC_SMBPCR_MS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PSC_SMBPCR_MS@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_WR
	mov	x0, x20
	bl	_wait_ack
	cbz	x0, LBB0_9
; %bb.7:
Lloh28:
	adrp	x8, _EIO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	cbz	w19, LBB0_11
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_wait_master_done
LBB0_11:
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_PSC_SMBSTAT,4,2                ; @PSC_SMBSTAT
	.comm	_PSC_SMBEVNT,4,2                ; @PSC_SMBEVNT
	.comm	_PSC_SMBEVNT_ALLCLR,4,2         ; @PSC_SMBEVNT_ALLCLR
	.comm	_PSC_SMBSTAT_TE,8,3             ; @PSC_SMBSTAT_TE
	.comm	_PSC_SMBSTAT_RE,8,3             ; @PSC_SMBSTAT_RE
	.comm	_PSC_SMBPCR,4,2                 ; @PSC_SMBPCR
	.comm	_PSC_SMBPCR_DC,4,2              ; @PSC_SMBPCR_DC
	.comm	_PSC_SMBTXRX_STP,4,2            ; @PSC_SMBTXRX_STP
	.comm	_PSC_SMBTXRX,4,2                ; @PSC_SMBTXRX
	.comm	_PSC_SMBPCR_MS,4,2              ; @PSC_SMBPCR_MS
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_do_address
.subsections_via_symbols
