	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_link_settings_status
_bnx2x_link_settings_status:            ## @bnx2x_link_settings_status
	.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	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %rsi
	movq	(%r12), %rdi
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MDIO_REG_BANK_GP_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_GP_STATUS_TOP_AN_STATUS1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %r8
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_CL22_RD_OVER_CL45
	movl	-44(%rbp), %edx
	movq	_MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	je	LBB0_2
## %bb.1:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movq	_MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	(%rax), %eax
	andl	%edx, %eax
	setne	%bl
	movq	_GP_STATUS_SPEED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	%edx, %r14d
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	callq	_DP
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	callq	_bnx2x_get_link_speed_duplex
	movl	%eax, %r14d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	je	LBB0_21
## %bb.3:
	movq	_MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_7
## %bb.4:
	movq	%r12, %rdi
	callq	_SINGLE_MEDIA_DIRECT
	testq	%rax, %rax
	movq	%r13, %rbx
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %r13
	je	LBB0_10
## %bb.5:
	movl	%r15d, (%rbx)
	movl	-44(%rbp), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_bnx2x_flow_ctrl_resolve
	movq	(%r15), %rax
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.6:
	movl	-44(%rbp), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_bnx2x_xgxs_an_resolve
	jmp	LBB0_10
LBB0_7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r13, %rbx
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %r13
	jne	LBB0_10
## %bb.8:
	movq	%r12, %rdi
	callq	_SINGLE_MEDIA_DIRECT
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_bnx2x_check_fallback_to_cl37
LBB0_10:
	movq	%r12, %rdi
	callq	_SINGLE_MEDIA_DIRECT
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:
	movq	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_20
## %bb.12:
	movq	_MDIO_REG_BANK_CL73_IEEEB1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_CL73_IEEEB1_AN_LP_ADV2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-60(%rbp), %r8
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_CL22_RD_OVER_CL45
	movl	-60(%rbp), %eax
	movq	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	_LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rbx)
LBB0_14:
	movq	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4@GOTPCREL(%rip), %rcx
	movq	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_16
## %bb.15:
	movq	_LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_16:
	movq	_MDIO_REG_BANK_OVER_1G@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_OVER_1G_LP_UP1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-60(%rbp), %r8
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_CL22_RD_OVER_CL45
	movl	-60(%rbp), %eax
	movq	_MDIO_OVER_1G_UP1_2_5G@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movq	_LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rbx)
LBB0_18:
	movq	_MDIO_OVER_1G_UP1_10G@GOTPCREL(%rip), %rcx
	movq	_MDIO_OVER_1G_UP1_10GH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_20
## %bb.19:
	movq	_LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_20:
	movl	(%r13), %edi
	movl	8(%rbx), %ecx
	movl	(%rbx), %edx
	movl	4(%rbx), %r8d
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
LBB0_21:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
	.comm	_MDIO_REG_BANK_GP_STATUS,4,2    ## @MDIO_REG_BANK_GP_STATUS
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1,4,2 ## @MDIO_GP_STATUS_TOP_AN_STATUS1
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS,4,2 ## @MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS,4,2 ## @MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS
	.comm	_GP_STATUS_SPEED_MASK,4,2       ## @GP_STATUS_SPEED_MASK
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gp_status 0x%x, is_link_up %d, speed_mask 0x%x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SPEED_AUTO_NEG,8,3             ## @SPEED_AUTO_NEG
	.comm	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE,4,2 ## @LINK_STATUS_AUTO_NEGOTIATE_COMPLETE
	.comm	_MDIO_REG_BANK_CL73_IEEEB1,4,2  ## @MDIO_REG_BANK_CL73_IEEEB1
	.comm	_MDIO_CL73_IEEEB1_AN_LP_ADV2,4,2 ## @MDIO_CL73_IEEEB1_AN_LP_ADV2
	.comm	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX,4,2 ## @MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX
	.comm	_LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE
	.comm	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4,4,2 ## @MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4
	.comm	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR,4,2 ## @MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR
	.comm	_LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE
	.comm	_MDIO_REG_BANK_OVER_1G,4,2      ## @MDIO_REG_BANK_OVER_1G
	.comm	_MDIO_OVER_1G_LP_UP1,4,2        ## @MDIO_OVER_1G_LP_UP1
	.comm	_MDIO_OVER_1G_UP1_2_5G,4,2      ## @MDIO_OVER_1G_UP1_2_5G
	.comm	_LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE,4,2 ## @LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE
	.comm	_MDIO_OVER_1G_UP1_10G,4,2       ## @MDIO_OVER_1G_UP1_10G
	.comm	_MDIO_OVER_1G_UP1_10GH,4,2      ## @MDIO_OVER_1G_UP1_10GH
