	.file	"extr_create.c_test_refs_create__oid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"refs/heads/new-head"
.LC1:
	.string	"testrepo"
	.text
	.p2align 4
	.globl	test_refs_create__oid
	.type	test_refs_create__oid, @function
test_refs_create__oid:
.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
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR current_master_tip[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rbp, 12[rsp]
	lea	r12, 24[rsp]
	mov	rdi, rbp
	call	git_oid_fromstr@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rcx, rbp
	mov	rsi, QWORD PTR g_repo[rip]
	lea	rdx, .LC0[rip]
	lea	rdi, 16[rsp]
	call	git_reference_create@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rsi, QWORD PTR g_repo[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, r12
	call	git_reference_lookup@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_reference_type@PLT
	and	eax, DWORD PTR GIT_REFERENCE_DIRECT[rip]
	mov	edi, eax
	call	cl_assert@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	reference_is_packed@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	cl_assert@PLT
	mov	rax, QWORD PTR 24[rsp]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR [rax]
	call	cl_assert_equal_s@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_reference_target@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	cl_assert_equal_oid@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_reference_free@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, 32[rsp]
	call	git_repository_open@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rsi, QWORD PTR 32[rsp]
	lea	rdx, .LC0[rip]
	mov	rdi, r12
	call	git_reference_lookup@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_reference_target@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	cl_assert_equal_oid@PLT
	mov	rdi, QWORD PTR 32[rsp]
	call	git_repository_free@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	git_reference_free@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	git_reference_free@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_refs_create__oid, .-test_refs_create__oid
	.comm	g_repo,8,8
	.comm	current_master_tip,4,4
	.comm	GIT_REFERENCE_DIRECT,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_create.c_test_refs_create__oid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"refs/heads/new-head\000"
	.align	2
.LC1:
	.ascii	"testrepo\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_refs_create__oid
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_refs_create__oid, %function
test_refs_create__oid:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L6
	sub	sp, sp, #32
	ldr	r1, [r3]
	ldr	r3, .L6+4
	add	r0, sp, #24
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	git_oid_fromstr
	mov	r2, #0
	ldr	r4, .L6+8
	add	r3, sp, #24
	ldr	r1, [r4]
	str	r2, [sp, #4]
	str	r2, [sp]
	add	r0, sp, #12
	ldr	r2, .L6+12
	bl	git_reference_create
	bl	cl_git_pass
	ldr	r2, .L6+12
	ldr	r1, [r4]
	add	r0, sp, #16
	bl	git_reference_lookup
	bl	cl_git_pass
	ldr	r0, [sp, #16]
	bl	git_reference_type
	ldr	r3, .L6+16
	ldr	r3, [r3]
	and	r0, r0, r3
	bl	cl_assert
	ldr	r0, [sp, #16]
	bl	reference_is_packed
	clz	r0, r0
	lsr	r0, r0, #5
	bl	cl_assert
	ldr	r3, [sp, #16]
	ldr	r1, .L6+12
	ldr	r0, [r3]
	bl	cl_assert_equal_s
	ldr	r0, [sp, #16]
	bl	git_reference_target
	mov	r1, r0
	add	r0, sp, #24
	bl	cl_assert_equal_oid
	ldr	r0, [sp, #16]
	bl	git_reference_free
	ldr	r1, .L6+20
	add	r0, sp, #20
	bl	git_repository_open
	bl	cl_git_pass
	ldr	r2, .L6+12
	ldr	r1, [sp, #20]
	add	r0, sp, #16
	bl	git_reference_lookup
	bl	cl_git_pass
	ldr	r0, [sp, #16]
	bl	git_reference_target
	mov	r1, r0
	add	r0, sp, #24
	bl	cl_assert_equal_oid
	ldr	r0, [sp, #20]
	bl	git_repository_free
	ldr	r0, [sp, #12]
	bl	git_reference_free
	ldr	r0, [sp, #16]
	bl	git_reference_free
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	current_master_tip
	.word	.LC2
	.word	g_repo
	.word	.LC0
	.word	GIT_REFERENCE_DIRECT
	.word	.LC1
	.size	test_refs_create__oid, .-test_refs_create__oid
	.comm	g_repo,4,4
	.comm	current_master_tip,4,4
	.comm	GIT_REFERENCE_DIRECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
