	.file	"extr_pxa2xx-pcm-lib.c_pxa2xx_pcm_free_dma_buffers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pxa2xx_pcm_free_dma_buffers
	.type	pxa2xx_pcm_free_dma_buffers, @function
pxa2xx_pcm_free_dma_buffers:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
.L3:
	mov	rax, QWORD PTR 8[r12]
	mov	rbx, QWORD PTR [rax+rbp]
	test	rbx, rbx
	je	.L2
	mov	rdx, QWORD PTR [rbx]
	test	rdx, rdx
	je	.L2
	mov	rax, QWORD PTR [r12]
	mov	ecx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 12[rbx]
	mov	edi, DWORD PTR [rax]
	call	dma_free_writecombine@PLT
	mov	QWORD PTR [rbx], 0
.L2:
	add	rbp, 8
	cmp	rbp, 16
	jne	.L3
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pxa2xx_pcm_free_dma_buffers, .-pxa2xx_pcm_free_dma_buffers
	.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_pxa2xx-pcm-lib.c_pxa2xx_pcm_free_dma_buffers.c"
	.text
	.align	2
	.global	pxa2xx_pcm_free_dma_buffers
	.syntax unified
	.arm
	.fpu softvfp
	.type	pxa2xx_pcm_free_dma_buffers, %function
pxa2xx_pcm_free_dma_buffers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	mov	r6, r0
	mov	r7, r4
.L3:
	ldr	r3, [r6, #4]
	ldr	r5, [r3, r4]
	add	r4, r4, #4
	cmp	r5, #0
	beq	.L2
	ldr	r2, [r5]
	cmp	r2, #0
	beq	.L2
	ldr	r3, [r6]
	ldr	r1, [r5, #8]
	ldr	r0, [r3]
	ldr	r3, [r5, #4]
	bl	dma_free_writecombine
	str	r7, [r5]
.L2:
	cmp	r4, #8
	bne	.L3
	pop	{r4, r5, r6, r7, r8, pc}
	.size	pxa2xx_pcm_free_dma_buffers, .-pxa2xx_pcm_free_dma_buffers
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
