	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_848xx_cmn_config_init
_bnx2x_848xx_cmn_config_init:           ## @bnx2x_848xx_cmn_config_init
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	(%rsi), %r14
	movq	_PHY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bnx2x_848xx_specific_func
	movq	_MDIO_PMA_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_PMA_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%r8d, %r8d
	callq	_bnx2x_cl45_write
	movq	_MDIO_AN_DEVAD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_MDIO_AN_REG_8481_1000T_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-52(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_cl45_read
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_bnx2x_ext_phy_set_pause
	movl	(%r13), %edx
	movq	_MDIO_AN_REG_8481_LEGACY_AN_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_cl45_read
	movq	%r13, %rbx
	movl	(%r13), %edx
	movq	_MDIO_AN_REG_8481_LEGACY_MII_CTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_cl45_read
	movl	$-13121, %eax                   ## imm = 0xCCBF
	andl	-48(%rbp), %eax
	movl	%eax, -48(%rbp)
	andl	$-481, -44(%rbp)                ## imm = 0xFE1F
	movq	(%r12), %rcx
	movq	_SPEED_AUTO_NEG@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_1G@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 8(%r12)
	jne	LBB0_3
LBB0_2:
	movq	_SPEED_1000@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.6:
	movl	$-769, %r8d                     ## imm = 0xFCFF
	andl	-52(%rbp), %r8d
	movl	%r8d, -52(%rbp)
	jmp	LBB0_7
LBB0_3:
	movl	-52(%rbp), %ecx
	movl	%ecx, %edx
	orl	$256, %edx                      ## imm = 0x100
	movl	%edx, -52(%rbp)
	orl	$4608, %eax                     ## imm = 0x1200
	movl	%eax, -48(%rbp)
	movq	16(%r12), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.4:
	orl	$768, %ecx                      ## imm = 0x300
	movl	%ecx, -52(%rbp)
LBB0_5:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movl	-52(%rbp), %r8d
LBB0_7:
	movl	(%rbx), %edx
	movq	_MDIO_AN_REG_8481_1000T_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_cl45_write
	movq	(%r12), %rax
	movq	(%r15), %rdx
	cmpq	%rdx, %rax
	jne	LBB0_12
## %bb.8:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL@GOTPCREL(%rip), %rcx
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, 8(%r12)
	je	LBB0_13
## %bb.9:
	movl	-44(%rbp), %eax
	movl	%eax, %ecx
	orl	$128, %ecx
	movl	%ecx, -44(%rbp)
	orb	$18, -47(%rbp)
	movq	16(%r12), %rcx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.10:
	orl	$384, %eax                      ## imm = 0x180
	movl	%eax, -44(%rbp)
LBB0_11:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	(%r12), %rax
	movq	(%r15), %rdx
LBB0_12:
	movq	%rax, %rcx
	movq	%rdx, %rax
	cmpq	%rdx, %rcx
	jne	LBB0_19
LBB0_13:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL@GOTPCREL(%rip), %rcx
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, 8(%r12)
	je	LBB0_14
## %bb.15:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	%rax, %rcx
	testl	%edx, 24(%r12)
	je	LBB0_19
## %bb.16:
	movl	-44(%rbp), %eax
	movl	%eax, %ecx
	orl	$32, %ecx
	movl	%ecx, -44(%rbp)
	orb	$18, -47(%rbp)
	movq	16(%r12), %rcx
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_18
## %bb.17:
	orl	$96, %eax
	movl	%eax, -44(%rbp)
LBB0_18:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DP
	movq	(%r12), %rcx
	jmp	LBB0_19
LBB0_14:
	movq	%rax, %rcx
LBB0_19:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_22
## %bb.20:
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	testl	%edx, 24(%r12)
	je	LBB0_22
## %bb.21:
	orb	$32, -47(%rbp)
	movl	(%rbx), %edx
	movq	_MDIO_AN_REG_8481_AUX_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$33287, %r8d                    ## imm = 0x8207
	callq	_bnx2x_cl45_write
	orl	$384, -44(%rbp)                 ## imm = 0x180
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_DP
	movq	(%r12), %rcx
LBB0_22:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_25
## %bb.23:
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 24(%r12)
	je	LBB0_25
## %bb.24:
	movl	(%rbx), %edx
	movq	_MDIO_AN_REG_8481_AUX_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$33287, %r8d                    ## imm = 0x8207
	callq	_bnx2x_cl45_write
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_DP
LBB0_25:
	movl	(%rbx), %edx
	movq	_MDIO_AN_REG_8481_LEGACY_AN_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-44(%rbp), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_cl45_write
	movq	16(%r12), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.26:
	orb	$1, -47(%rbp)
LBB0_27:
	movq	32(%r12), %rax
	movq	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%cl
	movq	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%al
	movl	-48(%rbp), %r8d
	testb	%al, %cl
	jne	LBB0_29
## %bb.28:
	movl	%r8d, %eax
	andl	$4096, %eax                     ## imm = 0x1000
	jne	LBB0_30
LBB0_29:
	movl	(%rbx), %edx
	movl	(%r13), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_cl45_write
LBB0_30:
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	jne	LBB0_32
## %bb.31:
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r12)
	jne	LBB0_34
