	.file	"extr_dma.c_s3c2410_dma_ctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	s3c2410_dma_ctrl
	.type	s3c2410_dma_ctrl, @function
s3c2410_dma_ctrl:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, esi
	call	s3c_dma_lookup_channel@PLT
	test	rax, rax
	je	.L13
	lea	esi, -128[rbx]
	cmp	esi, 6
	ja	.L4
	lea	rdx, .L6[rip]
	mov	rdi, rax
	movsx	rax, DWORD PTR [rdx+rsi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L5-.L6
	.text
.L10:
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOENT[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	s3c2410_dma_flush@PLT
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	s3c2410_dma_dostop@PLT
.L8:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	s3c2410_dma_started@PLT
.L7:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	s3c2410_dma_start@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	s3c2410_dma_ctrl, .-s3c2410_dma_ctrl
	.comm	ENOENT,4,4
	.comm	EINVAL,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_s3c2410_dma_ctrl.c"
	.text
	.align	2
	.global	s3c2410_dma_ctrl
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c2410_dma_ctrl, %function
s3c2410_dma_ctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	s3c_dma_lookup_channel
	cmp	r0, #0
	beq	.L13
	sub	r1, r4, #128
	cmp	r1, #6
	ldrls	pc, [pc, r1, asl #2]
	b	.L4
.L6:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L4
	.word	.L4
	.word	.L5
.L10:
	mov	r0, #0
	pop	{r4, pc}
.L4:
	ldr	r3, .L14
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L5:
	pop	{r4, lr}
	b	s3c2410_dma_flush
.L9:
	pop	{r4, lr}
	b	s3c2410_dma_dostop
.L8:
	pop	{r4, lr}
	b	s3c2410_dma_started
.L7:
	pop	{r4, lr}
	b	s3c2410_dma_start
.L13:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L15:
	.align	2
.L14:
	.word	ENOENT
	.word	EINVAL
	.size	s3c2410_dma_ctrl, .-s3c2410_dma_ctrl
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
