	.file	"extr_test_thread.c_tclScriptThread.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"clock_seconds"
.LC1:
	.string	"sqlthread"
.LC2:
	.string	"error"
.LC3:
	.string	"set"
	.text
	.p2align 4
	.type	tclScriptThread, @function
tclScriptThread:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	Tcl_CreateInterp@PLT
	mov	edx, DWORD PTR clock_seconds_proc[rip]
	xor	r8d, r8d
	xor	ecx, ecx
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	Tcl_CreateObjCommand@PLT
	xor	r8d, r8d
	mov	rcx, r13
	mov	rdi, rbp
	mov	edx, DWORD PTR sqlthread_proc[rip]
	lea	rsi, .LC1[rip]
	call	Tcl_CreateObjCommand@PLT
	mov	rdi, rbp
	call	Sqlitetest1_Init@PLT
	mov	rdi, rbp
	call	Sqlitetest_mutex_Init@PLT
	mov	rdi, rbp
	call	Sqlite3_Init@PLT
	mov	esi, DWORD PTR 8[r13]
	mov	rdi, rbp
	call	Tcl_Eval@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	Tcl_GetObjResult@PLT
	mov	r14, rax
	xor	eax, eax
	call	Tcl_NewObj@PLT
	mov	rdi, rax
	mov	r12, rax
	call	Tcl_IncrRefCount@PLT
	mov	rdi, r14
	call	Tcl_IncrRefCount@PLT
	cmp	DWORD PTR TCL_OK[rip], ebx
	je	.L2
	mov	esi, -1
	lea	rdi, .LC2[rip]
	call	Tcl_NewStringObj@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	call	Tcl_ListObjAppendElement@PLT
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	call	Tcl_ListObjAppendElement@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	postToParent@PLT
	mov	rdi, r12
	call	Tcl_DecrRefCount@PLT
	xor	eax, eax
	call	Tcl_NewObj@PLT
	mov	r12, rax
.L2:
	mov	esi, -1
	lea	rdi, .LC3[rip]
	call	Tcl_NewStringObj@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	call	Tcl_ListObjAppendElement@PLT
	mov	rdi, QWORD PTR 0[r13]
	mov	esi, -1
	call	Tcl_NewStringObj@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	call	Tcl_ListObjAppendElement@PLT
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	call	Tcl_ListObjAppendElement@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	postToParent@PLT
	mov	rdi, r13
	call	ckfree@PLT
	mov	rdi, r12
	call	Tcl_DecrRefCount@PLT
	mov	rdi, r14
	call	Tcl_DecrRefCount@PLT
	mov	rdi, rbp
	call	Tcl_DeleteInterp@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR TCL_ALL_EVENTS[rip]
	or	edi, DWORD PTR TCL_DONT_WAIT[rip]
	call	Tcl_DoOneEvent@PLT
	test	rax, rax
	jne	.L3
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	edi, edi
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	Tcl_ExitThread@PLT
	.cfi_endproc
.LFE0:
	.size	tclScriptThread, .-tclScriptThread
	.comm	sqlthread_proc,4,4
	.comm	clock_seconds_proc,4,4
	.comm	blocking_step_proc,4,4
	.comm	blocking_prepare_v2_proc,4,4
	.comm	TCL_THREAD_CREATE_RETURN,4,4
	.comm	TCL_OK,4,4
	.comm	TCL_DONT_WAIT,4,4
	.comm	TCL_ALL_EVENTS,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_test_thread.c_tclScriptThread.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"clock_seconds\000"
	.align	2
.LC1:
	.ascii	"sqlthread\000"
	.align	2
.LC2:
	.ascii	"error\000"
	.align	2
.LC3:
	.ascii	"set\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tclScriptThread, %function
tclScriptThread:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #8
	mov	r6, r0
	bl	Tcl_CreateInterp
	mov	r5, #0
	mov	r4, r0
	ldr	r2, .L7
	str	r5, [sp]
	mov	r3, r5
	ldr	r2, [r2]
	ldr	r1, .L7+4
	bl	Tcl_CreateObjCommand
	ldr	r2, .L7+8
	str	r5, [sp]
	mov	r3, r6
	ldr	r2, [r2]
	ldr	r1, .L7+12
	mov	r0, r4
	bl	Tcl_CreateObjCommand
	mov	r0, r4
	bl	Sqlitetest1_Init
	mov	r0, r4
	bl	Sqlitetest_mutex_Init
	mov	r0, r4
	bl	Sqlite3_Init
	ldr	r1, [r6, #4]
	mov	r0, r4
	bl	Tcl_Eval
	mov	r8, r0
	mov	r0, r4
	bl	Tcl_GetObjResult
	mov	r7, r0
	bl	Tcl_NewObj
	mov	r5, r0
	bl	Tcl_IncrRefCount
	mov	r0, r7
	bl	Tcl_IncrRefCount
	ldr	r3, .L7+16
	ldr	r3, [r3]
	cmp	r3, r8
	beq	.L2
	mvn	r1, #0
	ldr	r0, .L7+20
	bl	Tcl_NewStringObj
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	Tcl_ListObjAppendElement
	mov	r2, r7
	mov	r1, r5
	mov	r0, r4
	bl	Tcl_ListObjAppendElement
	mov	r1, r5
	mov	r0, r6
	bl	postToParent
	mov	r0, r5
	bl	Tcl_DecrRefCount
	bl	Tcl_NewObj
	mov	r5, r0
.L2:
	mvn	r1, #0
	ldr	r0, .L7+24
	bl	Tcl_NewStringObj
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	Tcl_ListObjAppendElement
	mvn	r1, #0
	ldr	r0, [r6]
	bl	Tcl_NewStringObj
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	Tcl_ListObjAppendElement
	mov	r2, r7
	mov	r1, r5
	mov	r0, r4
	bl	Tcl_ListObjAppendElement
	mov	r1, r5
	mov	r0, r6
	bl	postToParent
	mov	r0, r6
	bl	ckfree
	mov	r0, r5
	bl	Tcl_DecrRefCount
	mov	r0, r7
	bl	Tcl_DecrRefCount
	mov	r0, r4
	bl	Tcl_DeleteInterp
	ldr	r5, .L7+28
	ldr	r4, .L7+32
.L3:
	ldr	r0, [r5]
	ldr	r3, [r4]
	orr	r0, r0, r3
	bl	Tcl_DoOneEvent
	cmp	r0, #0
	bne	.L3
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	Tcl_ExitThread
.L8:
	.align	2
.L7:
	.word	clock_seconds_proc
	.word	.LC0
	.word	sqlthread_proc
	.word	.LC1
	.word	TCL_OK
	.word	.LC2
	.word	.LC3
	.word	TCL_ALL_EVENTS
	.word	TCL_DONT_WAIT
	.size	tclScriptThread, .-tclScriptThread
	.comm	sqlthread_proc,4,4
	.comm	clock_seconds_proc,4,4
	.comm	blocking_step_proc,4,4
	.comm	blocking_prepare_v2_proc,4,4
	.comm	TCL_THREAD_CREATE_RETURN,4,4
	.comm	TCL_OK,4,4
	.comm	TCL_DONT_WAIT,4,4
	.comm	TCL_ALL_EVENTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
