	.file	"extr_fast-import.c_end_packfile.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"core git rejected index %s"
.LC1:
	.string	"%s:"
.LC2:
	.string	" %s"
	.text
	.p2align 4
	.type	end_packfile, @function
end_packfile:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR running.2007[rip]
	test	edx, edx
	jne	.L29
	cmp	QWORD PTR pack_data[rip], 0
	je	.L29
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	DWORD PTR running.2007[rip], 1
	call	clear_delta_base_cache@PLT
	cmp	QWORD PTR object_count[rip], 0
	je	.L3
	mov	rdi, QWORD PTR pack_data[rip]
	xor	ebx, ebx
	call	close_pack_windows@PLT
	mov	edi, DWORD PTR pack_file[rip]
	xor	edx, edx
	mov	esi, ebx
	call	finalize_hashfile@PLT
	mov	rax, QWORD PTR pack_data[rip]
	mov	r9d, DWORD PTR pack_size[rip]
	mov	r8d, ebx
	mov	rcx, QWORD PTR object_count[rip]
	mov	esi, DWORD PTR 8[rax]
	mov	edi, DWORD PTR 4[rax]
	mov	edx, DWORD PTR [rax]
	call	fixup_pack_header_footer@PLT
	mov	rax, QWORD PTR unpack_limit[rip]
	cmp	QWORD PTR object_count[rip], rax
	jg	.L4
	mov	rdi, QWORD PTR pack_data[rip]
	call	loosen_small_pack@PLT
	test	eax, eax
	je	.L33
.L4:
	mov	rax, QWORD PTR pack_data[rip]
	mov	edi, DWORD PTR 4[rax]
	call	close@PLT
	xor	eax, eax
	call	create_index@PLT
	mov	edi, eax
	call	keep_pack@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	strlen@PLT
	mov	edx, 1
	mov	rdi, rbp
	mov	esi, eax
	call	add_packed_git@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L34
.L5:
	mov	rdx, QWORD PTR pack_id[rip]
	mov	rax, QWORD PTR all_packs[rip]
	mov	rsi, rbx
	mov	edi, DWORD PTR the_repository[rip]
	mov	QWORD PTR [rax+rdx*8], rbx
	call	install_packed_git@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	rdi, QWORD PTR pack_edges[rip]
	test	rdi, rdi
	jne	.L35
.L6:
	add	QWORD PTR pack_id[rip], 1
.L15:
	mov	rdi, QWORD PTR pack_data[rip]
	call	FREE_AND_NULL@PLT
	lea	rdi, last_blob[rip+16]
	mov	DWORD PTR running.2007[rip], 0
	call	strbuf_release@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	QWORD PTR last_blob[rip+8], 0
	mov	QWORD PTR last_blob[rip], 0
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
.L33:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rdi, QWORD PTR pack_id[rip]
	call	invalidate_pack_id@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR pack_data[rip]
	mov	edi, DWORD PTR 4[rax]
	call	close@PLT
	mov	rax, QWORD PTR pack_data[rip]
	mov	edi, DWORD PTR [rax]
	call	unlink_or_warn@PLT
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdx, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	fprintf@PLT
	mov	eax, DWORD PTR branch_table_sz[rip]
	test	eax, eax
	jle	.L7
	xor	ebp, ebp
	lea	r12, .LC2[rip]
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR branch_table[rip]
	mov	rbx, QWORD PTR [rax+rbp*8]
	test	rbx, rbx
	jne	.L10
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rbx, QWORD PTR 16[rbx]
	test	rbx, rbx
	je	.L8
