	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_object_parts
_parse_object_parts:                    ## @parse_object_parts
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	$0, (%rax)
	callq	_parse_object_members_list
	movq	_FALSE@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_30
## %bb.1:
	testq	%r14, %r14
	je	LBB0_27
## %bb.2:
	movq	8(%rbx), %rax
	movq	48(%rbx), %rcx
	subq	40(%rax), %rcx
	movq	%rcx, 48(%rax)
	movq	_TOKEN_NAME@GOTPCREL(%rip), %r14
	movq	_FALSE@GOTPCREL(%rip), %r12
                                        ## implicit-def: $r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, (%r13)
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
	movq	%rbx, %rdi
	callq	_check_TOKEN
	movq	_TOKEN_OBRACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_get_TOKEN
	movq	%rbx, %rdi
	callq	_get_TOKEN
	cmpq	(%r14), %rax
	jne	LBB0_30
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_get_TOKEN
	movq	_TOKEN_CBRACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movl	(%rbx), %eax
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%rbx), %rcx
	xorl	%r13d, %r13d
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
	movq	(%rcx,%r13,8), %rdx
	cmpl	$0, (%rdx)
	jle	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	4(%rdx,%r15,8), %edi
	movq	24(%rbx), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=3
	incq	%r15
	movq	40(%rbx), %rcx
	movq	(%rcx,%r13,8), %rdx
	movslq	(%rdx), %rax
	cmpq	%rax, %r15
	jl	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	(%rbx), %eax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=2
	xorl	%r15d, %r15d
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=2
	leaq	1(%r13), %rdx
	movslq	%eax, %rsi
	cmpq	%rsi, %r13
	movq	%rdx, %r13
	jl	LBB0_9
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_check_TOKEN
	cmpq	(%r14), %rax
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %r13
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	_MAX_SUBOBJECTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_20
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	imulq	$56, %rax, %rax
	addq	32(%rbx), %rax
	movq	(%r13), %rcx
	movq	16(%r13), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movq	%rax, 8(%rbx)
	movq	8(%r13), %rax
	incq	(%rax)
	movq	24(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_TRACE
	incl	16(%rbx)
	movq	%rbx, %rdi
	callq	_parse_object
	decl	16(%rbx)
	testl	%eax, %eax
	je	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, 8(%rbx)
	movq	(%r13), %rax
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx), %eax
	jmp	LBB0_17
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%eax
	cmpl	%eax, %r13d
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	8(%rax), %rcx
	movq	(%rcx), %rdx
	movq	_MAX_SUBOBJECTS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jge	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	imulq	$56, %rdx, %rsi
	incq	%rdx
	addq	32(%rbx), %rsi
	movq	%rdx, (%rcx)
	movq	(%rax), %rcx
	movq	16(%rax), %rax
	movq	%rsi, (%rax,%rcx,8)
	movq	40(%rbx), %rax
	movl	%r13d, %ecx
	movslq	%r15d, %rdx
	shlq	$3, %rdx
	addq	(%rax,%rcx,8), %rdx
	movq	8(%rbx), %r13
	movq	(%r13), %rax
	movq	16(%r13), %rcx
	movq	(%rcx,%rax,8), %rsi
	movq	%rdx, 32(%rsi)
	movq	(%r12), %rdx
	movq	(%rcx,%rax,8), %rcx
	movq	%rdx, 24(%rcx)
	jmp	LBB0_26
LBB0_27:
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	movq	_MAX_CHILDREN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jbe	LBB0_28
## %bb.29:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_FIXME
	movq	_FALSE@GOTPCREL(%rip), %r12
	jmp	LBB0_30
LBB0_28:
	movq	_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_30
