	.file	"extr_diffiter.c_test_diff_diffiter__iterate_and_generate_patch_text.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"status"
	.text
	.p2align 4
	.globl	test_diff_diffiter__iterate_and_generate_patch_text
	.type	test_diff_diffiter__iterate_and_generate_patch_text, @function
test_diff_diffiter__iterate_and_generate_patch_text:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rdi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	cl_git_sandbox_init@PLT
	xor	ecx, ecx
	xor	edx, edx
	lea	rdi, 8[rsp]
	mov	rsi, rax
	call	git_diff_index_to_workdir@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	git_diff_num_deltas@PLT
	mov	edi, 8
	mov	r12, rax
	mov	esi, eax
	call	cl_assert_equal_i@PLT
	test	r12, r12
	je	.L2
	xor	ebx, ebx
	lea	r13, 16[rsp]
	lea	rbp, 4[rsp]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR GIT_BUF_INIT[rip]
	mov	rdx, rbx
	mov	rdi, r13
	mov	DWORD PTR 4[rsp], eax
	call	git_patch_from_diff@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], 0
	setne	dil
	call	cl_assert@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, rbp
	call	git_patch_to_buf@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rax, QWORD PTR expected_patch_text[rip]
	mov	esi, DWORD PTR 4[rsp]
	mov	edi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	call	cl_assert_equal_s@PLT
	mov	rdi, rbp
	call	git_buf_dispose@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_patch_free@PLT
	cmp	r12, rbx
	jne	.L3
.L2:
	mov	rdi, QWORD PTR 8[rsp]
	call	git_diff_free@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_diff_diffiter__iterate_and_generate_patch_text, .-test_diff_diffiter__iterate_and_generate_patch_text
	.comm	expected_patch_text,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_diffiter.c_test_diff_diffiter__iterate_and_generate_patch_text.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"status\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_diff_diffiter__iterate_and_generate_patch_text
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_diff_diffiter__iterate_and_generate_patch_text, %function
test_diff_diffiter__iterate_and_generate_patch_text:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L12
	sub	sp, sp, #20
	ldr	r0, .L12+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	cl_git_sandbox_init
	mov	r3, #0
	mov	r1, r0
	mov	r2, r3
	mov	r0, sp
	bl	git_diff_index_to_workdir
	bl	cl_git_pass
	ldr	r0, [sp]
	bl	git_diff_num_deltas
	mov	r5, r0
	mov	r0, #8
	mov	r1, r5
	bl	cl_assert_equal_i
	cmp	r5, #0
	beq	.L2
	mov	r4, #0
	ldr	r7, .L12+8
	ldr	r6, .L12+12
.L3:
	ldr	r3, [r7]
	mov	r2, r4
	ldr	r1, [sp]
	add	r0, sp, #4
	str	r3, [sp, #8]
	bl	git_patch_from_diff
	bl	cl_git_pass
	ldr	r0, [sp, #4]
	subs	r0, r0, #0
	movne	r0, #1
	bl	cl_assert
	ldr	r1, [sp, #4]
	add	r0, sp, #8
	bl	git_patch_to_buf
	bl	cl_git_pass
	ldr	r3, [r6]
	ldr	r1, [sp, #8]
	ldr	r0, [r3, r4, lsl #2]
	bl	cl_assert_equal_s
	add	r0, sp, #8
	bl	git_buf_dispose
	add	r4, r4, #1
	ldr	r0, [sp, #4]
	bl	git_patch_free
	cmp	r5, r4
	bne	.L3
.L2:
	ldr	r0, [sp]
	bl	git_diff_free
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.word	GIT_BUF_INIT
	.word	expected_patch_text
	.size	test_diff_diffiter__iterate_and_generate_patch_text, .-test_diff_diffiter__iterate_and_generate_patch_text
	.comm	expected_patch_text,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
