	.file	"extr_malidp_planes.c_malidp_de_set_color_encoding.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	malidp_de_set_color_encoding, @function
malidp_de_set_color_encoding:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR MALIDP_COLORADJ_NUM_COEFFS[rip]
	test	eax, eax
	je	.L6
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, esi
	mov	edx, edx
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	lea	r12, 0[0+rsi*8]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	rbp, 0[0+rdx*8]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 0[r13]
	mov	ecx, ebx
	mov	edi, DWORD PTR 8[r13]
	mov	rdx, QWORD PTR [rax]
	add	rdx, QWORD PTR 8[rax]
	lea	eax, 0[0+rbx*4]
	add	ebx, 1
	add	rdx, rax
	mov	rax, QWORD PTR malidp_yuv2rgb_coeffs[rip]
	mov	rax, QWORD PTR [rax+r12]
	mov	rax, QWORD PTR [rax+rbp]
	mov	esi, DWORD PTR [rax+rcx*4]
	call	malidp_hw_write@PLT
	cmp	DWORD PTR MALIDP_COLORADJ_NUM_COEFFS[rip], ebx
	ja	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE0:
	.size	malidp_de_set_color_encoding, .-malidp_de_set_color_encoding
	.comm	malidp_yuv2rgb_coeffs,8,8
	.comm	MALIDP_COLORADJ_NUM_COEFFS,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_malidp_planes.c_malidp_de_set_color_encoding.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	malidp_de_set_color_encoding, %function
malidp_de_set_color_encoding:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L10
	ldr	r3, [r8]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r5, r0
	mov	r4, #0
	ldr	r9, .L10+4
	lsl	r7, r1, #2
	lsl	r6, r2, #2
.L3:
	ldr	r2, [r9]
	ldr	r3, [r5]
	ldr	r0, [r2, r7]
	ldm	r3, {r1, r2}
	ldr	r3, [r0, r6]
	add	r2, r2, r1
	add	r2, r2, r4, lsl #2
	ldr	r1, [r3, r4, lsl #2]
	ldr	r0, [r5, #4]
	bl	malidp_hw_write
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	.align	2
.L10:
	.word	MALIDP_COLORADJ_NUM_COEFFS
	.word	malidp_yuv2rgb_coeffs
	.size	malidp_de_set_color_encoding, .-malidp_de_set_color_encoding
	.comm	malidp_yuv2rgb_coeffs,4,4
	.comm	MALIDP_COLORADJ_NUM_COEFFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
