	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hdmi_hw_set_deep_color_mode
_mtk_hdmi_hw_set_deep_color_mode:       ## @mtk_hdmi_hw_set_deep_color_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HDMI_SYS_CFG20@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdi), %rsi
	movl	8(%rdi), %edi
	movq	_DEEP_COLOR_MODE_MASK@GOTPCREL(%rip), %rax
	movq	_DEEP_COLOR_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_COLOR_8BIT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_SYS_CFG20,8,3             ## @HDMI_SYS_CFG20
	.comm	_DEEP_COLOR_MODE_MASK,4,2       ## @DEEP_COLOR_MODE_MASK
	.comm	_DEEP_COLOR_EN,4,2              ## @DEEP_COLOR_EN
	.comm	_COLOR_8BIT_MODE,4,2            ## @COLOR_8BIT_MODE
	.no_dead_strip	_mtk_hdmi_hw_set_deep_color_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_hdmi_hw_set_deep_color_mode
_mtk_hdmi_hw_set_deep_color_mode:       ; @mtk_hdmi_hw_set_deep_color_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HDMI_SYS_CFG20@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_SYS_CFG20@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, x9
Lloh3:
	adrp	x8, _DEEP_COLOR_MODE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEEP_COLOR_MODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DEEP_COLOR_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DEEP_COLOR_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh9:
	adrp	x8, _COLOR_8BIT_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _COLOR_8BIT_MODE@GOTPAGEOFF]
	ldr	w0, [x0, #8]
Lloh11:
	ldr	w3, [x8]
	b	_regmap_update_bits
	.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	_HDMI_SYS_CFG20,8,3             ; @HDMI_SYS_CFG20
	.comm	_DEEP_COLOR_MODE_MASK,4,2       ; @DEEP_COLOR_MODE_MASK
	.comm	_DEEP_COLOR_EN,4,2              ; @DEEP_COLOR_EN
	.comm	_COLOR_8BIT_MODE,4,2            ; @COLOR_8BIT_MODE
	.no_dead_strip	_mtk_hdmi_hw_set_deep_color_mode
.subsections_via_symbols