LBB0_20:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_30
LBB0_18:
	movq	24(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_ERR
LBB0_30:
	movq	(%r12), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_TOKEN_OBRACE,8,3               ## @TOKEN_OBRACE
	.comm	_TOKEN_NAME,8,3                 ## @TOKEN_NAME
	.comm	_TOKEN_CBRACE,8,3               ## @TOKEN_CBRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found optional reference %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Reference to unknown object %s\n"

	.comm	_MAX_SUBOBJECTS,8,3             ## @MAX_SUBOBJECTS
L_.str.2:                               ## @.str.2
	.asciz	"Too many sub-objects\n"

L_.str.3:                               ## @.str.3
	.asciz	"Enter optional %s\n"

	.comm	_MAX_CHILDREN,8,3               ## @MAX_CHILDREN
L_.str.4:                               ## @.str.4
	.asciz	"Too many children %d\n"

	.comm	_TRUE,8,3                       ## @TRUE
	.no_dead_strip	_parse_object_parts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_object_parts
_parse_object_parts:                    ; @parse_object_parts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	str	xzr, [x8]
	bl	_parse_object_members_list
Lloh0:
	adrp	x22, _FALSE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	cbz	w0, LBB0_32
; %bb.1:
	cbz	x20, LBB0_26
; %bb.2:
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #8]
	ldr	x10, [x9, #40]
	sub	x8, x8, x10
Lloh2:
	adrp	x23, _TOKEN_OBRACE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _TOKEN_OBRACE@GOTPAGEOFF]
Lloh4:
	adrp	x24, _TOKEN_NAME@GOTPAGE
Lloh5:
	ldr	x24, [x24, _TOKEN_NAME@GOTPAGEOFF]
	str	x8, [x9, #48]
Lloh6:
	adrp	x26, _MAX_SUBOBJECTS@GOTPAGE
Lloh7:
	ldr	x26, [x26, _MAX_SUBOBJECTS@GOTPAGEOFF]
	mov	w27, #56
Lloh8:
	adrp	x21, l_.str.3@PAGE
Lloh9:
	add	x21, x21, l_.str.3@PAGEOFF
                                        ; implicit-def: $w28
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	str	x8, [x20]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
	mov	x0, x19
	bl	_check_TOKEN
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_get_TOKEN
	mov	x0, x19
	bl	_get_TOKEN
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_32
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_get_TOKEN
Lloh10:
	adrp	x8, _TOKEN_CBRACE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TOKEN_CBRACE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_32
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x19, #24]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w8, [x19]
	tbnz	w8, #31, LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
	ldr	x9, [x19, #40]
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
	ldr	x10, [x9, x20, lsl #3]
	ldr	w11, [x10]
	cmp	w11, #1
	b.lt	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x28, #0
	mov	w25, #4
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w0, [x10, x25]
	ldr	x1, [x19, #24]
	bl	_strcmp
	cbz	w0, LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	add	x28, x28, #1
	ldr	x9, [x19, #40]
	ldr	x10, [x9, x20, lsl #3]
	ldrsw	x8, [x10]
	add	x25, x25, #8
	cmp	x28, x8
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [x19]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w28, #0
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x10, x20, #1
	cmp	x20, w8, sxtw
	mov	x20, x10
	b.lt	LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x10
	b	LBB0_23
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_check_TOKEN
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x19, #8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ge	LBB0_29
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x1, x9, [x19, #24]
	madd	x8, x8, x27, x9
	ldr	x9, [x20, #16]
	ldr	x10, [x20]
	str	x8, [x9, x10, lsl #3]
	str	x8, [x19, #8]
	ldr	x8, [x20, #8]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	mov	x0, x21
	bl	_TRACE
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_parse_object
	ldr	w8, [x19, #16]
	sub	w8, w8, #1
	str	w8, [x19, #16]
	cbz	w0, LBB0_32
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x20, [x19, #8]
	ldr	x8, [x20]
	b	LBB0_3
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	cmp	w20, w8
	b.eq	LBB0_33
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	x10, [x9]
	ldr	x11, [x26]
	cmp	x10, x11
	b.ge	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x19, #32]
	add	x12, x10, #1
	str	x12, [x9]
	madd	x9, x10, x27, x11
	ldr	x10, [x8, #16]
	ldr	x8, [x8]
	str	x9, [x10, x8, lsl #3]
	ldr	x8, [x19, #40]
	ldr	x9, [x8, w20, uxtw #3]
	ldr	x20, [x19, #8]
	ldr	x10, [x20, #16]
	ldr	x8, [x20]
	lsl	x11, x8, #3
	ldr	x12, [x10, x11]
	add	x9, x9, w28, sxtw #3
	str	x9, [x12, #32]
	ldr	x9, [x22]
	ldr	x10, [x10, x11]
	str	x9, [x10, #24]
	b	LBB0_3
LBB0_26:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _MAX_CHILDREN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MAX_CHILDREN@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_28
; %bb.27:
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_30
LBB0_28:
Lloh20:
	adrp	x22, _TRUE@GOTPAGE
Lloh21:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	b	LBB0_32
LBB0_29:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_30:
	bl	_FIXME
LBB0_31:
Lloh24:
	adrp	x22, _FALSE@GOTPAGE
Lloh25:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_32:
	ldr	x0, [x22]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_33:
	ldr	x1, [x19, #24]
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
	b	LBB0_31
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_TOKEN_OBRACE,8,3               ; @TOKEN_OBRACE
	.comm	_TOKEN_NAME,8,3                 ; @TOKEN_NAME
	.comm	_TOKEN_CBRACE,8,3               ; @TOKEN_CBRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found optional reference %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Reference to unknown object %s\n"

	.comm	_MAX_SUBOBJECTS,8,3             ; @MAX_SUBOBJECTS
l_.str.2:                               ; @.str.2
	.asciz	"Too many sub-objects\n"

l_.str.3:                               ; @.str.3
	.asciz	"Enter optional %s\n"

	.comm	_MAX_CHILDREN,8,3               ; @MAX_CHILDREN
l_.str.4:                               ; @.str.4
	.asciz	"Too many children %d\n"

	.comm	_TRUE,8,3                       ; @TRUE
	.no_dead_strip	_parse_object_parts
.subsections_via_symbols
