	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trie_add                       ## -- Begin function trie_add
	.p2align	4, 0x90
_trie_add:                              ## @trie_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_trie_check
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_get_node
	movq	%rax, (%rbx)
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	24(%rax)
	cmpq	$0, 8(%r14)
	leaq	8(%r14), %r14
	leaq	16(%rax), %rbx
	je	LBB0_8
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rdx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rax
	cmpq	%rdx, (%rcx)
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	32(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	$32, %rax
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_8:
	movl	$1, 8(%rax)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trie_add                       ; -- Begin function trie_add
	.p2align	2
_trie_add:                              ; @trie_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_trie_check
	cbnz	x0, LBB0_9
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_get_node
	str	x0, [x20]
	ldr	x8, [x19]
	str	x8, [x0]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]!
	ldr	w9, [x0, #24]
	add	w9, w9, #1
	str	w9, [x0, #24]
	add	x20, x0, #16
	cbz	x8, LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x8, [x20]
	cbz	x8, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x8
	ldr	x8, [x8]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x8, [x0, #32]
	cbnz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x0, #32
	b	LBB0_1
LBB0_8:
	mov	w8, #1
	str	w8, [x0, #8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
