	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlv_dsi_reset_clocks           ## -- Begin function vlv_dsi_reset_clocks
	.p2align	4, 0x90
_vlv_dsi_reset_clocks:                  ## @vlv_dsi_reset_clocks
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_i915
	movq	%rbx, %rdi
	callq	_enc_to_intel_dsi
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_MIPI_CTRL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_ESCAPE_CLOCK_DIVIDER_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	%r14d, %edi
	callq	_MIPI_CTRL
	movl	(%r15), %esi
	movq	_ESCAPE_CLOCK_DIVIDER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%ebx, %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_I915_WRITE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ESCAPE_CLOCK_DIVIDER_MASK,4,2  ## @ESCAPE_CLOCK_DIVIDER_MASK
	.comm	_ESCAPE_CLOCK_DIVIDER_SHIFT,4,2 ## @ESCAPE_CLOCK_DIVIDER_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlv_dsi_reset_clocks           ; -- Begin function vlv_dsi_reset_clocks
	.p2align	2
_vlv_dsi_reset_clocks:                  ; @vlv_dsi_reset_clocks
	.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, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_to_i915
	mov	x0, x20
	bl	_enc_to_intel_dsi
	mov	x20, x0
	mov	x0, x19
	bl	_MIPI_CTRL
	bl	_I915_READ
Lloh0:
	adrp	x8, _ESCAPE_CLOCK_DIVIDER_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESCAPE_CLOCK_DIVIDER_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w21, w0, w8
	mov	x0, x19
	bl	_MIPI_CTRL
Lloh3:
	adrp	x8, _ESCAPE_CLOCK_DIVIDER_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ESCAPE_CLOCK_DIVIDER_SHIFT@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh5:
	ldr	w8, [x8]
	lsl	w8, w9, w8
	orr	w1, w8, w21
	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	_I915_WRITE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ESCAPE_CLOCK_DIVIDER_MASK,4,2  ; @ESCAPE_CLOCK_DIVIDER_MASK
	.comm	_ESCAPE_CLOCK_DIVIDER_SHIFT,4,2 ; @ESCAPE_CLOCK_DIVIDER_SHIFT
.subsections_via_symbols
