	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_rmode_exception
_handle_rmode_exception:                ## @handle_rmode_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	%esi, %ebx
	movq	%rdi, %r14
	cmpl	$132, %esi
	setne	%al
	cmpl	$129, %esi
	setne	%cl
	testb	%cl, %al
	jne	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_emulate_instruction
	movq	_EMULATE_DONE@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
	leal	-128(%rbx), %eax
	cmpl	$9, %eax
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	%r14, %rdi
	movl	%ebx, %esi
LBB0_9:
	callq	_kvm_queue_exception
	movl	$1, %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_KVM_GUESTDBG_SINGLESTEP@GOTPCREL(%rip), %rax
	movq	_KVM_GUESTDBG_USE_HW_BP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%r14)
	jne	LBB0_10
## %bb.6:
	movq	%r14, %rdi
	movl	$135, %esi
	jmp	LBB0_9
LBB0_7:
	movq	_VM_EXIT_INSTRUCTION_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vmcs_read32
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_to_vmx
	movl	%r12d, (%rax)
	movq	_KVM_GUESTDBG_USE_SW_BP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_10
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_EMULATE_DONE,8,3               ## @EMULATE_DONE
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ## @KVM_GUESTDBG_SINGLESTEP
	.comm	_KVM_GUESTDBG_USE_HW_BP,4,2     ## @KVM_GUESTDBG_USE_HW_BP
	.comm	_VM_EXIT_INSTRUCTION_LEN,4,2    ## @VM_EXIT_INSTRUCTION_LEN
	.comm	_KVM_GUESTDBG_USE_SW_BP,4,2     ## @KVM_GUESTDBG_USE_SW_BP
	.no_dead_strip	_handle_rmode_exception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_rmode_exception
_handle_rmode_exception:                ; @handle_rmode_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	x20, x1
	mov	x19, x0
	cmp	w1, #129
	mov	w8, #132
	ccmp	w1, w8, #4, ne
	ccmp	x2, #0, #0, eq
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_emulate_instruction
Lloh0:
	adrp	x8, _EMULATE_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMULATE_DONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_6
LBB0_2:
	sub	w8, w20, #128
	cmp	w8, #9
	b.hi	LBB0_11
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x19
	mov	x1, x20
LBB0_5:
	bl	_kvm_queue_exception
LBB0_6:
	mov	w0, #1
LBB0_7:
	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_8:
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _KVM_GUESTDBG_SINGLESTEP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KVM_GUESTDBG_SINGLESTEP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _KVM_GUESTDBG_USE_HW_BP@GOTPAGE
Lloh9:
	ldr	x10, [x10, _KVM_GUESTDBG_USE_HW_BP@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x19
	mov	w1, #135
	b	LBB0_5
LBB0_10:
Lloh11:
	adrp	x8, _VM_EXIT_INSTRUCTION_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VM_EXIT_INSTRUCTION_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_vmcs_read32
	mov	x21, x0
	mov	x0, x19
	bl	_to_vmx
	str	w21, [x0]
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _KVM_GUESTDBG_USE_SW_BP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _KVM_GUESTDBG_USE_SW_BP@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_11:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.comm	_EMULATE_DONE,8,3               ; @EMULATE_DONE
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ; @KVM_GUESTDBG_SINGLESTEP
	.comm	_KVM_GUESTDBG_USE_HW_BP,4,2     ; @KVM_GUESTDBG_USE_HW_BP
	.comm	_VM_EXIT_INSTRUCTION_LEN,4,2    ; @VM_EXIT_INSTRUCTION_LEN
	.comm	_KVM_GUESTDBG_USE_SW_BP,4,2     ; @KVM_GUESTDBG_USE_SW_BP
	.no_dead_strip	_handle_rmode_exception
.subsections_via_symbols
