	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_file_from_index         ## -- Begin function remove_file_from_index
	.p2align	4, 0x90
_remove_file_from_index:                ## @remove_file_from_index
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_index_name_pos
	movl	%eax, %r15d
	sarl	$31, %r15d
	xorl	%eax, %r15d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cache_tree_invalidate_path
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_untracked_cache_remove_from_index
	cmpl	(%rbx), %r15d
	jge	LBB0_4
## %bb.1:
	movslq	%r15d, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_remove_index_entry_at
	cmpl	(%rbx), %r15d
	jl	LBB0_2
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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	_remove_file_from_index         ; -- Begin function remove_file_from_index
	.p2align	2
_remove_file_from_index:                ; @remove_file_from_index
	.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	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_index_name_pos
	eor	w21, w0, w0, asr #31
	mov	x0, x20
	mov	x1, x19
	bl	_cache_tree_invalidate_path
	mov	x0, x20
	mov	x1, x19
	bl	_untracked_cache_remove_from_index
	ldr	w8, [x20]
	cmp	w21, w8
	b.ge	LBB0_4
; %bb.1:
	sxtw	x22, w21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_strcmp
	cbnz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_remove_index_entry_at
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
