	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_dsi_clk_hs_mode
_mtk_dsi_clk_hs_mode:                   ## @mtk_dsi_clk_hs_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_mtk_dsi_clk_hs_state
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	_DSI_PHY_LCCON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LC_HS_TX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ecx, %edx
	jmp	LBB0_3
LBB0_4:
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_DSI_PHY_LCCON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LC_HS_TX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mtk_dsi_mask                   ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_PHY_LCCON,4,2              ## @DSI_PHY_LCCON
	.comm	_LC_HS_TX_EN,4,2                ## @LC_HS_TX_EN
	.no_dead_strip	_mtk_dsi_clk_hs_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_dsi_clk_hs_mode
_mtk_dsi_clk_hs_mode:                   ; @mtk_dsi_clk_hs_mode
	.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	x20, x1
	mov	x19, x0
	bl	_mtk_dsi_clk_hs_state
	cbz	w20, LBB0_3
; %bb.1:
	cbnz	x0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _DSI_PHY_LCCON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSI_PHY_LCCON@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LC_HS_TX_EN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LC_HS_TX_EN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x3, x2
	b	LBB0_5
LBB0_3:
	cbz	x0, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _DSI_PHY_LCCON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DSI_PHY_LCCON@GOTPAGEOFF]
Lloh8:
	adrp	x9, _LC_HS_TX_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LC_HS_TX_EN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w2, [x9]
	mov	x0, x19
	mov	w3, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtk_dsi_mask
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_PHY_LCCON,4,2              ; @DSI_PHY_LCCON
	.comm	_LC_HS_TX_EN,4,2                ; @LC_HS_TX_EN
	.no_dead_strip	_mtk_dsi_clk_hs_mode
.subsections_via_symbols
