	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_entry
_add_entry:                             ## @add_entry
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	$0, -36(%rbp)
	cmpl	$-1, %edi
	je	LBB0_1
LBB0_3:
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	incl	%esi
	movl	24(%rbx), %edx
	callq	_ALLOC_GROW
	movl	(%rbx), %edx
	movslq	%r14d, %r12
	subl	%r14d, %edx
	jle	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movq	%r12, %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rsi
	leaq	(%rax,%rcx), %rdi
	addq	$16, %rdi
	callq	_MOVE_ARRAY
LBB0_5:
	cmpq	$0, 16(%rbx)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_xstrdup
	movq	%rax, %r15
LBB0_7:
	movq	8(%rbx), %rax
	shlq	$4, %r12
	movq	%r15, (%rax,%r12)
	movq	$0, 8(%rax,%r12)
	incl	(%rbx)
	jmp	LBB0_8
LBB0_1:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_get_entry_index
	movl	%eax, %r14d
	cmpl	$0, -36(%rbp)
	je	LBB0_3
## %bb.2:
	notl	%r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_entry
_add_entry:                             ; @add_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	cmn	w0, #1
	b.eq	LBB0_6
LBB0_1:
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	add	w1, w8, #1
	ldr	w2, [x19, #24]
	bl	_ALLOC_GROW
	ldr	w8, [x19]
	subs	w2, w8, w20
	b.le	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	add	x1, x8, w20, sxtw #4
	add	x0, x1, #16
	bl	_MOVE_ARRAY
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_xstrdup
	mov	x21, x0
LBB0_5:
	ldr	x8, [x19, #8]
	add	x8, x8, w20, sxtw #4
	stp	x21, xzr, [x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_8
LBB0_6:
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x21
	bl	_get_entry_index
	mov	x20, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_1
; %bb.7:
	mvn	w20, w20
LBB0_8:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_entry
.subsections_via_symbols
