	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmexit_inst_emul
_vmexit_inst_emul:                      ## @vmexit_inst_emul
	.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	%rsi, %rbx
	movq	_stats@GOTPCREL(%rip), %rax
	incl	(%rax)
	leaq	16(%rsi), %r14
	movl	(%rdx), %esi
	movl	8(%rbx), %edx
	leaq	12(%rbx), %r8
	movq	%r14, %rcx
	callq	_emulate_mem
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	leaq	L_.str.4(%rip), %r12
	leaq	L_.str.3(%rip), %r13
	leaq	L_.str.2(%rip), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	24(%rbx), %rcx
	movl	(%rcx,%r15,4), %edx
	decl	%eax
	cmpq	%rax, %r15
	movq	%r13, %rcx
	cmoveq	%r12, %rcx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	incq	%r15
	movslq	16(%rbx), %rax
	cmpq	%rax, %r15
	jl	LBB0_6
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_VMEXIT_ABORT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_VMEXIT_CONTINUE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stats,4,2                      ## @stats
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled memory access to 0x%lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to emulate instruction ["

L_.str.2:                               ## @.str.2
	.asciz	"0x%02x%s"

L_.str.3:                               ## @.str.3
	.asciz	" "

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"] at 0x%lx\n"

	.comm	_VMEXIT_ABORT,4,2               ## @VMEXIT_ABORT
	.comm	_VMEXIT_CONTINUE,4,2            ## @VMEXIT_CONTINUE
	.no_dead_strip	_vmexit_inst_emul
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmexit_inst_emul
_vmexit_inst_emul:                      ; @vmexit_inst_emul
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
Lloh0:
	adrp	x8, _stats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stats@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	add	x20, x1, #16
	ldr	w1, [x2]
	ldr	w2, [x19, #8]
	add	x4, x19, #12
	mov	x3, x20
	bl	_emulate_mem
	cbz	w0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _ESRCH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x21, _stderr@GOTPAGE
Lloh6:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x21]
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_3:
	ldr	w0, [x21]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
Lloh11:
	adrp	x23, l_.str.3@PAGE
Lloh12:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh13:
	adrp	x24, l_.str.4@PAGE
Lloh14:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh15:
	adrp	x20, l_.str.2@PAGE
Lloh16:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	x9, [x19, #24]
	sub	w8, w8, #1
	cmp	x22, x8
	csel	x8, x24, x23, eq
	ldr	w9, [x9, x22, lsl #2]
	stp	x9, x8, [sp]
	mov	x1, x20
	bl	_fprintf
	add	x22, x22, #1
	ldrsw	x8, [x19, #16]
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	w0, [x21]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
Lloh19:
	adrp	x8, _VMEXIT_ABORT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VMEXIT_ABORT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh21:
	adrp	x8, _VMEXIT_CONTINUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VMEXIT_CONTINUE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_stats,4,2                      ; @stats
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled memory access to 0x%lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to emulate instruction ["

l_.str.2:                               ; @.str.2
	.asciz	"0x%02x%s"

l_.str.3:                               ; @.str.3
	.asciz	" "

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"] at 0x%lx\n"

	.comm	_VMEXIT_ABORT,4,2               ; @VMEXIT_ABORT
	.comm	_VMEXIT_CONTINUE,4,2            ; @VMEXIT_CONTINUE
	.no_dead_strip	_vmexit_inst_emul
.subsections_via_symbols
