	.file	"extr_hinic_hw_wq.c_free_wq_pages.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	free_wq_pages, @function
free_wq_pages:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r12, QWORD PTR [rsi]
	test	edx, edx
	jle	.L4
	lea	eax, -1[rdx]
	xor	ebx, ebx
	lea	r13, 4[0+rax*4]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 0[rbp]
	lea	r14, [rax+rbx*2]
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR [rax+rbx]
	add	rbx, 4
	call	be64_to_cpu@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	rdx, QWORD PTR [r14]
	mov	rdi, r12
	mov	rcx, rax
	call	dma_free_coherent@PLT
	cmp	r13, rbx
	jne	.L3
.L4:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	free_wqes_shadow@PLT
	.cfi_endproc
.LFE0:
	.size	free_wq_pages, .-free_wq_pages
	.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_hinic_hw_wq.c_free_wq_pages.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_wq_pages, %function
free_wq_pages:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r7, r2, #0
	mov	r5, r0
	movgt	r4, #0
	ldr	r8, [r1]
	ble	.L4
.L3:
	ldr	r3, [r5, #8]
	ldr	r6, [r5]
	ldr	r0, [r3, r4, lsl #2]
	bl	be64_to_cpu
	ldr	r2, [r6, r4, lsl #2]
	mov	r3, r0
	ldr	r1, [r5, #4]
	mov	r0, r8
	add	r4, r4, #1
	bl	dma_free_coherent
	cmp	r7, r4
	bne	.L3
.L4:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	free_wqes_shadow
	.size	free_wq_pages, .-free_wq_pages
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
