	.file	"extr_cache.c_test_index_cache__write_extension_at_root.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"index-tree"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"45dd856fdd4d89b884c340ba0e047752d9b085d6"
	.text
	.p2align 4
	.globl	test_index_cache__write_extension_at_root
	.type	test_index_cache__write_extension_at_root, @function
test_index_cache__write_extension_at_root:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r12, 8[rsp]
	lea	rbp, 4[rsp]
	mov	rdi, r12
	call	git_index_open@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	edi, edi
	cmp	QWORD PTR [rax], 0
	sete	dil
	call	cl_assert@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	git_oid_fromstr@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR g_repo[rip]
	mov	rdx, rbp
	lea	rdi, 16[rsp]
	call	git_tree_lookup@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	git_index_read_tree@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_tree_free@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rax]
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	git_index_write@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	git_index_free@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	git_index_open@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rax]
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rdi]
	mov	r12d, DWORD PTR 8[rax]
	call	git_index_entrycount@PLT
	mov	edi, eax
	mov	esi, r12d
	call	cl_assert_equal_i@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	edi, edi
	mov	rax, QWORD PTR [rax]
	mov	esi, DWORD PTR 4[rax]
	call	cl_assert_equal_i@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	rsi, QWORD PTR [rax]
	call	git_oid_equal@PLT
	mov	rdi, rax
	call	cl_assert@PLT
	lea	rdi, .LC0[rip]
	call	p_unlink@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	git_index_free@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_index_cache__write_extension_at_root, .-test_index_cache__write_extension_at_root
	.comm	g_repo,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_cache.c_test_index_cache__write_extension_at_root.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"index-tree\000"
	.align	2
.LC1:
	.ascii	"45dd856fdd4d89b884c340ba0e047752d9b085d6\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_index_cache__write_extension_at_root
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_index_cache__write_extension_at_root, %function
test_index_cache__write_extension_at_root:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r3, .L6
	sub	sp, sp, #20
	ldr	r1, .L6+4
	mov	r0, sp
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	git_index_open
	bl	cl_git_pass
	ldr	r3, [sp]
	ldr	r0, [r3]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r1, .L6+8
	add	r0, sp, #8
	bl	git_oid_fromstr
	bl	cl_git_pass
	ldr	r3, .L6+12
	add	r2, sp, #8
	ldr	r1, [r3]
	add	r0, sp, #4
	bl	git_tree_lookup
	bl	cl_git_pass
	ldm	sp, {r0, r1}
	bl	git_index_read_tree
	bl	cl_git_pass
	ldr	r0, [sp, #4]
	bl	git_tree_free
	ldr	r3, [sp]
	ldr	r0, [r3]
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_index_write
	bl	cl_git_pass
	ldr	r0, [sp]
	bl	git_index_free
	ldr	r1, .L6+4
	mov	r0, sp
	bl	git_index_open
	bl	cl_git_pass
	ldr	r3, [sp]
	ldr	r0, [r3]
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_index_entrycount
	ldr	r3, [sp]
	ldr	r3, [r3]
	ldr	r1, [r3, #8]
	bl	cl_assert_equal_i
	ldr	r3, [sp]
	mov	r0, #0
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	bl	cl_assert_equal_i
	ldr	r3, [sp]
	add	r0, sp, #8
	ldr	r1, [r3]
	bl	git_oid_equal
	bl	cl_assert
	ldr	r0, .L6+4
	bl	p_unlink
	bl	cl_git_pass
	ldr	r0, [sp]
	bl	git_index_free
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	g_repo
	.size	test_index_cache__write_extension_at_root, .-test_index_cache__write_extension_at_root
	.comm	g_repo,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
