	.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, %r8
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%r8)
	movl	(%rdi), %edi
	addl	$-128, %edi
	cmpl	$4, %edi
	ja	LBB0_5
## %bb.1:
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_4:
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_2:
	movl	(%rsi), %esi
	leal	-128(%rsi), %eax
	cmpl	$2, %eax
	jb	LBB0_6
## %bb.3:
	cmpl	$131, %esi
	je	LBB0_4
	jmp	LBB0_7
LBB0_5:
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE@GOTPCREL(%rip), %rcx
LBB0_6:
	orl	(%rcx), %edx
	movl	%edx, (%r8)
LBB0_7:
	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_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.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_ADV_FULL_DUPLEX@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	str	w2, [x8]
	ldr	w9, [x0]
	sub	w10, w9, #128
	cmp	w10, #4
	b.hi	LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPAGEOFF]
Lloh5:
	adrp	x11, lJTI0_0@PAGE
Lloh6:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
Lloh7:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldr	w9, [x1]
	sub	w10, w9, #128
	cmp	w10, #2
	b.hs	LBB0_8
; %bb.4:
Lloh9:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	orr	w2, w9, w2
	str	w2, [x8]
LBB0_7:
Lloh13:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	b	_DP
LBB0_8:
	cmp	w9, #131
	b.ne	LBB0_7
	b	LBB0_2
	.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 AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-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
