	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_enable_pll
_intel_enable_pll:                      ## @intel_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_IS_VALLEYVIEW
	xorl	%edi, %edi
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	xorl	%edi, %edi
	cmpl	$5, (%rax)
	setge	%dil
LBB0_2:
	callq	_BUG_ON
	movl	(%rbx), %edi
	callq	_IS_MOBILE
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %edi
	callq	_IS_I830
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_assert_panel_unlocked
LBB0_5:
	movl	%r14d, %edi
	callq	_DPLL
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_I915_READ
	movl	%eax, %r14d
	movq	_DPLL_VCO_ENABLE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_POSTING_READ
	movl	$150, %edi
	callq	_udelay
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_POSTING_READ
	movl	$150, %edi
	callq	_udelay
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_I915_WRITE
	movl	%ebx, %edi
	callq	_POSTING_READ
	movl	$150, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPLL_VCO_ENABLE,4,2            ## @DPLL_VCO_ENABLE
	.no_dead_strip	_intel_enable_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_enable_pll
_intel_enable_pll:                      ; @intel_enable_pll
	.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, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_IS_VALLEYVIEW
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmp	w8, #4
	cset	w0, gt
LBB0_3:
	bl	_BUG_ON
	ldr	w0, [x20]
	bl	_IS_MOBILE
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x20]
	bl	_IS_I830
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_assert_panel_unlocked
LBB0_6:
	mov	x0, x19
	bl	_DPLL
	mov	x19, x0
	bl	_I915_READ
Lloh0:
	adrp	x8, _DPLL_VCO_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPLL_VCO_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w20, w8, w0
	mov	x0, x19
	mov	x1, x20
	bl	_I915_WRITE
	mov	x0, x19
	bl	_POSTING_READ
	mov	w0, #150
	bl	_udelay
	mov	x0, x19
	mov	x1, x20
	bl	_I915_WRITE
	mov	x0, x19
	bl	_POSTING_READ
	mov	w0, #150
	bl	_udelay
	mov	x0, x19
	mov	x1, x20
	bl	_I915_WRITE
	mov	x0, x19
	bl	_POSTING_READ
	mov	w0, #150
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_udelay
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPLL_VCO_ENABLE,4,2            ; @DPLL_VCO_ENABLE
	.no_dead_strip	_intel_enable_pll
.subsections_via_symbols
