	.file	"extr_rename.c_test_diff_rename__can_delete_unmodified_deltas.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"renames/songof7cities.txt"
.LC1:
	.string	"renames/untimely.txt"
.LC2:
	.string	"HEAD^{tree}"
.LC3:
	.string	"untimely.txt"
	.text
	.p2align 4
	.globl	test_diff_rename__can_delete_unmodified_deltas
	.type	test_diff_rename__can_delete_unmodified_deltas, @function
test_diff_rename__can_delete_unmodified_deltas:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 88
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR GIT_BUF_INIT[rip]
	lea	rbp, 12[rsp]
	lea	rbx, 48[rsp]
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR GIT_DIFF_OPTIONS_INIT[rip]
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR GIT_DIFF_FIND_OPTIONS_INIT[rip]
	mov	DWORD PTR 20[rsp], eax
	call	git_futils_readbuffer@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	xor	ecx, ecx
	xor	edx, edx
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	git_futils_writebuffer@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR g_repo[rip]
	lea	rdi, 32[rsp]
	lea	rdx, .LC2[rip]
	call	git_revparse_single@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR g_repo[rip]
	lea	rdi, 24[rsp]
	call	git_repository_index@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	call	git_index_read_tree@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 24[rsp]
	lea	rsi, .LC3[rip]
	call	git_index_add_bypath@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rcx, QWORD PTR 24[rsp]
	mov	rdx, QWORD PTR 32[rsp]
	lea	r8, 16[rsp]
	mov	esi, DWORD PTR g_repo[rip]
	mov	eax, DWORD PTR GIT_DIFF_INCLUDE_UNMODIFIED[rip]
	lea	rdi, 40[rsp]
	mov	DWORD PTR 16[rsp], eax
	call	git_diff_tree_to_index@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	xor	esi, esi
	mov	edx, 16
	mov	rdi, rbx
	call	memset@PLT
	mov	r8d, DWORD PTR diff_line_cb[rip]
	mov	rdi, QWORD PTR 40[rsp]
	mov	r9, rbx
	mov	ecx, DWORD PTR diff_hunk_cb[rip]
	mov	edx, DWORD PTR diff_binary_cb[rip]
	mov	esi, DWORD PTR diff_file_cb[rip]
	call	git_diff_foreach@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR 56[rsp]
	mov	edi, 4
	call	cl_assert_equal_i@PLT
	mov	rax, QWORD PTR 48[rsp]
	mov	edi, 1
	mov	rdx, QWORD PTR GIT_DELTA_MODIFIED[rip]
	mov	esi, DWORD PTR [rax+rdx*4]
	call	cl_assert_equal_i@PLT
	mov	rax, QWORD PTR 48[rsp]
	mov	edi, 3
	mov	rdx, QWORD PTR GIT_DELTA_UNMODIFIED[rip]
	mov	esi, DWORD PTR [rax+rdx*4]
	call	cl_assert_equal_i@PLT
	mov	rdi, QWORD PTR 40[rsp]
	lea	rsi, 20[rsp]
	mov	eax, DWORD PTR GIT_DIFF_FIND_ALL[rip]
	or	eax, DWORD PTR GIT_DIFF_FIND_REMOVE_UNMODIFIED[rip]
	mov	DWORD PTR 20[rsp], eax
	call	git_diff_find_similar@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	xor	esi, esi
	mov	edx, 16
	mov	rdi, rbx
	call	memset@PLT
	mov	r8d, DWORD PTR diff_line_cb[rip]
	mov	rdi, QWORD PTR 40[rsp]
	mov	r9, rbx
	mov	ecx, DWORD PTR diff_hunk_cb[rip]
	mov	edx, DWORD PTR diff_binary_cb[rip]
	mov	esi, DWORD PTR diff_file_cb[rip]
	call	git_diff_foreach@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR 56[rsp]
	mov	edi, 2
	call	cl_assert_equal_i@PLT
	mov	rax, QWORD PTR 48[rsp]
	mov	edi, 1
	mov	rdx, QWORD PTR GIT_DELTA_DELETED[rip]
	mov	esi, DWORD PTR [rax+rdx*4]
	call	cl_assert_equal_i@PLT
	mov	rax, QWORD PTR 48[rsp]
	mov	edi, 1
	mov	rdx, QWORD PTR GIT_DELTA_COPIED[rip]
	mov	esi, DWORD PTR [rax+rdx*4]
	call	cl_assert_equal_i@PLT
	mov	rdi, QWORD PTR 40[rsp]
	call	git_diff_free@PLT
	mov	rdi, QWORD PTR 32[rsp]
	call	git_tree_free@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_index_free@PLT
	mov	rdi, rbp
	call	git_buf_dispose@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_diff_rename__can_delete_unmodified_deltas, .-test_diff_rename__can_delete_unmodified_deltas
	.comm	g_repo,4,4
	.comm	diff_line_cb,4,4
	.comm	diff_hunk_cb,4,4
	.comm	diff_file_cb,4,4
	.comm	diff_binary_cb,4,4
	.comm	GIT_DIFF_OPTIONS_INIT,4,4
	.comm	GIT_DIFF_INCLUDE_UNMODIFIED,4,4
	.comm	GIT_DIFF_FIND_REMOVE_UNMODIFIED,4,4
	.comm	GIT_DIFF_FIND_OPTIONS_INIT,4,4
	.comm	GIT_DIFF_FIND_ALL,4,4
	.comm	GIT_DELTA_UNMODIFIED,8,8
	.comm	GIT_DELTA_MODIFIED,8,8
	.comm	GIT_DELTA_DELETED,8,8
	.comm	GIT_DELTA_COPIED,8,8
	.comm	GIT_BUF_INIT,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_rename.c_test_diff_rename__can_delete_unmodified_deltas.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"renames/songof7cities.txt\000"
	.align	2
