	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_read_state                 ## -- Begin function dpp_read_state
	.p2align	4, 0x90
_dpp_read_state:                        ## @dpp_read_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_TO_DCN10_DPP
	movq	_DPP_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DPP_CLOCK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	88(%rbx), %rdx
	callq	_REG_GET
	movq	_CM_IGAM_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_CM_IGAM_LUT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	80(%rbx), %rdx
	callq	_REG_GET
	movl	(%r14), %edi
	movq	_CM_IGAM_INPUT_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	72(%rbx), %rdx
	callq	_REG_GET
	movq	_CM_DGAM_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CM_DGAM_LUT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	64(%rbx), %rdx
	callq	_REG_GET
	movq	_CM_RGAM_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CM_RGAM_LUT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	56(%rbx), %rdx
	callq	_REG_GET
	movq	_CM_GAMUT_REMAP_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CM_GAMUT_REMAP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	48(%rbx), %rdx
	callq	_REG_GET
	cmpq	$0, 48(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_CM_GAMUT_REMAP_C11_C12@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, 40(%rbx)
	movq	_CM_GAMUT_REMAP_C13_C14@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, 32(%rbx)
	movq	_CM_GAMUT_REMAP_C21_C22@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, 24(%rbx)
	movq	_CM_GAMUT_REMAP_C23_C24@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, 16(%rbx)
	movq	_CM_GAMUT_REMAP_C31_C32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, 8(%rbx)
	movq	_CM_GAMUT_REMAP_C33_C34@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_REG_READ
	movq	%rax, (%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPP_CONTROL,4,2                ## @DPP_CONTROL
	.comm	_DPP_CLOCK_ENABLE,4,2           ## @DPP_CLOCK_ENABLE
	.comm	_CM_IGAM_CONTROL,4,2            ## @CM_IGAM_CONTROL
	.comm	_CM_IGAM_LUT_MODE,4,2           ## @CM_IGAM_LUT_MODE
	.comm	_CM_IGAM_INPUT_FORMAT,4,2       ## @CM_IGAM_INPUT_FORMAT
	.comm	_CM_DGAM_CONTROL,4,2            ## @CM_DGAM_CONTROL
	.comm	_CM_DGAM_LUT_MODE,4,2           ## @CM_DGAM_LUT_MODE
	.comm	_CM_RGAM_CONTROL,4,2            ## @CM_RGAM_CONTROL
	.comm	_CM_RGAM_LUT_MODE,4,2           ## @CM_RGAM_LUT_MODE
	.comm	_CM_GAMUT_REMAP_CONTROL,4,2     ## @CM_GAMUT_REMAP_CONTROL
	.comm	_CM_GAMUT_REMAP_MODE,4,2        ## @CM_GAMUT_REMAP_MODE
	.comm	_CM_GAMUT_REMAP_C11_C12,4,2     ## @CM_GAMUT_REMAP_C11_C12
	.comm	_CM_GAMUT_REMAP_C13_C14,4,2     ## @CM_GAMUT_REMAP_C13_C14
	.comm	_CM_GAMUT_REMAP_C21_C22,4,2     ## @CM_GAMUT_REMAP_C21_C22
	.comm	_CM_GAMUT_REMAP_C23_C24,4,2     ## @CM_GAMUT_REMAP_C23_C24
	.comm	_CM_GAMUT_REMAP_C31_C32,4,2     ## @CM_GAMUT_REMAP_C31_C32
	.comm	_CM_GAMUT_REMAP_C33_C34,4,2     ## @CM_GAMUT_REMAP_C33_C34
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dpp_read_state                 ; -- Begin function dpp_read_state
	.p2align	2
_dpp_read_state:                        ; @dpp_read_state
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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
Lloh0:
	adrp	x8, _DPP_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPP_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DPP_CLOCK_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DPP_CLOCK_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, x19, #88
	bl	_REG_GET
Lloh6:
	adrp	x20, _CM_IGAM_CONTROL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _CM_IGAM_CONTROL@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _CM_IGAM_LUT_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CM_IGAM_LUT_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, x19, #80
	bl	_REG_GET
	ldr	w0, [x20]
Lloh11:
	adrp	x8, _CM_IGAM_INPUT_FORMAT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CM_IGAM_INPUT_FORMAT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, x19, #72
	bl	_REG_GET
Lloh14:
	adrp	x8, _CM_DGAM_CONTROL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CM_DGAM_CONTROL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _CM_DGAM_LUT_MODE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CM_DGAM_LUT_MODE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x2, x19, #64
	bl	_REG_GET
Lloh20:
	adrp	x8, _CM_RGAM_CONTROL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CM_RGAM_CONTROL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _CM_RGAM_LUT_MODE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CM_RGAM_LUT_MODE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	add	x2, x19, #56
	bl	_REG_GET
Lloh26:
	adrp	x8, _CM_GAMUT_REMAP_CONTROL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CM_GAMUT_REMAP_CONTROL@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _CM_GAMUT_REMAP_MODE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CM_GAMUT_REMAP_MODE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	add	x2, x19, #48
	bl	_REG_GET
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_2
; %bb.1:
Lloh32:
	adrp	x8, _CM_GAMUT_REMAP_C11_C12@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CM_GAMUT_REMAP_C11_C12@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19, #40]
Lloh35:
	adrp	x8, _CM_GAMUT_REMAP_C13_C14@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CM_GAMUT_REMAP_C13_C14@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19, #32]
Lloh38:
	adrp	x8, _CM_GAMUT_REMAP_C21_C22@GOTPAGE
Lloh39:
	ldr	x8, [x8, _CM_GAMUT_REMAP_C21_C22@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19, #24]
Lloh41:
	adrp	x8, _CM_GAMUT_REMAP_C23_C24@GOTPAGE
Lloh42:
	ldr	x8, [x8, _CM_GAMUT_REMAP_C23_C24@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19, #16]
Lloh44:
	adrp	x8, _CM_GAMUT_REMAP_C31_C32@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CM_GAMUT_REMAP_C31_C32@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19, #8]
Lloh47:
	adrp	x8, _CM_GAMUT_REMAP_C33_C34@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CM_GAMUT_REMAP_C33_C34@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_REG_READ
	str	x0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_DPP_CONTROL,4,2                ; @DPP_CONTROL
	.comm	_DPP_CLOCK_ENABLE,4,2           ; @DPP_CLOCK_ENABLE
	.comm	_CM_IGAM_CONTROL,4,2            ; @CM_IGAM_CONTROL
	.comm	_CM_IGAM_LUT_MODE,4,2           ; @CM_IGAM_LUT_MODE
	.comm	_CM_IGAM_INPUT_FORMAT,4,2       ; @CM_IGAM_INPUT_FORMAT
	.comm	_CM_DGAM_CONTROL,4,2            ; @CM_DGAM_CONTROL
	.comm	_CM_DGAM_LUT_MODE,4,2           ; @CM_DGAM_LUT_MODE
	.comm	_CM_RGAM_CONTROL,4,2            ; @CM_RGAM_CONTROL
	.comm	_CM_RGAM_LUT_MODE,4,2           ; @CM_RGAM_LUT_MODE
	.comm	_CM_GAMUT_REMAP_CONTROL,4,2     ; @CM_GAMUT_REMAP_CONTROL
	.comm	_CM_GAMUT_REMAP_MODE,4,2        ; @CM_GAMUT_REMAP_MODE
	.comm	_CM_GAMUT_REMAP_C11_C12,4,2     ; @CM_GAMUT_REMAP_C11_C12
	.comm	_CM_GAMUT_REMAP_C13_C14,4,2     ; @CM_GAMUT_REMAP_C13_C14
	.comm	_CM_GAMUT_REMAP_C21_C22,4,2     ; @CM_GAMUT_REMAP_C21_C22
	.comm	_CM_GAMUT_REMAP_C23_C24,4,2     ; @CM_GAMUT_REMAP_C23_C24
	.comm	_CM_GAMUT_REMAP_C31_C32,4,2     ; @CM_GAMUT_REMAP_C31_C32
	.comm	_CM_GAMUT_REMAP_C33_C34,4,2     ; @CM_GAMUT_REMAP_C33_C34
.subsections_via_symbols
