	.file	"extr_qed_cxt.c_qed_cxt_set_proto_cid_count.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qed_cxt_set_proto_cid_count, @function
qed_cxt_set_proto_cid_count:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	mov	edi, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r14, QWORD PTR 0[r13]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	mov	esi, DWORD PTR DQ_RANGE_ALIGN[rip]
	mov	r12, rbx
	sal	rbx, 4
	add	rbx, QWORD PTR 8[r14]
	call	roundup@PLT
	mov	esi, DWORD PTR DQ_RANGE_ALIGN[rip]
	mov	edi, ebp
	mov	DWORD PTR [rbx], eax
	call	roundup@PLT
	cmp	DWORD PTR PROTOCOLID_ROCE[rip], r12d
	mov	QWORD PTR 8[rbx], rax
	je	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, QWORD PTR ILT_CLI_CDUC[rip]
	mov	rax, QWORD PTR [r14]
	mov	rdi, r13
	mov	r12d, DWORD PTR [rax+rdx*4]
	call	CONN_CXT_SIZE@PLT
	mov	edi, r12d
	mov	ebp, eax
	call	ILT_PAGE_IN_BYTES@PLT
	mov	edi, DWORD PTR [rbx]
	cdq
	idiv	ebp
	imul	eax, DWORD PTR DQ_RANGE_ALIGN[rip]
	mov	esi, eax
	call	roundup@PLT
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qed_cxt_set_proto_cid_count, .-qed_cxt_set_proto_cid_count
	.comm	PROTOCOLID_ROCE,4,4
	.comm	ILT_CLI_CDUC,8,8
	.comm	DQ_RANGE_ALIGN,4,4
	.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_qed_cxt.c_qed_cxt_set_proto_cid_count.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qed_cxt_set_proto_cid_count, %function
qed_cxt_set_proto_cid_count:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L5
	ldr	r9, [r0]
	mov	r4, r1
	mov	r5, r0
	ldr	r1, [r8]
	mov	r0, r2
	mov	r6, r3
	ldr	r7, [r9, #4]
	bl	roundup
	ldr	r1, [r8]
	str	r0, [r7, r4, lsl #3]
	mov	r0, r6
	bl	roundup
	ldr	r2, .L5+4
	add	r3, r7, r4, lsl #3
	ldr	r6, [r2]
	str	r0, [r3, #4]
	cmp	r6, r4
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r2, .L5+8
	ldr	r3, [r9]
	ldr	r2, [r2]
	mov	r0, r5
	ldr	r5, [r3, r2, lsl #2]
	bl	CONN_CXT_SIZE
	mov	r4, r0
	mov	r0, r5
	bl	ILT_PAGE_IN_BYTES
	mov	r1, r4
	bl	__aeabi_idiv
	mov	r3, r0
	ldr	r1, [r8]
	ldr	r0, [r7, r6, lsl #3]
	mul	r1, r3, r1
	bl	roundup
	str	r0, [r7, r6, lsl #3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	.align	2
.L5:
	.word	DQ_RANGE_ALIGN
	.word	PROTOCOLID_ROCE
	.word	ILT_CLI_CDUC
	.size	qed_cxt_set_proto_cid_count, .-qed_cxt_set_proto_cid_count
	.comm	PROTOCOLID_ROCE,4,4
	.comm	ILT_CLI_CDUC,4,4
	.comm	DQ_RANGE_ALIGN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
