	.file	"extr_ocrdma_verbs.c_ocrdma_update_free_srq_cqe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocrdma_update_free_srq_cqe, @function
ocrdma_update_free_srq_cqe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR [rdx]
	call	get_ocrdma_srq@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rbp, rax
	call	le32_to_cpu@PLT
	mov	ecx, DWORD PTR OCRDMA_CQE_BUFTAG_SHIFT[rip]
	xor	edi, edi
	sar	eax, cl
	mov	ebx, eax
	and	ebx, DWORD PTR 0[rbp]
	setle	dil
	xor	r13d, r13d
	call	BUG_ON@PLT
	mov	rax, QWORD PTR 8[rbp]
	movsx	rdx, ebx
	mov	rsi, r13
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR [r12], eax
	lea	r12, 4[rbp]
	mov	rdi, r12
	call	spin_lock_irqsave@PLT
	lea	esi, -1[rbx]
	mov	rdi, rbp
	call	ocrdma_srq_toggle_bit@PLT
	mov	rdi, r12
	mov	rsi, r13
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ocrdma_hwq_inc_tail@PLT
	.cfi_endproc
.LFE0:
	.size	ocrdma_update_free_srq_cqe, .-ocrdma_update_free_srq_cqe
	.comm	OCRDMA_CQE_BUFTAG_SHIFT,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_ocrdma_verbs.c_ocrdma_update_free_srq_cqe.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocrdma_update_free_srq_cqe, %function
ocrdma_update_free_srq_cqe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	ldr	r0, [r2]
	mov	r5, r1
	bl	get_ocrdma_srq
	mov	r4, r0
	ldr	r0, [r5]
	bl	le32_to_cpu
	mov	r8, #0
	ldr	r3, .L4
	ldr	r5, [r4]
	ldr	r3, [r3]
	add	r7, r4, #4
	and	r5, r5, r0, asr r3
	cmp	r5, r8
	movgt	r0, #0
	movle	r0, #1
	bl	BUG_ON
	ldr	r3, [r4, #8]
	mov	r1, r8
	ldr	r3, [r3, r5, lsl #2]
	mov	r0, r7
	str	r3, [r6]
	bl	spin_lock_irqsave
	sub	r1, r5, #1
	mov	r0, r4
	bl	ocrdma_srq_toggle_bit
	mov	r1, r8
	mov	r0, r7
	bl	spin_unlock_irqrestore
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	ocrdma_hwq_inc_tail
.L5:
	.align	2
.L4:
	.word	OCRDMA_CQE_BUFTAG_SHIFT
	.size	ocrdma_update_free_srq_cqe, .-ocrdma_update_free_srq_cqe
	.comm	OCRDMA_CQE_BUFTAG_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
