	.file	"extr_mtk_disp_rdma.c_rdma_fmt_convert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rdma_fmt_convert, @function
rdma_fmt_convert:
.LFB0:
	.cfi_startproc
	endbr64
	add	esi, -128
	cmp	esi, 13
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rsi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L12-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L2-.L4
	.long	.L8-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_ARGB8888[rip]
	or	eax, DWORD PTR MEM_MODE_INPUT_SWAP[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_RGBA8888[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_RGBA8888[rip]
	or	eax, DWORD PTR MEM_MODE_INPUT_SWAP[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_ARGB8888[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_RGB888[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_RGB888[rip]
	or	eax, DWORD PTR MEM_MODE_INPUT_SWAP[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_RGB565[rip]
	or	eax, DWORD PTR MEM_MODE_INPUT_SWAP[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_YUYV[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_UYVY[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR MEM_MODE_INPUT_FORMAT_RGB565[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	rdma_fmt_convert, .-rdma_fmt_convert
	.comm	MEM_MODE_INPUT_SWAP,4,4
	.comm	MEM_MODE_INPUT_FORMAT_YUYV,4,4
	.comm	MEM_MODE_INPUT_FORMAT_UYVY,4,4
	.comm	MEM_MODE_INPUT_FORMAT_RGBA8888,4,4
	.comm	MEM_MODE_INPUT_FORMAT_RGB888,4,4
	.comm	MEM_MODE_INPUT_FORMAT_RGB565,4,4
	.comm	MEM_MODE_INPUT_FORMAT_ARGB8888,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_mtk_disp_rdma.c_rdma_fmt_convert.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rdma_fmt_convert, %function
rdma_fmt_convert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	r1, r1, #128
	cmp	r1, #13
	ldrls	pc, [pc, r1, asl #2]
	b	.L2
.L4:
	.word	.L12
	.word	.L5
	.word	.L3
	.word	.L11
	.word	.L10
	.word	.L10
	.word	.L9
	.word	.L2
	.word	.L8
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L8:
	ldr	r2, .L15
	ldr	r3, .L15+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bx	lr
.L5:
	ldr	r3, .L15+8
	ldr	r0, [r3]
	bx	lr
.L3:
	ldr	r2, .L15+8
	ldr	r3, .L15+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bx	lr
.L10:
	ldr	r3, .L15
	ldr	r0, [r3]
	bx	lr
.L9:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	bx	lr
.L7:
	ldr	r2, .L15+12
	ldr	r3, .L15+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bx	lr
.L6:
	ldr	r2, .L15+16
	ldr	r3, .L15+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bx	lr
.L12:
	ldr	r3, .L15+20
	ldr	r0, [r3]
	bx	lr
.L11:
	ldr	r3, .L15+24
	ldr	r0, [r3]
	bx	lr
.L2:
	ldr	r3, .L15+16
	ldr	r0, [r3]
	bx	lr
.L16:
	.align	2
.L15:
	.word	MEM_MODE_INPUT_FORMAT_ARGB8888
	.word	MEM_MODE_INPUT_SWAP
	.word	MEM_MODE_INPUT_FORMAT_RGBA8888
	.word	MEM_MODE_INPUT_FORMAT_RGB888
	.word	MEM_MODE_INPUT_FORMAT_RGB565
	.word	MEM_MODE_INPUT_FORMAT_YUYV
	.word	MEM_MODE_INPUT_FORMAT_UYVY
	.size	rdma_fmt_convert, .-rdma_fmt_convert
	.comm	MEM_MODE_INPUT_SWAP,4,4
	.comm	MEM_MODE_INPUT_FORMAT_YUYV,4,4
	.comm	MEM_MODE_INPUT_FORMAT_UYVY,4,4
	.comm	MEM_MODE_INPUT_FORMAT_RGBA8888,4,4
	.comm	MEM_MODE_INPUT_FORMAT_RGB888,4,4
	.comm	MEM_MODE_INPUT_FORMAT_RGB565,4,4
	.comm	MEM_MODE_INPUT_FORMAT_ARGB8888,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
