	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chv_enable_pll
_chv_enable_pll:                        ## @chv_enable_pll
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r15
	movl	(%rbx), %r12d
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_assert_pipe_disabled
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_assert_panel_unlocked
	movq	_DPLL_VCO_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	__chv_enable_pll
LBB0_2:
	movq	_PIPE_A@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_3
## %bb.4:
	movl	%r12d, %edi
	callq	_DPLL_MD
	movl	4(%r14), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	%r12d, %edi
	callq	_DPLL_MD
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_POSTING_READ                   ## TAILCALL
LBB0_3:
	movq	_CBR4_VLV@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_CBR_DPLLBMD_PIPE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_I915_WRITE
	movq	_PIPE_B@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_DPLL_MD
	movl	4(%r14), %esi
	movl	%eax, %edi
	callq	_I915_WRITE
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_I915_WRITE
	movl	4(%r14), %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%r12,4)
	movl	(%rbx), %edi
	callq	_DPLL
	movl	%eax, %edi
	callq	_I915_READ
	movq	_DPLL_VGA_MODE_DIS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPLL_VCO_ENABLE,4,2            ## @DPLL_VCO_ENABLE
	.comm	_PIPE_A,4,2                     ## @PIPE_A
	.comm	_CBR4_VLV,4,2                   ## @CBR4_VLV
	.comm	_PIPE_B,4,2                     ## @PIPE_B
	.comm	_DPLL_VGA_MODE_DIS,4,2          ## @DPLL_VGA_MODE_DIS
	.no_dead_strip	_chv_enable_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chv_enable_pll
_chv_enable_pll:                        ; @chv_enable_pll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_to_i915
	mov	x21, x0
	ldr	w19, [x22]
	mov	x1, x19
	bl	_assert_pipe_disabled
	mov	x0, x21
	mov	x1, x19
	bl	_assert_panel_unlocked
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _DPLL_VCO_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DPLL_VCO_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	bl	__chv_enable_pll
LBB0_2:
Lloh3:
	adrp	x8, _PIPE_A@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PIPE_A@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w19, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_DPLL_MD
	ldr	w1, [x20, #4]
	bl	_I915_WRITE
	mov	x0, x19
	bl	_DPLL_MD
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_POSTING_READ
LBB0_4:
Lloh6:
	adrp	x23, _CBR4_VLV@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CBR4_VLV@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x19
	bl	_CBR_DPLLBMD_PIPE
	mov	x1, x0
	mov	x0, x22
	bl	_I915_WRITE
Lloh8:
	adrp	x22, _PIPE_B@GOTPAGE
Lloh9:
	ldr	x22, [x22, _PIPE_B@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DPLL_MD
	ldr	w1, [x20, #4]
	bl	_I915_WRITE
	ldr	w0, [x23]
	mov	w1, #0
	bl	_I915_WRITE
	ldr	w8, [x20, #4]
	ldr	x9, [x21]
	str	w8, [x9, x19, lsl #2]
	ldr	w0, [x22]
	bl	_DPLL
	bl	_I915_READ
Lloh10:
	adrp	x8, _DPLL_VGA_MODE_DIS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DPLL_VGA_MODE_DIS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_WARN_ON
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DPLL_VCO_ENABLE,4,2            ; @DPLL_VCO_ENABLE
	.comm	_PIPE_A,4,2                     ; @PIPE_A
	.comm	_CBR4_VLV,4,2                   ; @CBR4_VLV
	.comm	_PIPE_B,4,2                     ; @PIPE_B
	.comm	_DPLL_VGA_MODE_DIS,4,2          ; @DPLL_VGA_MODE_DIS
	.no_dead_strip	_chv_enable_pll
.subsections_via_symbols
