	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hdmi_hw_vid_black
_mtk_hdmi_hw_vid_black:                 ## @mtk_hdmi_hw_vid_black
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_VIDEO_CFG_4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_NORMAL_PATH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_GEN_RGB@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_VIDEO_SOURCE_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	popq	%rbp
	jmp	_mtk_hdmi_mask                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDEO_CFG_4,4,2                ## @VIDEO_CFG_4
	.comm	_GEN_RGB,4,2                    ## @GEN_RGB
	.comm	_NORMAL_PATH,4,2                ## @NORMAL_PATH
	.comm	_VIDEO_SOURCE_SEL,4,2           ## @VIDEO_SOURCE_SEL
	.no_dead_strip	_mtk_hdmi_hw_vid_black
.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_vid_black
_mtk_hdmi_hw_vid_black:                 ; @mtk_hdmi_hw_vid_black
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VIDEO_CFG_4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDEO_CFG_4@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GEN_RGB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GEN_RGB@GOTPAGEOFF]
Lloh5:
	adrp	x10, _NORMAL_PATH@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NORMAL_PATH@GOTPAGEOFF]
	cmp	w1, #0
	csel	x9, x10, x9, eq
Lloh7:
	adrp	x10, _VIDEO_SOURCE_SEL@GOTPAGE
Lloh8:
	ldr	x10, [x10, _VIDEO_SOURCE_SEL@GOTPAGEOFF]
	ldr	w2, [x9]
Lloh9:
	ldr	w3, [x10]
	mov	x1, x8
	b	_mtk_hdmi_mask
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDEO_CFG_4,4,2                ; @VIDEO_CFG_4
	.comm	_GEN_RGB,4,2                    ; @GEN_RGB
	.comm	_NORMAL_PATH,4,2                ; @NORMAL_PATH
	.comm	_VIDEO_SOURCE_SEL,4,2           ; @VIDEO_SOURCE_SEL
	.no_dead_strip	_mtk_hdmi_hw_vid_black
.subsections_via_symbols
