	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_init_bp
_bnx2x_init_bp:                         ## @bnx2x_init_bp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	addq	$112, %rdi
	callq	_mutex_init
	leaq	108(%r15), %rdi
	callq	_mutex_init
	leaq	104(%r15), %rdi
	callq	_mutex_init
	leaq	100(%r15), %rdi
	movl	$1, %esi
	callq	_sema_init
	movl	$0, (%r15)
	leaq	96(%r15), %rdi
	callq	_INIT_LIST_HEAD
	leaq	92(%r15), %rdi
	movq	_bnx2x_sp_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	88(%r15), %rdi
	movq	_bnx2x_sp_rtnl_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	84(%r15), %rdi
	movq	_bnx2x_period_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	80(%r15), %rdi
	movq	_bnx2x_iov_task@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r15, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_bnx2x_get_hwinfo
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_49
	jmp	LBB0_3
LBB0_2:
	movq	64(%r15), %rax
	movl	8(%rax), %edi
	callq	_eth_zero_addr
LBB0_3:
	movq	%r15, %rdi
	callq	_bnx2x_set_modes_bitmap
	movq	%r15, %rdi
	callq	_bnx2x_alloc_mem_bp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_49
## %bb.4:
	movq	%r15, %rdi
	callq	_bnx2x_read_fwinfo
	movq	%r15, %rdi
	callq	_BP_FUNC
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_BP_NOMCP
	testq	%rax, %rax
	je	LBB0_6
