	.file	"extr_workdir.c_test_diff_workdir__can_update_index.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"status"
	.text
	.p2align 4
	.globl	test_diff_workdir__can_update_index
	.type	test_diff_workdir__can_update_index, @function
test_diff_workdir__can_update_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rdi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR GIT_DIFF_OPTIONS_INIT[rip]
	lea	rbp, 24[rsp]
	mov	QWORD PTR 16[rsp], 0
	lea	r14, 12[rsp]
	lea	r13, 16[rsp]
	mov	DWORD PTR 12[rsp], eax
	mov	rax, QWORD PTR GIT_DIFF_PERFDATA_INIT[rip]
	lea	r12, 32[rsp]
	mov	QWORD PTR 32[rsp], rax
	call	cl_git_sandbox_init@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	DWORD PTR g_repo[rip], eax
	mov	eax, DWORD PTR GIT_BUF_INIT[rip]
	mov	DWORD PTR 24[rsp], eax
	call	git_buf_sets@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	edx, DWORD PTR touch_file[rip]
	xor	ecx, ecx
	xor	esi, esi
	mov	rdi, rbp
	call	git_path_direach@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, rbp
	call	git_buf_dispose@PLT
	mov	eax, DWORD PTR 12[rsp]
	mov	rsi, r14
	mov	rdi, r13
	or	eax, DWORD PTR GIT_DIFF_INCLUDE_IGNORED[rip]
	or	eax, DWORD PTR GIT_DIFF_INCLUDE_UNTRACKED[rip]
	mov	DWORD PTR 12[rsp], eax
	call	basic_diff_status@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r12
	call	git_diff_get_perfdata@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR 36[rsp]
	mov	edi, 16
	call	cl_assert_equal_sz@PLT
	mov	esi, DWORD PTR 32[rsp]
	mov	edi, 5
	call	cl_assert_equal_sz@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_diff_free@PLT
	mov	esi, DWORD PTR g_repo[rip]
	mov	rdi, rbp
	mov	eax, DWORD PTR GIT_DIFF_UPDATE_INDEX[rip]
	or	DWORD PTR 12[rsp], eax
	call	git_repository_index__weakptr@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	tick_index@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	basic_diff_status@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r12
	call	git_diff_get_perfdata@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR 36[rsp]
	mov	edi, 16
	call	cl_assert_equal_sz@PLT
	mov	esi, DWORD PTR 32[rsp]
	mov	edi, 5
	call	cl_assert_equal_sz@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_diff_free@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	tick_index@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	basic_diff_status@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r12
	call	git_diff_get_perfdata@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR 36[rsp]
	mov	edi, 16
	call	cl_assert_equal_sz@PLT
	mov	esi, DWORD PTR 32[rsp]
	xor	edi, edi
	call	cl_assert_equal_sz@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_diff_free@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_diff_workdir__can_update_index, .-test_diff_workdir__can_update_index
	.comm	touch_file,4,4
	.comm	g_repo,4,4
	.comm	GIT_DIFF_UPDATE_INDEX,4,4
	.comm	GIT_DIFF_PERFDATA_INIT,8,8
	.comm	GIT_DIFF_OPTIONS_INIT,4,4
	.comm	GIT_DIFF_INCLUDE_UNTRACKED,4,4
	.comm	GIT_DIFF_INCLUDE_IGNORED,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
	.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_workdir.c_test_diff_workdir__can_update_index.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_workdir__can_update_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_diff_workdir__can_update_index, %function
test_diff_workdir__can_update_index:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, #0
	sub	sp, sp, #24
	ldr	r3, .L6
	add	r4, sp, #12
	ldr	r2, .L6+4
	ldm	r3, {r0, r1}
	stm	r4, {r0, r1}
	ldr	r2, [r2]
	ldr	r3, .L6+8
	ldr	r0, .L6+12
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	stm	sp, {r2, r5}
	bl	cl_git_sandbox_init
	mov	r2, r0
	ldr	r3, .L6+16
	ldr	r6, .L6+20
	ldr	r3, [r3]
	ldr	r1, .L6+12
	add	r0, sp, #8
	str	r2, [r6]
	str	r3, [sp, #8]
	bl	git_buf_sets
	bl	cl_git_pass
	ldr	r2, .L6+24
	mov	r3, r5
	mov	r1, r5
	ldr	r2, [r2]
	add	r0, sp, #8
	bl	git_path_direach
	bl	cl_git_pass
	add	r0, sp, #8
	bl	git_buf_dispose
	ldr	r2, .L6+28
	ldr	r3, .L6+32
	ldr	r1, [r2]
	ldr	r2, [sp]
	ldr	r3, [r3]
	orr	r2, r2, r1
	orr	r2, r2, r3
	mov	r1, sp
	add	r0, sp, #4
	str	r2, [sp]
	bl	basic_diff_status
	ldr	r1, [sp, #4]
	mov	r0, r4
	bl	git_diff_get_perfdata
	bl	cl_git_pass
	ldr	r1, [sp, #16]
	mov	r0, #16
	bl	cl_assert_equal_sz
	ldr	r1, [sp, #12]
	mov	r0, #5
	bl	cl_assert_equal_sz
	ldr	r0, [sp, #4]
	bl	git_diff_free
	ldr	r2, .L6+36
	ldr	r3, [sp]
	ldr	r2, [r2]
	ldr	r1, [r6]
	orr	r3, r3, r2
	add	r0, sp, #8
	str	r3, [sp]
	bl	git_repository_index__weakptr
	bl	cl_git_pass
	ldr	r0, [sp, #8]
	bl	tick_index
	mov	r1, sp
	add	r0, sp, #4
	bl	basic_diff_status
	ldr	r1, [sp, #4]
	mov	r0, r4
	bl	git_diff_get_perfdata
	bl	cl_git_pass
	ldr	r1, [sp, #16]
	mov	r0, #16
	bl	cl_assert_equal_sz
	ldr	r1, [sp, #12]
	mov	r0, #5
	bl	cl_assert_equal_sz
	ldr	r0, [sp, #4]
	bl	git_diff_free
	ldr	r0, [sp, #8]
	bl	tick_index
	mov	r1, sp
	add	r0, sp, #4
	bl	basic_diff_status
	ldr	r1, [sp, #4]
	mov	r0, r4
	bl	git_diff_get_perfdata
	bl	cl_git_pass
	ldr	r1, [sp, #16]
	mov	r0, #16
	bl	cl_assert_equal_sz
	ldr	r1, [sp, #12]
	mov	r0, r5
	bl	cl_assert_equal_sz
	ldr	r0, [sp, #4]
	bl	git_diff_free
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	GIT_DIFF_PERFDATA_INIT
	.word	GIT_DIFF_OPTIONS_INIT
	.word	.LC1
	.word	.LC0
	.word	GIT_BUF_INIT
	.word	g_repo
	.word	touch_file
	.word	GIT_DIFF_INCLUDE_IGNORED
	.word	GIT_DIFF_INCLUDE_UNTRACKED
	.word	GIT_DIFF_UPDATE_INDEX
	.size	test_diff_workdir__can_update_index, .-test_diff_workdir__can_update_index
	.comm	touch_file,4,4
	.comm	g_repo,4,4
	.comm	GIT_DIFF_UPDATE_INDEX,4,4
	.comm	GIT_DIFF_PERFDATA_INIT,8,4
	.comm	GIT_DIFF_OPTIONS_INIT,4,4
	.comm	GIT_DIFF_INCLUDE_UNTRACKED,4,4
	.comm	GIT_DIFF_INCLUDE_IGNORED,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
