	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseFromMemory                ## -- Begin function ParseFromMemory
	.p2align	4, 0x90
_ParseFromMemory:                       ## @ParseFromMemory
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	_scriptstack@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rax
	movq	_script@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	_MAX_INCLUDES@GOTPCREL(%rip), %rcx
	cmpq	$1, (%rcx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_Error
	movq	(%rbx), %rax
LBB0_2:
	movl	32(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcpy
	movq	(%rbx), %rax
	movq	%r15, (%rax)
	movq	(%rbx), %rax
	movl	$1, 8(%rax)
	movq	(%rax), %rcx
	movq	%rcx, 16(%rax)
	movslq	%r14d, %rdx
	addq	%rcx, %rdx
	movq	%rdx, 24(%rax)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_endofscript@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_tokenready@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_scriptstack,8,3                ## @scriptstack
	.comm	_script,8,3                     ## @script
	.comm	_MAX_INCLUDES,8,3               ## @MAX_INCLUDES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"script file exceeded MAX_INCLUDES"

L_.str.1:                               ## @.str.1
	.asciz	"memory buffer"

	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_endofscript,8,3                ## @endofscript
	.comm	_tokenready,8,3                 ## @tokenready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseFromMemory                ; -- Begin function ParseFromMemory
	.p2align	2
_ParseFromMemory:                       ; @ParseFromMemory
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _scriptstack@GOTPAGE
Lloh1:
	ldr	x8, [x8, _scriptstack@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _script@GOTPAGE
Lloh4:
	ldr	x21, [x21, _script@GOTPAGEOFF]
	add	x8, x8, #40
	str	x8, [x21]
Lloh5:
	adrp	x9, _MAX_INCLUDES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_INCLUDES@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, #1
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Error
	ldr	x8, [x21]
LBB0_2:
	ldr	w0, [x8, #32]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcpy
	ldr	x8, [x21]
	str	x20, [x8]
	ldr	x8, [x21]
	mov	w9, #1
	str	w9, [x8, #8]
	ldr	x9, [x8]
	add	x10, x9, w19, sxtw
	stp	x9, x10, [x8, #16]
Lloh12:
	adrp	x8, _qfalse@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _endofscript@GOTPAGE
Lloh16:
	ldr	x9, [x9, _endofscript@GOTPAGEOFF]
Lloh17:
	str	x8, [x9]
Lloh18:
	adrp	x9, _tokenready@GOTPAGE
Lloh19:
	ldr	x9, [x9, _tokenready@GOTPAGEOFF]
Lloh20:
	str	x8, [x9]
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_scriptstack,8,3                ; @scriptstack
	.comm	_script,8,3                     ; @script
	.comm	_MAX_INCLUDES,8,3               ; @MAX_INCLUDES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"script file exceeded MAX_INCLUDES"

l_.str.1:                               ; @.str.1
	.asciz	"memory buffer"

	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_endofscript,8,3                ; @endofscript
	.comm	_tokenready,8,3                 ; @tokenready
.subsections_via_symbols
