	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_link_ksettings
_bnx2x_set_link_ksettings:              ## @bnx2x_set_link_ksettings
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%r12), %r15
	movl	44(%r12), %esi
	leaq	-68(%rbp), %rdi
	callq	_ethtool_convert_link_mode_to_legacy_u32
	movl	40(%r12), %esi
	leaq	-44(%rbp), %rdi
	callq	_ethtool_convert_link_mode_to_legacy_u32
	movq	%r13, %rdi
	callq	_IS_MF_SD
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_15
## %bb.1:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%r12), %edx
	movl	-68(%rbp), %ecx
	movl	-44(%rbp), %r8d
	movl	8(%r12), %r9d
	movl	28(%r12), %r10d
	movl	24(%r12), %ebx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	pushq	16(%r12)
	pushq	(%r12)
	callq	_DP
	addq	$32, %rsp
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rax), %r15
	jne	LBB0_3
## %bb.2:
	movq	(%rcx), %r15
LBB0_3:
	movl	8(%r12), %ebx
	movq	%r13, %rdi
	callq	_IS_MF_SI
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	_REQ_BC_VER_4_SET_MF_BW@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, 72(%r13)
	jge	LBB0_6
## %bb.5:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_11
LBB0_17:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_bnx2x_get_link_cfg_idx
	movl	16(%r13), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	16(%r12), %rbx
	movq	%r13, %rdi
	callq	_bnx2x_get_port_type
	cmpq	%rax, %rbx
	jne	LBB0_22
## %bb.18:
	movl	16(%r13), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jmp	LBB0_19
LBB0_6:
	movl	80(%r13), %eax
	testl	%eax, %eax
	movl	$10000, %ecx                    ## imm = 0x2710
	cmovnel	%eax, %ecx
	imull	$100, %ebx, %eax
	cltd
	idivl	%ecx
	cmpl	%ebx, %ecx
	jl	LBB0_8
## %bb.7:
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:
	movq	(%r13), %rcx
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_13
## %bb.16:
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_bnx2x_update_max_mf_config
	jmp	LBB0_14
LBB0_22:
	movq	16(%r12), %rax
	leaq	-134(%rax), %rcx
	cmpq	$3, %rcx
	jae	LBB0_23
## %bb.30:
	movq	56(%r13), %rax
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_32
## %bb.31:
	testl	%ecx, 4(%rax)
	je	LBB0_26
LBB0_32:
	movq	_PORT_HW_CFG_PHY_SELECTION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	andl	16(%r13), %ecx
	movq	_PORT_HW_CFG_PHY_SWAPPED_ENABLED@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_28
LBB0_33:
	movq	_PORT_HW_CFG_PHY_SELECTION_FIRST_PHY@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_8:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_13:
	movl	%eax, 8(%r13)
LBB0_14:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_23:
	cmpq	$133, %rax
	jne	LBB0_26
## %bb.24:
	movq	56(%r13), %rax
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_27
## %bb.25:
	testl	%ecx, 4(%rax)
	je	LBB0_26
LBB0_27:
	movq	_PORT_HW_CFG_PHY_SELECTION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	andl	16(%r13), %ecx
	movq	_PORT_HW_CFG_PHY_SWAPPED_ENABLED@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_33
LBB0_28:
	movq	_PORT_HW_CFG_PHY_SELECTION_SECOND_PHY@GOTPCREL(%rip), %rax
LBB0_29:
	orl	(%rax), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%ecx, 16(%r13)
LBB0_19:
	movq	%r13, %rdi
	callq	_bnx2x_get_link_cfg_idx
	movl	%eax, %ebx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r13)
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_DP
	movl	24(%r12), %eax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_54
## %bb.20:
	movq	56(%r13), %rax
	movslq	%ebx, %r8
	movl	(%rax,%r8,4), %eax
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_21
## %bb.34:
	movq	40(%r13), %rdx
	movq	_EXT_PHY1@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	shlq	$4, %rsi
	movq	(%rdx,%rsi), %rdx
	movq	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPCREL(%rip), %rsi
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rdi
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	orl	(%rdi), %ecx
	xorl	%ebx, %ebx
	cmpq	(%rsi), %rdx
	cmovnel	%ebx, %ecx
	orl	%eax, %ecx
	notl	%ecx
	testl	%ecx, -44(%rbp)
	je	LBB0_36
## %bb.35:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_10
LBB0_54:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_95
## %bb.55:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_79:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_80
## %bb.81:
	movq	56(%r13), %rax
	movslq	%ebx, %r8
	movq	_SUPPORTED_2500baseX_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax,%r8,4)
	je	LBB0_82
## %bb.83:
	movq	_ADVERTISED_2500baseX_Full@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_21:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_9
LBB0_26:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	xorl	%eax, %eax
	callq	_DP
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	24(%r13), %rax
	movl	%ecx, (%rax,%r8,4)
	movq	32(%r13), %rcx
	movq	%r15, (%rcx,%r8,8)
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx
	orl	(%rcx), %edx
	movq	64(%r13), %rsi
	movl	%edx, (%rsi,%r8,4)
	cmpl	$0, -44(%rbp)
	je	LBB0_92
## %bb.37:
	movq	48(%r13), %r10
	movl	$0, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_38
## %bb.39:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
	jmp	LBB0_40
