	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmcs_init                      ## -- Begin function vmcs_init
	.p2align	4, 0x90
_vmcs_init:                             ## @vmcs_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_vmm_get_host_codesel
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_vmm_get_host_datasel
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_vmm_get_host_tsssel
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_VMPTRLD
	xorl	%eax, %eax
	callq	_vmm_get_host_pat
	movq	_VMCS_HOST_IA32_PAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.1:
	xorl	%eax, %eax
	callq	_vmm_get_host_efer
	movq	_VMCS_HOST_IA32_EFER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.2:
	xorl	%eax, %eax
	callq	_vmm_get_host_cr0
	movq	_VMCS_HOST_CR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.3:
	xorl	%eax, %eax
	callq	_vmm_get_host_cr4
	movq	_CR4_VMXE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_VMCS_HOST_CR4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.4:
	movq	_VMCS_HOST_ES_SELECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.5:
	movq	_VMCS_HOST_CS_SELECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.6:
	movq	_VMCS_HOST_SS_SELECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.7:
	movq	_VMCS_HOST_DS_SELECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.8:
	movq	_VMCS_HOST_FS_SELECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.9:
	movq	_VMCS_HOST_GS_SELECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.10:
	movq	_VMCS_HOST_TR_SELECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.11:
	xorl	%eax, %eax
	callq	_vmm_get_host_fsbase
	movq	_VMCS_HOST_FS_BASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.12:
	xorl	%eax, %eax
	callq	_vmm_get_host_idtrbase
	movq	_VMCS_HOST_IDTR_BASE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.13:
	movq	_no_flush_rsb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_VMCS_HOST_RIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_15
## %bb.14:
	movq	_vmx_exit_guest@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_vmx_exit_guest_flush_rsb@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %esi
	callq	_vmwrite
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movq	_VMCS_LINK_POINTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_vmwrite
	movl	%eax, %ebx
LBB0_18:
	movq	%r13, %rdi
	callq	_VMCLEAR
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCS_HOST_IA32_PAT,4,2         ## @VMCS_HOST_IA32_PAT
	.comm	_VMCS_HOST_IA32_EFER,4,2        ## @VMCS_HOST_IA32_EFER
	.comm	_VMCS_HOST_CR0,4,2              ## @VMCS_HOST_CR0
	.comm	_CR4_VMXE,4,2                   ## @CR4_VMXE
	.comm	_VMCS_HOST_CR4,4,2              ## @VMCS_HOST_CR4
	.comm	_VMCS_HOST_ES_SELECTOR,4,2      ## @VMCS_HOST_ES_SELECTOR
	.comm	_VMCS_HOST_CS_SELECTOR,4,2      ## @VMCS_HOST_CS_SELECTOR
	.comm	_VMCS_HOST_SS_SELECTOR,4,2      ## @VMCS_HOST_SS_SELECTOR
	.comm	_VMCS_HOST_DS_SELECTOR,4,2      ## @VMCS_HOST_DS_SELECTOR
	.comm	_VMCS_HOST_FS_SELECTOR,4,2      ## @VMCS_HOST_FS_SELECTOR
	.comm	_VMCS_HOST_GS_SELECTOR,4,2      ## @VMCS_HOST_GS_SELECTOR
	.comm	_VMCS_HOST_TR_SELECTOR,4,2      ## @VMCS_HOST_TR_SELECTOR
	.comm	_VMCS_HOST_FS_BASE,4,2          ## @VMCS_HOST_FS_BASE
	.comm	_VMCS_HOST_IDTR_BASE,4,2        ## @VMCS_HOST_IDTR_BASE
	.comm	_no_flush_rsb,8,3               ## @no_flush_rsb
	.comm	_VMCS_HOST_RIP,4,2              ## @VMCS_HOST_RIP
	.comm	_vmx_exit_guest,8,3             ## @vmx_exit_guest
	.comm	_vmx_exit_guest_flush_rsb,8,3   ## @vmx_exit_guest_flush_rsb
	.comm	_VMCS_LINK_POINTER,4,2          ## @VMCS_LINK_POINTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmcs_init                      ; -- Begin function vmcs_init
	.p2align	2
_vmcs_init:                             ; @vmcs_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_vmm_get_host_codesel
	mov	x22, x0
	bl	_vmm_get_host_datasel
	mov	x21, x0
	bl	_vmm_get_host_tsssel
	mov	x20, x0
	mov	x0, x19
	bl	_VMPTRLD
	bl	_vmm_get_host_pat
	mov	x1, x0
Lloh0:
	adrp	x8, _VMCS_HOST_IA32_PAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCS_HOST_IA32_PAT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.1:
	bl	_vmm_get_host_efer
	mov	x1, x0
Lloh3:
	adrp	x8, _VMCS_HOST_IA32_EFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VMCS_HOST_IA32_EFER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.2:
	bl	_vmm_get_host_cr0
	mov	x1, x0
Lloh6:
	adrp	x8, _VMCS_HOST_CR0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VMCS_HOST_CR0@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.3:
	bl	_vmm_get_host_cr4
