	.file	"extr_template.c_test_repo_template__cleanup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"tmp_global_path"
	.text
	.p2align 4
	.globl	test_repo_template__cleanup
	.type	test_repo_template__cleanup, @function
test_repo_template__cleanup:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edx, DWORD PTR _global_path[rip]
	mov	esi, DWORD PTR GIT_CONFIG_LEVEL_GLOBAL[rip]
	mov	edi, DWORD PTR GIT_OPT_SET_SEARCH_PATH[rip]
	call	git_libgit2_opts@PLT
	lea	rdi, _global_path[rip]
	call	git_buf_dispose@PLT
	lea	rdi, .LC0[rip]
	call	cl_fixture_cleanup@PLT
	mov	rdi, QWORD PTR fixture_repo[rip]
	test	rdi, rdi
	je	.L2
	call	cl_fixture_cleanup@PLT
	mov	QWORD PTR fixture_repo[rip], 0
.L2:
	mov	rdi, QWORD PTR fixture_templates[rip]
	test	rdi, rdi
	je	.L3
	call	cl_fixture_cleanup@PLT
	mov	QWORD PTR fixture_templates[rip], 0
.L3:
	mov	rdi, QWORD PTR _repo[rip]
	call	git_repository_free@PLT
	mov	QWORD PTR _repo[rip], 0
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	test_repo_template__cleanup, .-test_repo_template__cleanup
	.comm	fixture_templates,8,8
	.comm	fixture_repo,8,8
	.comm	_repo,8,8
	.comm	_global_path,4,4
	.comm	GIT_OPT_SET_SEARCH_PATH,4,4
	.comm	GIT_CONFIG_LEVEL_GLOBAL,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_template.c_test_repo_template__cleanup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tmp_global_path\000"
	.text
	.align	2
	.global	test_repo_template__cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_repo_template__cleanup, %function
test_repo_template__cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L12
	ldr	r4, .L12+4
	ldr	r1, .L12+8
	ldr	r2, [r4]
	ldr	r1, [r1]
	ldr	r0, [r3]
	bl	git_libgit2_opts
	mov	r0, r4
	ldr	r4, .L12+12
	bl	git_buf_dispose
	ldr	r0, .L12+16
	bl	cl_fixture_cleanup
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L2
	bl	cl_fixture_cleanup
	mov	r3, #0
	str	r3, [r4]
.L2:
	ldr	r4, .L12+20
	ldr	r0, [r4]
	cmp	r0, #0
	beq	.L3
	bl	cl_fixture_cleanup
	mov	r3, #0
	str	r3, [r4]
.L3:
	ldr	r4, .L12+24
	ldr	r0, [r4]
	bl	git_repository_free
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	GIT_OPT_SET_SEARCH_PATH
	.word	_global_path
	.word	GIT_CONFIG_LEVEL_GLOBAL
	.word	fixture_repo
	.word	.LC0
	.word	fixture_templates
	.word	_repo
	.size	test_repo_template__cleanup, .-test_repo_template__cleanup
	.comm	fixture_templates,4,4
	.comm	fixture_repo,4,4
	.comm	_repo,4,4
	.comm	_global_path,4,4
	.comm	GIT_OPT_SET_SEARCH_PATH,4,4
	.comm	GIT_CONFIG_LEVEL_GLOBAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
