	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_qm_cid_count
_bnx2x_set_qm_cid_count:                ## @bnx2x_set_qm_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
	movq	%rdi, %r14
	callq	_BNX2X_L2_MAX_CID
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_IS_SRIOV
	xorl	%r12d, %r12d
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BNX2X_VF_CIDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	addl	%r15d, %ebx
	movq	%r14, %rdi
	callq	_CNIC_SUPPORT
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_CNIC_CID_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_4:
	addl	%r12d, %ebx
	movq	_QM_CID_ROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_roundup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_VF_CIDS,8,3              ## @BNX2X_VF_CIDS
	.comm	_CNIC_CID_MAX,8,3               ## @CNIC_CID_MAX
	.comm	_QM_CID_ROUND,4,2               ## @QM_CID_ROUND
	.no_dead_strip	_bnx2x_set_qm_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_set_qm_cid_count
_bnx2x_set_qm_cid_count:                ; @bnx2x_set_qm_cid_count
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_BNX2X_L2_MAX_CID
	mov	x20, x0
	mov	x0, x19
	bl	_IS_SRIOV
Lloh0:
	adrp	x8, _BNX2X_VF_CIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_VF_CIDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	add	w20, w8, w20
	mov	x0, x19
	bl	_CNIC_SUPPORT
Lloh3:
	adrp	x8, _CNIC_CID_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CNIC_CID_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	add	w0, w20, w8
Lloh6:
	adrp	x8, _QM_CID_ROUND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QM_CID_ROUND@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_roundup
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_VF_CIDS,8,3              ; @BNX2X_VF_CIDS
	.comm	_CNIC_CID_MAX,8,3               ; @CNIC_CID_MAX
	.comm	_QM_CID_ROUND,4,2               ; @QM_CID_ROUND
	.no_dead_strip	_bnx2x_set_qm_cid_count
.subsections_via_symbols
