	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp1_program_degamma_lutb_settings ## -- Begin function dpp1_program_degamma_lutb_settings
	.p2align	4, 0x90
_dpp1_program_degamma_lutb_settings:    ## @dpp1_program_degamma_lutb_settings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_TO_DCN10_DPP
	movq	%rax, %rbx
	leaq	-136(%rbp), %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_dpp1_cm_get_degamma_reg_field
	movq	_CM_DGAM_RAMB_START_CNTL_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -32(%rbp)
	movq	_CM_DGAM_RAMB_START_CNTL_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -40(%rbp)
	movq	_CM_DGAM_RAMB_START_CNTL_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -48(%rbp)
	movq	_CM_DGAM_RAMB_SLOPE_CNTL_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -56(%rbp)
	movq	_CM_DGAM_RAMB_SLOPE_CNTL_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -64(%rbp)
	movq	_CM_DGAM_RAMB_SLOPE_CNTL_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -72(%rbp)
	movq	_CM_DGAM_RAMB_END_CNTL1_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -80(%rbp)
	movq	_CM_DGAM_RAMB_END_CNTL2_B@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -88(%rbp)
	movq	_CM_DGAM_RAMB_END_CNTL1_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -96(%rbp)
	movq	_CM_DGAM_RAMB_END_CNTL2_G@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -104(%rbp)
	movq	_CM_DGAM_RAMB_END_CNTL1_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -112(%rbp)
	movq	_CM_DGAM_RAMB_END_CNTL2_R@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -120(%rbp)
	movq	_CM_DGAM_RAMB_REGION_0_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -128(%rbp)
	movq	_CM_DGAM_RAMB_REGION_14_15@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG
	movq	%rax, -136(%rbp)
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_cm_helper_program_xfer_func
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_DGAM_RAMB_START_CNTL_B,4,2  ## @CM_DGAM_RAMB_START_CNTL_B
	.comm	_CM_DGAM_RAMB_START_CNTL_G,4,2  ## @CM_DGAM_RAMB_START_CNTL_G
	.comm	_CM_DGAM_RAMB_START_CNTL_R,4,2  ## @CM_DGAM_RAMB_START_CNTL_R
	.comm	_CM_DGAM_RAMB_SLOPE_CNTL_B,4,2  ## @CM_DGAM_RAMB_SLOPE_CNTL_B
	.comm	_CM_DGAM_RAMB_SLOPE_CNTL_G,4,2  ## @CM_DGAM_RAMB_SLOPE_CNTL_G
	.comm	_CM_DGAM_RAMB_SLOPE_CNTL_R,4,2  ## @CM_DGAM_RAMB_SLOPE_CNTL_R
	.comm	_CM_DGAM_RAMB_END_CNTL1_B,4,2   ## @CM_DGAM_RAMB_END_CNTL1_B
	.comm	_CM_DGAM_RAMB_END_CNTL2_B,4,2   ## @CM_DGAM_RAMB_END_CNTL2_B
	.comm	_CM_DGAM_RAMB_END_CNTL1_G,4,2   ## @CM_DGAM_RAMB_END_CNTL1_G
	.comm	_CM_DGAM_RAMB_END_CNTL2_G,4,2   ## @CM_DGAM_RAMB_END_CNTL2_G
	.comm	_CM_DGAM_RAMB_END_CNTL1_R,4,2   ## @CM_DGAM_RAMB_END_CNTL1_R
	.comm	_CM_DGAM_RAMB_END_CNTL2_R,4,2   ## @CM_DGAM_RAMB_END_CNTL2_R
	.comm	_CM_DGAM_RAMB_REGION_0_1,4,2    ## @CM_DGAM_RAMB_REGION_0_1
	.comm	_CM_DGAM_RAMB_REGION_14_15,4,2  ## @CM_DGAM_RAMB_REGION_14_15
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp1_program_degamma_lutb_settings ; -- Begin function dpp1_program_degamma_lutb_settings
	.p2align	2
_dpp1_program_degamma_lutb_settings:    ; @dpp1_program_degamma_lutb_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_TO_DCN10_DPP
	mov	x20, x0
	mov	x1, sp
	bl	_dpp1_cm_get_degamma_reg_field
Lloh0:
	adrp	x8, _CM_DGAM_RAMB_START_CNTL_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_DGAM_RAMB_START_CNTL_B@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #104]
