	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_func_init                ## -- Begin function bnx2x_func_init
	.p2align	4, 0x90
_bnx2x_func_init:                       ## @bnx2x_func_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_CHIP_IS_E1x
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$0, -32(%rbp)
	movl	4(%rbx), %edx
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_storm_memset_func_cfg
LBB0_2:
	movl	4(%rbx), %esi
	movl	24(%rbx), %edx
	movq	%r14, %rdi
	callq	_storm_memset_vf_to_pf
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_storm_memset_func_en
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_storm_memset_spq_addr
	movq	_XSEM_REG_FAST_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	4(%rbx), %edi
	callq	_XSTORM_SPQ_PROD_OFFSET
	addq	%rax, %r15
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_REG_WR
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XSEM_REG_FAST_MEMORY,8,3       ## @XSEM_REG_FAST_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_func_init                ; -- Begin function bnx2x_func_init
	.p2align	2
_bnx2x_func_init:                       ; @bnx2x_func_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	bl	_CHIP_IS_E1x
	cbz	x0, LBB0_2
; %bb.1:
	str	wzr, [sp, #8]
	ldr	w2, [x20, #4]
	add	x1, sp, #8
	mov	x0, x19
	bl	_storm_memset_func_cfg
LBB0_2:
	ldr	w1, [x20, #4]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_storm_memset_vf_to_pf
	ldr	w1, [x20, #4]
	mov	x0, x19
	mov	w2, #1
	bl	_storm_memset_func_en
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	w2, w1, [x20, #4]
	mov	x0, x19
	bl	_storm_memset_spq_addr
Lloh0:
	adrp	x8, _XSEM_REG_FAST_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XSEM_REG_FAST_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w0, [x20, #4]
	bl	_XSTORM_SPQ_PROD_OFFSET
	add	x1, x0, x21
	ldr	w2, [x20]
	mov	x0, x19
	bl	_REG_WR
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XSEM_REG_FAST_MEMORY,8,3       ; @XSEM_REG_FAST_MEMORY
.subsections_via_symbols
