	.file	"extr_index.c_git_index_remove_directory.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	git_index_remove_directory
	.type	git_index_remove_directory, @function
git_index_remove_directory:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r14, 16[rsp]
	mov	rax, QWORD PTR GIT_BUF_INIT[rip]
	mov	rdi, r14
	mov	QWORD PTR 16[rsp], rax
	call	git_buf_sets@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L12
.L2:
	mov	rdi, r14
	call	git_buf_dispose@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, r14
	call	git_path_to_dir@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L2
	mov	ecx, DWORD PTR 20[rsp]
	mov	edx, DWORD PTR 16[rsp]
	lea	rdi, 8[rsp]
	mov	rsi, rbx
	mov	r8d, DWORD PTR GIT_INDEX_STAGE_ANY[rip]
	call	index_find@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbx
	call	git_vector_get@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L2
.L14:
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, DWORD PTR [rax]
	call	git__prefixcmp@PLT
	test	rax, rax
	jne	.L2
	mov	rdi, rbp
	call	GIT_INDEX_ENTRY_STAGE@PLT
	cmp	eax, r12d
	je	.L6
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, rbx
	lea	rsi, 1[rax]
	mov	QWORD PTR 8[rsp], rsi
	call	git_vector_get@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L14
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbx
	call	index_remove_entry@PLT
	test	eax, eax
	je	.L3
	mov	r13d, eax
	jmp	.L2
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	git_index_remove_directory, .-git_index_remove_directory
	.comm	GIT_INDEX_STAGE_ANY,4,4
	.comm	GIT_BUF_INIT,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_index.c_git_index_remove_directory.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	git_index_remove_directory
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_index_remove_directory, %function
git_index_remove_directory:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r1
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L15
	sub	sp, sp, #24
	add	r8, sp, #12
	mov	r5, r0
	ldm	r3, {r0, r1}
	stm	r8, {r0, r1}
	ldr	r3, .L15+4
	mov	r1, ip
	mov	r0, r8
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	git_buf_sets
	subs	r7, r0, #0
	beq	.L12
.L2:
	mov	r0, r8
	bl	git_buf_dispose
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r7
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r0, r8
	bl	git_path_to_dir
	subs	r7, r0, #0
	bne	.L2
	ldr	r2, .L15+8
	ldr	r3, [sp, #16]
	ldr	r1, [r2]
	add	r0, sp, #8
	str	r1, [sp]
	ldr	r2, [sp, #12]
	mov	r1, r5
	bl	index_find
.L3:
	mov	r0, r5
	ldr	r1, [sp, #8]
	bl	git_vector_get
	subs	r4, r0, #0
	beq	.L2
.L14:
	ldr	r1, [sp, #12]
	ldr	r0, [r4]
	bl	git__prefixcmp
	cmp	r0, #0
	bne	.L2
	mov	r0, r4
	bl	GIT_INDEX_ENTRY_STAGE
	cmp	r0, r6
	ldr	r1, [sp, #8]
	beq	.L6
	add	r1, r1, #1
	mov	r0, r5
	str	r1, [sp, #8]
	bl	git_vector_get
	subs	r4, r0, #0
	bne	.L14
	b	.L2
.L6:
	mov	r0, r5
	bl	index_remove_entry
	cmp	r0, #0
	beq	.L3
	mov	r7, r0
	b	.L2
.L13:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	GIT_BUF_INIT
	.word	.LC0
	.word	GIT_INDEX_STAGE_ANY
	.size	git_index_remove_directory, .-git_index_remove_directory
	.comm	GIT_INDEX_STAGE_ANY,4,4
	.comm	GIT_BUF_INIT,8,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
