	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_init_internal_common
_bnx2x_init_internal_common:            ## @bnx2x_init_internal_common
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_IS_MF_SI
	movl	$2, %edx
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movq	_BAR_TSTRORM_INTMEM@GOTPCREL(%rip), %rax
	movq	_TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_REG_WR8
	jmp	LBB0_4
LBB0_1:
	movq	%r15, %rdi
	callq	_CHIP_IS_E1
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	_USTORM_AGG_DATA_SIZE@GOTPCREL(%rip), %r12
	cmpl	$4, (%r12)
	jl	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	movq	_USTORM_AGG_DATA_OFFSET@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	movq	_BAR_USTRORM_INTMEM@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	incq	%r14
	movl	(%r12), %eax
	sarl	$2, %eax
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_6
LBB0_7:
	movq	%r15, %rdi
	callq	_CHIP_IS_E1x
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_BAR_CSTRORM_INTMEM@GOTPCREL(%rip), %rax
	movq	_CSTORM_IGU_MODE_OFFSET@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	addq	(%rax), %r14
	movq	%r15, %rdi
	callq	_CHIP_INT_MODE_IS_BC
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	_HC_IGU_NBC_MODE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_HC_IGU_BC_MODE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WR8                        ## TAILCALL
LBB0_2:
	xorl	%edx, %edx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_BAR_TSTRORM_INTMEM,8,3         ## @BAR_TSTRORM_INTMEM
	.comm	_TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET,8,3 ## @TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET
	.comm	_USTORM_AGG_DATA_SIZE,4,2       ## @USTORM_AGG_DATA_SIZE
	.comm	_BAR_USTRORM_INTMEM,8,3         ## @BAR_USTRORM_INTMEM
	.comm	_USTORM_AGG_DATA_OFFSET,8,3     ## @USTORM_AGG_DATA_OFFSET
	.comm	_BAR_CSTRORM_INTMEM,8,3         ## @BAR_CSTRORM_INTMEM
	.comm	_CSTORM_IGU_MODE_OFFSET,8,3     ## @CSTORM_IGU_MODE_OFFSET
	.comm	_HC_IGU_BC_MODE,4,2             ## @HC_IGU_BC_MODE
	.comm	_HC_IGU_NBC_MODE,4,2            ## @HC_IGU_NBC_MODE
	.no_dead_strip	_bnx2x_init_internal_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_init_internal_common
_bnx2x_init_internal_common:            ; @bnx2x_init_internal_common
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_IS_MF_SI
	cbz	x0, LBB0_3
; %bb.1:
	mov	w2, #2
LBB0_2:
Lloh0:
	adrp	x8, _BAR_TSTRORM_INTMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BAR_TSTRORM_INTMEM@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_REG_WR8
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_CHIP_IS_E1
	cbz	w0, LBB0_10
LBB0_4:
Lloh6:
	adrp	x20, _USTORM_AGG_DATA_SIZE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _USTORM_AGG_DATA_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #4
	b.lt	LBB0_7
; %bb.5:
	mov	x21, #0
	mov	x22, #0
Lloh8:
	adrp	x23, _BAR_USTRORM_INTMEM@GOTPAGE
Lloh9:
	ldr	x23, [x23, _BAR_USTRORM_INTMEM@GOTPAGEOFF]
Lloh10:
	adrp	x24, _USTORM_AGG_DATA_OFFSET@GOTPAGE
Lloh11:
	ldr	x24, [x24, _USTORM_AGG_DATA_OFFSET@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	add	x8, x9, x8
	add	x1, x21, x8
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
	add	x22, x22, #1
	ldr	w8, [x20]
	asr	w8, w8, #2
	add	x21, x21, #4
	cmp	x22, w8, sxtw
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x19
	bl	_CHIP_IS_E1x
	cbz	w0, LBB0_9
; %bb.8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh12:
	adrp	x8, _BAR_CSTRORM_INTMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BAR_CSTRORM_INTMEM@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _CSTORM_IGU_MODE_OFFSET@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CSTORM_IGU_MODE_OFFSET@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x20, x9, x8
	mov	x0, x19
	bl	_CHIP_INT_MODE_IS_BC
Lloh18:
	adrp	x8, _HC_IGU_BC_MODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HC_IGU_BC_MODE@GOTPAGEOFF]
Lloh20:
	adrp	x9, _HC_IGU_NBC_MODE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _HC_IGU_NBC_MODE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_REG_WR8
LBB0_10:
	mov	w2, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BAR_TSTRORM_INTMEM,8,3         ; @BAR_TSTRORM_INTMEM
	.comm	_TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET,8,3 ; @TSTORM_ACCEPT_CLASSIFY_FAILED_OFFSET
	.comm	_USTORM_AGG_DATA_SIZE,4,2       ; @USTORM_AGG_DATA_SIZE
	.comm	_BAR_USTRORM_INTMEM,8,3         ; @BAR_USTRORM_INTMEM
	.comm	_USTORM_AGG_DATA_OFFSET,8,3     ; @USTORM_AGG_DATA_OFFSET
	.comm	_BAR_CSTRORM_INTMEM,8,3         ; @BAR_CSTRORM_INTMEM
	.comm	_CSTORM_IGU_MODE_OFFSET,8,3     ; @CSTORM_IGU_MODE_OFFSET
	.comm	_HC_IGU_BC_MODE,4,2             ; @HC_IGU_BC_MODE
	.comm	_HC_IGU_NBC_MODE,4,2            ; @HC_IGU_NBC_MODE
	.no_dead_strip	_bnx2x_init_internal_common
.subsections_via_symbols
