	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hsw_enable_pc8
_hsw_enable_pc8:                        ## @hsw_enable_pc8
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	%rbx, %rdi
	callq	_HAS_PCH_LPT_LP
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SOUTH_DSPCLK_GATE_D@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_I915_READ
	movq	_PCH_LP_PARTITION_LEVEL_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%r14), %edi
	callq	_I915_WRITE
LBB0_2:
	movq	%rbx, %rdi
	callq	_lpt_disable_clkout_dp
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hsw_disable_lcpll              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabling package C8+\n"

	.comm	_SOUTH_DSPCLK_GATE_D,4,2        ## @SOUTH_DSPCLK_GATE_D
	.comm	_PCH_LP_PARTITION_LEVEL_DISABLE,4,2 ## @PCH_LP_PARTITION_LEVEL_DISABLE
	.no_dead_strip	_hsw_enable_pc8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hsw_enable_pc8
_hsw_enable_pc8:                        ; @hsw_enable_pc8
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_KMS
	mov	x0, x19
	bl	_HAS_PCH_LPT_LP
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x20, _SOUTH_DSPCLK_GATE_D@GOTPAGE
Lloh3:
	ldr	x20, [x20, _SOUTH_DSPCLK_GATE_D@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_I915_READ
Lloh4:
	adrp	x8, _PCH_LP_PARTITION_LEVEL_DISABLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PCH_LP_PARTITION_LEVEL_DISABLE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x20]
	bl	_I915_WRITE
LBB0_2:
	mov	x0, x19
	bl	_lpt_disable_clkout_dp
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hsw_disable_lcpll
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabling package C8+\n"

	.comm	_SOUTH_DSPCLK_GATE_D,4,2        ; @SOUTH_DSPCLK_GATE_D
	.comm	_PCH_LP_PARTITION_LEVEL_DISABLE,4,2 ; @PCH_LP_PARTITION_LEVEL_DISABLE
	.no_dead_strip	_hsw_enable_pc8
.subsections_via_symbols
