	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_exit_inst_error
_vmx_exit_inst_error:                   ## @vmx_exit_inst_error
	.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	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rsi
	movq	_VM_SUCCESS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rsi
	setne	%dil
	callq	_KASSERT
	movq	$0, 32(%rbx)
	movq	_VM_EXITCODE_VMX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_vmcs_instruction_error
	movl	%eax, 20(%rbx)
	movq	$-1, 12(%rbx)
	leal	-128(%r14), %eax
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	movl	%r14d, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_panic                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_SUCCESS,8,3                 ## @VM_SUCCESS
	.comm	_VM_EXITCODE_VMX,4,2            ## @VM_EXITCODE_VMX
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"vm_exit_inst_error: vmx_enter_guest returned %d"

	.no_dead_strip	_vmx_exit_inst_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_exit_inst_error
_vmx_exit_inst_error:                   ; @vmx_exit_inst_error
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x8, _VM_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	cset	w0, ne
	bl	_KASSERT
	str	xzr, [x20, #32]
Lloh3:
	adrp	x8, _VM_EXITCODE_VMX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_EXITCODE_VMX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	ldr	x8, [x21]
	str	x8, [x20]
	bl	_vmcs_instruction_error
	str	w0, [x20, #20]
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x20, #12]
	sub	w8, w19, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	str	w19, [x20, #8]
	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
	ret
LBB0_2:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	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	_panic
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_SUCCESS,8,3                 ; @VM_SUCCESS
	.comm	_VM_EXITCODE_VMX,4,2            ; @VM_EXITCODE_VMX
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"vm_exit_inst_error: vmx_enter_guest returned %d"

	.no_dead_strip	_vmx_exit_inst_error
.subsections_via_symbols
