	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ep93xx_mdio_read
_ep93xx_mdio_read:                      ## @ep93xx_mdio_read
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_REG_MIICMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_MIICMD_READ@GOTPCREL(%rip), %rax
	shll	$5, %ebx
	orl	%r15d, %ebx
	orl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_wrl
	movq	_REG_MIISTS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	movq	_REG_MIISTS_BUSY@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.1:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.2:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.3:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.4:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.5:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.6:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.7:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.8:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.9:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_11
## %bb.10:
	movl	$1, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movl	$65535, %eax                    ## imm = 0xFFFF
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_REG_MIIDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdl                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MIICMD,4,2                 ## @REG_MIICMD
	.comm	_REG_MIICMD_READ,4,2            ## @REG_MIICMD_READ
	.comm	_REG_MIISTS,4,2                 ## @REG_MIISTS
	.comm	_REG_MIISTS_BUSY,4,2            ## @REG_MIISTS_BUSY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mdio read timed out\n"

	.comm	_REG_MIIDATA,4,2                ## @REG_MIIDATA
	.no_dead_strip	_ep93xx_mdio_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ep93xx_mdio_read
_ep93xx_mdio_read:                      ; @ep93xx_mdio_read
	.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
	mov	x20, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_MIICMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_MIICMD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _REG_MIICMD_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_MIICMD_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w9, w20, w21, lsl #5
	orr	w2, w9, w8
	bl	_wrl
Lloh6:
	adrp	x20, _REG_MIISTS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _REG_MIISTS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
Lloh8:
	adrp	x21, _REG_MIISTS_BUSY@GOTPAGE
Lloh9:
	ldr	x21, [x21, _REG_MIISTS_BUSY@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.1:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.2:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.3:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.4:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.5:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.6:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.7:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.8:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.9:
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.10:
	mov	w0, #1
	bl	_msleep
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	w0, #65535
	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_11:
Lloh12:
	adrp	x8, _REG_MIIDATA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_MIIDATA@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	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	_rdl
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MIICMD,4,2                 ; @REG_MIICMD
	.comm	_REG_MIICMD_READ,4,2            ; @REG_MIICMD_READ
	.comm	_REG_MIISTS,4,2                 ; @REG_MIISTS
	.comm	_REG_MIISTS_BUSY,4,2            ; @REG_MIISTS_BUSY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mdio read timed out\n"

	.comm	_REG_MIIDATA,4,2                ; @REG_MIIDATA
	.no_dead_strip	_ep93xx_mdio_read
.subsections_via_symbols
