	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_link_settings_requested
_bnx2x_link_settings_requested:         ## @bnx2x_link_settings_requested
	.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	(%rdi), %rax
	movq	$0, (%rax)
	movl	24(%rdi), %eax
	decl	%eax
	cmpl	$2, %eax
	ja	LBB0_32
## %bb.1:
	movq	%rdi, %rbx
	cltq
	leaq	l_switch.table.bnx2x_link_settings_requested(%rip), %rcx
	movq	(%rcx,%rax,8), %r13
	leaq	LJTI0_0(%rip), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	40(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	8(%rbx), %rax
	movq	(%rax,%r15,8), %r12
	movq	_PORT_FEATURE_LINK_SPEED_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%r12, %rax
	addq	$-128, %rax
	cmpq	$8, %rax
	ja	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r14,%rax,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	(%rbx), %rax
	movq	16(%rbx), %rdx
	movl	(%rax,%r15,4), %ecx
	orl	(%rdx,%r15,4), %ecx
	movl	%ecx, (%rax,%r15,4)
	movq	64(%rbx), %rdx
	movq	_EXT_PHY1@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rdx,%rsi,4), %edx
	movq	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jne	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	jmp	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx,%r15,4), %ecx
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, (%rax,%r15,4)
	jmp	LBB0_26
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_2500baseX_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_33
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_2500@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_2500baseX_Full@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_20000@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	jmp	LBB0_26
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_33
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_33
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	40(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_33
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_33
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_10000@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_33
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	40(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r15,4)
	je	LBB0_33
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	(%rcx), %eax
	movq	(%rbx), %rcx
	orl	%eax, (%rcx,%r15,4)
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PORT_FEATURE_FLOW_CONTROL_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %r12
	movq	32(%rbx), %rax
	movq	%r12, (%rax,%r15,8)
	movq	_BNX2X_FLOW_CTRL_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rcx
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx,%r15,4)
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_bnx2x_set_requested_fc
	movq	32(%rbx), %rax
	movq	(%rax,%r15,8), %r12
	jmp	LBB0_30
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BNX2X_FLOW_CTRL_NONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	movq	%r12, (%rax,%r15,8)
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%rbx), %rax
	movq	(%rax,%r15,8), %rsi
	movq	(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	(%rcx,%r15,8), %rdx
	movl	(%rax,%r15,4), %r8d
	leaq	L_.str.2(%rip), %rdi
	movq	%r12, %rcx
	callq	_BNX2X_DEV_INFO
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r15, %r13
	jne	LBB0_2
	jmp	LBB0_32
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_SPEED_10000@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	(%rbx), %rcx
	orl	%eax, (%rcx,%r15,4)
	jmp	LBB0_31
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	56(%rbx), %rax
	movl	(%rax,%r15,4), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_19
	.long	L0_0_set_23
	.long	L0_0_set_17
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_21
	.long	L0_0_set_15
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_PORT_FEATURE_LINK_SPEED_MASK,8,3 ## @PORT_FEATURE_LINK_SPEED_MASK
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_SPEED_AUTO_NEG,8,3             ## @SPEED_AUTO_NEG
	.comm	_EXT_PHY1,8,3                   ## @EXT_PHY1
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833,4,2 ## @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833
	.comm	_SUPPORTED_100baseT_Half,4,2    ## @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_SPEED_10000,8,3                ## @SPEED_10000
	.comm	_ADVERTISED_10000baseT_Full,4,2 ## @ADVERTISED_10000baseT_Full
	.comm	_ADVERTISED_FIBRE,4,2           ## @ADVERTISED_FIBRE
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
	.comm	_SPEED_10,8,3                   ## @SPEED_10
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_TP,4,2              ## @ADVERTISED_TP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVRAM config error. Invalid link_config 0x%x  speed_cap_mask 0x%x\n"

	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_ADVERTISED_10baseT_Half,4,2    ## @ADVERTISED_10baseT_Half
	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_SUPPORTED_2500baseX_Full,4,2   ## @SUPPORTED_2500baseX_Full
	.comm	_SPEED_2500,8,3                 ## @SPEED_2500
	.comm	_ADVERTISED_2500baseX_Full,4,2  ## @ADVERTISED_2500baseX_Full
	.comm	_SUPPORTED_10000baseT_Full,4,2  ## @SUPPORTED_10000baseT_Full
	.comm	_SPEED_20000,8,3                ## @SPEED_20000
L_.str.1:                               ## @.str.1
	.asciz	"NVRAM config error. BAD link speed link_config 0x%x\n"

	.comm	_PORT_FEATURE_FLOW_CONTROL_MASK,8,3 ## @PORT_FEATURE_FLOW_CONTROL_MASK
	.comm	_BNX2X_FLOW_CTRL_AUTO,8,3       ## @BNX2X_FLOW_CTRL_AUTO
	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ## @BNX2X_FLOW_CTRL_NONE
L_.str.2:                               ## @.str.2
	.asciz	"req_line_speed %d  req_duplex %d req_flow_ctrl 0x%x advertising 0x%x\n"

	.no_dead_strip	_bnx2x_link_settings_requested
	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.bnx2x_link_settings_requested
l_switch.table.bnx2x_link_settings_requested:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1
	.quad	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_link_settings_requested
_bnx2x_link_settings_requested:         ; @bnx2x_link_settings_requested
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x0]
	str	xzr, [x8]
	ldr	w8, [x0, #24]
	sub	w8, w8, #1
	cmp	w8, #2
	b.hi	LBB0_33
; %bb.1:
	mov	x19, x0
	mov	x23, #0
Lloh0:
	adrp	x9, l_switch.table.bnx2x_link_settings_requested@PAGE
Lloh1:
	add	x9, x9, l_switch.table.bnx2x_link_settings_requested@PAGEOFF
	ldr	x24, [x9, w8, sxtw #3]
Lloh2:
	adrp	x25, _DUPLEX_FULL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _DUPLEX_FULL@GOTPAGEOFF]
Lloh4:
	adrp	x26, _PORT_FEATURE_LINK_SPEED_MASK@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PORT_FEATURE_LINK_SPEED_MASK@GOTPAGEOFF]
