	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_object                   ## -- Begin function parse_object
	.p2align	4, 0x90
_parse_object:                          ## @parse_object
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	44(%rdi), %eax
	movq	8(%rdi), %rcx
	movl	%eax, 40(%rcx)
	movq	$0, 32(%rcx)
	movq	_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, 24(%rcx)
	movl	40(%rdi), %eax
	movl	%eax, 20(%rcx)
	callq	_get_TOKEN
	movq	_TOKEN_NAME@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_19
## %bb.1:
	movq	24(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rdi
	movq	8(%rax), %rax
	movl	4(%rax,%rbx,8), %esi
	movl	$-1, %edx
	callq	__strnicmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	24(%r12), %rax
	cmpq	(%rax), %rbx
	jb	LBB0_4
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
LBB0_7:
	cmpq	(%rax), %rbx
	jne	LBB0_9
LBB0_8:
	movq	16(%r12), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_ERR
	jmp	LBB0_19
LBB0_5:
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	leaq	(,%rbx,8), %rsi
	movq	8(%rcx), %rcx
	addq	%rsi, %rcx
	movq	32(%r12), %rdx
	movq	%rcx, (%rdx,%rax,8)
	movq	8(%r12), %rdi
	movq	24(%r12), %rax
	addq	$16, %rdi
	addq	8(%rax), %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	24(%r12), %rax
	cmpq	(%rax), %rbx
	je	LBB0_8
LBB0_9:
	movq	%r12, %rdi
	callq	_check_TOKEN
	cmpq	(%r15), %rax
	jne	LBB0_11
## %bb.10:
	movq	%r12, %rdi
	callq	_get_TOKEN
	movq	8(%r12), %rax
	movq	16(%r12), %rsi
	movq	8(%rax), %rdi
	callq	_strcpy
	jmp	LBB0_12
LBB0_11:
	movq	8(%r12), %rax
	movq	8(%rax), %rax
	movq	$0, (%rax)
LBB0_12:
	movq	%r12, %rdi
	callq	_get_TOKEN
	movq	_TOKEN_OBRACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.13:
	movq	%r12, %rdi
	callq	_check_TOKEN
	movq	_TOKEN_GUID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	callq	_get_TOKEN
	movq	8(%r12), %rdi
	movq	16(%r12), %rsi
	movl	$16, %edx
	callq	_memcpy
	jmp	LBB0_16
LBB0_15:
	movq	8(%r12), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
LBB0_16:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_parse_object_parts
	testl	%eax, %eax
	je	LBB0_19
## %bb.17:
	movq	%r12, %rdi
	callq	_get_TOKEN
	movq	_TOKEN_CBRACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.18:
	movq	%r12, %rdi
	callq	_check_TOKEN
	movq	%rbx, %r14
LBB0_19:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TOKEN_NAME,8,3                 ## @TOKEN_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown template %s\n"

	.comm	_TOKEN_OBRACE,8,3               ## @TOKEN_OBRACE
	.comm	_TOKEN_GUID,8,3                 ## @TOKEN_GUID
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_TOKEN_CBRACE,8,3               ## @TOKEN_CBRACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_object                   ; -- Begin function parse_object
	.p2align	2
_parse_object:                          ; @parse_object
	.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, x0
	ldr	x8, [x0, #8]
	ldp	w10, w9, [x0, #40]
	str	w9, [x8, #40]
	str	xzr, [x8, #32]
Lloh0:
	adrp	x21, _FALSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	ldr	w9, [x21]
	stp	w10, w9, [x8, #20]
	bl	_get_TOKEN
Lloh2:
	adrp	x20, _TOKEN_NAME@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TOKEN_NAME@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.2:
	mov	x22, #0
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #16]
	ldr	x8, [x8, #8]
	add	x8, x8, x22
	ldr	w1, [x8, #4]
	mov	w2, #-1
	bl	__strnicmp
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x8, [x19, #24]
	ldr	x9, [x8]
	add	x22, x22, #8
	cmp	x21, x9
	b.lo	LBB0_3
	b	LBB0_7
LBB0_5:
	mov	x21, #0
	b	LBB0_7
LBB0_6:
	ldp	x8, x9, [x19, #24]
	ldr	x8, [x8, #8]
	add	x8, x8, x22
	ldr	x10, [x19]
	str	x8, [x9, x10, lsl #3]
	ldr	x8, [x19, #8]
	add	x0, x8, #16
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	add	x1, x8, x22
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x19, #24]
LBB0_7:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_9
; %bb.8:
	ldr	x1, [x19, #16]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	b	LBB0_19
LBB0_9:
	mov	x0, x19
	bl	_check_TOKEN
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_get_TOKEN
	ldp	x8, x1, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_strcpy
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	str	xzr, [x8]
LBB0_12:
	mov	x0, x19
	bl	_get_TOKEN
Lloh6:
	adrp	x8, _TOKEN_OBRACE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TOKEN_OBRACE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.13:
	mov	x0, x19
	bl	_check_TOKEN
Lloh9:
	adrp	x8, _TOKEN_GUID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TOKEN_GUID@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_get_TOKEN
	ldp	x0, x1, [x19, #8]
	mov	w2, #16
	bl	_memcpy
	b	LBB0_16
LBB0_15:
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #16
	bl	_memset
LBB0_16:
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_parse_object_parts
	cbz	w0, LBB0_19
; %bb.17:
	mov	x0, x19
	bl	_get_TOKEN
Lloh15:
	adrp	x8, _TOKEN_CBRACE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TOKEN_CBRACE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_check_TOKEN
Lloh18:
	adrp	x21, _TRUE@GOTPAGE
Lloh19:
	ldr	x21, [x21, _TRUE@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh20:
	adrp	x21, _FALSE@GOTPAGE
Lloh21:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
LBB0_20:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TOKEN_NAME,8,3                 ; @TOKEN_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown template %s\n"

	.comm	_TOKEN_OBRACE,8,3               ; @TOKEN_OBRACE
	.comm	_TOKEN_GUID,8,3                 ; @TOKEN_GUID
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_TOKEN_CBRACE,8,3               ; @TOKEN_CBRACE
.subsections_via_symbols
