	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_free_vcpu
_svm_free_vcpu:                         ## @svm_free_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
	movq	%rdi, %r14
	callq	_to_svm
	movq	%rax, %rbx
	movl	(%rax), %edi
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edi
	callq	_pfn_to_page
	movl	%eax, %edi
	callq	___free_page
	movl	12(%rbx), %edi
	callq	_virt_to_page
	movq	_MSRPM_ALLOC_ORDER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	___free_pages
	movl	8(%rbx), %edi
	callq	_virt_to_page
	movl	%eax, %edi
	callq	___free_page
	movl	4(%rbx), %edi
	callq	_virt_to_page
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	___free_pages
	movq	%r14, %rdi
	callq	_kvm_vcpu_uninit
	movq	_kvm_vcpu_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kmem_cache_free                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_MSRPM_ALLOC_ORDER,4,2          ## @MSRPM_ALLOC_ORDER
	.comm	_kvm_vcpu_cache,4,2             ## @kvm_vcpu_cache
	.no_dead_strip	_svm_free_vcpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_free_vcpu
_svm_free_vcpu:                         ; @svm_free_vcpu
	.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, x0
	bl	_to_svm
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	asr	w0, w8, w9
	bl	_pfn_to_page
	bl	___free_page
	ldr	w0, [x20, #12]
	bl	_virt_to_page
Lloh3:
	adrp	x21, _MSRPM_ALLOC_ORDER@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MSRPM_ALLOC_ORDER@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	___free_pages
	ldr	w0, [x20, #8]
	bl	_virt_to_page
	bl	___free_page
	ldr	w0, [x20, #4]
	bl	_virt_to_page
	ldr	w1, [x21]
	bl	___free_pages
	mov	x0, x19
	bl	_kvm_vcpu_uninit
Lloh5:
	adrp	x8, _kvm_vcpu_cache@GOTPAGE
Lloh6:
	ldr	x8, [x8, _kvm_vcpu_cache@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	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	_kmem_cache_free
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_MSRPM_ALLOC_ORDER,4,2          ; @MSRPM_ALLOC_ORDER
	.comm	_kvm_vcpu_cache,4,2             ; @kvm_vcpu_cache
	.no_dead_strip	_svm_free_vcpu
.subsections_via_symbols
