	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vcpu_unlock_one
_vcpu_unlock_one:                       ## @vcpu_unlock_one
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	xorl	%edx, %edx
	callq	_vcpu_get_state
	movl	%eax, %r15d
	movq	_VCPU_FROZEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_vm_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_panic
LBB0_2:
	movl	(%rbx), %edi
	movq	_VCPU_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vcpu_set_state                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VCPU_FROZEN,4,2                ## @VCPU_FROZEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vcpu %s(%d) has invalid state %d"

	.comm	_VCPU_IDLE,4,2                  ## @VCPU_IDLE
	.no_dead_strip	_vcpu_unlock_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vcpu_unlock_one
_vcpu_unlock_one:                       ; @vcpu_unlock_one
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	mov	x2, #0
	bl	_vcpu_get_state
Lloh0:
	adrp	x8, _VCPU_FROZEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCPU_FROZEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w0, [x20]
	bl	_vm_name
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	bl	_panic
LBB0_2:
Lloh5:
	adrp	x8, _VCPU_IDLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VCPU_IDLE@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x19
	mov	w3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vcpu_set_state
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VCPU_FROZEN,4,2                ; @VCPU_FROZEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vcpu %s(%d) has invalid state %d"

	.comm	_VCPU_IDLE,4,2                  ; @VCPU_IDLE
	.no_dead_strip	_vcpu_unlock_one
.subsections_via_symbols
