	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_phy_wait
_at91_phy_wait:                         ## @at91_phy_wait
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_jiffies@GOTPCREL(%rip), %r14
	movslq	(%r14), %rbx
	movq	_AT91_EMAC_SR@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_at91_emac_read
	movq	_AT91_EMAC_SR_IDLE@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	jne	LBB0_4
## %bb.1:
	addq	$2, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	movl	(%r15), %edi
	callq	_at91_emac_read
	testl	%eax, (%r12)
	je	LBB0_2
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printk                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_AT91_EMAC_SR,4,2               ## @AT91_EMAC_SR
	.comm	_AT91_EMAC_SR_IDLE,4,2          ## @AT91_EMAC_SR_IDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"at91_ether: MIO timeout\n"

	.no_dead_strip	_at91_phy_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_phy_wait
_at91_phy_wait:                         ; @at91_phy_wait
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x20, _jiffies@GOTPAGE
Lloh1:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldrsw	x19, [x20]
Lloh2:
	adrp	x21, _AT91_EMAC_SR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _AT91_EMAC_SR@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_at91_emac_read
Lloh4:
	adrp	x22, _AT91_EMAC_SR_IDLE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _AT91_EMAC_SR_IDLE@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.1:
	add	x19, x19, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x19
	bl	_time_after
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_cpu_relax
	ldr	w0, [x21]
	bl	_at91_emac_read
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_printk
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_AT91_EMAC_SR,4,2               ; @AT91_EMAC_SR
	.comm	_AT91_EMAC_SR_IDLE,4,2          ; @AT91_EMAC_SR_IDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"at91_ether: MIO timeout\n"

	.no_dead_strip	_at91_phy_wait
.subsections_via_symbols