LBB0_8:
	movq	%r15, %rdi
	callq	_CHIP_REV_IS_FPGA
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	72(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
LBB0_10:
	movq	%r15, %rdi
	callq	_BP_NOMCP
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	testl	%r14d, %r14d
	jne	LBB0_13
## %bb.12:
	movq	72(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
LBB0_13:
	movq	_disable_tpa@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r15, %rdi
	callq	_IS_MF_STORAGE_ONLY
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	orl	%ecx, 8(%r15)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_is_kdump_kernel
	orl	%eax, 8(%r15)
	je	LBB0_15
## %bb.14:
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	movq	64(%r15), %rsi
	andl	%edx, (%rsi)
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, 4(%rsi)
LBB0_15:
	movq	%r15, %rdi
	callq	_CHIP_IS_E1
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	_dropless_fc@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_bnx2x_get_dropless_info
	movl	%eax, %r14d
	orl	%ebx, %r14d
LBB0_17:
	movl	%r14d, 12(%r15)
	movq	_mrrs@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	%r15, %rdi
	callq	_IS_MF_STORAGE_ONLY
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movq	_MAX_TX_AVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_19:
	movl	%ecx, 52(%r15)
	movq	%r15, %rdi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_MAX_RX_AVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
LBB0_21:
	movq	_BNX2X_BTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$50, %esi
	movl	$50, %eax
	xorl	%edx, %edx
	idivl	%ecx
	subl	%edx, %esi
	movl	%esi, 16(%r15)
	movl	$25, %esi
	movl	$25, %eax
	xorl	%edx, %edx
	idivl	%ecx
	subl	%edx, %esi
	movl	%esi, 20(%r15)
	movq	%r15, %rdi
	callq	_CHIP_REV_IS_SLOW
	testq	%rax, %rax
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 24(%r15)
	leaq	44(%r15), %rdi
	movq	_bnx2x_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	24(%r15), %ecx
	addl	(%rax), %ecx
	movl	%ecx, 44(%r15)
	movq	_dcbx_lldp_params_offset@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_SHMEM2_HAS
	testq	%rax, %rax
	je	LBB0_28
## %bb.22:
	movq	_dcbx_lldp_dcbx_stat_offset@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_SHMEM2_HAS
	testq	%rax, %rax
	je	LBB0_28
## %bb.23:
	movq	_dcbx_en@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_SHMEM2_HAS
	testq	%rax, %rax
	je	LBB0_28
## %bb.24:
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_SHMEM2_RD
	testq	%rax, %rax
	je	LBB0_28
## %bb.25:
	movq	(%r14), %rsi
	movq	%r15, %rdi
	callq	_SHMEM2_RD
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	(%r12), %rbx
	movq	%r15, %rdi
	callq	_BP_PORT
	movq	(%rbx,%rax,8), %rsi
	movq	%r15, %rdi
	callq	_SHMEM2_RD
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	_BNX2X_DCBX_ENABLED_ON_NEG_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_bnx2x_dcbx_set_state
	movq	%r15, %rdi
	callq	_bnx2x_dcbx_init_params
	jmp	LBB0_29
LBB0_28:
	movq	_BNX2X_DCBX_ENABLED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bnx2x_dcbx_set_state
LBB0_29:
	movq	%r15, %rdi
	callq	_CHIP_IS_E1x
	testq	%rax, %rax
	jne	LBB0_30
## %bb.31:
	movq	_FP_SB_MAX_E2@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:
	movq	_FP_SB_MAX_E1x@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	%r15, %rdi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movl	$1, 28(%r15)
	movl	$1, %esi
	jmp	LBB0_43
LBB0_34:
	movq	%r15, %rdi
	callq	_CHIP_IS_E1x
	testq	%rax, %rax
	je	LBB0_37
## %bb.35:
	movq	_BNX2X_MULTI_TX_COS_E1X@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_6:
	movq	_func_mb@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_BP_FW_MB_IDX
	movl	(%rbx,%rax,4), %esi
	movq	%r15, %rdi
	callq	_SHMEM_RD
	movq	_DRV_MSG_SEQ_NUMBER_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 4(%r15)
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_BNX2X_DEV_INFO
	movq	%r15, %rdi
	callq	_bnx2x_prev_unload
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_bnx2x_free_mem_bp
	jmp	LBB0_49
LBB0_37:
	movq	%r15, %rdi
	callq	_CHIP_IS_E2
	testq	%rax, %rax
	jne	LBB0_39
## %bb.38:
	movq	%r15, %rdi
	callq	_CHIP_IS_E3A0
	testq	%rax, %rax
	je	LBB0_40
LBB0_39:
	movq	_BNX2X_MULTI_TX_COS_E2_E3A0@GOTPCREL(%rip), %rax
LBB0_36:
	movl	(%rax), %esi
	movl	%esi, 28(%r15)
LBB0_43:
	leaq	L_.str.4(%rip), %rdi
	callq	_BNX2X_DEV_INFO
	movq	%r15, %rdi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_45
## %bb.44:
	movl	$1, 32(%r15)
	movl	$1, %esi
	jmp	LBB0_48
LBB0_45:
	movq	%r15, %rdi
	callq	_CNIC_SUPPORT
	testq	%rax, %rax
	je	LBB0_47
## %bb.46:
	movl	$3, 32(%r15)
	movl	$3, %esi
	jmp	LBB0_48
LBB0_47:
	movl	$2, 32(%r15)
	movl	$2, %esi
LBB0_48:
	leaq	L_.str.5(%rip), %rdi
	callq	_BNX2X_DEV_INFO
	movl	$1, 36(%r15)
	xorl	%ebx, %ebx
LBB0_49:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	movq	%r15, %rdi
	callq	_CHIP_IS_E3B0
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:
	movq	_BNX2X_MULTI_TX_COS_E3B0@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_42:
	movq	%r15, %rdi
	callq	_CHIP_NUM
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_CHIP_REV
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_BNX2X_ERR
	movl	28(%r15), %esi
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_bnx2x_sp_task,4,2              ## @bnx2x_sp_task
	.comm	_bnx2x_sp_rtnl_task,4,2         ## @bnx2x_sp_rtnl_task
	.comm	_bnx2x_period_task,4,2          ## @bnx2x_period_task
	.comm	_bnx2x_iov_task,4,2             ## @bnx2x_iov_task
	.comm	_func_mb,8,3                    ## @func_mb
	.comm	_DRV_MSG_SEQ_NUMBER_MASK,4,2    ## @DRV_MSG_SEQ_NUMBER_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fw_seq 0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"FPGA detected\n"

L_.str.2:                               ## @.str.2
	.asciz	"MCP disabled, must load devices in order!\n"

	.comm	_disable_tpa,4,2                ## @disable_tpa
	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_NETIF_F_GRO_HW,4,2             ## @NETIF_F_GRO_HW
	.comm	_dropless_fc,4,2                ## @dropless_fc
	.comm	_mrrs,4,2                       ## @mrrs
	.comm	_MAX_TX_AVAIL,4,2               ## @MAX_TX_AVAIL
	.comm	_MAX_RX_AVAIL,4,2               ## @MAX_RX_AVAIL
	.comm	_BNX2X_BTR,4,2                  ## @BNX2X_BTR
	.comm	_HZ,4,2                         ## @HZ
	.comm	_bnx2x_timer,4,2                ## @bnx2x_timer
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_dcbx_lldp_params_offset,8,3    ## @dcbx_lldp_params_offset
	.comm	_dcbx_lldp_dcbx_stat_offset,8,3 ## @dcbx_lldp_dcbx_stat_offset
	.comm	_dcbx_en,8,3                    ## @dcbx_en
	.comm	_BNX2X_DCBX_ENABLED_ON_NEG_ON,4,2 ## @BNX2X_DCBX_ENABLED_ON_NEG_ON
	.comm	_BNX2X_DCBX_ENABLED_OFF,4,2     ## @BNX2X_DCBX_ENABLED_OFF
	.comm	_FP_SB_MAX_E1x,4,2              ## @FP_SB_MAX_E1x
	.comm	_FP_SB_MAX_E2,4,2               ## @FP_SB_MAX_E2
	.comm	_BNX2X_MULTI_TX_COS_E1X,4,2     ## @BNX2X_MULTI_TX_COS_E1X
	.comm	_BNX2X_MULTI_TX_COS_E2_E3A0,4,2 ## @BNX2X_MULTI_TX_COS_E2_E3A0
	.comm	_BNX2X_MULTI_TX_COS_E3B0,4,2    ## @BNX2X_MULTI_TX_COS_E3B0
L_.str.3:                               ## @.str.3
	.asciz	"unknown chip %x revision %x\n"

L_.str.4:                               ## @.str.4
	.asciz	"set bp->max_cos to %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"bp->min_msix_vec_cnt %d"

	.no_dead_strip	_bnx2x_init_bp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_init_bp
_bnx2x_init_bp:                         ; @bnx2x_init_bp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	add	x0, x0, #112
	bl	_mutex_init
	add	x0, x19, #108
	bl	_mutex_init
	add	x0, x19, #104
	bl	_mutex_init
	add	x0, x19, #100
	mov	w1, #1
	bl	_sema_init
	mov	x20, x19
	str	wzr, [x20], #80
	add	x0, x19, #96
	bl	_INIT_LIST_HEAD
	add	x0, x19, #92
Lloh0:
	adrp	x8, _bnx2x_sp_task@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bnx2x_sp_task@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #88
Lloh3:
	adrp	x8, _bnx2x_sp_rtnl_task@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bnx2x_sp_rtnl_task@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #84
Lloh6:
	adrp	x8, _bnx2x_period_task@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bnx2x_period_task@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
Lloh9:
	adrp	x8, _bnx2x_iov_task@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bnx2x_iov_task@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_INIT_DELAYED_WORK
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_bnx2x_get_hwinfo
	mov	x21, x0
	cbnz	w0, LBB0_43
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #64]
	ldr	w0, [x8, #8]
	bl	_eth_zero_addr
LBB0_3:
	mov	x0, x19
	bl	_bnx2x_set_modes_bitmap
	mov	x0, x19
	bl	_bnx2x_alloc_mem_bp
	mov	x21, x0
	cbnz	w0, LBB0_43
; %bb.4:
	mov	x0, x19
	bl	_bnx2x_read_fwinfo
	mov	x0, x19
	bl	_BP_FUNC
	mov	x20, x0
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_BP_NOMCP
	cbz	x0, LBB0_30
LBB0_6:
	mov	x0, x19
	bl	_CHIP_REV_IS_FPGA
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x0, [x19, #72]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_8:
	mov	x0, x19
	bl	_BP_NOMCP
	cbz	x0, LBB0_11
; %bb.9:
	cbnz	w20, LBB0_11
; %bb.10:
	ldr	x0, [x19, #72]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
LBB0_11:
Lloh16:
	adrp	x8, _disable_tpa@GOTPAGE
Lloh17:
	ldr	x8, [x8, _disable_tpa@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_IS_MF_STORAGE_ONLY
	cmp	x0, #0
	cset	w8, ne
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	bl	_is_kdump_kernel
	ldr	w8, [x19, #8]
	orr	w8, w8, w0
	str	w8, [x19, #8]
	cbz	w8, LBB0_13
; %bb.12:
Lloh19:
	adrp	x8, _NETIF_F_LRO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETIF_F_LRO@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh21:
	adrp	x10, _NETIF_F_GRO_HW@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NETIF_F_GRO_HW@GOTPAGEOFF]
	ldr	w11, [x10]
	orr	w9, w11, w9
	ldr	x11, [x19, #64]
	ldp	w12, w13, [x11]
	bic	w9, w12, w9
	str	w9, [x11]
	ldr	w8, [x8]
	ldr	w9, [x10]
	orr	w8, w9, w8
	bic	w8, w13, w8
	str	w8, [x11, #4]
LBB0_13:
	mov	x0, x19
	bl	_CHIP_IS_E1
	cbz	x0, LBB0_15
; %bb.14:
	mov	w8, #0
	b	LBB0_16
LBB0_15:
Lloh23:
	adrp	x8, _dropless_fc@GOTPAGE
Lloh24:
	ldr	x8, [x8, _dropless_fc@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_bnx2x_get_dropless_info
	orr	w8, w0, w20
LBB0_16:
	str	w8, [x19, #12]
Lloh26:
	adrp	x8, _mrrs@GOTPAGE
Lloh27:
	ldr	x8, [x8, _mrrs@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	mov	x0, x19
	bl	_IS_MF_STORAGE_ONLY
Lloh29:
	adrp	x8, _MAX_TX_AVAIL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MAX_TX_AVAIL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w8, wzr, eq
	str	w8, [x19, #52]
	mov	x0, x19
	bl	_IS_VF
	cbz	x0, LBB0_18
; %bb.17:
Lloh32:
	adrp	x8, _MAX_RX_AVAIL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MAX_RX_AVAIL@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [x19, #48]
LBB0_18:
Lloh35:
	adrp	x8, _BNX2X_BTR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BNX2X_BTR@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	mov	w9, #50
	sdiv	w9, w9, w8
	mul	w9, w9, w8
	mov	w10, #25
	sdiv	w10, w10, w8
	mul	w8, w10, w8
	stp	w9, w8, [x19, #16]
	mov	x0, x19
	bl	_CHIP_REV_IS_SLOW
Lloh38:
	adrp	x8, _HZ@GOTPAGE
Lloh39:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	add	w9, w8, w8, lsl #2
	cmp	x0, #0
	csel	w8, w8, w9, eq
	str	w8, [x19, #24]
	add	x0, x19, #44
Lloh41:
	adrp	x8, _bnx2x_timer@GOTPAGE
Lloh42:
	ldr	x8, [x8, _bnx2x_timer@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
Lloh44:
	adrp	x8, _jiffies@GOTPAGE
Lloh45:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	add	w8, w9, w8
	str	w8, [x19, #44]
Lloh47:
	adrp	x20, _dcbx_lldp_params_offset@GOTPAGE
Lloh48:
	ldr	x20, [x20, _dcbx_lldp_params_offset@GOTPAGEOFF]
	ldr	x1, [x20]
	mov	x0, x19
	bl	_SHMEM2_HAS
	cbz	x0, LBB0_25
; %bb.19:
Lloh49:
	adrp	x21, _dcbx_lldp_dcbx_stat_offset@GOTPAGE
Lloh50:
	ldr	x21, [x21, _dcbx_lldp_dcbx_stat_offset@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_SHMEM2_HAS
	cbz	x0, LBB0_25
; %bb.20:
Lloh51:
	adrp	x22, _dcbx_en@GOTPAGE
Lloh52:
	ldr	x22, [x22, _dcbx_en@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x19
	bl	_SHMEM2_HAS
	cbz	x0, LBB0_25
; %bb.21:
	ldr	x1, [x20]
	mov	x0, x19
	bl	_SHMEM2_RD
	cbz	x0, LBB0_25
; %bb.22:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_SHMEM2_RD
	cbz	x0, LBB0_25
; %bb.23:
	ldr	x20, [x22]
	mov	x0, x19
	bl	_BP_PORT
	ldr	x1, [x20, x0, lsl #3]
	mov	x0, x19
	bl	_SHMEM2_RD
	cbz	x0, LBB0_25
; %bb.24:
Lloh53:
	adrp	x8, _BNX2X_DCBX_ENABLED_ON_NEG_ON@GOTPAGE
Lloh54:
	ldr	x8, [x8, _BNX2X_DCBX_ENABLED_ON_NEG_ON@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_bnx2x_dcbx_set_state
	mov	x0, x19
	bl	_bnx2x_dcbx_init_params
	b	LBB0_26
LBB0_25:
Lloh56:
	adrp	x8, _BNX2X_DCBX_ENABLED_OFF@GOTPAGE
Lloh57:
	ldr	x8, [x8, _BNX2X_DCBX_ENABLED_OFF@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_bnx2x_dcbx_set_state
LBB0_26:
	mov	x0, x19
	bl	_CHIP_IS_E1x
Lloh59:
	adrp	x8, _FP_SB_MAX_E2@GOTPAGE
Lloh60:
	ldr	x8, [x8, _FP_SB_MAX_E2@GOTPAGEOFF]
Lloh61:
	adrp	x9, _FP_SB_MAX_E1x@GOTPAGE
Lloh62:
	ldr	x9, [x9, _FP_SB_MAX_E1x@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #40]
	mov	x0, x19
	bl	_IS_VF
	cbz	x0, LBB0_28
; %bb.27:
	mov	w1, #1
	b	LBB0_36
LBB0_28:
	mov	x0, x19
	bl	_CHIP_IS_E1x
	cbz	x0, LBB0_32
; %bb.29:
Lloh63:
	adrp	x8, _BNX2X_MULTI_TX_COS_E1X@GOTPAGE
Lloh64:
	ldr	x8, [x8, _BNX2X_MULTI_TX_COS_E1X@GOTPAGEOFF]
	b	LBB0_35
LBB0_30:
Lloh65:
	adrp	x8, _func_mb@GOTPAGE
Lloh66:
	ldr	x8, [x8, _func_mb@GOTPAGEOFF]
Lloh67:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_BP_FW_MB_IDX
	ldr	w1, [x21, x0, lsl #2]
	mov	x0, x19
	bl	_SHMEM_RD
Lloh68:
	adrp	x8, _DRV_MSG_SEQ_NUMBER_MASK@GOTPAGE
Lloh69:
	ldr	x8, [x8, _DRV_MSG_SEQ_NUMBER_MASK@GOTPAGEOFF]
Lloh70:
	ldr	w8, [x8]
	and	w1, w8, w0
	str	w1, [x19, #4]
Lloh71:
	adrp	x0, l_.str@PAGE
Lloh72:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_DEV_INFO
	mov	x0, x19
	bl	_bnx2x_prev_unload
	cbz	w0, LBB0_6
; %bb.31:
	mov	x21, x0
	mov	x0, x19
	bl	_bnx2x_free_mem_bp
	b	LBB0_43
LBB0_32:
	mov	x0, x19
	bl	_CHIP_IS_E2
	cbnz	x0, LBB0_34
; %bb.33:
	mov	x0, x19
	bl	_CHIP_IS_E3A0
	cbz	x0, LBB0_44
LBB0_34:
Lloh73:
	adrp	x8, _BNX2X_MULTI_TX_COS_E2_E3A0@GOTPAGE
Lloh74:
	ldr	x8, [x8, _BNX2X_MULTI_TX_COS_E2_E3A0@GOTPAGEOFF]
LBB0_35:
	ldr	w1, [x8]
LBB0_36:
	str	w1, [x19, #28]
LBB0_37:
Lloh75:
	adrp	x0, l_.str.4@PAGE
Lloh76:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_BNX2X_DEV_INFO
	mov	x0, x19
	bl	_IS_VF
	cbz	x0, LBB0_39
; %bb.38:
	mov	w1, #1
	b	LBB0_42
LBB0_39:
	mov	x0, x19
	bl	_CNIC_SUPPORT
	cbz	x0, LBB0_41
; %bb.40:
	mov	w1, #3
	b	LBB0_42
LBB0_41:
	mov	w1, #2
LBB0_42:
	str	w1, [x19, #32]
Lloh77:
	adrp	x0, l_.str.5@PAGE
Lloh78:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_BNX2X_DEV_INFO
	mov	w21, #0
	mov	w8, #1
	str	w8, [x19, #36]
LBB0_43:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_44:
	mov	x0, x19
	bl	_CHIP_IS_E3B0
	cbz	x0, LBB0_46
; %bb.45:
Lloh79:
	adrp	x8, _BNX2X_MULTI_TX_COS_E3B0@GOTPAGE
Lloh80:
	ldr	x8, [x8, _BNX2X_MULTI_TX_COS_E3B0@GOTPAGEOFF]
	b	LBB0_35
LBB0_46:
	mov	x0, x19
	bl	_CHIP_NUM
	mov	x20, x0
	mov	x0, x19
	bl	_CHIP_REV
	mov	x2, x0
Lloh81:
	adrp	x0, l_.str.3@PAGE
Lloh82:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_BNX2X_ERR
	ldr	w1, [x19, #28]
	b	LBB0_37
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_bnx2x_sp_task,4,2              ; @bnx2x_sp_task
	.comm	_bnx2x_sp_rtnl_task,4,2         ; @bnx2x_sp_rtnl_task
	.comm	_bnx2x_period_task,4,2          ; @bnx2x_period_task
	.comm	_bnx2x_iov_task,4,2             ; @bnx2x_iov_task
	.comm	_func_mb,8,3                    ; @func_mb
	.comm	_DRV_MSG_SEQ_NUMBER_MASK,4,2    ; @DRV_MSG_SEQ_NUMBER_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fw_seq 0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"FPGA detected\n"

l_.str.2:                               ; @.str.2
	.asciz	"MCP disabled, must load devices in order!\n"

	.comm	_disable_tpa,4,2                ; @disable_tpa
	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_NETIF_F_GRO_HW,4,2             ; @NETIF_F_GRO_HW
	.comm	_dropless_fc,4,2                ; @dropless_fc
	.comm	_mrrs,4,2                       ; @mrrs
	.comm	_MAX_TX_AVAIL,4,2               ; @MAX_TX_AVAIL
	.comm	_MAX_RX_AVAIL,4,2               ; @MAX_RX_AVAIL
	.comm	_BNX2X_BTR,4,2                  ; @BNX2X_BTR
	.comm	_HZ,4,2                         ; @HZ
	.comm	_bnx2x_timer,4,2                ; @bnx2x_timer
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_dcbx_lldp_params_offset,8,3    ; @dcbx_lldp_params_offset
	.comm	_dcbx_lldp_dcbx_stat_offset,8,3 ; @dcbx_lldp_dcbx_stat_offset
	.comm	_dcbx_en,8,3                    ; @dcbx_en
	.comm	_BNX2X_DCBX_ENABLED_ON_NEG_ON,4,2 ; @BNX2X_DCBX_ENABLED_ON_NEG_ON
	.comm	_BNX2X_DCBX_ENABLED_OFF,4,2     ; @BNX2X_DCBX_ENABLED_OFF
	.comm	_FP_SB_MAX_E1x,4,2              ; @FP_SB_MAX_E1x
	.comm	_FP_SB_MAX_E2,4,2               ; @FP_SB_MAX_E2
	.comm	_BNX2X_MULTI_TX_COS_E1X,4,2     ; @BNX2X_MULTI_TX_COS_E1X
	.comm	_BNX2X_MULTI_TX_COS_E2_E3A0,4,2 ; @BNX2X_MULTI_TX_COS_E2_E3A0
	.comm	_BNX2X_MULTI_TX_COS_E3B0,4,2    ; @BNX2X_MULTI_TX_COS_E3B0
l_.str.3:                               ; @.str.3
	.asciz	"unknown chip %x revision %x\n"

l_.str.4:                               ; @.str.4
	.asciz	"set bp->max_cos to %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"bp->min_msix_vec_cnt %d"

	.no_dead_strip	_bnx2x_init_bp
.subsections_via_symbols
