	.file	"extr_commit-graph.c_write_graph_chunk_extra_edges.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"missing parent %s for commit %s"
	.text
	.p2align 4
	.type	write_graph_chunk_extra_edges, @function
write_graph_chunk_extra_edges:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rbx, QWORD PTR 24[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR 16[rsi]
	lea	rax, [rbx+rax*8]
	mov	QWORD PTR 16[rsp], rax
	cmp	rbx, rax
	jnb	.L1
	lea	rax, 36[rsp]
	mov	r12, rdi
	mov	r14, rsi
	add	rbx, 8
	mov	QWORD PTR 24[rsp], rax
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR 32[r14]
	mov	edi, DWORD PTR 36[r14]
	mov	r13, rbx
	lea	esi, 1[rax]
	mov	DWORD PTR 32[r14], esi
	call	display_progress@PLT
	mov	rax, QWORD PTR -8[rbx]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L3
	mov	r15, QWORD PTR [rax]
	test	r15, r15
	je	.L3
	cmp	QWORD PTR [r15], 0
	jne	.L9
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L26:
	add	ebp, DWORD PTR 8[r14]
	test	ebp, ebp
	js	.L24
.L7:
	cmp	QWORD PTR [r15], 0
	je	.L25
.L8:
	mov	esi, ebp
	mov	rdi, r12
	call	hashwrite_be32@PLT
	mov	r15, QWORD PTR [r15]
	test	r15, r15
	je	.L3
.L9:
	mov	rax, QWORD PTR 8[r15]
	mov	edx, DWORD PTR 16[r14]
	mov	rsi, QWORD PTR 24[r14]
	mov	ecx, DWORD PTR commit_to_sha1[rip]
	mov	edi, DWORD PTR [rax]
	call	sha1_pos@PLT
	mov	ebp, eax
	test	eax, eax
	jns	.L26
	mov	rdi, QWORD PTR 8[r15]
	mov	rdx, QWORD PTR 24[rsp]
	mov	esi, DWORD PTR [r14]
	call	find_commit_in_graph@PLT
	test	rax, rax
	cmovne	ebp, DWORD PTR 36[rsp]
	test	ebp, ebp
	jns	.L7
.L24:
	mov	rdi, QWORD PTR -8[rbx]
	call	oid_to_hex@PLT
	mov	rdi, QWORD PTR 8[r15]
	mov	DWORD PTR 12[rsp], eax
	call	oid_to_hex@PLT
	mov	edx, DWORD PTR 12[rsp]
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	BUG@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 8
	cmp	r13, QWORD PTR 16[rsp]
	jb	.L10
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L27
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L25:
	.cfi_restore_state
	or	ebp, DWORD PTR GRAPH_LAST_EDGE[rip]
	jmp	.L8
.L27:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	write_graph_chunk_extra_edges, .-write_graph_chunk_extra_edges
	.comm	commit_to_sha1,4,4
	.comm	GRAPH_LAST_EDGE,4,4
	.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_commit-graph.c_write_graph_chunk_extra_edges.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"missing parent %s for commit %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_graph_chunk_extra_edges, %function
write_graph_chunk_extra_edges:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r6, [r1, #12]
	ldr	r9, [r1, #8]
	sub	sp, sp, #20
	add	r3, r6, r9, lsl #2
	str	r3, [sp, #4]
	cmp	r6, r3
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bcs	.L1
	mov	r5, r1
	mov	r7, r0
	ldr	r8, .L30+4
	ldr	fp, .L30+8
	ldr	r10, .L30+12
.L11:
	ldr	r1, [r5, #16]
	ldr	r0, [r5, #20]
	add	r1, r1, #1
	str	r1, [r5, #16]
	bl	display_progress
	ldr	r3, [r6], #4
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L4
	b	.L5
.L28:
	ldr	r2, [r5, #4]
	add	r9, r9, r2
	cmp	r9, #0
	blt	.L27
.L9:
	ldr	r2, [r4]
	cmp	r2, #0
	ldreq	r2, [fp]
	orreq	r9, r9, r2
.L10:
	mov	r1, r9
	mov	r0, r7
	bl	hashwrite_be32
	ldr	r4, [r4]
	cmp	r4, #0
	beq	.L5
.L4:
	ldr	r2, [r4, #4]
	ldr	r3, [r8]
	ldr	r0, [r2]
	ldr	r1, [r5, #12]
	ldr	r2, [r5, #8]
	bl	sha1_pos
	subs	r9, r0, #0
	bge	.L28
	ldr	r1, [r5]
	ldr	r0, [r4, #4]
	add	r2, sp, #8
	bl	find_commit_in_graph
	cmp	r0, #0
	ldrne	r9, [sp, #8]
	cmp	r9, #0
	bge	.L9
.L27:
	ldr	r0, [r4, #4]
	bl	oid_to_hex
	mov	r1, r0
	ldr	r0, [r6, #-4]
	str	r1, [sp]
	bl	oid_to_hex
	ldr	r1, [sp]
	mov	r2, r0
	mov	r0, r10
	bl	BUG
	b	.L10
.L5:
	ldr	r3, [sp, #4]
	cmp	r6, r3
	bcc	.L11
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC1
	.word	commit_to_sha1
	.word	GRAPH_LAST_EDGE
	.word	.LC0
	.size	write_graph_chunk_extra_edges, .-write_graph_chunk_extra_edges
	.comm	commit_to_sha1,4,4
	.comm	GRAPH_LAST_EDGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
