	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pretty_templ_match
_pretty_templ_match:                    ## @pretty_templ_match
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movl	$998, %r9d                      ## imm = 0x3E6
	movl	$1, %r8d
	xorl	%r10d, %r10d
	leaq	_pretty_templ_match.dst(%rip), %rax
	xorl	%esi, %esi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	%dl, %dl
	je	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movb	%dl, (%r10,%rax)
	incq	%r10
	incq	%rsi
	decl	%r9d
	incq	%r8
	cmpq	$1000, %r10                     ## imm = 0x3E8
	je	LBB0_11
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movslq	%esi, %rsi
	movb	(%rcx,%rsi), %dl
	cmpb	$32, %dl
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rcx,%rsi), %edx
	incq	%rsi
	cmpb	$32, %dl
	je	LBB0_9
	jmp	LBB0_10
LBB0_11:
	movl	$1000, %r10d                    ## imm = 0x3E8
	jmp	LBB0_14
LBB0_3:
	cmpl	$997, %r10d                     ## imm = 0x3E5
	ja	LBB0_14
## %bb.4:
	cmpq	$0, (%rdi)
	je	LBB0_14
## %bb.5:
	movl	%r10d, %ecx
	movb	$91, (%rcx,%rax)
	movq	(%rdi), %rcx
	movl	%r9d, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %edx
	testb	%dl, %dl
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	%dl, (%r8,%rax)
	incq	%rcx
	incq	%r8
	decq	%rsi
	jne	LBB0_6
## %bb.8:
	movl	$999, %r8d                      ## imm = 0x3E7
	movl	$998, %r10d                     ## imm = 0x3E6
	jmp	LBB0_13
LBB0_12:
	leaq	-1(%r8), %r10
LBB0_13:
	addq	$2, %r10
	movl	%r8d, %ecx
	movb	$93, (%rcx,%rax)
LBB0_14:
	movslq	%r10d, %rcx
	movb	$0, (%rcx,%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_pretty_templ_match.dst,1001,4 ## @pretty_templ_match.dst
	.no_dead_strip	_pretty_templ_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pretty_templ_match
_pretty_templ_match:                    ; @pretty_templ_match
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	x9, #0
	mov	x13, #0
	ldr	x11, [x0, #8]
	add	x12, x11, #1
	mov	w10, #998
Lloh0:
	adrp	x0, _pretty_templ_match.dst@PAGE
Lloh1:
	add	x0, x0, _pretty_templ_match.dst@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w14, LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	w14, [x0, x9]
	add	x9, x9, #1
	add	x13, x13, #1
	sub	w10, w10, #1
	cmp	x9, #1000
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	sxtw	x13, w13
	ldrb	w14, [x11, x13]
	cmp	w14, #32
	b.ne	LBB0_1
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w14, [x12, x13]
	add	x13, x13, #1
	cmp	w14, #32
	b.eq	LBB0_4
	b	LBB0_2
LBB0_5:
	cmp	w9, #997
	b.hi	LBB0_12
; %bb.6:
	ldr	x11, [x8]
	cbz	x11, LBB0_12
; %bb.7:
	mov	x11, #0
	mov	w12, #91
	strb	w12, [x0, w9, uxtw]
	ldr	x12, [x8]
	mov	w13, w10
	add	x8, x0, x9
	add	x14, x8, #1
	mov	w8, #999
	mov	w10, #998
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w15, [x12, x11]
	cbz	w15, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	w15, [x14, x11]
	add	x11, x11, #1
	cmp	x13, x11
	b.ne	LBB0_8
	b	LBB0_11
LBB0_10:
	add	x10, x9, x11
	add	x8, x10, #1
LBB0_11:
	add	x9, x10, #2
	mov	w10, #93
	strb	w10, [x0, w8, uxtw]
LBB0_12:
	strb	wzr, [x0, w9, sxtw]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_pretty_templ_match.dst,1001,0 ; @pretty_templ_match.dst
	.no_dead_strip	_pretty_templ_match
.subsections_via_symbols