LBB0_32:
	movq	_SPEED_10000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_34
## %bb.33:
	movl	$1, %r8d
	movq	_MDIO_AN_REG_8481_10GBASE_T_AN_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_34:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_DP
	movl	(%rbx), %edx
	movq	_MDIO_AN_REG_8481_10GBASE_T_AN_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$4096, %r8d                     ## imm = 0x1000
	callq	_bnx2x_cl45_read_or_write
	movl	$12800, %r8d                    ## imm = 0x3200
	movq	_MDIO_AN_REG_CTRL@GOTPCREL(%rip), %rax
LBB0_35:
	movl	(%rbx), %edx
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_cl45_write
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INIT,4,2                   ## @PHY_INIT
	.comm	_MDIO_PMA_DEVAD,4,2             ## @MDIO_PMA_DEVAD
	.comm	_MDIO_PMA_REG_CTRL,4,2          ## @MDIO_PMA_REG_CTRL
	.comm	_MDIO_AN_DEVAD,4,2              ## @MDIO_AN_DEVAD
	.comm	_MDIO_AN_REG_8481_1000T_CTRL,4,2 ## @MDIO_AN_REG_8481_1000T_CTRL
	.comm	_MDIO_AN_REG_8481_LEGACY_AN_ADV,4,2 ## @MDIO_AN_REG_8481_LEGACY_AN_ADV
	.comm	_MDIO_AN_REG_8481_LEGACY_MII_CTRL,4,2 ## @MDIO_AN_REG_8481_LEGACY_MII_CTRL
	.comm	_SPEED_AUTO_NEG,8,3             ## @SPEED_AUTO_NEG
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_1G,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_1G
	.comm	_SPEED_1000,8,3                 ## @SPEED_1000
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Advertising 1G\n"

	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF
L_.str.1:                               ## @.str.1
	.asciz	"Advertising 100M\n"

	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
L_.str.2:                               ## @.str.2
	.asciz	"Advertising 10M\n"

	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_SUPPORTED_100baseT_Half,4,2    ## @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_MDIO_AN_REG_8481_AUX_CTRL,4,2  ## @MDIO_AN_REG_8481_AUX_CTRL
L_.str.3:                               ## @.str.3
	.asciz	"Setting 100M force\n"

	.comm	_SPEED_10,8,3                   ## @SPEED_10
L_.str.4:                               ## @.str.4
	.asciz	"Setting 10M force\n"

	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833,8,3 ## @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834,8,3 ## @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_10G
	.comm	_SPEED_10000,8,3                ## @SPEED_10000
L_.str.5:                               ## @.str.5
	.asciz	"Advertising 10G\n"

	.comm	_MDIO_AN_REG_8481_10GBASE_T_AN_CTRL,4,2 ## @MDIO_AN_REG_8481_10GBASE_T_AN_CTRL
	.comm	_MDIO_AN_REG_CTRL,4,2           ## @MDIO_AN_REG_CTRL
	.no_dead_strip	_bnx2x_848xx_cmn_config_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_848xx_cmn_config_init
_bnx2x_848xx_cmn_config_init:           ; @bnx2x_848xx_cmn_config_init
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x8, _PHY_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_bnx2x_848xx_specific_func
Lloh3:
	adrp	x8, _MDIO_PMA_DEVAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDIO_PMA_DEVAD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _MDIO_PMA_REG_CTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_PMA_REG_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #0
	bl	_bnx2x_cl45_write
