	.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	$24, %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, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%rbx)
	cmpl	$0, 4(%r14)
	jle	LBB0_20
## %bb.1:
	movq	%r14, %rsi
	movq	%rax, %rbx
	movslq	(%r14), %rax
	leaq	(%r14,%rax,4), %r13
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	%r14d, (%rax,%r12,4)
	movslq	%r14d, %rax
	movl	(%r13,%rax,4), %r15d
	movl	%r15d, (%rbx,%rax,4)
	cmpl	8(%rsi), %eax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	leal	1(%r14), %ecx
	leal	-128(%r15), %eax
	cmpl	$21, %eax
	jae	LBB0_5
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rbx
	leaq	(,%rbx,4), %rdi
	addq	%r13, %rdi
	callq	_loadWord
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$5, %ecx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rbx,4)
	movq	%rdx, %rbx
	addl	%ecx, %r14d
	movl	%r14d, %ecx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%rsi), %rax
	movl	%ecx, %r14d
	cmpq	%rax, %r12
	jl	LBB0_2
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$149, %r15d
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ecx, %rbx
	movl	(%r13,%rbx,4), %eax
	movl	$2, %ecx
	jmp	LBB0_7
LBB0_9:
	testl	%eax, %eax
	jle	LBB0_20
## %bb.10:
	movslq	(%rsi), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %r10
	leaq	(%rsi,%rcx,4), %r9
	xorl	%r11d, %r11d
	movl	$261599, %r8d                   ## imm = 0x3FDDF
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rdi
	movl	(%r9,%rdi,4), %edx
	incl	%r11d
	incl	%edi
	leal	-128(%rdx), %ecx
	cmpl	$21, %ecx
	jae	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$17, %ecx
	ja	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	btl	%ecx, %r8d
	jae	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%edi, %rcx
	movslq	(%r10,%rcx,4), %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, (%r10,%rcx,4)
	movl	4(%rsi), %eax
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	addl	$5, %ebx
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%ebx, %edi
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%edi, %ebx
	cmpl	%eax, %r11d
	jl	LBB0_11
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$149, %edx
	jne	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	addl	$2, %ebx
	jmp	LBB0_18
LBB0_20:
	addq	$24, %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_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM_PrepareInterpreter: pc > header->codeLength"

.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, #16]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x21, x0
	mov	x23, #0
	mov	w26, #0
	ldrsw	x8, [x19]
	add	x24, x19, x8, lsl #2
Lloh3:
	adrp	x25, _ERR_FATAL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ERR_FATAL@GOTPAGEOFF]
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	str	w26, [x8, x23, lsl #2]
	sbfiz	x8, x26, #2, #32
	ldr	w28, [x24, x8]
	str	w28, [x21, x8]
	ldr	w8, [x19, #8]
	cmp	w26, w8
	b.le	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	mov	x1, x22
	bl	_Com_Error
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x27, w26
	add	x26, x27, #1
	sub	w8, w28, #128
	cmp	w8, #21
	b.hs	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x24, x26, lsl #2
	bl	_loadWord
	mov	w8, #5
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w0, [x21, x26, lsl #2]
	add	w26, w27, w8
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19, #4]
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	cmp	x23, x8
	b.lt	LBB0_2
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, #149
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24, w26, sxtw #2]
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	sxtw	x26, w26
	mov	w8, #2
	b	LBB0_6
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.11:
	mov	w9, #0
	mov	w10, #0
	ldrsw	x12, [x19]
	ldr	x11, [x20, #16]
	add	x12, x19, x12, lsl #2
	mov	w13, #1
	mov	w14, #64991
	movk	w14, #3, lsl #16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sxtw	x15, w10
	ldr	w16, [x12, w10, sxtw #2]
	add	x15, x15, #1
	sub	w17, w16, #128
	cmp	w17, #21
	b.hs	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w17, #17
	lsl	w16, w13, w17
	and	w16, w16, w14
	ccmp	w16, #0, #4, ls
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	lsl	x8, x15, #2
	ldrsw	x15, [x11, x8]
	ldr	x16, [x20, #8]
	ldr	w15, [x16, x15, lsl #2]
	str	w15, [x11, x8]
	ldr	w8, [x19, #4]
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w10, w10, #5
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w9, w9, #1
	cmp	w9, w8
	b.lt	LBB0_12
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w10, w10, #2
	cmp	w16, #149
	csel	w10, w10, w15, eq
	b	LBB0_16
LBB0_18:
	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	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_h_high,4,2                     ; @h_high
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM_PrepareInterpreter: pc > header->codeLength"

.subsections_via_symbols