.L10:
	mov	rax, QWORD PTR pack_id[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L9
	lea	rdi, 8[rbx]
	call	oid_to_hex@PLT
	mov	rdi, QWORD PTR pack_edges[rip]
	mov	rsi, r12
	mov	rdx, rax
	call	fprintf@PLT
	mov	rbx, QWORD PTR 16[rbx]
	test	rbx, rbx
	jne	.L10
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbp, 1
	cmp	DWORD PTR branch_table_sz[rip], ebp
	jg	.L11
.L7:
	mov	rbx, QWORD PTR first_tag[rip]
	test	rbx, rbx
	je	.L12
	lea	rbp, .LC2[rip]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rbx, QWORD PTR 16[rbx]
	test	rbx, rbx
	je	.L12
.L14:
	mov	rax, QWORD PTR pack_id[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L13
	lea	rdi, 8[rbx]
	call	oid_to_hex@PLT
	mov	rdi, QWORD PTR pack_edges[rip]
	mov	rsi, rbp
	mov	rdx, rax
	call	fprintf@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, QWORD PTR pack_edges[rip]
	mov	edi, 10
	call	fputc@PLT
	mov	rdi, QWORD PTR pack_edges[rip]
	call	fflush@PLT
	jmp	.L6
.L34:
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	die@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	end_packfile, .-end_packfile
	.local	running.2007
	.comm	running.2007,4,4
	.comm	unpack_limit,8,8
	.comm	the_repository,4,4
	.comm	pack_size,4,4
	.comm	pack_id,8,8
	.comm	pack_file,4,4
	.comm	pack_edges,8,8
	.comm	pack_data,8,8
	.comm	object_count,8,8
	.comm	last_blob,24,16
	.comm	first_tag,8,8
	.comm	branch_table_sz,4,4
	.comm	branch_table,8,8
	.comm	all_packs,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_fast-import.c_end_packfile.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"core git rejected index %s\000"
	.align	2
.LC1:
	.ascii	"%s:\000"
	.align	2
.LC2:
	.ascii	" %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	end_packfile, %function
end_packfile:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, .L40
	sub	sp, sp, #12
	ldr	r6, [r8]
	cmp	r6, #0
	bne	.L1
	ldr	r7, .L40+4
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L1
	mov	r3, #1
	ldr	r4, .L40+8
	str	r3, [r8]
	bl	clear_delta_base_cache
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L3
	mov	r5, #0
	ldr	r0, [r7]
	bl	close_pack_windows
	ldr	r3, .L40+12
	mov	r1, r5
	mov	r2, r6
	ldr	r0, [r3]
	bl	finalize_hashfile
	ldr	r3, [r7]
	ldr	ip, .L40+16
	ldr	r2, [r3]
	ldmib	r3, {r0, r1}
	ldr	r3, [ip]
	str	r5, [sp]
	str	r3, [sp, #4]
	ldr	r3, [r4]
	bl	fixup_pack_header_footer
	ldr	r3, .L40+20
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L4
	ldr	r0, [r7]
	bl	loosen_small_pack
	cmp	r0, r5
	beq	.L37
.L4:
	ldr	r3, [r7]
	ldr	r0, [r3, #4]
	bl	close
	bl	create_index
	bl	keep_pack
	mov	r10, r0
	bl	strlen
	mov	r2, #1
	mov	r1, r0
	mov	r0, r10
	bl	add_packed_git
	subs	r4, r0, #0
	beq	.L38
.L5:
	ldr	r3, .L40+24
	ldr	r5, .L40+28
	ldr	r2, [r3]
	ldr	r1, [r5]
	ldr	r3, .L40+32
	str	r4, [r2, r1, lsl #2]
	ldr	r0, [r3]
	mov	r1, r4
	ldr	r9, .L40+36
	bl	install_packed_git
	mov	r0, r10
	bl	free
	ldr	r0, [r9]
	cmp	r0, #0
	bne	.L39
.L6:
	ldr	r3, [r5]
	add	r3, r3, #1
	str	r3, [r5]
.L16:
	mov	r4, #0
	ldr	r5, .L40+40
	ldr	r0, [r7]
	bl	FREE_AND_NULL
	mov	r0, r5
	str	r4, [r8]
	bl	strbuf_release
	str	r4, [r5, #-8]
	str	r4, [r5, #-4]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	ldr	r3, .L40+28
	ldr	r0, [r3]
	bl	invalidate_pack_id
.L3:
	ldr	r3, [r7]
	ldr	r0, [r3, #4]
	bl	close
	ldr	r3, [r7]
	ldr	r0, [r3]
	bl	unlink_or_warn
	b	.L16
.L39:
	ldr	r2, [r4]
	ldr	r1, .L40+44
	bl	fprintf
	ldr	r3, .L40+48
	ldr	fp, [r9]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L12
	ldr	r10, .L40+52
.L11:
	ldr	r3, .L40+56
	ldr	r2, [r3]
	ldr	r4, [r2, r6, lsl #2]
	cmp	r4, #0
	bne	.L10
	b	.L8
.L9:
	ldr	r4, [r4, #8]
	cmp	r4, #0
	beq	.L8
.L10:
	ldr	r1, [r4]
	ldr	r2, [r5]
	cmp	r1, r2
	bne	.L9
	add	r0, r4, #4
	bl	oid_to_hex
	mov	r1, r10
	mov	r2, r0
	mov	r0, fp
	bl	fprintf
	ldr	r4, [r4, #8]
	ldr	fp, [r9]
	cmp	r4, #0
	bne	.L10
.L8:
	ldr	r3, .L40+48
	add	r6, r6, #1
	ldr	r2, [r3]
	cmp	r2, r6
	bgt	.L11
.L12:
	ldr	r2, .L40+60
	ldr	r4, [r2]
	cmp	r4, #0
	beq	.L13
	ldr	r6, .L40+52
	b	.L15
.L14:
	ldr	r4, [r4, #8]
	cmp	r4, #0
	beq	.L13
.L15:
	ldr	r1, [r4]
	ldr	r2, [r5]
	cmp	r1, r2
	bne	.L14
	add	r0, r4, #4
	bl	oid_to_hex
	mov	r1, r6
	mov	r2, r0
	mov	r0, fp
	bl	fprintf
	ldr	fp, [r9]
	b	.L14
.L13:
	mov	r1, fp
	mov	r0, #10
	bl	fputc
	ldr	r0, [r9]
	bl	fflush
	b	.L6
.L38:
	mov	r1, r10
	ldr	r0, .L40+64
	bl	die
	b	.L5
.L41:
	.align	2
.L40:
	.word	.LANCHOR0
	.word	pack_data
	.word	object_count
	.word	pack_file
	.word	pack_size
	.word	unpack_limit
	.word	all_packs
	.word	pack_id
	.word	the_repository
	.word	pack_edges
	.word	last_blob+8
	.word	.LC1
	.word	branch_table_sz
	.word	.LC2
	.word	branch_table
	.word	first_tag
	.word	.LC0
	.size	end_packfile, .-end_packfile
	.comm	unpack_limit,4,4
	.comm	the_repository,4,4
	.comm	pack_size,4,4
	.comm	pack_id,4,4
	.comm	pack_file,4,4
	.comm	pack_edges,4,4
	.comm	pack_data,4,4
	.comm	object_count,4,4
	.comm	last_blob,12,4
	.comm	first_tag,4,4
	.comm	branch_table_sz,4,4
	.comm	branch_table,4,4
	.comm	all_packs,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	running.4291, %object
	.size	running.4291, 4
running.4291:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