LBB0_95:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.17(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_DP
	jmp	LBB0_11
LBB0_84:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_85
## %bb.86:
	movq	%r13, %rdi
	callq	_bnx2x_get_cur_phy_idx
	movq	56(%r13), %rcx
	movslq	%ebx, %r8
	movl	(%rcx,%r8,4), %edx
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_89
## %bb.87:
	movq	40(%r13), %rcx
	cltq
	shlq	$4, %rax
	movl	8(%rcx,%rax), %eax
	movq	_ETH_PHY_SFP_1G_FIBER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_88
LBB0_89:
	movq	_SUPPORTED_10000baseKR_Full@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_94
## %bb.90:
	movq	_ADVERTISED_10000baseKR_Full@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	jmp	LBB0_91
LBB0_72:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_73
## %bb.74:
	movq	56(%r13), %rax
	movslq	%ebx, %r8
	movl	(%rax,%r8,4), %eax
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_76
## %bb.75:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_65:
	movq	56(%r13), %rax
	movslq	%ebx, %r8
	movl	(%rax,%r8,4), %eax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	jne	LBB0_69
## %bb.66:
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_67
## %bb.68:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_56:
	movq	56(%r13), %rax
	movslq	%ebx, %r8
	movl	(%rax,%r8,4), %eax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	jne	LBB0_62
## %bb.57:
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_58
## %bb.59:
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_80:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_9
LBB0_85:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_9
LBB0_73:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_9
LBB0_69:
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_70
## %bb.71:
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_62:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_63
## %bb.64:
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rax
LBB0_60:
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rcx
LBB0_61:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_91:
	movq	24(%r13), %rax
	movl	%edx, (%rax,%r8,4)
	movq	32(%r13), %rcx
	movq	%r15, (%rcx,%r8,8)
	movl	-44(%rbp), %ecx
	movq	64(%r13), %rsi
	movl	%ecx, (%rsi,%r8,4)
LBB0_92:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax,%r8,4), %edx
	movl	(%rsi,%r8,4), %r8d
	leaq	L_.str.18(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_DP
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r13)
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_15
## %bb.93:
	movq	_STATS_EVENT_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_bnx2x_stats_handle
	movq	%r13, %rdi
	callq	_bnx2x_force_link_reset
	movq	%r13, %rdi
	callq	_bnx2x_link_set
	jmp	LBB0_15
LBB0_38:
	xorl	%edi, %edi
LBB0_40:
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_42
## %bb.41:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
LBB0_42:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_44
## %bb.43:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
LBB0_44:
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_46
## %bb.45:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
LBB0_46:
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_48
## %bb.47:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_1G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
LBB0_48:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %r9
	movq	_ADVERTISED_1000baseKX_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r9), %ecx
	testl	%ebx, %ecx
	je	LBB0_50
## %bb.49:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_1G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
LBB0_50:
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %r9
	movq	_ADVERTISED_10000baseKX4_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%r9), %ecx
	movq	_ADVERTISED_10000baseKR_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%ebx, %ecx
	je	LBB0_52
## %bb.51:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	movl	-44(%rbp), %ebx
LBB0_52:
	movq	_ADVERTISED_20000baseKR2_Full@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_92
## %bb.53:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_20G@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	movl	%edi, (%r10,%r8,4)
	jmp	LBB0_92
LBB0_82:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.14(%rip), %rsi
	jmp	LBB0_9
LBB0_76:
	movq	_SUPPORTED_1000baseKX_Full@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_78
## %bb.77:
	movq	_ADVERTISED_1000baseKX_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_91
LBB0_67:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_9
LBB0_58:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_9
LBB0_70:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_9
LBB0_63:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_9
LBB0_88:
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rcx
	jmp	LBB0_61
LBB0_94:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_9
LBB0_78:
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_79, LBB0_79-LJTI0_0
.set L0_0_set_84, LBB0_84-LJTI0_0
.set L0_0_set_72, LBB0_72-LJTI0_0
.set L0_0_set_65, LBB0_65-LJTI0_0
.set L0_0_set_56, LBB0_56-LJTI0_0
LJTI0_0:
	.long	L0_0_set_79
	.long	L0_0_set_84
	.long	L0_0_set_72
	.long	L0_0_set_65
	.long	L0_0_set_56
	.end_data_region
                                        ## -- End function
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ## @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ethtool_cmd: cmd %d\n  supported 0x%x  advertising 0x%x  speed %u\n  duplex %d  port %d  phy_address %d\n  autoneg %d\n"

	.comm	_DUPLEX_UNKNOWN,8,3             ## @DUPLEX_UNKNOWN
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_REQ_BC_VER_4_SET_MF_BW,8,3     ## @REQ_BC_VER_4_SET_MF_BW
L_.str.1:                               ## @.str.1
	.asciz	"To set speed BC %X or higher is required, please upgrade BC\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"Speed setting should be in a range from 1%% to 100%% of actual line speed\n"

	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
