	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unexpected_starting_state
_unexpected_starting_state:             ## @unexpected_starting_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RING_MI_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ENGINE_READ_FW
	movq	_STOP_RING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_MI_MODE,4,2               ## @RING_MI_MODE
	.comm	_STOP_RING,4,2                  ## @STOP_RING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"STOP_RING still set in RING_MI_MODE\n"

	.no_dead_strip	_unexpected_starting_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unexpected_starting_state
_unexpected_starting_state:             ; @unexpected_starting_state
	.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, _RING_MI_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RING_MI_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ENGINE_READ_FW
Lloh3:
	adrp	x8, _STOP_RING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STOP_RING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_MI_MODE,4,2               ; @RING_MI_MODE
	.comm	_STOP_RING,4,2                  ; @STOP_RING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"STOP_RING still set in RING_MI_MODE\n"

	.no_dead_strip	_unexpected_starting_state
.subsections_via_symbols