Lloh3:
	adrp	x8, _CM_DGAM_RAMB_START_CNTL_G@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CM_DGAM_RAMB_START_CNTL_G@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #96]
Lloh6:
	adrp	x8, _CM_DGAM_RAMB_START_CNTL_R@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CM_DGAM_RAMB_START_CNTL_R@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #88]
Lloh9:
	adrp	x8, _CM_DGAM_RAMB_SLOPE_CNTL_B@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CM_DGAM_RAMB_SLOPE_CNTL_B@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #80]
Lloh12:
	adrp	x8, _CM_DGAM_RAMB_SLOPE_CNTL_G@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CM_DGAM_RAMB_SLOPE_CNTL_G@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #72]
Lloh15:
	adrp	x8, _CM_DGAM_RAMB_SLOPE_CNTL_R@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CM_DGAM_RAMB_SLOPE_CNTL_R@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #64]
Lloh18:
	adrp	x8, _CM_DGAM_RAMB_END_CNTL1_B@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CM_DGAM_RAMB_END_CNTL1_B@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #56]
Lloh21:
	adrp	x8, _CM_DGAM_RAMB_END_CNTL2_B@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CM_DGAM_RAMB_END_CNTL2_B@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #48]
Lloh24:
	adrp	x8, _CM_DGAM_RAMB_END_CNTL1_G@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CM_DGAM_RAMB_END_CNTL1_G@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #40]
Lloh27:
	adrp	x8, _CM_DGAM_RAMB_END_CNTL2_G@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CM_DGAM_RAMB_END_CNTL2_G@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #32]
Lloh30:
	adrp	x8, _CM_DGAM_RAMB_END_CNTL1_R@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CM_DGAM_RAMB_END_CNTL1_R@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #24]
Lloh33:
	adrp	x8, _CM_DGAM_RAMB_END_CNTL2_R@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CM_DGAM_RAMB_END_CNTL2_R@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #16]
Lloh36:
	adrp	x8, _CM_DGAM_RAMB_REGION_0_1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CM_DGAM_RAMB_REGION_0_1@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp, #8]
Lloh39:
	adrp	x8, _CM_DGAM_RAMB_REGION_14_15@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CM_DGAM_RAMB_REGION_14_15@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_REG
	str	x0, [sp]
	ldr	w0, [x20]
	mov	x2, sp
	mov	x1, x19
	bl	_cm_helper_program_xfer_func
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_DGAM_RAMB_START_CNTL_B,4,2  ; @CM_DGAM_RAMB_START_CNTL_B
	.comm	_CM_DGAM_RAMB_START_CNTL_G,4,2  ; @CM_DGAM_RAMB_START_CNTL_G
	.comm	_CM_DGAM_RAMB_START_CNTL_R,4,2  ; @CM_DGAM_RAMB_START_CNTL_R
	.comm	_CM_DGAM_RAMB_SLOPE_CNTL_B,4,2  ; @CM_DGAM_RAMB_SLOPE_CNTL_B
	.comm	_CM_DGAM_RAMB_SLOPE_CNTL_G,4,2  ; @CM_DGAM_RAMB_SLOPE_CNTL_G
	.comm	_CM_DGAM_RAMB_SLOPE_CNTL_R,4,2  ; @CM_DGAM_RAMB_SLOPE_CNTL_R
	.comm	_CM_DGAM_RAMB_END_CNTL1_B,4,2   ; @CM_DGAM_RAMB_END_CNTL1_B
	.comm	_CM_DGAM_RAMB_END_CNTL2_B,4,2   ; @CM_DGAM_RAMB_END_CNTL2_B
	.comm	_CM_DGAM_RAMB_END_CNTL1_G,4,2   ; @CM_DGAM_RAMB_END_CNTL1_G
	.comm	_CM_DGAM_RAMB_END_CNTL2_G,4,2   ; @CM_DGAM_RAMB_END_CNTL2_G
	.comm	_CM_DGAM_RAMB_END_CNTL1_R,4,2   ; @CM_DGAM_RAMB_END_CNTL1_R
	.comm	_CM_DGAM_RAMB_END_CNTL2_R,4,2   ; @CM_DGAM_RAMB_END_CNTL2_R
	.comm	_CM_DGAM_RAMB_REGION_0_1,4,2    ; @CM_DGAM_RAMB_REGION_0_1
	.comm	_CM_DGAM_RAMB_REGION_14_15,4,2  ; @CM_DGAM_RAMB_REGION_14_15
.subsections_via_symbols
