	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdb_step_vcpu
_gdb_step_vcpu:                         ## @gdb_step_vcpu
	.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	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_debug
	movq	_ctx@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_VM_CAP_MTRAP_EXIT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-28(%rbp), %rcx
	movl	%ebx, %esi
	callq	_vm_get_capability
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	movl	(%r14), %edx
	movl	$1, %r14d
	movl	%ebx, %esi
	movl	$1, %ecx
	callq	_vm_set_capability
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_vm_resume_cpu
	movq	_stepping_vcpu@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_idle_vcpus@GOTPCREL(%rip), %rdi
	callq	_pthread_cond_broadcast
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"$vCPU %d step\n"

	.comm	_ctx,4,2                        ## @ctx
	.comm	_VM_CAP_MTRAP_EXIT,4,2          ## @VM_CAP_MTRAP_EXIT
	.comm	_stepping_vcpu,4,2              ## @stepping_vcpu
	.comm	_idle_vcpus,4,2                 ## @idle_vcpus
	.no_dead_strip	_gdb_step_vcpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdb_step_vcpu
_gdb_step_vcpu:                         ; @gdb_step_vcpu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_debug
Lloh2:
	adrp	x21, _ctx@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ctx@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x20, _VM_CAP_MTRAP_EXIT@GOTPAGE
Lloh5:
	ldr	x20, [x20, _VM_CAP_MTRAP_EXIT@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x3, sp, #12
	mov	x1, x19
	bl	_vm_get_capability
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	ldr	w2, [x20]
	mov	w20, #1
	mov	x1, x19
	mov	w3, #1
	bl	_vm_set_capability
	ldr	w0, [x21]
	mov	x1, x19
	bl	_vm_resume_cpu
Lloh6:
	adrp	x8, _stepping_vcpu@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stepping_vcpu@GOTPAGEOFF]
Lloh8:
	str	w19, [x8]
Lloh9:
	adrp	x0, _idle_vcpus@GOTPAGE
Lloh10:
	ldr	x0, [x0, _idle_vcpus@GOTPAGEOFF]
	bl	_pthread_cond_broadcast
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"$vCPU %d step\n"

	.comm	_ctx,4,2                        ; @ctx
	.comm	_VM_CAP_MTRAP_EXIT,4,2          ; @VM_CAP_MTRAP_EXIT
	.comm	_stepping_vcpu,4,2              ; @stepping_vcpu
	.comm	_idle_vcpus,4,2                 ; @idle_vcpus
	.no_dead_strip	_gdb_step_vcpu
.subsections_via_symbols
