	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmexit_suspend
_vmexit_suspend:                        ## @vmexit_suspend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	(%rsi), %r14d
	movl	(%rdx), %esi
	callq	_fbsdrun_deletecpu
	movl	(%rbx), %eax
	movq	_BSP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_resetcpu_mtx@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	movq	_resetcpu_cond@GOTPCREL(%rip), %rdi
	callq	_pthread_cond_signal
	movq	%rbx, %rdi
	callq	_pthread_mutex_unlock
	xorl	%edi, %edi
	callq	_pthread_exit
LBB0_2:
	movq	_resetcpu_mtx@GOTPCREL(%rip), %rdi
	callq	_pthread_mutex_lock
	movq	_cpumask@GOTPCREL(%rip), %rdi
	callq	_CPU_EMPTY
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_resetcpu_cond@GOTPCREL(%rip), %r15
	movq	_resetcpu_mtx@GOTPCREL(%rip), %r12
	movq	_cpumask@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_pthread_cond_wait
	movq	%rbx, %rdi
	callq	_CPU_EMPTY
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	_resetcpu_mtx@GOTPCREL(%rip), %rdi
	callq	_pthread_mutex_unlock
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_11
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	$3, %edi
	callq	_exit
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_fprintf
	movl	$100, %edi
	callq	_exit
LBB0_7:
	xorl	%edi, %edi
	callq	_exit
LBB0_8:
	movl	$1, %edi
	callq	_exit
LBB0_9:
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_BSP,4,2                        ## @BSP
	.comm	_resetcpu_mtx,4,2               ## @resetcpu_mtx
	.comm	_resetcpu_cond,4,2              ## @resetcpu_cond
	.comm	_cpumask,4,2                    ## @cpumask
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vmexit_suspend: invalid reason %d\n"

	.no_dead_strip	_vmexit_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmexit_suspend
_vmexit_suspend:                        ; @vmexit_suspend
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	ldr	w19, [x1]
	ldr	w1, [x2]
	bl	_fbsdrun_deletecpu
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _BSP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x20, _resetcpu_mtx@GOTPAGE
Lloh4:
	ldr	x20, [x20, _resetcpu_mtx@GOTPAGEOFF]
	mov	x0, x20
	bl	_pthread_mutex_lock
Lloh5:
	adrp	x0, _resetcpu_cond@GOTPAGE
Lloh6:
	ldr	x0, [x0, _resetcpu_cond@GOTPAGEOFF]
	bl	_pthread_cond_signal
	mov	x0, x20
	bl	_pthread_mutex_unlock
	mov	x0, #0
	bl	_pthread_exit
LBB0_2:
Lloh7:
	adrp	x0, _resetcpu_mtx@GOTPAGE
Lloh8:
	ldr	x0, [x0, _resetcpu_mtx@GOTPAGEOFF]
	bl	_pthread_mutex_lock
Lloh9:
	adrp	x0, _cpumask@GOTPAGE
Lloh10:
	ldr	x0, [x0, _cpumask@GOTPAGEOFF]
	bl	_CPU_EMPTY
	cbnz	w0, LBB0_5
; %bb.3:
Lloh11:
	adrp	x20, _resetcpu_cond@GOTPAGE
Lloh12:
	ldr	x20, [x20, _resetcpu_cond@GOTPAGEOFF]
Lloh13:
	adrp	x21, _resetcpu_mtx@GOTPAGE
Lloh14:
	ldr	x21, [x21, _resetcpu_mtx@GOTPAGEOFF]
Lloh15:
	adrp	x22, _cpumask@GOTPAGE
Lloh16:
	ldr	x22, [x22, _cpumask@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_pthread_cond_wait
	mov	x0, x22
	bl	_CPU_EMPTY
	cbz	w0, LBB0_4
LBB0_5:
Lloh17:
	adrp	x0, _resetcpu_mtx@GOTPAGE
Lloh18:
	ldr	x0, [x0, _resetcpu_mtx@GOTPAGEOFF]
	bl	_pthread_mutex_unlock
	sub	w8, w19, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.6:
Lloh19:
	adrp	x9, lJTI0_0@PAGE
Lloh20:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	w0, #3
	bl	_exit
LBB0_8:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	mov	w0, #100
	bl	_exit
LBB0_9:
	mov	w0, #0
	bl	_exit
LBB0_10:
	mov	w0, #1
	bl	_exit
LBB0_11:
	mov	w0, #2
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
                                        ; -- End function
	.comm	_BSP,4,2                        ; @BSP
	.comm	_resetcpu_mtx,4,2               ; @resetcpu_mtx
	.comm	_resetcpu_cond,4,2              ; @resetcpu_cond
	.comm	_cpumask,4,2                    ; @cpumask
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vmexit_suspend: invalid reason %d\n"

	.no_dead_strip	_vmexit_suspend
.subsections_via_symbols
