	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_an73_rx_bpa
_xgbe_an73_rx_bpa:                      ## @xgbe_an73_rx_bpa
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MDIO_MMD_AN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_MDIO_AN_LPA@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	incq	%rdx
	callq	_XMDIO_READ
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_xgbe_in_kr_mode
	testq	%rax, %rax
	movl	$32, %eax
	movl	$128, %ecx
	cmovel	%eax, %ecx
	testl	%r15d, %ecx
	je	LBB0_3
## %bb.1:
	movl	(%r12), %esi
	movq	_MDIO_AN_ADVERTISE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_XMDIO_READ
	movl	%eax, %r15d
	movl	(%r12), %esi
	movq	(%r13), %rdx
	movq	%rbx, %rdi
	callq	_XMDIO_READ
	movq	_XGBE_XNP_NP_EXCHANGE@GOTPCREL(%rip), %rcx
	orl	%r15d, %eax
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xgbe_an73_tx_training          ## TAILCALL
LBB0_3:
	movq	_XGBE_AN_INCOMPAT_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xgbe_an73_tx_xnp               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_MMD_AN,4,2                ## @MDIO_MMD_AN
	.comm	_MDIO_AN_LPA,8,3                ## @MDIO_AN_LPA
	.comm	_XGBE_AN_INCOMPAT_LINK,4,2      ## @XGBE_AN_INCOMPAT_LINK
	.comm	_MDIO_AN_ADVERTISE,8,3          ## @MDIO_AN_ADVERTISE
	.comm	_XGBE_XNP_NP_EXCHANGE,4,2       ## @XGBE_XNP_NP_EXCHANGE
	.no_dead_strip	_xgbe_an73_rx_bpa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_an73_rx_bpa
_xgbe_an73_rx_bpa:                      ; @xgbe_an73_rx_bpa
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _MDIO_MMD_AN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MDIO_MMD_AN@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x23, _MDIO_AN_LPA@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MDIO_AN_LPA@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x2, x8, #1
	bl	_XMDIO_READ
	mov	x21, x0
	mov	x0, x20
	bl	_xgbe_in_kr_mode
	cmp	x0, #0
	mov	w8, #128
	mov	w9, #32
	csel	w8, w9, w8, eq
	tst	w8, w21
	b.eq	LBB0_3
; %bb.1:
	ldr	w1, [x22]
Lloh4:
	adrp	x8, _MDIO_AN_ADVERTISE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MDIO_AN_ADVERTISE@GOTPAGEOFF]
Lloh6:
	ldr	x2, [x8]
	mov	x0, x20
	bl	_XMDIO_READ
	mov	x21, x0
	ldr	w1, [x22]
	ldr	x2, [x23]
	mov	x0, x20
	bl	_XMDIO_READ
Lloh7:
	adrp	x8, _XGBE_XNP_NP_EXCHANGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XGBE_XNP_NP_EXCHANGE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w9, w21, w0
	mov	x0, x20
	mov	x1, x19
	tst	w8, w9
	b.ne	LBB0_4
; %bb.2:
	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	_xgbe_an73_tx_training
LBB0_3:
Lloh10:
	adrp	x8, _XGBE_AN_INCOMPAT_LINK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XGBE_AN_INCOMPAT_LINK@GOTPAGEOFF]
Lloh12:
	ldr	w0, [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
	ret
LBB0_4:
	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	_xgbe_an73_tx_xnp
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_MMD_AN,4,2                ; @MDIO_MMD_AN
	.comm	_MDIO_AN_LPA,8,3                ; @MDIO_AN_LPA
	.comm	_XGBE_AN_INCOMPAT_LINK,4,2      ; @XGBE_AN_INCOMPAT_LINK
	.comm	_MDIO_AN_ADVERTISE,8,3          ; @MDIO_AN_ADVERTISE
	.comm	_XGBE_XNP_NP_EXCHANGE,4,2       ; @XGBE_XNP_NP_EXCHANGE
	.no_dead_strip	_xgbe_an73_rx_bpa
.subsections_via_symbols
