	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dw_hdmi_enable_video_path
_dw_hdmi_enable_video_path:             ## @dw_hdmi_enable_video_path
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_HDMI_FC_CTRLDUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$12, %esi
	callq	_hdmi_writeb
	movq	_HDMI_FC_EXCTRLDUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_hdmi_writeb
	movq	_HDMI_FC_EXCTRLSPAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_hdmi_writeb
	movq	_HDMI_FC_CH0PREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_hdmi_writeb
	movq	_HDMI_FC_CH1PREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$22, %esi
	callq	_hdmi_writeb
	movq	_HDMI_FC_CH2PREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$33, %esi
	callq	_hdmi_writeb
	movq	_HDMI_MC_CLKDIS_HDCPCLK_DISABLE@GOTPCREL(%rip), %rax
	movq	_HDMI_MC_CLKDIS_CSCCLK_DISABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movq	_HDMI_MC_CLKDIS_AUDCLK_DISABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_HDMI_MC_CLKDIS_PREPCLK_DISABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_HDMI_MC_CLKDIS_TMDSCLK_DISABLE@GOTPCREL(%rip), %r12
	orl	(%r12), %ecx
	orl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	movq	_HDMI_MC_CLKDIS_PIXELCLK_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	%ecx, %esi
	movl	%esi, (%rbx)
	movq	_HDMI_MC_CLKDIS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movl	(%r12), %esi
	notl	%esi
	andl	(%rbx), %esi
	movl	%esi, (%rbx)
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
	movq	%rbx, %rdi
	callq	_is_color_space_conversion
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	notl	%esi
	andl	(%rbx), %esi
	movl	%esi, (%rbx)
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_hdmi_writeb
LBB0_2:
	movq	%rbx, %rdi
	callq	_is_color_space_conversion
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_BYPASS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_IN_PATH@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	_HDMI_MC_FLOWCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_writeb                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_FC_CTRLDUR,4,2            ## @HDMI_FC_CTRLDUR
	.comm	_HDMI_FC_EXCTRLDUR,4,2          ## @HDMI_FC_EXCTRLDUR
	.comm	_HDMI_FC_EXCTRLSPAC,4,2         ## @HDMI_FC_EXCTRLSPAC
	.comm	_HDMI_FC_CH0PREAM,4,2           ## @HDMI_FC_CH0PREAM
	.comm	_HDMI_FC_CH1PREAM,4,2           ## @HDMI_FC_CH1PREAM
	.comm	_HDMI_FC_CH2PREAM,4,2           ## @HDMI_FC_CH2PREAM
	.comm	_HDMI_MC_CLKDIS_HDCPCLK_DISABLE,4,2 ## @HDMI_MC_CLKDIS_HDCPCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_CSCCLK_DISABLE,4,2 ## @HDMI_MC_CLKDIS_CSCCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_AUDCLK_DISABLE,4,2 ## @HDMI_MC_CLKDIS_AUDCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_PREPCLK_DISABLE,4,2 ## @HDMI_MC_CLKDIS_PREPCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_TMDSCLK_DISABLE,4,2 ## @HDMI_MC_CLKDIS_TMDSCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_PIXELCLK_DISABLE,4,2 ## @HDMI_MC_CLKDIS_PIXELCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS,4,2             ## @HDMI_MC_CLKDIS
	.comm	_HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_IN_PATH,4,2 ## @HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_IN_PATH
	.comm	_HDMI_MC_FLOWCTRL,4,2           ## @HDMI_MC_FLOWCTRL
	.comm	_HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_BYPASS,4,2 ## @HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_BYPASS
	.no_dead_strip	_dw_hdmi_enable_video_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dw_hdmi_enable_video_path
_dw_hdmi_enable_video_path:             ; @dw_hdmi_enable_video_path
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _HDMI_FC_CTRLDUR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_FC_CTRLDUR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #12
	bl	_hdmi_writeb
Lloh3:
	adrp	x8, _HDMI_FC_EXCTRLDUR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDMI_FC_EXCTRLDUR@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_hdmi_writeb
Lloh6:
	adrp	x8, _HDMI_FC_EXCTRLSPAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDMI_FC_EXCTRLSPAC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_hdmi_writeb
Lloh9:
	adrp	x8, _HDMI_FC_CH0PREAM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDMI_FC_CH0PREAM@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #11
	bl	_hdmi_writeb
Lloh12:
	adrp	x8, _HDMI_FC_CH1PREAM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDMI_FC_CH1PREAM@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #22
	bl	_hdmi_writeb
