	.file	"extr_dma.c_omap_set_dma_transfer_params.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	omap_set_dma_transfer_params
	.type	omap_set_dma_transfer_params, @function
omap_set_dma_transfer_params:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	mov	esi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r9d
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR CSDP[rip]
	mov	eax, DWORD PTR 80[rsp]
	mov	DWORD PTR 12[rsp], eax
	mov	rax, QWORD PTR p[rip]
	call	[QWORD PTR [rax]]
	mov	esi, DWORD PTR CSDP[rip]
	mov	edx, r12d
	and	eax, -4
	mov	edi, eax
	mov	rax, QWORD PTR p[rip]
	or	edi, r15d
	call	[QWORD PTR 8[rax]]
	xor	eax, eax
	call	dma_omap1@PLT
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR p[rip]
	mov	edi, DWORD PTR CCR[rip]
	mov	esi, r12d
	call	[QWORD PTR [rax]]
	and	eax, -33
	cmp	DWORD PTR OMAP_DMA_SYNC_FRAME[rip], ebp
	mov	edi, eax
	je	.L24
.L3:
	mov	rax, QWORD PTR p[rip]
	mov	esi, DWORD PTR CCR[rip]
	mov	edx, r12d
	call	[QWORD PTR 8[rax]]
	mov	rax, QWORD PTR p[rip]
	mov	edi, DWORD PTR CCR2[rip]
	mov	esi, r12d
	call	[QWORD PTR [rax]]
	and	eax, -5
	cmp	DWORD PTR OMAP_DMA_SYNC_BLOCK[rip], ebp
	mov	edi, eax
	je	.L25
.L4:
	mov	rax, QWORD PTR p[rip]
	mov	esi, DWORD PTR CCR2[rip]
	mov	edx, r12d
	call	[QWORD PTR 8[rax]]
.L2:
	xor	eax, eax
	call	dma_omap2plus@PLT
	test	rax, rax
	je	.L5
	test	ebx, ebx
	jne	.L26
.L5:
	mov	rax, QWORD PTR p[rip]
	mov	edx, r12d
	mov	edi, r14d
	mov	esi, DWORD PTR CEN[rip]
	call	[QWORD PTR 8[rax]]
	mov	rax, QWORD PTR p[rip]
	mov	edx, r12d
	mov	edi, r13d
	mov	esi, DWORD PTR CFN[rip]
	mov	rax, QWORD PTR 8[rax]
	add	rsp, 24
	.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
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	rax, QWORD PTR p[rip]
	mov	edi, DWORD PTR CCR[rip]
	mov	esi, r12d
	call	[QWORD PTR [rax]]
	and	eax, -9961504
	mov	r9d, eax
	mov	eax, ebx
	and	ebx, 31
	sal	eax, 14
	and	eax, -524288
	or	eax, ebx
	or	eax, r9d
	mov	edx, eax
	and	eax, -33
	or	edx, 32
	test	DWORD PTR OMAP_DMA_SYNC_FRAME[rip], ebp
	cmovne	eax, edx
	mov	edi, eax
	and	eax, -262145
	or	edi, 262144
	test	DWORD PTR OMAP_DMA_SYNC_BLOCK[rip], ebp
	cmove	edi, eax
	mov	eax, DWORD PTR 12[rsp]
	cmp	DWORD PTR OMAP_DMA_DST_SYNC_PREFETCH[rip], eax
	je	.L27
	mov	edx, DWORD PTR 12[rsp]
	mov	eax, edi
	and	edi, -16777217
	or	eax, 16777216
	test	edx, edx
	cmovne	edi, eax
