	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseEntity                    ## -- Begin function ParseEntity
	.p2align	4, 0x90
_ParseEntity:                           ## @ParseEntity
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rsi
	callq	_PS_ReadToken
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-48(%rbp), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_Error
LBB0_4:
	movq	_num_entities@GOTPCREL(%rip), %r14
	movq	(%r14), %r13
	movq	_MAX_MAP_ENTITIES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_Error
	movq	(%r14), %r13
LBB0_6:
	movq	_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	1(%r13), %rax
	movq	%rax, (%r14)
	leaq	-48(%rbp), %r14
	leaq	L_.str.4(%rip), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_PS_ReadToken
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_Error
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	-48(%rbp), %edi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_PS_UnreadLastToken
	movq	%rbx, %rdi
	callq	_ParseEpair
	movq	(%r15,%r13,8), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%r15,%r13,8)
	jmp	LBB0_7
LBB0_10:
	movl	$1, %eax
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{"

L_.str.1:                               ## @.str.1
	.asciz	"ParseEntity: { not found"

	.comm	_num_entities,8,3               ## @num_entities
	.comm	_MAX_MAP_ENTITIES,8,3           ## @MAX_MAP_ENTITIES
L_.str.2:                               ## @.str.2
	.asciz	"num_entities == MAX_MAP_ENTITIES"

	.comm	_entities,8,3                   ## @entities
L_.str.3:                               ## @.str.3
	.asciz	"ParseEntity: EOF without closing brace"

L_.str.4:                               ## @.str.4
	.asciz	"}"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParseEntity                    ; -- Begin function ParseEntity
	.p2align	2
_ParseEntity:                           ; @ParseEntity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	add	x1, sp, #8
	bl	_PS_ReadToken
	cbz	w0, LBB0_11
; %bb.1:
	ldr	w0, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Error
LBB0_3:
Lloh4:
	adrp	x20, _num_entities@GOTPAGE
Lloh5:
	ldr	x20, [x20, _num_entities@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _MAX_MAP_ENTITIES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_MAP_ENTITIES@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Error
	ldr	x8, [x20]
LBB0_5:
Lloh11:
	adrp	x9, _entities@GOTPAGE
Lloh12:
	ldr	x9, [x9, _entities@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x9]
	add	x9, x8, #1
	str	x9, [x20]
Lloh14:
	adrp	x20, l_.str.3@PAGE
Lloh15:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh16:
	adrp	x21, l_.str.4@PAGE
Lloh17:
	add	x21, x21, l_.str.4@PAGEOFF
	lsl	x23, x8, #3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_PS_ReadToken
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_Error
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [sp, #8]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_PS_UnreadLastToken
	mov	x0, x19
	bl	_ParseEpair
	ldr	x8, [x22, x23]
	str	x8, [x0]
	str	x0, [x22, x23]
	b	LBB0_6
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{"

l_.str.1:                               ; @.str.1
	.asciz	"ParseEntity: { not found"

	.comm	_num_entities,8,3               ; @num_entities
	.comm	_MAX_MAP_ENTITIES,8,3           ; @MAX_MAP_ENTITIES
l_.str.2:                               ; @.str.2
	.asciz	"num_entities == MAX_MAP_ENTITIES"

	.comm	_entities,8,3                   ; @entities
l_.str.3:                               ; @.str.3
	.asciz	"ParseEntity: EOF without closing brace"

l_.str.4:                               ; @.str.4
	.asciz	"}"

.subsections_via_symbols
