	.file	"extr_reader.c_git_reader_for_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	git_reader_for_index
	.type	git_reader_for_index, @function
git_reader_for_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	setne	al
	xor	edi, edi
	test	rsi, rsi
	setne	dil
	and	edi, eax
	call	assert@PLT
	mov	esi, 24
	mov	edi, 1
	call	git__calloc@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	GIT_ERROR_CHECK_ALLOC@PLT
	mov	eax, DWORD PTR index_reader_read[rip]
	mov	QWORD PTR 8[rbp], r12
	mov	DWORD PTR 16[rbp], eax
	test	r13, r13
	je	.L2
	mov	QWORD PTR 0[rbp], r13
.L3:
	mov	QWORD PTR [rbx], rbp
	xor	r12d, r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, r12
	mov	rdi, rbp
	call	git_repository_index__weakptr@PLT
	mov	r12d, eax
	test	eax, eax
	jns	.L3
	mov	rdi, rbp
	call	git__free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	git_reader_for_index, .-git_reader_for_index
	.comm	index_reader_read,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_reader.c_git_reader_for_index.c"
	.text
	.align	2
	.global	git_reader_for_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_reader_for_index, %function
git_reader_for_index:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	subs	r0, r1, #0
	movne	r0, #1
	cmp	r7, #0
	moveq	r0, #0
	mov	r6, r2
	mov	r5, r1
	bl	assert
	mov	r1, #12
	mov	r0, #1
	bl	git__calloc
	mov	r4, r0
	bl	GIT_ERROR_CHECK_ALLOC
	ldr	r3, .L8
	cmp	r6, #0
	ldr	r3, [r3]
	str	r5, [r4, #4]
	str	r3, [r4, #8]
	strne	r6, [r4]
	beq	.L7
.L3:
	mov	r5, #0
	str	r4, [r7]
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r1, r5
	mov	r0, r4
	bl	git_repository_index__weakptr
	subs	r5, r0, #0
	bge	.L3
	mov	r0, r4
	bl	git__free
	b	.L1
.L9:
	.align	2
.L8:
	.word	index_reader_read
	.size	git_reader_for_index, .-git_reader_for_index
	.comm	index_reader_read,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
