	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmrun_interception
_vmrun_interception:                    ## @vmrun_interception
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_nsvm_printk
	movq	%rbx, %rdi
	callq	_nested_svm_check_permissions
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_kvm_rip_read
	addq	$3, %rax
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_skip_emulated_instruction
	movq	%rbx, %rdi
	callq	_nested_svm_vmrun
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_nested_svm_vmrun_msrpm
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_SVM_EXIT_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 24(%rcx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	$0, 16(%rcx)
	movq	%rbx, %rdi
	callq	_nested_svm_vmexit
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VMrun\n"

	.comm	_SVM_EXIT_ERR,4,2               ## @SVM_EXIT_ERR
	.no_dead_strip	_vmrun_interception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmrun_interception
_vmrun_interception:                    ; @vmrun_interception
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_nsvm_printk
	mov	x0, x19
	bl	_nested_svm_check_permissions
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	add	x20, x19, #8
	mov	x0, x20
	bl	_kvm_rip_read
	add	x8, x0, #3
	str	x8, [x19, #16]
	mov	x0, x20
	bl	_skip_emulated_instruction
	mov	x0, x19
	bl	_nested_svm_vmrun
	cbz	w0, LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_nested_svm_vmrun_msrpm
	cbnz	w0, LBB0_1
; %bb.4:
Lloh2:
	adrp	x8, _SVM_EXIT_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SVM_EXIT_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, #24]
	stp	xzr, xzr, [x9, #8]
	str	xzr, [x9]
	mov	x0, x19
	bl	_nested_svm_vmexit
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VMrun\n"

	.comm	_SVM_EXIT_ERR,4,2               ; @SVM_EXIT_ERR
	.no_dead_strip	_vmrun_interception
.subsections_via_symbols
