	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_queue_exception
_svm_queue_exception:                   ## @svm_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_to_svm
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_nested_svm_check_exception
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	_SVM_EVTINJ_VALID@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	movq	_SVM_EVTINJ_VALID_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_3:
	orl	%r15d, %ebx
	movq	_SVM_EVTINJ_TYPE_EXEPT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%r12), %rax
	movl	%ebx, (%rax)
	movl	%r14d, 4(%rax)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVM_EVTINJ_VALID,4,2           ## @SVM_EVTINJ_VALID
	.comm	_SVM_EVTINJ_VALID_ERR,4,2       ## @SVM_EVTINJ_VALID_ERR
	.comm	_SVM_EVTINJ_TYPE_EXEPT,4,2      ## @SVM_EVTINJ_TYPE_EXEPT
	.no_dead_strip	_svm_queue_exception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_queue_exception
_svm_queue_exception:                   ; @svm_queue_exception
	.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, x3
	mov	x21, x2
	mov	x22, x1
	bl	_to_svm
	mov	x20, x0
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_nested_svm_check_exception
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SVM_EVTINJ_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVM_EVTINJ_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SVM_EVTINJ_VALID_ERR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVM_EVTINJ_VALID_ERR@GOTPAGEOFF]
	orr	w8, w8, w22
Lloh5:
	ldr	w9, [x9]
	cmp	w21, #0
	csel	w9, wzr, w9, eq
Lloh6:
	adrp	x10, _SVM_EVTINJ_TYPE_EXEPT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SVM_EVTINJ_TYPE_EXEPT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	x9, [x20]
	stp	w8, w19, [x9]
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SVM_EVTINJ_VALID,4,2           ; @SVM_EVTINJ_VALID
	.comm	_SVM_EVTINJ_VALID_ERR,4,2       ; @SVM_EVTINJ_VALID_ERR
	.comm	_SVM_EVTINJ_TYPE_EXEPT,4,2      ; @SVM_EVTINJ_TYPE_EXEPT
	.no_dead_strip	_svm_queue_exception
.subsections_via_symbols
