	.file	"extr_submodule--helper.c_module_update_module_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"submodule--helper update-module-clone expects <just-cloned> <path> [<update>]"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"just_cloned"
	.text
	.p2align 4
	.type	module_update_module_mode, @function
module_update_module_mode:
.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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR SM_UPDATE_CHECKOUT[rip]
	mov	DWORD PTR 4[rsp], eax
	lea	eax, -3[rdi]
	cmp	eax, 1
	ja	.L8
	mov	rsi, QWORD PTR 8[rsi]
	mov	ebp, edi
	lea	rdi, .LC1[rip]
	call	git_config_int@PLT
	mov	rdx, QWORD PTR 16[rbx]
	xor	ecx, ecx
	mov	esi, eax
	cmp	ebp, 4
	jne	.L3
	mov	rcx, QWORD PTR 24[rbx]
.L3:
	mov	edi, DWORD PTR the_repository[rip]
	lea	rbp, 4[rsp]
	mov	r8, rbp
	call	determine_submodule_update_strategy@PLT
	mov	r12d, DWORD PTR stdout[rip]
	mov	rdi, rbp
	call	submodule_strategy_to_string@PLT
	mov	edi, eax
	mov	esi, r12d
	call	fputs@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	die@PLT
	mov	rsi, QWORD PTR 8[rbx]
	lea	rdi, .LC1[rip]
	call	git_config_int@PLT
	mov	rdx, QWORD PTR 16[rbx]
	xor	ecx, ecx
	mov	esi, eax
	jmp	.L3
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	module_update_module_mode, .-module_update_module_mode
	.comm	the_repository,4,4
	.comm	stdout,4,4
	.comm	SM_UPDATE_CHECKOUT,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--helper.c_module_update_module_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"submodule--helper update-module-clone expects <just"
	.ascii	"-cloned> <path> [<update>]\000"
	.align	2
.LC1:
	.ascii	"just_cloned\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	module_update_module_mode, %function
module_update_module_mode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L10
	sub	r2, r0, #3
	ldr	r3, [r3]
	cmp	r2, #1
	ldr	r2, .L10+4
	sub	sp, sp, #20
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	mov	r4, r1
	str	r3, [sp, #8]
	bhi	.L8
	mov	r5, r0
	ldr	r1, [r1, #4]
	ldr	r0, .L10+8
	bl	git_config_int
	cmp	r5, #4
	mov	r1, r0
	movne	r3, #0
	ldr	r2, [r4, #8]
	ldreq	r3, [r4, #12]
.L3:
	ldr	r0, .L10+12
	add	r4, sp, #8
	ldr	r0, [r0]
	str	r4, [sp]
	bl	determine_submodule_update_strategy
	mov	r0, r4
	bl	submodule_strategy_to_string
	ldr	r3, .L10+16
	ldr	r1, [r3]
	bl	fputs
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	ldr	r0, .L10+20
	bl	die
	ldr	r1, [r4, #4]
	ldr	r0, .L10+8
	bl	git_config_int
	mov	r3, #0
	mov	r1, r0
	ldr	r2, [r4, #8]
	b	.L3
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	SM_UPDATE_CHECKOUT
	.word	.LC2
	.word	.LC1
	.word	the_repository
	.word	stdout
	.word	.LC0
	.size	module_update_module_mode, .-module_update_module_mode
	.comm	the_repository,4,4
	.comm	stdout,4,4
	.comm	SM_UPDATE_CHECKOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
