	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax88179_ethtool_get_eee
_ax88179_ethtool_get_eee:               ## @ax88179_ethtool_get_eee
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MDIO_PCS_EEE_ABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_MMD_PCS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ax88179_phy_read_mmd_indirect
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	%eax, %edi
	callq	_mmd_eee_cap_to_ethtool_sup_t
	movl	%eax, 16(%r14)
	movq	_MDIO_AN_EEE_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_MMD_AN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_ax88179_phy_read_mmd_indirect
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	%eax, %edi
	callq	_mmd_eee_adv_to_ethtool_adv_t
	movq	%rax, 8(%r14)
	movq	_MDIO_AN_EEE_LPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_ax88179_phy_read_mmd_indirect
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	%eax, %edi
	callq	_mmd_eee_adv_to_ethtool_adv_t
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_PCS_EEE_ABLE,4,2          ## @MDIO_PCS_EEE_ABLE
	.comm	_MDIO_MMD_PCS,4,2               ## @MDIO_MMD_PCS
	.comm	_MDIO_AN_EEE_ADV,4,2            ## @MDIO_AN_EEE_ADV
	.comm	_MDIO_MMD_AN,4,2                ## @MDIO_MMD_AN
	.comm	_MDIO_AN_EEE_LPABLE,4,2         ## @MDIO_AN_EEE_LPABLE
	.no_dead_strip	_ax88179_ethtool_get_eee
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax88179_ethtool_get_eee
_ax88179_ethtool_get_eee:               ; @ax88179_ethtool_get_eee
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MDIO_PCS_EEE_ABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDIO_PCS_EEE_ABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MDIO_MMD_PCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDIO_MMD_PCS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_ax88179_phy_read_mmd_indirect
	tbnz	w0, #31, LBB0_4
; %bb.1:
	bl	_mmd_eee_cap_to_ethtool_sup_t
	str	w0, [x19, #16]
Lloh6:
	adrp	x8, _MDIO_AN_EEE_ADV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_AN_EEE_ADV@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x21, _MDIO_MMD_AN@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MDIO_MMD_AN@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_ax88179_phy_read_mmd_indirect
	tbnz	w0, #31, LBB0_4
; %bb.2:
	bl	_mmd_eee_adv_to_ethtool_adv_t
	str	x0, [x19, #8]
Lloh11:
	adrp	x8, _MDIO_AN_EEE_LPABLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MDIO_AN_EEE_LPABLE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_ax88179_phy_read_mmd_indirect
	tbnz	w0, #31, LBB0_4
; %bb.3:
	bl	_mmd_eee_adv_to_ethtool_adv_t
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_PCS_EEE_ABLE,4,2          ; @MDIO_PCS_EEE_ABLE
	.comm	_MDIO_MMD_PCS,4,2               ; @MDIO_MMD_PCS
	.comm	_MDIO_AN_EEE_ADV,4,2            ; @MDIO_AN_EEE_ADV
	.comm	_MDIO_MMD_AN,4,2                ; @MDIO_MMD_AN
	.comm	_MDIO_AN_EEE_LPABLE,4,2         ; @MDIO_AN_EEE_LPABLE
	.no_dead_strip	_ax88179_ethtool_get_eee
.subsections_via_symbols
