	.file	"extr_merge_file.c_git_merge_file_from_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	git_merge_file_from_index
	.type	git_merge_file_from_index, @function
git_merge_file_from_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pxor	xmm0, xmm0
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	QWORD PTR 8[rsp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 28[rsp], 0
	mov	DWORD PTR 32[rsp], 0
	mov	DWORD PTR 36[rsp], 0
	mov	QWORD PTR 40[rsp], 0
	mov	QWORD PTR 64[rsp], 0
	movaps	XMMWORD PTR 48[rsp], xmm0
	test	rdi, rdi
	je	.L6
	test	rsi, rsi
	je	.L6
	test	rcx, rcx
	setne	al
	xor	edi, edi
	test	r8, r8
	setne	dil
	and	edi, eax
.L2:
	call	assert@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, rbp
	call	memset@PLT
	mov	rsi, r12
	lea	rdi, 40[rsp]
	call	git_repository_odb@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L3
	mov	rdx, QWORD PTR 40[rsp]
	test	r13, r13
	je	.L4
	lea	rbx, 28[rsp]
	lea	rsi, 48[rsp]
	mov	rcx, r13
	mov	rdi, rbx
	call	git_merge_file__input_from_index@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L3
	mov	rdx, QWORD PTR 40[rsp]
	mov	r13, rbx
.L4:
	lea	rbx, 32[rsp]
	lea	rsi, 56[rsp]
	mov	rcx, r14
	mov	rdi, rbx
	call	git_merge_file__input_from_index@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L3
	mov	rdx, QWORD PTR 40[rsp]
	lea	r14, 36[rsp]
	lea	rsi, 64[rsp]
	mov	rcx, r15
	mov	rdi, r14
	call	git_merge_file__input_from_index@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L3
	mov	r8, QWORD PTR 8[rsp]
	mov	rcx, r14
	mov	rdx, rbx
	mov	rsi, r13
	mov	rdi, rbp
	call	merge_file__from_inputs@PLT
	mov	r12d, eax
.L3:
	mov	rdi, QWORD PTR 48[rsp]
	call	git_odb_object_free@PLT
	mov	rdi, QWORD PTR 56[rsp]
	call	git_odb_object_free@PLT
	mov	rdi, QWORD PTR 64[rsp]
	call	git_odb_object_free@PLT
	mov	rdi, QWORD PTR 40[rsp]
	call	git_odb_free@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	edi, edi
	jmp	.L2
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	git_merge_file_from_index, .-git_merge_file_from_index
	.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_merge_file.c_git_merge_file_from_index.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	git_merge_file_from_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_merge_file_from_index, %function
git_merge_file_from_index:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	subs	lr, r1, #0
	movne	lr, #1
	cmp	r0, #0
	mov	ip, #0
	moveq	lr, #0
	mov	r9, r3
	ldr	r3, .L13
	sub	sp, sp, #44
	cmp	lr, ip
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r5, r0
	mov	r6, r2
	mov	r4, r1
	moveq	r0, lr
	ldr	r8, [sp, #72]
	ldr	r7, [sp, #76]
	str	ip, [sp, #8]
	str	ip, [sp, #12]
	str	ip, [sp, #16]
	str	ip, [sp, #20]
	str	ip, [sp, #24]
	str	ip, [sp, #28]
	str	ip, [sp, #32]
	beq	.L2
	subs	r0, r8, ip
	movne	r0, #1
	cmp	r9, ip
	moveq	r0, ip
.L2:
	bl	assert
	mov	r3, #0
	mov	r1, r4
	strb	r3, [r5]
	strb	r3, [r5, #1]
	strb	r3, [r5, #2]
	strb	r3, [r5, #3]
	add	r0, sp, #20
	bl	git_repository_odb
	subs	r4, r0, #0
	blt	.L3
	cmp	r6, #0
	ldr	r2, [sp, #20]
	beq	.L4
	mov	r3, r6
	add	r1, sp, #24
	add	r0, sp, #8
	bl	git_merge_file__input_from_index
	subs	r4, r0, #0
	blt	.L3
	ldr	r2, [sp, #20]
	add	r6, sp, #8
.L4:
	mov	r3, r9
	add	r0, sp, #12
	add	r1, sp, #28
	bl	git_merge_file__input_from_index
	subs	r4, r0, #0
	blt	.L3
	mov	r3, r8
	ldr	r2, [sp, #20]
	add	r0, sp, #16
	add	r1, sp, #32
	bl	git_merge_file__input_from_index
	subs	r4, r0, #0
	blt	.L3
	mov	r1, r6
	mov	r0, r5
	str	r7, [sp]
	add	r3, sp, #16
	add	r2, sp, #12
	bl	merge_file__from_inputs
	mov	r4, r0
.L3:
	ldr	r0, [sp, #24]
	bl	git_odb_object_free
	ldr	r0, [sp, #28]
	bl	git_odb_object_free
	ldr	r0, [sp, #32]
	bl	git_odb_object_free
	ldr	r0, [sp, #20]
	bl	git_odb_free
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	git_merge_file_from_index, .-git_merge_file_from_index
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