.LC1:
	.ascii	"renames/untimely.txt\000"
	.align	2
.LC2:
	.ascii	"HEAD^{tree}\000"
	.align	2
.LC3:
	.ascii	"untimely.txt\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_diff_rename__can_delete_unmodified_deltas
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_diff_rename__can_delete_unmodified_deltas, %function
test_diff_rename__can_delete_unmodified_deltas:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r1, .L6
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	sub	sp, sp, #52
	ldr	lr, .L6+12
	ldr	ip, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, .L6+16
	add	r0, sp, #12
	ldr	lr, [lr]
	str	lr, [sp, #44]
	mov	lr,#0
	str	ip, [sp, #12]
	str	r2, [sp, #28]
	str	r3, [sp, #32]
	bl	git_futils_readbuffer
	bl	cl_git_pass
	mov	r3, #0
	mov	r5, r3
	mov	r2, r3
	ldr	r4, .L6+20
	ldr	r1, .L6+24
	add	r0, sp, #12
	bl	git_futils_writebuffer
	bl	cl_git_pass
	ldr	r2, .L6+28
	ldr	r1, [r4]
	add	r0, sp, #20
	bl	git_revparse_single
	bl	cl_git_pass
	ldr	r1, [r4]
	add	r0, sp, #16
	bl	git_repository_index
	bl	cl_git_pass
	ldr	r1, [sp, #20]
	ldr	r0, [sp, #16]
	bl	git_index_read_tree
	bl	cl_git_pass
	ldr	r1, .L6+32
	ldr	r0, [sp, #16]
	bl	git_index_add_bypath
	bl	cl_git_pass
	ldr	r2, .L6+36
	add	r3, sp, #28
	ldr	ip, [r2]
	ldr	r1, [r4]
	ldr	r2, [sp, #20]
	ldr	r9, .L6+40
	str	r3, [sp]
	add	r0, sp, #24
	ldr	r3, [sp, #16]
	str	ip, [sp, #28]
	bl	git_diff_tree_to_index
	bl	cl_git_pass
	ldr	r8, .L6+44
	ldr	r3, [r9]
	ldr	r7, .L6+48
	ldr	r6, .L6+52
	add	r4, sp, #36
	ldr	r2, [r7]
	ldr	r1, [r6]
	stm	sp, {r3, r4}
	ldr	r0, [sp, #24]
	ldr	r3, [r8]
	str	r5, [sp, #36]
	str	r5, [sp, #40]
	bl	git_diff_foreach
	bl	cl_git_pass
	ldr	r1, [sp, #40]
	mov	r0, #4
	bl	cl_assert_equal_i
	ldr	r2, .L6+56
	ldr	r3, [sp, #36]
	ldr	r2, [r2]
	mov	r0, #1
	ldr	r1, [r3, r2, lsl #2]
	bl	cl_assert_equal_i
	ldr	r2, .L6+60
	ldr	r3, [sp, #36]
	ldr	r2, [r2]
	mov	r0, #3
	ldr	r1, [r3, r2, lsl #2]
	bl	cl_assert_equal_i
	ldr	r3, .L6+64
	ldr	r2, .L6+68
	ldr	r3, [r3]
	ldr	r2, [r2]
	add	r1, sp, #32
	orr	r3, r3, r2
	ldr	r0, [sp, #24]
	str	r3, [sp, #32]
	bl	git_diff_find_similar
	bl	cl_git_pass
	ldr	r3, [r9]
	ldr	r2, [r7]
	stm	sp, {r3, r4}
	ldr	r1, [r6]
	ldr	r3, [r8]
	str	r5, [sp, #36]
	ldr	r0, [sp, #24]
	str	r5, [r4, #4]
	bl	git_diff_foreach
	bl	cl_git_pass
	ldr	r1, [sp, #40]
	mov	r0, #2
	bl	cl_assert_equal_i
	ldr	r2, .L6+72
	ldr	r3, [sp, #36]
	ldr	r2, [r2]
	mov	r0, #1
	ldr	r1, [r3, r2, lsl #2]
	bl	cl_assert_equal_i
	ldr	r2, .L6+76
	ldr	r3, [sp, #36]
	ldr	r2, [r2]
	mov	r0, #1
	ldr	r1, [r3, r2, lsl #2]
	bl	cl_assert_equal_i
	ldr	r0, [sp, #24]
	bl	git_diff_free
	ldr	r0, [sp, #20]
	bl	git_tree_free
	ldr	r0, [sp, #16]
	bl	git_index_free
	add	r0, sp, #12
	bl	git_buf_dispose
	ldr	r3, .L6+12
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	GIT_BUF_INIT
	.word	GIT_DIFF_OPTIONS_INIT
	.word	GIT_DIFF_FIND_OPTIONS_INIT
	.word	.LC4
	.word	.LC0
	.word	g_repo
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	GIT_DIFF_INCLUDE_UNMODIFIED
	.word	diff_line_cb
	.word	diff_hunk_cb
	.word	diff_binary_cb
	.word	diff_file_cb
	.word	GIT_DELTA_MODIFIED
	.word	GIT_DELTA_UNMODIFIED
	.word	GIT_DIFF_FIND_ALL
	.word	GIT_DIFF_FIND_REMOVE_UNMODIFIED
	.word	GIT_DELTA_DELETED
	.word	GIT_DELTA_COPIED
	.size	test_diff_rename__can_delete_unmodified_deltas, .-test_diff_rename__can_delete_unmodified_deltas
	.comm	g_repo,4,4
	.comm	diff_line_cb,4,4
	.comm	diff_hunk_cb,4,4
	.comm	diff_file_cb,4,4
	.comm	diff_binary_cb,4,4
	.comm	GIT_DIFF_OPTIONS_INIT,4,4
	.comm	GIT_DIFF_INCLUDE_UNMODIFIED,4,4
	.comm	GIT_DIFF_FIND_REMOVE_UNMODIFIED,4,4
	.comm	GIT_DIFF_FIND_OPTIONS_INIT,4,4
	.comm	GIT_DIFF_FIND_ALL,4,4
	.comm	GIT_DELTA_UNMODIFIED,4,4
	.comm	GIT_DELTA_MODIFIED,4,4
	.comm	GIT_DELTA_DELETED,4,4
	.comm	GIT_DELTA_COPIED,4,4
	.comm	GIT_BUF_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
