	.file	"extr_test1.c_test_collate_func.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"test_collate"
.LC1:
	.string	"UTF-8"
.LC2:
	.string	"UTF-16LE"
.LC3:
	.string	"UTF-16BE"
	.text
	.p2align 4
	.type	test_collate_func, @function
test_collate_func:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r13, QWORD PTR pTestCollateInterp[rip]
	mov	DWORD PTR 4[rsp], ecx
	mov	QWORD PTR 8[rsp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	SQLITE_PTR_TO_INT@PLT
	lea	rdi, .LC0[rip]
	mov	esi, -1
	mov	r12d, eax
	call	Tcl_NewStringObj@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	Tcl_IncrRefCount@PLT
	cmp	r12d, 129
	je	.L2
	cmp	r12d, 130
	je	.L3
	mov	esi, -1
	lea	rdi, .LC1[rip]
	cmp	r12d, 128
	je	.L12
	xor	edi, edi
	call	assert@PLT
.L5:
	xor	eax, eax
	call	sqlite3BeginBenignMalloc@PLT
	xor	edi, edi
	call	sqlite3ValueNew@PLT
	mov	r14, rax
	test	rax, rax
	je	.L6
	mov	r8d, DWORD PTR SQLITE_STATIC[rip]
	mov	ecx, r12d
	mov	rdx, rbx
	mov	esi, r15d
	mov	rdi, rax
	call	sqlite3ValueSetStr@PLT
	mov	rdi, r14
	call	sqlite3_value_bytes@PLT
	mov	rdi, r14
	mov	r15d, eax
	call	sqlite3_value_text@PLT
	mov	esi, r15d
	mov	rdi, rax
	call	Tcl_NewStringObj@PLT
	mov	rsi, rbp
	mov	rdi, r13
	mov	rdx, rax
	call	Tcl_ListObjAppendElement@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	ecx, r12d
	mov	rdi, r14
	mov	r8d, DWORD PTR SQLITE_STATIC[rip]
	mov	esi, DWORD PTR 4[rsp]
	call	sqlite3ValueSetStr@PLT
	mov	rdi, r14
	call	sqlite3_value_bytes@PLT
	mov	rdi, r14
	mov	r12d, eax
	call	sqlite3_value_text@PLT
	mov	esi, r12d
	mov	rdi, rax
	call	Tcl_NewStringObj@PLT
	mov	rdi, r13
	mov	rsi, rbp
	mov	rdx, rax
	call	Tcl_ListObjAppendElement@PLT
	mov	rdi, r14
	call	sqlite3ValueFree@PLT
.L6:
	xor	eax, eax
	call	sqlite3EndBenignMalloc@PLT
	xor	edx, edx
	mov	rsi, rbp
	mov	rdi, r13
	call	Tcl_EvalObjEx@PLT
	mov	rdi, rbp
	call	Tcl_DecrRefCount@PLT
	mov	rdi, r13
	call	Tcl_GetObjResult@PLT
	lea	rdx, 20[rsp]
	mov	rdi, r13
	mov	esi, eax
	call	Tcl_GetIntFromObj@PLT
	mov	eax, DWORD PTR 20[rsp]
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	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
.L2:
	.cfi_restore_state
	mov	esi, -1
	lea	rdi, .LC2[rip]
.L12:
	call	Tcl_NewStringObj@PLT
	mov	rsi, rbp
	mov	rdi, r13
	mov	rdx, rax
	call	Tcl_ListObjAppendElement@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, -1
	lea	rdi, .LC3[rip]
	jmp	.L12
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_collate_func, .-test_collate_func
	.comm	pTestCollateInterp,8,8
	.comm	SQLITE_STATIC,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_test1.c_test_collate_func.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"test_collate\000"
	.align	2
.LC1:
	.ascii	"UTF-8\000"
	.align	2
.LC2:
	.ascii	"UTF-16LE\000"
	.align	2
.LC3:
	.ascii	"UTF-16BE\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_collate_func, %function
test_collate_func:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	ldr	ip, .L16
	str	r3, [sp, #12]
	ldr	r3, .L16+4
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r7, [ip]
	mov	r8, r1
	ldr	fp, [sp, #64]
	bl	SQLITE_PTR_TO_INT
	mvn	r1, #0
	mov	r5, r0
	ldr	r0, .L16+8
	bl	Tcl_NewStringObj
	mov	r6, r0
	bl	Tcl_IncrRefCount
	cmp	r5, #129
	beq	.L2
	cmp	r5, #130
	beq	.L3
	cmp	r5, #128
	beq	.L14
	mov	r0, #0
	bl	assert
.L5:
	bl	sqlite3BeginBenignMalloc
	mov	r0, #0
	bl	sqlite3ValueNew
	subs	r4, r0, #0
	beq	.L6
	ldr	r10, .L16+12
	mov	r2, r9
	ldr	r3, [r10]
	mov	r1, r8
	str	r3, [sp]
	mov	r3, r5
	bl	sqlite3ValueSetStr
	mov	r0, r4
	bl	sqlite3_value_bytes
	mov	r8, r0
	mov	r0, r4
	bl	sqlite3_value_text
	mov	r1, r8
	bl	Tcl_NewStringObj
	mov	r1, r6
	mov	r2, r0
	mov	r0, r7
	bl	Tcl_ListObjAppendElement
	ldr	r2, [r10]
	mov	r3, r5
	ldr	r1, [sp, #12]
	str	r2, [sp]
	mov	r0, r4
	mov	r2, fp
	bl	sqlite3ValueSetStr
	mov	r0, r4
	bl	sqlite3_value_bytes
	mov	r5, r0
	mov	r0, r4
	bl	sqlite3_value_text
	mov	r1, r5
	bl	Tcl_NewStringObj
	mov	r1, r6
	mov	r2, r0
	mov	r0, r7
	bl	Tcl_ListObjAppendElement
	mov	r0, r4
	bl	sqlite3ValueFree
.L6:
	bl	sqlite3EndBenignMalloc
	mov	r2, #0
	mov	r1, r6
	mov	r0, r7
	bl	Tcl_EvalObjEx
	mov	r0, r6
	bl	Tcl_DecrRefCount
	mov	r0, r7
	bl	Tcl_GetObjResult
	add	r2, sp, #16
	mov	r1, r0
	mov	r0, r7
	bl	Tcl_GetIntFromObj
	ldr	r3, .L16+4
	ldr	r0, [sp, #16]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mvn	r1, #0
	ldr	r0, .L16+16
.L12:
	bl	Tcl_NewStringObj
	mov	r1, r6
	mov	r2, r0
	mov	r0, r7
	bl	Tcl_ListObjAppendElement
	b	.L5
.L14:
	mvn	r1, #0
	ldr	r0, .L16+20
	b	.L12
.L3:
	mvn	r1, #0
	ldr	r0, .L16+24
	b	.L12
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	pTestCollateInterp
	.word	.LC4
	.word	.LC0
	.word	SQLITE_STATIC
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	test_collate_func, .-test_collate_func
	.comm	pTestCollateInterp,4,4
	.comm	SQLITE_STATIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
