	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_vcpu_reset
_svm_vcpu_reset:                        ## @svm_vcpu_reset
	.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
	callq	_to_svm
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_init_vmcb
	movq	%rbx, %rdi
	callq	_kvm_vcpu_is_bsp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kvm_rip_write
	movl	8(%r14), %eax
	movl	%eax, %ecx
	shll	$12, %ecx
	movq	(%r14), %rdi
	movl	%ecx, (%rdi)
	shll	$8, %eax
	movl	%eax, 4(%rdi)
	movq	_VMCB_SEG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mark_dirty
LBB0_2:
	movq	$-1, (%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCB_SEG,4,2                   ## @VMCB_SEG
	.no_dead_strip	_svm_vcpu_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function svm_vcpu_reset
lCPI0_0:
	.long	12                              ; 0xc
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_svm_vcpu_reset:                        ; @svm_vcpu_reset
	.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
	bl	_to_svm
	mov	x20, x0
	bl	_init_vmcb
	mov	x0, x19
	bl	_kvm_vcpu_is_bsp
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_kvm_rip_write
	add	x8, x20, #8
	ldr	x0, [x20]
	ld1r.2s	{ v0 }, [x8]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	str	d0, [x0]
Lloh2:
	adrp	x8, _VMCB_SEG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VMCB_SEG@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_mark_dirty
LBB0_2:
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCB_SEG,4,2                   ; @VMCB_SEG
	.no_dead_strip	_svm_vcpu_reset
.subsections_via_symbols