Lloh9:
	adrp	x23, _MDIO_AN_DEVAD@GOTPAGE
Lloh10:
	ldr	x23, [x23, _MDIO_AN_DEVAD@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh11:
	adrp	x27, _MDIO_AN_REG_8481_1000T_CTRL@GOTPAGE
Lloh12:
	ldr	x27, [x27, _MDIO_AN_REG_8481_1000T_CTRL@GOTPAGEOFF]
	ldr	w3, [x27]
	add	x4, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_read
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_bnx2x_ext_phy_set_pause
	ldr	w2, [x23]
Lloh13:
	adrp	x25, _MDIO_AN_REG_8481_LEGACY_AN_ADV@GOTPAGE
Lloh14:
	ldr	x25, [x25, _MDIO_AN_REG_8481_LEGACY_AN_ADV@GOTPAGEOFF]
	ldr	w3, [x25]
	add	x4, sp, #4
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_read
	ldr	w2, [x23]
Lloh15:
	adrp	x22, _MDIO_AN_REG_8481_LEGACY_MII_CTRL@GOTPAGE
Lloh16:
	ldr	x22, [x22, _MDIO_AN_REG_8481_LEGACY_MII_CTRL@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_read
	ldr	w8, [sp, #12]
	mov	w9, #-13121
	and	w8, w8, w9
	str	w8, [sp, #12]
	ldr	w9, [sp, #4]
	and	w9, w9, #0xfffffe1f
	str	w9, [sp, #4]
	ldr	x9, [x19]
Lloh17:
	adrp	x24, _SPEED_AUTO_NEG@GOTPAGE
Lloh18:
	ldr	x24, [x24, _SPEED_AUTO_NEG@GOTPAGEOFF]
	ldr	x10, [x24]
Lloh19:
	adrp	x26, _DUPLEX_FULL@GOTPAGE
Lloh20:
	ldr	x26, [x26, _DUPLEX_FULL@GOTPAGEOFF]
Lloh21:
	adrp	x21, _NETIF_MSG_LINK@GOTPAGE
Lloh22:
	ldr	x21, [x21, _NETIF_MSG_LINK@GOTPAGEOFF]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	w10, [x19, #8]
Lloh23:
	adrp	x11, _PORT_HW_CFG_SPEED_CAPABILITY_D0_1G@GOTPAGE
Lloh24:
	ldr	x11, [x11, _PORT_HW_CFG_SPEED_CAPABILITY_D0_1G@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_4
LBB0_2:
Lloh26:
	adrp	x10, _SPEED_1000@GOTPAGE
Lloh27:
	ldr	x10, [x10, _SPEED_1000@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	and	w4, w8, #0xfffffcff
	str	w4, [sp, #8]
	b	LBB0_7
LBB0_4:
	ldr	w9, [sp, #8]
	orr	w11, w9, #0x100
	mov	w10, #4608
	orr	w8, w8, w10
	stp	w11, w8, [sp, #8]
	ldr	x8, [x19, #16]
	ldr	x10, [x26]
	cmp	x8, x10
	b.ne	LBB0_6
; %bb.5:
	orr	w8, w9, #0x300
	str	w8, [sp, #8]
LBB0_6:
	ldr	w0, [x21]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	w4, [sp, #8]
LBB0_7:
	ldr	w2, [x23]
	ldr	w3, [x27]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
	ldr	x8, [x19]
	ldr	x10, [x24]
	cmp	x8, x10
	b.ne	LBB0_12
; %bb.8:
	ldr	w9, [x19, #8]
Lloh31:
	adrp	x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL@GOTPAGE
Lloh32:
	ldr	x10, [x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
Lloh34:
	adrp	x11, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF@GOTPAGE
Lloh35:
	ldr	x11, [x11, _PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF@GOTPAGEOFF]
Lloh36:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_13
; %bb.9:
	ldr	w8, [sp, #4]
	orr	w9, w8, #0x80
	str	w9, [sp, #4]
	ldr	w9, [sp, #12]
	mov	w10, #4608
	orr	w9, w9, w10
	str	w9, [sp, #12]
	ldr	x9, [x19, #16]
	ldr	x10, [x26]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.10:
	orr	w8, w8, #0x180
	str	w8, [sp, #4]
LBB0_11:
	ldr	w0, [x21]
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	ldr	x8, [x19]
	ldr	x10, [x24]
LBB0_12:
	mov	x9, x8
	mov	x8, x10
	cmp	x9, x10
	b.ne	LBB0_19
LBB0_13:
	ldr	w9, [x19, #8]
Lloh39:
	adrp	x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL@GOTPAGE
Lloh40:
	ldr	x10, [x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
Lloh42:
	adrp	x11, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF@GOTPAGE
Lloh43:
	ldr	x11, [x11, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF@GOTPAGEOFF]
Lloh44:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w9
	b.eq	LBB0_18
; %bb.14:
	ldr	w10, [x19, #24]
Lloh45:
	adrp	x9, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh46:
	ldr	x9, [x9, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x11, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh49:
	ldr	x11, [x11, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh50:
	ldr	w11, [x11]
	orr	w11, w11, w9
	mov	x9, x8
	tst	w11, w10
	b.eq	LBB0_19
; %bb.15:
	ldr	w8, [sp, #4]
	orr	w9, w8, #0x20
	str	w9, [sp, #4]
	ldr	w9, [sp, #12]
	mov	w10, #4608
	orr	w9, w9, w10
	str	w9, [sp, #12]
	ldr	x9, [x19, #16]
	ldr	x10, [x26]
	cmp	x9, x10
	b.ne	LBB0_17
; %bb.16:
	orr	w8, w8, #0x60
	str	w8, [sp, #4]
LBB0_17:
	ldr	w0, [x21]
Lloh51:
	adrp	x1, l_.str.2@PAGE
Lloh52:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
	ldr	x9, [x19]
	b	LBB0_19
LBB0_18:
	mov	x9, x8
LBB0_19:
Lloh53:
	adrp	x8, _SPEED_100@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SPEED_100@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.20:
	ldr	w8, [x19, #24]
Lloh56:
	adrp	x10, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh57:
	ldr	x10, [x10, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
Lloh59:
	adrp	x11, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh60:
	ldr	x11, [x11, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh61:
	ldr	w11, [x11]
	orr	w10, w11, w10
	tst	w10, w8
	b.eq	LBB0_22
; %bb.21:
	ldr	w8, [sp, #12]
	orr	w8, w8, #0x2000
	str	w8, [sp, #12]
	ldr	w2, [x23]
Lloh62:
	adrp	x8, _MDIO_AN_REG_8481_AUX_CTRL@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MDIO_AN_REG_8481_AUX_CTRL@GOTPAGEOFF]
Lloh64:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #33287
	bl	_bnx2x_cl45_write
	ldr	w8, [sp, #4]
	orr	w8, w8, #0x180
	str	w8, [sp, #4]
	ldr	w0, [x21]
Lloh65:
	adrp	x1, l_.str.3@PAGE
Lloh66:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_DP
	ldr	x9, [x19]
LBB0_22:
Lloh67:
	adrp	x8, _SPEED_10@GOTPAGE
Lloh68:
	ldr	x8, [x8, _SPEED_10@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.23:
	ldr	w8, [x19, #24]
Lloh70:
	adrp	x9, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh71:
	ldr	x9, [x9, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
Lloh73:
	adrp	x10, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh74:
	ldr	x10, [x10, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh75:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
	ldr	w2, [x23]
Lloh76:
	adrp	x8, _MDIO_AN_REG_8481_AUX_CTRL@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MDIO_AN_REG_8481_AUX_CTRL@GOTPAGEOFF]
Lloh78:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #33287
	bl	_bnx2x_cl45_write
	ldr	w0, [x21]
Lloh79:
	adrp	x1, l_.str.4@PAGE
Lloh80:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_DP
LBB0_25:
	ldr	w2, [x23]
	ldr	w3, [x25]
	ldr	w4, [sp, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
	ldr	x8, [x19, #16]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.26:
	ldr	w8, [sp, #12]
	orr	w8, w8, #0x100
	str	w8, [sp, #12]
LBB0_27:
	ldr	x8, [x19, #32]
Lloh81:
	adrp	x9, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPAGE
Lloh82:
	ldr	x9, [x9, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
Lloh84:
	adrp	x10, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834@GOTPAGE
Lloh85:
	ldr	x10, [x10, _PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834@GOTPAGEOFF]
Lloh86:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	ldr	w4, [sp, #12]
	b.ne	LBB0_29
; %bb.28:
	tbnz	w4, #12, LBB0_30
LBB0_29:
	ldr	w2, [x23]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
LBB0_30:
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.31:
	ldr	w9, [x19, #8]
Lloh87:
	adrp	x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPAGE
Lloh88:
	ldr	x10, [x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPAGEOFF]
Lloh89:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_34
LBB0_32:
Lloh90:
	adrp	x9, _SPEED_10000@GOTPAGE
Lloh91:
	ldr	x9, [x9, _SPEED_10000@GOTPAGEOFF]
Lloh92:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_34
; %bb.33:
	mov	w4, #1
Lloh93:
	adrp	x8, _MDIO_AN_REG_8481_10GBASE_T_AN_CTRL@GOTPAGE
Lloh94:
	ldr	x8, [x8, _MDIO_AN_REG_8481_10GBASE_T_AN_CTRL@GOTPAGEOFF]
	b	LBB0_35
LBB0_34:
Lloh95:
	adrp	x22, _MDIO_AN_REG_8481_10GBASE_T_AN_CTRL@GOTPAGE
Lloh96:
	ldr	x22, [x22, _MDIO_AN_REG_8481_10GBASE_T_AN_CTRL@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh97:
	adrp	x1, l_.str.5@PAGE
Lloh98:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_DP
	ldr	w2, [x23]
Lloh99:
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #4096
	bl	_bnx2x_cl45_read_or_write
	mov	w4, #12800
Lloh100:
	adrp	x8, _MDIO_AN_REG_CTRL@GOTPAGE
Lloh101:
	ldr	x8, [x8, _MDIO_AN_REG_CTRL@GOTPAGEOFF]
LBB0_35:
	ldr	w2, [x23]
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
	mov	w0, #0
	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 AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh99
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INIT,4,2                   ; @PHY_INIT
	.comm	_MDIO_PMA_DEVAD,4,2             ; @MDIO_PMA_DEVAD
	.comm	_MDIO_PMA_REG_CTRL,4,2          ; @MDIO_PMA_REG_CTRL
	.comm	_MDIO_AN_DEVAD,4,2              ; @MDIO_AN_DEVAD
	.comm	_MDIO_AN_REG_8481_1000T_CTRL,4,2 ; @MDIO_AN_REG_8481_1000T_CTRL
	.comm	_MDIO_AN_REG_8481_LEGACY_AN_ADV,4,2 ; @MDIO_AN_REG_8481_LEGACY_AN_ADV
	.comm	_MDIO_AN_REG_8481_LEGACY_MII_CTRL,4,2 ; @MDIO_AN_REG_8481_LEGACY_MII_CTRL
	.comm	_SPEED_AUTO_NEG,8,3             ; @SPEED_AUTO_NEG
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_1G,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_1G
	.comm	_SPEED_1000,8,3                 ; @SPEED_1000
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Advertising 1G\n"

	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_FULL
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_100M_HALF
l_.str.1:                               ; @.str.1
	.asciz	"Advertising 100M\n"

	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_FULL
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_10M_HALF
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
l_.str.2:                               ; @.str.2
	.asciz	"Advertising 10M\n"

	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_SUPPORTED_100baseT_Half,4,2    ; @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_MDIO_AN_REG_8481_AUX_CTRL,4,2  ; @MDIO_AN_REG_8481_AUX_CTRL
l_.str.3:                               ; @.str.3
	.asciz	"Setting 100M force\n"

	.comm	_SPEED_10,8,3                   ; @SPEED_10
l_.str.4:                               ; @.str.4
	.asciz	"Setting 10M force\n"

	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833,8,3 ; @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833
	.comm	_PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834,8,3 ; @PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_10G
	.comm	_SPEED_10000,8,3                ; @SPEED_10000
l_.str.5:                               ; @.str.5
	.asciz	"Advertising 10G\n"

	.comm	_MDIO_AN_REG_8481_10GBASE_T_AN_CTRL,4,2 ; @MDIO_AN_REG_8481_10GBASE_T_AN_CTRL
	.comm	_MDIO_AN_REG_CTRL,4,2           ; @MDIO_AN_REG_CTRL
	.no_dead_strip	_bnx2x_848xx_cmn_config_init
.subsections_via_symbols