L_.str.3:                               ## @.str.3
	.asciz	"Unsupported port type\n"

	.comm	_PORT_HW_CFG_PHY_SELECTION_MASK,4,2 ## @PORT_HW_CFG_PHY_SELECTION_MASK
	.comm	_PORT_HW_CFG_PHY_SWAPPED_ENABLED,4,2 ## @PORT_HW_CFG_PHY_SWAPPED_ENABLED
	.comm	_PORT_HW_CFG_PHY_SELECTION_SECOND_PHY,4,2 ## @PORT_HW_CFG_PHY_SELECTION_SECOND_PHY
	.comm	_PORT_HW_CFG_PHY_SELECTION_FIRST_PHY,4,2 ## @PORT_HW_CFG_PHY_SELECTION_FIRST_PHY
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
L_.str.4:                               ## @.str.4
	.asciz	"cfg_idx = %x\n"

	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_EXT_PHY1,8,3                   ## @EXT_PHY1
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833,8,3 ## @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	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
L_.str.5:                               ## @.str.5
	.asciz	"Autoneg not supported\n"

L_.str.6:                               ## @.str.6
	.asciz	"Advertisement parameters are not supported\n"

	.comm	_SPEED_AUTO_NEG,4,2             ## @SPEED_AUTO_NEG
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_ADVERTISED_10baseT_Half,4,2    ## @ADVERTISED_10baseT_Half
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF
	.comm	_ADVERTISED_1000baseT_Half,4,2  ## @ADVERTISED_1000baseT_Half
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_1G,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_1G
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_1000baseKX_Full,4,2 ## @ADVERTISED_1000baseKX_Full
	.comm	_ADVERTISED_10000baseT_Full,4,2 ## @ADVERTISED_10000baseT_Full
	.comm	_ADVERTISED_10000baseKX4_Full,4,2 ## @ADVERTISED_10000baseKX4_Full
	.comm	_ADVERTISED_10000baseKR_Full,4,2 ## @ADVERTISED_10000baseKR_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_10G
	.comm	_ADVERTISED_20000baseKR2_Full,4,2 ## @ADVERTISED_20000baseKR2_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_20G,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_20G
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
L_.str.7:                               ## @.str.7
	.asciz	"10M full not supported\n"

	.comm	_ADVERTISED_TP,4,2              ## @ADVERTISED_TP
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
L_.str.8:                               ## @.str.8
	.asciz	"10M half not supported\n"

L_.str.9:                               ## @.str.9
	.asciz	"100M full not supported\n"

L_.str.10:                              ## @.str.10
	.asciz	"100M half not supported\n"

L_.str.11:                              ## @.str.11
	.asciz	"1G half not supported\n"

	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_1000baseKX_Full,4,2  ## @SUPPORTED_1000baseKX_Full
L_.str.12:                              ## @.str.12
	.asciz	"1G full not supported\n"

L_.str.13:                              ## @.str.13
	.asciz	"2.5G half not supported\n"

	.comm	_SUPPORTED_2500baseX_Full,4,2   ## @SUPPORTED_2500baseX_Full
L_.str.14:                              ## @.str.14
	.asciz	"2.5G full not supported\n"

	.comm	_ADVERTISED_2500baseX_Full,4,2  ## @ADVERTISED_2500baseX_Full
L_.str.15:                              ## @.str.15
	.asciz	"10G half not supported\n"

	.comm	_SUPPORTED_10000baseT_Full,4,2  ## @SUPPORTED_10000baseT_Full
	.comm	_ETH_PHY_SFP_1G_FIBER,4,2       ## @ETH_PHY_SFP_1G_FIBER
	.comm	_ADVERTISED_FIBRE,4,2           ## @ADVERTISED_FIBRE
	.comm	_SUPPORTED_10000baseKR_Full,4,2 ## @SUPPORTED_10000baseKR_Full
L_.str.16:                              ## @.str.16
	.asciz	"10G full not supported\n"

L_.str.17:                              ## @.str.17
	.asciz	"Unsupported speed %u\n"

L_.str.18:                              ## @.str.18
	.asciz	"req_line_speed %d\n  req_duplex %d  advertising 0x%x\n"

	.comm	_STATS_EVENT_STOP,4,2           ## @STATS_EVENT_STOP
	.no_dead_strip	_bnx2x_set_link_ksettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_link_ksettings
