	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EndOfScript                    ## -- Begin function EndOfScript
	.p2align	4, 0x90
_EndOfScript:                           ## @EndOfScript
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	movq	_scriptline@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_Error
LBB0_2:
	movq	_script@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	12(%rbx), %edi
	callq	_free
	movq	(%r14), %rax
	movq	_scriptstack@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	$16, %rcx
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.5:
	leaq	-16(%rax), %rcx
	movq	%rcx, (%r14)
	movl	-8(%rax), %ecx
	movq	_scriptline@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	-16(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GetToken                       ## TAILCALL
LBB0_4:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_endofscript@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Line %i is incomplete\n"

	.comm	_scriptline,4,2                 ## @scriptline
	.comm	_script,8,3                     ## @script
L_.str.1:                               ## @.str.1
	.asciz	"memory buffer"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_endofscript,4,2                ## @endofscript
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_scriptstack,8,3                ## @scriptstack
L_.str.2:                               ## @.str.2
	.asciz	"returning to %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EndOfScript                    ; -- Begin function EndOfScript
	.p2align	2
_EndOfScript:                           ; @EndOfScript
	.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, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _scriptline@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scriptline@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Error
LBB0_2:
Lloh5:
	adrp	x20, _script@GOTPAGE
Lloh6:
	ldr	x20, [x20, _script@GOTPAGEOFF]
	ldr	x21, [x20]
	ldr	x0, [x21]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w0, [x21, #12]
	bl	_free
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _scriptstack@GOTPAGE
Lloh10:
	ldr	x9, [x9, _scriptstack@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x9, x9, #16
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	sub	x9, x8, #16
	str	x9, [x20]
	ldur	w9, [x8, #-8]
Lloh12:
	adrp	x10, _scriptline@GOTPAGE
Lloh13:
	ldr	x10, [x10, _scriptline@GOTPAGEOFF]
Lloh14:
	str	w9, [x10]
	ldur	x1, [x8, #-16]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	x0, x19
	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
	b	_GetToken
LBB0_5:
Lloh17:
	adrp	x8, _qtrue@GOTPAGE
Lloh18:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _endofscript@GOTPAGE
Lloh21:
	ldr	x9, [x9, _endofscript@GOTPAGEOFF]
Lloh22:
	str	w8, [x9]
Lloh23:
	adrp	x8, _qfalse@GOTPAGE
Lloh24:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Line %i is incomplete\n"

	.comm	_scriptline,4,2                 ; @scriptline
	.comm	_script,8,3                     ; @script
l_.str.1:                               ; @.str.1
	.asciz	"memory buffer"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_endofscript,4,2                ; @endofscript
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_scriptstack,8,3                ; @scriptstack
l_.str.2:                               ; @.str.2
	.asciz	"returning to %s\n"

.subsections_via_symbols
