	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_arch_vcpu_ioctl_run        ## -- Begin function kvm_arch_vcpu_ioctl_run
	.p2align	4, 0x90
_kvm_arch_vcpu_ioctl_run:               ## @kvm_arch_vcpu_ioctl_run
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_vcpu_load
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	72(%rbx), %rsi
	leaq	-28(%rbp), %rdx
	callq	_sigprocmask
LBB0_2:
	movq	32(%rbx), %rax
	movq	_KVM_MP_STATE_UNINITIALIZED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_kvm_vcpu_block
	movq	_KVM_REQ_UNHALT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	68(%rbx), %rsi
	callq	_clear_bit
	movq	_EAGAIN@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_13:
	movq	%rbx, %rdi
	callq	_post_kvm_run_save
	cmpq	$0, 8(%rbx)
	je	LBB0_15
## %bb.14:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigprocmask
LBB0_15:
	movq	%rbx, %rdi
	callq	_vcpu_put
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	24(%rbx), %rdi
	callq	_irqchip_in_kernel
	testl	%eax, %eax
	je	LBB0_5
LBB0_8:
	cmpq	$0, 48(%rbx)
	je	LBB0_10
## %bb.9:
	movq	24(%rbx), %rdi
	callq	_srcu_read_lock
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_complete_pio
	movl	%eax, %r15d
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rdi
	callq	_srcu_read_unlock
	testl	%r15d, %r15d
	jne	LBB0_13
LBB0_10:
	movq	(%r14), %rax
	movq	_KVM_EXIT_HYPERCALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	_VCPU_REGS_RAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movq	%rbx, %rdi
	callq	_kvm_register_write
LBB0_12:
	movq	%rbx, %rdi
	callq	___vcpu_run
	movl	%eax, %r15d
	jmp	LBB0_13
LBB0_5:
	movl	16(%r14), %esi
	movq	%rbx, %rdi
	callq	_kvm_set_cr8
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_KVM_MP_STATE_UNINITIALIZED,8,3 ## @KVM_MP_STATE_UNINITIALIZED
	.comm	_KVM_REQ_UNHALT,4,2             ## @KVM_REQ_UNHALT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_KVM_EXIT_HYPERCALL,8,3         ## @KVM_EXIT_HYPERCALL
	.comm	_VCPU_REGS_RAX,4,2              ## @VCPU_REGS_RAX
	.comm	_EMULATE_DO_MMIO,4,2            ## @EMULATE_DO_MMIO
	.comm	_EMULTYPE_NO_DECODE,4,2         ## @EMULTYPE_NO_DECODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kvm_arch_vcpu_ioctl_run        ; -- Begin function kvm_arch_vcpu_ioctl_run
	.p2align	2
_kvm_arch_vcpu_ioctl_run:               ; @kvm_arch_vcpu_ioctl_run
	.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	x20, x1
	mov	x19, x0
	bl	_vcpu_load
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x22, _SIG_SETMASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SIG_SETMASK@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x22]
	add	x1, x19, #72
	add	x2, sp, #12
	bl	_sigprocmask
LBB0_2:
	ldr	x8, [x19, #32]
Lloh2:
	adrp	x9, _KVM_MP_STATE_UNINITIALIZED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _KVM_MP_STATE_UNINITIALIZED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_kvm_vcpu_block
Lloh5:
	adrp	x8, _KVM_REQ_UNHALT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KVM_REQ_UNHALT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	add	x1, x19, #68
	bl	_clear_bit
Lloh8:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x19
	bl	_post_kvm_run_save
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x22]
	add	x1, sp, #12
	mov	x2, #0
	bl	_sigprocmask
LBB0_7:
	mov	x0, x19
	bl	_vcpu_put
	mov	x0, x21
	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
LBB0_8:
	ldr	x0, [x19, #24]
	bl	_irqchip_in_kernel
	cbz	w0, LBB0_14
LBB0_9:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	x0, [x19, #24]
	bl	_srcu_read_lock
	str	x0, [x19, #16]
	mov	x0, x19
	bl	_complete_pio
	mov	x21, x0
	ldp	x1, x0, [x19, #16]
	bl	_srcu_read_unlock
	cbnz	w21, LBB0_5
LBB0_11:
	ldr	x8, [x20]
Lloh10:
	adrp	x9, _KVM_EXIT_HYPERCALL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _KVM_EXIT_HYPERCALL@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
Lloh13:
	adrp	x8, _VCPU_REGS_RAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VCPU_REGS_RAX@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_kvm_register_write
LBB0_13:
	mov	x0, x19
	bl	___vcpu_run
	mov	x21, x0
	b	LBB0_5
LBB0_14:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_kvm_set_cr8
	cbz	x0, LBB0_9
; %bb.15:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_KVM_MP_STATE_UNINITIALIZED,8,3 ; @KVM_MP_STATE_UNINITIALIZED
	.comm	_KVM_REQ_UNHALT,4,2             ; @KVM_REQ_UNHALT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_KVM_EXIT_HYPERCALL,8,3         ; @KVM_EXIT_HYPERCALL
	.comm	_VCPU_REGS_RAX,4,2              ; @VCPU_REGS_RAX
	.comm	_EMULATE_DO_MMIO,4,2            ; @EMULATE_DO_MMIO
	.comm	_EMULTYPE_NO_DECODE,4,2         ; @EMULTYPE_NO_DECODE
.subsections_via_symbols
