	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_can_enable_dc5
_assert_can_enable_dc5:                 ## @assert_can_enable_dc5
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_SKL_DISP_PW_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_intel_display_power_well_is_enabled
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_WARN_ONCE
	movq	_DC_STATE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_DC_STATE_EN_UPTO_DC5@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	callq	_WARN_ONCE
	movq	%rbx, %rdi
	callq	_assert_rpm_wakelock_held
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_assert_csr_loaded              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SKL_DISP_PW_2,4,2              ## @SKL_DISP_PW_2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PG2 not disabled to enable DC5.\n"

	.comm	_DC_STATE_EN,4,2                ## @DC_STATE_EN
	.comm	_DC_STATE_EN_UPTO_DC5,4,2       ## @DC_STATE_EN_UPTO_DC5
L_.str.1:                               ## @.str.1
	.asciz	"DC5 already programmed to be enabled.\n"

	.no_dead_strip	_assert_can_enable_dc5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assert_can_enable_dc5
_assert_can_enable_dc5:                 ; @assert_can_enable_dc5
	.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	x8, _SKL_DISP_PW_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SKL_DISP_PW_2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_intel_display_power_well_is_enabled
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
Lloh5:
	adrp	x8, _DC_STATE_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DC_STATE_EN@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_I915_READ
Lloh8:
	adrp	x8, _DC_STATE_EN_UPTO_DC5@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DC_STATE_EN_UPTO_DC5@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	and	w0, w8, w0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN_ONCE
	mov	x0, x19
	bl	_assert_rpm_wakelock_held
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_assert_csr_loaded
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SKL_DISP_PW_2,4,2              ; @SKL_DISP_PW_2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PG2 not disabled to enable DC5.\n"

	.comm	_DC_STATE_EN,4,2                ; @DC_STATE_EN
	.comm	_DC_STATE_EN_UPTO_DC5,4,2       ; @DC_STATE_EN_UPTO_DC5
l_.str.1:                               ; @.str.1
	.asciz	"DC5 already programmed to be enabled.\n"

	.no_dead_strip	_assert_can_enable_dc5
.subsections_via_symbols
