	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_update_adv_fc
_bnx2x_update_adv_fc:                   ## @bnx2x_update_adv_fc
	.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
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	movq	_MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE@GOTPCREL(%rip), %rax
	movq	_MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	notl	%ecx
	testl	%ecx, %edx
	jne	LBB0_2
## %bb.1:
	movq	_MDIO_REG_BANK_CL73_IEEEB1@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_MDIO_CL73_IEEEB1_AN_ADV1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_CL22_RD_OVER_CL45
	movl	(%r12), %edx
	movq	_MDIO_CL73_IEEEB1_AN_LP_ADV1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-36(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_CL22_RD_OVER_CL45
	movq	_MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-40(%rbp), %eax
	sarl	$8, %eax
	movq	_MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	-36(%rbp), %ebx
	sarl	$10, %ebx
	orl	%eax, %ebx
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	_MDIO_REG_BANK_COMBO_IEEE0@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_CL22_RD_OVER_CL45
	movl	(%r12), %edx
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-36(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_CL22_RD_OVER_CL45
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-40(%rbp), %eax
	andl	%ebx, %eax
	sarl	$5, %eax
	andl	-36(%rbp), %ebx
	sarl	$7, %ebx
	orl	%eax, %ebx
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movl	%ebx, %edx
	callq	_DP
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bnx2x_pause_resolve
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE,4,2 ## @MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE,4,2 ## @MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE
	.comm	_MDIO_REG_BANK_CL73_IEEEB1,4,2  ## @MDIO_REG_BANK_CL73_IEEEB1
	.comm	_MDIO_CL73_IEEEB1_AN_ADV1,4,2   ## @MDIO_CL73_IEEEB1_AN_ADV1
	.comm	_MDIO_CL73_IEEEB1_AN_LP_ADV1,4,2 ## @MDIO_CL73_IEEEB1_AN_LP_ADV1
	.comm	_MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK,4,2 ## @MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK
	.comm	_MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK,4,2 ## @MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pause_result CL73 0x%x\n"

	.comm	_MDIO_REG_BANK_COMBO_IEEE0,4,2  ## @MDIO_REG_BANK_COMBO_IEEE0
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK
L_.str.1:                               ## @.str.1
	.asciz	"pause_result CL37 0x%x\n"

	.no_dead_strip	_bnx2x_update_adv_fc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_update_adv_fc
_bnx2x_update_adv_fc:                   ; @bnx2x_update_adv_fc
	.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, x2
	mov	x20, x0
	ldr	x21, [x1]
Lloh0:
	adrp	x8, _MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w8, w3
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x22, _MDIO_REG_BANK_CL73_IEEEB1@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MDIO_REG_BANK_CL73_IEEEB1@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh8:
	adrp	x8, _MDIO_CL73_IEEEB1_AN_ADV1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MDIO_CL73_IEEEB1_AN_ADV1@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w2, [x22]
Lloh11:
	adrp	x8, _MDIO_CL73_IEEEB1_AN_LP_ADV1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MDIO_CL73_IEEEB1_AN_LP_ADV1@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w8, [sp, #12]
Lloh14:
	adrp	x9, _MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w8, w9, w8
	ldr	w9, [sp, #8]
Lloh17:
	adrp	x10, _MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK@GOTPAGE
Lloh18:
	ldr	x10, [x10, _MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	and	w9, w10, w9
	asr	w9, w9, #10
	orr	w20, w9, w8, asr #8
Lloh20:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh25:
	adrp	x22, _MDIO_REG_BANK_COMBO_IEEE0@GOTPAGE
Lloh26:
	ldr	x22, [x22, _MDIO_REG_BANK_COMBO_IEEE0@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh27:
	adrp	x8, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV@GOTPAGEOFF]
Lloh29:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w2, [x22]
Lloh30:
	adrp	x8, _MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldp	w10, w8, [sp, #8]
Lloh33:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	and	w8, w9, w8
	and	w9, w10, w9
	asr	w9, w9, #7
	orr	w20, w9, w8, asr #5
Lloh36:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_3:
	mov	x2, x20
	bl	_DP
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_pause_resolve
	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 AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.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 AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE,4,2 ; @MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE,4,2 ; @MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE
	.comm	_MDIO_REG_BANK_CL73_IEEEB1,4,2  ; @MDIO_REG_BANK_CL73_IEEEB1
	.comm	_MDIO_CL73_IEEEB1_AN_ADV1,4,2   ; @MDIO_CL73_IEEEB1_AN_ADV1
	.comm	_MDIO_CL73_IEEEB1_AN_LP_ADV1,4,2 ; @MDIO_CL73_IEEEB1_AN_LP_ADV1
	.comm	_MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK,4,2 ; @MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK
	.comm	_MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK,4,2 ; @MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pause_result CL73 0x%x\n"

	.comm	_MDIO_REG_BANK_COMBO_IEEE0,4,2  ; @MDIO_REG_BANK_COMBO_IEEE0
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK
l_.str.1:                               ; @.str.1
	.asciz	"pause_result CL37 0x%x\n"

	.no_dead_strip	_bnx2x_update_adv_fc
.subsections_via_symbols