.L11:
	mov	rax, QWORD PTR p[rip]
	mov	esi, DWORD PTR CCR[rip]
	mov	edx, r12d
	call	[QWORD PTR 8[rax]]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	or	edi, 4
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L24:
	or	edi, 32
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L27:
	and	edi, -16777217
	or	edi, 8388608
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	omap_set_dma_transfer_params, .-omap_set_dma_transfer_params
	.comm	p,8,8
	.comm	OMAP_DMA_SYNC_FRAME,4,4
	.comm	OMAP_DMA_SYNC_BLOCK,4,4
	.comm	OMAP_DMA_DST_SYNC_PREFETCH,4,4
	.comm	CSDP,4,4
	.comm	CFN,4,4
	.comm	CEN,4,4
	.comm	CCR2,4,4
	.comm	CCR,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_dma.c_omap_set_dma_transfer_params.c"
	.text
	.align	2
	.global	omap_set_dma_transfer_params
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap_set_dma_transfer_params, %function
omap_set_dma_transfer_params:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, .L22
	sub	sp, sp, #12
	ldr	fp, .L22+4
	mov	r7, r2
	ldr	r2, [r5]
	mov	r6, r3
	ldr	r3, [sp, #56]
	mov	r4, r0
	mov	r8, r1
	ldr	r2, [r2]
	mov	r1, r0
	ldr	r0, [fp]
	str	r3, [sp, #4]
	ldr	r10, [sp, #48]
	ldr	r9, [sp, #52]
	blx	r2
	ldr	ip, [r5]
	bic	r0, r0, #3
	mov	r2, r4
	ldr	r1, [fp]
	ldr	r3, [ip, #4]
	orr	r0, r0, r8
	blx	r3
	bl	dma_omap1
	cmp	r0, #0
	beq	.L2
	ldr	r8, .L22+8
	ldr	r3, [r5]
	mov	r1, r4
	ldr	r0, [r8]
	ldr	r3, [r3]
	blx	r3
	ldr	r3, .L22+12
	bic	r0, r0, #32
	ldr	r3, [r3]
	mov	r2, r4
	cmp	r3, r10
	ldr	r3, [r5]
	ldr	r1, [r8]
	orreq	r0, r0, #32
	ldr	r3, [r3, #4]
	blx	r3
	ldr	r8, .L22+16
	ldr	r3, [r5]
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r0, [r8]
	blx	r3
	ldr	r3, .L22+20
	bic	r0, r0, #4
	ldr	r3, [r3]
	mov	r2, r4
	cmp	r3, r10
	ldr	r3, [r5]
	ldr	r1, [r8]
	ldr	r3, [r3, #4]
	orreq	r0, r0, #4
	blx	r3
.L2:
	bl	dma_omap2plus
	cmp	r0, #0
	cmpne	r9, #0
	bne	.L21
.L5:
	ldr	r3, [r5]
	ldr	r2, .L22+24
	mov	r0, r7
	ldr	r1, [r2]
	ldr	r3, [r3, #4]
	mov	r2, r4
	blx	r3
	mov	r2, r4
	mov	r0, r6
	ldr	r3, [r5]
	ldr	r1, .L22+28
	ldr	r3, [r3, #4]
	ldr	r1, [r1]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	bx	r3
.L21:
	ldr	r3, [r5]
	ldr	r8, .L22+8
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r0, [r8]
	blx	r3
	ldr	r2, .L22+12
	ldr	r3, .L22+32
	ldr	r1, [r2]
	bic	r2, r0, #9961472
	and	r0, r3, r9, lsl #14
	ldr	r3, .L22+20
	and	r9, r9, #31
	ldr	r3, [r3]
	bic	r2, r2, #31
	orr	r0, r0, r9
	orr	r0, r0, r2
	tst	r10, r1
	orrne	r0, r0, #32
	biceq	r0, r0, #32
	tst	r10, r3
	ldr	r3, .L22+36
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	orrne	r0, r0, #262144
	biceq	r0, r0, #262144
	cmp	r3, r2
	biceq	r0, r0, #16777216
	orreq	r0, r0, #8388608
	beq	.L11
	ldr	r3, [sp, #4]
	cmp	r3, #0
	orrne	r0, r0, #16777216
	biceq	r0, r0, #16777216
.L11:
	ldr	r3, [r5]
	mov	r2, r4
	ldr	r1, [r8]
	ldr	r3, [r3, #4]
	blx	r3
	b	.L5
.L23:
	.align	2
.L22:
	.word	p
	.word	CSDP
	.word	CCR
	.word	OMAP_DMA_SYNC_FRAME
	.word	CCR2
	.word	OMAP_DMA_SYNC_BLOCK
	.word	CEN
	.word	CFN
	.word	-524288
	.word	OMAP_DMA_DST_SYNC_PREFETCH
	.size	omap_set_dma_transfer_params, .-omap_set_dma_transfer_params
	.comm	p,4,4
	.comm	OMAP_DMA_SYNC_FRAME,4,4
	.comm	OMAP_DMA_SYNC_BLOCK,4,4
	.comm	OMAP_DMA_DST_SYNC_PREFETCH,4,4
	.comm	CSDP,4,4
	.comm	CFN,4,4
	.comm	CEN,4,4
	.comm	CCR2,4,4
	.comm	CCR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
