	.file	"extr_index.c_git_index_name_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	git_index_name_add
	.type	git_index_name_add, @function
git_index_name_add:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, rdx
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	or	rax, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	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
	je	.L15
	test	rsi, rsi
	je	.L15
	mov	edi, 1
	call	assert@PLT
	mov	edi, 1
	mov	esi, 24
	call	git__calloc@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	GIT_ERROR_CHECK_ALLOC@PLT
.L12:
	mov	rdi, r14
	call	git__strdup@PLT
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	je	.L7
.L6:
	test	r13, r13
	jne	.L54
	test	r12, r12
	je	.L9
.L14:
	mov	rdi, r12
	call	git__strdup@PLT
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	je	.L7
.L9:
	lea	rdi, 4[rbx]
	mov	rsi, rbp
	call	git_vector_insert@PLT
	test	rax, rax
	js	.L7
	mov	DWORD PTR [rbx], 1
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L15:
	.cfi_restore_state
	test	r13, r13
	je	.L16
	test	r12, r12
	je	.L16
	mov	edi, 1
	call	assert@PLT
	mov	edi, 1
	mov	esi, 24
	call	git__calloc@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	GIT_ERROR_CHECK_ALLOC@PLT
	test	r14, r14
	jne	.L13
.L52:
	mov	rdi, r13
	call	git__strdup@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	jne	.L14
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, rbp
	call	index_name_entry_free@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L54:
	mov	rdi, r13
	call	git__strdup@PLT
	mov	QWORD PTR 8[rbp], rax
	test	rax, rax
	je	.L7
	test	r12, r12
	jne	.L14
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L16:
	xor	edi, edi
	call	assert@PLT
	mov	edi, 1
	mov	esi, 24
	call	git__calloc@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	GIT_ERROR_CHECK_ALLOC@PLT
	test	r14, r14
	je	.L6
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, r14
	call	git__strdup@PLT
	mov	QWORD PTR 16[rbp], rax
	test	rax, rax
	jne	.L52
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	git_index_name_add, .-git_index_name_add
	.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_name_add.c"
	.text
	.align	2
	.global	git_index_name_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_index_name_add, %function
git_index_name_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	orrs	r3, r2, r4
	movne	r3, #1
	moveq	r3, #0
	cmp	r1, #0
	moveq	r3, #0
	cmp	r3, #0
	mov	r5, r2
	mov	r8, r0
	mov	r7, r1
	bne	.L2
	subs	r0, r4, #0
	movne	r0, #1
	cmp	r2, #0
	moveq	r0, #0
	cmp	r0, #0
	beq	.L44
	mov	r0, #1
	bl	assert
	mov	r1, #12
	mov	r0, #1
	bl	git__calloc
	mov	r6, r0
	bl	GIT_ERROR_CHECK_ALLOC
	cmp	r7, #0
	bne	.L11
.L42:
	mov	r0, r5
	bl	git__strdup
	cmp	r0, #0
	str	r0, [r6, #4]
	beq	.L5
.L12:
	mov	r0, r4
	bl	git__strdup
	cmp	r0, #0
	str	r0, [r6]
	beq	.L5
.L7:
	mov	r1, r6
	add	r0, r8, #4
	bl	git_vector_insert
	cmp	r0, #0
	blt	.L5
	mov	r3, #1
	mov	r0, #0
	str	r3, [r8]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, #1
	bl	assert
	mov	r1, #12
	mov	r0, #1
	bl	git__calloc
	mov	r6, r0
	bl	GIT_ERROR_CHECK_ALLOC
.L10:
	mov	r0, r7
	bl	git__strdup
	cmp	r0, #0
	str	r0, [r6, #8]
	beq	.L5
.L4:
	cmp	r5, #0
	bne	.L45
.L6:
	cmp	r4, #0
	bne	.L12
	b	.L7
.L45:
	mov	r0, r5
	bl	git__strdup
	cmp	r0, #0
	str	r0, [r6, #4]
	bne	.L6
.L5:
	mov	r0, r6
	bl	index_name_entry_free
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L44:
	bl	assert
	mov	r1, #12
	mov	r0, #1
	bl	git__calloc
	mov	r6, r0
	bl	GIT_ERROR_CHECK_ALLOC
	cmp	r7, #0
	beq	.L4
	b	.L10
.L11:
	mov	r0, r7
	bl	git__strdup
	cmp	r0, #0
	str	r0, [r6, #8]
	bne	.L42
	b	.L5
	.size	git_index_name_add, .-git_index_name_add
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
