	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hdmi_phy_enable_tmds
_mtk_hdmi_phy_enable_tmds:              ## @mtk_hdmi_phy_enable_tmds
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_HDMI_CON7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RG_HTPLL_AUTOK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_mtk_hdmi_phy_set_bits
	movq	_HDMI_CON6@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_RG_HTPLL_RLH_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_clear_bits
	movl	(%r15), %esi
	movq	_RG_HTPLL_POSDIV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movq	_HDMI_CON2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_RG_HDMITX_EN_MBIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movl	$80, %edi
	movl	$100, %esi
	callq	_usleep_range
	movl	(%r15), %esi
	movq	_RG_HTPLL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movl	(%r14), %esi
	movq	_RG_HDMITX_EN_TX_CKLDO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movq	_HDMI_CON0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_RG_HDMITX_EN_SLDO_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movl	$80, %edi
	movl	$100, %esi
	callq	_usleep_range
	movl	(%r14), %esi
	movq	_RG_HDMITX_MBIAS_LPF_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movl	(%r15), %esi
	movq	_RG_HDMITX_EN_SER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movl	(%r15), %esi
	movq	_RG_HDMITX_EN_PRED_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movl	(%r15), %esi
	movq	_RG_HDMITX_EN_DRV_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mtk_hdmi_phy_set_bits
	movl	$80, %edi
	movl	$100, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usleep_range                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_CON7,4,2                  ## @HDMI_CON7
	.comm	_RG_HTPLL_AUTOK_EN,4,2          ## @RG_HTPLL_AUTOK_EN
	.comm	_HDMI_CON6,4,2                  ## @HDMI_CON6
	.comm	_RG_HTPLL_RLH_EN,4,2            ## @RG_HTPLL_RLH_EN
	.comm	_RG_HTPLL_POSDIV_MASK,4,2       ## @RG_HTPLL_POSDIV_MASK
	.comm	_HDMI_CON2,4,2                  ## @HDMI_CON2
	.comm	_RG_HDMITX_EN_MBIAS,4,2         ## @RG_HDMITX_EN_MBIAS
	.comm	_RG_HTPLL_EN,4,2                ## @RG_HTPLL_EN
	.comm	_RG_HDMITX_EN_TX_CKLDO,4,2      ## @RG_HDMITX_EN_TX_CKLDO
	.comm	_HDMI_CON0,4,2                  ## @HDMI_CON0
	.comm	_RG_HDMITX_EN_SLDO_MASK,4,2     ## @RG_HDMITX_EN_SLDO_MASK
	.comm	_RG_HDMITX_MBIAS_LPF_EN,4,2     ## @RG_HDMITX_MBIAS_LPF_EN
	.comm	_RG_HDMITX_EN_SER_MASK,4,2      ## @RG_HDMITX_EN_SER_MASK
	.comm	_RG_HDMITX_EN_PRED_MASK,4,2     ## @RG_HDMITX_EN_PRED_MASK
	.comm	_RG_HDMITX_EN_DRV_MASK,4,2      ## @RG_HDMITX_EN_DRV_MASK
	.no_dead_strip	_mtk_hdmi_phy_enable_tmds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_hdmi_phy_enable_tmds
_mtk_hdmi_phy_enable_tmds:              ; @mtk_hdmi_phy_enable_tmds
	.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_CON7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_CON7@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RG_HTPLL_AUTOK_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RG_HTPLL_AUTOK_EN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_mtk_hdmi_phy_set_bits
Lloh6:
	adrp	x20, _HDMI_CON6@GOTPAGE
Lloh7:
	ldr	x20, [x20, _HDMI_CON6@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _RG_HTPLL_RLH_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RG_HTPLL_RLH_EN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_clear_bits
	ldr	w1, [x20]
Lloh11:
	adrp	x8, _RG_HTPLL_POSDIV_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RG_HTPLL_POSDIV_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
Lloh14:
	adrp	x21, _HDMI_CON2@GOTPAGE
Lloh15:
	ldr	x21, [x21, _HDMI_CON2@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh16:
	adrp	x8, _RG_HDMITX_EN_MBIAS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RG_HDMITX_EN_MBIAS@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
	mov	w0, #80
	mov	w1, #100
	bl	_usleep_range
	ldr	w1, [x20]
Lloh19:
	adrp	x8, _RG_HTPLL_EN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RG_HTPLL_EN@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
	ldr	w1, [x21]
Lloh22:
	adrp	x8, _RG_HDMITX_EN_TX_CKLDO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RG_HDMITX_EN_TX_CKLDO@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
Lloh25:
	adrp	x20, _HDMI_CON0@GOTPAGE
Lloh26:
	ldr	x20, [x20, _HDMI_CON0@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh27:
	adrp	x8, _RG_HDMITX_EN_SLDO_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RG_HDMITX_EN_SLDO_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
	mov	w0, #80
	mov	w1, #100
	bl	_usleep_range
	ldr	w1, [x21]
Lloh30:
	adrp	x8, _RG_HDMITX_MBIAS_LPF_EN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RG_HDMITX_MBIAS_LPF_EN@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
	ldr	w1, [x20]
Lloh33:
	adrp	x8, _RG_HDMITX_EN_SER_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RG_HDMITX_EN_SER_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
	ldr	w1, [x20]
Lloh36:
	adrp	x8, _RG_HDMITX_EN_PRED_MASK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RG_HDMITX_EN_PRED_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
	ldr	w1, [x20]
Lloh39:
	adrp	x8, _RG_HDMITX_EN_DRV_MASK@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RG_HDMITX_EN_DRV_MASK@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mtk_hdmi_phy_set_bits
	mov	w0, #80
	mov	w1, #100
	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	_usleep_range
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_CON7,4,2                  ; @HDMI_CON7
	.comm	_RG_HTPLL_AUTOK_EN,4,2          ; @RG_HTPLL_AUTOK_EN
	.comm	_HDMI_CON6,4,2                  ; @HDMI_CON6
	.comm	_RG_HTPLL_RLH_EN,4,2            ; @RG_HTPLL_RLH_EN
	.comm	_RG_HTPLL_POSDIV_MASK,4,2       ; @RG_HTPLL_POSDIV_MASK
	.comm	_HDMI_CON2,4,2                  ; @HDMI_CON2
	.comm	_RG_HDMITX_EN_MBIAS,4,2         ; @RG_HDMITX_EN_MBIAS
	.comm	_RG_HTPLL_EN,4,2                ; @RG_HTPLL_EN
	.comm	_RG_HDMITX_EN_TX_CKLDO,4,2      ; @RG_HDMITX_EN_TX_CKLDO
	.comm	_HDMI_CON0,4,2                  ; @HDMI_CON0
	.comm	_RG_HDMITX_EN_SLDO_MASK,4,2     ; @RG_HDMITX_EN_SLDO_MASK
	.comm	_RG_HDMITX_MBIAS_LPF_EN,4,2     ; @RG_HDMITX_MBIAS_LPF_EN
	.comm	_RG_HDMITX_EN_SER_MASK,4,2      ; @RG_HDMITX_EN_SER_MASK
	.comm	_RG_HDMITX_EN_PRED_MASK,4,2     ; @RG_HDMITX_EN_PRED_MASK
	.comm	_RG_HDMITX_EN_DRV_MASK,4,2      ; @RG_HDMITX_EN_DRV_MASK
	.no_dead_strip	_mtk_hdmi_phy_enable_tmds
.subsections_via_symbols
