	.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:
	movq	_FUNC_FLG_STATS@GOTPCREL(%rip), %rcx
	movq	_FUNC_FLG_LEADING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_FUNC_FLG_SPQ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_TPA_ENABLE_FLAG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	je	LBB0_10
## %bb.9:
	movq	_FUNC_FLG_TPA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	orl	%ecx, %eax
	movl	%eax, -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	12(%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_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_BP_PORT
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_storm_memset_cmng
LBB0_12:
	movl	8(%rbx), %edi
	callq	_U64_HI
	movl	%eax, -48(%rbp)
	movl	8(%rbx), %edi
	callq	_U64_LO
	movl	%eax, -52(%rbp)
	movl	4(%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	_FUNC_FLG_STATS,4,2             ## @FUNC_FLG_STATS
	.comm	_FUNC_FLG_LEADING,4,2           ## @FUNC_FLG_LEADING
	.comm	_FUNC_FLG_SPQ,4,2               ## @FUNC_FLG_SPQ
	.comm	_TPA_ENABLE_FLAG,4,2            ## @TPA_ENABLE_FLAG
	.comm	_FUNC_FLG_TPA,4,2               ## @FUNC_FLG_TPA
	.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:
Lloh7:
	adrp	x8, _FUNC_FLG_STATS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FUNC_FLG_STATS@GOTPAGEOFF]
Lloh9:
	adrp	x9, _FUNC_FLG_LEADING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FUNC_FLG_LEADING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh13:
	adrp	x9, _FUNC_FLG_SPQ@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FUNC_FLG_SPQ@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x19]
Lloh16:
	adrp	x10, _TPA_ENABLE_FLAG@GOTPAGE
Lloh17:
	ldr	x10, [x10, _TPA_ENABLE_FLAG@GOTPAGEOFF]
Lloh18:
	adrp	x11, _FUNC_FLG_TPA@GOTPAGE
Lloh19:
	ldr	x11, [x11, _FUNC_FLG_TPA@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w8, w8, w9
	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, #12
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh22:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh24:
	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, #8]
	bl	_U64_HI
	str	w0, [sp, #16]
	ldr	w0, [x19, #8]
	bl	_U64_LO
	ldr	w8, [x19, #4]
	stp	w8, w0, [sp, #8]
Lloh25:
	adrp	x8, _HC_SP_INDEX_EQ_CONS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _HC_SP_INDEX_EQ_CONS@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _DEF_SB_ID@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DEF_SB_ID@GOTPAGEOFF]
Lloh30:
	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	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.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	_FUNC_FLG_STATS,4,2             ; @FUNC_FLG_STATS
	.comm	_FUNC_FLG_LEADING,4,2           ; @FUNC_FLG_LEADING
	.comm	_FUNC_FLG_SPQ,4,2               ; @FUNC_FLG_SPQ
	.comm	_TPA_ENABLE_FLAG,4,2            ; @TPA_ENABLE_FLAG
	.comm	_FUNC_FLG_TPA,4,2               ; @FUNC_FLG_TPA
	.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
