	.file	"extr_dcn20_dpp_cm.c_dpp20_program_blnd_luta_settings.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dpp20_program_blnd_luta_settings, @function
dpp20_program_blnd_luta_settings:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	add	rsp, -128
	.cfi_def_cfa_offset 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	call	TO_DCN20_DPP@PLT
	mov	rsi, r12
	mov	rdi, rax
	mov	rbx, rax
	call	dcn20_dpp_cm_get_reg_field@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_START_CNTL_B[rip]
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_START_CNTL_G[rip]
	mov	QWORD PTR 104[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_START_CNTL_R[rip]
	mov	QWORD PTR 96[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_SLOPE_CNTL_B[rip]
	mov	QWORD PTR 88[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_SLOPE_CNTL_G[rip]
	mov	QWORD PTR 80[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_SLOPE_CNTL_R[rip]
	mov	QWORD PTR 72[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_END_CNTL1_B[rip]
	mov	QWORD PTR 64[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_END_CNTL2_B[rip]
	mov	QWORD PTR 56[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_END_CNTL1_G[rip]
	mov	QWORD PTR 48[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_END_CNTL2_G[rip]
	mov	QWORD PTR 40[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_END_CNTL1_R[rip]
	mov	QWORD PTR 32[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_END_CNTL2_R[rip]
	mov	QWORD PTR 24[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_REGION_0_1[rip]
	mov	QWORD PTR 16[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR CM_BLNDGAM_RAMA_REGION_32_33[rip]
	mov	QWORD PTR 8[rsp], rax
	call	REG@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rdx, r12
	mov	rsi, rbp
	mov	QWORD PTR [rsp], rax
	call	cm_helper_program_xfer_func@PLT
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	sub	rsp, -128
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dpp20_program_blnd_luta_settings, .-dpp20_program_blnd_luta_settings
	.comm	CM_BLNDGAM_RAMA_START_CNTL_R,4,4
	.comm	CM_BLNDGAM_RAMA_START_CNTL_G,4,4
	.comm	CM_BLNDGAM_RAMA_START_CNTL_B,4,4
	.comm	CM_BLNDGAM_RAMA_SLOPE_CNTL_R,4,4
	.comm	CM_BLNDGAM_RAMA_SLOPE_CNTL_G,4,4
	.comm	CM_BLNDGAM_RAMA_SLOPE_CNTL_B,4,4
	.comm	CM_BLNDGAM_RAMA_REGION_32_33,4,4
	.comm	CM_BLNDGAM_RAMA_REGION_0_1,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL2_R,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL2_G,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL2_B,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL1_R,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL1_G,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL1_B,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_dcn20_dpp_cm.c_dpp20_program_blnd_luta_settings.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dpp20_program_blnd_luta_settings, %function
dpp20_program_blnd_luta_settings:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L6
	sub	sp, sp, #68
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	mov	r5, r1
	bl	TO_DCN20_DPP
	add	r1, sp, #4
	mov	r4, r0
	bl	dcn20_dpp_cm_get_reg_field
	ldr	r3, .L6+4
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+8
	str	r0, [sp, #56]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+12
	str	r0, [sp, #52]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+16
	str	r0, [sp, #48]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+20
	str	r0, [sp, #44]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+24
	str	r0, [sp, #40]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+28
	str	r0, [sp, #36]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+32
	str	r0, [sp, #32]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+36
	str	r0, [sp, #28]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+40
	str	r0, [sp, #24]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+44
	str	r0, [sp, #20]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+48
	str	r0, [sp, #16]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+52
	str	r0, [sp, #12]
	ldr	r0, [r3]
	bl	REG
	ldr	r3, .L6+56
	str	r0, [sp, #8]
	ldr	r0, [r3]
	bl	REG
	mov	r3, r0
	add	r2, sp, #4
	ldr	r0, [r4]
	mov	r1, r5
	str	r3, [sp, #4]
	bl	cm_helper_program_xfer_func
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	CM_BLNDGAM_RAMA_START_CNTL_B
	.word	CM_BLNDGAM_RAMA_START_CNTL_G
	.word	CM_BLNDGAM_RAMA_START_CNTL_R
	.word	CM_BLNDGAM_RAMA_SLOPE_CNTL_B
	.word	CM_BLNDGAM_RAMA_SLOPE_CNTL_G
	.word	CM_BLNDGAM_RAMA_SLOPE_CNTL_R
	.word	CM_BLNDGAM_RAMA_END_CNTL1_B
	.word	CM_BLNDGAM_RAMA_END_CNTL2_B
	.word	CM_BLNDGAM_RAMA_END_CNTL1_G
	.word	CM_BLNDGAM_RAMA_END_CNTL2_G
	.word	CM_BLNDGAM_RAMA_END_CNTL1_R
	.word	CM_BLNDGAM_RAMA_END_CNTL2_R
	.word	CM_BLNDGAM_RAMA_REGION_0_1
	.word	CM_BLNDGAM_RAMA_REGION_32_33
	.size	dpp20_program_blnd_luta_settings, .-dpp20_program_blnd_luta_settings
	.comm	CM_BLNDGAM_RAMA_START_CNTL_R,4,4
	.comm	CM_BLNDGAM_RAMA_START_CNTL_G,4,4
	.comm	CM_BLNDGAM_RAMA_START_CNTL_B,4,4
	.comm	CM_BLNDGAM_RAMA_SLOPE_CNTL_R,4,4
	.comm	CM_BLNDGAM_RAMA_SLOPE_CNTL_G,4,4
	.comm	CM_BLNDGAM_RAMA_SLOPE_CNTL_B,4,4
	.comm	CM_BLNDGAM_RAMA_REGION_32_33,4,4
	.comm	CM_BLNDGAM_RAMA_REGION_0_1,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL2_R,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL2_G,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL2_B,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL1_R,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL1_G,4,4
	.comm	CM_BLNDGAM_RAMA_END_CNTL1_B,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
