	.file	"extr_submodule-config.c_lookup_or_create_by_name.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lookup_or_create_by_name, @function
lookup_or_create_by_name:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR STRBUF_INIT[rip]
	mov	DWORD PTR 4[rsp], eax
	call	cache_lookup_name@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	lea	r15, 4[rsp]
	mov	edi, 72
	call	xmalloc@PLT
	mov	rsi, r14
	mov	rdi, r15
	mov	r12, rax
	call	strbuf_addstr@PLT
	xor	esi, esi
	mov	rdi, r15
	call	strbuf_detach@PLT
	lea	rdi, 4[r12]
	mov	rsi, r13
	mov	QWORD PTR 56[r12], 0
	mov	DWORD PTR 64[r12], eax
	mov	eax, DWORD PTR SM_UPDATE_UNSPECIFIED[rip]
	mov	QWORD PTR 48[r12], 0
	mov	DWORD PTR 40[r12], eax
	mov	eax, DWORD PTR RECURSE_SUBMODULES_NONE[rip]
	mov	QWORD PTR 32[r12], 0
	mov	DWORD PTR 24[r12], eax
	mov	QWORD PTR 16[r12], 0
	mov	QWORD PTR 8[r12], 0
	mov	DWORD PTR [r12], -1
	call	oidcpy@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	cache_add@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lookup_or_create_by_name, .-lookup_or_create_by_name
	.comm	STRBUF_INIT,4,4
	.comm	SM_UPDATE_UNSPECIFIED,4,4
	.comm	RECURSE_SUBMODULES_NONE,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-config.c_lookup_or_create_by_name.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_or_create_by_name, %function
lookup_or_create_by_name:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L8
	ldr	ip, .L8+4
	ldr	r3, [r3]
	sub	sp, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	mov	r7, r0
	mov	r6, r1
	mov	r5, r2
	str	r3, [sp]
	bl	cache_lookup_name
	subs	r4, r0, #0
	beq	.L6
.L1:
	ldr	r3, .L8+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	mov	r0, #40
	bl	xmalloc
	mov	r4, r0
	mov	r1, r5
	mov	r0, sp
	bl	strbuf_addstr
	mov	r0, sp
	mov	r1, #0
	bl	strbuf_detach
	mov	r3, #0
	mov	r2, r4
	mvn	r1, #0
	ldr	lr, .L8+8
	ldr	ip, .L8+12
	ldr	lr, [lr]
	ldr	ip, [ip]
	str	r0, [r4, #36]
	str	lr, [r4, #24]
	str	ip, [r4, #16]
	str	r3, [r4, #32]
	str	r3, [r4, #28]
	str	r3, [r4, #20]
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r1, [r2], #4
	mov	r0, r2
	mov	r1, r6
	bl	oidcpy
	mov	r1, r4
	mov	r0, r7
	bl	cache_add
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	STRBUF_INIT
	.word	.LC0
	.word	SM_UPDATE_UNSPECIFIED
	.word	RECURSE_SUBMODULES_NONE
	.size	lookup_or_create_by_name, .-lookup_or_create_by_name
	.comm	STRBUF_INIT,4,4
	.comm	SM_UPDATE_UNSPECIFIED,4,4
	.comm	RECURSE_SUBMODULES_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
