	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_calc_ieee_aneg_adv
_bnx2x_calc_ieee_aneg_adv:              ## @bnx2x_calc_ieee_aneg_adv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r9
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%r9)
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_7
## %bb.1:
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPCREL(%rip), %r8
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rcx,4), %rax
	addq	%rdi, %rax
	movq	%r8, %rcx
	jmpq	*%rax
LBB0_6:
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_2:
	movl	(%rsi), %esi
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPCREL(%rip), %rcx
	cmpl	$131, %esi
	je	LBB0_8
## %bb.3:
	cmpl	$129, %esi
	je	LBB0_8
## %bb.4:
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.5:
	movq	%r8, %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE@GOTPCREL(%rip), %rcx
LBB0_8:
	orl	(%rcx), %edx
	movl	%edx, (%r9)
LBB0_9:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ieee_fc = 0x%x\n"

	.no_dead_strip	_bnx2x_calc_ieee_aneg_adv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_calc_ieee_aneg_adv
_bnx2x_calc_ieee_aneg_adv:              ; @bnx2x_calc_ieee_aneg_adv
	.cfi_startproc
; %bb.0:
	mov	x8, x2
Lloh0:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_AD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[x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	orr	w2, w9, w2
	str	w2, [x8]
LBB0_9:
Lloh15:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	b	_DP
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ieee_fc = 0x%x\n"

	.no_dead_strip	_bnx2x_calc_ieee_aneg_adv
.subsections_via_symbols
