	.file	"extr_ui_basic.c_FilenamesAdd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	FilenamesAdd, @function
FilenamesAdd:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	rsi, DWORD PTR n_filenames[rip]
	cmp	esi, DWORD PTR FILENAMES_INITIAL_SIZE[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	rdi, QWORD PTR filenames[rip]
	jl	.L2
	lea	eax, -1[rsi]
	test	eax, esi
	je	.L5
.L2:
	lea	eax, 1[rsi]
	mov	DWORD PTR n_filenames[rip], eax
	mov	QWORD PTR [rdi+rsi*8], rbx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	sal	esi, 4
	call	Util_realloc@PLT
	movsx	rsi, DWORD PTR n_filenames[rip]
	mov	QWORD PTR filenames[rip], rax
	mov	rdi, rax
	lea	eax, 1[rsi]
	mov	DWORD PTR n_filenames[rip], eax
	mov	QWORD PTR [rdi+rsi*8], rbx
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	FilenamesAdd, .-FilenamesAdd
	.comm	n_filenames,4,4
	.comm	filenames,8,8
	.comm	FILENAMES_INITIAL_SIZE,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_ui_basic.c_FilenamesAdd.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	FilenamesAdd, %function
FilenamesAdd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L6
	ldr	r5, .L6+4
	ldr	r3, [r3]
	ldr	r1, [r5]
	ldr	r6, .L6+8
	cmp	r1, r3
	mov	r4, r0
	ldr	r0, [r6]
	blt	.L2
	sub	r3, r1, #1
	tst	r3, r1
	beq	.L5
.L2:
	add	r3, r1, #1
	str	r3, [r5]
	str	r4, [r0, r1, lsl #2]
	pop	{r4, r5, r6, pc}
.L5:
	lsl	r1, r1, #3
	bl	Util_realloc
	ldr	r1, [r5]
	str	r0, [r6]
	b	.L2
.L7:
	.align	2
.L6:
	.word	FILENAMES_INITIAL_SIZE
	.word	n_filenames
	.word	filenames
	.size	FilenamesAdd, .-FilenamesAdd
	.comm	n_filenames,4,4
	.comm	filenames,4,4
	.comm	FILENAMES_INITIAL_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
