	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_queue_exception
_vmx_queue_exception:                   ## @vmx_queue_exception
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r13
	callq	_to_vmx
	movq	%rax, %r15
	movq	_INTR_INFO_VALID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	%r12d, %ebx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movq	_VM_ENTRY_EXCEPTION_ERROR_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_vmcs_write32
	movq	_INTR_INFO_DELIVER_CODE_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_2:
	cmpq	$0, 24(%r15)
	je	LBB0_6
## %bb.3:
	movl	$1, 8(%r15)
	movl	%r12d, 12(%r15)
	movq	%r13, %rdi
	callq	_kvm_rip_read
	movq	%rax, 16(%r15)
	movl	%r12d, %edi
	callq	_kvm_exception_is_soft
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movslq	(%r15), %rax
	addq	%rax, 16(%r15)
LBB0_5:
	movq	_INTR_TYPE_SOFT_INTR@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_VM_ENTRY_INTR_INFO_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_vmcs_write32
	movq	_VM_ENTRY_INSTRUCTION_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_vmcs_write32
	movq	16(%r15), %rsi
	decq	%rsi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kvm_rip_write                  ## TAILCALL
LBB0_6:
	movl	%r12d, %edi
	callq	_kvm_exception_is_soft
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	_VM_ENTRY_INSTRUCTION_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_vmcs_write32
	movq	_INTR_TYPE_SOFT_EXCEPTION@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_INTR_TYPE_HARD_EXCEPTION@GOTPCREL(%rip), %rax
LBB0_9:
	orl	(%rax), %ebx
	movq	_VM_ENTRY_INTR_INFO_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_vmcs_write32
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmx_clear_hlt                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_INFO_VALID_MASK,4,2       ## @INTR_INFO_VALID_MASK
	.comm	_VM_ENTRY_EXCEPTION_ERROR_CODE,4,2 ## @VM_ENTRY_EXCEPTION_ERROR_CODE
	.comm	_INTR_INFO_DELIVER_CODE_MASK,4,2 ## @INTR_INFO_DELIVER_CODE_MASK
	.comm	_INTR_TYPE_SOFT_INTR,4,2        ## @INTR_TYPE_SOFT_INTR
	.comm	_VM_ENTRY_INTR_INFO_FIELD,4,2   ## @VM_ENTRY_INTR_INFO_FIELD
	.comm	_VM_ENTRY_INSTRUCTION_LEN,4,2   ## @VM_ENTRY_INSTRUCTION_LEN
	.comm	_INTR_TYPE_SOFT_EXCEPTION,4,2   ## @INTR_TYPE_SOFT_EXCEPTION
	.comm	_INTR_TYPE_HARD_EXCEPTION,4,2   ## @INTR_TYPE_HARD_EXCEPTION
	.no_dead_strip	_vmx_queue_exception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_queue_exception
_vmx_queue_exception:                   ; @vmx_queue_exception
	.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	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	bl	_to_vmx
	mov	x20, x0
Lloh0:
	adrp	x8, _INTR_INFO_VALID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTR_INFO_VALID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w24, w8, w21
	cbz	w23, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _VM_ENTRY_EXCEPTION_ERROR_CODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_ENTRY_EXCEPTION_ERROR_CODE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_vmcs_write32
Lloh6:
	adrp	x8, _INTR_INFO_DELIVER_CODE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INTR_INFO_DELIVER_CODE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_2:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_6
; %bb.3:
	mov	w8, #1
	stp	w8, w21, [x20, #8]
	mov	x0, x19
	bl	_kvm_rip_read
	str	x0, [x20, #16]
	mov	x0, x21
	bl	_kvm_exception_is_soft
	cbz	x0, LBB0_5
; %bb.4:
	ldrsw	x8, [x20]
	ldr	x9, [x20, #16]
	add	x8, x9, x8
	str	x8, [x20, #16]
LBB0_5:
Lloh9:
	adrp	x8, _INTR_TYPE_SOFT_INTR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INTR_TYPE_SOFT_INTR@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w1, w8, w24
Lloh12:
	adrp	x8, _VM_ENTRY_INTR_INFO_FIELD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VM_ENTRY_INTR_INFO_FIELD@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_vmcs_write32
Lloh15:
	adrp	x8, _VM_ENTRY_INSTRUCTION_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VM_ENTRY_INSTRUCTION_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_vmcs_write32
	ldr	x8, [x20, #16]
	sub	x1, x8, #1
	mov	x0, x19
	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
	b	_kvm_rip_write
LBB0_6:
	mov	x0, x21
	bl	_kvm_exception_is_soft
	cbz	x0, LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _VM_ENTRY_INSTRUCTION_LEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VM_ENTRY_INSTRUCTION_LEN@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_vmcs_write32
Lloh21:
	adrp	x8, _INTR_TYPE_SOFT_EXCEPTION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _INTR_TYPE_SOFT_EXCEPTION@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh23:
	adrp	x8, _INTR_TYPE_HARD_EXCEPTION@GOTPAGE
Lloh24:
	ldr	x8, [x8, _INTR_TYPE_HARD_EXCEPTION@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	orr	w1, w8, w24
Lloh25:
	adrp	x8, _VM_ENTRY_INTR_INFO_FIELD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VM_ENTRY_INTR_INFO_FIELD@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_vmcs_write32
	mov	x0, x19
	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
	b	_vmx_clear_hlt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_INFO_VALID_MASK,4,2       ; @INTR_INFO_VALID_MASK
	.comm	_VM_ENTRY_EXCEPTION_ERROR_CODE,4,2 ; @VM_ENTRY_EXCEPTION_ERROR_CODE
	.comm	_INTR_INFO_DELIVER_CODE_MASK,4,2 ; @INTR_INFO_DELIVER_CODE_MASK
	.comm	_INTR_TYPE_SOFT_INTR,4,2        ; @INTR_TYPE_SOFT_INTR
	.comm	_VM_ENTRY_INTR_INFO_FIELD,4,2   ; @VM_ENTRY_INTR_INFO_FIELD
	.comm	_VM_ENTRY_INSTRUCTION_LEN,4,2   ; @VM_ENTRY_INSTRUCTION_LEN
	.comm	_INTR_TYPE_SOFT_EXCEPTION,4,2   ; @INTR_TYPE_SOFT_EXCEPTION
	.comm	_INTR_TYPE_HARD_EXCEPTION,4,2   ; @INTR_TYPE_HARD_EXCEPTION
	.no_dead_strip	_vmx_queue_exception
.subsections_via_symbols
