	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ep93xx_mdio_write
_ep93xx_mdio_write:                     ## @ep93xx_mdio_write
	.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
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_REG_MIIDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_wrl
	movq	_REG_MIICMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_MIICMD_WRITE@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_10
## %bb.1:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.2:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.3:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.4:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.5:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.6:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.7:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.8:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.9:
	movl	$1, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rdl
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.11:
	movl	$1, %edi
	callq	_msleep
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_info                        ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MIIDATA,4,2                ## @REG_MIIDATA
	.comm	_REG_MIICMD,4,2                 ## @REG_MIICMD
	.comm	_REG_MIICMD_WRITE,4,2           ## @REG_MIICMD_WRITE
	.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 write timed out\n"

	.no_dead_strip	_ep93xx_mdio_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ep93xx_mdio_write
_ep93xx_mdio_write:                     ; @ep93xx_mdio_write
	.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, x3
	mov	x21, x2
	mov	x22, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _REG_MIIDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_MIIDATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_wrl
Lloh3:
	adrp	x8, _REG_MIICMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_MIICMD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _REG_MIICMD_WRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_MIICMD_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w9, w21, w22, lsl #5
	orr	w2, w9, w8
	mov	x0, x19
	bl	_wrl
Lloh9:
	adrp	x20, _REG_MIISTS@GOTPAGE
Lloh10:
	ldr	x20, [x20, _REG_MIISTS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdl
Lloh11:
	adrp	x21, _REG_MIISTS_BUSY@GOTPAGE
Lloh12:
	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
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	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	_pr_info
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MIIDATA,4,2                ; @REG_MIIDATA
	.comm	_REG_MIICMD,4,2                 ; @REG_MIICMD
	.comm	_REG_MIICMD_WRITE,4,2           ; @REG_MIICMD_WRITE
	.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 write timed out\n"

	.no_dead_strip	_ep93xx_mdio_write
.subsections_via_symbols
