	.file	"extr_bxe.c_bxe_set_qm_cid_count.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bxe_set_qm_cid_count, @function
bxe_set_qm_cid_count:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	BXE_L2_MAX_CID@PLT
	mov	rdi, r12
	mov	ebp, eax
	call	IS_SRIOV@PLT
	test	rax, rax
	je	.L2
	add	ebp, DWORD PTR BXE_VF_CIDS[rip]
.L2:
	mov	rdi, r12
	call	CNIC_SUPPORT@PLT
	test	rax, rax
	je	.L3
	add	ebp, DWORD PTR CNIC_CID_MAX[rip]
.L3:
	mov	esi, DWORD PTR QM_CID_ROUND[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	roundup@PLT
	.cfi_endproc
.LFE0:
	.size	bxe_set_qm_cid_count, .-bxe_set_qm_cid_count
	.comm	QM_CID_ROUND,4,4
	.comm	CNIC_CID_MAX,8,8
	.comm	BXE_VF_CIDS,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_bxe.c_bxe_set_qm_cid_count.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bxe_set_qm_cid_count, %function
bxe_set_qm_cid_count:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	BXE_L2_MAX_CID
	mov	r4, r0
	mov	r0, r5
	bl	IS_SRIOV
	cmp	r0, #0
	ldrne	r3, .L12
	mov	r0, r5
	ldrne	r3, [r3]
	addne	r4, r4, r3
	bl	CNIC_SUPPORT
	cmp	r0, #0
	ldrne	r3, .L12+4
	ldrne	r3, [r3]
	addne	r4, r4, r3
	ldr	r3, .L12+8
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	roundup
.L13:
	.align	2
.L12:
	.word	BXE_VF_CIDS
	.word	CNIC_CID_MAX
	.word	QM_CID_ROUND
	.size	bxe_set_qm_cid_count, .-bxe_set_qm_cid_count
	.comm	QM_CID_ROUND,4,4
	.comm	CNIC_CID_MAX,4,4
	.comm	BXE_VF_CIDS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
