	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_file
_remove_file:                           ## @remove_file
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_3
## %bb.1:
	cmpl	$0, 16(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_remove_file_from_index
	testq	%rax, %rax
	js	LBB0_8
LBB0_3:
	cmpl	$0, (%rbx)
	jne	LBB0_7
## %bb.4:
	movl	(%r15), %esi
	movl	4(%r15), %edi
	callq	_remove_or_warn
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	callq	_remove_path
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%r15), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to remove %s from index"

	.no_dead_strip	_remove_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_file
_remove_file:                           ; @remove_file
	.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, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x21, #16]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_remove_file_from_index
	tbnz	x0, #63, LBB0_8
LBB0_3:
	ldr	w8, [x21]
	cbnz	w8, LBB0_7
; %bb.4:
	ldp	w1, w0, [x19]
	bl	_remove_or_warn
	cbz	w20, LBB0_7
; %bb.5:
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w0, [x19]
	bl	_remove_path
LBB0_7:
	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
LBB0_8:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w1, [x19]
	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
	b	_error
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to remove %s from index"

	.no_dead_strip	_remove_file
.subsections_via_symbols