Lloh9:
	adrp	x8, _CR4_VMXE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CR4_VMXE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w1, w8, w0
Lloh12:
	adrp	x8, _VMCS_HOST_CR4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VMCS_HOST_CR4@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.4:
Lloh15:
	adrp	x8, _VMCS_HOST_ES_SELECTOR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VMCS_HOST_ES_SELECTOR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.5:
Lloh18:
	adrp	x8, _VMCS_HOST_CS_SELECTOR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VMCS_HOST_CS_SELECTOR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.6:
Lloh21:
	adrp	x8, _VMCS_HOST_SS_SELECTOR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VMCS_HOST_SS_SELECTOR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.7:
Lloh24:
	adrp	x8, _VMCS_HOST_DS_SELECTOR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VMCS_HOST_DS_SELECTOR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.8:
Lloh27:
	adrp	x8, _VMCS_HOST_FS_SELECTOR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VMCS_HOST_FS_SELECTOR@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.9:
Lloh30:
	adrp	x8, _VMCS_HOST_GS_SELECTOR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _VMCS_HOST_GS_SELECTOR@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.10:
Lloh33:
	adrp	x8, _VMCS_HOST_TR_SELECTOR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VMCS_HOST_TR_SELECTOR@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.11:
	bl	_vmm_get_host_fsbase
	mov	x1, x0
Lloh36:
	adrp	x8, _VMCS_HOST_FS_BASE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _VMCS_HOST_FS_BASE@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.12:
	bl	_vmm_get_host_idtrbase
	mov	x1, x0
Lloh39:
	adrp	x8, _VMCS_HOST_IDTR_BASE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _VMCS_HOST_IDTR_BASE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.13:
Lloh42:
	adrp	x8, _no_flush_rsb@GOTPAGE
Lloh43:
	ldr	x8, [x8, _no_flush_rsb@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
Lloh45:
	adrp	x9, _VMCS_HOST_RIP@GOTPAGE
Lloh46:
	ldr	x9, [x9, _VMCS_HOST_RIP@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x9]
	cbz	x8, LBB0_15
; %bb.14:
Lloh48:
	adrp	x8, _vmx_exit_guest@GOTPAGE
Lloh49:
	ldr	x8, [x8, _vmx_exit_guest@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh50:
	adrp	x8, _vmx_exit_guest_flush_rsb@GOTPAGE
Lloh51:
	ldr	x8, [x8, _vmx_exit_guest_flush_rsb@GOTPAGEOFF]
LBB0_16:
	ldr	w1, [x8]
	bl	_vmwrite
	mov	x23, x0
	cbnz	w0, LBB0_18
; %bb.17:
Lloh52:
	adrp	x8, _VMCS_LINK_POINTER@GOTPAGE
Lloh53:
	ldr	x8, [x8, _VMCS_LINK_POINTER@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_vmwrite
	mov	x23, x0
LBB0_18:
	mov	x0, x19
	bl	_VMCLEAR
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCS_HOST_IA32_PAT,4,2         ; @VMCS_HOST_IA32_PAT
	.comm	_VMCS_HOST_IA32_EFER,4,2        ; @VMCS_HOST_IA32_EFER
	.comm	_VMCS_HOST_CR0,4,2              ; @VMCS_HOST_CR0
	.comm	_CR4_VMXE,4,2                   ; @CR4_VMXE
	.comm	_VMCS_HOST_CR4,4,2              ; @VMCS_HOST_CR4
	.comm	_VMCS_HOST_ES_SELECTOR,4,2      ; @VMCS_HOST_ES_SELECTOR
	.comm	_VMCS_HOST_CS_SELECTOR,4,2      ; @VMCS_HOST_CS_SELECTOR
	.comm	_VMCS_HOST_SS_SELECTOR,4,2      ; @VMCS_HOST_SS_SELECTOR
	.comm	_VMCS_HOST_DS_SELECTOR,4,2      ; @VMCS_HOST_DS_SELECTOR
	.comm	_VMCS_HOST_FS_SELECTOR,4,2      ; @VMCS_HOST_FS_SELECTOR
	.comm	_VMCS_HOST_GS_SELECTOR,4,2      ; @VMCS_HOST_GS_SELECTOR
	.comm	_VMCS_HOST_TR_SELECTOR,4,2      ; @VMCS_HOST_TR_SELECTOR
	.comm	_VMCS_HOST_FS_BASE,4,2          ; @VMCS_HOST_FS_BASE
	.comm	_VMCS_HOST_IDTR_BASE,4,2        ; @VMCS_HOST_IDTR_BASE
	.comm	_no_flush_rsb,8,3               ; @no_flush_rsb
	.comm	_VMCS_HOST_RIP,4,2              ; @VMCS_HOST_RIP
	.comm	_vmx_exit_guest,8,3             ; @vmx_exit_guest
	.comm	_vmx_exit_guest_flush_rsb,8,3   ; @vmx_exit_guest_flush_rsb
	.comm	_VMCS_LINK_POINTER,4,2          ; @VMCS_LINK_POINTER
.subsections_via_symbols
