	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_index_entry_at          ## -- Begin function remove_index_entry_at
	.p2align	4, 0x90
_remove_index_entry_at:                 ## @remove_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movslq	%esi, %r15
	movq	(%rax,%r15,8), %r14
	movq	%r14, %rsi
	callq	_record_resolve_undo
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_remove_name_hash
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_save_or_free_index_entry
	movq	_CE_ENTRY_REMOVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	movl	(%rbx), %edx
	decl	%edx
	movl	%edx, (%rbx)
	xorl	%eax, %eax
	subl	%r15d, %edx
	jle	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	leaq	(%rax,%r15,8), %rdi
	leaq	(%rax,%r15,8), %rsi
	addq	$8, %rsi
	callq	_MOVE_ARRAY
	movl	$1, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CE_ENTRY_REMOVED,4,2           ## @CE_ENTRY_REMOVED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_index_entry_at          ; -- Begin function remove_index_entry_at
	.p2align	2
_remove_index_entry_at:                 ; @remove_index_entry_at
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x21, [x8, w1, sxtw #3]
	mov	x1, x21
	bl	_record_resolve_undo
	mov	x0, x19
	mov	x1, x21
	bl	_remove_name_hash
	mov	x0, x19
	mov	x1, x21
	bl	_save_or_free_index_entry
Lloh0:
	adrp	x8, _CE_ENTRY_REMOVED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CE_ENTRY_REMOVED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	subs	w2, w8, w20
	b.le	LBB0_2
; %bb.1:
	sxtw	x8, w20
	ldr	x9, [x19, #8]
	add	x0, x9, x8, lsl #3
	add	x1, x0, #8
	bl	_MOVE_ARRAY
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	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	_CE_ENTRY_REMOVED,4,2           ; @CE_ENTRY_REMOVED
.subsections_via_symbols
