	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hdmi_hw_ncts_enable
_mtk_hdmi_hw_ncts_enable:               ## @mtk_hdmi_hw_ncts_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GRL_CTS_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	testl	%esi, %esi
	movq	_CTS_CTRL_SOFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmovel	%ecx, %edx
	movl	%eax, %esi
	popq	%rbp
	jmp	_mtk_hdmi_mask                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GRL_CTS_CTRL,4,2               ## @GRL_CTS_CTRL
	.comm	_CTS_CTRL_SOFT,4,2              ## @CTS_CTRL_SOFT
	.no_dead_strip	_mtk_hdmi_hw_ncts_enable
.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_ncts_enable
_mtk_hdmi_hw_ncts_enable:               ; @mtk_hdmi_hw_ncts_enable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _GRL_CTS_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GRL_CTS_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CTS_CTRL_SOFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CTS_CTRL_SOFT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	cmp	w1, #0
	csel	w2, w3, wzr, eq
	mov	x1, x8
	b	_mtk_hdmi_mask
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GRL_CTS_CTRL,4,2               ; @GRL_CTS_CTRL
	.comm	_CTS_CTRL_SOFT,4,2              ; @CTS_CTRL_SOFT
	.no_dead_strip	_mtk_hdmi_hw_ncts_enable
.subsections_via_symbols