_bnx2x_set_link_ksettings:              ; @bnx2x_set_link_ksettings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x22, [x21]
	ldr	w1, [x21, #44]
	add	x0, sp, #72
	bl	_ethtool_convert_link_mode_to_legacy_u32
	ldr	w1, [x21, #40]
	add	x0, sp, #76
	bl	_ethtool_convert_link_mode_to_legacy_u32
	mov	x0, x19
	bl	_IS_MF_SD
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_92
LBB0_2:
Lloh0:
	adrp	x23, _BNX2X_MSG_ETHTOOL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BNX2X_MSG_ETHTOOL@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	x8, [x21]
	ldr	x9, [x21, #16]
	ldp	w14, w10, [x21, #28]
	ldp	w11, w12, [sp, #72]
	ldr	w13, [x21, #8]
	ldr	w15, [x21, #24]
	stp	x14, x15, [sp, #48]
	stp	x8, x9, [sp, #32]
	stp	x12, x13, [sp, #16]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	stp	x10, x11, [sp]
	bl	_DP
	ldr	w26, [x21, #8]
Lloh4:
	adrp	x8, _DUPLEX_UNKNOWN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DUPLEX_UNKNOWN@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x27, _DUPLEX_FULL@GOTPAGE
Lloh8:
	ldr	x27, [x27, _DUPLEX_FULL@GOTPAGEOFF]
	ldr	x9, [x27]
	cmp	x22, x8
	csel	x24, x9, x22, eq
	mov	x0, x19
	bl	_IS_MF_SI
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x9, [x19, #72]
Lloh9:
	adrp	x8, _REQ_BC_VER_4_SET_MF_BW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REQ_BC_VER_4_SET_MF_BW@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_7
; %bb.4:
	ldr	w0, [x23]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_91
LBB0_5:
	mov	x0, x19
	bl	_bnx2x_get_link_cfg_idx
	ldr	w28, [x19, #16]
	ldr	x22, [x21, #16]
	mov	x0, x19
	bl	_bnx2x_get_port_type
	cmp	x22, x0
	b.ne	LBB0_11
; %bb.6:
	ldr	w25, [x19, #16]
	b	LBB0_24
LBB0_7:
	ldr	w8, [x19, #80]
	mov	w9, #10000
	cmp	w8, #0
	csel	w8, w9, w8, eq
	cmp	w8, w26
	b.lt	LBB0_16
; %bb.8:
	mov	w9, #100
	mul	w9, w26, w9
	sdiv	w1, w9, w8
	cbz	w1, LBB0_16
; %bb.9:
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _BNX2X_STATE_OPEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BNX2X_STATE_OPEN@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.10:
	mov	x0, x19
	bl	_bnx2x_update_max_mf_config
	mov	w0, #0
	b	LBB0_92
LBB0_11:
	ldr	x8, [x21, #16]
	sub	x9, x8, #134
	cmp	x9, #3
	b.hs	LBB0_18
; %bb.12:
	ldr	x8, [x19, #56]
	ldr	w10, [x8]
Lloh17:
	adrp	x9, _SUPPORTED_FIBRE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_14
; %bb.13:
	ldr	w8, [x8, #4]
	tst	w8, w9
	b.eq	LBB0_34
LBB0_14:
Lloh20:
	adrp	x8, _PORT_HW_CFG_PHY_SELECTION_MASK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PORT_HW_CFG_PHY_SELECTION_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
Lloh23:
	adrp	x9, _PORT_HW_CFG_PHY_SWAPPED_ENABLED@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PORT_HW_CFG_PHY_SWAPPED_ENABLED@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
LBB0_15:
Lloh26:
	adrp	x9, _PORT_HW_CFG_PHY_SELECTION_FIRST_PHY@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PORT_HW_CFG_PHY_SELECTION_FIRST_PHY@GOTPAGEOFF]
	b	LBB0_23
LBB0_16:
	ldr	w0, [x23]
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_91
LBB0_17:
	mov	w0, #0
	str	w1, [x19, #8]
	b	LBB0_92
LBB0_18:
	cmp	x8, #133
	b.ne	LBB0_34
; %bb.19:
	ldr	x8, [x19, #56]
	ldr	w10, [x8]
Lloh30:
	adrp	x9, _SUPPORTED_TP@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SUPPORTED_TP@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_21
; %bb.20:
	ldr	w8, [x8, #4]
	tst	w8, w9
	b.eq	LBB0_34
LBB0_21:
Lloh33:
	adrp	x8, _PORT_HW_CFG_PHY_SELECTION_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PORT_HW_CFG_PHY_SELECTION_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
Lloh36:
	adrp	x9, _PORT_HW_CFG_PHY_SWAPPED_ENABLED@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PORT_HW_CFG_PHY_SWAPPED_ENABLED@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
LBB0_22:
Lloh39:
	adrp	x9, _PORT_HW_CFG_PHY_SELECTION_SECOND_PHY@GOTPAGE
Lloh40:
	ldr	x9, [x9, _PORT_HW_CFG_PHY_SELECTION_SECOND_PHY@GOTPAGEOFF]
LBB0_23:
	ldr	w9, [x9]
	orr	w25, w9, w8
	str	w25, [x19, #16]
LBB0_24:
	mov	x0, x19
	bl	_bnx2x_get_link_cfg_idx
	mov	x22, x0
	str	w28, [x19, #16]
	ldr	w0, [x23]
	str	x22, [sp]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_DP
	ldr	w8, [x21, #24]
Lloh43:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh44:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.25:
	ldr	x8, [x19, #56]
	ldr	w8, [x8, w22, sxtw #2]
Lloh46:
	adrp	x9, _SUPPORTED_Autoneg@GOTPAGE
Lloh47:
	ldr	x9, [x9, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.26:
	ldr	x9, [x19, #40]
Lloh49:
	adrp	x10, _EXT_PHY1@GOTPAGE
Lloh50:
	ldr	x10, [x10, _EXT_PHY1@GOTPAGEOFF]
Lloh51:
	ldr	x10, [x10]
	lsl	x10, x10, #4
	ldr	x9, [x9, x10]
Lloh52:
	adrp	x10, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPAGE
Lloh53:
	ldr	x10, [x10, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPAGEOFF]
Lloh54:
	ldr	x10, [x10]
Lloh55:
	adrp	x11, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh56:
	ldr	x11, [x11, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh57:
	ldr	w11, [x11]
Lloh58:
	adrp	x12, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh59:
	ldr	x12, [x12, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh60:
	ldr	w12, [x12]
	orr	w11, w12, w11
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w8, w9, w8
	ldr	w9, [sp, #76]
	bics	wzr, w9, w8
	b.eq	LBB0_35
; %bb.27:
	ldr	w0, [x23]
Lloh61:
	adrp	x1, l_.str.6@PAGE
Lloh62:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_91
LBB0_28:
	sub	w8, w26, #128
	cmp	w8, #4
	b.hi	LBB0_38
; %bb.29:
Lloh63:
	adrp	x9, lJTI0_0@PAGE
Lloh64:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_30
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_30:
	ldr	x8, [x27]
	cmp	x24, x8
	b.ne	LBB0_53
; %bb.31:
	ldr	x8, [x19, #56]
	ldr	w8, [x8, w22, sxtw #2]
Lloh65:
	adrp	x9, _SUPPORTED_2500baseX_Full@GOTPAGE
Lloh66:
	ldr	x9, [x9, _SUPPORTED_2500baseX_Full@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_80
; %bb.32:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x8, w22
Lloh68:
	adrp	x9, _ADVERTISED_2500baseX_Full@GOTPAGE
Lloh69:
	ldr	x9, [x9, _ADVERTISED_2500baseX_Full@GOTPAGEOFF]
	b	LBB0_60
LBB0_33:
	ldr	w0, [x23]
Lloh70:
	adrp	x1, l_.str.5@PAGE
Lloh71:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_91
LBB0_34:
	ldr	w0, [x23]
Lloh72:
	adrp	x1, l_.str.3@PAGE
Lloh73:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_91
LBB0_35:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x8, w22
Lloh74:
	adrp	x9, _SPEED_AUTO_NEG@GOTPAGE
Lloh75:
	ldr	x9, [x9, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh76:
	ldr	w10, [x9]
	lsl	x11, x8, #2
	ldp	x9, x12, [x19, #24]
	str	w10, [x9, x11]
	str	x24, [x12, x8, lsl #3]
Lloh77:
	adrp	x10, _ADVERTISED_Autoneg@GOTPAGE
Lloh78:
	ldr	x10, [x10, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh79:
	ldr	w10, [x10]
	ldr	w12, [sp, #76]
	orr	w12, w12, w10
	ldr	x10, [x19, #64]
	str	w12, [x10, x11]
	ldr	w11, [sp, #76]
	cbz	w11, LBB0_63
; %bb.36:
	ldr	x11, [x19, #48]
	str	wzr, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
Lloh80:
	adrp	x12, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh81:
	ldr	x12, [x12, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
Lloh82:
	ldr	w12, [x12]
	tst	w12, w13
	b.eq	LBB0_65
; %bb.37:
Lloh83:
	adrp	x12, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF@GOTPAGE
Lloh84:
	ldr	x12, [x12, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF@GOTPAGEOFF]
Lloh85:
	ldr	w12, [x12]
	str	w12, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
	b	LBB0_66
LBB0_38:
	ldr	w0, [x23]
	str	x26, [sp]
Lloh86:
	adrp	x1, l_.str.17@PAGE
Lloh87:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_91
LBB0_39:
	ldr	x8, [x27]
	cmp	x24, x8
	b.ne	LBB0_54
; %bb.40:
	mov	x0, x19
	bl	_bnx2x_get_cur_phy_idx
	ldr	x9, [x19, #56]
	mov	x8, x22
	sxtw	x8, w8
	ldr	w9, [x9, w22, sxtw #2]
Lloh88:
	adrp	x10, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh89:
	ldr	x10, [x10, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
Lloh90:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_42
; %bb.41:
	ldr	x10, [x19, #40]
	add	x10, x10, w0, sxtw #4
	ldr	w10, [x10, #8]
Lloh91:
	adrp	x11, _ETH_PHY_SFP_1G_FIBER@GOTPAGE
Lloh92:
	ldr	x11, [x11, _ETH_PHY_SFP_1G_FIBER@GOTPAGEOFF]
Lloh93:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_87
LBB0_42:
Lloh94:
	adrp	x10, _SUPPORTED_10000baseKR_Full@GOTPAGE
Lloh95:
	ldr	x10, [x10, _SUPPORTED_10000baseKR_Full@GOTPAGEOFF]
Lloh96:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_89
; %bb.43:
Lloh97:
	adrp	x9, _ADVERTISED_10000baseKR_Full@GOTPAGE
Lloh98:
	ldr	x9, [x9, _ADVERTISED_10000baseKR_Full@GOTPAGEOFF]
	b	LBB0_88
LBB0_44:
	ldr	x8, [x27]
	cmp	x24, x8
	b.ne	LBB0_55
; %bb.45:
	ldr	x9, [x19, #56]
	mov	x8, x22
	sxtw	x8, w8
	ldr	w9, [x9, w22, sxtw #2]
Lloh99:
	adrp	x10, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh100:
	ldr	x10, [x10, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh101:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_81
; %bb.46:
Lloh102:
	adrp	x9, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh103:
	ldr	x9, [x9, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
	b	LBB0_60
LBB0_47:
	ldr	x10, [x27]
	ldr	x9, [x19, #56]
	mov	x8, x22
	sxtw	x8, w8
	ldr	w9, [x9, w22, sxtw #2]
	cmp	x24, x10
	b.ne	LBB0_56
; %bb.48:
Lloh104:
	adrp	x10, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh105:
	ldr	x10, [x10, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh106:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_83
; %bb.49:
Lloh107:
	adrp	x9, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh108:
	ldr	x9, [x9, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
	b	LBB0_60
LBB0_50:
	ldr	x10, [x27]
	ldr	x9, [x19, #56]
	mov	x8, x22
	sxtw	x8, w8
	ldr	w9, [x9, w22, sxtw #2]
	cmp	x24, x10
	b.ne	LBB0_58
; %bb.51:
Lloh109:
	adrp	x10, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh110:
	ldr	x10, [x10, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh111:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_84
; %bb.52:
Lloh112:
	adrp	x9, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh113:
	ldr	x9, [x9, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
	b	LBB0_60
LBB0_53:
	ldr	w0, [x23]
Lloh114:
	adrp	x1, l_.str.13@PAGE
Lloh115:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_91
LBB0_54:
	ldr	w0, [x23]
Lloh116:
	adrp	x1, l_.str.15@PAGE
Lloh117:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_91
LBB0_55:
	ldr	w0, [x23]
Lloh118:
	adrp	x1, l_.str.11@PAGE
Lloh119:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_91
LBB0_56:
Lloh120:
	adrp	x10, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh121:
	ldr	x10, [x10, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh122:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_85
; %bb.57:
Lloh123:
	adrp	x9, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh124:
	ldr	x9, [x9, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
	b	LBB0_60
LBB0_58:
Lloh125:
	adrp	x10, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh126:
	ldr	x10, [x10, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh127:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_86
; %bb.59:
Lloh128:
	adrp	x9, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh129:
	ldr	x9, [x9, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
LBB0_60:
	ldr	w9, [x9]
Lloh130:
	adrp	x10, _ADVERTISED_TP@GOTPAGE
Lloh131:
	ldr	x10, [x10, _ADVERTISED_TP@GOTPAGEOFF]
LBB0_61:
	ldr	w10, [x10]
	orr	w9, w10, w9
LBB0_62:
	str	w9, [sp, #76]
	lsl	x11, x8, #2
	ldp	x9, x10, [x19, #24]
	str	w26, [x9, x11]
	str	x24, [x10, x8, lsl #3]
	ldr	w12, [sp, #76]
	ldr	x10, [x19, #64]
	str	w12, [x10, x11]
LBB0_63:
	ldr	w0, [x23]
	lsl	x8, x8, #2
	ldr	w9, [x9, x8]
	ldr	w8, [x10, x8]
	stp	x24, x8, [sp, #8]
	str	x9, [sp]
Lloh132:
	adrp	x1, l_.str.18@PAGE
Lloh133:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_DP
	str	w25, [x19, #16]
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_92
; %bb.64:
Lloh134:
	adrp	x8, _STATS_EVENT_STOP@GOTPAGE
Lloh135:
	ldr	x8, [x8, _STATS_EVENT_STOP@GOTPAGEOFF]
Lloh136:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_stats_handle
	mov	x0, x19
	bl	_bnx2x_force_link_reset
	mov	x0, x19
	bl	_bnx2x_link_set
	b	LBB0_1
LBB0_65:
	mov	w12, #0
LBB0_66:
Lloh137:
	adrp	x14, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh138:
	ldr	x14, [x14, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh139:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_68
; %bb.67:
Lloh140:
	adrp	x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL@GOTPAGE
Lloh141:
	ldr	x13, [x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL@GOTPAGEOFF]
Lloh142:
	ldr	w13, [x13]
	orr	w12, w12, w13
	str	w12, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
LBB0_68:
Lloh143:
	adrp	x14, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh144:
	ldr	x14, [x14, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh145:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_70
; %bb.69:
Lloh146:
	adrp	x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL@GOTPAGE
Lloh147:
	ldr	x13, [x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL@GOTPAGEOFF]
Lloh148:
	ldr	w13, [x13]
	orr	w12, w12, w13
	str	w12, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
LBB0_70:
Lloh149:
	adrp	x14, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh150:
	ldr	x14, [x14, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh151:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_72
; %bb.71:
Lloh152:
	adrp	x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF@GOTPAGE
Lloh153:
	ldr	x13, [x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF@GOTPAGEOFF]
Lloh154:
	ldr	w13, [x13]
	orr	w12, w12, w13
	str	w12, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
LBB0_72:
Lloh155:
	adrp	x14, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh156:
	ldr	x14, [x14, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh157:
	ldr	w15, [x14]
Lloh158:
	adrp	x14, _PORT_HW_CFG_SPEED_CAPABILITY_D0_1G@GOTPAGE
Lloh159:
	ldr	x14, [x14, _PORT_HW_CFG_SPEED_CAPABILITY_D0_1G@GOTPAGEOFF]
	tst	w15, w13
	b.eq	LBB0_74
; %bb.73:
	ldr	w13, [x14]
	orr	w12, w12, w13
	str	w12, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
LBB0_74:
Lloh160:
	adrp	x15, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh161:
	ldr	x15, [x15, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh162:
	ldr	w15, [x15]
Lloh163:
	adrp	x16, _ADVERTISED_1000baseKX_Full@GOTPAGE
Lloh164:
	ldr	x16, [x16, _ADVERTISED_1000baseKX_Full@GOTPAGEOFF]
Lloh165:
	ldr	w16, [x16]
	orr	w15, w16, w15
	tst	w15, w13
	b.eq	LBB0_76
; %bb.75:
	ldr	w13, [x14]
	orr	w12, w12, w13
	str	w12, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
LBB0_76:
Lloh166:
	adrp	x14, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh167:
	ldr	x14, [x14, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh168:
	ldr	w14, [x14]
Lloh169:
	adrp	x15, _ADVERTISED_10000baseKX4_Full@GOTPAGE
Lloh170:
	ldr	x15, [x15, _ADVERTISED_10000baseKX4_Full@GOTPAGEOFF]
Lloh171:
	ldr	w15, [x15]
	orr	w14, w15, w14
Lloh172:
	adrp	x15, _ADVERTISED_10000baseKR_Full@GOTPAGE
Lloh173:
	ldr	x15, [x15, _ADVERTISED_10000baseKR_Full@GOTPAGEOFF]
Lloh174:
	ldr	w15, [x15]
	orr	w14, w14, w15
	tst	w14, w13
	b.eq	LBB0_78
; %bb.77:
Lloh175:
	adrp	x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPAGE
Lloh176:
	ldr	x13, [x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPAGEOFF]
Lloh177:
	ldr	w13, [x13]
	orr	w12, w12, w13
	str	w12, [x11, x8, lsl #2]
	ldr	w13, [sp, #76]
LBB0_78:
Lloh178:
	adrp	x14, _ADVERTISED_20000baseKR2_Full@GOTPAGE
Lloh179:
	ldr	x14, [x14, _ADVERTISED_20000baseKR2_Full@GOTPAGEOFF]
Lloh180:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_63
; %bb.79:
Lloh181:
	adrp	x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_20G@GOTPAGE
Lloh182:
	ldr	x13, [x13, _PORT_HW_CFG_SPEED_CAPABILITY_D0_20G@GOTPAGEOFF]
Lloh183:
	ldr	w13, [x13]
	orr	w12, w12, w13
	str	w12, [x11, x8, lsl #2]
	b	LBB0_63
LBB0_80:
	ldr	w0, [x23]
Lloh184:
	adrp	x1, l_.str.14@PAGE
Lloh185:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_91
LBB0_81:
Lloh186:
	adrp	x10, _SUPPORTED_1000baseKX_Full@GOTPAGE
Lloh187:
	ldr	x10, [x10, _SUPPORTED_1000baseKX_Full@GOTPAGEOFF]
Lloh188:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_90
; %bb.82:
Lloh189:
	adrp	x9, _ADVERTISED_1000baseKX_Full@GOTPAGE
Lloh190:
	ldr	x9, [x9, _ADVERTISED_1000baseKX_Full@GOTPAGEOFF]
Lloh191:
	ldr	w9, [x9]
	b	LBB0_62
LBB0_83:
	ldr	w0, [x23]
Lloh192:
	adrp	x1, l_.str.9@PAGE
Lloh193:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_91
LBB0_84:
	ldr	w0, [x23]
Lloh194:
	adrp	x1, l_.str.7@PAGE
Lloh195:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_91
LBB0_85:
	ldr	w0, [x23]
Lloh196:
	adrp	x1, l_.str.10@PAGE
Lloh197:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_91
LBB0_86:
	ldr	w0, [x23]
Lloh198:
	adrp	x1, l_.str.8@PAGE
Lloh199:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_91
LBB0_87:
Lloh200:
	adrp	x9, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh201:
	ldr	x9, [x9, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
LBB0_88:
	ldr	w9, [x9]
Lloh202:
	adrp	x10, _ADVERTISED_FIBRE@GOTPAGE
Lloh203:
	ldr	x10, [x10, _ADVERTISED_FIBRE@GOTPAGEOFF]
	b	LBB0_61
LBB0_89:
	ldr	w0, [x23]
Lloh204:
	adrp	x1, l_.str.16@PAGE
Lloh205:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_91
LBB0_90:
	ldr	w0, [x23]
Lloh206:
	adrp	x1, l_.str.12@PAGE
Lloh207:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_91:
	bl	_DP
Lloh208:
	adrp	x8, _EINVAL@GOTPAGE
Lloh209:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh210:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_92:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpAdd	Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh143, Lloh144, Lloh145
	.loh AdrpLdrGotLdr	Lloh146, Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh149, Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.loh AdrpLdrGot	Lloh158, Lloh159
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh160, Lloh161, Lloh162
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh174
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.loh AdrpLdrGotLdr	Lloh166, Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh175, Lloh176, Lloh177
	.loh AdrpLdrGotLdr	Lloh178, Lloh179, Lloh180
	.loh AdrpLdrGotLdr	Lloh181, Lloh182, Lloh183
	.loh AdrpAdd	Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh186, Lloh187, Lloh188
	.loh AdrpLdrGotLdr	Lloh189, Lloh190, Lloh191
	.loh AdrpAdd	Lloh192, Lloh193
	.loh AdrpAdd	Lloh194, Lloh195
	.loh AdrpAdd	Lloh196, Lloh197
	.loh AdrpAdd	Lloh198, Lloh199
	.loh AdrpLdrGot	Lloh200, Lloh201
	.loh AdrpLdrGot	Lloh202, Lloh203
	.loh AdrpAdd	Lloh204, Lloh205
	.loh AdrpAdd	Lloh206, Lloh207
	.loh AdrpLdrGotLdr	Lloh208, Lloh209, Lloh210
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_30-LBB0_30)>>2
	.byte	(LBB0_39-LBB0_30)>>2
	.byte	(LBB0_44-LBB0_30)>>2
	.byte	(LBB0_47-LBB0_30)>>2
	.byte	(LBB0_50-LBB0_30)>>2
                                        ; -- End function
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ; @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ethtool_cmd: cmd %d\n  supported 0x%x  advertising 0x%x  speed %u\n  duplex %d  port %d  phy_address %d\n  autoneg %d\n"

	.comm	_DUPLEX_UNKNOWN,8,3             ; @DUPLEX_UNKNOWN
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_REQ_BC_VER_4_SET_MF_BW,8,3     ; @REQ_BC_VER_4_SET_MF_BW
l_.str.1:                               ; @.str.1
	.asciz	"To set speed BC %X or higher is required, please upgrade BC\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"Speed setting should be in a range from 1%% to 100%% of actual line speed\n"

	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
l_.str.3:                               ; @.str.3
	.asciz	"Unsupported port type\n"

	.comm	_PORT_HW_CFG_PHY_SELECTION_MASK,4,2 ; @PORT_HW_CFG_PHY_SELECTION_MASK
	.comm	_PORT_HW_CFG_PHY_SWAPPED_ENABLED,4,2 ; @PORT_HW_CFG_PHY_SWAPPED_ENABLED
	.comm	_PORT_HW_CFG_PHY_SELECTION_SECOND_PHY,4,2 ; @PORT_HW_CFG_PHY_SELECTION_SECOND_PHY
	.comm	_PORT_HW_CFG_PHY_SELECTION_FIRST_PHY,4,2 ; @PORT_HW_CFG_PHY_SELECTION_FIRST_PHY
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
l_.str.4:                               ; @.str.4
	.asciz	"cfg_idx = %x\n"

	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_EXT_PHY1,8,3                   ; @EXT_PHY1
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833,8,3 ; @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	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
l_.str.5:                               ; @.str.5
	.asciz	"Autoneg not supported\n"

l_.str.6:                               ; @.str.6
	.asciz	"Advertisement parameters are not supported\n"

	.comm	_SPEED_AUTO_NEG,4,2             ; @SPEED_AUTO_NEG
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_ADVERTISED_10baseT_Half,4,2    ; @ADVERTISED_10baseT_Half
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF
	.comm	_ADVERTISED_1000baseT_Half,4,2  ; @ADVERTISED_1000baseT_Half
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_1G,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_1G
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_ADVERTISED_1000baseKX_Full,4,2 ; @ADVERTISED_1000baseKX_Full
	.comm	_ADVERTISED_10000baseT_Full,4,2 ; @ADVERTISED_10000baseT_Full
	.comm	_ADVERTISED_10000baseKX4_Full,4,2 ; @ADVERTISED_10000baseKX4_Full
	.comm	_ADVERTISED_10000baseKR_Full,4,2 ; @ADVERTISED_10000baseKR_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_10G
	.comm	_ADVERTISED_20000baseKR2_Full,4,2 ; @ADVERTISED_20000baseKR2_Full
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_20G,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_20G
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
l_.str.7:                               ; @.str.7
	.asciz	"10M full not supported\n"

	.comm	_ADVERTISED_TP,4,2              ; @ADVERTISED_TP
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
l_.str.8:                               ; @.str.8
	.asciz	"10M half not supported\n"

l_.str.9:                               ; @.str.9
	.asciz	"100M full not supported\n"

l_.str.10:                              ; @.str.10
	.asciz	"100M half not supported\n"

l_.str.11:                              ; @.str.11
	.asciz	"1G half not supported\n"

	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_SUPPORTED_1000baseKX_Full,4,2  ; @SUPPORTED_1000baseKX_Full
l_.str.12:                              ; @.str.12
	.asciz	"1G full not supported\n"

l_.str.13:                              ; @.str.13
	.asciz	"2.5G half not supported\n"

	.comm	_SUPPORTED_2500baseX_Full,4,2   ; @SUPPORTED_2500baseX_Full
l_.str.14:                              ; @.str.14
	.asciz	"2.5G full not supported\n"

	.comm	_ADVERTISED_2500baseX_Full,4,2  ; @ADVERTISED_2500baseX_Full
l_.str.15:                              ; @.str.15
	.asciz	"10G half not supported\n"

	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_ETH_PHY_SFP_1G_FIBER,4,2       ; @ETH_PHY_SFP_1G_FIBER
	.comm	_ADVERTISED_FIBRE,4,2           ; @ADVERTISED_FIBRE
	.comm	_SUPPORTED_10000baseKR_Full,4,2 ; @SUPPORTED_10000baseKR_Full
l_.str.16:                              ; @.str.16
	.asciz	"10G full not supported\n"

l_.str.17:                              ; @.str.17
	.asciz	"Unsupported speed %u\n"

l_.str.18:                              ; @.str.18
	.asciz	"req_line_speed %d\n  req_duplex %d  advertising 0x%x\n"

	.comm	_STATS_EVENT_STOP,4,2           ; @STATS_EVENT_STOP
	.no_dead_strip	_bnx2x_set_link_ksettings
.subsections_via_symbols