Lloh6:
	adrp	x28, _PORT_FEATURE_FLOW_CONTROL_MASK@GOTPAGE
Lloh7:
	ldr	x28, [x28, _PORT_FEATURE_FLOW_CONTROL_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x20, _BNX2X_FLOW_CTRL_AUTO@GOTPAGE
Lloh9:
	ldr	x20, [x20, _BNX2X_FLOW_CTRL_AUTO@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x9, [x19, #40]
	lsl	x27, x23, #3
	str	x8, [x9, x27]
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x27]
	ldr	x8, [x26]
	and	x8, x8, x22
	sub	x8, x8, #128
	cmp	x8, #8
	b.hi	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x11, lJTI0_0@PAGE
Lloh13:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_4
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh14:
	adrp	x9, _SUPPORTED_Autoneg@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh17:
	adrp	x8, _SPEED_AUTO_NEG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
	ldr	x8, [x19, #16]
	lsl	x10, x23, #2
	ldr	w9, [x8, x10]
	ldr	x8, [x19]
	ldr	w11, [x8, x10]
	orr	w9, w11, w9
	str	w9, [x8, x10]
	ldr	x10, [x19, #64]
Lloh20:
	adrp	x11, _EXT_PHY1@GOTPAGE
Lloh21:
	ldr	x11, [x11, _EXT_PHY1@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	ldr	w10, [x10, x11, lsl #2]
Lloh23:
	adrp	x11, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPAGE
Lloh24:
	ldr	x11, [x11, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_25
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh26:
	adrp	x10, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh27:
	ldr	x10, [x10, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
Lloh29:
	adrp	x11, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh30:
	ldr	x11, [x11, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	orr	w9, w10, w9
	orr	w9, w9, w11
	str	w9, [x8, x23, lsl #2]
	b	LBB0_25
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_BNX2X_ERR
Lloh34:
	adrp	x8, _SPEED_AUTO_NEG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
	ldr	x8, [x19, #16]
	lsl	x9, x23, #2
	ldr	w8, [x8, x9]
	ldr	x10, [x19]
	str	w8, [x10, x9]
	b	LBB0_25
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh37:
	adrp	x9, _SUPPORTED_2500baseX_Full@GOTPAGE
Lloh38:
	ldr	x9, [x9, _SUPPORTED_2500baseX_Full@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh40:
	adrp	x8, _SPEED_2500@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SPEED_2500@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
Lloh43:
	adrp	x8, _ADVERTISED_2500baseX_Full@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ADVERTISED_2500baseX_Full@GOTPAGEOFF]
	b	LBB0_23
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh45:
	adrp	x8, _SPEED_20000@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SPEED_20000@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
	b	LBB0_25
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh48:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh49:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh51:
	adrp	x8, _SPEED_1000@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SPEED_1000@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
Lloh54:
	adrp	x8, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
	b	LBB0_23
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh56:
	adrp	x9, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh57:
	ldr	x9, [x9, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh59:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh60:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x27]
Lloh62:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh63:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
	ldr	x9, [x19, #40]
	str	x8, [x9, x27]
Lloh65:
	adrp	x8, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
	b	LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh67:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh68:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh70:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh71:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
Lloh73:
	adrp	x8, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh75:
	adrp	x9, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh76:
	ldr	x9, [x9, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh78:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh79:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh80:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
Lloh81:
	adrp	x8, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x9, _ADVERTISED_FIBRE@GOTPAGE
Lloh85:
	ldr	x9, [x9, _ADVERTISED_FIBRE@GOTPAGEOFF]
	b	LBB0_24
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh86:
	adrp	x9, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh87:
	ldr	x9, [x9, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh88:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh89:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh90:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh91:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x27]
Lloh92:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh93:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	ldr	x9, [x19, #40]
	str	x8, [x9, x27]
Lloh95:
	adrp	x8, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh96:
	ldr	x8, [x8, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x23, lsl #2]
Lloh97:
	adrp	x9, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh98:
	ldr	x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh99:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh100:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh101:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh102:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
Lloh103:
	adrp	x8, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x8]
Lloh105:
	adrp	x9, _ADVERTISED_TP@GOTPAGE
Lloh106:
	ldr	x9, [x9, _ADVERTISED_TP@GOTPAGEOFF]
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19]
	lsl	x10, x23, #2
	ldr	w11, [x9, x10]
	orr	w8, w8, w11
	str	w8, [x9, x10]
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	and	x3, x8, x22
	ldr	x8, [x19, #32]
	str	x3, [x8, x23, lsl #3]
	ldr	x9, [x20]
	cmp	x3, x9
	b.ne	LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19, #16]
	ldr	w9, [x9, x23, lsl #2]
Lloh107:
	adrp	x10, _SUPPORTED_Autoneg@GOTPAGE
Lloh108:
	ldr	x10, [x10, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh109:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_bnx2x_set_requested_fc
	ldr	x8, [x19, #32]
	ldr	x3, [x8, x23, lsl #3]
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh110:
	adrp	x9, _BNX2X_FLOW_CTRL_NONE@GOTPAGE
Lloh111:
	ldr	x9, [x9, _BNX2X_FLOW_CTRL_NONE@GOTPAGEOFF]
Lloh112:
	ldr	x3, [x9]
	str	x3, [x8, x23, lsl #3]
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x8, [x19, #40]
	ldr	x1, [x8, x27]
	ldr	x2, [x9, x27]
	ldr	x8, [x19]
	ldr	w4, [x8, x23, lsl #2]
	mov	x0, x21
	bl	_BNX2X_DEV_INFO
LBB0_30:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_2
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh113:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh114:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh115:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	str	x8, [x9, x23, lsl #3]
Lloh116:
	adrp	x8, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh117:
	ldr	x8, [x8, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh118:
	ldr	w8, [x8]
Lloh119:
	adrp	x9, _ADVERTISED_FIBRE@GOTPAGE
Lloh120:
	ldr	x9, [x9, _ADVERTISED_FIBRE@GOTPAGEOFF]
Lloh121:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19]
	lsl	x10, x23, #2
	ldr	w11, [x9, x10]
	orr	w8, w8, w11
	str	w8, [x9, x10]
	b	LBB0_30
LBB0_32:
	ldr	x8, [x19, #56]
	ldr	w8, [x8, x23, lsl #2]
	str	x8, [sp]
Lloh122:
	adrp	x0, l_.str@PAGE
Lloh123:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_BNX2X_ERR
LBB0_33:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpAdd	Lloh122, Lloh123
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
                                        ; -- End function
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_PORT_FEATURE_LINK_SPEED_MASK,8,3 ; @PORT_FEATURE_LINK_SPEED_MASK
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_SPEED_AUTO_NEG,8,3             ; @SPEED_AUTO_NEG
	.comm	_EXT_PHY1,8,3                   ; @EXT_PHY1
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833,4,2 ; @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833
	.comm	_SUPPORTED_100baseT_Half,4,2    ; @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_SPEED_10000,8,3                ; @SPEED_10000
	.comm	_ADVERTISED_10000baseT_Full,4,2 ; @ADVERTISED_10000baseT_Full
	.comm	_ADVERTISED_FIBRE,4,2           ; @ADVERTISED_FIBRE
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
	.comm	_SPEED_10,8,3                   ; @SPEED_10
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_ADVERTISED_TP,4,2              ; @ADVERTISED_TP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVRAM config error. Invalid link_config 0x%x  speed_cap_mask 0x%x\n"

	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_ADVERTISED_10baseT_Half,4,2    ; @ADVERTISED_10baseT_Half
	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_SUPPORTED_2500baseX_Full,4,2   ; @SUPPORTED_2500baseX_Full
	.comm	_SPEED_2500,8,3                 ; @SPEED_2500
	.comm	_ADVERTISED_2500baseX_Full,4,2  ; @ADVERTISED_2500baseX_Full
	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_SPEED_20000,8,3                ; @SPEED_20000
l_.str.1:                               ; @.str.1
	.asciz	"NVRAM config error. BAD link speed link_config 0x%x\n"

	.comm	_PORT_FEATURE_FLOW_CONTROL_MASK,8,3 ; @PORT_FEATURE_FLOW_CONTROL_MASK
	.comm	_BNX2X_FLOW_CTRL_AUTO,8,3       ; @BNX2X_FLOW_CTRL_AUTO
	.comm	_BNX2X_FLOW_CTRL_NONE,8,3       ; @BNX2X_FLOW_CTRL_NONE
l_.str.2:                               ; @.str.2
	.asciz	"req_line_speed %d  req_duplex %d req_flow_ctrl 0x%x advertising 0x%x\n"

	.no_dead_strip	_bnx2x_link_settings_requested
	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.bnx2x_link_settings_requested
l_switch.table.bnx2x_link_settings_requested:
	.quad	1                               ; 0x1
	.quad	1                               ; 0x1
	.quad	2                               ; 0x2

.subsections_via_symbols