Lloh15:
	adrp	x8, _HDMI_FC_CH2PREAM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HDMI_FC_CH2PREAM@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #33
	bl	_hdmi_writeb
Lloh18:
	adrp	x8, _HDMI_MC_CLKDIS_HDCPCLK_DISABLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HDMI_MC_CLKDIS_HDCPCLK_DISABLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x20, _HDMI_MC_CLKDIS_CSCCLK_DISABLE@GOTPAGE
Lloh22:
	ldr	x20, [x20, _HDMI_MC_CLKDIS_CSCCLK_DISABLE@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _HDMI_MC_CLKDIS_AUDCLK_DISABLE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HDMI_MC_CLKDIS_AUDCLK_DISABLE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _HDMI_MC_CLKDIS_PREPCLK_DISABLE@GOTPAGE
Lloh27:
	ldr	x10, [x10, _HDMI_MC_CLKDIS_PREPCLK_DISABLE@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh28:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh29:
	adrp	x22, _HDMI_MC_CLKDIS_TMDSCLK_DISABLE@GOTPAGE
Lloh30:
	ldr	x22, [x22, _HDMI_MC_CLKDIS_TMDSCLK_DISABLE@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w8, w9
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh31:
	adrp	x9, _HDMI_MC_CLKDIS_PIXELCLK_DISABLE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _HDMI_MC_CLKDIS_PIXELCLK_DISABLE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	bic	w1, w8, w9
	str	w1, [x19]
Lloh34:
	adrp	x21, _HDMI_MC_CLKDIS@GOTPAGE
Lloh35:
	ldr	x21, [x21, _HDMI_MC_CLKDIS@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_hdmi_writeb
	ldr	w8, [x22]
	ldr	w9, [x19]
	bic	w1, w9, w8
	str	w1, [x19]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_hdmi_writeb
	mov	x0, x19
	bl	_is_color_space_conversion
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w1, w9, w8
	str	w1, [x19]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_hdmi_writeb
LBB0_2:
	mov	x0, x19
	bl	_is_color_space_conversion
Lloh36:
	adrp	x8, _HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_BYPASS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_BYPASS@GOTPAGEOFF]
Lloh38:
	adrp	x9, _HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_IN_PATH@GOTPAGE
Lloh39:
	ldr	x9, [x9, _HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_IN_PATH@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _HDMI_MC_FLOWCTRL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _HDMI_MC_FLOWCTRL@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hdmi_writeb
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.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
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_FC_CTRLDUR,4,2            ; @HDMI_FC_CTRLDUR
	.comm	_HDMI_FC_EXCTRLDUR,4,2          ; @HDMI_FC_EXCTRLDUR
	.comm	_HDMI_FC_EXCTRLSPAC,4,2         ; @HDMI_FC_EXCTRLSPAC
	.comm	_HDMI_FC_CH0PREAM,4,2           ; @HDMI_FC_CH0PREAM
	.comm	_HDMI_FC_CH1PREAM,4,2           ; @HDMI_FC_CH1PREAM
	.comm	_HDMI_FC_CH2PREAM,4,2           ; @HDMI_FC_CH2PREAM
	.comm	_HDMI_MC_CLKDIS_HDCPCLK_DISABLE,4,2 ; @HDMI_MC_CLKDIS_HDCPCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_CSCCLK_DISABLE,4,2 ; @HDMI_MC_CLKDIS_CSCCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_AUDCLK_DISABLE,4,2 ; @HDMI_MC_CLKDIS_AUDCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_PREPCLK_DISABLE,4,2 ; @HDMI_MC_CLKDIS_PREPCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_TMDSCLK_DISABLE,4,2 ; @HDMI_MC_CLKDIS_TMDSCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS_PIXELCLK_DISABLE,4,2 ; @HDMI_MC_CLKDIS_PIXELCLK_DISABLE
	.comm	_HDMI_MC_CLKDIS,4,2             ; @HDMI_MC_CLKDIS
	.comm	_HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_IN_PATH,4,2 ; @HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_IN_PATH
	.comm	_HDMI_MC_FLOWCTRL,4,2           ; @HDMI_MC_FLOWCTRL
	.comm	_HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_BYPASS,4,2 ; @HDMI_MC_FLOWCTRL_FEED_THROUGH_OFF_CSC_BYPASS
	.no_dead_strip	_dw_hdmi_enable_video_path
.subsections_via_symbols
