	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_pf_init
_bnx2x_pf_init:                         ## @bnx2x_pf_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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -68(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	callq	_CHIP_IS_E1x
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_IGU_REG_STATISTIC_NUM_MESSAGE_SENT@GOTPCREL(%rip), %r15
	movq	_BNX2X_IGU_STAS_MSG_VF_CNT@GOTPCREL(%rip), %r12
	movslq	(%r12), %r14
	shlq	$2, %r14
	addq	(%r15), %r14
	movq	%rbx, %rdi
	callq	_CHIP_MODE_IS_4_PORT
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_BP_FUNC
	jmp	LBB0_4
LBB0_3:
	callq	_BP_VN
LBB0_4:
	shll	$2, %eax
	cltq
	addq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_REG_WR
	movslq	(%r12), %rax
	shlq	$2, %rax
	addq	(%r15), %rax
	movq	_BNX2X_IGU_STAS_MSG_PF_CNT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx,4), %r14
	movq	%rbx, %rdi
	callq	_CHIP_MODE_IS_4_PORT
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_BP_FUNC
	jmp	LBB0_7
LBB0_6:
	callq	_BP_VN
LBB0_7:
	shll	$2, %eax
	cltq
	addq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_REG_WR
LBB0_8:
	movl	$1, -88(%rbp)
	movq	%rbx, %rdi
	callq	_BP_FUNC
	movl	%eax, -84(%rbp)
	movq	%rbx, %rdi
	callq	_BP_FUNC
	movl	%eax, -80(%rbp)
	movl	32(%rbx), %eax
	movl	%eax, -72(%rbp)
	movl	28(%rbx), %eax
	movl	%eax, -76(%rbp)
	leaq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_bnx2x_func_init
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_SPEED_10000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_bnx2x_get_cmng_fns_mode
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_bnx2x_cmng_fns_init
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_BP_PORT
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_storm_memset_cmng
LBB0_10:
	movl	4(%rbx), %edi
	callq	_U64_HI
	movl	%eax, -48(%rbp)
	movl	4(%rbx), %edi
	callq	_U64_LO
	movl	%eax, -52(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	_HC_SP_INDEX_EQ_CONS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_DEF_SB_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%rbx, %rdi
	callq	_BP_FUNC
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_storm_memset_eq_data
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGU_REG_STATISTIC_NUM_MESSAGE_SENT,8,3 ## @IGU_REG_STATISTIC_NUM_MESSAGE_SENT
	.comm	_BNX2X_IGU_STAS_MSG_VF_CNT,4,2  ## @BNX2X_IGU_STAS_MSG_VF_CNT
	.comm	_BNX2X_IGU_STAS_MSG_PF_CNT,4,2  ## @BNX2X_IGU_STAS_MSG_PF_CNT
	.comm	_SPEED_10000,4,2                ## @SPEED_10000
	.comm	_HC_SP_INDEX_EQ_CONS,4,2        ## @HC_SP_INDEX_EQ_CONS
	.comm	_DEF_SB_ID,4,2                  ## @DEF_SB_ID
	.no_dead_strip	_bnx2x_pf_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_pf_init
_bnx2x_pf_init:                         ; @bnx2x_pf_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
	str	wzr, [sp, #44]
	stp	xzr, xzr, [sp]
	str	xzr, [sp, #16]
	bl	_CHIP_IS_E1x
	cbnz	w0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x20, _IGU_REG_STATISTIC_NUM_MESSAGE_SENT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IGU_REG_STATISTIC_NUM_MESSAGE_SENT@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _BNX2X_IGU_STAS_MSG_VF_CNT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BNX2X_IGU_STAS_MSG_VF_CNT@GOTPAGEOFF]
	ldrsw	x9, [x21]
	add	x22, x8, x9, lsl #2
	mov	x0, x19
	bl	_CHIP_MODE_IS_4_PORT
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_BP_FUNC
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_BP_VN
LBB0_4:
	lsl	w8, w0, #2
	add	x1, x22, w8, sxtw
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
	ldr	x8, [x20]
	ldrsw	x9, [x21]
	add	x8, x8, x9, lsl #2
Lloh4:
	adrp	x9, _BNX2X_IGU_STAS_MSG_PF_CNT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BNX2X_IGU_STAS_MSG_PF_CNT@GOTPAGEOFF]
Lloh6:
	ldrsw	x9, [x9]
	add	x20, x8, x9, lsl #2
	mov	x0, x19
	bl	_CHIP_MODE_IS_4_PORT
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_BP_FUNC
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_BP_VN
LBB0_7:
	lsl	w8, w0, #2
	add	x1, x20, w8, sxtw
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
LBB0_8:
	mov	w8, #1
	str	w8, [sp, #24]
	mov	x0, x19
	bl	_BP_FUNC
	str	w0, [sp, #28]
	mov	x0, x19
	bl	_BP_FUNC
	str	w0, [sp, #32]
	ldur	d0, [x19, #28]
	stur	d0, [sp, #36]
	add	x1, sp, #24
	mov	x0, x19
	bl	_bnx2x_func_init
	add	x20, x19, #8
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh7:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_bnx2x_get_cmng_fns_mode
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	bl	_bnx2x_cmng_fns_init
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_BP_PORT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_storm_memset_cmng
LBB0_10:
	ldr	w0, [x19, #4]
	bl	_U64_HI
	str	w0, [sp, #16]
	ldr	w0, [x19, #4]
	bl	_U64_LO
	ldr	w8, [x19]
	stp	w8, w0, [sp, #8]
Lloh10:
	adrp	x8, _HC_SP_INDEX_EQ_CONS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HC_SP_INDEX_EQ_CONS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _DEF_SB_ID@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DEF_SB_ID@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [sp]
	mov	x0, x19
	bl	_BP_FUNC
	mov	x2, x0
	mov	x1, sp
	mov	x0, x19
	bl	_storm_memset_eq_data
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IGU_REG_STATISTIC_NUM_MESSAGE_SENT,8,3 ; @IGU_REG_STATISTIC_NUM_MESSAGE_SENT
	.comm	_BNX2X_IGU_STAS_MSG_VF_CNT,4,2  ; @BNX2X_IGU_STAS_MSG_VF_CNT
	.comm	_BNX2X_IGU_STAS_MSG_PF_CNT,4,2  ; @BNX2X_IGU_STAS_MSG_PF_CNT
	.comm	_SPEED_10000,4,2                ; @SPEED_10000
	.comm	_HC_SP_INDEX_EQ_CONS,4,2        ; @HC_SP_INDEX_EQ_CONS
	.comm	_DEF_SB_ID,4,2                  ; @DEF_SB_ID
	.no_dead_strip	_bnx2x_pf_init
.subsections_via_symbols
