	.file	"extr_submodule.c_submodule_update_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	submodule_update_index, @function
submodule_update_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rdi, rsp
	call	git_repository_index__weakptr@PLT
	test	rax, rax
	js	.L4
	mov	eax, DWORD PTR GIT_SUBMODULE_STATUS_IN_INDEX[rip]
	mov	esi, DWORD PTR 4[rbp]
	xor	edx, edx
	xor	r12d, r12d
	or	eax, DWORD PTR GIT_SUBMODULE_STATUS__INDEX_OID_VALID[rip]
	mov	rdi, QWORD PTR [rsp]
	not	eax
	and	DWORD PTR 0[rbp], eax
	call	git_index_get_bypath@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	submodule_update_from_index_entry@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r12d, -1
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	submodule_update_index, .-submodule_update_index
	.comm	GIT_SUBMODULE_STATUS__INDEX_OID_VALID,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_INDEX,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_submodule.c_submodule_update_index.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	submodule_update_index, %function
submodule_update_index:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	sub	sp, sp, #8
	ldr	r3, .L9
	mov	r0, sp
	ldr	r1, [r4, #8]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	git_repository_index__weakptr
	cmp	r0, #0
	blt	.L4
	ldr	r3, .L9+4
	ldr	r2, .L9+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, [r4]
	orr	r2, r2, r1
	bic	r3, r3, r2
	ldr	r1, [r4, #4]
	mov	r2, #0
	ldr	r0, [sp]
	str	r3, [r4]
	bl	git_index_get_bypath
	subs	r1, r0, #0
	moveq	r0, r1
	beq	.L1
	mov	r0, r4
	bl	submodule_update_from_index_entry
	mov	r0, #0
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L4:
	mvn	r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	GIT_SUBMODULE_STATUS__INDEX_OID_VALID
	.word	GIT_SUBMODULE_STATUS_IN_INDEX
	.size	submodule_update_index, .-submodule_update_index
	.comm	GIT_SUBMODULE_STATUS__INDEX_OID_VALID,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_INDEX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
