	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_init_sb                  ## -- Begin function bnx2x_init_sb
	.p2align	4, 0x90
_bnx2x_init_sb:                         ## @bnx2x_init_sb
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r13
	callq	_CHIP_INT_MODE_IS_BC
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_IGU_SEG_ACCESS_NORM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_HC_SEG_ACCESS_NORM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_bnx2x_zero_fp_sb
	movq	%r13, %rdi
	callq	_CHIP_IS_E1x
	leaq	-136(%rbp), %rdi
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_SB_ENABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	%r13, %rdi
	callq	_BP_FUNC
	movq	%rax, -80(%rbp)
	movq	$255, -96(%rbp)
	jmp	LBB0_3
LBB0_1:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_memset
	movq	_SB_ENABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	%r13, %rdi
	callq	_BP_FUNC
	movq	%rax, -80(%rbp)
	movl	%ebx, -96(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -92(%rbp)
LBB0_3:
	movq	%r13, %rdi
	callq	_BP_VN
	movq	%rax, -88(%rbp)
	movl	$1, -128(%rbp)
	movl	%r15d, %edi
	callq	_U64_HI
	movq	%rax, -104(%rbp)
	movl	%r15d, %edi
	callq	_U64_LO
	movq	%rax, -112(%rbp)
	movq	-120(%rbp), %r15
	movl	-136(%rbp), %edi
	callq	_bnx2x_map_sb_state_machines
	cmpq	$0, -144(%rbp)                  ## 8-byte Folded Reload
	cmovel	-48(%rbp), %r12d                ## 4-byte Folded Reload
	movq	_SM_RX_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r15,%rax,4), %rdi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_bnx2x_setup_ndsb_state_machine
	movq	_SM_TX_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r15,%rax,4), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_bnx2x_setup_ndsb_state_machine
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_DP
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	$18, %ecx
	callq	_bnx2x_wr_fp_sb_data
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HC_SEG_ACCESS_NORM,4,2         ## @HC_SEG_ACCESS_NORM
	.comm	_IGU_SEG_ACCESS_NORM,4,2        ## @IGU_SEG_ACCESS_NORM
	.comm	_SB_ENABLED,8,3                 ## @SB_ENABLED
	.comm	_SM_RX_ID,8,3                   ## @SM_RX_ID
	.comm	_SM_TX_ID,8,3                   ## @SM_TX_ID
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Init FW SB %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_init_sb                  ; -- Begin function bnx2x_init_sb
	.p2align	2
_bnx2x_init_sb:                         ; @bnx2x_init_sb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x19, x4
	mov	x25, x3
	mov	x26, x2
	mov	x24, x1
	mov	x20, x0
	bl	_CHIP_INT_MODE_IS_BC
	mov	x23, x0
Lloh0:
	adrp	x8, _IGU_SEG_ACCESS_NORM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGU_SEG_ACCESS_NORM@GOTPAGEOFF]
Lloh2:
	ldr	w27, [x8]
Lloh3:
	adrp	x8, _HC_SEG_ACCESS_NORM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HC_SEG_ACCESS_NORM@GOTPAGEOFF]
Lloh5:
	ldr	w28, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_zero_fp_sb
	mov	x0, x20
	bl	_CHIP_IS_E1x
	add	x22, sp, #8
	cbz	w0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh6:
	adrp	x8, _SB_ENABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SB_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	mov	x0, x20
	bl	_BP_FUNC
	str	x0, [sp, #64]
	movi	d0, #0x000000000000ff
	str	d0, [sp, #48]
	b	LBB0_3
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #72
	bl	_memset
Lloh9:
	adrp	x8, _SB_ENABLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SB_ENABLED@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	mov	x0, x20
	bl	_BP_FUNC
	str	x0, [sp, #64]
	stp	w26, w25, [sp, #48]
LBB0_3:
	mov	x0, x20
	bl	_BP_VN
	str	x0, [sp, #56]
	mov	w8, #1
	str	w8, [sp, #16]
	mov	x0, x24
	bl	_U64_HI
	str	x0, [sp, #40]
	mov	x0, x24
	bl	_U64_LO
	str	x0, [sp, #32]
	ldr	x24, [sp, #24]
	ldr	w0, [sp, #8]
	bl	_bnx2x_map_sb_state_machines
	cmp	x23, #0
	csel	w23, w27, w28, eq
Lloh12:
	adrp	x8, _SM_RX_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SM_RX_ID@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x0, x24, x8, lsl #2
	mov	x1, x21
	mov	x2, x23
	bl	_bnx2x_setup_ndsb_state_machine
Lloh15:
	adrp	x8, _SM_TX_ID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SM_TX_ID@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x0, x24, x8, lsl #2
	mov	x1, x21
	mov	x2, x23
	bl	_bnx2x_setup_ndsb_state_machine
Lloh18:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_DP
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	w3, #18
	bl	_bnx2x_wr_fp_sb_data
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HC_SEG_ACCESS_NORM,4,2         ; @HC_SEG_ACCESS_NORM
	.comm	_IGU_SEG_ACCESS_NORM,4,2        ; @IGU_SEG_ACCESS_NORM
	.comm	_SB_ENABLED,8,3                 ; @SB_ENABLED
	.comm	_SM_RX_ID,8,3                   ; @SM_RX_ID
	.comm	_SM_TX_ID,8,3                   ; @SM_TX_ID
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Init FW SB %d\n"

.subsections_via_symbols
