	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_entry_to_dir               ## -- Begin function add_entry_to_dir
	.p2align	4, 0x90
_add_entry_to_dir:                      ## @add_entry_to_dir
	.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	8(%rdi), %rdi
	movl	(%rbx), %esi
	incl	%esi
	movl	16(%rbx), %edx
	callq	_ALLOC_GROW
	movq	8(%rbx), %rcx
	movslq	(%rbx), %rax
	leal	1(%rax), %edx
	movl	%edx, (%rbx)
	movq	%r14, (%rcx,%rax,8)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpl	4(%rbx), %eax
	jne	LBB0_6
## %bb.3:
	movq	8(%rbx), %rcx
	movq	-8(%rcx,%rax,8), %rdx
	movq	(%rcx,%rax,8), %rax
	movl	(%rdx), %edi
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	jns	LBB0_6
## %bb.4:
	movl	(%rbx), %eax
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
LBB0_5:
	movl	%eax, 4(%rbx)
LBB0_6:
	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	_add_entry_to_dir               ; -- Begin function add_entry_to_dir
	.p2align	2
_add_entry_to_dir:                      ; @add_entry_to_dir
	.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	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	w8, [x19]
	add	w1, w8, #1
	ldr	w2, [x19, #16]
	bl	_ALLOC_GROW
	ldr	x9, [x19, #8]
	ldrsw	x8, [x19]
	add	w10, w8, #1
	str	w10, [x19]
	str	x20, [x9, x8, lsl #3]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.2:
	ldr	x9, [x19, #8]
	sub	w10, w8, #1
	ldr	x10, [x9, w10, sxtw #3]
	ldr	w0, [x10]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w1, [x8]
	bl	_strcmp
	tbz	x0, #63, LBB0_6
; %bb.3:
	ldr	w8, [x19]
	b	LBB0_5
LBB0_4:
	mov	w8, #1
LBB0_5:
	str	w8, [x19, #4]
LBB0_6:
	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
