	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assert_csr_loaded
_assert_csr_loaded:                     ## @assert_csr_loaded
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%edi, %edi
	callq	_CSR_PROGRAM
	movl	%eax, %edi
	callq	_I915_READ
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	movq	_CSR_SSP_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_WARN_ONCE
	movq	_CSR_HTP_SKL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_I915_READ
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	leaq	L_.str.2(%rip), %rsi
	popq	%rbp
	jmp	_WARN_ONCE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CSR program storage start is NULL\n"

	.comm	_CSR_SSP_BASE,4,2               ## @CSR_SSP_BASE
L_.str.1:                               ## @.str.1
	.asciz	"CSR SSP Base Not fine\n"

	.comm	_CSR_HTP_SKL,4,2                ## @CSR_HTP_SKL
L_.str.2:                               ## @.str.2
	.asciz	"CSR HTP Not fine\n"

	.no_dead_strip	_assert_csr_loaded
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assert_csr_loaded
_assert_csr_loaded:                     ; @assert_csr_loaded
	.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
	mov	w0, #0
	bl	_CSR_PROGRAM
	bl	_I915_READ
	cmp	w0, #0
	cset	w0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
Lloh2:
	adrp	x8, _CSR_SSP_BASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CSR_SSP_BASE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_I915_READ
	cmp	w0, #0
	cset	w0, eq
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_WARN_ONCE
Lloh7:
	adrp	x8, _CSR_HTP_SKL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CSR_HTP_SKL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_I915_READ
	cmp	w0, #0
	cset	w0, eq
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_WARN_ONCE
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CSR program storage start is NULL\n"

	.comm	_CSR_SSP_BASE,4,2               ; @CSR_SSP_BASE
l_.str.1:                               ; @.str.1
	.asciz	"CSR SSP Base Not fine\n"

	.comm	_CSR_HTP_SKL,4,2                ; @CSR_HTP_SKL
l_.str.2:                               ; @.str.2
	.asciz	"CSR HTP Not fine\n"

	.no_dead_strip	_assert_csr_loaded
.subsections_via_symbols
