	.file	"extr_atmel-isc-base.c_isc_try_configure_rlp_dma.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	isc_try_configure_rlp_dma, @function
isc_try_configure_rlp_dma:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	jne	.L21
	mov	eax, DWORD PTR 4[rdi]
	add	eax, -128
	cmp	eax, 20
	ja	.L4
	lea	rdx, .L6[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L16-.L6
	.long	.L15-.L6
	.long	.L14-.L6
	.long	.L5-.L6
	.long	.L13-.L6
	.long	.L12-.L6
	.long	.L11-.L6
	.long	.L13-.L6
	.long	.L12-.L6
	.long	.L11-.L6
	.long	.L13-.L6
	.long	.L12-.L6
	.long	.L11-.L6
	.long	.L13-.L6
	.long	.L12-.L6
	.long	.L11-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_DAT8[rip]
	mov	QWORD PTR 24[rdi], rax
	mov	rax, QWORD PTR ISC_DCFG_IMODE_PACKED8[rip]
.L17:
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR ISC_DCTRL_DVIEW_PACKED[rip]
	mov	DWORD PTR [rdi], 16
	mov	QWORD PTR 8[rdi], rax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_DAT10[rip]
.L19:
	mov	QWORD PTR 24[rdi], rax
	mov	rax, QWORD PTR ISC_DCFG_IMODE_PACKED16[rip]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_DAT8[rip]
.L18:
	mov	QWORD PTR 24[rdi], rax
	mov	rax, QWORD PTR ISC_DCFG_IMODE_PACKED8[rip]
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR ISC_DCTRL_DVIEW_PACKED[rip]
	mov	DWORD PTR [rdi], 8
	mov	QWORD PTR 8[rdi], rax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_DAT12[rip]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_ARGB32[rip]
	mov	QWORD PTR 24[rdi], rax
	mov	rax, QWORD PTR ISC_DCFG_IMODE_PACKED32[rip]
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR ISC_DCTRL_DVIEW_PACKED[rip]
	mov	DWORD PTR [rdi], 32
	mov	QWORD PTR 8[rdi], rax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_YYCC[rip]
	mov	QWORD PTR 24[rdi], rax
	mov	rax, QWORD PTR ISC_DCFG_IMODE_YC420P[rip]
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR ISC_DCTRL_DVIEW_PLANAR[rip]
	mov	DWORD PTR [rdi], 12
	mov	QWORD PTR 8[rdi], rax
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_RGB565[rip]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_DATY8[rip]
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_ARGB555[rip]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_ARGB444[rip]
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_YYCC[rip]
	mov	QWORD PTR 24[rdi], rax
	mov	rax, QWORD PTR ISC_DCFG_IMODE_PACKED32[rip]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rax, QWORD PTR ISC_RLP_CFG_MODE_YYCC[rip]
	mov	QWORD PTR 24[rdi], rax
	mov	rax, QWORD PTR ISC_DCFG_IMODE_YC422P[rip]
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR ISC_DCTRL_DVIEW_PLANAR[rip]
	mov	DWORD PTR [rdi], 16
	mov	QWORD PTR 8[rdi], rax
	xor	eax, eax
	ret
.L4:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	isc_try_configure_rlp_dma, .-isc_try_configure_rlp_dma
	.comm	ISC_RLP_CFG_MODE_YYCC,8,8
	.comm	ISC_RLP_CFG_MODE_RGB565,8,8
	.comm	ISC_RLP_CFG_MODE_DATY8,8,8
	.comm	ISC_RLP_CFG_MODE_DAT8,8,8
	.comm	ISC_RLP_CFG_MODE_DAT12,8,8
	.comm	ISC_RLP_CFG_MODE_DAT10,8,8
	.comm	ISC_RLP_CFG_MODE_ARGB555,8,8
	.comm	ISC_RLP_CFG_MODE_ARGB444,8,8
	.comm	ISC_RLP_CFG_MODE_ARGB32,8,8
	.comm	ISC_DCTRL_DVIEW_PLANAR,8,8
	.comm	ISC_DCTRL_DVIEW_PACKED,8,8
	.comm	ISC_DCFG_IMODE_YC422P,8,8
	.comm	ISC_DCFG_IMODE_YC420P,8,8
	.comm	ISC_DCFG_IMODE_PACKED8,8,8
	.comm	ISC_DCFG_IMODE_PACKED32,8,8
	.comm	ISC_DCFG_IMODE_PACKED16,8,8
	.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_atmel-isc-base.c_isc_try_configure_rlp_dma.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	isc_try_configure_rlp_dma, %function
isc_try_configure_rlp_dma:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r1, #0
	movne	r3, #16
	bne	.L17
	ldr	r3, [r0, #4]
	sub	r3, r3, #128
	cmp	r3, #20
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L5
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L13:
	mov	r3, #8
.L17:
	ldr	ip, .L22
.L18:
	ldr	r1, .L22+4
.L19:
	ldr	r2, .L22+8
.L20:
	ldr	ip, [ip]
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	ip, [r0, #16]
	str	r1, [r0, #12]
	str	r2, [r0, #8]
	str	r3, [r0]
	mov	r0, #0
	bx	lr
.L11:
	mov	r3, #16
	ldr	ip, .L22+12
	ldr	r1, .L22+16
	b	.L19
.L12:
	mov	r3, #16
	ldr	ip, .L22+20
	ldr	r1, .L22+16
	b	.L19
.L5:
	mov	r3, #32
	ldr	ip, .L22+24
	ldr	r1, .L22+28
	b	.L19
.L14:
	mov	r3, #12
	ldr	ip, .L22+32
	ldr	r1, .L22+36
	ldr	r2, .L22+40
	b	.L20
.L10:
	mov	r3, #16
	ldr	ip, .L22+44
	ldr	r1, .L22+16
	b	.L19
.L9:
	mov	r3, #8
	ldr	ip, .L22+48
	b	.L18
.L8:
	mov	r3, #16
	ldr	ip, .L22+52
	ldr	r1, .L22+16
	b	.L19
.L7:
	mov	r3, #16
	ldr	ip, .L22+56
	ldr	r1, .L22+16
	b	.L19
.L16:
	mov	r3, #16
	ldr	ip, .L22+32
	ldr	r1, .L22+28
	b	.L19
.L15:
	mov	r3, #16
	ldr	ip, .L22+32
	ldr	r1, .L22+60
	ldr	r2, .L22+40
	b	.L20
.L4:
	ldr	r3, .L22+64
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L23:
	.align	2
.L22:
	.word	ISC_RLP_CFG_MODE_DAT8
	.word	ISC_DCFG_IMODE_PACKED8
	.word	ISC_DCTRL_DVIEW_PACKED
	.word	ISC_RLP_CFG_MODE_DAT10
	.word	ISC_DCFG_IMODE_PACKED16
	.word	ISC_RLP_CFG_MODE_DAT12
	.word	ISC_RLP_CFG_MODE_ARGB32
	.word	ISC_DCFG_IMODE_PACKED32
	.word	ISC_RLP_CFG_MODE_YYCC
	.word	ISC_DCFG_IMODE_YC420P
	.word	ISC_DCTRL_DVIEW_PLANAR
	.word	ISC_RLP_CFG_MODE_RGB565
	.word	ISC_RLP_CFG_MODE_DATY8
	.word	ISC_RLP_CFG_MODE_ARGB555
	.word	ISC_RLP_CFG_MODE_ARGB444
	.word	ISC_DCFG_IMODE_YC422P
	.word	EINVAL
	.size	isc_try_configure_rlp_dma, .-isc_try_configure_rlp_dma
	.comm	ISC_RLP_CFG_MODE_YYCC,4,4
	.comm	ISC_RLP_CFG_MODE_RGB565,4,4
	.comm	ISC_RLP_CFG_MODE_DATY8,4,4
	.comm	ISC_RLP_CFG_MODE_DAT8,4,4
	.comm	ISC_RLP_CFG_MODE_DAT12,4,4
	.comm	ISC_RLP_CFG_MODE_DAT10,4,4
	.comm	ISC_RLP_CFG_MODE_ARGB555,4,4
	.comm	ISC_RLP_CFG_MODE_ARGB444,4,4
	.comm	ISC_RLP_CFG_MODE_ARGB32,4,4
	.comm	ISC_DCTRL_DVIEW_PLANAR,4,4
	.comm	ISC_DCTRL_DVIEW_PACKED,4,4
	.comm	ISC_DCFG_IMODE_YC422P,4,4
	.comm	ISC_DCFG_IMODE_YC420P,4,4
	.comm	ISC_DCFG_IMODE_PACKED8,4,4
	.comm	ISC_DCFG_IMODE_PACKED32,4,4
	.comm	ISC_DCFG_IMODE_PACKED16,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
