	.file	"extr_bcm-flexrm-mailbox.c_flexrm_spu_dma_unmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	flexrm_spu_dma_unmap, @function
flexrm_spu_dma_unmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, DWORD PTR DMA_FROM_DEVICE[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, DWORD PTR 4[rsi]
	mov	rbx, rsi
	call	sg_nents@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	ecx, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	dma_unmap_sg@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r12d, DWORD PTR DMA_TO_DEVICE[rip]
	call	sg_nents@PLT
	mov	esi, DWORD PTR [rbx]
	mov	ecx, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	edx, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	dma_unmap_sg@PLT
	.cfi_endproc
.LFE0:
	.size	flexrm_spu_dma_unmap, .-flexrm_spu_dma_unmap
	.comm	DMA_TO_DEVICE,4,4
	.comm	DMA_FROM_DEVICE,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_bcm-flexrm-mailbox.c_flexrm_spu_dma_unmap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	flexrm_spu_dma_unmap, %function
flexrm_spu_dma_unmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, [r1, #4]
	mov	r4, r0
	mov	r0, r6
	mov	r5, r1
	bl	sg_nents
	ldr	r3, .L4
	mov	r2, r0
	mov	r1, r6
	ldr	r3, [r3]
	mov	r0, r4
	bl	dma_unmap_sg
	ldr	r5, [r5]
	mov	r0, r5
	bl	sg_nents
	ldr	r3, .L4+4
	mov	r2, r0
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r3, [r3]
	b	dma_unmap_sg
.L5:
	.align	2
.L4:
	.word	DMA_FROM_DEVICE
	.word	DMA_TO_DEVICE
	.size	flexrm_spu_dma_unmap, .-flexrm_spu_dma_unmap
	.comm	DMA_TO_DEVICE,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
