	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InstImm
_InstImm:                               ## @InstImm
	.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	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movl	%esi, %r12d
	movswl	%r15w, %eax
	cmpl	%r8d, %eax
	je	LBB0_2
## %bb.1:
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	callq	_Com_Error
LBB0_2:
	shll	$21, %ebx
	orl	%r12d, %ebx
	shll	$16, %r14d
	movzwl	%r15w, %eax
	orl	%r14d, %eax
	orl	%ebx, %eax
	movq	_buf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_compiledOfs@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movl	%eax, (%rcx,%rsi,4)
	incq	%rsi
	movq	%rsi, (%rdx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VM_Compile: immediate value %i out of range, opcode %x,%d,%d"

	.comm	_buf,8,3                        ## @buf
	.comm	_compiledOfs,8,3                ## @compiledOfs
	.comm	_pass,4,2                       ## @pass
	.no_dead_strip	_InstImm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InstImm
_InstImm:                               ; @InstImm
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	cmp	w4, w4, sxth
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERR_FATAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_FATAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_Com_Error
LBB0_2:
	orr	w8, w22, w21, lsl #21
	orr	w8, w8, w20, lsl #16
	and	w9, w19, #0xffff
	orr	w8, w8, w9
Lloh5:
	adrp	x9, _buf@GOTPAGE
Lloh6:
	ldr	x9, [x9, _buf@GOTPAGEOFF]
Lloh7:
	adrp	x10, _compiledOfs@GOTPAGE
Lloh8:
	ldr	x10, [x10, _compiledOfs@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x11, [x10]
	str	w8, [x9, x11, lsl #2]
	add	x8, x11, #1
	str	x8, [x10]
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VM_Compile: immediate value %i out of range, opcode %x,%d,%d"

	.comm	_buf,8,3                        ; @buf
	.comm	_compiledOfs,8,3                ; @compiledOfs
	.comm	_pass,4,2                       ; @pass
	.no_dead_strip	_InstImm
.subsections_via_symbols
