	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function epic_hash_add
_epic_hash_add:                         ## @epic_hash_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%esi, %edi
	callq	_djb2_hash
	movq	(%r15), %rcx
	movslq	%eax, %rbx
	movslq	(%rcx,%rbx,4), %r12
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shrq	$2, %rax
	cmpq	%r12, %rax
	jae	LBB0_2
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_2:
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %ecx
	cmpl	%r12d, %ecx
	jl	LBB0_5
## %bb.3:
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	leal	64(,%r12,4), %esi
	callq	_av_realloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	addl	$16, %r12d
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r15), %rax
	movl	%r12d, (%rax,%rbx,4)
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %ecx
LBB0_5:
	movq	16(%r15), %rdx
	movq	(%rdx,%rbx,8), %r15
	leal	1(%rcx), %edx
	movl	%edx, (%rax,%rbx,4)
	movslq	%ecx, %r12
	leaq	(%r15,%r12,4), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r14d, (%r15,%r12,4)
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_epic_hash_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function epic_hash_add
_epic_hash_add:                         ; @epic_hash_add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_djb2_hash
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x20]
	ldrsw	x10, [x8, w0, sxtw #2]
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	cmp	x10, x8, lsr #2
	b.ls	LBB0_2
LBB0_1:
	mov	x20, #0
	b	LBB0_6
LBB0_2:
	sxtw	x21, w0
	ldr	x8, [x20, #8]
	ldr	w9, [x8, x21, lsl #2]
	cmp	w9, w10
	b.lt	LBB0_5
; %bb.3:
	add	w22, w10, #16
	ldr	x8, [x20, #16]
	ldr	x0, [x8, x21, lsl #3]
	lsl	w1, w22, #2
	bl	_av_realloc
	cbz	x0, LBB0_1
; %bb.4:
	ldr	x8, [x20, #16]
	str	x0, [x8, x21, lsl #3]
	lsl	x9, x21, #2
	ldp	x10, x8, [x20]
	str	w22, [x10, x9]
	ldr	w9, [x8, x9]
LBB0_5:
	ldr	x10, [x20, #16]
	ldr	x10, [x10, x21, lsl #3]
	add	w11, w9, #1
	str	w11, [x8, x21, lsl #2]
	add	x20, x10, w9, sxtw #2
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	w19, [x20]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_epic_hash_add
.subsections_via_symbols
