	.file	"extr_cq.c___ib_process_cq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__ib_process_cq, @function
__ib_process_cq:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rax, 16[rdx]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 4[rsp], esi
	mov	DWORD PTR [rsp], ecx
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR [rsp]
	mov	edi, DWORD PTR u32[rip]
	sub	edx, r13d
	call	min_t@PLT
	mov	rdx, r14
	mov	rdi, rbp
	mov	esi, eax
	call	ib_poll_cq@PLT
	mov	r12d, eax
	test	eax, eax
	jle	.L1
	lea	ebx, -1[r12]
	mov	r15, r14
	sal	rbx, 4
	add	rbx, QWORD PTR 8[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, r15
	add	r15, 16
	mov	rdi, rbp
	call	[QWORD PTR [rax]]
	cmp	r15, rbx
	je	.L15
.L5:
	mov	rax, QWORD PTR 8[r15]
	test	rax, rax
	jne	.L16
	mov	rax, QWORD PTR IB_WC_SUCCESS[rip]
	xor	edi, edi
	cmp	QWORD PTR [r15], rax
	sete	dil
	add	r15, 16
	call	WARN_ON_ONCE@PLT
	cmp	r15, rbx
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L15:
	add	r13d, r12d
	cmp	DWORD PTR [rsp], r12d
	jne	.L1
	mov	eax, DWORD PTR 4[rsp]
	cmp	eax, -1
	je	.L2
	cmp	eax, r13d
	jg	.L2
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	__ib_process_cq, .-__ib_process_cq
	.comm	u32,4,4
	.comm	IB_WC_SUCCESS,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_cq.c___ib_process_cq.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ib_process_cq, %function
__ib_process_cq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	mov	r9, r1
	mov	r8, r2
	mov	r10, r3
	mov	r7, #0
.L2:
	ldr	r3, .L13
	mov	r1, r10
	ldr	r0, [r3]
	sub	r2, r9, r7
	bl	min_t
	mov	r2, r8
	mov	r1, r0
	mov	r0, r5
	bl	ib_poll_cq
	subs	fp, r0, #0
	ble	.L1
	mov	r4, r8
	add	r6, r8, fp, lsl #3
	b	.L5
.L12:
	mov	r1, r4
	mov	r0, r5
	ldr	r3, [r3]
	add	r4, r4, #8
	blx	r3
	cmp	r4, r6
	beq	.L11
.L5:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L13+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	add	r4, r4, #8
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON_ONCE
	cmp	r4, r6
	bne	.L5
.L11:
	cmp	r10, fp
	add	r7, r7, fp
	bne	.L1
	cmp	r9, r7
	movgt	r3, #0
	movle	r3, #1
	cmn	r9, #1
	moveq	r3, #0
	cmp	r3, #0
	beq	.L2
.L1:
	mov	r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	.align	2
.L13:
	.word	u32
	.word	IB_WC_SUCCESS
	.size	__ib_process_cq, .-__ib_process_cq
	.comm	u32,4,4
	.comm	IB_WC_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
