	.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	_qtrue@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_GetToken
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_token@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_Error
LBB0_5:
	movq	_num_entities@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movq	_MAX_MAP_ENTITIES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	_Error
	movq	(%r15), %rbx
LBB0_7:
	movq	_entities@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	1(%rbx), %rax
	movq	%rax, (%r15)
	leaq	L_.str.4(%rip), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	callq	_GetToken
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.3(%rip), %rdi
	callq	_Error
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	callq	_ParseEpair
	movq	(%r14,%rbx,8), %rcx
	movq	%rcx, (%rax)
	movq	%rax, (%r14,%rbx,8)
	jmp	LBB0_8
LBB0_1:
	movq	_qfalse@GOTPCREL(%rip), %r13
LBB0_2:
	movl	(%r13), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_token,4,2                      ## @token
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _qtrue@GOTPAGE
Lloh1:
	ldr	x21, [x21, _qtrue@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_GetToken
	cbz	w0, LBB0_10
; %bb.1:
Lloh2:
	adrp	x22, _token@GOTPAGE
Lloh3:
	ldr	x22, [x22, _token@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Error
LBB0_3:
Lloh8:
	adrp	x19, _num_entities@GOTPAGE
Lloh9:
	ldr	x19, [x19, _num_entities@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _MAX_MAP_ENTITIES@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MAX_MAP_ENTITIES@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Error
	ldr	x8, [x19]
LBB0_5:
Lloh15:
	adrp	x9, _entities@GOTPAGE
Lloh16:
	ldr	x9, [x9, _entities@GOTPAGEOFF]
Lloh17:
	ldr	x23, [x9]
	add	x9, x8, #1
	str	x9, [x19]
Lloh18:
	adrp	x19, l_.str.3@PAGE
Lloh19:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh20:
	adrp	x20, l_.str.4@PAGE
Lloh21:
	add	x20, x20, l_.str.4@PAGEOFF
	lsl	x24, x8, #3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_GetToken
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_Error
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x22]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_ParseEpair
	ldr	x8, [x23, x24]
	str	x8, [x0]
	str	x0, [x23, x24]
	b	LBB0_6
LBB0_10:
Lloh22:
	adrp	x21, _qfalse@GOTPAGE
Lloh23:
	ldr	x21, [x21, _qfalse@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_token,4,2                      ; @token
	.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
