	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqr_config_aneg
_aqr_config_aneg:                       ## @aqr_config_aneg
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genphy_c45_pma_setup_forced    ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_genphy_c45_an_config_aneg
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movq	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_linkmode_test_bit
	xorl	%r15d, %r15d
	movq	_MDIO_AN_VEND_PROV_1000BASET_FULL@GOTPCREL(%rip), %r12
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %r13d
LBB0_4:
	movq	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_linkmode_test_bit
	testq	%rax, %rax
	movq	_MDIO_AN_VEND_PROV_1000BASET_HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmovnel	%ecx, %r15d
	orl	%r13d, %r15d
	movq	_MDIO_MMD_AN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_AN_VEND_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %r8d
	callq	_phy_modify_mmd_changed
	testl	%eax, %eax
	js	LBB0_5
## %bb.8:
	xorl	%esi, %esi
	orl	%r14d, %eax
	setne	%sil
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genphy_c45_check_and_restart_aneg ## TAILCALL
LBB0_5:
	movl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_DISABLE,8,3            ## @AUTONEG_DISABLE
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_MDIO_AN_VEND_PROV_1000BASET_FULL,4,2 ## @MDIO_AN_VEND_PROV_1000BASET_FULL
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseT_Half_BIT
	.comm	_MDIO_AN_VEND_PROV_1000BASET_HALF,4,2 ## @MDIO_AN_VEND_PROV_1000BASET_HALF
	.comm	_MDIO_MMD_AN,4,2                ## @MDIO_MMD_AN
	.comm	_MDIO_AN_VEND_PROV,4,2          ## @MDIO_AN_VEND_PROV
	.no_dead_strip	_aqr_config_aneg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqr_config_aneg
_aqr_config_aneg:                       ; @aqr_config_aneg
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	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	_genphy_c45_pma_setup_forced
LBB0_2:
	mov	x0, x19
	bl	_genphy_c45_an_config_aneg
	mov	x20, x0
	tbnz	w0, #31, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_linkmode_test_bit
Lloh6:
	adrp	x21, _MDIO_AN_VEND_PROV_1000BASET_FULL@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MDIO_AN_VEND_PROV_1000BASET_FULL@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	x0, #0
	csel	w22, wzr, w8, eq
Lloh8:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_linkmode_test_bit
Lloh11:
	adrp	x8, _MDIO_AN_VEND_PROV_1000BASET_HALF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MDIO_AN_VEND_PROV_1000BASET_HALF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w9, wzr, w8, eq
	orr	w4, w9, w22
Lloh14:
	adrp	x9, _MDIO_MMD_AN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MDIO_MMD_AN@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
Lloh17:
	adrp	x9, _MDIO_AN_VEND_PROV@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MDIO_AN_VEND_PROV@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x9]
	ldr	w9, [x21]
	orr	w3, w9, w8
	mov	x0, x19
	bl	_phy_modify_mmd_changed
	tbnz	w0, #31, LBB0_5
; %bb.4:
	orr	w8, w0, w20
	cmp	w8, #0
	cset	w1, ne
	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	_genphy_c45_check_and_restart_aneg
LBB0_5:
	mov	x20, x0
LBB0_6:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_DISABLE,8,3            ; @AUTONEG_DISABLE
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_MDIO_AN_VEND_PROV_1000BASET_FULL,4,2 ; @MDIO_AN_VEND_PROV_1000BASET_FULL
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseT_Half_BIT
	.comm	_MDIO_AN_VEND_PROV_1000BASET_HALF,4,2 ; @MDIO_AN_VEND_PROV_1000BASET_HALF
	.comm	_MDIO_MMD_AN,4,2                ; @MDIO_MMD_AN
	.comm	_MDIO_AN_VEND_PROV,4,2          ; @MDIO_AN_VEND_PROV
	.no_dead_strip	_aqr_config_aneg
.subsections_via_symbols
