	.file	"extr_update.c_test_submodule_update__update_already_checked_out_submodule.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"testrepo"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"be3563ae3f795b2b4353bcce3a527ad0a4f7f644"
	.section	.rodata.str1.1
.LC2:
	.string	"refs/heads/alternate_1"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"a65fedf39aefe402d3bb6e24df4d4f5fe4547750"
	.text
	.p2align 4
	.globl	test_submodule_update__update_already_checked_out_submodule
	.type	test_submodule_update__update_already_checked_out_submodule, @function
test_submodule_update__update_already_checked_out_submodule:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	movdqu	xmm0, XMMWORD PTR GIT_SUBMODULE_UPDATE_OPTIONS_INIT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR GIT_CHECKOUT_OPTIONS_INIT[rip]
	lea	rbp, 16[rsp]
	mov	QWORD PTR 16[rsp], 0
	movaps	XMMWORD PTR 48[rsp], xmm0
	lea	r13, 12[rsp]
	lea	r12, 48[rsp]
	mov	DWORD PTR 8[rsp], eax
	xor	eax, eax
	mov	DWORD PTR 12[rsp], 0
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	mov	QWORD PTR 40[rsp], 0
	call	setup_fixture_submodule_simple@PLT
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	mov	esi, eax
	mov	DWORD PTR g_repo[rip], eax
	mov	eax, DWORD PTR checkout_progress_cb[rip]
	mov	DWORD PTR 56[rsp], eax
	lea	rax, 40[rsp]
	mov	QWORD PTR 48[rsp], rax
	call	git_submodule_lookup@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	ecx, DWORD PTR GIT_SUBMODULE_IGNORE_UNSPECIFIED[rip]
	mov	esi, DWORD PTR g_repo[rip]
	mov	rdi, r13
	lea	rdx, .LC0[rip]
	call	git_submodule_status@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR GIT_SUBMODULE_STATUS_IN_HEAD[rip]
	or	esi, DWORD PTR GIT_SUBMODULE_STATUS_IN_INDEX[rip]
	or	esi, DWORD PTR GIT_SUBMODULE_STATUS_IN_CONFIG[rip]
	or	esi, DWORD PTR GIT_SUBMODULE_STATUS_WD_UNINITIALIZED[rip]
	call	cl_assert_equal_i@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r12
	mov	esi, 1
	call	git_submodule_update@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_head_id@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_wd_id@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_index_id@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	esi, DWORD PTR g_repo[rip]
	mov	eax, DWORD PTR GIT_CHECKOUT_SAFE[rip]
	lea	rdx, .LC2[rip]
	lea	rdi, 24[rsp]
	mov	DWORD PTR 8[rsp], eax
	call	git_reference_lookup@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	edx, DWORD PTR GIT_OBJECT_COMMIT[rip]
	mov	rsi, QWORD PTR 24[rsp]
	lea	rdi, 32[rsp]
	call	git_reference_peel@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rsi, QWORD PTR 32[rsp]
	mov	edi, DWORD PTR g_repo[rip]
	lea	rdx, 8[rsp]
	call	git_checkout_tree@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_reference_name@PLT
	mov	edi, DWORD PTR g_repo[rip]
	mov	esi, eax
	call	git_repository_set_head@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	ecx, DWORD PTR GIT_SUBMODULE_IGNORE_UNSPECIFIED[rip]
	mov	esi, DWORD PTR g_repo[rip]
	mov	rdi, r13
	lea	rdx, .LC0[rip]
	call	git_submodule_status@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_free@PLT
	mov	esi, DWORD PTR g_repo[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	git_submodule_lookup@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR GIT_SUBMODULE_STATUS_IN_HEAD[rip]
	or	esi, DWORD PTR GIT_SUBMODULE_STATUS_IN_INDEX[rip]
	or	esi, DWORD PTR GIT_SUBMODULE_STATUS_IN_CONFIG[rip]
	or	esi, DWORD PTR GIT_SUBMODULE_STATUS_IN_WD[rip]
	or	esi, DWORD PTR GIT_SUBMODULE_STATUS_WD_MODIFIED[rip]
	call	cl_assert_equal_i@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_head_id@PLT
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_wd_id@PLT
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_index_id@PLT
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r12
	xor	esi, esi
	call	git_submodule_update@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_head_id@PLT
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_wd_id@PLT
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_index_id@PLT
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	esi, DWORD PTR 40[rsp]
	mov	edi, 1
	call	cl_assert_equal_i@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_submodule_free@PLT
	mov	rdi, QWORD PTR 32[rsp]
	call	git_object_free@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_reference_free@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 80
	.cfi_remember_state
	.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
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_submodule_update__update_already_checked_out_submodule, .-test_submodule_update__update_already_checked_out_submodule
	.comm	g_repo,4,4
	.comm	checkout_progress_cb,4,4
	.comm	GIT_SUBMODULE_UPDATE_OPTIONS_INIT,16,16
	.comm	GIT_SUBMODULE_STATUS_WD_UNINITIALIZED,4,4
	.comm	GIT_SUBMODULE_STATUS_WD_MODIFIED,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_WD,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_INDEX,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_HEAD,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_CONFIG,4,4
	.comm	GIT_SUBMODULE_IGNORE_UNSPECIFIED,4,4
	.comm	GIT_OBJECT_COMMIT,4,4
	.comm	GIT_CHECKOUT_SAFE,4,4
	.comm	GIT_CHECKOUT_OPTIONS_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_update.c_test_submodule_update__update_already_checked_out_submodule.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"testrepo\000"
	.align	2
.LC1:
	.ascii	"be3563ae3f795b2b4353bcce3a527ad0a4f7f644\000"
	.align	2
.LC2:
	.ascii	"refs/heads/alternate_1\000"
	.align	2
.LC3:
	.ascii	"a65fedf39aefe402d3bb6e24df4d4f5fe4547750\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_submodule_update__update_already_checked_out_submodule
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_submodule_update__update_already_checked_out_submodule, %function
test_submodule_update__update_already_checked_out_submodule:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	ldr	r2, .L6
	sub	sp, sp, #44
	ldr	r3, .L6+4
	ldr	r2, [r2]
	ldr	r1, .L6+8
	add	r6, sp, #20
	ldr	r1, [r1]
	str	r1, [sp, #36]
	mov	r1,#0
	ldm	r3, {r0, r1}
	str	r2, [sp, #4]
	stm	r6, {r0, r1}
	str	r4, [sp]
	str	r4, [sp, #8]
	str	r4, [sp, #12]
	str	r4, [sp, #16]
	str	r4, [sp, #28]
	str	r4, [sp, #32]
	bl	setup_fixture_submodule_simple
	mov	r1, r0
	ldr	r3, .L6+12
	ldr	r5, .L6+16
	ldr	r3, [r3]
	ldr	r2, .L6+20
	ldr	r10, .L6+24
	add	r7, sp, #28
	mov	r0, sp
	str	r1, [r5]
	str	r3, [sp, #24]
	str	r7, [sp, #20]
	bl	git_submodule_lookup
	bl	cl_git_pass
	ldr	r9, .L6+28
	ldr	r1, [r5]
	ldr	r3, [r10]
	ldr	r2, .L6+20
	ldr	r8, .L6+32
	add	r0, sp, #8
	bl	git_submodule_status
	ldr	r7, .L6+36
	bl	cl_git_pass
	ldr	r1, [r8]
	ldr	r3, [r9]
	ldr	r0, .L6+40
	ldr	r2, [r7]
	orr	r3, r3, r1
	ldr	r1, [r0]
	orr	r3, r3, r2
	orr	r1, r3, r1
	ldr	r0, [sp, #8]
	bl	cl_assert_equal_i
	mov	r2, r6
	mov	r1, #1
	ldr	r0, [sp]
	bl	git_submodule_update
	bl	cl_git_pass
	ldr	r0, [sp]
	bl	git_submodule_head_id
	ldr	r1, .L6+44
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_submodule_wd_id
	ldr	r1, .L6+44
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_submodule_index_id
	ldr	r1, .L6+44
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r3, .L6+48
	ldr	r1, [r5]
	ldr	r3, [r3]
	ldr	r2, .L6+52
	add	r0, sp, #12
	str	r3, [sp, #4]
	bl	git_reference_lookup
	bl	cl_git_pass
	ldr	r3, .L6+56
	ldr	r1, [sp, #12]
	ldr	r2, [r3]
	add	r0, sp, #16
	bl	git_reference_peel
	bl	cl_git_pass
	add	r2, sp, #4
	ldr	r1, [sp, #16]
	ldr	r0, [r5]
	bl	git_checkout_tree
	bl	cl_git_pass
	ldr	r0, [sp, #12]
	ldr	fp, [r5]
	bl	git_reference_name
	mov	r1, r0
	mov	r0, fp
	bl	git_repository_set_head
	bl	cl_git_pass
	ldr	r3, [r10]
	ldr	r1, [r5]
	ldr	r2, .L6+20
	add	r0, sp, #8
	bl	git_submodule_status
	bl	cl_git_pass
	ldr	r0, [sp]
	bl	git_submodule_free
	ldr	r1, [r5]
	ldr	r2, .L6+20
	mov	r0, sp
	bl	git_submodule_lookup
	bl	cl_git_pass
	ldr	ip, [r8]
	ldr	r3, [r9]
	ldr	r2, .L6+60
	ldr	r1, [r7]
	ldr	r0, .L6+64
	orr	r3, r3, ip
	ldr	r2, [r2]
	orr	r3, r3, r1
	ldr	r1, [r0]
	orr	r3, r3, r2
	orr	r1, r3, r1
	ldr	r0, [sp, #8]
	bl	cl_assert_equal_i
	ldr	r0, [sp]
	bl	git_submodule_head_id
	ldr	r1, .L6+68
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_submodule_wd_id
	ldr	r1, .L6+44
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_submodule_index_id
	ldr	r1, .L6+68
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	mov	r2, r6
	mov	r1, r4
	ldr	r0, [sp]
	bl	git_submodule_update
	bl	cl_git_pass
	ldr	r0, [sp]
	bl	git_submodule_head_id
	ldr	r1, .L6+68
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_submodule_wd_id
	ldr	r1, .L6+68
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r0, [sp]
	bl	git_submodule_index_id
	ldr	r1, .L6+68
	bl	git_oid_streq
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r1, [sp, #28]
	mov	r0, #1
	bl	cl_assert_equal_i
	ldr	r0, [sp]
	bl	git_submodule_free
	ldr	r0, [sp, #16]
	bl	git_object_free
	ldr	r0, [sp, #12]
	bl	git_reference_free
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	GIT_CHECKOUT_OPTIONS_INIT
	.word	GIT_SUBMODULE_UPDATE_OPTIONS_INIT
	.word	.LC4
	.word	checkout_progress_cb
	.word	g_repo
	.word	.LC0
	.word	GIT_SUBMODULE_IGNORE_UNSPECIFIED
	.word	GIT_SUBMODULE_STATUS_IN_HEAD
	.word	GIT_SUBMODULE_STATUS_IN_INDEX
	.word	GIT_SUBMODULE_STATUS_IN_CONFIG
	.word	GIT_SUBMODULE_STATUS_WD_UNINITIALIZED
	.word	.LC1
	.word	GIT_CHECKOUT_SAFE
	.word	.LC2
	.word	GIT_OBJECT_COMMIT
	.word	GIT_SUBMODULE_STATUS_IN_WD
	.word	GIT_SUBMODULE_STATUS_WD_MODIFIED
	.word	.LC3
	.size	test_submodule_update__update_already_checked_out_submodule, .-test_submodule_update__update_already_checked_out_submodule
	.comm	g_repo,4,4
	.comm	checkout_progress_cb,4,4
	.comm	GIT_SUBMODULE_UPDATE_OPTIONS_INIT,8,4
	.comm	GIT_SUBMODULE_STATUS_WD_UNINITIALIZED,4,4
	.comm	GIT_SUBMODULE_STATUS_WD_MODIFIED,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_WD,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_INDEX,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_HEAD,4,4
	.comm	GIT_SUBMODULE_STATUS_IN_CONFIG,4,4
	.comm	GIT_SUBMODULE_IGNORE_UNSPECIFIED,4,4
	.comm	GIT_OBJECT_COMMIT,4,4
	.comm	GIT_CHECKOUT_SAFE,4,4
	.comm	GIT_CHECKOUT_OPTIONS_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
