	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_can_enable_dc9
_assert_can_enable_dc9:                 ## @assert_can_enable_dc9
	.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, %r14
	movq	_DC_STATE_EN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_I915_READ
	movq	_DC_STATE_EN_DC9@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_WARN_ONCE
	movl	(%rbx), %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	_HSW_PWR_WELL_CTL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movl	%eax, %ebx
	movq	_SKL_PW_CTL_IDX_PW_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HSW_PWR_WELL_CTL_REQ
	andl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	callq	_WARN_ONCE
	movq	%r14, %rdi
	callq	_intel_irqs_enabled
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_WARN_ONCE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_STATE_EN,4,2                ## @DC_STATE_EN
	.comm	_DC_STATE_EN_DC9,4,2            ## @DC_STATE_EN_DC9
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DC9 already programmed to be enabled.\n"

	.comm	_DC_STATE_EN_UPTO_DC5,4,2       ## @DC_STATE_EN_UPTO_DC5
L_.str.1:                               ## @.str.1
	.asciz	"DC5 still not disabled to enable DC9.\n"

	.comm	_HSW_PWR_WELL_CTL2,4,2          ## @HSW_PWR_WELL_CTL2
	.comm	_SKL_PW_CTL_IDX_PW_2,4,2        ## @SKL_PW_CTL_IDX_PW_2
L_.str.2:                               ## @.str.2
	.asciz	"Power well 2 on.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Interrupts not disabled yet.\n"

	.no_dead_strip	_assert_can_enable_dc9
.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_dc9
_assert_can_enable_dc9:                 ; @assert_can_enable_dc9
	.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	x20, _DC_STATE_EN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DC_STATE_EN@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_I915_READ
Lloh2:
	adrp	x8, _DC_STATE_EN_DC9@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DC_STATE_EN_DC9@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w0, w8, w0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	ldr	w0, [x20]
	bl	_I915_READ
Lloh7:
	adrp	x8, _DC_STATE_EN_UPTO_DC5@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DC_STATE_EN_UPTO_DC5@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	and	w0, w8, w0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN_ONCE
Lloh12:
	adrp	x8, _HSW_PWR_WELL_CTL2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HSW_PWR_WELL_CTL2@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x20, x0
Lloh15:
	adrp	x8, _SKL_PW_CTL_IDX_PW_2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SKL_PW_CTL_IDX_PW_2@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_HSW_PWR_WELL_CTL_REQ
	and	w0, w0, w20
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_WARN_ONCE
	mov	x0, x19
	bl	_intel_irqs_enabled
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN_ONCE
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_STATE_EN,4,2                ; @DC_STATE_EN
	.comm	_DC_STATE_EN_DC9,4,2            ; @DC_STATE_EN_DC9
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DC9 already programmed to be enabled.\n"

	.comm	_DC_STATE_EN_UPTO_DC5,4,2       ; @DC_STATE_EN_UPTO_DC5
l_.str.1:                               ; @.str.1
	.asciz	"DC5 still not disabled to enable DC9.\n"

	.comm	_HSW_PWR_WELL_CTL2,4,2          ; @HSW_PWR_WELL_CTL2
	.comm	_SKL_PW_CTL_IDX_PW_2,4,2        ; @SKL_PW_CTL_IDX_PW_2
l_.str.2:                               ; @.str.2
	.asciz	"Power well 2 on.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Interrupts not disabled yet.\n"

	.no_dead_strip	_assert_can_enable_dc9
.subsections_via_symbols
