	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_hdmi_hw_enable
_zx_hdmi_hw_enable:                     ## @zx_hdmi_hw_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_CLKPWD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CLKPWD_PDIDCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_hdmi_writeb_mask
	movq	_FUNC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FUNC_HDMI_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_hdmi_writeb_mask
	movq	_P2T_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_P2T_DC_PKT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_hdmi_writeb_mask
	movq	_TEST_TXCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TEST_TXCTRL_HDMI_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_hdmi_writeb_mask
	movq	_HDMICTL4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_hdmi_writeb
	movq	_INTR1_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_INTR1_MONITOR_DETECT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%ecx, %edx
	callq	_hdmi_writeb_mask
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_zx_hdmi_phy_start              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CLKPWD,4,2                     ## @CLKPWD
	.comm	_CLKPWD_PDIDCK,4,2              ## @CLKPWD_PDIDCK
	.comm	_FUNC_SEL,4,2                   ## @FUNC_SEL
	.comm	_FUNC_HDMI_EN,4,2               ## @FUNC_HDMI_EN
	.comm	_P2T_CTRL,4,2                   ## @P2T_CTRL
	.comm	_P2T_DC_PKT_EN,4,2              ## @P2T_DC_PKT_EN
	.comm	_TEST_TXCTRL,4,2                ## @TEST_TXCTRL
	.comm	_TEST_TXCTRL_HDMI_MODE,4,2      ## @TEST_TXCTRL_HDMI_MODE
	.comm	_HDMICTL4,4,2                   ## @HDMICTL4
	.comm	_INTR1_MASK,4,2                 ## @INTR1_MASK
	.comm	_INTR1_MONITOR_DETECT,4,2       ## @INTR1_MONITOR_DETECT
	.no_dead_strip	_zx_hdmi_hw_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_hdmi_hw_enable
_zx_hdmi_hw_enable:                     ; @zx_hdmi_hw_enable
	.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, x0
Lloh0:
	adrp	x8, _CLKPWD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLKPWD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CLKPWD_PDIDCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLKPWD_PDIDCK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x2
	bl	_hdmi_writeb_mask
Lloh6:
	adrp	x8, _FUNC_SEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FUNC_SEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _FUNC_HDMI_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FUNC_HDMI_EN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_hdmi_writeb_mask
Lloh12:
	adrp	x8, _P2T_CTRL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _P2T_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _P2T_DC_PKT_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _P2T_DC_PKT_EN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_hdmi_writeb_mask
Lloh18:
	adrp	x8, _TEST_TXCTRL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TEST_TXCTRL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _TEST_TXCTRL_HDMI_MODE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TEST_TXCTRL_HDMI_MODE@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_hdmi_writeb_mask
Lloh24:
	adrp	x8, _HDMICTL4@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HDMICTL4@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #3
	bl	_hdmi_writeb
Lloh27:
	adrp	x8, _INTR1_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _INTR1_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _INTR1_MONITOR_DETECT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _INTR1_MONITOR_DETECT@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_hdmi_writeb_mask
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_zx_hdmi_phy_start
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_CLKPWD,4,2                     ; @CLKPWD
	.comm	_CLKPWD_PDIDCK,4,2              ; @CLKPWD_PDIDCK
	.comm	_FUNC_SEL,4,2                   ; @FUNC_SEL
	.comm	_FUNC_HDMI_EN,4,2               ; @FUNC_HDMI_EN
	.comm	_P2T_CTRL,4,2                   ; @P2T_CTRL
	.comm	_P2T_DC_PKT_EN,4,2              ; @P2T_DC_PKT_EN
	.comm	_TEST_TXCTRL,4,2                ; @TEST_TXCTRL
	.comm	_TEST_TXCTRL_HDMI_MODE,4,2      ; @TEST_TXCTRL_HDMI_MODE
	.comm	_HDMICTL4,4,2                   ; @HDMICTL4
	.comm	_INTR1_MASK,4,2                 ; @INTR1_MASK
	.comm	_INTR1_MONITOR_DETECT,4,2       ; @INTR1_MONITOR_DETECT
	.no_dead_strip	_zx_hdmi_hw_enable
.subsections_via_symbols
