	.file	"extr_blame.c_pass_blame.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pass_blame, @function
pass_blame:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -160[rbp], edx
	mov	QWORD PTR -96[rbp], rdi
	mov	rcx, rsp
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 40[rdi]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR 24[rsi]
	mov	QWORD PTR -144[rbp], rax
	movsx	rax, DWORD PTR MAXSG[rip]
	mov	r12, rax
	lea	rax, 15[0+rax*8]
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L119:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L119
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L120
.L4:
	lea	rax, -72[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rbx, rsp
	mov	rdi, QWORD PTR -152[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -168[rbp], rbx
	mov	edx, DWORD PTR 16[rax]
	mov	QWORD PTR -80[rbp], 0
	call	num_scapegoats@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	r15d, eax
	test	eax, eax
	jne	.L121
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], 0
	mov	rsi, QWORD PTR -72[rbp]
	call	distribute_blame@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	r12, QWORD PTR -168[rbp]
	test	rax, rax
	je	.L122
	.p2align 4,,10
	.p2align 3
.L45:
	mov	rdx, rax
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L45
	mov	rcx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR [rcx], rax
.L44:
	mov	eax, DWORD PTR -84[rbp]
	test	eax, eax
	jle	.L46
.L54:
	mov	ebx, DWORD PTR -84[rbp]
	xor	r13d, r13d
	jmp	.L49
	.p2align 4,,10
	.p2align 3
.L48:
	call	blame_origin_decref@PLT
.L47:
	add	r13, 1
	cmp	ebx, r13d
	jle	.L46
.L49:
	mov	rdi, QWORD PTR [r12+r13*8]
	test	rdi, rdi
	je	.L47
	cmp	QWORD PTR [rdi], 0
	jne	.L48
	call	drop_origin_blob@PLT
	mov	rdi, QWORD PTR [r12+r13*8]
	jmp	.L48
.L121:
	mov	rdi, rbx
	call	ARRAY_SIZE@PLT
	cmp	eax, r15d
	jle	.L6
	lea	edx, 0[0+r12*8]
	xor	esi, esi
	mov	rdi, rbx
	mov	r12, rbx
	call	memset@PLT
.L7:
	mov	esi, DWORD PTR -84[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, 2
	test	esi, esi
	setg	BYTE PTR -153[rbp]
	sub	eax, DWORD PTR [rcx]
	test	eax, eax
	jle	.L14
	mov	rax, QWORD PTR find_origin@GOTPCREL[rip]
	mov	DWORD PTR -88[rbp], 0
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 16
	mov	QWORD PTR -136[rbp], rax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR 16[rax]
	call	first_scapegoat@PLT
	test	rax, rax
	je	.L24
	mov	r13d, 1
	cmp	BYTE PTR -153[rbp], 0
	mov	r15, rax
	mov	r14, r13
	jne	.L12
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L51:
	mov	r15, QWORD PTR 8[r15]
	cmp	DWORD PTR -84[rbp], r14d
	setg	dl
	test	r15, r15
	setne	al
	add	r14, 1
	test	dl, al
	je	.L24
.L12:
	cmp	QWORD PTR -8[r12+r14*8], 0
	jne	.L51
	mov	r13, QWORD PTR [r15]
	mov	rdi, r13
	call	parse_commit@PLT
	test	rax, rax
	jne	.L51
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rsi, r13
	mov	rdi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -120[rbp]
	call	rax
	mov	QWORD PTR -104[rbp], rax
	test	rax, rax
	je	.L51
	lea	rbx, 16[rax]
	mov	rsi, QWORD PTR -136[rbp]
	mov	rdi, rbx
	call	oideq@PLT
	test	rax, rax
	jne	.L16
	cmp	r14d, 1
	je	.L18
	lea	eax, -2[r14]
	mov	QWORD PTR -128[rbp], r12
	mov	r13, rbx
	lea	rax, 8[r12+rax*8]
	mov	rbx, rax
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, QWORD PTR [r12]
	test	rdi, rdi
	je	.L23
	add	rdi, 16
	mov	rsi, r13
	call	oideq@PLT
	test	rax, rax
	jne	.L123
.L23:
	add	r12, 8
	cmp	rbx, r12
	jne	.L21
	mov	r12, QWORD PTR -128[rbp]
.L18:
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -8[r12+r14*8], rax
	jmp	.L51
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rax, QWORD PTR find_rename@GOTPCREL[rip]
	mov	rsi, QWORD PTR -96[rbp]
	add	DWORD PTR -88[rbp], 1
	mov	ecx, DWORD PTR -88[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	eax, 2
	sub	eax, DWORD PTR [rsi]
	cmp	eax, ecx
	jg	.L8
.L14:
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR -152[rbp]
	add	DWORD PTR 32[rax], 1
	mov	edx, DWORD PTR 16[rax]
	call	first_scapegoat@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L11
	cmp	BYTE PTR -153[rbp], 0
	mov	r13d, 1
	je	.L11
	mov	r15, QWORD PTR -96[rbp]
	mov	r14, QWORD PTR -112[rbp]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L28:
	xor	ecx, ecx
	mov	rsi, r14
	mov	rdi, r15
	call	pass_blame_to_parent@PLT
	cmp	QWORD PTR [r14], 0
	je	.L19
.L30:
	mov	rbx, QWORD PTR 8[rbx]
	cmp	DWORD PTR -84[rbp], r13d
	setg	dl
	test	rbx, rbx
	setne	al
	add	r13, 1
	test	dl, al
	je	.L11
.L9:
	mov	rdx, QWORD PTR -8[r12+r13*8]
	test	rdx, rdx
	je	.L30
	cmp	QWORD PTR 8[r14], 0
	jne	.L28
	mov	rdi, rdx
	mov	QWORD PTR -104[rbp], rdx
	call	blame_origin_incref@PLT
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR 8[r14], rdx
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L123:
	mov	rdi, QWORD PTR -104[rbp]
	mov	r12, QWORD PTR -128[rbp]
	call	blame_origin_decref@PLT
	jmp	.L51
	.p2align 4,,10
	.p2align 3
.L46:
	mov	rdi, QWORD PTR -112[rbp]
	call	drop_origin_blob@PLT
	cmp	r12, QWORD PTR -168[rbp]
	je	.L1
	mov	rdi, r12
	call	free@PLT
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L124
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L16:
	.cfi_restore_state
	mov	rbx, QWORD PTR -104[rbp]
	mov	rdi, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	rdx, rbx
	call	pass_whole_blame@PLT
	mov	rdi, rbx
	call	blame_origin_decref@PLT
.L19:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], 0
	mov	rsi, QWORD PTR -72[rbp]
	call	distribute_blame@PLT
	mov	rax, QWORD PTR -80[rbp]
	test	rax, rax
	jne	.L45
	jmp	.L54
.L6:
	mov	edi, DWORD PTR -84[rbp]
	mov	esi, 8
	call	xcalloc@PLT
	mov	r12, rax
	jmp	.L7
.L120:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L11:
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	lea	rdi, 28[rax]
	call	oidset_contains@PLT
	test	rax, rax
	jne	.L125
.L26:
	mov	eax, DWORD PTR -160[rbp]
	test	DWORD PTR PICKAXE_BLAME_MOVE[rip], eax
	jne	.L126
.L32:
	mov	eax, DWORD PTR -160[rbp]
	test	DWORD PTR PICKAXE_BLAME_COPY[rip], eax
	je	.L37
	mov	rax, QWORD PTR -96[rbp]
	mov	ecx, DWORD PTR 20[rax]
	cmp	ecx, DWORD PTR 24[rax]
	jg	.L127
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, QWORD PTR [rax]
	jl	.L128
.L42:
	test	rdi, rdi
	je	.L37
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR 16[rax]
	call	first_scapegoat@PLT
	mov	r13, rax
	test	rax, rax
	je	.L37
	cmp	BYTE PTR -153[rbp], 0
	je	.L37
	lea	rbx, -64[rbp]
	lea	r10, -80[rbp]
	mov	QWORD PTR -104[rbp], r12
	mov	r15d, 1
	mov	r12, rbx
	mov	r14, r10
	mov	rbx, QWORD PTR -112[rbp]
	jmp	.L43
.L129:
	mov	r13, QWORD PTR 8[r13]
	cmp	DWORD PTR -84[rbp], r15d
	setg	dl
	test	r13, r13
	setne	al
	add	r15, 1
	test	dl, al
	je	.L113
.L43:
	mov	rax, QWORD PTR -104[rbp]
	sub	rsp, 8
	mov	r8, QWORD PTR 0[r13]
	mov	rcx, rbx
	mov	rdi, QWORD PTR -96[rbp]
	mov	rdx, r14
	mov	rsi, r12
	mov	r9, QWORD PTR -8[rax+r15*8]
	mov	eax, DWORD PTR -160[rbp]
	push	rax
	call	find_copy_in_parent@PLT
	cmp	QWORD PTR [rbx], 0
	pop	rdx
	pop	rcx
	jne	.L129
.L113:
	mov	r12, QWORD PTR -104[rbp]
	jmp	.L19
.L37:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], 0
	mov	rsi, QWORD PTR -72[rbp]
	call	distribute_blame@PLT
	mov	rax, QWORD PTR -80[rbp]
	test	rax, rax
	je	.L44
	jmp	.L45
	.p2align 4,,10
	.p2align 3
.L122:
	mov	rdi, QWORD PTR -112[rbp]
	call	drop_origin_blob@PLT
	jmp	.L1
.L126:
	mov	rbx, QWORD PTR -96[rbp]
	mov	r15, QWORD PTR -112[rbp]
	lea	r10, -80[rbp]
	mov	rsi, r10
	mov	QWORD PTR -104[rbp], r10
	mov	ecx, DWORD PTR 24[rbx]
	mov	rdx, r15
	mov	rdi, rbx
	call	filter_small@PLT
	cmp	QWORD PTR [r15], 0
	je	.L32
	mov	edx, DWORD PTR 16[rbx]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR -152[rbp]
	call	first_scapegoat@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L32
	cmp	BYTE PTR -153[rbp], 0
	je	.L32
	mov	r10, QWORD PTR -104[rbp]
	lea	r15, -64[rbp]
	mov	r13d, 1
	mov	r14, r15
	mov	r15, r12
	mov	r12, r10
.L39:
	mov	r8, QWORD PTR -8[r15+r13*8]
	test	r8, r8
	je	.L40
	mov	rcx, QWORD PTR -112[rbp]
	mov	rdi, QWORD PTR -96[rbp]
	mov	rdx, r12
	mov	rsi, r14
	call	find_move_in_parent@PLT
	mov	rax, QWORD PTR -112[rbp]
	cmp	QWORD PTR [rax], 0
	je	.L117
.L40:
	mov	rbx, QWORD PTR 8[rbx]
	cmp	DWORD PTR -84[rbp], r13d
	setg	dl
	test	rbx, rbx
	setne	al
	add	r13, 1
	test	dl, al
	jne	.L39
.L117:
	mov	r12, r15
	jmp	.L32
.L125:
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rdi, QWORD PTR -152[rbp]
	mov	edx, DWORD PTR 16[rax]
	call	first_scapegoat@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L26
	cmp	BYTE PTR -153[rbp], 0
	je	.L26
	mov	r15, r12
	mov	r12, QWORD PTR -112[rbp]
	mov	r13d, 1
.L34:
	mov	r14, QWORD PTR -8[r15+r13*8]
	test	r14, r14
	je	.L35
	mov	rdi, QWORD PTR -96[rbp]
	mov	ecx, 1
	mov	rdx, r14
	mov	rsi, r12
	call	pass_blame_to_parent@PLT
	mov	rdi, r14
	call	drop_origin_blob@PLT
	cmp	QWORD PTR [r12], 0
	je	.L130
.L35:
	mov	rbx, QWORD PTR 8[rbx]
	cmp	DWORD PTR -84[rbp], r13d
	setg	dl
	test	rbx, rbx
	setne	al
	add	r13, 1
	test	dl, al
	jne	.L34
	mov	r12, r15
	jmp	.L26
.L127:
	mov	rbx, QWORD PTR -112[rbp]
	lea	r10, -80[rbp]
	mov	rdi, rax
	mov	rsi, r10
	mov	rdx, rbx
	call	filter_small@PLT
	mov	rdi, QWORD PTR [rbx]
	jmp	.L42
.L130:
	mov	r12, r15
	jmp	.L19
.L128:
	mov	rsi, QWORD PTR -80[rbp]
	call	blame_merge@PLT
	mov	rbx, QWORD PTR -112[rbp]
	mov	rdi, QWORD PTR -96[rbp]
	lea	r10, -80[rbp]
	mov	rsi, r10
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR [rbx], rax
	mov	ecx, DWORD PTR 20[rdi]
	mov	rdx, rbx
	call	filter_small@PLT
	mov	rdi, QWORD PTR [rbx]
	jmp	.L42
.L124:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pass_blame, .-pass_blame
	.comm	PICKAXE_BLAME_MOVE,4,4
	.comm	PICKAXE_BLAME_COPY,4,4
	.comm	MAXSG,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_blame.c_pass_blame.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pass_blame, %function
pass_blame:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #92
	mov	ip, r2
	mov	r2, r0
	mov	r5, #0
	ldr	r3, .L114
	str	r0, [fp, #-56]
	ldr	r4, [r3]
	str	r1, [fp, #-64]
	lsl	r4, r4, #2
	ldr	r0, [r0, #28]
	ldr	r1, [r1, #12]
	add	r3, r4, #7
	str	ip, [fp, #-104]
	bic	r3, r3, #7
	ldr	ip, .L114+4
	sub	sp, sp, r3
	str	r0, [fp, #-92]
	str	r1, [fp, #-88]
	sub	r3, fp, #48
	ldr	r2, [r2, #8]
	ldr	ip, [ip]
	str	ip, [fp, #-40]
	mov	ip,#0
	str	r5, [fp, #-52]
	str	r3, [fp, #-44]
	bl	num_scapegoats
	add	r6, sp, #16
	subs	r7, r0, #0
	str	r6, [fp, #-100]
	bne	.L105
	ldr	r3, [fp, #-44]
	ldr	r0, [fp, #-56]
	str	r7, [r3]
	ldr	r1, [fp, #-48]
	bl	distribute_blame
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L106
	ldr	r2, [fp, #-100]
	str	r2, [fp, #-80]
.L41:
	mov	r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r1, [fp, #-64]
	ldr	r3, [r1]
	str	r3, [r2]
	ldr	r3, [fp, #-52]
	str	r3, [r1]
.L40:
	cmp	r7, #0
	ble	.L42
	ldr	r3, [fp, #-80]
	sub	r3, r3, #4
	str	r3, [fp, #-72]
.L50:
	mov	r4, #0
	ldr	r5, [fp, #-72]
	b	.L45
.L44:
	bl	blame_origin_decref
.L43:
	add	r4, r4, #1
	cmp	r7, r4
	ble	.L42
.L45:
	ldr	r0, [r5, #4]!
	cmp	r0, #0
	beq	.L43
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L44
	bl	drop_origin_blob
	ldr	r0, [r5]
	b	.L44
.L42:
	ldr	r0, [fp, #-64]
	bl	drop_origin_blob
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-100]
	cmp	r3, r2
	beq	.L1
	mov	r0, r3
	bl	free
.L1:
	ldr	r3, .L114+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L107
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L105:
	mov	r0, r6
	bl	ARRAY_SIZE
	cmp	r0, r7
	ble	.L3
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	memset
	str	r6, [fp, #-80]
.L4:
	cmp	r7, #0
	movle	r2, #0
	movgt	r2, #1
	ldr	r3, [fp, #-56]
	str	r2, [fp, #-96]
	ldr	r3, [r3]
	rsb	r3, r3, #2
	cmp	r3, #0
	ble	.L9
	mov	r3, #0
	str	r3, [fp, #-76]
	ldr	r3, .L114+8
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	str	r3, [fp, #-84]
.L5:
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-88]
	ldr	r2, [r3, #8]
	ldr	r0, [fp, #-92]
	bl	first_scapegoat
	cmp	r0, #0
	ldr	r3, [fp, #-96]
	moveq	r3, #0
	cmp	r3, #0
	mov	r4, r0
	beq	.L19
	ldr	r3, [fp, #-80]
	mov	r5, #0
	sub	r3, r3, #4
	mov	r10, r3
	str	r3, [fp, #-72]
	b	.L18
.L47:
	ldr	r4, [r4, #4]
	add	r5, r5, #1
	cmp	r4, #0
	cmpne	r7, r5
	ble	.L19
.L18:
	mov	r6, r10
	ldr	r2, [r10, #4]!
	cmp	r2, #0
	bne	.L47
	ldr	r8, [r4]
	mov	r0, r8
	bl	parse_commit
	cmp	r0, #0
	bne	.L47
	ldr	r3, [fp, #-56]
	mov	r1, r8
	ldr	r0, [r3, #4]
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	blx	r3
	subs	r3, r0, #0
	str	r3, [fp, #-60]
	beq	.L47
	add	r9, r3, #8
	mov	r0, r9
	ldr	r1, [fp, #-84]
	bl	oideq
	cmp	r0, #0
	bne	.L11
	cmp	r5, #0
	ldrne	r8, [fp, #-72]
	beq	.L13
.L12:
	ldr	r0, [r8, #4]!
	cmp	r0, #0
	beq	.L17
	mov	r1, r9
	add	r0, r0, #8
	bl	oideq
	cmp	r0, #0
	bne	.L108
.L17:
	cmp	r6, r8
	bne	.L12
.L13:
	ldr	r3, [fp, #-60]
	str	r3, [r10]
	b	.L47
.L19:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-76]
	ldr	r3, [r3]
	add	r2, r2, #1
	rsb	r3, r3, #2
	cmp	r3, r2
	ldr	r3, .L114+12
	str	r2, [fp, #-76]
	str	r3, [fp, #-68]
	bgt	.L5
.L9:
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-92]
	ldr	r3, [r1, #24]
	ldr	r2, [r1, #8]
	add	r3, r3, #1
	str	r3, [r1, #24]
	ldr	r1, [fp, #-88]
	bl	first_scapegoat
	cmp	r0, #0
	ldr	r3, [fp, #-96]
	moveq	r3, #0
	cmp	r3, #0
	mov	r4, r0
	beq	.L7
	ldr	r3, [fp, #-80]
	mov	r5, #0
	sub	r3, r3, #4
	mov	r6, r3
	ldr	r9, [fp, #-56]
	ldr	r8, [fp, #-64]
	str	r3, [fp, #-72]
	b	.L23
.L24:
	mov	r3, #0
	mov	r1, r8
	mov	r0, r9
	bl	pass_blame_to_parent
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L14
.L26:
	ldr	r4, [r4, #4]
	add	r5, r5, #1
	cmp	r4, #0
	cmpne	r7, r5
	ble	.L7
.L23:
	ldr	r2, [r6, #4]!
	cmp	r2, #0
	beq	.L26
	ldr	r3, [r8, #4]
	cmp	r3, #0
	bne	.L24
	mov	r0, r2
	str	r2, [fp, #-60]
	bl	blame_origin_incref
	ldr	r2, [fp, #-60]
	str	r2, [r8, #4]
	b	.L24
.L108:
	ldr	r0, [fp, #-60]
	bl	blame_origin_decref
	b	.L47
.L11:
	ldr	r4, [fp, #-60]
	ldr	r1, [fp, #-64]
	mov	r2, r4
	ldr	r0, [fp, #-56]
	bl	pass_whole_blame
	mov	r0, r4
	bl	blame_origin_decref
.L14:
	mov	r2, #0
	ldr	r3, [fp, #-44]
	ldr	r0, [fp, #-56]
	str	r2, [r3]
	ldr	r1, [fp, #-48]
	bl	distribute_blame
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L41
	b	.L50
.L3:
	mov	r1, #4
	mov	r0, r7
	bl	xcalloc
	str	r0, [fp, #-80]
	b	.L4
.L106:
	ldr	r0, [fp, #-64]
	bl	drop_origin_blob
	b	.L1
.L7:
	ldr	r3, [fp, #-56]
	ldr	r1, [fp, #-88]
	add	r0, r3, #20
	bl	oidset_contains
	cmp	r0, #0
	bne	.L109
.L21:
	ldr	r3, .L114+16
	ldr	r2, [fp, #-104]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L110
.L28:
	ldr	r3, .L114+20
	ldr	r2, [fp, #-104]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L33
	ldr	r2, [fp, #-56]
	ldr	r3, [r2, #12]
	ldr	r2, [r2, #16]
	cmp	r3, r2
	bgt	.L111
	ldr	r3, [fp, #-64]
	ldr	r0, [r3]
	blt	.L112
.L38:
	cmp	r0, #0
	beq	.L33
	ldr	r10, [fp, #-56]
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-92]
	ldr	r2, [r10, #8]
	bl	first_scapegoat
	cmp	r0, #0
	ldr	r3, [fp, #-96]
	moveq	r3, #0
	cmp	r3, #0
	mov	r4, r0
	beq	.L33
	ldr	r3, [fp, #-80]
	sub	r8, fp, #52
	sub	r3, r3, #4
	mov	r6, r3
	str	r3, [fp, #-72]
	mov	r3, r8
	mov	r5, #0
	mov	r8, r7
	ldr	r9, [fp, #-64]
	mov	r7, r3
	b	.L39
.L113:
	ldr	r4, [r4, #4]
	add	r5, r5, #1
	cmp	r4, #0
	cmpne	r8, r5
	ble	.L101
.L39:
	ldr	r3, [fp, #-104]
	mov	r2, r7
	str	r3, [sp, #8]
	ldr	r1, [r6, #4]!
	mov	r3, r9
	str	r1, [sp, #4]
	ldr	r1, [r4]
	mov	r0, r10
	str	r1, [sp]
	sub	r1, fp, #44
	bl	find_copy_in_parent
	ldr	r3, [r9]
	cmp	r3, #0
	bne	.L113
.L101:
	mov	r7, r8
	b	.L14
.L33:
	mov	r2, #0
	ldr	r3, [fp, #-44]
	ldr	r0, [fp, #-56]
	str	r2, [r3]
	ldr	r1, [fp, #-48]
	bl	distribute_blame
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L40
	b	.L41
.L110:
	ldr	r10, [fp, #-56]
	ldr	r9, [fp, #-64]
	sub	r8, fp, #52
	ldr	r3, [r10, #16]
	mov	r1, r8
	mov	r2, r9
	mov	r0, r10
	bl	filter_small
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L28
	ldr	r2, [r10, #8]
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-92]
	bl	first_scapegoat
	cmp	r0, #0
	ldr	r3, [fp, #-96]
	moveq	r3, #0
	cmp	r3, #0
	mov	r4, r0
	beq	.L28
	mov	r5, #0
	ldr	r3, [fp, #-80]
	sub	r6, r3, #4
.L35:
	ldr	r1, [r6, #4]!
	cmp	r1, #0
	beq	.L36
	mov	r3, r9
	str	r1, [sp]
	mov	r2, r8
	mov	r0, r10
	sub	r1, fp, #44
	bl	find_move_in_parent
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L28
.L36:
	ldr	r4, [r4, #4]
	add	r5, r5, #1
	cmp	r4, #0
	cmpne	r7, r5
	bgt	.L35
	b	.L28
.L109:
	ldr	r10, [fp, #-56]
	ldr	r1, [fp, #-88]
	ldr	r2, [r10, #8]
	ldr	r0, [fp, #-92]
	bl	first_scapegoat
	cmp	r0, #0
	ldr	r3, [fp, #-96]
	moveq	r3, #0
	cmp	r3, #0
	mov	r4, r0
	beq	.L21
	ldr	r3, [fp, #-80]
	mov	r5, #0
	sub	r3, r3, #4
	mov	r6, r3
	ldr	r9, [fp, #-64]
	str	r3, [fp, #-72]
.L30:
	ldr	r8, [r6, #4]!
	cmp	r8, #0
	beq	.L31
	mov	r3, #1
	mov	r2, r8
	mov	r1, r9
	mov	r0, r10
	bl	pass_blame_to_parent
	mov	r0, r8
	bl	drop_origin_blob
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L14
.L31:
	ldr	r4, [r4, #4]
	add	r5, r5, #1
	cmp	r4, #0
	cmpne	r7, r5
	bgt	.L30
	b	.L21
.L111:
	ldr	r4, [fp, #-64]
	ldr	r0, [fp, #-56]
	mov	r2, r4
	sub	r1, fp, #52
	bl	filter_small
	ldr	r0, [r4]
	b	.L38
.L112:
	ldr	r1, [fp, #-52]
	bl	blame_merge
	mov	ip, #0
	ldr	r4, [fp, #-64]
	sub	r1, fp, #52
	str	r0, [r4]
	ldr	r0, [fp, #-56]
	mov	r2, r4
	ldr	r3, [r0, #12]
	str	ip, [fp, #-52]
	bl	filter_small
	ldr	r0, [r4]
	b	.L38
.L107:
	bl	__stack_chk_fail
.L115:
	.align	2
.L114:
	.word	MAXSG
	.word	.LC0
	.word	find_origin
	.word	find_rename
	.word	PICKAXE_BLAME_MOVE
	.word	PICKAXE_BLAME_COPY
	.size	pass_blame, .-pass_blame
	.comm	PICKAXE_BLAME_MOVE,4,4
	.comm	PICKAXE_BLAME_COPY,4,4
	.comm	MAXSG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
