	.file	"extr_svc_rdma_transport.c_sq_cq_reap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sq_cq_reap, @function
sq_cq_reap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rsi, 24[rdi]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR 16[rdi]
	mov	edi, DWORD PTR RDMAXPRT_SQ_PENDING[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	test_and_clear_bit@PLT
	test	eax, eax
	jne	.L17
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR IB_CQ_NEXT_COMP[rip]
	xor	ebp, ebp
	mov	r13, rsp
	lea	r14, 8[rbx]
	call	ib_req_notify_cq@PLT
	lea	rdi, rdma_stat_sq_poll[rip]
	call	atomic_inc@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbx
	call	svc_xprt_put@PLT
.L3:
	mov	rdx, r13
	mov	esi, 1
	mov	rdi, r12
	call	ib_poll_cq@PLT
	test	eax, eax
	jle	.L19
	mov	rax, QWORD PTR IB_WC_SUCCESS[rip]
	cmp	QWORD PTR [rsp], rax
	je	.L4
	mov	edi, DWORD PTR XPT_CLOSE[rip]
	mov	rsi, rbx
	call	set_bit@PLT
.L4:
	mov	rdi, r14
	call	atomic_dec@PLT
	lea	rdi, 4[rbx]
	call	wake_up@PLT
	mov	rbp, QWORD PTR 8[rsp]
	test	rbp, rbp
	je	.L5
	mov	rsi, rbp
	mov	rdi, rbx
	call	process_context@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	test	rbp, rbp
	je	.L1
	lea	rdi, rdma_stat_sq_prod[rip]
	call	atomic_inc@PLT
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sq_cq_reap, .-sq_cq_reap
	.comm	rdma_stat_sq_prod,4,4
	.comm	rdma_stat_sq_poll,4,4
	.comm	XPT_CLOSE,4,4
	.comm	RDMAXPRT_SQ_PENDING,4,4
	.comm	IB_WC_SUCCESS,8,8
	.comm	IB_CQ_NEXT_COMP,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_svc_rdma_transport.c_sq_cq_reap.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sq_cq_reap, %function
sq_cq_reap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L20
	add	r1, r0, #16
	ldr	r0, [r3]
	ldr	r3, .L20+4
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r6, [r4, #12]
	bl	test_and_clear_bit
	cmp	r0, #0
	bne	.L17
.L1:
	ldr	r3, .L20+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r3, .L20+8
	ldr	r0, [r4, #12]
	ldr	r1, [r3]
	bl	ib_req_notify_cq
	ldr	r0, .L20+12
	bl	atomic_inc
	mov	r5, #0
	ldr	r7, .L20+16
	ldr	r8, .L20+20
	b	.L3
.L5:
	mov	r0, r4
	bl	svc_xprt_put
.L3:
	mov	r1, #1
	mov	r0, r6
	add	r2, sp, #4
	bl	ib_poll_cq
	cmp	r0, #0
	ble	.L19
	ldr	r2, [sp, #4]
	ldr	r3, [r7]
	cmp	r2, r3
	beq	.L4
	mov	r1, r4
	ldr	r0, [r8]
	bl	set_bit
.L4:
	add	r0, r4, #8
	bl	atomic_dec
	add	r0, r4, #4
	bl	wake_up
	ldr	r5, [sp, #8]
	cmp	r5, #0
	beq	.L5
	mov	r1, r5
	mov	r0, r4
	bl	process_context
	b	.L5
.L19:
	cmp	r5, #0
	beq	.L1
	ldr	r0, .L20+24
	bl	atomic_inc
	b	.L1
.L18:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	RDMAXPRT_SQ_PENDING
	.word	.LC0
	.word	IB_CQ_NEXT_COMP
	.word	rdma_stat_sq_poll
	.word	IB_WC_SUCCESS
	.word	XPT_CLOSE
	.word	rdma_stat_sq_prod
	.size	sq_cq_reap, .-sq_cq_reap
	.comm	rdma_stat_sq_prod,4,4
	.comm	rdma_stat_sq_poll,4,4
	.comm	XPT_CLOSE,4,4
	.comm	RDMAXPRT_SQ_PENDING,4,4
	.comm	IB_WC_SUCCESS,4,4
	.comm	IB_CQ_NEXT_COMP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
