	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_mdio_read
_ixgbe_mdio_read:                       ## @ixgbe_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movl	%esi, %r15d
	callq	_netdev_priv
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	movl	%r12d, %eax
	shll	$16, %eax
	movq	_MII_ADDR_C45@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MDIO_DEVAD_NONE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	%r12d, (%rcx)
	cmovnel	%eax, %edx
	orl	%r14d, %edx
	movl	%r15d, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mdiobus_read                   ## TAILCALL
LBB0_1:
	movq	%rax, %rbx
	cmpl	%r15d, 16(%rax)
	jne	LBB0_2
## %bb.3:
	addq	$8, %rbx
	leaq	-36(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	*(%rbx)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	-36(%rbp), %eax
	jmp	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_DEVAD_NONE,4,2            ## @MDIO_DEVAD_NONE
	.comm	_MII_ADDR_C45,4,2               ## @MII_ADDR_C45
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ixgbe_mdio_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_mdio_read
_ixgbe_mdio_read:                       ; @ixgbe_mdio_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_netdev_priv
	mov	x9, x0
	ldr	x8, [x0], #8
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _MDIO_DEVAD_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MDIO_DEVAD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MII_ADDR_C45@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MII_ADDR_C45@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w10, w10, w20, lsl #16
	cmp	w9, w20
	csel	w9, wzr, w10, eq
	orr	w2, w9, w19
	mov	x0, x8
	mov	x1, x21
	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
	add	sp, sp, #64
	b	_mdiobus_read
LBB0_2:
	ldr	w8, [x9, #16]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x0]
	add	x3, sp, #12
	mov	x1, x19
	mov	x2, x20
	blr	x8
	ldr	w8, [sp, #12]
	cmp	w0, #0
	csel	w0, w8, w0, eq
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_DEVAD_NONE,4,2            ; @MDIO_DEVAD_NONE
	.comm	_MII_ADDR_C45,4,2               ; @MII_ADDR_C45
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ixgbe_mdio_read
.subsections_via_symbols
