	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rename_index_entry_at          ## -- Begin function rename_index_entry_at
	.p2align	4, 0x90
_rename_index_entry_at:                 ## @rename_index_entry_at
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax,%rcx,8), %r12
	movq	%rdx, %rdi
	callq	_strlen
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_make_empty_cache_entry
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_copy_cache_entry
	movq	_CE_HASHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%rbx)
	movl	%r14d, (%rbx)
	movq	$0, 8(%rbx)
	movl	4(%rbx), %edi
	incl	%r14d
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movl	4(%r12), %esi
	movq	%r15, %rdi
	callq	_cache_tree_invalidate_path
	movl	4(%r12), %esi
	movq	%r15, %rdi
	callq	_untracked_cache_remove_from_index
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_remove_index_entry_at
	movq	_ADD_CACHE_OK_TO_ADD@GOTPCREL(%rip), %rax
	movq	_ADD_CACHE_OK_TO_REPLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_index_entry                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CE_HASHED,4,2                  ## @CE_HASHED
	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ## @ADD_CACHE_OK_TO_ADD
	.comm	_ADD_CACHE_OK_TO_REPLACE,4,2    ## @ADD_CACHE_OK_TO_REPLACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rename_index_entry_at          ; -- Begin function rename_index_entry_at
	.p2align	2
_rename_index_entry_at:                 ; @rename_index_entry_at
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x22, [x8, w1, sxtw #3]
	mov	x0, x2
	bl	_strlen
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_make_empty_cache_entry
	mov	x24, x0
	mov	x1, x22
	bl	_copy_cache_entry
Lloh0:
	adrp	x8, _CE_HASHED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CE_HASHED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x24, #16]
	bic	w8, w9, w8
	str	w8, [x24, #16]
	str	w23, [x24]
	str	xzr, [x24, #8]
	ldr	w0, [x24, #4]
	add	w2, w23, #1
	mov	x1, x19
	bl	_memcpy
	ldr	w1, [x22, #4]
	mov	x0, x21
	bl	_cache_tree_invalidate_path
	ldr	w1, [x22, #4]
	mov	x0, x21
	bl	_untracked_cache_remove_from_index
	mov	x0, x21
	mov	x1, x20
	bl	_remove_index_entry_at
Lloh3:
	adrp	x8, _ADD_CACHE_OK_TO_ADD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADD_CACHE_OK_TO_ADD@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ADD_CACHE_OK_TO_REPLACE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ADD_CACHE_OK_TO_REPLACE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x21
	mov	x1, x24
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_add_index_entry
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CE_HASHED,4,2                  ; @CE_HASHED
	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ; @ADD_CACHE_OK_TO_ADD
	.comm	_ADD_CACHE_OK_TO_REPLACE,4,2    ; @ADD_CACHE_OK_TO_REPLACE
.subsections_via_symbols
