	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_settings
_bnx2x_get_settings:                    ## @bnx2x_get_settings
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_bnx2x_get_link_cfg_idx
	movq	64(%r14), %rcx
	movslq	%eax, %r15
	movl	%r15d, %eax
	xorl	$1, %eax
	cltq
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rdx
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	andl	(%rcx,%rax,4), %esi
	orl	(%rcx,%r15,4), %esi
	movl	%esi, (%rbx)
	movq	72(%r14), %rax
	movl	(%rax,%r15,4), %eax
	movl	%eax, 44(%rbx)
	movq	48(%r14), %r12
	movq	%r14, %rdi
	callq	_bnx2x_get_cur_phy_idx
	movq	(%r12,%rax,8), %rax
	movq	_ETH_PHY_SFP_1G_FIBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 44(%rbx)
LBB0_2:
	movq	(%r14), %rax
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	cmpq	$0, 32(%r14)
	je	LBB0_9
## %bb.4:
	movq	_MF_FUNC_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	je	LBB0_5
LBB0_9:
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_10:
	movq	%rbx, %rdi
	callq	_ethtool_cmd_speed_set
	movq	%r14, %rdi
	callq	_bnx2x_get_port_type
	movl	%eax, 36(%rbx)
	movl	56(%r14), %eax
	movl	%eax, 32(%rbx)
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	40(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	16(%r14), %eax
	movq	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_36
## %bb.14:
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rdx
	movl	52(%rbx), %ecx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
	movq	_LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_16
## %bb.15:
	movq	_ADVERTISED_Pause@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_16:
	movq	_LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_18
## %bb.17:
	movq	_ADVERTISED_Asym_Pause@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_18:
	movq	_LINK_STATUS_LINK_PARTNER_10THD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_20
## %bb.19:
	movq	_ADVERTISED_10baseT_Half@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_20:
	movq	_LINK_STATUS_LINK_PARTNER_10TFD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_22
## %bb.21:
	movq	_ADVERTISED_10baseT_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_22:
	movq	_LINK_STATUS_LINK_PARTNER_100TXHD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_24
## %bb.23:
	movq	_ADVERTISED_100baseT_Half@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_24:
	movq	_LINK_STATUS_LINK_PARTNER_100TXFD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_26
## %bb.25:
	movq	_ADVERTISED_100baseT_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_26:
	movq	_LINK_STATUS_LINK_PARTNER_1000THD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_28
## %bb.27:
	movq	_ADVERTISED_1000baseT_Half@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_28:
	movq	_LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_30
## %bb.29:
	movq	_ADVERTISED_1000baseT_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_30:
	movq	_LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_32
## %bb.31:
	movq	_ADVERTISED_2500baseX_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_32:
	movq	_LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_34
## %bb.33:
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 52(%rbx)
LBB0_34:
	movq	_LINK_STATUS_LINK_PARTNER_20GXFD_CAPABLE@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_36
## %bb.35:
	movq	_ADVERTISED_20000baseKR2_Full@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 52(%rbx)
LBB0_36:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	48(%rbx), %r15d
	movl	(%rbx), %r12d
	movl	44(%rbx), %r13d
	movq	%rbx, %rdi
	callq	_ethtool_cmd_speed
	movl	40(%rbx), %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	36(%rbx), %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	32(%rbx), %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	28(%rbx), %r11d
	movl	24(%rbx), %r10d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	pushq	8(%rbx)
	pushq	16(%rbx)
	pushq	%r10
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_DP
	addq	$64, %rsp
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	24(%r14), %eax
	movl	%eax, 40(%rbx)
	movq	%r14, %rdi
	callq	_IS_MF
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	callq	_BP_NOMCP
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movl	20(%r14), %esi
	jmp	LBB0_10
LBB0_7:
	movq	%r14, %rdi
	callq	_bnx2x_get_mf_speed
	movl	%eax, %esi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
	.comm	_ETH_PHY_SFP_1G_FIBER,8,3       ## @ETH_PHY_SFP_1G_FIBER
	.comm	_SUPPORTED_10000baseT_Full,4,2  ## @SUPPORTED_10000baseT_Full
	.comm	_ADVERTISED_10000baseT_Full,4,2 ## @ADVERTISED_10000baseT_Full
	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
	.comm	_MF_FUNC_DIS,4,2                ## @MF_FUNC_DIS
	.comm	_DUPLEX_UNKNOWN,4,2             ## @DUPLEX_UNKNOWN
	.comm	_SPEED_UNKNOWN,4,2              ## @SPEED_UNKNOWN
	.comm	_XCVR_INTERNAL,4,2              ## @XCVR_INTERNAL
	.comm	_SPEED_AUTO_NEG,8,3             ## @SPEED_AUTO_NEG
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE,4,2 ## @LINK_STATUS_AUTO_NEGOTIATE_COMPLETE
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE,4,2 ## @LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE
	.comm	_ADVERTISED_Pause,4,2           ## @ADVERTISED_Pause
	.comm	_LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE,4,2 ## @LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE
	.comm	_ADVERTISED_Asym_Pause,4,2      ## @ADVERTISED_Asym_Pause
	.comm	_LINK_STATUS_LINK_PARTNER_10THD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_10THD_CAPABLE
	.comm	_ADVERTISED_10baseT_Half,4,2    ## @ADVERTISED_10baseT_Half
	.comm	_LINK_STATUS_LINK_PARTNER_10TFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_10TFD_CAPABLE
	.comm	_ADVERTISED_10baseT_Full,4,2    ## @ADVERTISED_10baseT_Full
	.comm	_LINK_STATUS_LINK_PARTNER_100TXHD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_100TXHD_CAPABLE
	.comm	_ADVERTISED_100baseT_Half,4,2   ## @ADVERTISED_100baseT_Half
	.comm	_LINK_STATUS_LINK_PARTNER_100TXFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_100TXFD_CAPABLE
	.comm	_ADVERTISED_100baseT_Full,4,2   ## @ADVERTISED_100baseT_Full
	.comm	_LINK_STATUS_LINK_PARTNER_1000THD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_1000THD_CAPABLE
	.comm	_ADVERTISED_1000baseT_Half,4,2  ## @ADVERTISED_1000baseT_Half
	.comm	_LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE
	.comm	_ADVERTISED_1000baseT_Full,4,2  ## @ADVERTISED_1000baseT_Full
	.comm	_LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE
	.comm	_ADVERTISED_2500baseX_Full,4,2  ## @ADVERTISED_2500baseX_Full
	.comm	_LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE
	.comm	_LINK_STATUS_LINK_PARTNER_20GXFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_20GXFD_CAPABLE
	.comm	_ADVERTISED_20000baseKR2_Full,4,2 ## @ADVERTISED_20000baseKR2_Full
	.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  transceiver %d\n  autoneg %d  maxtxpkt %d  maxrxpkt %d\n"

	.no_dead_strip	_bnx2x_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_settings
_bnx2x_get_settings:                    ; @bnx2x_get_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_bnx2x_get_link_cfg_idx
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	sbfiz	x8, x0, #2, #32
	eor	x9, x21, #0x1
Lloh0:
	adrp	x10, _SUPPORTED_TP@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SUPPORTED_TP@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _SUPPORTED_FIBRE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	ldp	x11, x12, [x20, #64]
	ldr	w9, [x11, x9, lsl #2]
	ldr	w11, [x11, x8]
	and	w9, w10, w9
	orr	w9, w9, w11
	str	w9, [x19]
	ldr	w8, [x12, x8]
	str	w8, [x19, #44]
	ldr	x22, [x20, #48]
	mov	x0, x20
	bl	_bnx2x_get_cur_phy_idx
	ldr	x8, [x22, x0, lsl #3]
Lloh6:
	adrp	x9, _ETH_PHY_SFP_1G_FIBER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ETH_PHY_SFP_1G_FIBER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh12:
	adrp	x8, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19, #44]
	bic	w8, w9, w8
	str	w8, [x19, #44]
LBB0_2:
	ldr	x8, [x20]
Lloh15:
	adrp	x9, _BNX2X_STATE_OPEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _BNX2X_STATE_OPEN@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w8, [x20, #8]
Lloh18:
	adrp	x9, _MF_FUNC_DIS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MF_FUNC_DIS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
LBB0_5:
Lloh21:
	adrp	x8, _DUPLEX_UNKNOWN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DUPLEX_UNKNOWN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh24:
	adrp	x8, _SPEED_UNKNOWN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
LBB0_6:
	mov	x0, x19
	bl	_ethtool_cmd_speed_set
	mov	x0, x20
	bl	_bnx2x_get_port_type
	str	w0, [x19, #36]
	ldr	w8, [x20, #56]
Lloh27:
	adrp	x9, _XCVR_INTERNAL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _XCVR_INTERNAL@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
	ldr	x8, [x20, #40]
	ldr	x8, [x8, x21, lsl #3]
Lloh30:
	adrp	x9, _SPEED_AUTO_NEG@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh32:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh33:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
Lloh35:
	adrp	x11, _AUTONEG_DISABLE@GOTPAGE
Lloh36:
	ldr	x11, [x11, _AUTONEG_DISABLE@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	w8, [x20, #16]
Lloh37:
	adrp	x9, _LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.7:
Lloh40:
	adrp	x9, _ADVERTISED_Autoneg@GOTPAGE
Lloh41:
	ldr	x9, [x9, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	ldr	w10, [x19, #52]
	orr	w9, w10, w9
	str	w9, [x19, #52]
Lloh43:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPAGE
Lloh44:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_9
; %bb.8:
Lloh46:
	adrp	x10, _ADVERTISED_Pause@GOTPAGE
Lloh47:
	ldr	x10, [x10, _ADVERTISED_Pause@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x19, #52]
LBB0_9:
Lloh49:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGE
Lloh50:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_11
; %bb.10:
Lloh52:
	adrp	x10, _ADVERTISED_Asym_Pause@GOTPAGE
Lloh53:
	ldr	x10, [x10, _ADVERTISED_Asym_Pause@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_11:
Lloh55:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_10THD_CAPABLE@GOTPAGE
Lloh56:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_10THD_CAPABLE@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_13
; %bb.12:
Lloh58:
	adrp	x10, _ADVERTISED_10baseT_Half@GOTPAGE
Lloh59:
	ldr	x10, [x10, _ADVERTISED_10baseT_Half@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_13:
Lloh61:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_10TFD_CAPABLE@GOTPAGE
Lloh62:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_10TFD_CAPABLE@GOTPAGEOFF]
Lloh63:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_15
; %bb.14:
Lloh64:
	adrp	x10, _ADVERTISED_10baseT_Full@GOTPAGE
Lloh65:
	ldr	x10, [x10, _ADVERTISED_10baseT_Full@GOTPAGEOFF]
Lloh66:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_15:
Lloh67:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_100TXHD_CAPABLE@GOTPAGE
Lloh68:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_100TXHD_CAPABLE@GOTPAGEOFF]
Lloh69:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_17
; %bb.16:
Lloh70:
	adrp	x10, _ADVERTISED_100baseT_Half@GOTPAGE
Lloh71:
	ldr	x10, [x10, _ADVERTISED_100baseT_Half@GOTPAGEOFF]
Lloh72:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_17:
Lloh73:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_100TXFD_CAPABLE@GOTPAGE
Lloh74:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_100TXFD_CAPABLE@GOTPAGEOFF]
Lloh75:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_19
; %bb.18:
Lloh76:
	adrp	x10, _ADVERTISED_100baseT_Full@GOTPAGE
Lloh77:
	ldr	x10, [x10, _ADVERTISED_100baseT_Full@GOTPAGEOFF]
Lloh78:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_19:
Lloh79:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_1000THD_CAPABLE@GOTPAGE
Lloh80:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_1000THD_CAPABLE@GOTPAGEOFF]
Lloh81:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_21
; %bb.20:
Lloh82:
	adrp	x10, _ADVERTISED_1000baseT_Half@GOTPAGE
Lloh83:
	ldr	x10, [x10, _ADVERTISED_1000baseT_Half@GOTPAGEOFF]
Lloh84:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_21:
Lloh85:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE@GOTPAGE
Lloh86:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE@GOTPAGEOFF]
Lloh87:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_23
; %bb.22:
Lloh88:
	adrp	x10, _ADVERTISED_1000baseT_Full@GOTPAGE
Lloh89:
	ldr	x10, [x10, _ADVERTISED_1000baseT_Full@GOTPAGEOFF]
Lloh90:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_23:
Lloh91:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE@GOTPAGE
Lloh92:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE@GOTPAGEOFF]
Lloh93:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_25
; %bb.24:
Lloh94:
	adrp	x10, _ADVERTISED_2500baseX_Full@GOTPAGE
Lloh95:
	ldr	x10, [x10, _ADVERTISED_2500baseX_Full@GOTPAGEOFF]
Lloh96:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_25:
Lloh97:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE@GOTPAGE
Lloh98:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE@GOTPAGEOFF]
Lloh99:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_27
; %bb.26:
Lloh100:
	adrp	x10, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh101:
	ldr	x10, [x10, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh102:
	ldr	w10, [x10]
	orr	w9, w9, w10
	str	w9, [x19, #52]
LBB0_27:
Lloh103:
	adrp	x10, _LINK_STATUS_LINK_PARTNER_20GXFD_CAPABLE@GOTPAGE
Lloh104:
	ldr	x10, [x10, _LINK_STATUS_LINK_PARTNER_20GXFD_CAPABLE@GOTPAGEOFF]
Lloh105:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_29
; %bb.28:
Lloh106:
	adrp	x8, _ADVERTISED_20000baseKR2_Full@GOTPAGE
Lloh107:
	ldr	x8, [x8, _ADVERTISED_20000baseKR2_Full@GOTPAGEOFF]
Lloh108:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x19, #52]
LBB0_29:
	stp	xzr, xzr, [x19, #8]
Lloh109:
	adrp	x8, _BNX2X_MSG_ETHTOOL@GOTPAGE
Lloh110:
	ldr	x8, [x8, _BNX2X_MSG_ETHTOOL@GOTPAGEOFF]
Lloh111:
	ldr	w20, [x8]
	ldr	w21, [x19]
	ldp	w23, w22, [x19, #44]
	mov	x0, x19
	bl	_ethtool_cmd_speed
	mov	x5, x0
	ldp	w7, w6, [x19, #36]
	ldp	w9, w8, [x19, #28]
	ldr	w10, [x19, #24]
	ldp	x12, x11, [x19, #8]
	stp	x11, x12, [sp, #16]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
Lloh112:
	adrp	x1, l_.str@PAGE
Lloh113:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	mov	x4, x23
	bl	_DP
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_30:
	ldr	w8, [x20, #24]
	str	w8, [x19, #40]
	mov	x0, x20
	bl	_IS_MF
	cbz	x0, LBB0_32
; %bb.31:
	mov	x0, x20
	bl	_BP_NOMCP
	cbz	w0, LBB0_33
LBB0_32:
	ldr	w1, [x20, #20]
	b	LBB0_6
LBB0_33:
	mov	x0, x20
	bl	_bnx2x_get_mf_speed
	mov	x1, x0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
	.comm	_ETH_PHY_SFP_1G_FIBER,8,3       ; @ETH_PHY_SFP_1G_FIBER
	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_ADVERTISED_10000baseT_Full,4,2 ; @ADVERTISED_10000baseT_Full
	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
	.comm	_MF_FUNC_DIS,4,2                ; @MF_FUNC_DIS
	.comm	_DUPLEX_UNKNOWN,4,2             ; @DUPLEX_UNKNOWN
	.comm	_SPEED_UNKNOWN,4,2              ; @SPEED_UNKNOWN
	.comm	_XCVR_INTERNAL,4,2              ; @XCVR_INTERNAL
	.comm	_SPEED_AUTO_NEG,8,3             ; @SPEED_AUTO_NEG
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE,4,2 ; @LINK_STATUS_AUTO_NEGOTIATE_COMPLETE
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE,4,2 ; @LINK_STATUS_LINK_PARTNER_SYMMETRIC_PAUSE
	.comm	_ADVERTISED_Pause,4,2           ; @ADVERTISED_Pause
	.comm	_LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE,4,2 ; @LINK_STATUS_LINK_PARTNER_ASYMMETRIC_PAUSE
	.comm	_ADVERTISED_Asym_Pause,4,2      ; @ADVERTISED_Asym_Pause
	.comm	_LINK_STATUS_LINK_PARTNER_10THD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_10THD_CAPABLE
	.comm	_ADVERTISED_10baseT_Half,4,2    ; @ADVERTISED_10baseT_Half
	.comm	_LINK_STATUS_LINK_PARTNER_10TFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_10TFD_CAPABLE
	.comm	_ADVERTISED_10baseT_Full,4,2    ; @ADVERTISED_10baseT_Full
	.comm	_LINK_STATUS_LINK_PARTNER_100TXHD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_100TXHD_CAPABLE
	.comm	_ADVERTISED_100baseT_Half,4,2   ; @ADVERTISED_100baseT_Half
	.comm	_LINK_STATUS_LINK_PARTNER_100TXFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_100TXFD_CAPABLE
	.comm	_ADVERTISED_100baseT_Full,4,2   ; @ADVERTISED_100baseT_Full
	.comm	_LINK_STATUS_LINK_PARTNER_1000THD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_1000THD_CAPABLE
	.comm	_ADVERTISED_1000baseT_Half,4,2  ; @ADVERTISED_1000baseT_Half
	.comm	_LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE
	.comm	_ADVERTISED_1000baseT_Full,4,2  ; @ADVERTISED_1000baseT_Full
	.comm	_LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE
	.comm	_ADVERTISED_2500baseX_Full,4,2  ; @ADVERTISED_2500baseX_Full
	.comm	_LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE
	.comm	_LINK_STATUS_LINK_PARTNER_20GXFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_20GXFD_CAPABLE
	.comm	_ADVERTISED_20000baseKR2_Full,4,2 ; @ADVERTISED_20000baseKR2_Full
	.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  transceiver %d\n  autoneg %d  maxtxpkt %d  maxrxpkt %d\n"

	.no_dead_strip	_bnx2x_get_settings
.subsections_via_symbols
