	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w90p910_mdio_read
_w90p910_mdio_read:                     ## @w90p910_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	%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	%edx, %r15d
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	shll	$8, %ebx
	movq	_PHYBUSY@GOTPCREL(%rip), %r13
	movq	_MDCCR_VAL@GOTPCREL(%rip), %rax
	orl	%r15d, %ebx
	orl	(%r13), %ebx
	orl	(%rax), %ebx
	movq	_REG_MIIDA@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	(%r12), %rsi
	movl	%ebx, %edi
	callq	___raw_writel
	movq	_DELAY@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	(%r12), %rdi
	callq	___raw_readl
	testl	%eax, (%r13)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	(%r14), %eax
	cmpl	%eax, %ebx
	jb	LBB0_2
## %bb.5:
	cmpl	%eax, %ebx
	jne	LBB0_7
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_warn
	movl	$65535, %eax                    ## imm = 0xFFFF
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r14), %eax
	cmpl	%eax, %ebx
	je	LBB0_6
LBB0_7:
	movq	_REG_MIID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___raw_readl                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYBUSY,4,2                    ## @PHYBUSY
	.comm	_MDCCR_VAL,4,2                  ## @MDCCR_VAL
	.comm	_REG_MIIDA,8,3                  ## @REG_MIIDA
	.comm	_DELAY,4,2                      ## @DELAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mdio read timed out\n"

	.comm	_REG_MIID,8,3                   ## @REG_MIID
	.no_dead_strip	_w90p910_mdio_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w90p910_mdio_read
_w90p910_mdio_read:                     ; @w90p910_mdio_read
	.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	x20, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x22, _PHYBUSY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PHYBUSY@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _MDCCR_VAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MDCCR_VAL@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w10, w20, w21, lsl #8
	orr	w8, w10, w8
	orr	w0, w8, w9
	ldp	x8, x20, [x19]
Lloh5:
	adrp	x21, _REG_MIIDA@GOTPAGE
Lloh6:
	ldr	x21, [x21, _REG_MIIDA@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	___raw_writel
Lloh7:
	adrp	x24, _DELAY@GOTPAGE
Lloh8:
	ldr	x24, [x24, _DELAY@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_5
; %bb.1:
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	___raw_readl
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w23, #1
	ldr	w8, [x24]
	cmp	w23, w8
	b.lo	LBB0_2
; %bb.4:
	cmp	w23, w8
	b.ne	LBB0_7
LBB0_5:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	mov	w0, #65535
	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_6:
	ldr	w8, [x24]
	cmp	w23, w8
	b.eq	LBB0_5
LBB0_7:
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _REG_MIID@GOTPAGE
Lloh12:
	ldr	x9, [x9, _REG_MIID@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	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	___raw_readl
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYBUSY,4,2                    ; @PHYBUSY
	.comm	_MDCCR_VAL,4,2                  ; @MDCCR_VAL
	.comm	_REG_MIIDA,8,3                  ; @REG_MIIDA
	.comm	_DELAY,4,2                      ; @DELAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mdio read timed out\n"

	.comm	_REG_MIID,8,3                   ; @REG_MIID
	.no_dead_strip	_w90p910_mdio_read
.subsections_via_symbols
