	.file	"extr_sqlite3.c_findCollSeqEntry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	findCollSeqEntry, @function
findCollSeqEntry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	sqlite3HashFind@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L1
	test	ebx, ebx
	jne	.L17
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, rbp
	call	sqlite3Strlen30@PLT
	mov	rdi, r13
	lea	esi, 49[rax]
	mov	ebx, eax
	call	sqlite3DbMallocZero@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	lea	rdi, 48[rax]
	mov	rsi, rbp
	lea	edx, 1[rbx]
	mov	QWORD PTR [rax], rdi
	mov	eax, DWORD PTR SQLITE_UTF8[rip]
	mov	QWORD PTR 16[r12], rdi
	mov	DWORD PTR 8[r12], eax
	mov	eax, DWORD PTR SQLITE_UTF16LE[rip]
	mov	QWORD PTR 32[r12], rdi
	mov	DWORD PTR 24[r12], eax
	mov	eax, DWORD PTR SQLITE_UTF16BE[rip]
	mov	DWORD PTR 40[r12], eax
	call	memcpy@PLT
	mov	rsi, QWORD PTR [r12]
	mov	rdi, r13
	mov	rdx, r12
	call	sqlite3HashInsert@PLT
	test	rax, rax
	mov	rbp, rax
	sete	dil
	cmp	r12, rax
	sete	al
	or	edi, eax
	movzx	edi, dil
	call	assert@PLT
	test	rbp, rbp
	je	.L1
	mov	rdi, r13
	xor	r12d, r12d
	call	sqlite3OomFault@PLT
	mov	rsi, rbp
	mov	rdi, r13
	call	sqlite3DbFree@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	findCollSeqEntry, .-findCollSeqEntry
	.comm	SQLITE_UTF8,4,4
	.comm	SQLITE_UTF16LE,4,4
	.comm	SQLITE_UTF16BE,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_sqlite3.c_findCollSeqEntry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	findCollSeqEntry, %function
findCollSeqEntry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r0
	mov	r5, r1
	bl	sqlite3HashFind
	subs	r4, r4, #0
	movne	r4, #1
	cmp	r0, #0
	movne	r4, #0
	cmp	r4, #0
	mov	r4, r0
	bne	.L14
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r0, r5
	bl	sqlite3Strlen30
	mov	r7, r0
	mov	r0, r6
	add	r1, r7, #25
	bl	sqlite3DbMallocZero
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, .L15
	ldr	r1, .L15+4
	ldr	r2, .L15+8
	ldr	r3, [r3]
	ldr	ip, [r1]
	ldr	r0, [r2]
	str	r3, [r4, #4]
	add	r3, r4, #24
	mov	r1, r5
	str	ip, [r4, #12]
	str	r3, [r4]
	str	r3, [r4, #8]
	str	r3, [r4, #16]
	add	r2, r7, #1
	str	r0, [r4, #20]
	mov	r0, r3
	bl	memcpy
	mov	r2, r4
	mov	r1, r0
	mov	r0, r6
	bl	sqlite3HashInsert
	mov	r5, r0
	sub	r0, r4, r0
	clz	r0, r0
	cmp	r5, #0
	lsr	r0, r0, #5
	moveq	r0, #1
	bl	assert
	cmp	r5, #0
	beq	.L1
	mov	r0, r6
	bl	sqlite3OomFault
	mov	r1, r5
	mov	r0, r6
	bl	sqlite3DbFree
	mov	r4, #0
	b	.L1
.L16:
	.align	2
.L15:
	.word	SQLITE_UTF8
	.word	SQLITE_UTF16LE
	.word	SQLITE_UTF16BE
	.size	findCollSeqEntry, .-findCollSeqEntry
	.comm	SQLITE_UTF8,4,4
	.comm	SQLITE_UTF16LE,4,4
	.comm	SQLITE_UTF16BE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
