	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadStructure                  ## -- Begin function ReadStructure
	.p2align	4, 0x90
_ReadStructure:                         ## @ReadStructure
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	callq	_PC_ExpectTokenString
	testl	%eax, %eax
	je	LBB0_33
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_PC_ExpectAnyToken
	testl	%eax, %eax
	je	LBB0_25
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	callq	_PC_ExpectAnyToken
	testl	%eax, %eax
	movq	%rbx, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_25
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	-48(%rbp), %edi
	movq	%rsi, %r15
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_35
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%rbx), %edi
	movl	-48(%rbp), %esi
	callq	_FindField
	testq	%rax, %rax
	je	LBB0_37
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	movq	_FT_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r14), %r12d
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_PC_ExpectTokenString
	testl	%eax, %eax
	je	LBB0_25
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	movq	%r15, %rbx
	jg	LBB0_10
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r12d
	movq	%r15, %rbx
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movslq	8(%r14), %r15
	addq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	incl	%r12d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=2
	decl	%r12d
	cmpl	$1, %r12d
	jbe	LBB0_3
LBB0_12:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %eax
	movq	_FT_ARRAY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_PC_CheckTokenString
	testq	%rax, %rax
	jne	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r14), %eax
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	_FT_TYPE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_28
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ReadNumber
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=2
	addq	$4, %r15
	jmp	LBB0_28
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_39
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_ReadStructure
	movq	16(%r14), %rax
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ReadString
	testl	%eax, %eax
	je	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	_MAX_STRINGFIELD@GOTPCREL(%rip), %rax
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=2
	movslq	(%rax), %rax
	addq	%rax, %r15
	jmp	LBB0_28
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_ReadChar
	testl	%eax, %eax
	je	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=2
	incq	%r15
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	_FT_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_11
## %bb.29:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	callq	_PC_ExpectAnyToken
	testl	%eax, %eax
	je	LBB0_25
## %bb.30:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	-48(%rbp), %edi
	movq	%rbx, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.31:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	-48(%rbp), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.32:
	movl	-48(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_38
LBB0_33:
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_35:
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_37:
	movl	-48(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
LBB0_38:
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_SourceError
LBB0_25:
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_36:
	movl	(%rax), %eax
LBB0_34:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_SourceError
	jmp	LBB0_25
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_26
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{"

	.comm	_qfalse,4,2                     ## @qfalse
L_.str.1:                               ## @.str.1
	.asciz	"}"

L_.str.2:                               ## @.str.2
	.asciz	"unknown structure field %s"

	.comm	_FT_ARRAY,4,2                   ## @FT_ARRAY
	.comm	_FT_TYPE,4,2                    ## @FT_TYPE
	.comm	_MAX_STRINGFIELD,4,2            ## @MAX_STRINGFIELD
L_.str.3:                               ## @.str.3
	.asciz	"BUG: no sub structure defined"

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

L_.str.5:                               ## @.str.5
	.asciz	"expected a comma, found %s"

	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReadStructure                  ; -- Begin function ReadStructure
	.p2align	2
_ReadStructure:                         ; @ReadStructure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PC_ExpectTokenString
	cbz	w0, LBB0_37
; %bb.1:
	add	x1, sp, #24
	mov	x0, x19
	bl	_PC_ExpectAnyToken
	cbz	w0, LBB0_35
; %bb.2:
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x27, _FT_ARRAY@GOTPAGE
Lloh5:
	ldr	x27, [x27, _FT_ARRAY@GOTPAGEOFF]
Lloh6:
	adrp	x28, _FT_TYPE@GOTPAGE
Lloh7:
	ldr	x28, [x28, _FT_TYPE@GOTPAGEOFF]
Lloh8:
	adrp	x23, l_.str.4@PAGE
Lloh9:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh10:
	adrp	x24, lJTI0_0@PAGE
Lloh11:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	mov	x0, x19
	bl	_PC_ExpectAnyToken
	cbz	w0, LBB0_35
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	w0, [sp, #24]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21, #4]
	ldr	w1, [sp, #24]
	bl	_FindField
	cbz	x0, LBB0_32
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	ldr	w8, [x0]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w20, [x25, #4]
	mov	x0, x19
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PC_ExpectTokenString
	cbz	w0, LBB0_35
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #1
	b.ge	LBB0_10
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #1
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x25, #8]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x26, x9, x8
	add	w20, w20, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	sub	w20, w20, #1
	cmp	w20, #1
	b.ls	LBB0_3
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x25]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x19
	mov	x1, x22
	bl	_PC_CheckTokenString
	cbnz	x0, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w8, [x25]
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	w9, [x28]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=2
	adr	x9, LBB0_17
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	bl	_ReadNumber
	cbz	w0, LBB0_35
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x26, x26, #4
	b	LBB0_26
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x1, [x25, #16]
	cbz	x1, LBB0_33
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x19
	mov	x2, x26
	bl	_ReadStructure
	ldr	x8, [x25, #16]
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	bl	_ReadString
	cbz	w0, LBB0_35
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=2
Lloh14:
	adrp	x8, _MAX_STRINGFIELD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_STRINGFIELD@GOTPAGEOFF]
LBB0_23:                                ;   in Loop: Header=BB0_12 Depth=2
	ldrsw	x8, [x8]
	add	x26, x26, x8
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x19
	mov	x1, x25
	mov	x2, x26
	bl	_ReadChar
	cbz	w0, LBB0_35
; %bb.25:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x26, x26, #1
LBB0_26:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	w8, [x25]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.27:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x1, sp, #24
	mov	x0, x19
	bl	_PC_ExpectAnyToken
	cbz	w0, LBB0_35
; %bb.28:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w0, [sp, #24]
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.29:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w0, [sp, #24]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.30:
	ldr	w8, [sp, #24]
	str	x8, [sp]
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_34
LBB0_31:
Lloh18:
	adrp	x8, _qtrue@GOTPAGE
Lloh19:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_36
LBB0_32:
	ldr	w8, [sp, #24]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_34
LBB0_33:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_34:
	mov	x0, x19
	bl	_SourceError
LBB0_35:
Lloh24:
	adrp	x8, _qfalse@GOTPAGE
Lloh25:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_36:
	ldr	w0, [x8]
LBB0_37:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_17)>>2
	.byte	(LBB0_21-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_24-LBB0_17)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{"

	.comm	_qfalse,4,2                     ; @qfalse
l_.str.1:                               ; @.str.1
	.asciz	"}"

l_.str.2:                               ; @.str.2
	.asciz	"unknown structure field %s"

	.comm	_FT_ARRAY,4,2                   ; @FT_ARRAY
	.comm	_FT_TYPE,4,2                    ; @FT_TYPE
	.comm	_MAX_STRINGFIELD,4,2            ; @MAX_STRINGFIELD
l_.str.3:                               ; @.str.3
	.asciz	"BUG: no sub structure defined"

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

l_.str.5:                               ; @.str.5
	.asciz	"expected a comma, found %s"

	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
