	.file	"extr_dma.c_qce_dma_prep_sgs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qce_dma_prep_sgs
	.type	qce_dma_prep_sgs, @function
qce_dma_prep_sgs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	xor	r9d, r9d
	sub	rsp, 16
	.cfi_def_cfa_offset 72
	mov	r13, QWORD PTR [rdi]
	mov	rdi, QWORD PTR 8[rdi]
	mov	r14, QWORD PTR 72[rsp]
	mov	r15, QWORD PTR DMA_PREP_INTERRUPT[rip]
	push	0
	.cfi_def_cfa_offset 80
	or	r15, QWORD PTR DMA_CTRL_ACK[rip]
	mov	r8d, DWORD PTR DMA_MEM_TO_DEV[rip]
	mov	rcx, r15
	call	qce_dma_prep_sg@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	eax, eax
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	QWORD PTR 64[rsp], r14
	mov	r9, rbx
	mov	rcx, r15
	mov	edx, r12d
	mov	r8d, DWORD PTR DMA_DEV_TO_MEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rsi, rbp
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	qce_dma_prep_sg@PLT
	.cfi_endproc
.LFE0:
	.size	qce_dma_prep_sgs, .-qce_dma_prep_sgs
	.comm	DMA_PREP_INTERRUPT,8,8
	.comm	DMA_MEM_TO_DEV,4,4
	.comm	DMA_DEV_TO_MEM,4,4
	.comm	DMA_CTRL_ACK,8,8
	.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_dma.c_qce_dma_prep_sgs.c"
	.text
	.align	2
	.global	qce_dma_prep_sgs
	.syntax unified
	.arm
	.fpu softvfp
	.type	qce_dma_prep_sgs, %function
qce_dma_prep_sgs:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	ip, r0
	mov	r6, #0
	mov	lr, r3
	ldr	r4, .L6
	ldr	r3, .L6+4
	ldr	r0, .L6+8
	ldr	r3, [r3]
	ldr	r4, [r4]
	ldr	r5, [r0]
	sub	sp, sp, #20
	orr	r4, r4, r3
	ldr	r0, [ip, #4]
	mov	r3, r4
	str	r5, [sp]
	str	r6, [sp, #8]
	str	r6, [sp, #4]
	add	r7, sp, #48
	mov	r5, lr
	ldm	r7, {r7, r8, r9}
	ldr	r6, [ip]
	bl	qce_dma_prep_sg
	cmp	r0, #0
	beq	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	ldr	r3, .L6+12
	str	r9, [sp, #56]
	ldr	ip, [r3]
	mov	r2, r7
	mov	r3, r4
	mov	r1, r5
	mov	r0, r6
	str	r8, [sp, #52]
	str	ip, [sp, #48]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	qce_dma_prep_sg
.L7:
	.align	2
.L6:
	.word	DMA_PREP_INTERRUPT
	.word	DMA_CTRL_ACK
	.word	DMA_MEM_TO_DEV
	.word	DMA_DEV_TO_MEM
	.size	qce_dma_prep_sgs, .-qce_dma_prep_sgs
	.comm	DMA_PREP_INTERRUPT,4,4
	.comm	DMA_MEM_TO_DEV,4,4
	.comm	DMA_DEV_TO_MEM,4,4
	.comm	DMA_CTRL_ACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
