	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EmitInt
_EmitInt:                               ## @EmitInt
	.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	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %eax
	movq	_MAX_IMAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-4, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_Error
	movl	(%r15), %eax
LBB0_2:
	movzbl	%bl, %ecx
	movq	8(%r15), %rdx
	cltq
	movl	%ecx, (%rdx,%rax,4)
	movzbl	%bh, %eax
	movslq	(%r15), %rcx
	movl	%eax, 4(%rdx,%rcx,4)
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movslq	(%r15), %rcx
	movl	%eax, 8(%rdx,%rcx,4)
	shrl	$24, %ebx
	movslq	(%r15), %rax
	movl	%ebx, 12(%rdx,%rax,4)
	addl	$4, (%r15)
	popq	%rbx
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_IMAGE,4,2                  ## @MAX_IMAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAX_IMAGE"

	.no_dead_strip	_EmitInt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EmitInt
_EmitInt:                               ; @EmitInt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MAX_IMAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_IMAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #4
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Error
	ldr	w8, [x19]
LBB0_2:
	and	w9, w20, #0xff
	ldr	x10, [x19, #8]
	str	w9, [x10, w8, sxtw #2]
	ubfx	w8, w20, #8, #8
	ldrsw	x9, [x19]
	add	x9, x10, x9, lsl #2
	str	w8, [x9, #4]
	ubfx	w8, w20, #16, #8
	ldrsw	x9, [x19]
	add	x9, x10, x9, lsl #2
	str	w8, [x9, #8]
	lsr	w8, w20, #24
	ldrsw	x9, [x19]
	add	x9, x10, x9, lsl #2
	str	w8, [x9, #12]
	ldr	w8, [x19]
	add	w8, w8, #4
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_IMAGE,4,2                  ; @MAX_IMAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAX_IMAGE"

	.no_dead_strip	_EmitInt
.subsections_via_symbols
