	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_exit_reason
_get_exit_reason:                       ## @get_exit_reason
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	8(%rdi), %rcx
	addq	$8, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, -8(%rcx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rcx
	decl	%eax
	jne	LBB0_2
LBB0_5:
	movl	4(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	leaq	L_.str.1(%rip), %rax
	popq	%rbp
	retq
LBB0_3:
	movq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown kvm exit code:%lld on %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"UNKNOWN"

	.no_dead_strip	_get_exit_reason
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_exit_reason
_get_exit_reason:                       ; @get_exit_reason
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x9, [x0, #8]
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-8]
	cmp	x10, x1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #16
	subs	w8, w8, #1
	b.ne	LBB0_2
LBB0_4:
	ldr	w2, [x0, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown kvm exit code:%lld on %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"UNKNOWN"

	.no_dead_strip	_get_exit_reason
.subsections_via_symbols
