	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_template
_parse_template:                        ## @parse_template
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_get_TOKEN
	movq	_TOKEN_TEMPLATE@GOTPCREL(%rip), %rcx
	movq	_FALSE@GOTPCREL(%rip), %r14
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_get_TOKEN
	movq	_TOKEN_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movq	(%rbx), %rax
	movq	8(%rbx), %rsi
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	4(%rax,%rcx,8), %edi
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_get_TOKEN
	movq	_TOKEN_OBRACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_get_TOKEN
	movq	_TOKEN_GUID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx), %ecx
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movl	%ecx, (%rax,%rdx,8)
	movq	%rbx, %rdi
	callq	_parse_template_parts
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_get_TOKEN
	movq	_TOKEN_CBRACE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	(%rbx), %rax
	movq	(%rax), %r14
	movq	8(%rax), %rax
	leaq	(%rax,%r14,8), %rdi
	movl	4(%rax,%r14,8), %r15d
	callq	_debugstr_guid
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_TRACE
	movq	(%rbx), %rax
	incq	(%rax)
	movq	_TRUE@GOTPCREL(%rip), %r14
LBB0_7:
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOKEN_TEMPLATE,8,3             ## @TOKEN_TEMPLATE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TOKEN_NAME,8,3                 ## @TOKEN_NAME
	.comm	_TOKEN_OBRACE,8,3               ## @TOKEN_OBRACE
	.comm	_TOKEN_GUID,8,3                 ## @TOKEN_GUID
	.comm	_TOKEN_CBRACE,8,3               ## @TOKEN_CBRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d - %s - %s\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_parse_template
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_template
_parse_template:                        ; @parse_template
	.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
	bl	_get_TOKEN
Lloh0:
	adrp	x8, _TOKEN_TEMPLATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOKEN_TEMPLATE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_get_TOKEN
Lloh3:
	adrp	x8, _TOKEN_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOKEN_NAME@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.2:
	ldp	x8, x1, [x19]
	ldp	x8, x9, [x8]
	add	x8, x9, x8, lsl #3
	ldr	w0, [x8, #4]
	bl	_strcpy
	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_7
; %bb.3:
	mov	x0, x19
	bl	_get_TOKEN
Lloh9:
	adrp	x8, _TOKEN_GUID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TOKEN_GUID@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.4:
	ldp	x9, x8, [x19]
	ldr	w8, [x8]
	ldp	x9, x10, [x9]
	lsl	x9, x9, #3
	str	w8, [x10, x9]
	mov	x0, x19
	bl	_parse_template_parts
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_get_TOKEN
Lloh12:
	adrp	x8, _TOKEN_CBRACE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TOKEN_CBRACE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x19]
	ldp	x20, x8, [x8]
	add	x0, x8, x20, lsl #3
	ldr	w21, [x0, #4]
	bl	_debugstr_guid
	mov	x3, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_TRACE
	ldr	x8, [x19]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
Lloh17:
	adrp	x8, _TRUE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh19:
	adrp	x8, _FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TOKEN_TEMPLATE,8,3             ; @TOKEN_TEMPLATE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TOKEN_NAME,8,3                 ; @TOKEN_NAME
	.comm	_TOKEN_OBRACE,8,3               ; @TOKEN_OBRACE
	.comm	_TOKEN_GUID,8,3                 ; @TOKEN_GUID
	.comm	_TOKEN_CBRACE,8,3               ; @TOKEN_CBRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d - %s - %s\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_parse_template
.subsections_via_symbols
