	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_to_template_args
_add_to_template_args:                  ## @add_to_template_args
	.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
	movl	%esi, %r12d
	movl	%edi, %r13d
	movl	%esi, %edi
	callq	_TMPL_ARGS_DEPTH
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_TMPL_ARGS_DEPTH
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r15), %edi
	callq	_make_tree_vec
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_TMPL_ARGS_DEPTH
	testl	%eax, %eax
	jle	LBB0_1
## %bb.7:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r14d
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_TMPL_ARGS_LEVEL
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_SET_TMPL_ARGS_LEVEL
	movl	%r13d, %edi
	callq	_TMPL_ARGS_DEPTH
	cmpl	%eax, %r14d
	jl	LBB0_8
## %bb.2:
	incl	%r14d
	jmp	LBB0_3
LBB0_1:
	movl	$1, %r14d
LBB0_3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%rbx), %r13d
	incl	%ebx
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_TMPL_ARGS_LEVEL
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_SET_TMPL_ARGS_LEVEL
	cmpl	%ebx, %r15d
	jne	LBB0_5
LBB0_6:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_to_template_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_to_template_args
_add_to_template_args:                  ; @add_to_template_args
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_TMPL_ARGS_DEPTH
	mov	x20, x0
	mov	x0, x22
	bl	_TMPL_ARGS_DEPTH
	add	w0, w0, w20
	bl	_make_tree_vec
	mov	x21, x0
	mov	x0, x22
	bl	_TMPL_ARGS_DEPTH
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	mov	x0, x22
	mov	x1, x23
	bl	_TMPL_ARGS_LEVEL
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_SET_TMPL_ARGS_LEVEL
	mov	x0, x22
	bl	_TMPL_ARGS_DEPTH
	cmp	w23, w0
	b.lt	LBB0_2
; %bb.3:
	add	w24, w23, #1
	cmp	w20, #1
	b.ge	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w24, #1
	cmp	w20, #1
	b.lt	LBB0_7
LBB0_5:
	mov	w8, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w22, w8, #1
	add	w23, w24, w8
	mov	x0, x19
	mov	x1, x22
	bl	_TMPL_ARGS_LEVEL
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_SET_TMPL_ARGS_LEVEL
	mov	x8, x22
	cmp	w20, w22
	b.ne	LBB0_6
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_to_template_args
.subsections_via_symbols