L_.str.1:                               ## @.str.1
	.asciz	"duplex %x  flow_ctrl 0x%x link_status 0x%x\n"

	.no_dead_strip	_bnx2x_link_settings_status
.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_status
_bnx2x_link_settings_status:            ; @bnx2x_link_settings_status
	.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
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x21, [x1]
Lloh0:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _MDIO_REG_BANK_GP_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDIO_REG_BANK_GP_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _MDIO_GP_STATUS_TOP_AN_STATUS1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_GP_STATUS_TOP_AN_STATUS1@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w2, [sp, #12]
Lloh9:
	adrp	x8, _MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w8, w2
	csel	w24, w22, w9, eq
Lloh15:
	adrp	x27, _MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS@GOTPAGE
Lloh16:
	ldr	x27, [x27, _MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w2
Lloh17:
	adrp	x8, _GP_STATUS_SPEED_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GP_STATUS_SPEED_MASK@GOTPAGEOFF]
	cset	w22, ne
Lloh19:
	ldr	w8, [x8]
	and	w25, w8, w2
Lloh20:
	adrp	x26, _NETIF_MSG_LINK@GOTPAGE
Lloh21:
	ldr	x26, [x26, _NETIF_MSG_LINK@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	mov	x4, x25
	bl	_DP
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	mov	x3, x22
	mov	x4, x25
	mov	x5, x24
	bl	_bnx2x_get_link_speed_duplex
	mov	x22, x0
Lloh24:
	adrp	x8, _EINVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_19
; %bb.1:
	ldr	w8, [sp, #12]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x23
	bl	_SINGLE_MEDIA_DIRECT
	cbz	x0, LBB0_8
; %bb.3:
	str	w24, [x19]
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_bnx2x_flow_ctrl_resolve
	ldr	x8, [x20]
Lloh27:
	adrp	x9, _SPEED_AUTO_NEG@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_bnx2x_xgxs_an_resolve
	b	LBB0_8
LBB0_5:
	ldr	x8, [x20]
Lloh30:
	adrp	x9, _SPEED_AUTO_NEG@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SPEED_AUTO_NEG@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x23
	bl	_SINGLE_MEDIA_DIRECT
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x23
	bl	_bnx2x_check_fallback_to_cl37
LBB0_8:
	mov	x0, x23
	bl	_SINGLE_MEDIA_DIRECT
	cbz	x0, LBB0_18
; %bb.9:
	ldr	w8, [x19, #4]
Lloh33:
	adrp	x9, _LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _LINK_STATUS_AUTO_NEGOTIATE_COMPLETE@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.10:
Lloh36:
	adrp	x8, _MDIO_REG_BANK_CL73_IEEEB1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MDIO_REG_BANK_CL73_IEEEB1@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
Lloh39:
	adrp	x8, _MDIO_CL73_IEEEB1_AN_LP_ADV2@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MDIO_CL73_IEEEB1_AN_LP_ADV2@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w8, [sp, #8]
Lloh42:
	adrp	x9, _MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh45:
	adrp	x9, _LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE@GOTPAGE
Lloh46:
	ldr	x9, [x9, _LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	ldr	w10, [x19, #4]
	orr	w9, w10, w9
	str	w9, [x19, #4]
LBB0_12:
Lloh48:
	adrp	x9, _MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4@GOTPAGEOFF]
Lloh50:
	adrp	x10, _MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR@GOTPAGE
Lloh51:
	ldr	x10, [x10, _MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
Lloh53:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh54:
	adrp	x23, _LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE@GOTPAGE
Lloh55:
	ldr	x23, [x23, _LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w8, [x23]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_14:
Lloh56:
	adrp	x8, _MDIO_REG_BANK_OVER_1G@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MDIO_REG_BANK_OVER_1G@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
Lloh59:
	adrp	x8, _MDIO_OVER_1G_LP_UP1@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MDIO_OVER_1G_LP_UP1@GOTPAGEOFF]
Lloh61:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_CL22_RD_OVER_CL45
	ldr	w8, [sp, #8]
Lloh62:
	adrp	x9, _MDIO_OVER_1G_UP1_2_5G@GOTPAGE
Lloh63:
	ldr	x9, [x9, _MDIO_OVER_1G_UP1_2_5G@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
Lloh65:
	adrp	x9, _LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE@GOTPAGE
Lloh66:
	ldr	x9, [x9, _LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	ldr	w10, [x19, #4]
	orr	w9, w10, w9
	str	w9, [x19, #4]
LBB0_16:
Lloh68:
	adrp	x9, _MDIO_OVER_1G_UP1_10G@GOTPAGE
Lloh69:
	ldr	x9, [x9, _MDIO_OVER_1G_UP1_10G@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
Lloh71:
	adrp	x10, _MDIO_OVER_1G_UP1_10GH@GOTPAGE
Lloh72:
	ldr	x10, [x10, _MDIO_OVER_1G_UP1_10GH@GOTPAGEOFF]
Lloh73:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	w8, [x23]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_18:
	ldr	w0, [x26]
	ldp	w4, w3, [x19, #4]
	ldr	w2, [x19]
Lloh74:
	adrp	x1, l_.str.1@PAGE
Lloh75:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
LBB0_19:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh52
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
	.comm	_MDIO_REG_BANK_GP_STATUS,4,2    ; @MDIO_REG_BANK_GP_STATUS
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1,4,2 ; @MDIO_GP_STATUS_TOP_AN_STATUS1
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS,4,2 ; @MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS,4,2 ; @MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS
	.comm	_GP_STATUS_SPEED_MASK,4,2       ; @GP_STATUS_SPEED_MASK
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gp_status 0x%x, is_link_up %d, speed_mask 0x%x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SPEED_AUTO_NEG,8,3             ; @SPEED_AUTO_NEG
	.comm	_LINK_STATUS_AUTO_NEGOTIATE_COMPLETE,4,2 ; @LINK_STATUS_AUTO_NEGOTIATE_COMPLETE
	.comm	_MDIO_REG_BANK_CL73_IEEEB1,4,2  ; @MDIO_REG_BANK_CL73_IEEEB1
	.comm	_MDIO_CL73_IEEEB1_AN_LP_ADV2,4,2 ; @MDIO_CL73_IEEEB1_AN_LP_ADV2
	.comm	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX,4,2 ; @MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX
	.comm	_LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_1000TFD_CAPABLE
	.comm	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4,4,2 ; @MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4
	.comm	_MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR,4,2 ; @MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR
	.comm	_LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE
	.comm	_MDIO_REG_BANK_OVER_1G,4,2      ; @MDIO_REG_BANK_OVER_1G
	.comm	_MDIO_OVER_1G_LP_UP1,4,2        ; @MDIO_OVER_1G_LP_UP1
	.comm	_MDIO_OVER_1G_UP1_2_5G,4,2      ; @MDIO_OVER_1G_UP1_2_5G
	.comm	_LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE,4,2 ; @LINK_STATUS_LINK_PARTNER_2500XFD_CAPABLE
	.comm	_MDIO_OVER_1G_UP1_10G,4,2       ; @MDIO_OVER_1G_UP1_10G
	.comm	_MDIO_OVER_1G_UP1_10GH,4,2      ; @MDIO_OVER_1G_UP1_10GH
l_.str.1:                               ; @.str.1
	.asciz	"duplex %x  flow_ctrl 0x%x link_status 0x%x\n"

	.no_dead_strip	_bnx2x_link_settings_status
.subsections_via_symbols
