	.file	"extr_build.c_sqlite3SrcListAppend.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3SrcListAppend
	.type	sqlite3SrcListAppend, @function
sqlite3SrcListAppend:
.LFB0:
	.cfi_startproc
	endbr64
	test	rcx, rcx
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	sete	dil
	test	rdx, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	setne	al
	mov	rbp, rcx
	or	edi, eax
	movzx	edi, dil
	call	assert@PLT
	xor	edi, edi
	test	r12, r12
	setne	dil
	call	assert@PLT
	xor	edi, edi
	cmp	QWORD PTR [r12], 0
	setne	dil
	call	assert@PLT
	mov	r15, QWORD PTR [r12]
	test	r14, r14
	je	.L15
	mov	ecx, DWORD PTR 4[r14]
	mov	rdi, r12
	mov	edx, 1
	mov	rsi, r14
	call	sqlite3SrcListEnlarge@PLT
	mov	r12, rax
	test	rax, rax
	je	.L16
	mov	rdx, QWORD PTR 8[rax]
.L4:
	movsx	rax, DWORD PTR 4[r12]
	lea	rax, [rax+rax*2]
	lea	r14, -24[rdx+rax*8]
	test	rbp, rbp
	je	.L6
	cmp	QWORD PTR 0[rbp], 0
	jne	.L17
.L6:
	mov	rsi, r13
	mov	rdi, r15
	call	sqlite3NameFromToken@PLT
	mov	QWORD PTR 8[r14], 0
	mov	QWORD PTR 16[r14], rax
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	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
.L17:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r15
	call	sqlite3NameFromToken@PLT
	mov	rsi, r13
	mov	rdi, r15
	mov	QWORD PTR 16[r14], rax
	call	sqlite3NameFromToken@PLT
	mov	QWORD PTR 8[r14], rax
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L15:
	.cfi_restore_state
	mov	esi, 16
	mov	rdi, r15
	call	sqlite3DbMallocRawNN@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR 8[r12]
	mov	edx, 24
	xor	esi, esi
	movabs	rax, 4294967297
	mov	QWORD PTR [r12], rax
	call	memset@PLT
	mov	rdx, QWORD PTR 8[r12]
	mov	DWORD PTR [rdx], -1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rsi, r14
	mov	rdi, r15
	call	sqlite3SrcListDelete@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sqlite3SrcListAppend, .-sqlite3SrcListAppend
	.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_build.c_sqlite3SrcListAppend.c"
	.text
	.align	2
	.global	sqlite3SrcListAppend
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3SrcListAppend, %function
sqlite3SrcListAppend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	ip, r2, #0
	movne	ip, #1
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r1
	cmp	r3, #0
	movne	r0, ip
	moveq	r0, #1
	mov	r6, r3
	mov	r7, r2
	bl	assert
	subs	r0, r4, #0
	movne	r0, #1
	bl	assert
	ldr	r0, [r4]
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	cmp	r5, #0
	ldr	r8, [r4]
	beq	.L18
	mov	r0, r4
	mov	r1, r5
	ldr	r3, [r5, #4]
	mov	r2, #1
	bl	sqlite3SrcListEnlarge
	subs	r4, r0, #0
	ldrne	r5, [r4, #8]
	beq	.L19
.L4:
	ldr	r3, [r4, #4]
	cmp	r6, #0
	add	r3, r3, r3, lsl #1
	add	r5, r5, r3, lsl #2
	sub	r5, r5, #12
	beq	.L6
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L20
.L6:
	mov	r1, r7
	mov	r0, r8
	bl	sqlite3NameFromToken
	mov	r3, #0
	str	r0, [r5, #8]
	str	r3, [r5, #4]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	mov	r1, r6
	mov	r0, r8
	bl	sqlite3NameFromToken
	mov	r1, r7
	str	r0, [r5, #8]
	mov	r0, r8
	bl	sqlite3NameFromToken
	str	r0, [r5, #4]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	mov	r1, #12
	mov	r0, r8
	bl	sqlite3DbMallocRawNN
	subs	r4, r0, #0
	beq	.L1
	mov	r3, #1
	mov	r1, r5
	str	r3, [r4]
	str	r3, [r4, #4]
	mov	r2, #12
	ldr	r0, [r4, #8]
	bl	memset
	mvn	r3, #0
	ldr	r5, [r4, #8]
	str	r3, [r5]
	b	.L4
.L19:
	mov	r1, r5
	mov	r0, r8
	bl	sqlite3SrcListDelete
	b	.L1
	.size	sqlite3SrcListAppend, .-sqlite3SrcListAppend
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
