	.file	"extr_soft.c_test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn
	.type	test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn, @function
test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rdi, target[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR KNOWN_COMMIT_IN_BARE_REPO[rip]
	mov	esi, DWORD PTR repo[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	git_revparse_single@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	esi, DWORD PTR NON_EXISTING_HEAD[rip]
	mov	edi, DWORD PTR repo[rip]
	call	make_head_unborn@PLT
	mov	edi, DWORD PTR repo[rip]
	call	git_repository_head_unborn@PLT
	mov	edi, 1
	mov	esi, eax
	call	cl_assert_equal_i@PLT
	mov	edx, DWORD PTR GIT_RESET_SOFT[rip]
	mov	esi, DWORD PTR target[rip]
	xor	ecx, ecx
	mov	edi, DWORD PTR repo[rip]
	call	git_reset@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	edi, DWORD PTR repo[rip]
	call	git_repository_head_unborn@PLT
	xor	edi, edi
	mov	esi, eax
	call	cl_assert_equal_i@PLT
	mov	edx, DWORD PTR NON_EXISTING_HEAD[rip]
	mov	esi, DWORD PTR repo[rip]
	mov	rdi, rsp
	call	git_reference_lookup@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR [rsp]
	mov	ebp, DWORD PTR KNOWN_COMMIT_IN_BARE_REPO[rip]
	call	git_reference_target@PLT
	mov	esi, ebp
	mov	edi, eax
	call	git_oid_streq@PLT
	xor	edi, edi
	mov	esi, eax
	call	cl_assert_equal_i@PLT
	mov	rdi, QWORD PTR [rsp]
	call	git_reference_free@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn, .-test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn
	.comm	target,4,4
	.comm	repo,4,4
	.comm	NON_EXISTING_HEAD,4,4
	.comm	KNOWN_COMMIT_IN_BARE_REPO,4,4
	.comm	GIT_RESET_SOFT,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_soft.c_test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn, %function
test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r4, .L6
	ldr	r5, .L6+4
	ldr	r7, .L6+8
	ldr	r3, .L6+12
	sub	sp, sp, #12
	ldr	r2, [r5]
	ldr	r1, [r4]
	ldr	r6, .L6+16
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	git_revparse_single
	bl	cl_git_pass
	ldr	r1, [r6]
	ldr	r0, [r4]
	bl	make_head_unborn
	ldr	r0, [r4]
	bl	git_repository_head_unborn
	mov	r1, r0
	mov	r0, #1
	bl	cl_assert_equal_i
	ldr	r3, .L6+20
	ldr	r1, [r7]
	ldr	r2, [r3]
	ldr	r0, [r4]
	mov	r3, #0
	bl	git_reset
	bl	cl_git_pass
	ldr	r0, [r4]
	bl	git_repository_head_unborn
	mov	r1, r0
	mov	r0, #0
	bl	cl_assert_equal_i
	ldr	r2, [r6]
	ldr	r1, [r4]
	mov	r0, sp
	bl	git_reference_lookup
	bl	cl_git_pass
	ldr	r0, [sp]
	bl	git_reference_target
	ldr	r1, [r5]
	bl	git_oid_streq
	mov	r1, r0
	mov	r0, #0
	bl	cl_assert_equal_i
	ldr	r0, [sp]
	bl	git_reference_free
	ldr	r3, .L6+12
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	repo
	.word	KNOWN_COMMIT_IN_BARE_REPO
	.word	target
	.word	.LC0
	.word	NON_EXISTING_HEAD
	.word	GIT_RESET_SOFT
	.size	test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn, .-test_reset_soft__resetting_against_an_unborn_head_repo_makes_the_head_no_longer_unborn
	.comm	target,4,4
	.comm	repo,4,4
	.comm	NON_EXISTING_HEAD,4,4
	.comm	KNOWN_COMMIT_IN_BARE_REPO,4,4
	.comm	GIT_RESET_SOFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
