	.file	"extr_threadtest3.c_walthread3.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"test.db"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"PRAGMA journal_mode = WAL;CREATE TABLE t1(cnt PRIMARY KEY, sum1, sum2);CREATE INDEX i1 ON t1(sum1);CREATE INDEX i2 ON t1(sum2);INSERT INTO t1 VALUES(0, 0, 0);"
	.text
	.p2align 4
	.type	walthread3, @function
walthread3:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, 1
	lea	rdx, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rbp, 12[rsp]
	lea	r13, 16[rsp]
	mov	DWORD PTR 12[rsp], 0
	mov	rsi, r13
	mov	rdi, rbp
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 20[rsp], 0
	call	opendb@PLT
	lea	rdx, .LC1[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	sql_script@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	closedb@PLT
	mov	esi, r12d
	mov	rdi, rbp
	lea	r12, 20[rsp]
	call	setstoptime@PLT
	mov	eax, DWORD PTR WALTHREAD3_NTHREAD[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	lea	r12, 20[rsp]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, ebx
	add	ebx, 1
	call	INT2PTR@PLT
	mov	edx, DWORD PTR walthread3_thread[rip]
	mov	rsi, r12
	mov	rdi, rbp
	mov	ecx, eax
	call	launch_thread@PLT
	cmp	DWORD PTR WALTHREAD3_NTHREAD[rip], ebx
	jg	.L3
.L2:
	mov	rsi, r12
	mov	rdi, rbp
	call	join_all_threads@PLT
	mov	rdi, rbp
	call	print_and_free_err@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	walthread3, .-walthread3
	.comm	walthread3_thread,4,4
	.comm	WALTHREAD3_NTHREAD,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_threadtest3.c_walthread3.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"test.db\000"
	.align	2
.LC1:
	.ascii	"PRAGMA journal_mode = WAL;CREATE TABLE t1(cnt PRIMA"
	.ascii	"RY KEY, sum1, sum2);CREATE INDEX i1 ON t1(sum1);CRE"
	.ascii	"ATE INDEX i2 ON t1(sum2);INSERT INTO t1 VALUES(0, 0"
	.ascii	", 0);\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	walthread3, %function
walthread3:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	mov	r5, r0
	sub	sp, sp, #16
	ldr	ip, .L11
	mov	r3, #1
	ldr	r2, .L11+4
	add	r1, sp, #4
	mov	r0, sp
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r4, [sp]
	str	r4, [sp, #4]
	str	r4, [sp, #8]
	bl	opendb
	ldr	r2, .L11+8
	add	r1, sp, #4
	mov	r0, sp
	bl	sql_script
	ldr	r6, .L11+12
	add	r1, sp, #4
	mov	r0, sp
	bl	closedb
	mov	r1, r5
	mov	r0, sp
	bl	setstoptime
	ldr	r3, [r6]
	cmp	r3, r4
	addle	r7, sp, #8
	ble	.L2
	ldr	r8, .L11+16
	add	r7, sp, #8
.L3:
	mov	r0, r4
	ldr	r5, [r8]
	bl	INT2PTR
	mov	r2, r5
	mov	r3, r0
	mov	r1, r7
	mov	r0, sp
	bl	launch_thread
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L2:
	mov	r1, r7
	mov	r0, sp
	bl	join_all_threads
	mov	r0, sp
	bl	print_and_free_err
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	WALTHREAD3_NTHREAD
	.word	walthread3_thread
	.size	walthread3, .-walthread3
	.comm	walthread3_thread,4,4
	.comm	WALTHREAD3_NTHREAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
