	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen9_assert_dbuf_enabled
_gen9_assert_dbuf_enabled:              ## @gen9_assert_dbuf_enabled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DBUF_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	movq	_DBUF_POWER_STATE@GOTPCREL(%rip), %rcx
	movq	_DBUF_POWER_REQUEST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%eax, %ecx
	notl	%ecx
	xorl	%edi, %edi
	testl	%ecx, %edx
	setne	%dil
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DBUF_CTL,4,2                   ## @DBUF_CTL
	.comm	_DBUF_POWER_STATE,4,2           ## @DBUF_POWER_STATE
	.comm	_DBUF_POWER_REQUEST,4,2         ## @DBUF_POWER_REQUEST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected DBuf power power state (0x%08x)\n"

	.no_dead_strip	_gen9_assert_dbuf_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen9_assert_dbuf_enabled
_gen9_assert_dbuf_enabled:              ; @gen9_assert_dbuf_enabled
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _DBUF_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBUF_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_I915_READ
	mov	x2, x0
Lloh3:
	adrp	x8, _DBUF_POWER_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBUF_POWER_STATE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DBUF_POWER_REQUEST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DBUF_POWER_REQUEST@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w8, w0
	cset	w0, ne
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WARN
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DBUF_CTL,4,2                   ; @DBUF_CTL
	.comm	_DBUF_POWER_STATE,4,2           ; @DBUF_POWER_STATE
	.comm	_DBUF_POWER_REQUEST,4,2         ; @DBUF_POWER_REQUEST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected DBuf power power state (0x%08x)\n"

	.no_dead_strip	_gen9_assert_dbuf_enabled
.subsections_via_symbols
