	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function template_match
_template_match:                        ## @template_match
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rdi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movsbl	(%r13), %edi
	callq	_find_rule
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	%rax, %r14
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	$100000, %r15d                  ## imm = 0x186A0
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-56(%rbp,%rcx), %edx
	leal	(%rdx,%rdx,4), %edx
	leal	(%rbx,%rdx,2), %edx
	addl	$-48, %edx
	movl	%edx, -56(%rbp,%rcx)
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r12
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movsbl	(%r13), %edi
	callq	_find_rule
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_15
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12), %ebx
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	%bl, %bl
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%r14), %edx
	addl	$-128, %edx
	cmpl	$6, %edx
	ja	LBB0_21
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	leaq	1(%r12), %rax
	movslq	8(%r14), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %ecx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	testb	%bl, %bl
	je	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	(%r13), %edi
	callq	_find_rule
	movq	(%rax), %rdi
	movl	%ebx, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movl	$93, %esi
	callq	_strchr
	movq	%rax, %r13
	incq	%r13
	jmp	LBB0_4
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	$-48, %ebx
	imull	%r15d, %ebx
	addl	%ebx, -56(%rbp,%rcx)
	movslq	%r15d, %rcx
	imulq	$1717986919, %rcx, %r15         ## imm = 0x66666667
	movq	%r15, %rcx
	shrq	$63, %rcx
	sarq	$34, %r15
	addl	%ecx, %r15d
	jmp	LBB0_3
LBB0_19:
	testb	%bl, %bl
	jne	LBB0_15
LBB0_21:
	movl	-56(%rbp), %eax
	cmpl	$23, %eax
	jg	LBB0_15
## %bb.22:
	movl	-52(%rbp), %ecx
	cmpl	$59, %ecx
	movq	_FALSE@GOTPCREL(%rip), %rdx
	jg	LBB0_30
## %bb.23:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	$43, %ebx
	je	LBB0_27
## %bb.24:
	cmpl	$45, %ebx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_28
## %bb.25:
	imull	$-3600, %eax, %edx              ## imm = 0xF1F0
	imull	$-60, %ecx, %eax
	addl	%edx, %eax
	jmp	LBB0_29
LBB0_15:
	movq	_FALSE@GOTPCREL(%rip), %rdx
LBB0_30:
	movl	(%rdx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	imull	$3600, %eax, %edx               ## imm = 0xE10
	imull	$60, %ecx, %eax
	addl	%edx, %eax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_28:
	movl	-48(%rbp), %eax
LBB0_29:
	movl	%eax, (%rdi)
	xorl	%eax, %eax
	testl	%ebx, %ebx
	sete	%al
	movl	%eax, (%rsi)
	movq	_TRUE@GOTPCREL(%rip), %rdx
	jmp	LBB0_30
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_14
	.long	L0_0_set_2
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_template_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function template_match
_template_match:                        ; @template_match
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	add	x27, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldrsb	w0, [x21]
	bl	_find_rule
	cbz	x0, LBB0_16
; %bb.1:
	mov	x23, x0
	stp	x22, x19, [sp]                  ; 16-byte Folded Spill
	mov	w25, #0
	mov	w28, #34464
	movk	w28, #1, lsl #16
Lloh0:
	adrp	x26, _FALSE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x19, lJTI0_0@PAGE
Lloh3:
	add	x19, x19, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x27, x8]
	mov	w10, #10
	madd	w9, w9, w10, w24
	sub	w9, w9, #48
	str	w9, [x27, x8]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, x22
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x21]
	bl	_find_rule
	mov	x23, x0
	cbz	x0, LBB0_17
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	ldrsb	w24, [x22], #1
	ldr	x0, [x23]
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w24, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x24
	bl	_strchr
	cbz	x0, LBB0_17
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23, #12]
	sub	w9, w8, #128
	cmp	w9, #6
	b.hi	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x23, #8]
	adr	x10, LBB0_2
	ldrb	w11, [x19, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x24
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w24, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x21]
	bl	_find_rule
	ldr	x0, [x0]
	mov	x1, x24
	bl	_strchr
	cbnz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	w1, #93
	bl	_strchr
	add	x21, x0, #1
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w9, w24, #48
	ldr	w10, [x27, x8]
	madd	w9, w9, w28, w10
	str	w9, [x27, x8]
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w28, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w28, w8, w9
	b	LBB0_3
LBB0_15:
	cbz	w24, LBB0_18
LBB0_16:
Lloh4:
	adrp	x26, _FALSE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x26]
	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
LBB0_18:
	ldr	w8, [sp, #16]
Lloh6:
	adrp	x26, _FALSE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
	cmp	w8, #23
	b.gt	LBB0_17
; %bb.19:
	ldr	w9, [sp, #20]
	cmp	w9, #59
	b.gt	LBB0_17
; %bb.20:
	cmp	w25, #43
	b.eq	LBB0_23
; %bb.21:
	cmp	w25, #45
	ldp	x12, x11, [sp]                  ; 16-byte Folded Reload
	b.ne	LBB0_24
; %bb.22:
	mov	w10, #-3600
	mul	w8, w8, w10
	mov	w10, #-60
	madd	w8, w9, w10, w8
	b	LBB0_25
LBB0_23:
	mov	w10, #3600
	mul	w8, w8, w10
	mov	w10, #60
	madd	w8, w9, w10, w8
	ldp	x12, x11, [sp]                  ; 16-byte Folded Reload
	b	LBB0_25
LBB0_24:
	ldr	w8, [sp, #24]
LBB0_25:
	str	w8, [x12]
	cmp	w25, #0
	cset	w8, eq
	str	w8, [x11]
Lloh8:
	adrp	x26, _TRUE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	b	LBB0_17
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_template_match
.subsections_via_symbols
