	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_qm_init_cid_count
_bnx2x_qm_init_cid_count:               ## @bnx2x_qm_init_cid_count
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	callq	_BP_PORT
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_QM_INIT
	andl	$-2, %ebx
	cmpl	$128, %ebx
	jne	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_QM_REG_CONNNUM_0@GOTPCREL(%rip), %rax
	shll	$2, %r15d
	addl	(%rax), %r15d
	leal	15(%r12), %edx
	testl	%r12d, %r12d
	cmovnsl	%r12d, %edx
	sarl	$4, %edx
	decl	%edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WR                         ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_REG_CONNNUM_0,4,2           ## @QM_REG_CONNNUM_0
	.no_dead_strip	_bnx2x_qm_init_cid_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_qm_init_cid_count
_bnx2x_qm_init_cid_count:               ; @bnx2x_qm_init_cid_count
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_BP_PORT
	mov	x21, x0
	mov	x0, x20
	bl	_QM_INIT
	and	w8, w22, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _QM_REG_CONNNUM_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_REG_CONNNUM_0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w1, w8, w21, lsl #2
	add	w8, w20, #15
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w8, w8, #4
	sub	w2, w8, #1
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_REG_WR
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_REG_CONNNUM_0,4,2           ; @QM_REG_CONNNUM_0
	.no_dead_strip	_bnx2x_qm_init_cid_count
.subsections_via_symbols
