	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VM_PrepareInterpreter          ## -- Begin function VM_PrepareInterpreter
	.p2align	4, 0x90
_VM_PrepareInterpreter:                 ## @VM_PrepareInterpreter
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	shll	$2, %edi
	movq	_h_high@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Hunk_Alloc
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 24(%rbx)
	cmpl	$0, 4(%r14)
	jle	LBB0_21
## %bb.1:
	movq	%r14, %rsi
	movq	%rax, %rdi
	movslq	(%r14), %rax
	leaq	(%r14,%rax,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	%r15d, (%rax,%r12,4)
	movslq	%r14d, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,8), %r13d
	movslq	%r15d, %rcx
	movl	%r13d, (%rdi,%rcx,4)
	cmpl	8(%rsi), %eax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	leal	1(%r14), %ecx
	leal	1(%r15), %ebx
	leal	-128(%r13), %eax
	cmpl	$21, %eax
	jae	LBB0_5
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	callq	_loadWord
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$5, %ecx
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %rdx
	movl	%eax, (%rdi,%rdx,4)
	addl	%ecx, %r14d
	addl	$2, %r15d
	movl	%r15d, %ebx
	movl	%r14d, %ecx
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%rsi), %rax
	movl	%ecx, %r14d
	movl	%ebx, %r15d
	cmpq	%rax, %r12
	jl	LBB0_2
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$149, %r13d
	jne	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,8), %eax
	movl	$2, %ecx
	jmp	LBB0_16
LBB0_7:
	testl	%eax, %eax
	jle	LBB0_21
## %bb.8:
	xorl	%r14d, %r14d
	movl	$261599, %r12d                  ## imm = 0x3FDDF
	leaq	L_.str.1(%rip), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rcx
	movl	(%rdi,%rcx,4), %edx
	incl	%r14d
	incl	%ecx
	addl	$-128, %edx
	cmpl	$21, %edx
	ja	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	btl	%edx, %r12d
	jae	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movslq	%ecx, %r15
	movl	(%rdi,%r15,4), %eax
	testl	%eax, %eax
	js	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	16(%rcx), %eax
	jle	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_Com_Error
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rdi,%r15,4), %eax
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	cltq
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%rdi,%r15,4)
	addl	$2, %ebx
	movl	4(%rsi), %eax
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	addl	$2, %ebx
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%ebx, %ecx
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	%ecx, %ebx
	cmpl	%eax, %r14d
	jl	LBB0_9
LBB0_21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h_high,4,2                     ## @h_high
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM_PrepareInterpreter: pc > header->codeLength"

L_.str.1:                               ## @.str.1
	.asciz	"VM_PrepareInterpreter: Jump to invalid instruction number"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_VM_PrepareInterpreter          ; -- Begin function VM_PrepareInterpreter
	.p2align	2
_VM_PrepareInterpreter:                 ; @VM_PrepareInterpreter
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	lsl	w0, w8, #2
Lloh0:
	adrp	x8, _h_high@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h_high@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_Hunk_Alloc
	str	x0, [x20, #24]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.1:
	mov	x21, x0
	mov	x24, #0
	mov	w27, #0
	mov	w26, #0
	ldrsw	x8, [x19]
	add	x25, x19, x8, lsl #3
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	str	w26, [x8, x24, lsl #2]
	ldr	x23, [x25, w27, sxtw #3]
	str	w23, [x21, w26, sxtw #2]
	ldr	w8, [x19, #8]
	cmp	w27, w8
	b.le	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh5:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_Com_Error
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x27, w27
	sxtw	x28, w26
	add	x9, x27, #1
	add	x26, x28, #1
	sub	w8, w23, #128
	cmp	w8, #21
	b.hs	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x25, x9, lsl #3
	bl	_loadWord
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #5
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w0, [x21, x26, lsl #2]
	add	w9, w27, w8
	add	w26, w28, #2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19, #4]
	mov	x27, x9
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	cmp	x24, x8
	b.lt	LBB0_2
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, #149
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x25, w9, sxtw #3]
	mov	w8, #2
	b	LBB0_6
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.11:
	mov	w24, #0
	mov	w26, #0
	mov	w25, #1
	mov	w27, #64991
	movk	w27, #3, lsl #16
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w26, w26, #2
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w24, w24, #1
	cmp	w24, w8
	b.ge	LBB0_21
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x9, w26
	ldr	w10, [x21, w26, sxtw #2]
	add	x28, x9, #1
	sub	w9, w10, #128
	cmp	w9, #21
	b.hi	LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	lsl	w9, w25, w9
	tst	w9, w27
	b.eq	LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x21, x28, lsl #2]
	tbnz	w8, #31, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w9, [x20, #16]
	cmp	w8, w9
	b.le	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh10:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_Com_Error
	ldr	w8, [x21, x28, lsl #2]
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x9, [x20, #8]
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x21, x28, lsl #2]
	add	w26, w26, #2
	ldr	w8, [x19, #4]
	b	LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x26, x28
	b	LBB0_13
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_h_high,4,2                     ; @h_high
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM_PrepareInterpreter: pc > header->codeLength"

l_.str.1:                               ; @.str.1
	.asciz	"VM_PrepareInterpreter: Jump to invalid instruction number"

.subsections_via_symbols
