	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aqr_read_status
_aqr_read_status:                       ## @aqr_read_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_MDIO_MMD_AN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MDIO_AN_RX_LP_STAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_phy_read_mmd
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movq	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	movq	_MDIO_AN_RX_LP_STAT1_1000BASET_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r14d, %edx
	callq	_linkmode_mod_bit
	movq	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	movq	_MDIO_AN_RX_LP_STAT1_1000BASET_HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r14d, %edx
	callq	_linkmode_mod_bit
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_genphy_c45_read_status         ## TAILCALL
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTONEG_ENABLE,8,3             ## @AUTONEG_ENABLE
	.comm	_MDIO_MMD_AN,4,2                ## @MDIO_MMD_AN
	.comm	_MDIO_AN_RX_LP_STAT1,4,2        ## @MDIO_AN_RX_LP_STAT1
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_MDIO_AN_RX_LP_STAT1_1000BASET_FULL,4,2 ## @MDIO_AN_RX_LP_STAT1_1000BASET_FULL
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseT_Half_BIT
	.comm	_MDIO_AN_RX_LP_STAT1_1000BASET_HALF,4,2 ## @MDIO_AN_RX_LP_STAT1_1000BASET_HALF
	.no_dead_strip	_aqr_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aqr_read_status
_aqr_read_status:                       ; @aqr_read_status
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _MDIO_MMD_AN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDIO_MMD_AN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _MDIO_AN_RX_LP_STAT1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_AN_RX_LP_STAT1@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_read_mmd
	mov	x20, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
Lloh12:
	adrp	x8, _MDIO_AN_RX_LP_STAT1_1000BASET_FULL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MDIO_AN_RX_LP_STAT1_1000BASET_FULL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w2, w8, w20
	bl	_linkmode_mod_bit
Lloh15:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseT_Half_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
Lloh18:
	adrp	x8, _MDIO_AN_RX_LP_STAT1_1000BASET_HALF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MDIO_AN_RX_LP_STAT1_1000BASET_HALF@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	and	w2, w8, w20
	bl	_linkmode_mod_bit
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_genphy_c45_read_status
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTONEG_ENABLE,8,3             ; @AUTONEG_ENABLE
	.comm	_MDIO_MMD_AN,4,2                ; @MDIO_MMD_AN
	.comm	_MDIO_AN_RX_LP_STAT1,4,2        ; @MDIO_AN_RX_LP_STAT1
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_MDIO_AN_RX_LP_STAT1_1000BASET_FULL,4,2 ; @MDIO_AN_RX_LP_STAT1_1000BASET_FULL
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Half_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseT_Half_BIT
	.comm	_MDIO_AN_RX_LP_STAT1_1000BASET_HALF,4,2 ; @MDIO_AN_RX_LP_STAT1_1000BASET_HALF
	.no_dead_strip	_aqr_read_status
.subsections_via_symbols
