	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cache_insert
_cache_insert:                          ## @cache_insert
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_auto_clear_dag_cache
	movl	%r15d, %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_hash_func
	movl	%eax, %ecx
	movl	%eax, %edx
	sarl	$16, %edx
	addl	%eax, %edx
	movl	%edx, %eax
	sarl	$8, %eax
	addl	%edx, %eax
	movq	_BUCKET_COUNT@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	movq	16(%r14), %r15
	movslq	%edx, %rax
	movl	%eax, (%r14)
	leaq	(%rax,%rax,4), %r13
	movl	%ecx, (%r15,%r13,4)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r15,%r13,4)
	leaq	(%r15,%r13,4), %rax
	addq	$4, %rax
	cmpl	%r12d, 4(%r15,%r13,4)
	jge	LBB0_1
## %bb.2:
	movl	8(%r14), %edi
	movl	%r12d, %ebx
	incl	%ebx
	movl	%ebx, %esi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_apr_palloc
	movl	%eax, %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edi, 12(%r15,%r13,4)
	jmp	LBB0_3
LBB0_1:
	movl	12(%r15,%r13,4), %edi
	movl	%r12d, %ebx
	incl	%ebx
LBB0_3:
	movl	%r12d, (%rax)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movl	8(%r14), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_svn_fs_fs__dag_dup
	movl	%eax, 8(%r15,%r13,4)
	incl	4(%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUCKET_COUNT,4,2               ## @BUCKET_COUNT
	.no_dead_strip	_cache_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cache_insert
_cache_insert:                          ; @cache_insert
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x2
	bl	_strlen
	mov	x22, x0
	mov	x0, x19
	bl	_auto_clear_dag_cache
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_hash_func
	add	w8, w0, w0, asr #16
	add	w8, w8, w8, asr #8
Lloh0:
	adrp	x9, _BUCKET_COUNT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BUCKET_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	ldr	x24, [x19, #16]
	sxtw	x25, w8
	str	w8, [x19]
	mov	w9, #20
	smaddl	x26, w8, w9, x24
	str	w0, [x26]
	str	w23, [x26, #16]
	ldr	w8, [x26, #4]!
	cmp	w8, w22
	b.ge	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
	add	w23, w22, #1
	mov	x1, x23
	bl	_apr_palloc
	mov	w8, #20
	madd	x8, x25, x8, x24
	str	w0, [x8, #12]
	b	LBB0_3
LBB0_2:
	mov	w8, #20
	madd	x8, x25, x8, x24
	ldr	w0, [x8, #12]
	add	w23, w22, #1
LBB0_3:
	str	w22, [x26]
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_svn_fs_fs__dag_dup
	mov	w8, #20
	madd	x8, x25, x8, x24
	str	w0, [x8, #8]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BUCKET_COUNT,4,2               ; @BUCKET_COUNT
	.no_dead_strip	_cache_insert
.subsections_via_symbols
