	.file	"696756.c"
	.intel_syntax noprefix
	.text
	.local	g
	.comm	g,128,32
	.section	.rodata
.LC0:
	.string	"%s%.*s\n"
	.text
	.type	printWithPrefix, @function
printWithPrefix:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	jmp	.L2
.L9:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L5:
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L4
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L5
.L4:
	mov	rsi, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -40[rbp], rax
	jmp	.L6
.L7:
	add	QWORD PTR -40[rbp], 1
.L6:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L7
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L7
.L2:
	cmp	QWORD PTR -40[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L9
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printWithPrefix, .-printWithPrefix
	.type	safe_strcmp, @function
safe_strcmp:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jne	.L12
	mov	eax, 0
	jmp	.L13
.L12:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
	mov	eax, -1
	jmp	.L13
.L14:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L15
	mov	eax, 1
	jmp	.L13
.L15:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	safe_strcmp, .-safe_strcmp
	.globl	strglob
	.type	strglob, @function
strglob:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	jmp	.L17
.L51:
	cmp	DWORD PTR -4[rbp], 42
	jne	.L18
	jmp	.L19
.L21:
	cmp	DWORD PTR -4[rbp], 63
	jne	.L19
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L19
	mov	eax, 0
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 42
	je	.L21
	cmp	DWORD PTR -4[rbp], 63
	je	.L21
	cmp	DWORD PTR -4[rbp], 0
	jne	.L22
	mov	eax, 1
	jmp	.L20
.L22:
	cmp	DWORD PTR -4[rbp], 91
	jne	.L27
	jmp	.L24
.L26:
	add	QWORD PTR -48[rbp], 1
.L24:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L25
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strglob
	test	eax, eax
	jne	.L26
.L25:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	setne	al
	movzx	eax, al
	jmp	.L20
.L29:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L28
	mov	eax, 0
	jmp	.L20
.L28:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jne	.L29
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strglob
	test	eax, eax
	je	.L27
	mov	eax, 1
	jmp	.L20
.L27:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L28
	mov	eax, 0
	jmp	.L20
.L18:
	cmp	DWORD PTR -4[rbp], 63
	jne	.L31
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
	mov	eax, 0
	jmp	.L20
.L31:
	cmp	DWORD PTR -4[rbp], 91
	jne	.L32
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L33
	mov	eax, 0
	jmp	.L20
.L33:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 94
	jne	.L34
	mov	DWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
.L34:
	cmp	DWORD PTR -20[rbp], 93
	jne	.L37
	cmp	DWORD PTR -4[rbp], 93
	jne	.L36
	mov	DWORD PTR -12[rbp], 1
.L36:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
	jmp	.L37
.L43:
	cmp	DWORD PTR -20[rbp], 45
	jne	.L38
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 93
	je	.L38
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L38
	cmp	DWORD PTR -8[rbp], 0
	jle	.L38
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L39
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jg	.L39
	mov	DWORD PTR -12[rbp], 1
.L39:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L40
.L38:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jne	.L41
	mov	DWORD PTR -12[rbp], 1
.L41:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
.L40:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
.L37:
	cmp	DWORD PTR -20[rbp], 0
	je	.L42
	cmp	DWORD PTR -20[rbp], 93
	jne	.L43
.L42:
	cmp	DWORD PTR -20[rbp], 0
	je	.L44
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jne	.L17
.L44:
	mov	eax, 0
	jmp	.L20
.L32:
	cmp	DWORD PTR -4[rbp], 35
	jne	.L45
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L46
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	jne	.L47
.L46:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L47
	add	QWORD PTR -48[rbp], 1
.L47:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L48
	mov	eax, 0
	jmp	.L20
.L48:
	add	QWORD PTR -48[rbp], 1
	jmp	.L49
.L50:
	add	QWORD PTR -48[rbp], 1
.L49:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L50
	jmp	.L17
.L45:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -4[rbp], eax
	je	.L17
	mov	eax, 0
	jmp	.L20
.L17:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L51
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	sete	al
	movzx	eax, al
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	strglob, .-strglob
	.type	maybeClose, @function
maybeClose:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -8[rbp], rax
	je	.L54
	mov	rax, QWORD PTR stderr[rip]
	cmp	QWORD PTR -8[rbp], rax
	je	.L54
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L54:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	maybeClose, .-maybeClose
	.section	.rodata
.LC1:
	.string	"%s:ERROR: "
	.text
	.type	errorMessage, @function
errorMessage:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 272
	mov	QWORD PTR -264[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L56
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L56:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -248[rbp], 8
	mov	DWORD PTR -244[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -240[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -232[rbp], rax
	lea	rdx, -248[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_vmprintf@PLT
	mov	QWORD PTR -256[rbp], rax
	lea	rax, -224[rbp]
	lea	rcx, g[rip+64]
	lea	rdx, .LC1[rip]
	mov	rsi, rax
	mov	edi, 30
	mov	eax, 0
	call	sqlite3_snprintf@PLT
	mov	rax, QWORD PTR g[rip+56]
	test	rax, rax
	je	.L57
	mov	rax, QWORD PTR g[rip+56]
	mov	rdx, QWORD PTR -256[rbp]
	lea	rcx, -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	printWithPrefix
	mov	rax, QWORD PTR g[rip+56]
	mov	rdi, rax
	call	fflush@PLT
.L57:
	mov	rax, QWORD PTR g[rip+40]
	test	rax, rax
	je	.L58
	mov	rdx, QWORD PTR g[rip+48]
	mov	rax, QWORD PTR g[rip+32]
	mov	rsi, rdx
	mov	rdi, rax
	call	safe_strcmp
	test	eax, eax
	je	.L58
	mov	rax, QWORD PTR g[rip+40]
	mov	rdx, QWORD PTR -256[rbp]
	lea	rcx, -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	printWithPrefix
	mov	rax, QWORD PTR g[rip+40]
	mov	rdi, rax
	call	fflush@PLT
.L58:
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	eax, DWORD PTR g[rip+112]
	add	eax, 1
	mov	DWORD PTR g[rip+112], eax
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	errorMessage, .-errorMessage
	.section	.rodata
.LC2:
	.string	"%s:FATAL: "
.LC3:
	.string	"UPDATE client SET wantHalt=1;"
	.text
	.type	fatalError, @function
fatalError:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L61
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L61:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -248[rbp], 8
	mov	DWORD PTR -244[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -240[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -232[rbp], rax
	lea	rdx, -248[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_vmprintf@PLT
	mov	QWORD PTR -256[rbp], rax
	lea	rax, -224[rbp]
	lea	rcx, g[rip+64]
	lea	rdx, .LC2[rip]
	mov	rsi, rax
	mov	edi, 30
	mov	eax, 0
	call	sqlite3_snprintf@PLT
	mov	rax, QWORD PTR g[rip+56]
	test	rax, rax
	je	.L62
	mov	rax, QWORD PTR g[rip+56]
	mov	rdx, QWORD PTR -256[rbp]
	lea	rcx, -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	printWithPrefix
	mov	rax, QWORD PTR g[rip+56]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR g[rip+56]
	mov	rdi, rax
	call	maybeClose
.L62:
	mov	rax, QWORD PTR g[rip+40]
	test	rax, rax
	je	.L63
	mov	rdx, QWORD PTR g[rip+48]
	mov	rax, QWORD PTR g[rip+32]
	mov	rsi, rdx
	mov	rdi, rax
	call	safe_strcmp
	test	eax, eax
	je	.L63
	mov	rax, QWORD PTR g[rip+40]
	mov	rdx, QWORD PTR -256[rbp]
	lea	rcx, -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	printWithPrefix
	mov	rax, QWORD PTR g[rip+40]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR g[rip+40]
	mov	rdi, rax
	call	maybeClose
.L63:
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR g[rip+24]
	test	rax, rax
	je	.L64
	mov	DWORD PTR -260[rbp], 0
	mov	DWORD PTR g[rip+120], 0
	jmp	.L65
.L66:
	mov	edi, 10
	call	sqlite3_sleep@PLT
.L65:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	trySql
	cmp	eax, 5
	jne	.L64
	mov	eax, DWORD PTR -260[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -260[rbp], edx
	cmp	eax, 99
	jle	.L66
.L64:
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE11:
	.size	fatalError, .-fatalError
	.section	.rodata
.LC4:
	.string	"%s: "
	.text
	.type	logMessage, @function
logMessage:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 272
	mov	QWORD PTR -264[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L69
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L69:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -248[rbp], 8
	mov	DWORD PTR -244[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -240[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -232[rbp], rax
	lea	rdx, -248[rbp]
	mov	rax, QWORD PTR -264[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_vmprintf@PLT
	mov	QWORD PTR -256[rbp], rax
	lea	rax, -224[rbp]
	lea	rcx, g[rip+64]
	lea	rdx, .LC4[rip]
	mov	rsi, rax
	mov	edi, 30
	mov	eax, 0
	call	sqlite3_snprintf@PLT
	mov	rax, QWORD PTR g[rip+56]
	test	rax, rax
	je	.L70
	mov	rax, QWORD PTR g[rip+56]
	mov	rdx, QWORD PTR -256[rbp]
	lea	rcx, -224[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	printWithPrefix
	mov	rax, QWORD PTR g[rip+56]
	mov	rdi, rax
	call	fflush@PLT
.L70:
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	logMessage, .-logMessage
	.type	clipLength, @function
clipLength:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L73
.L75:
	sub	DWORD PTR -4[rbp], 1
.L73:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L74
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L75
.L74:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	clipLength, .-clipLength
	.section	.rodata
.LC5:
	.string	"main"
	.text
	.type	vfsNameFunc, @function
vfsNameFunc:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	sqlite3_context_db_handle@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -24[rbp], 0
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	edx, 12
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	sqlite3_file_control@PLT
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	je	.L80
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR sqlite3_free@GOTPCREL[rip]
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_result_text@PLT
.L80:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	vfsNameFunc, .-vfsNameFunc
	.section	.rodata
.LC6:
	.string	"timeout after %dms"
	.text
	.type	busyHandler, @function
busyHandler:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR g[rip+120]
	cmp	edx, eax
	jle	.L82
	mov	eax, DWORD PTR g[rip+120]
	test	eax, eax
	jle	.L83
	mov	eax, DWORD PTR g[rip+120]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	errorMessage
.L83:
	mov	eax, 0
	jmp	.L84
.L82:
	mov	edi, 10
	call	sqlite3_sleep@PLT
	mov	eax, 1
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	busyHandler, .-busyHandler
	.section	.rodata
.LC7:
	.string	"[%.*s]"
	.text
	.type	sqlTraceCallback, @function
sqlTraceCallback:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	clipLength
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	logMessage
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	sqlTraceCallback, .-sqlTraceCallback
	.section	.rodata
.LC8:
	.string	"(info) %s"
.LC9:
	.string	"(errcode=%d) %s"
	.text
	.type	sqlErrorCallback, @function
sqlErrorCallback:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	cmp	DWORD PTR -12[rbp], 1
	jne	.L87
	mov	eax, DWORD PTR g[rip+108]
	test	eax, eax
	jne	.L92
.L87:
	mov	eax, DWORD PTR -12[rbp]
	movzx	eax, al
	cmp	eax, 17
	jne	.L89
	mov	eax, DWORD PTR g[rip+100]
	cmp	eax, 2
	jle	.L93
.L89:
	mov	eax, DWORD PTR g[rip+120]
	test	eax, eax
	jne	.L90
	mov	eax, DWORD PTR -12[rbp]
	movzx	eax, al
	cmp	eax, 5
	jne	.L90
	mov	eax, DWORD PTR g[rip+100]
	cmp	eax, 2
	jle	.L94
.L90:
	mov	eax, DWORD PTR -12[rbp]
	movzx	eax, al
	cmp	eax, 27
	jne	.L91
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	logMessage
	jmp	.L86
.L91:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	errorMessage
	jmp	.L86
.L92:
	nop
	jmp	.L86
.L93:
	nop
	jmp	.L86
.L94:
	nop
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	sqlErrorCallback, .-sqlErrorCallback
	.section	.rodata
.LC10:
	.string	"%s\n%s\n"
	.text
	.type	prepareSql, @function
prepareSql:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	QWORD PTR -248[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L96
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L96:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -224[rbp], 0
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -248[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_vmprintf@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR g[rip+24]
	lea	rdx, -224[rbp]
	mov	rsi, QWORD PTR -216[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare_v2@PLT
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 0
	je	.L97
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	fatalError
.L97:
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	prepareSql, .-prepareSql
	.type	runSql, @function
runSql:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	QWORD PTR -232[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L101
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L101:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_vmprintf@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR g[rip+24]
	mov	rsi, QWORD PTR -216[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -220[rbp], eax
	cmp	DWORD PTR -220[rbp], 0
	je	.L102
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	fatalError
.L102:
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L103
	call	__stack_chk_fail@PLT
.L103:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	runSql, .-runSql
	.type	trySql, @function
trySql:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	QWORD PTR -232[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L105
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L105:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_vmprintf@PLT
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR g[rip+24]
	mov	rsi, QWORD PTR -216[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -220[rbp], eax
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	eax, DWORD PTR -220[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L107
	call	__stack_chk_fail@PLT
.L107:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	trySql, .-trySql
	.type	stringFree, @function
stringFree:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L109
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	sqlite3_free@PLT
.L109:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	stringFree, .-stringFree
	.section	.rodata
.LC11:
	.string	"out of memory"
	.text
	.type	stringAppend, @function
stringAppend:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	cmp	DWORD PTR -36[rbp], 0
	jns	.L111
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -36[rbp], eax
.L111:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jl	.L112
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	add	eax, 100
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sqlite3_realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L113
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	fatalError
.L113:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 12[rax], edx
.L112:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	stringAppend, .-stringAppend
	.section	.rodata
.LC12:
	.string	" "
	.text
	.type	stringReset, @function
stringReset:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L115
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	stringAppend
.L115:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	stringReset, .-stringReset
	.section	.rodata
.LC13:
	.string	"nil"
.LC14:
	.string	"'"
	.text
	.type	stringAppendTerm, @function
stringAppendTerm:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L117
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	stringAppend
.L117:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L118
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 3
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	stringAppend
	jmp	.L116
.L118:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L120
.L122:
	add	DWORD PTR -4[rbp], 1
.L120:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L121
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L122
.L121:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L123
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L123
	mov	edx, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	stringAppend
	jmp	.L116
.L123:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	stringAppend
	jmp	.L124
.L130:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L125
.L127:
	add	DWORD PTR -4[rbp], 1
.L125:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L126
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 39
	jne	.L127
.L126:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L128
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	stringAppend
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	stringAppend
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	add	QWORD PTR -32[rbp], rax
	jmp	.L124
.L128:
	mov	edx, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	stringAppend
	jmp	.L129
.L124:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L130
.L129:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	stringAppend
.L116:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	stringAppendTerm, .-stringAppendTerm
	.type	evalCallback, @function
evalCallback:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L132
.L133:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stringAppendTerm
	add	DWORD PTR -12[rbp], 1
.L132:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L133
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	evalCallback, .-evalCallback
	.section	.rodata
.LC15:
	.string	"the_stack_data/696756.c"
.LC16:
	.string	"g.iTimeout>0"
.LC17:
	.string	"error(%d)"
	.text
	.type	evalSql, @function
evalSql:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	QWORD PTR -288[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L136
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L136:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -264[rbp], 0
	mov	DWORD PTR -248[rbp], 16
	mov	DWORD PTR -244[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -240[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -232[rbp], rax
	lea	rdx, -248[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_vmprintf@PLT
	mov	QWORD PTR -256[rbp], rax
	mov	eax, DWORD PTR g[rip+120]
	test	eax, eax
	jg	.L137
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 494
	lea	rsi, .LC15[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L137:
	mov	rax, QWORD PTR g[rip+24]
	lea	rcx, -264[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	rsi, QWORD PTR -256[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, evalCallback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -268[rbp], eax
	mov	rax, QWORD PTR -256[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	cmp	DWORD PTR -268[rbp], 0
	je	.L138
	mov	edx, DWORD PTR -268[rbp]
	lea	rax, -224[rbp]
	mov	ecx, edx
	lea	rdx, .LC17[rip]
	mov	rsi, rax
	mov	edi, 30
	mov	eax, 0
	call	sqlite3_snprintf@PLT
	lea	rdx, -224[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stringAppendTerm
	mov	rax, QWORD PTR -264[rbp]
	test	rax, rax
	je	.L138
	mov	rdx, QWORD PTR -264[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stringAppendTerm
	mov	rax, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
.L138:
	mov	eax, DWORD PTR -268[rbp]
	mov	rcx, QWORD PTR -184[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L141
	call	__stack_chk_fail@PLT
.L141:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	evalSql, .-evalSql
	.type	evalFunc, @function
evalFunc:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	sqlite3_context_db_handle@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	sqlite3_value_text@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	QWORD PTR -56[rbp], 0
	lea	rax, -32[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -56[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, evalCallback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	je	.L143
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	sqlite3_result_error@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	jmp	.L144
.L143:
	cmp	DWORD PTR -60[rbp], 0
	je	.L145
	mov	edx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sqlite3_result_error_code@PLT
	jmp	.L144
.L145:
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, -1
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_result_text@PLT
.L144:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	stringFree
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L146
	call	__stack_chk_fail@PLT
.L146:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	evalFunc, .-evalFunc
	.section	.rodata
.LC18:
	.string	"BEGIN IMMEDIATE"
.LC19:
	.string	"in startScript: %s"
	.align 8
.LC20:
	.string	"UPDATE counters SET nError=nError+%d, nTest=nTest+%d"
	.align 8
.LC21:
	.string	"SELECT 1 FROM client WHERE id=%d AND wantHalt"
	.align 8
.LC22:
	.string	"DELETE FROM client WHERE id=%d"
.LC23:
	.string	"COMMIT TRANSACTION;"
	.align 8
.LC24:
	.string	"SELECT script, id, name FROM task WHERE client=%d AND starttime IS NULL ORDER BY id LIMIT 1"
.LC25:
	.string	"%s"
	.align 8
.LC26:
	.string	"UPDATE task   SET starttime=strftime('%%Y-%%m-%%d %%H:%%M:%%f','now') WHERE id=%d;"
	.align 8
.LC27:
	.string	"Waited over 30 seconds with no work.  Giving up."
	.align 8
.LC28:
	.string	"DELETE FROM client WHERE id=%d; COMMIT;"
.LC29:
	.string	"COMMIT"
	.text
	.type	startScript, @function
startScript:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -8[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], 0
	mov	DWORD PTR g[rip+120], 0
.L160:
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	trySql
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 5
	jne	.L148
	mov	edi, 10
	call	sqlite3_sleep@PLT
	add	DWORD PTR -24[rbp], 10
	jmp	.L149
.L148:
	cmp	DWORD PTR -20[rbp], 0
	je	.L150
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	fatalError
.L150:
	mov	eax, DWORD PTR g[rip+112]
	test	eax, eax
	jne	.L151
	mov	eax, DWORD PTR g[rip+116]
	test	eax, eax
	je	.L152
.L151:
	mov	edx, DWORD PTR g[rip+116]
	mov	eax, DWORD PTR g[rip+112]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	runSql
	mov	DWORD PTR g[rip+112], 0
	mov	DWORD PTR g[rip+116], 0
.L152:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	prepareSql
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	cmp	DWORD PTR -20[rbp], 100
	jne	.L153
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	runSql
	mov	DWORD PTR g[rip+120], 10000
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	runSql
	mov	eax, 101
	jmp	.L154
.L153:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	prepareSql
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 100
	jne	.L155
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_bytes@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	edi, eax
	call	sqlite3_malloc@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	sqlite3_column_int@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	runSql
	mov	DWORD PTR g[rip+120], 10000
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	runSql
	mov	eax, 0
	jmp	.L154
.L155:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	cmp	DWORD PTR -20[rbp], 101
	jne	.L156
	cmp	DWORD PTR -24[rbp], 30000
	jle	.L158
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	errorMessage
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	runSql
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	edi, 1
	call	exit@PLT
.L159:
	mov	edi, 10
	call	sqlite3_sleep@PLT
	add	DWORD PTR -24[rbp], 10
.L158:
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	trySql
	cmp	eax, 5
	je	.L159
	mov	edi, 100
	call	sqlite3_sleep@PLT
	add	DWORD PTR -24[rbp], 100
	jmp	.L149
.L156:
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	fatalError
.L149:
	jmp	.L160
.L154:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	startScript, .-startScript
	.section	.rodata
	.align 8
.LC30:
	.string	"UPDATE task   SET endtime=strftime('%%Y-%%m-%%d %%H:%%M:%%f','now') WHERE id=%d;"
	.text
	.type	finishScript, @function
finishScript:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	runSql
	cmp	DWORD PTR -12[rbp], 0
	je	.L162
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	runSql
.L162:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	finishScript, .-finishScript
	.section	.rodata
	.align 8
.LC31:
	.string	"INSERT OR IGNORE INTO client VALUES(%d,0)"
	.align 8
.LC32:
	.string	"%s \"%s\" --client %d --trace %d"
.LC33:
	.string	"%z --sqltrace"
.LC34:
	.string	"%z --sync"
.LC35:
	.string	"%z --vfs \"%s\""
.LC36:
	.string	"system('%q')"
.LC37:
	.string	"%z &"
	.align 8
.LC38:
	.string	"system() fails with error code %d"
	.text
	.type	startClient, @function
startClient:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	runSql
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_changes@PLT
	test	eax, eax
	je	.L171
	mov	esi, DWORD PTR g[rip+100]
	mov	rdx, QWORD PTR g[rip+16]
	mov	rax, QWORD PTR g[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR g[rip+104]
	test	eax, eax
	je	.L166
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -8[rbp], rax
.L166:
	mov	eax, DWORD PTR g[rip+124]
	test	eax, eax
	je	.L167
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -8[rbp], rax
.L167:
	mov	rax, QWORD PTR g[rip+8]
	test	rax, rax
	je	.L168
	mov	rdx, QWORD PTR g[rip+8]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -8[rbp], rax
.L168:
	mov	eax, DWORD PTR g[rip+100]
	cmp	eax, 1
	jle	.L169
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	logMessage
.L169:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L170
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	errorMessage
.L170:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
.L171:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	startClient, .-startClient
	.section	.rodata
.LC39:
	.string	"rb"
.LC40:
	.string	"cannot open \"%s\" for reading"
	.text
	.type	readFile, @function
readFile:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L173
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	fatalError
.L173:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -16[rbp]
	add	eax, 1
	mov	edi, eax
	call	sqlite3_malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	readFile, .-readFile
	.type	tokenLength, @function
tokenLength:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -20[rbp], 0
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L176
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L177
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L177
.L176:
	mov	DWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L179
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -20[rbp], 2
	jmp	.L179
.L185:
	cmp	DWORD PTR -4[rbp], 10
	jne	.L180
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
.L180:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L181
	jmp	.L179
.L181:
	cmp	DWORD PTR -16[rbp], 0
	je	.L182
	cmp	DWORD PTR -4[rbp], 42
	jne	.L182
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L182
	add	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 0
	jmp	.L179
.L182:
	cmp	DWORD PTR -16[rbp], 0
	jne	.L183
	cmp	DWORD PTR -4[rbp], 47
	jne	.L183
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L183
	add	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -16[rbp], 1
	jmp	.L179
.L183:
	cmp	DWORD PTR -16[rbp], 0
	je	.L203
.L179:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -20[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L185
	jmp	.L184
.L203:
	nop
.L184:
	sub	DWORD PTR -20[rbp], 1
	jmp	.L186
.L177:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L187
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L187
	mov	DWORD PTR -20[rbp], 2
	jmp	.L188
.L190:
	add	DWORD PTR -20[rbp], 1
.L188:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L189
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L190
.L189:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L186
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -20[rbp], 1
	jmp	.L186
.L187:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L192
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 39
	jne	.L193
.L192:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -20[rbp], 1
	jmp	.L194
.L198:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L195
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
.L195:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -8[rbp], eax
	jne	.L196
	add	DWORD PTR -20[rbp], 1
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -8[rbp], eax
	jne	.L204
.L196:
	add	DWORD PTR -20[rbp], 1
.L194:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L198
	jmp	.L186
.L204:
	nop
	jmp	.L186
.L193:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L199
.L200:
	add	DWORD PTR -20[rbp], 1
.L199:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L186
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L186
	cmp	DWORD PTR -12[rbp], 34
	je	.L186
	cmp	DWORD PTR -12[rbp], 39
	je	.L186
	cmp	DWORD PTR -12[rbp], 59
	jne	.L200
.L186:
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	tokenLength, .-tokenLength
	.type	extractToken, @function
extractToken:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	cmp	DWORD PTR -28[rbp], 0
	jg	.L206
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, 0
	jmp	.L207
.L206:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L208
.L210:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L208:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jge	.L209
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jge	.L209
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L210
.L209:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -4[rbp]
.L207:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	extractToken, .-extractToken
	.section	.rodata
.LC41:
	.string	"--end"
	.text
	.type	findEnd, @function
findEnd:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L212
.L214:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	tokenLength
	add	DWORD PTR -4[rbp], eax
.L212:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L213
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, 5
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L214
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 5[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L214
.L213:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	findEnd, .-findEnd
	.section	.rodata
.LC42:
	.string	"--endif"
.LC43:
	.string	"--else"
.LC44:
	.string	"--if"
	.text
	.type	findEndif, @function
findEndif:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L217
.L223:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	tokenLength
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, 7
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L218
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 7[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L219
.L218:
	cmp	DWORD PTR -28[rbp], 0
	je	.L220
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, 6
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L220
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 6[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L220
.L219:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	jmp	.L221
.L220:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, 4
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L222
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L222
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	rdi, rcx
	call	findEndif
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	add	DWORD PTR -12[rbp], eax
	jmp	.L217
.L222:
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -12[rbp], eax
.L217:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L223
	mov	eax, DWORD PTR -12[rbp]
.L221:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	findEndif, .-findEndif
	.section	.rodata
	.align 8
.LC45:
	.string	"SELECT 1 FROM task WHERE client=%d   AND client IN (SELECT id FROM client)  AND endtime IS NULL"
	.align 8
.LC46:
	.string	"SELECT 1 FROM task WHERE client IN (SELECT id FROM client)   AND endtime IS NULL"
.LC47:
	.string	""
	.align 8
.LC48:
	.string	"%stimeout waiting for client %d"
	.align 8
.LC49:
	.string	"%stimeout waiting for all clients"
	.text
	.type	waitForClient, @function
waitForClient:
.LFB36:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	cmp	DWORD PTR -20[rbp], 0
	jle	.L225
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC45[rip]
	mov	eax, 0
	call	prepareSql
	mov	QWORD PTR -8[rbp], rax
	jmp	.L226
.L225:
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	prepareSql
	mov	QWORD PTR -8[rbp], rax
.L226:
	mov	DWORD PTR g[rip+120], 0
	jmp	.L227
.L230:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_reset@PLT
	mov	edi, 50
	call	sqlite3_sleep@PLT
	sub	DWORD PTR -24[rbp], 50
.L227:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 5
	je	.L228
	cmp	DWORD PTR -12[rbp], 100
	jne	.L229
.L228:
	cmp	DWORD PTR -24[rbp], 0
	jg	.L230
.L229:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	DWORD PTR g[rip+120], 10000
	cmp	DWORD PTR -12[rbp], 101
	je	.L234
	cmp	QWORD PTR -32[rbp], 0
	jne	.L232
	lea	rax, .LC47[rip]
	mov	QWORD PTR -32[rbp], rax
.L232:
	cmp	DWORD PTR -20[rbp], 0
	jle	.L233
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	errorMessage
	jmp	.L234
.L233:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	errorMessage
.L234:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	waitForClient, .-waitForClient
	.type	filenameTail, @function
filenameTail:
.LFB37:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L236
.L238:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L237
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
.L237:
	add	DWORD PTR -8[rbp], 1
.L236:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L238
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	filenameTail, .-filenameTail
	.section	.rodata
.LC50:
	.string	"on"
.LC51:
	.string	"yes"
.LC52:
	.string	"off"
.LC53:
	.string	"no"
.LC54:
	.string	"unknown boolean: [%s]"
	.text
	.type	booleanValue, @function
booleanValue:
.LFB38:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L241
	mov	eax, 0
	jmp	.L242
.L241:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L243
.L245:
	add	DWORD PTR -4[rbp], 1
.L243:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L244
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L245
.L244:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L246
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L246
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L242
.L246:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	sqlite3_stricmp@PLT
	test	eax, eax
	je	.L247
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	call	sqlite3_stricmp@PLT
	test	eax, eax
	jne	.L248
.L247:
	mov	eax, 1
	jmp	.L242
.L248:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC52[rip]
	mov	rdi, rax
	call	sqlite3_stricmp@PLT
	test	eax, eax
	je	.L249
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC53[rip]
	mov	rdi, rax
	call	sqlite3_stricmp@PLT
	test	eax, eax
	jne	.L250
.L249:
	mov	eax, 0
	jmp	.L242
.L250:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC54[rip]
	mov	eax, 0
	call	errorMessage
	mov	eax, 0
.L242:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	booleanValue, .-booleanValue
	.type	test_breakpoint, @function
test_breakpoint:
.LFB39:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR cnt.1[rip]
	add	eax, 1
	mov	DWORD PTR cnt.1[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	test_breakpoint, .-test_breakpoint
	.section	.rodata
.LC55:
	.string	"%.*s"
.LC56:
	.string	"sleep"
.LC57:
	.string	"exit"
.LC58:
	.string	"testcase"
.LC59:
	.string	"finish"
.LC60:
	.string	"reset"
.LC61:
	.string	"match"
	.align 8
.LC62:
	.string	"line %d of %s:\nExpected [%.*s]\n     Got [%s]"
.LC63:
	.string	"glob"
.LC64:
	.string	"notglob"
	.align 8
.LC65:
	.string	"line %d of %s:\nExpected [%s]\n     Got [%s]"
.LC66:
	.string	"output"
.LC67:
	.string	"source"
.LC68:
	.string	"%.*s/%s"
.LC69:
	.string	"begin script [%s]\n"
.LC70:
	.string	"end script [%s]\n"
.LC71:
	.string	"print"
.LC72:
	.string	"if"
.LC73:
	.string	"SELECT %.*s"
.LC74:
	.string	"else"
.LC75:
	.string	"endif"
.LC76:
	.string	"start"
.LC77:
	.string	"wait"
.LC78:
	.string	"line %d of %s\n"
.LC79:
	.string	"task"
	.align 8
.LC80:
	.string	"line %d of %s: bad client number: %d"
.LC81:
	.string	"%s:%d"
	.align 8
.LC82:
	.string	"INSERT INTO task(client,script,name) VALUES(%d,'%q',%Q)"
.LC83:
	.string	"breakpoint"
.LC84:
	.string	"show-sql-errors"
	.align 8
.LC85:
	.string	"line %d of %s: unknown command --%s"
	.text
	.type	runScript, @function
runScript:
.LFB40:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1472
	mov	DWORD PTR -1444[rbp], edi
	mov	DWORD PTR -1448[rbp], esi
	mov	QWORD PTR -1456[rbp], rdx
	mov	QWORD PTR -1464[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1436[rbp], 1
	mov	DWORD PTR -1388[rbp], 1
	mov	DWORD PTR -1432[rbp], 0
	mov	DWORD PTR -1428[rbp], 0
	lea	rax, -1264[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1264[rbp]
	mov	rdi, rax
	call	stringReset
	jmp	.L253
.L323:
	mov	eax, DWORD PTR -1436[rbp]
	mov	DWORD PTR -1388[rbp], eax
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	lea	rax, -1436[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	tokenLength
	mov	DWORD PTR -1416[rbp], eax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1384[rbp]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L254
	cmp	DWORD PTR -1384[rbp], 47
	jne	.L255
	mov	eax, DWORD PTR -1432[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	jne	.L255
.L254:
	mov	eax, DWORD PTR -1416[rbp]
	add	DWORD PTR -1432[rbp], eax
	jmp	.L253
.L255:
	cmp	DWORD PTR -1384[rbp], 45
	jne	.L256
	mov	eax, DWORD PTR -1432[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L256
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1432[rbp]
	cdqe
	lea	rcx, 2[rax]
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L257
.L256:
	mov	eax, DWORD PTR -1416[rbp]
	add	DWORD PTR -1432[rbp], eax
	jmp	.L253
.L257:
	mov	eax, DWORD PTR -1432[rbp]
	cmp	eax, DWORD PTR -1428[rbp]
	jle	.L258
	mov	eax, DWORD PTR -1428[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1432[rbp]
	sub	eax, DWORD PTR -1428[rbp]
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -1320[rbp], rax
	mov	rdx, QWORD PTR -1320[rbp]
	lea	rax, -1264[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	evalSql
	mov	rax, QWORD PTR -1320[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	edx, DWORD PTR -1432[rbp]
	mov	eax, DWORD PTR -1416[rbp]
	add	eax, edx
	mov	DWORD PTR -1428[rbp], eax
.L258:
	mov	eax, DWORD PTR g[rip+100]
	cmp	eax, 1
	jle	.L259
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1416[rbp]
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	logMessage
.L259:
	mov	eax, DWORD PTR -1416[rbp]
	lea	esi, -2[rax]
	mov	eax, DWORD PTR -1432[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -1456[rbp]
	lea	rdi, [rdx+rax]
	lea	rax, -1040[rbp]
	mov	ecx, 30
	mov	rdx, rax
	call	extractToken
	mov	DWORD PTR -1424[rbp], eax
	mov	DWORD PTR -1412[rbp], 0
	jmp	.L260
.L263:
	add	DWORD PTR -1424[rbp], 1
.L261:
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, 2
	cmp	DWORD PTR -1424[rbp], eax
	jge	.L262
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1432[rbp]
	lea	ecx, 2[rax]
	mov	eax, DWORD PTR -1424[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L263
.L262:
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, 2
	cmp	DWORD PTR -1424[rbp], eax
	jge	.L326
	lea	rcx, -1248[rbp]
	mov	eax, DWORD PTR -1412[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, 2
	sub	eax, DWORD PTR -1424[rbp]
	mov	ecx, DWORD PTR -1432[rbp]
	movsx	rsi, ecx
	mov	ecx, DWORD PTR -1424[rbp]
	movsx	rcx, ecx
	add	rcx, rsi
	lea	rsi, 2[rcx]
	mov	rcx, QWORD PTR -1456[rbp]
	lea	rdi, [rsi+rcx]
	mov	ecx, 100
	mov	esi, eax
	call	extractToken
	add	DWORD PTR -1424[rbp], eax
	add	DWORD PTR -1412[rbp], 1
.L260:
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, 2
	cmp	DWORD PTR -1424[rbp], eax
	jge	.L265
	cmp	DWORD PTR -1412[rbp], 1
	jle	.L261
	jmp	.L265
.L326:
	nop
.L265:
	mov	eax, DWORD PTR -1412[rbp]
	mov	DWORD PTR -1420[rbp], eax
	jmp	.L267
.L268:
	mov	eax, DWORD PTR -1420[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -1420[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 1248
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -1420[rbp], 1
.L267:
	cmp	DWORD PTR -1420[rbp], 1
	jle	.L268
	lea	rax, -1040[rbp]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L269
	lea	rax, -1248[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edi, eax
	call	sqlite3_sleep@PLT
	jmp	.L270
.L269:
	lea	rax, -1040[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L271
	lea	rax, -1248[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1356[rbp], eax
	mov	ecx, DWORD PTR -1448[rbp]
	mov	eax, DWORD PTR -1444[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	edi, eax
	call	finishScript
	cmp	DWORD PTR -1356[rbp], 0
	jne	.L272
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_close@PLT
.L272:
	mov	eax, DWORD PTR -1356[rbp]
	mov	edi, eax
	call	exit@PLT
.L271:
	lea	rax, -1040[rbp]
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L273
	mov	eax, DWORD PTR g[rip+100]
	cmp	eax, 1
	jne	.L274
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	logMessage
.L274:
	lea	rax, -1264[rbp]
	mov	rdi, rax
	call	stringReset
	jmp	.L270
.L273:
	lea	rax, -1040[rbp]
	lea	rsi, .LC59[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L275
	cmp	DWORD PTR -1444[rbp], 0
	jle	.L275
	mov	ecx, DWORD PTR -1448[rbp]
	mov	eax, DWORD PTR -1444[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	edi, eax
	call	finishScript
	jmp	.L270
.L275:
	lea	rax, -1040[rbp]
	lea	rsi, .LC60[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L276
	lea	rax, -1264[rbp]
	mov	rdi, rax
	call	stringReset
	jmp	.L270
.L276:
	lea	rax, -1040[rbp]
	lea	rsi, .LC61[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L277
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rdx
	mov	QWORD PTR -1272[rbp], rax
	mov	DWORD PTR -1408[rbp], 7
	jmp	.L278
.L280:
	add	DWORD PTR -1408[rbp], 1
.L278:
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1408[rbp], eax
	jge	.L279
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1408[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -1272[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L280
.L279:
	mov	eax, DWORD PTR -1408[rbp]
	cdqe
	add	QWORD PTR -1272[rbp], rax
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, DWORD PTR -1408[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -1256[rbp]
	cmp	edx, eax
	jne	.L281
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, DWORD PTR -1408[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, QWORD PTR -1264[rbp]
	mov	rcx, QWORD PTR -1272[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L282
.L281:
	mov	rdi, QWORD PTR -1264[rbp]
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, DWORD PTR -1408[rbp]
	lea	ecx, -1[rax]
	mov	rsi, QWORD PTR -1272[rbp]
	mov	rdx, QWORD PTR -1464[rbp]
	mov	eax, DWORD PTR -1388[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC62[rip]
	mov	eax, 0
	call	errorMessage
.L282:
	mov	eax, DWORD PTR g[rip+116]
	add	eax, 1
	mov	DWORD PTR g[rip+116], eax
	lea	rax, -1264[rbp]
	mov	rdi, rax
	call	stringReset
	jmp	.L270
.L277:
	lea	rax, -1040[rbp]
	lea	rsi, .LC63[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L283
	lea	rax, -1040[rbp]
	lea	rsi, .LC64[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L284
.L283:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rdx
	mov	QWORD PTR -1288[rbp], rax
	movzx	eax, BYTE PTR -1040[rbp]
	cmp	al, 103
	sete	al
	movzx	eax, al
	mov	DWORD PTR -1360[rbp], eax
	mov	eax, DWORD PTR -1360[rbp]
	mov	ecx, eax
	lea	edx, 0[0+rax*4]
	mov	eax, ecx
	sub	eax, edx
	add	eax, 9
	mov	DWORD PTR -1404[rbp], eax
	jmp	.L285
.L287:
	add	DWORD PTR -1404[rbp], 1
.L285:
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, 1
	cmp	DWORD PTR -1404[rbp], eax
	jge	.L286
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1404[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -1288[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L287
.L286:
	mov	eax, DWORD PTR -1404[rbp]
	cdqe
	add	QWORD PTR -1288[rbp], rax
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, DWORD PTR -1404[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR -1288[rbp]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -1280[rbp], rax
	mov	rdx, QWORD PTR -1264[rbp]
	mov	rax, QWORD PTR -1280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_strglob@PLT
	test	eax, eax
	sete	al
	movzx	eax, al
	cmp	DWORD PTR -1360[rbp], eax
	je	.L288
	mov	rsi, QWORD PTR -1264[rbp]
	mov	rcx, QWORD PTR -1280[rbp]
	mov	rdx, QWORD PTR -1464[rbp]
	mov	eax, DWORD PTR -1388[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC65[rip]
	mov	eax, 0
	call	errorMessage
.L288:
	mov	rax, QWORD PTR -1280[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	eax, DWORD PTR g[rip+116]
	add	eax, 1
	mov	DWORD PTR g[rip+116], eax
	lea	rax, -1264[rbp]
	mov	rdi, rax
	call	stringReset
	jmp	.L270
.L284:
	lea	rax, -1040[rbp]
	lea	rsi, .LC66[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L289
	mov	rax, QWORD PTR -1264[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	logMessage
	jmp	.L270
.L289:
	lea	rax, -1040[rbp]
	lea	rsi, .LC67[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L290
	mov	QWORD PTR -1344[rbp], 0
	lea	rax, -1248[rbp]
	mov	QWORD PTR -1352[rbp], rax
	mov	rax, QWORD PTR -1352[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L291
	mov	rax, QWORD PTR -1464[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -1400[rbp], eax
	jmp	.L292
.L294:
	sub	DWORD PTR -1400[rbp], 1
.L292:
	cmp	DWORD PTR -1400[rbp], 0
	js	.L293
	mov	eax, DWORD PTR -1400[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1464[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L294
.L293:
	cmp	DWORD PTR -1400[rbp], 0
	jle	.L291
	mov	rcx, QWORD PTR -1352[rbp]
	mov	rdx, QWORD PTR -1464[rbp]
	mov	eax, DWORD PTR -1400[rbp]
	mov	esi, eax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -1344[rbp], rax
	mov	rax, QWORD PTR -1344[rbp]
	mov	QWORD PTR -1352[rbp], rax
.L291:
	mov	rax, QWORD PTR -1352[rbp]
	mov	rdi, rax
	call	readFile
	mov	QWORD PTR -1296[rbp], rax
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	je	.L295
	mov	rax, QWORD PTR -1352[rbp]
	mov	rsi, rax
	lea	rdi, .LC69[rip]
	mov	eax, 0
	call	logMessage
.L295:
	mov	rdx, QWORD PTR -1352[rbp]
	mov	rax, QWORD PTR -1296[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	runScript
	mov	rax, QWORD PTR -1296[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	je	.L296
	mov	rax, QWORD PTR -1352[rbp]
	mov	rsi, rax
	lea	rdi, .LC70[rip]
	mov	eax, 0
	call	logMessage
.L296:
	mov	rax, QWORD PTR -1344[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	jmp	.L270
.L290:
	lea	rax, -1040[rbp]
	lea	rsi, .LC71[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L297
	mov	DWORD PTR -1396[rbp], 7
	jmp	.L298
.L300:
	add	DWORD PTR -1396[rbp], 1
.L298:
	mov	eax, DWORD PTR -1396[rbp]
	cmp	eax, DWORD PTR -1416[rbp]
	jge	.L299
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -1432[rbp]
	mov	eax, DWORD PTR -1396[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L300
.L299:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1396[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, DWORD PTR -1396[rbp]
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	logMessage
	jmp	.L270
.L297:
	lea	rax, -1040[rbp]
	lea	rsi, .LC72[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L301
	mov	DWORD PTR -1392[rbp], 4
	jmp	.L302
.L304:
	add	DWORD PTR -1392[rbp], 1
.L302:
	mov	eax, DWORD PTR -1392[rbp]
	cmp	eax, DWORD PTR -1416[rbp]
	jge	.L303
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -1432[rbp]
	mov	eax, DWORD PTR -1392[rbp]
	add	eax, ecx
	movsx	rcx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L304
.L303:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1392[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1416[rbp]
	sub	eax, DWORD PTR -1392[rbp]
	mov	esi, eax
	lea	rdi, .LC73[rip]
	mov	eax, 0
	call	prepareSql
	mov	QWORD PTR -1304[rbp], rax
	mov	rax, QWORD PTR -1304[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -1364[rbp], eax
	cmp	DWORD PTR -1364[rbp], 100
	jne	.L305
	mov	rax, QWORD PTR -1304[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_int@PLT
	test	eax, eax
	jne	.L306
.L305:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1416[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -1456[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -1436[rbp]
	mov	rdx, rax
	mov	esi, 1
	mov	rdi, rcx
	call	findEndif
	add	DWORD PTR -1432[rbp], eax
.L306:
	mov	rax, QWORD PTR -1304[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	jmp	.L270
.L301:
	lea	rax, -1040[rbp]
	lea	rsi, .LC74[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L307
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1416[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -1456[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -1436[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	rdi, rcx
	call	findEndif
	add	DWORD PTR -1432[rbp], eax
	jmp	.L270
.L307:
	lea	rax, -1040[rbp]
	lea	rsi, .LC75[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L270
	lea	rax, -1040[rbp]
	lea	rsi, .LC76[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L308
	cmp	DWORD PTR -1444[rbp], 0
	jne	.L308
	lea	rax, -1248[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1380[rbp], eax
	cmp	DWORD PTR -1380[rbp], 0
	jle	.L327
	mov	eax, DWORD PTR -1380[rbp]
	mov	edi, eax
	call	startClient
	jmp	.L327
.L308:
	lea	rax, -1040[rbp]
	lea	rsi, .LC77[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L310
	cmp	DWORD PTR -1444[rbp], 0
	jne	.L310
	cmp	DWORD PTR -1412[rbp], 1
	jle	.L311
	lea	rax, -1248[rbp]
	add	rax, 100
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L312
.L311:
	mov	eax, 10000
.L312:
	mov	DWORD PTR -1376[rbp], eax
	mov	rcx, QWORD PTR -1464[rbp]
	mov	edx, DWORD PTR -1388[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rcx
	mov	ecx, edx
	lea	rdx, .LC78[rip]
	mov	rsi, rax
	mov	edi, 1000
	mov	eax, 0
	call	sqlite3_snprintf@PLT
	lea	rax, -1248[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	ecx, eax
	lea	rdx, -1008[rbp]
	mov	eax, DWORD PTR -1376[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	waitForClient
	jmp	.L270
.L310:
	lea	rax, -1040[rbp]
	lea	rsi, .LC79[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L313
	cmp	DWORD PTR -1444[rbp], 0
	jne	.L313
	lea	rax, -1248[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1372[rbp], eax
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1416[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	lea	rax, -1436[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	findEnd
	mov	DWORD PTR -1368[rbp], eax
	cmp	DWORD PTR -1372[rbp], 0
	jns	.L314
	mov	ecx, DWORD PTR -1372[rbp]
	mov	rdx, QWORD PTR -1464[rbp]
	mov	eax, DWORD PTR -1388[rbp]
	mov	esi, eax
	lea	rdi, .LC80[rip]
	mov	eax, 0
	call	errorMessage
	jmp	.L315
.L314:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1416[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1368[rbp]
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -1312[rbp], rax
	cmp	DWORD PTR -1412[rbp], 1
	jle	.L316
	lea	rax, -1248[rbp]
	add	rax, 100
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -1336[rbp], rax
	jmp	.L317
.L316:
	mov	rax, QWORD PTR -1464[rbp]
	mov	rdi, rax
	call	filenameTail
	mov	rcx, rax
	mov	eax, DWORD PTR -1388[rbp]
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC81[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -1336[rbp], rax
.L317:
	mov	eax, DWORD PTR -1372[rbp]
	mov	edi, eax
	call	startClient
	mov	rcx, QWORD PTR -1336[rbp]
	mov	rdx, QWORD PTR -1312[rbp]
	mov	eax, DWORD PTR -1372[rbp]
	mov	esi, eax
	lea	rdi, .LC82[rip]
	mov	eax, 0
	call	runSql
	mov	rax, QWORD PTR -1312[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR -1336[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
.L315:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1416[rbp]
	cdqe
	add	rdx, rax
	mov	eax, DWORD PTR -1368[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	lea	rax, -1436[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	tokenLength
	add	DWORD PTR -1368[rbp], eax
	mov	eax, DWORD PTR -1368[rbp]
	add	DWORD PTR -1416[rbp], eax
	mov	edx, DWORD PTR -1432[rbp]
	mov	eax, DWORD PTR -1416[rbp]
	add	eax, edx
	mov	DWORD PTR -1428[rbp], eax
	jmp	.L270
.L313:
	lea	rax, -1040[rbp]
	lea	rsi, .LC83[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L318
	call	test_breakpoint
	jmp	.L270
.L318:
	lea	rax, -1040[rbp]
	lea	rsi, .LC84[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L319
	cmp	DWORD PTR -1412[rbp], 0
	jle	.L320
	lea	rax, -1248[rbp]
	mov	rdi, rax
	call	booleanValue
	test	eax, eax
	jne	.L321
.L320:
	mov	eax, 1
	jmp	.L322
.L321:
	mov	eax, 0
.L322:
	mov	DWORD PTR g[rip+108], eax
	jmp	.L270
.L319:
	lea	rcx, -1040[rbp]
	mov	rdx, QWORD PTR -1464[rbp]
	mov	eax, DWORD PTR -1388[rbp]
	mov	esi, eax
	lea	rdi, .LC85[rip]
	mov	eax, 0
	call	errorMessage
	jmp	.L270
.L327:
	nop
.L270:
	mov	eax, DWORD PTR -1416[rbp]
	add	DWORD PTR -1432[rbp], eax
.L253:
	mov	eax, DWORD PTR -1432[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -1384[rbp], eax
	cmp	DWORD PTR -1384[rbp], 0
	jne	.L323
	mov	eax, DWORD PTR -1428[rbp]
	cmp	eax, DWORD PTR -1432[rbp]
	jge	.L324
	mov	eax, DWORD PTR -1428[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -1432[rbp]
	sub	eax, DWORD PTR -1428[rbp]
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -1328[rbp], rax
	mov	rax, QWORD PTR -1328[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	runSql
	mov	rax, QWORD PTR -1328[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
.L324:
	lea	rax, -1264[rbp]
	mov	rdi, rax
	call	stringFree
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L325
	call	__stack_chk_fail@PLT
.L325:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	runScript, .-runScript
	.section	.rodata
.LC86:
	.string	"hasArg==0 || hasArg==1"
	.align 8
.LC87:
	.string	"command-line option \"--%s\" requires an argument"
	.text
	.type	findOption, @function
findOption:
.LFB41:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -60[rbp], ecx
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	je	.L329
	cmp	DWORD PTR -60[rbp], 1
	je	.L329
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 1211
	lea	rsi, .LC15[rip]
	lea	rdi, .LC86[rip]
	call	__assert_fail@PLT
.L329:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L330
.L343:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	cmp	DWORD PTR -20[rbp], eax
	jle	.L344
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L345
	add	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L335
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L346
	add	QWORD PTR -8[rbp], 1
.L335:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L334
	cmp	DWORD PTR -60[rbp], 0
	je	.L337
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jne	.L337
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC87[rip]
	mov	eax, 0
	call	fatalError
.L337:
	cmp	DWORD PTR -60[rbp], 0
	je	.L338
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L339
.L338:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L339:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	cmp	DWORD PTR -60[rbp], 0
	setne	al
	movzx	eax, al
	add	eax, edx
	mov	DWORD PTR -24[rbp], eax
	jmp	.L340
.L341:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -24[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rdx], rax
.L340:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L341
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L342
.L345:
	nop
.L334:
	add	DWORD PTR -28[rbp], 1
.L330:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L343
	jmp	.L332
.L344:
	nop
	jmp	.L332
.L346:
	nop
.L332:
	mov	rax, QWORD PTR -16[rbp]
.L342:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE41:
	.size	findOption, .-findOption
	.section	.rodata
	.align 8
.LC88:
	.string	"Usage: %s DATABASE ?OPTIONS? ?SCRIPT?\n"
	.align 8
.LC89:
	.ascii	"Options:\n   --errlog FILENAME           Write errors to FIL"
	.ascii	"ENAME\n   --journalmode MODE          Use MODE as the journa"
	.ascii	"l_mode\n   --log FILENAME              Log messages to FILEN"
	.ascii	"AME\n   --quiet                     Suppress unnecessary out"
	.ascii	"put\n   --vfs NAME                  Use NAME as the VFS\n   "
	.ascii	"--repeat N           "
	.string	"       Repeat the test N times\n   --sqltrace                  Enable SQL tracing\n   --sync                      Enable synchronous disk writes\n   --timeout MILLISEC          Busy timeout is MILLISEC\n   --trace BOOLEAN             Enable or disable tracing\n"
	.text
	.type	usage, @function
usage:
.LFB42:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L348
.L350:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L349
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
.L349:
	add	DWORD PTR -12[rbp], 1
.L348:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L350
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC88[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 571
	mov	esi, 1
	lea	rdi, .LC89[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE42:
	.size	usage, .-usage
	.section	.rodata
.LC90:
	.string	"%s: unrecognized arguments:"
.LC91:
	.string	" %s"
	.text
	.type	unrecognizedArguments, @function
unrecognizedArguments:
.LFB43:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC90[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L352
.L353:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC91[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -4[rbp], 1
.L352:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L353
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE43:
	.size	unrecognizedArguments, .-unrecognizedArguments
	.section	.rodata
.LC92:
	.string	"*.test"
	.align 8
.LC93:
	.string	"2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837balt1"
	.align 8
.LC94:
	.string	"SQLite library and header mismatch\nLibrary: %s\nHeader:  %s\n"
.LC95:
	.string	"%05d.mptest"
.LC96:
	.string	"journalmode"
.LC97:
	.string	"repeat"
.LC98:
	.string	"vfs"
.LC99:
	.string	"client"
.LC100:
	.string	"errlog"
.LC101:
	.string	"log"
.LC102:
	.string	"trace"
.LC103:
	.string	"quiet"
.LC104:
	.string	"timeout"
.LC105:
	.string	"sqltrace"
.LC106:
	.string	"sync"
.LC107:
	.string	"a"
.LC108:
	.string	"illegal client number: %d\n"
.LC109:
	.string	"%05d.client%02d"
.LC110:
	.string	"BEGIN: %s"
	.align 8
.LC111:
	.string	"With SQLite 3.31.1 2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837balt1"
.LC112:
	.string	"-DSQLITE_%s\n"
.LC113:
	.string	"still "
.LC114:
	.string	"... %strying to unlink '%s'\n"
	.align 8
.LC115:
	.string	"unable to unlink '%s' after %d attempts\n"
.LC116:
	.string	"cannot open [%s]"
.LC117:
	.string	"PRAGMA journal_mode=%Q;"
.LC118:
	.string	"PRAGMA synchronous=OFF"
.LC119:
	.string	"vfsname"
.LC120:
	.string	"eval"
.LC121:
	.string	"start-client"
.LC122:
	.string	"begin %s (%d)"
.LC123:
	.string	"end %s (%d)"
.LC124:
	.string	"end-client"
.LC125:
	.string	"missing script filename"
	.align 8
.LC126:
	.ascii	"DROP TABLE IF EXISTS task;\nDROP TABLE IF EXISTS counters;\n"
	.ascii	"DROP TABLE IF EXISTS client;\nCREATE TABLE task(\n  id INTEG"
	.ascii	"ER PRIMARY KEY,\n  name TEXT,\n  client INTEGER,\n  starttim"
	.ascii	"e DATE"
	.string	",\n  endtime DATE,\n  script TEXT\n);CREATE INDEX task_i1 ON task(client, starttime);\nCREATE INDEX task_i2 ON task(client, endtime);\nCREATE TABLE counters(nError,nTest);\nINSERT INTO counters VALUES(0,0);\nCREATE TABLE client(id INTEGER PRIMARY KEY, wantHalt);\n"
.LC127:
	.string	"begin script [%s] cycle %d\n"
.LC128:
	.string	"end script [%s] cycle %d\n"
.LC129:
	.string	"during shutdown...\n"
.LC130:
	.string	"UPDATE client SET wantHalt=1"
.LC131:
	.string	"SELECT 1 FROM client"
	.align 8
.LC132:
	.string	"SELECT nError, nTest FROM counters"
	.align 8
.LC133:
	.string	"Summary: %d errors out of %d tests\n"
.LC134:
	.string	"END: %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB44:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -108[rbp], 2
	mov	DWORD PTR -100[rbp], 1
	mov	DWORD PTR -92[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR g[rip], rax
	mov	DWORD PTR g[rip+100], 1
	cmp	DWORD PTR -132[rbp], 1
	jg	.L355
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
.L355:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR g[rip+16], rax
	mov	rax, QWORD PTR g[rip+16]
	mov	rsi, rax
	lea	rdi, .LC92[rip]
	call	strglob
	test	eax, eax
	je	.L356
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
.L356:
	call	sqlite3_sourceid@PLT
	lea	rsi, .LC93[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L357
	call	sqlite3_sourceid@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, .LC93[rip]
	lea	rsi, .LC94[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L357:
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 2
	mov	DWORD PTR -124[rbp], eax
	call	getpid@PLT
	mov	ecx, eax
	lea	rdx, .LC95[rip]
	lea	rsi, g[rip+64]
	mov	edi, 32
	mov	eax, 0
	call	sqlite3_snprintf@PLT
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC96[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC97[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L358
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -100[rbp], eax
.L358:
	cmp	DWORD PTR -100[rbp], 0
	jg	.L359
	mov	DWORD PTR -100[rbp], 1
.L359:
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC98[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR g[rip+8], rax
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC99[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC100[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR g[rip+32], rax
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC101[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR g[rip+48], rax
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC102[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L360
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR g[rip+100], eax
.L360:
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 0
	lea	rdx, .LC103[rip]
	mov	rsi, rax
	call	findOption
	test	rax, rax
	je	.L361
	mov	DWORD PTR g[rip+100], 0
.L361:
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 1
	lea	rdx, .LC104[rip]
	mov	rsi, rax
	call	findOption
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L362
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -92[rbp], eax
.L362:
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 0
	lea	rdx, .LC105[rip]
	mov	rsi, rax
	call	findOption
	test	rax, rax
	setne	al
	movzx	eax, al
	mov	DWORD PTR g[rip+104], eax
	mov	rax, QWORD PTR -144[rbp]
	lea	rdi, 16[rax]
	lea	rax, -124[rbp]
	mov	ecx, 0
	lea	rdx, .LC106[rip]
	mov	rsi, rax
	call	findOption
	test	rax, rax
	setne	al
	movzx	eax, al
	mov	DWORD PTR g[rip+124], eax
	mov	rax, QWORD PTR g[rip+32]
	test	rax, rax
	je	.L363
	mov	rax, QWORD PTR g[rip+32]
	lea	rsi, .LC107[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR g[rip+40], rax
	jmp	.L364
.L363:
	mov	rax, QWORD PTR stderr[rip]
	mov	QWORD PTR g[rip+40], rax
.L364:
	mov	rax, QWORD PTR g[rip+48]
	test	rax, rax
	je	.L365
	mov	rax, QWORD PTR g[rip+48]
	lea	rsi, .LC107[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR g[rip+56], rax
	jmp	.L366
.L365:
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR g[rip+56], rax
.L366:
	mov	edx, 0
	lea	rsi, sqlErrorCallback[rip]
	mov	edi, 16
	mov	eax, 0
	call	sqlite3_config@PLT
	cmp	QWORD PTR -48[rbp], 0
	je	.L367
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 0
	jg	.L368
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC108[rip]
	mov	eax, 0
	call	fatalError
.L368:
	call	getpid@PLT
	mov	edx, DWORD PTR -116[rbp]
	mov	r8d, edx
	mov	ecx, eax
	lea	rdx, .LC109[rip]
	lea	rsi, g[rip+64]
	mov	edi, 32
	mov	eax, 0
	call	sqlite3_snprintf@PLT
	jmp	.L369
.L367:
	mov	DWORD PTR -88[rbp], 0
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	jle	.L370
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC110[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 1
	jmp	.L371
.L372:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC91[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -112[rbp], 1
.L371:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L372
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC111[rip]
	call	puts@PLT
	mov	DWORD PTR -112[rbp], 0
	jmp	.L373
.L374:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC112[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -112[rbp], 1
.L373:
	mov	eax, DWORD PTR -112[rbp]
	mov	edi, eax
	call	sqlite3_compileoption_get@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L374
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L370:
	mov	DWORD PTR -116[rbp], 0
.L380:
	mov	edx, DWORD PTR -88[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cmp	eax, 4
	jne	.L375
	mov	rdx, QWORD PTR g[rip+16]
	cmp	DWORD PTR -88[rbp], 5
	jle	.L376
	lea	rax, .LC113[rip]
	jmp	.L377
.L376:
	lea	rax, .LC47[rip]
.L377:
	mov	rsi, rax
	lea	rdi, .LC114[rip]
	mov	eax, 0
	call	printf@PLT
.L375:
	mov	rax, QWORD PTR g[rip+16]
	mov	rdi, rax
	call	unlink@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 0
	je	.L378
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L378
	mov	DWORD PTR -104[rbp], 0
.L378:
	cmp	DWORD PTR -104[rbp], 0
	je	.L379
	add	DWORD PTR -88[rbp], 1
	cmp	DWORD PTR -88[rbp], 59
	jg	.L379
	mov	edi, 1000
	call	sqlite3_sleep@PLT
	test	eax, eax
	jg	.L380
.L379:
	cmp	DWORD PTR -104[rbp], 0
	je	.L381
	mov	rax, QWORD PTR g[rip+16]
	mov	edx, DWORD PTR -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC115[rip]
	mov	eax, 0
	call	fatalError
.L381:
	or	DWORD PTR -108[rbp], 4
.L369:
	mov	rcx, QWORD PTR g[rip+8]
	mov	rax, QWORD PTR g[rip+16]
	mov	edx, DWORD PTR -108[rbp]
	lea	rsi, g[rip+24]
	mov	rdi, rax
	call	sqlite3_open_v2@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 0
	je	.L382
	mov	rax, QWORD PTR g[rip+16]
	mov	rsi, rax
	lea	rdi, .LC116[rip]
	mov	eax, 0
	call	fatalError
.L382:
	cmp	DWORD PTR -92[rbp], 0
	jle	.L383
	mov	rax, QWORD PTR g[rip+24]
	mov	edx, DWORD PTR -92[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sqlite3_busy_timeout@PLT
.L383:
	cmp	QWORD PTR -64[rbp], 0
	je	.L384
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC117[rip]
	mov	eax, 0
	call	runSql
.L384:
	mov	eax, DWORD PTR g[rip+124]
	test	eax, eax
	jne	.L385
	lea	rdi, .LC118[rip]
	mov	eax, 0
	call	trySql
.L385:
	mov	rax, QWORD PTR g[rip+24]
	mov	esi, 1
	mov	rdi, rax
	call	sqlite3_enable_load_extension@PLT
	mov	rax, QWORD PTR g[rip+24]
	mov	edx, 0
	lea	rsi, busyHandler[rip]
	mov	rdi, rax
	call	sqlite3_busy_handler@PLT
	mov	rax, QWORD PTR g[rip+24]
	push	0
	push	0
	lea	r9, vfsNameFunc[rip]
	mov	r8d, 0
	mov	ecx, 1
	mov	edx, 0
	lea	rsi, .LC119[rip]
	mov	rdi, rax
	call	sqlite3_create_function@PLT
	add	rsp, 16
	mov	rax, QWORD PTR g[rip+24]
	push	0
	push	0
	lea	r9, evalFunc[rip]
	mov	r8d, 0
	mov	ecx, 1
	mov	edx, 1
	lea	rsi, .LC120[rip]
	mov	rdi, rax
	call	sqlite3_create_function@PLT
	add	rsp, 16
	mov	DWORD PTR g[rip+120], 10000
	mov	eax, DWORD PTR g[rip+104]
	test	eax, eax
	je	.L386
	mov	rax, QWORD PTR g[rip+24]
	mov	edx, 0
	lea	rsi, sqlTraceCallback[rip]
	mov	rdi, rax
	call	sqlite3_trace@PLT
.L386:
	cmp	DWORD PTR -116[rbp], 0
	jle	.L387
	mov	eax, DWORD PTR -124[rbp]
	test	eax, eax
	jle	.L388
	mov	rax, QWORD PTR -144[rbp]
	lea	rdx, 16[rax]
	mov	ecx, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, ecx
	mov	rdi, rax
	call	unrecognizedArguments
.L388:
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	je	.L395
	lea	rdi, .LC121[rip]
	mov	eax, 0
	call	logMessage
.L395:
	mov	QWORD PTR -72[rbp], 0
	lea	rcx, -72[rbp]
	lea	rdx, -120[rbp]
	lea	rsi, -80[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	edi, eax
	call	startScript
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 101
	jne	.L390
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	jne	.L391
	jmp	.L392
.L390:
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	je	.L393
	mov	edx, DWORD PTR -120[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC122[rip]
	mov	eax, 0
	call	logMessage
.L393:
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	esi, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	edi, eax
	call	runScript
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	je	.L394
	mov	edx, DWORD PTR -120[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC123[rip]
	mov	eax, 0
	call	logMessage
.L394:
	mov	ecx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	finishScript
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	edi, 10
	call	sqlite3_sleep@PLT
	jmp	.L395
.L391:
	lea	rdi, .LC124[rip]
	mov	eax, 0
	call	logMessage
	jmp	.L392
.L387:
	mov	eax, DWORD PTR -124[rbp]
	test	eax, eax
	jne	.L396
	lea	rdi, .LC125[rip]
	mov	eax, 0
	call	fatalError
.L396:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, 1
	jle	.L397
	mov	rax, QWORD PTR -144[rbp]
	lea	rdx, 16[rax]
	mov	ecx, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, ecx
	mov	rdi, rax
	call	unrecognizedArguments
.L397:
	lea	rdi, .LC126[rip]
	mov	eax, 0
	call	runSql
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	readFile
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -96[rbp], 1
	jmp	.L398
.L401:
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	je	.L399
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC127[rip]
	mov	eax, 0
	call	logMessage
.L399:
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	runScript
	mov	eax, DWORD PTR g[rip+100]
	test	eax, eax
	je	.L400
	mov	rax, QWORD PTR -144[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC128[rip]
	mov	eax, 0
	call	logMessage
.L400:
	add	DWORD PTR -96[rbp], 1
.L398:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jle	.L401
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	lea	rdx, .LC129[rip]
	mov	esi, 2000
	mov	edi, 0
	call	waitForClient
	lea	rdi, .LC130[rip]
	mov	eax, 0
	call	trySql
	mov	edi, 10
	call	sqlite3_sleep@PLT
	mov	DWORD PTR g[rip+120], 0
	mov	DWORD PTR -84[rbp], 1000
	jmp	.L402
.L405:
	mov	edi, 10
	call	sqlite3_sleep@PLT
	sub	DWORD PTR -84[rbp], 10
.L402:
	lea	rdi, .LC131[rip]
	mov	eax, 0
	call	trySql
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 5
	je	.L403
	cmp	DWORD PTR -104[rbp], 100
	jne	.L404
.L403:
	cmp	DWORD PTR -84[rbp], 0
	jg	.L405
.L404:
	mov	edi, 100
	call	sqlite3_sleep@PLT
	lea	rdi, .LC132[rip]
	mov	eax, 0
	call	prepareSql
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -84[rbp], 1000
	jmp	.L406
.L408:
	mov	edi, 10
	call	sqlite3_sleep@PLT
	sub	DWORD PTR -84[rbp], 10
.L406:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 5
	jne	.L407
	cmp	DWORD PTR -84[rbp], 0
	jg	.L408
.L407:
	cmp	DWORD PTR -104[rbp], 100
	jne	.L409
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_int@PLT
	mov	edx, DWORD PTR g[rip+112]
	add	eax, edx
	mov	DWORD PTR g[rip+112], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	sqlite3_column_int@PLT
	mov	edx, DWORD PTR g[rip+116]
	add	eax, edx
	mov	DWORD PTR g[rip+116], eax
.L409:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
.L392:
	mov	rax, QWORD PTR g[rip+24]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	rax, QWORD PTR g[rip+56]
	mov	rdi, rax
	call	maybeClose
	mov	rax, QWORD PTR g[rip+40]
	mov	rdi, rax
	call	maybeClose
	cmp	DWORD PTR -116[rbp], 0
	jne	.L410
	mov	edx, DWORD PTR g[rip+116]
	mov	eax, DWORD PTR g[rip+112]
	mov	esi, eax
	lea	rdi, .LC133[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC134[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -112[rbp], 1
	jmp	.L411
.L412:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC91[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -112[rbp], 1
.L411:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L412
	mov	edi, 10
	call	putchar@PLT
.L410:
	mov	eax, DWORD PTR g[rip+112]
	test	eax, eax
	setg	al
	movzx	eax, al
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L414
	call	__stack_chk_fail@PLT
.L414:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE44:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 8
__PRETTY_FUNCTION__.2:
	.string	"evalSql"
	.local	cnt.1
	.comm	cnt.1,4,4
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
	.string	"findOption"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"696756.c"
	.text
	.local	g
	.comm	g,96,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s%.*s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	printWithPrefix, %function
printWithPrefix:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	b	.L2
.L9:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L5
.L4:
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r1, .L11
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	b	.L6
.L7:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L6:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L7
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L7
.L2:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
.L10:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	printWithPrefix, .-printWithPrefix
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	safe_strcmp, %function
safe_strcmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L14
	mov	r3, #0
	b	.L15
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L16
	mvn	r3, #0
	b	.L15
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L17
	mov	r3, #1
	b	.L15
.L17:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	safe_strcmp, .-safe_strcmp
	.align	2
	.global	strglob
	.syntax unified
	.arm
	.fpu softvfp
	.type	strglob, %function
strglob:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	b	.L19
.L53:
	ldr	r3, [fp, #-8]
	cmp	r3, #42
	bne	.L20
	b	.L21
.L23:
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bne	.L21
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
	b	.L22
.L21:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #42
	beq	.L23
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	beq	.L23
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L24
	mov	r3, #1
	b	.L22
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #91
	bne	.L29
	b	.L26
.L28:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L26:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	strglob
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
.L27:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L22
.L31:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L30
	mov	r3, #0
	b	.L22
.L30:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L31
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	strglob
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	mov	r3, #1
	b	.L22
.L29:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L30
	mov	r3, #0
	b	.L22
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #63
	bne	.L33
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	b	.L22
.L33:
	ldr	r3, [fp, #-8]
	cmp	r3, #91
	bne	.L34
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L35
	mov	r3, #0
	b	.L22
.L35:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #94
	bne	.L36
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
.L36:
	ldr	r3, [fp, #-24]
	cmp	r3, #93
	bne	.L39
	ldr	r3, [fp, #-8]
	cmp	r3, #93
	bne	.L38
	mov	r3, #1
	str	r3, [fp, #-16]
.L38:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	b	.L39
.L45:
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	bne	.L40
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #93
	beq	.L40
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L40
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L41
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bgt	.L41
	mov	r3, #1
	str	r3, [fp, #-16]
.L41:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L42
.L40:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L43
	mov	r3, #1
	str	r3, [fp, #-16]
.L43:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
.L42:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-24]
.L39:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-24]
	cmp	r3, #93
	bne	.L45
.L44:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L46
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L19
.L46:
	mov	r3, #0
	b	.L22
.L34:
	ldr	r3, [fp, #-8]
	cmp	r3, #35
	bne	.L47
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L48
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L49
.L48:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L49:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L50
	mov	r3, #0
	b	.L22
.L50:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L51
.L52:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L51:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L52
	b	.L19
.L47:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	beq	.L19
	mov	r3, #0
	b	.L22
.L19:
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strglob, .-strglob
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	maybeClose, %function
maybeClose:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L57
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L56
	ldr	r3, .L57+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L56
	ldr	r0, [fp, #-8]
	bl	fclose
.L56:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	stdout
	.word	stderr
	.size	maybeClose, .-maybeClose
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s:ERROR: \000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	errorMessage, %function
errorMessage:
	@ args = 4, pretend = 16, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, [fp, #4]
	str	r3, [fp, #-56]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-56]
	bl	sqlite3_vmprintf
	str	r0, [fp, #-44]
	sub	r1, fp, #40
	ldr	r3, .L63+4
	ldr	r2, .L63+8
	mov	r0, #30
	bl	sqlite3_snprintf
	ldr	r3, .L63+12
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L60
	ldr	r3, .L63+12
	ldr	r3, [r3, #28]
	sub	r1, fp, #40
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	printWithPrefix
	ldr	r3, .L63+12
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	fflush
.L60:
	ldr	r3, .L63+12
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L61
	ldr	r3, .L63+12
	ldr	r3, [r3, #16]
	ldr	r2, .L63+12
	ldr	r2, [r2, #24]
	mov	r1, r2
	mov	r0, r3
	bl	safe_strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	ldr	r3, .L63+12
	ldr	r3, [r3, #20]
	sub	r1, fp, #40
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	printWithPrefix
	ldr	r3, .L63+12
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	fflush
.L61:
	ldr	r0, [fp, #-44]
	bl	sqlite3_free
	ldr	r3, .L63+12
	ldr	r3, [r3, #80]
	add	r3, r3, #1
	ldr	r2, .L63+12
	str	r3, [r2, #80]
	nop
	ldr	r3, .L63
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L64:
	.align	2
.L63:
	.word	.LC2
	.word	g+32
	.word	.LC1
	.word	g
	.size	errorMessage, .-errorMessage
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s:FATAL: \000"
	.align	2
.LC4:
	.ascii	"UPDATE client SET wantHalt=1;\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fatalError, %function
fatalError:
	@ args = 4, pretend = 16, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, [fp, #4]
	str	r3, [fp, #-56]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-52]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	sqlite3_vmprintf
	str	r0, [fp, #-44]
	sub	r1, fp, #40
	ldr	r3, .L72+4
	ldr	r2, .L72+8
	mov	r0, #30
	bl	sqlite3_snprintf
	ldr	r3, .L72+12
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L66
	ldr	r3, .L72+12
	ldr	r3, [r3, #28]
	sub	r1, fp, #40
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	printWithPrefix
	ldr	r3, .L72+12
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L72+12
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	maybeClose
.L66:
	ldr	r3, .L72+12
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L72+12
	ldr	r3, [r3, #16]
	ldr	r2, .L72+12
	ldr	r2, [r2, #24]
	mov	r1, r2
	mov	r0, r3
	bl	safe_strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L72+12
	ldr	r3, [r3, #20]
	sub	r1, fp, #40
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	printWithPrefix
	ldr	r3, .L72+12
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L72+12
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	maybeClose
.L67:
	ldr	r0, [fp, #-44]
	bl	sqlite3_free
	ldr	r3, .L72+12
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L68
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L72+12
	mov	r2, #0
	str	r2, [r3, #88]
	b	.L69
.L70:
	mov	r0, #10
	bl	sqlite3_sleep
.L69:
	ldr	r0, .L72+16
	bl	trySql
	mov	r3, r0
	cmp	r3, #5
	bne	.L68
	ldr	r3, [fp, #-48]
	add	r2, r3, #1
	str	r2, [fp, #-48]
	cmp	r3, #99
	ble	.L70
.L68:
	ldr	r3, .L72+12
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	exit
.L73:
	.align	2
.L72:
	.word	.LC5
	.word	g+32
	.word	.LC3
	.word	g
	.word	.LC4
	.size	fatalError, .-fatalError
	.section	.rodata
	.align	2
.LC6:
	.ascii	"%s: \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	logMessage, %function
logMessage:
	@ args = 4, pretend = 16, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, [fp, #4]
	str	r3, [fp, #-56]
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-56]
	bl	sqlite3_vmprintf
	str	r0, [fp, #-44]
	sub	r1, fp, #40
	ldr	r3, .L77+4
	ldr	r2, .L77+8
	mov	r0, #30
	bl	sqlite3_snprintf
	ldr	r3, .L77+12
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L75
	ldr	r3, .L77+12
	ldr	r3, [r3, #28]
	sub	r1, fp, #40
	ldr	r2, [fp, #-44]
	mov	r0, r3
	bl	printWithPrefix
	ldr	r3, .L77+12
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	fflush
.L75:
	ldr	r0, [fp, #-44]
	bl	sqlite3_free
	nop
	ldr	r3, .L77
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L76
	bl	__stack_chk_fail
.L76:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L78:
	.align	2
.L77:
	.word	.LC7
	.word	g+32
	.word	.LC6
	.word	g
	.size	logMessage, .-logMessage
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	clipLength, %function
clipLength:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L80
.L82:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L80:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L81
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L82
.L81:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	clipLength, .-clipLength
	.section	.rodata
	.align	2
.LC8:
	.ascii	"main\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vfsNameFunc, %function
vfsNameFunc:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L88
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-24]
	bl	sqlite3_context_db_handle
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r2, #12
	ldr	r1, .L88+4
	ldr	r0, [fp, #-12]
	bl	sqlite3_file_control
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L87
	ldr	r1, [fp, #-16]
	ldr	r3, .L88+8
	mvn	r2, #0
	ldr	r0, [fp, #-24]
	bl	sqlite3_result_text
.L87:
	nop
	ldr	r3, .L88
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L86
	bl	__stack_chk_fail
.L86:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L89:
	.align	2
.L88:
	.word	.LC9
	.word	.LC8
	.word	sqlite3_free
	.size	vfsNameFunc, .-vfsNameFunc
	.section	.rodata
	.align	2
.LC10:
	.ascii	"timeout after %dms\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	busyHandler, %function
busyHandler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L94
	ldr	r3, [r3, #88]
	cmp	r2, r3
	ble	.L91
	ldr	r3, .L94
	ldr	r3, [r3, #88]
	cmp	r3, #0
	ble	.L92
	ldr	r3, .L94
	ldr	r3, [r3, #88]
	mov	r1, r3
	ldr	r0, .L94+4
	bl	errorMessage
.L92:
	mov	r3, #0
	b	.L93
.L91:
	mov	r0, #10
	bl	sqlite3_sleep
	mov	r3, #1
.L93:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	g
	.word	.LC10
	.size	busyHandler, .-busyHandler
	.section	.rodata
	.align	2
.LC11:
	.ascii	"[%.*s]\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlTraceCallback, %function
sqlTraceCallback:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	clipLength
	mov	r3, r0
	ldr	r2, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L97
	bl	logMessage
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L98:
	.align	2
.L97:
	.word	.LC11
	.size	sqlTraceCallback, .-sqlTraceCallback
	.section	.rodata
	.align	2
.LC12:
	.ascii	"(info) %s\000"
	.align	2
.LC13:
	.ascii	"(errcode=%d) %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlErrorCallback, %function
sqlErrorCallback:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L100
	ldr	r3, .L108
	ldr	r3, [r3, #76]
	cmp	r3, #0
	bne	.L105
.L100:
	ldr	r3, [fp, #-12]
	and	r3, r3, #255
	cmp	r3, #17
	bne	.L102
	ldr	r3, .L108
	ldr	r3, [r3, #68]
	cmp	r3, #2
	ble	.L106
.L102:
	ldr	r3, .L108
	ldr	r3, [r3, #88]
	cmp	r3, #0
	bne	.L103
	ldr	r3, [fp, #-12]
	and	r3, r3, #255
	cmp	r3, #5
	bne	.L103
	ldr	r3, .L108
	ldr	r3, [r3, #68]
	cmp	r3, #2
	ble	.L107
.L103:
	ldr	r3, [fp, #-12]
	and	r3, r3, #255
	cmp	r3, #27
	bne	.L104
	ldr	r1, [fp, #-16]
	ldr	r0, .L108+4
	bl	logMessage
	b	.L99
.L104:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, .L108+8
	bl	errorMessage
	b	.L99
.L105:
	nop
	b	.L99
.L106:
	nop
	b	.L99
.L107:
	nop
.L99:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	g
	.word	.LC12
	.word	.LC13
	.size	sqlErrorCallback, .-sqlErrorCallback
	.section	.rodata
	.align	2
.LC14:
	.ascii	"%s\012%s\012\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prepareSql, %function
prepareSql:
	@ args = 4, pretend = 16, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, [fp, #4]
	str	r3, [fp, #-32]
	ldr	r3, .L114
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	add	r3, fp, #8
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	sqlite3_vmprintf
	str	r0, [fp, #-16]
	ldr	r3, .L114+4
	ldr	r0, [r3, #12]
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	ldr	r1, [fp, #-16]
	bl	sqlite3_prepare_v2
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L111
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, .L114+4
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L114+8
	bl	fatalError
.L111:
	ldr	r0, [fp, #-16]
	bl	sqlite3_free
	ldr	r3, [fp, #-20]
	ldr	r2, .L114
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L113
	bl	__stack_chk_fail
.L113:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L115:
	.align	2
.L114:
	.word	.LC15
	.word	g
	.word	.LC14
	.size	prepareSql, .-prepareSql
	.section	.rodata
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	runSql, %function
runSql:
	@ args = 4, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, [fp, #4]
	str	r3, [fp, #-24]
	ldr	r3, .L119
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	sqlite3_vmprintf
	str	r0, [fp, #-16]
	ldr	r3, .L119+4
	ldr	r0, [r3, #12]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-16]
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L117
	ldr	r3, .L119+4
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L119+8
	bl	fatalError
.L117:
	ldr	r0, [fp, #-16]
	bl	sqlite3_free
	nop
	ldr	r3, .L119
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L118
	bl	__stack_chk_fail
.L118:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L120:
	.align	2
.L119:
	.word	.LC16
	.word	g
	.word	.LC14
	.size	runSql, .-runSql
	.section	.rodata
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	trySql, %function
trySql:
	@ args = 4, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, [fp, #4]
	str	r3, [fp, #-24]
	ldr	r3, .L124
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	sqlite3_vmprintf
	str	r0, [fp, #-16]
	ldr	r3, .L124+4
	ldr	r0, [r3, #12]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-16]
	bl	sqlite3_exec
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	sqlite3_free
	ldr	r3, [fp, #-12]
	ldr	r2, .L124
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L123
	bl	__stack_chk_fail
.L123:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L125:
	.align	2
.L124:
	.word	.LC17
	.word	g
	.size	trySql, .-trySql
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stringFree, %function
stringFree:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L127
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_free
.L127:
	mov	r2, #12
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	stringFree, .-stringFree
	.section	.rodata
	.align	2
.LC18:
	.ascii	"out of memory\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stringAppend, %function
stringAppend:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L129
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-24]
.L129:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	blt	.L130
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #100
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	sqlite3_realloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L131
	ldr	r0, .L132
	bl	fatalError
.L131:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
.L130:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #4]
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #4]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L133:
	.align	2
.L132:
	.word	.LC18
	.size	stringAppend, .-stringAppend
	.section	.rodata
	.align	2
.LC19:
	.ascii	" \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stringReset, %function
stringReset:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L135
	mov	r2, #1
	ldr	r1, .L136
	ldr	r0, [fp, #-8]
	bl	stringAppend
.L135:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L137:
	.align	2
.L136:
	.word	.LC19
	.size	stringReset, .-stringReset
	.section	.rodata
	.align	2
.LC20:
	.ascii	"nil\000"
	.align	2
.LC21:
	.ascii	"'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stringAppendTerm, %function
stringAppendTerm:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L139
	mov	r2, #1
	ldr	r1, .L153
	ldr	r0, [fp, #-16]
	bl	stringAppend
.L139:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L140
	mov	r2, #3
	ldr	r1, .L153+4
	ldr	r0, [fp, #-16]
	bl	stringAppend
	b	.L138
.L140:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L142
.L144:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L142:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L143
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L144
.L143:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L145
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L145
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	stringAppend
	b	.L138
.L145:
	mov	r2, #1
	ldr	r1, .L153+8
	ldr	r0, [fp, #-16]
	bl	stringAppend
	b	.L146
.L152:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L147
.L149:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L147:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L148
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #39
	bne	.L149
.L148:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L150
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	stringAppend
	mov	r2, #1
	ldr	r1, .L153+8
	ldr	r0, [fp, #-16]
	bl	stringAppend
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L146
.L150:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	stringAppend
	b	.L151
.L146:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L152
.L151:
	mov	r2, #1
	ldr	r1, .L153+8
	ldr	r0, [fp, #-16]
	bl	stringAppend
.L138:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L154:
	.align	2
.L153:
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	stringAppendTerm, .-stringAppendTerm
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	evalCallback, %function
evalCallback:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L156
.L157:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	stringAppendTerm
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L156:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L157
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	evalCallback, .-evalCallback
	.section	.rodata
	.align	2
.LC22:
	.ascii	"the_stack_data/696756.c\000"
	.align	2
.LC23:
	.ascii	"g.iTimeout>0\000"
	.align	2
.LC24:
	.ascii	"error(%d)\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	evalSql, %function
evalSql:
	@ args = 4, pretend = 12, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #76
	str	r0, [fp, #-68]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, .L165
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	add	r3, fp, #8
	str	r3, [fp, #-60]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-72]
	bl	sqlite3_vmprintf
	str	r0, [fp, #-52]
	ldr	r3, .L165+4
	ldr	r3, [r3, #88]
	cmp	r3, #0
	bgt	.L160
	ldr	r3, .L165+8
	ldr	r2, .L165+12
	ldr	r1, .L165+16
	ldr	r0, .L165+20
	bl	__assert_fail
.L160:
	ldr	r3, .L165+4
	ldr	r0, [r3, #12]
	sub	r3, fp, #56
	str	r3, [sp]
	ldr	r3, [fp, #-68]
	ldr	r2, .L165+24
	ldr	r1, [fp, #-52]
	bl	sqlite3_exec
	str	r0, [fp, #-48]
	ldr	r0, [fp, #-52]
	bl	sqlite3_free
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L161
	sub	r1, fp, #44
	ldr	r3, [fp, #-48]
	ldr	r2, .L165+28
	mov	r0, #30
	bl	sqlite3_snprintf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	stringAppendTerm
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L161
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	stringAppendTerm
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	sqlite3_free
.L161:
	ldr	r3, [fp, #-48]
	ldr	r2, .L165
	ldr	r1, [r2]
	ldr	r2, [fp, #-12]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L164
	bl	__stack_chk_fail
.L164:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #12
	bx	lr
.L166:
	.align	2
.L165:
	.word	.LC25
	.word	g
	.word	__PRETTY_FUNCTION__.7803
	.word	494
	.word	.LC22
	.word	.LC23
	.word	evalCallback
	.word	.LC24
	.size	evalSql, .-evalSql
	.section	.rodata
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	evalFunc, %function
evalFunc:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L172
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-40]
	bl	sqlite3_context_db_handle
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_value_text
	str	r0, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r3, fp, #20
	mov	r2, #12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r2, fp, #20
	sub	r3, fp, #36
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L172+4
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	sqlite3_exec
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L168
	ldr	r3, [fp, #-36]
	mvn	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	sqlite3_result_error
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	sqlite3_free
	b	.L169
.L168:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L170
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	bl	sqlite3_result_error_code
	b	.L169
.L170:
	ldr	r1, [fp, #-20]
	mvn	r3, #0
	mvn	r2, #0
	ldr	r0, [fp, #-40]
	bl	sqlite3_result_text
.L169:
	sub	r3, fp, #20
	mov	r0, r3
	bl	stringFree
	nop
	ldr	r3, .L172
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L171
	bl	__stack_chk_fail
.L171:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L173:
	.align	2
.L172:
	.word	.LC26
	.word	evalCallback
	.size	evalFunc, .-evalFunc
	.section	.rodata
	.align	2
.LC27:
	.ascii	"BEGIN IMMEDIATE\000"
	.align	2
.LC28:
	.ascii	"in startScript: %s\000"
	.align	2
.LC29:
	.ascii	"UPDATE counters SET nError=nError+%d, nTest=nTest+%"
	.ascii	"d\000"
	.align	2
.LC30:
	.ascii	"SELECT 1 FROM client WHERE id=%d AND wantHalt\000"
	.align	2
.LC31:
	.ascii	"DELETE FROM client WHERE id=%d\000"
	.align	2
.LC32:
	.ascii	"COMMIT TRANSACTION;\000"
	.align	2
.LC33:
	.ascii	"SELECT script, id, name FROM task WHERE client=%d A"
	.ascii	"ND starttime IS NULL ORDER BY id LIMIT 1\000"
	.align	2
.LC34:
	.ascii	"%s\000"
	.align	2
.LC35:
	.ascii	"UPDATE task   SET starttime=strftime('%%Y-%%m-%%d %"
	.ascii	"%H:%%M:%%f','now') WHERE id=%d;\000"
	.align	2
.LC36:
	.ascii	"Waited over 30 seconds with no work.  Giving up.\000"
	.align	2
.LC37:
	.ascii	"DELETE FROM client WHERE id=%d; COMMIT;\000"
	.align	2
.LC38:
	.ascii	"COMMIT\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	startScript, %function
startScript:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L188
	mov	r2, #0
	str	r2, [r3, #88]
.L187:
	ldr	r0, .L188+4
	bl	trySql
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	bne	.L175
	mov	r0, #10
	bl	sqlite3_sleep
	ldr	r3, [fp, #-32]
	add	r3, r3, #10
	str	r3, [fp, #-32]
	b	.L176
.L175:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L177
	ldr	r3, .L188
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L188+8
	bl	fatalError
.L177:
	ldr	r3, .L188
	ldr	r3, [r3, #80]
	cmp	r3, #0
	bne	.L178
	ldr	r3, .L188
	ldr	r3, [r3, #84]
	cmp	r3, #0
	beq	.L179
.L178:
	ldr	r3, .L188
	ldr	r3, [r3, #80]
	ldr	r2, .L188
	ldr	r2, [r2, #84]
	mov	r1, r3
	ldr	r0, .L188+12
	bl	runSql
	ldr	r3, .L188
	mov	r2, #0
	str	r2, [r3, #80]
	ldr	r3, .L188
	mov	r2, #0
	str	r2, [r3, #84]
.L179:
	ldr	r1, [fp, #-40]
	ldr	r0, .L188+16
	bl	prepareSql
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	sqlite3_step
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	sqlite3_finalize
	ldr	r3, [fp, #-24]
	cmp	r3, #100
	bne	.L180
	ldr	r1, [fp, #-40]
	ldr	r0, .L188+20
	bl	runSql
	ldr	r3, .L188
	ldr	r2, .L188+24
	str	r2, [r3, #88]
	ldr	r0, .L188+28
	bl	runSql
	mov	r3, #101
	b	.L181
.L180:
	ldr	r1, [fp, #-40]
	ldr	r0, .L188+32
	bl	prepareSql
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	sqlite3_step
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #100
	bne	.L182
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	sqlite3_column_bytes
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r0, r3
	bl	sqlite3_malloc
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r4, [r3]
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	sqlite3_column_text
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strcpy
	mov	r1, #1
	ldr	r0, [fp, #-28]
	bl	sqlite3_column_int
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r1, #2
	ldr	r0, [fp, #-28]
	bl	sqlite3_column_text
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L188+36
	bl	sqlite3_mprintf
	mov	r2, r0
	ldr	r3, [fp, #-52]
	str	r2, [r3]
	ldr	r0, [fp, #-28]
	bl	sqlite3_finalize
	ldr	r1, [fp, #-16]
	ldr	r0, .L188+40
	bl	runSql
	ldr	r3, .L188
	ldr	r2, .L188+24
	str	r2, [r3, #88]
	ldr	r0, .L188+28
	bl	runSql
	mov	r3, #0
	b	.L181
.L182:
	ldr	r0, [fp, #-28]
	bl	sqlite3_finalize
	ldr	r3, [fp, #-24]
	cmp	r3, #101
	bne	.L183
	ldr	r3, [fp, #-32]
	ldr	r2, .L188+44
	cmp	r3, r2
	ble	.L185
	ldr	r0, .L188+48
	bl	errorMessage
	ldr	r1, [fp, #-40]
	ldr	r0, .L188+52
	bl	runSql
	ldr	r3, .L188
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_close
	mov	r0, #1
	bl	exit
.L186:
	mov	r0, #10
	bl	sqlite3_sleep
	ldr	r3, [fp, #-32]
	add	r3, r3, #10
	str	r3, [fp, #-32]
.L185:
	ldr	r0, .L188+56
	bl	trySql
	mov	r3, r0
	cmp	r3, #5
	beq	.L186
	mov	r0, #100
	bl	sqlite3_sleep
	ldr	r3, [fp, #-32]
	add	r3, r3, #100
	str	r3, [fp, #-32]
	b	.L176
.L183:
	ldr	r3, .L188
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L188+36
	bl	fatalError
.L176:
	b	.L187
.L181:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L189:
	.align	2
.L188:
	.word	g
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	10000
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	30000
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.size	startScript, .-startScript
	.section	.rodata
	.align	2
.LC39:
	.ascii	"UPDATE task   SET endtime=strftime('%%Y-%%m-%%d %%H"
	.ascii	":%%M:%%f','now') WHERE id=%d;\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	finishScript, %function
finishScript:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, .L193
	bl	runSql
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L191
	ldr	r1, [fp, #-8]
	ldr	r0, .L193+4
	bl	runSql
.L191:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L194:
	.align	2
.L193:
	.word	.LC39
	.word	.LC31
	.size	finishScript, .-finishScript
	.section	.rodata
	.align	2
.LC40:
	.ascii	"INSERT OR IGNORE INTO client VALUES(%d,0)\000"
	.align	2
.LC41:
	.ascii	"%s \"%s\" --client %d --trace %d\000"
	.align	2
.LC42:
	.ascii	"%z --sqltrace\000"
	.align	2
.LC43:
	.ascii	"%z --sync\000"
	.align	2
.LC44:
	.ascii	"%z --vfs \"%s\"\000"
	.align	2
.LC45:
	.ascii	"system('%q')\000"
	.align	2
.LC46:
	.ascii	"%z &\000"
	.align	2
.LC47:
	.ascii	"system() fails with error code %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	startClient, %function
startClient:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L203
	bl	runSql
	ldr	r3, .L203+4
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_changes
	mov	r3, r0
	cmp	r3, #0
	beq	.L202
	ldr	r3, .L203+4
	ldr	r1, [r3]
	ldr	r3, .L203+4
	ldr	r2, [r3, #8]
	ldr	r3, .L203+4
	ldr	r3, [r3, #68]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r0, .L203+8
	bl	sqlite3_mprintf
	str	r0, [fp, #-12]
	ldr	r3, .L203+4
	ldr	r3, [r3, #72]
	cmp	r3, #0
	beq	.L197
	ldr	r1, [fp, #-12]
	ldr	r0, .L203+12
	bl	sqlite3_mprintf
	str	r0, [fp, #-12]
.L197:
	ldr	r3, .L203+4
	ldr	r3, [r3, #92]
	cmp	r3, #0
	beq	.L198
	ldr	r1, [fp, #-12]
	ldr	r0, .L203+16
	bl	sqlite3_mprintf
	str	r0, [fp, #-12]
.L198:
	ldr	r3, .L203+4
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L199
	ldr	r3, .L203+4
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L203+20
	bl	sqlite3_mprintf
	str	r0, [fp, #-12]
.L199:
	ldr	r3, .L203+4
	ldr	r3, [r3, #68]
	cmp	r3, #1
	ble	.L200
	ldr	r1, [fp, #-12]
	ldr	r0, .L203+24
	bl	logMessage
.L200:
	ldr	r1, [fp, #-12]
	ldr	r0, .L203+28
	bl	sqlite3_mprintf
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	system
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L201
	ldr	r1, [fp, #-8]
	ldr	r0, .L203+32
	bl	errorMessage
.L201:
	ldr	r0, [fp, #-12]
	bl	sqlite3_free
.L202:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L204:
	.align	2
.L203:
	.word	.LC40
	.word	g
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.size	startClient, .-startClient
	.section	.rodata
	.align	2
.LC48:
	.ascii	"rb\000"
	.align	2
.LC49:
	.ascii	"cannot open \"%s\" for reading\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readFile, %function
readFile:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r1, .L208
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L206
	ldr	r1, [fp, #-24]
	ldr	r0, .L208+4
	bl	fatalError
.L206:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r0, [fp, #-16]
	bl	ftell
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	rewind
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r0, r3
	bl	sqlite3_malloc
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L209:
	.align	2
.L208:
	.word	.LC48
	.word	.LC49
	.size	readFile, .-readFile
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tokenLength, %function
tokenLength:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L211
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L212
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L212
.L211:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L214
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #2
	str	r3, [fp, #-24]
	b	.L214
.L220:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L215
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	str	r2, [r3]
.L215:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L216
	b	.L214
.L216:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L217
	ldr	r3, [fp, #-8]
	cmp	r3, #42
	bne	.L217
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L217
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L214
.L217:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L218
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	bne	.L218
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L218
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L214
.L218:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L238
.L214:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L220
	b	.L219
.L238:
	nop
.L219:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L221
.L212:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L222
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L222
	mov	r3, #2
	str	r3, [fp, #-24]
	b	.L223
.L225:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L223:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L224
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L225
.L224:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L221
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L221
.L222:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L227
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #39
	bne	.L228
.L227:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L229
.L233:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L230
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	str	r2, [r3]
.L230:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bne	.L231
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bne	.L239
.L231:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L229:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L233
	b	.L221
.L239:
	nop
	b	.L221
.L228:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L234
.L235:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L234:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L221
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L221
	ldr	r3, [fp, #-16]
	cmp	r3, #34
	beq	.L221
	ldr	r3, [fp, #-16]
	cmp	r3, #39
	beq	.L221
	ldr	r3, [fp, #-16]
	cmp	r3, #59
	bne	.L235
.L221:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tokenLength, .-tokenLength
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	extractToken, %function
extractToken:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L241
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	b	.L242
.L241:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L243
.L245:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L243:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L244
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L244
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L245
.L244:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
.L242:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	extractToken, .-extractToken
	.section	.rodata
	.align	2
.LC50:
	.ascii	"--end\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	findEnd, %function
findEnd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L247
.L249:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	tokenLength
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L247:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L248
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #5
	ldr	r1, .L251
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L249
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L249
.L248:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L252:
	.align	2
.L251:
	.word	.LC50
	.size	findEnd, .-findEnd
	.section	.rodata
	.align	2
.LC51:
	.ascii	"--endif\000"
	.align	2
.LC52:
	.ascii	"--else\000"
	.align	2
.LC53:
	.ascii	"--if\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	findEndif, %function
findEndif:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L254
.L260:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	tokenLength
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #7
	ldr	r1, .L261
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L255
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #7
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L256
.L255:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L257
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #6
	ldr	r1, .L261+4
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L257
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #6
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L257
.L256:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	b	.L258
.L257:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #4
	ldr	r1, .L261+8
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L259
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L259
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	mov	r1, #0
	mov	r0, r3
	bl	findEndif
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L254
.L259:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-16]
.L254:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L260
	ldr	r3, [fp, #-16]
.L258:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L262:
	.align	2
.L261:
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.size	findEndif, .-findEndif
	.section	.rodata
	.align	2
.LC54:
	.ascii	"SELECT 1 FROM task WHERE client=%d   AND client IN "
	.ascii	"(SELECT id FROM client)  AND endtime IS NULL\000"
	.align	2
.LC55:
	.ascii	"SELECT 1 FROM task WHERE client IN (SELECT id FROM "
	.ascii	"client)   AND endtime IS NULL\000"
	.align	2
.LC56:
	.ascii	"\000"
	.align	2
.LC57:
	.ascii	"%stimeout waiting for client %d\000"
	.align	2
.LC58:
	.ascii	"%stimeout waiting for all clients\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	waitForClient, %function
waitForClient:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L264
	ldr	r1, [fp, #-16]
	ldr	r0, .L274
	bl	prepareSql
	str	r0, [fp, #-12]
	b	.L265
.L264:
	ldr	r0, .L274+4
	bl	prepareSql
	str	r0, [fp, #-12]
.L265:
	ldr	r3, .L274+8
	mov	r2, #0
	str	r2, [r3, #88]
	b	.L266
.L269:
	ldr	r0, [fp, #-12]
	bl	sqlite3_reset
	mov	r0, #50
	bl	sqlite3_sleep
	ldr	r3, [fp, #-20]
	sub	r3, r3, #50
	str	r3, [fp, #-20]
.L266:
	ldr	r0, [fp, #-12]
	bl	sqlite3_step
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	beq	.L267
	ldr	r3, [fp, #-8]
	cmp	r3, #100
	bne	.L268
.L267:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L269
.L268:
	ldr	r0, [fp, #-12]
	bl	sqlite3_finalize
	ldr	r3, .L274+8
	ldr	r2, .L274+12
	str	r2, [r3, #88]
	ldr	r3, [fp, #-8]
	cmp	r3, #101
	beq	.L273
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L271
	ldr	r3, .L274+16
	str	r3, [fp, #-24]
.L271:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L272
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	ldr	r0, .L274+20
	bl	errorMessage
	b	.L273
.L272:
	ldr	r1, [fp, #-24]
	ldr	r0, .L274+24
	bl	errorMessage
.L273:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L275:
	.align	2
.L274:
	.word	.LC54
	.word	.LC55
	.word	g
	.word	10000
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.size	waitForClient, .-waitForClient
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	filenameTail, %function
filenameTail:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	b	.L277
.L279:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L278
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L278:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L277:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L279
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	filenameTail, .-filenameTail
	.section	.rodata
	.align	2
.LC59:
	.ascii	"on\000"
	.align	2
.LC60:
	.ascii	"yes\000"
	.align	2
.LC61:
	.ascii	"off\000"
	.align	2
.LC62:
	.ascii	"no\000"
	.align	2
.LC63:
	.ascii	"unknown boolean: [%s]\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	booleanValue, %function
booleanValue:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L282
	mov	r3, #0
	b	.L283
.L282:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L284
.L286:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L284:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L285
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L286
.L285:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L287
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L287
	ldr	r0, [fp, #-16]
	bl	atoi
	mov	r3, r0
	b	.L283
.L287:
	ldr	r1, .L292
	ldr	r0, [fp, #-16]
	bl	sqlite3_stricmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L288
	ldr	r1, .L292+4
	ldr	r0, [fp, #-16]
	bl	sqlite3_stricmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L289
.L288:
	mov	r3, #1
	b	.L283
.L289:
	ldr	r1, .L292+8
	ldr	r0, [fp, #-16]
	bl	sqlite3_stricmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L290
	ldr	r1, .L292+12
	ldr	r0, [fp, #-16]
	bl	sqlite3_stricmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L291
.L290:
	mov	r3, #0
	b	.L283
.L291:
	ldr	r1, [fp, #-16]
	ldr	r0, .L292+16
	bl	errorMessage
	mov	r3, #0
.L283:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L293:
	.align	2
.L292:
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.size	booleanValue, .-booleanValue
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_breakpoint, %function
test_breakpoint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L295
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L295
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L296:
	.align	2
.L295:
	.word	cnt.7925
	.size	test_breakpoint, .-test_breakpoint
	.section	.rodata
	.align	2
.LC64:
	.ascii	"%.*s\000"
	.align	2
.LC65:
	.ascii	"sleep\000"
	.align	2
.LC66:
	.ascii	"exit\000"
	.align	2
.LC67:
	.ascii	"testcase\000"
	.align	2
.LC68:
	.ascii	"finish\000"
	.align	2
.LC69:
	.ascii	"reset\000"
	.align	2
.LC70:
	.ascii	"match\000"
	.align	2
.LC71:
	.ascii	"line %d of %s:\012Expected [%.*s]\012     Got [%s]\000"
	.align	2
.LC72:
	.ascii	"glob\000"
	.align	2
.LC73:
	.ascii	"notglob\000"
	.align	2
.LC74:
	.ascii	"line %d of %s:\012Expected [%s]\012     Got [%s]\000"
	.align	2
.LC75:
	.ascii	"output\000"
	.align	2
.LC76:
	.ascii	"source\000"
	.align	2
.LC77:
	.ascii	"%.*s/%s\000"
	.align	2
.LC78:
	.ascii	"begin script [%s]\012\000"
	.align	2
.LC79:
	.ascii	"end script [%s]\012\000"
	.align	2
.LC80:
	.ascii	"print\000"
	.align	2
.LC81:
	.ascii	"if\000"
	.align	2
.LC82:
	.ascii	"SELECT %.*s\000"
	.align	2
.LC83:
	.ascii	"else\000"
	.align	2
.LC84:
	.ascii	"endif\000"
	.align	2
.LC85:
	.ascii	"start\000"
	.align	2
.LC86:
	.ascii	"wait\000"
	.align	2
.LC87:
	.ascii	"line %d of %s\012\000"
	.align	2
.LC88:
	.ascii	"task\000"
	.align	2
.LC89:
	.ascii	"line %d of %s: bad client number: %d\000"
	.align	2
.LC90:
	.ascii	"%s:%d\000"
	.align	2
.LC91:
	.ascii	"INSERT INTO task(client,script,name) VALUES(%d,'%q'"
	.ascii	",%Q)\000"
	.align	2
.LC92:
	.ascii	"breakpoint\000"
	.align	2
.LC93:
	.ascii	"show-sql-errors\000"
	.align	2
.LC94:
	.ascii	"line %d of %s: unknown command --%s\000"
	.align	2
.LC95:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	runScript, %function
runScript:
	@ args = 0, pretend = 0, frame = 1392
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1392
	sub	sp, sp, #8
	str	r0, [fp, #-1384]
	str	r1, [fp, #-1388]
	str	r2, [fp, #-1392]
	str	r3, [fp, #-1396]
	ldr	r3, .L373+136
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-1380]
	mov	r3, #1
	str	r3, [fp, #-1320]
	mov	r3, #0
	str	r3, [fp, #-1376]
	mov	r3, #0
	str	r3, [fp, #-1372]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r2, #12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r0, r3
	bl	stringReset
	b	.L298
.L368:
	ldr	r3, [fp, #-1380]
	str	r3, [fp, #-1320]
	ldr	r3, [fp, #-1376]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	sub	r2, fp, #1376
	sub	r2, r2, #4
	mov	r1, r2
	mov	r0, r3
	bl	tokenLength
	str	r0, [fp, #-1360]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1316]
	and	r3, r3, #255
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L299
	ldr	r3, [fp, #-1316]
	cmp	r3, #47
	bne	.L300
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L300
.L299:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	str	r3, [fp, #-1376]
	b	.L298
.L300:
	ldr	r3, [fp, #-1316]
	cmp	r3, #45
	bne	.L301
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L301
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1376]
	add	r3, r3, #2
	ldr	r1, [fp, #-1392]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L302
.L301:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	str	r3, [fp, #-1376]
	b	.L298
.L302:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1372]
	cmp	r2, r3
	ble	.L303
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1372]
	sub	r1, r2, r3
	ldr	r3, [fp, #-1372]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L373+132
	bl	sqlite3_mprintf
	str	r0, [fp, #-1308]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	ldr	r1, [fp, #-1308]
	mov	r0, r3
	bl	evalSql
	ldr	r0, [fp, #-1308]
	bl	sqlite3_free
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	str	r3, [fp, #-1372]
.L303:
	ldr	r3, .L373
	ldr	r3, [r3, #68]
	cmp	r3, #1
	ble	.L304
	ldr	r3, [fp, #-1376]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1360]
	ldr	r0, .L373+132
	bl	logMessage
.L304:
	ldr	r3, [fp, #-1376]
	add	r3, r3, #2
	ldr	r2, [fp, #-1392]
	add	r0, r2, r3
	ldr	r3, [fp, #-1360]
	sub	r1, r3, #2
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #12
	mov	r3, #30
	bl	extractToken
	str	r0, [fp, #-1368]
	mov	r3, #0
	str	r3, [fp, #-1356]
	b	.L305
.L308:
	ldr	r3, [fp, #-1368]
	add	r3, r3, #1
	str	r3, [fp, #-1368]
.L306:
	ldr	r3, [fp, #-1360]
	sub	r3, r3, #2
	ldr	r2, [fp, #-1368]
	cmp	r2, r3
	bge	.L307
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1376]
	add	r1, r3, #2
	ldr	r3, [fp, #-1368]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-1392]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L308
.L307:
	ldr	r3, [fp, #-1360]
	sub	r3, r3, #2
	ldr	r2, [fp, #-1368]
	cmp	r2, r3
	bge	.L371
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1368]
	add	r3, r2, r3
	add	r3, r3, #2
	ldr	r2, [fp, #-1392]
	add	r0, r2, r3
	ldr	r3, [fp, #-1360]
	sub	r2, r3, #2
	ldr	r3, [fp, #-1368]
	sub	ip, r2, r3
	sub	r2, fp, #1232
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1356]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r2, r2, r3
	mov	r3, #100
	mov	r1, ip
	bl	extractToken
	mov	r2, r0
	ldr	r3, [fp, #-1368]
	add	r3, r3, r2
	str	r3, [fp, #-1368]
	ldr	r3, [fp, #-1356]
	add	r3, r3, #1
	str	r3, [fp, #-1356]
.L305:
	ldr	r3, [fp, #-1360]
	sub	r3, r3, #2
	ldr	r2, [fp, #-1368]
	cmp	r2, r3
	bge	.L310
	ldr	r3, [fp, #-1356]
	cmp	r3, #1
	ble	.L306
	b	.L310
.L371:
	nop
.L310:
	ldr	r3, [fp, #-1356]
	str	r3, [fp, #-1364]
	b	.L312
.L313:
	ldr	r2, [fp, #-1364]
	add	r3, r2, #1
	str	r3, [fp, #-1364]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1232
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-1364]
	add	r3, r3, #1
	str	r3, [fp, #-1364]
.L312:
	ldr	r3, [fp, #-1364]
	cmp	r3, #1
	ble	.L313
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L314
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r0, r3
	bl	sqlite3_sleep
	b	.L315
.L314:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L316
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1256]
	mov	r2, #1
	ldr	r1, [fp, #-1388]
	ldr	r0, [fp, #-1384]
	bl	finishScript
	ldr	r3, [fp, #-1256]
	cmp	r3, #0
	bne	.L317
	ldr	r3, .L373
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_close
.L317:
	ldr	r0, [fp, #-1256]
	bl	exit
.L316:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L318
	ldr	r3, .L373
	ldr	r3, [r3, #68]
	cmp	r3, #1
	bne	.L319
	ldr	r3, [fp, #-1360]
	sub	r1, r3, #1
	ldr	r3, [fp, #-1376]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L373+132
	bl	logMessage
.L319:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r0, r3
	bl	stringReset
	b	.L315
.L318:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L320
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	ble	.L320
	mov	r2, #1
	ldr	r1, [fp, #-1388]
	ldr	r0, [fp, #-1384]
	bl	finishScript
	b	.L315
.L320:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L321
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r0, r3
	bl	stringReset
	b	.L315
.L321:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L322
	ldr	r3, [fp, #-1376]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	str	r3, [fp, #-1260]
	mov	r3, #7
	str	r3, [fp, #-1352]
	b	.L323
.L325:
	ldr	r3, [fp, #-1352]
	add	r3, r3, #1
	str	r3, [fp, #-1352]
.L323:
	ldr	r3, [fp, #-1360]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1352]
	cmp	r2, r3
	bge	.L324
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1352]
	ldr	r1, [fp, #-1260]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L325
.L324:
	ldr	r3, [fp, #-1352]
	ldr	r2, [fp, #-1260]
	add	r3, r2, r3
	str	r3, [fp, #-1260]
	ldr	r2, [fp, #-1360]
	ldr	r3, [fp, #-1352]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-1248]
	cmp	r2, r3
	bne	.L326
	ldr	r0, [fp, #-1252]
	ldr	r2, [fp, #-1360]
	ldr	r3, [fp, #-1352]
	sub	r3, r2, r3
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-1260]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L327
.L326:
	ldr	r2, [fp, #-1360]
	ldr	r3, [fp, #-1352]
	sub	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, [fp, #-1252]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1260]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-1396]
	ldr	r1, [fp, #-1320]
	ldr	r0, .L373+28
	bl	errorMessage
.L327:
	ldr	r3, .L373
	ldr	r3, [r3, #84]
	add	r3, r3, #1
	ldr	r2, .L373
	str	r3, [r2, #84]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r0, r3
	bl	stringReset
	b	.L315
.L322:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L328
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L329
.L328:
	ldr	r3, [fp, #-1376]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	str	r3, [fp, #-1272]
	ldrb	r3, [fp, #-1040]	@ zero_extendqisi2
	cmp	r3, #103
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-1268]
	ldr	r3, [fp, #-1268]
	mov	r2, r3
	lsl	r3, r3, #2
	sub	r3, r2, r3
	add	r3, r3, #9
	str	r3, [fp, #-1348]
	b	.L330
.L332:
	ldr	r3, [fp, #-1348]
	add	r3, r3, #1
	str	r3, [fp, #-1348]
.L330:
	ldr	r3, [fp, #-1360]
	sub	r3, r3, #1
	ldr	r2, [fp, #-1348]
	cmp	r2, r3
	bge	.L331
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1348]
	ldr	r1, [fp, #-1272]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L332
.L331:
	ldr	r3, [fp, #-1348]
	ldr	r2, [fp, #-1272]
	add	r3, r2, r3
	str	r3, [fp, #-1272]
	ldr	r2, [fp, #-1360]
	ldr	r3, [fp, #-1348]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-1272]
	mov	r1, r3
	ldr	r0, .L373+132
	bl	sqlite3_mprintf
	str	r0, [fp, #-1264]
	ldr	r3, [fp, #-1252]
	mov	r1, r3
	ldr	r0, [fp, #-1264]
	bl	sqlite3_strglob
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-1268]
	cmp	r3, r2
	beq	.L333
	ldr	r3, [fp, #-1252]
	str	r3, [sp]
	ldr	r3, [fp, #-1264]
	ldr	r2, [fp, #-1396]
	ldr	r1, [fp, #-1320]
	ldr	r0, .L373+40
	bl	errorMessage
.L333:
	ldr	r0, [fp, #-1264]
	bl	sqlite3_free
	ldr	r3, .L373
	ldr	r3, [r3, #84]
	add	r3, r3, #1
	ldr	r2, .L373
	str	r3, [r2, #84]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r0, r3
	bl	stringReset
	b	.L315
.L329:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L334
	ldr	r3, [fp, #-1252]
	mov	r1, r3
	ldr	r0, .L373+48
	bl	logMessage
	b	.L315
.L334:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L335
	mov	r3, #0
	str	r3, [fp, #-1340]
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1344]
	ldr	r3, [fp, #-1344]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L336
	ldr	r0, [fp, #-1396]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-1336]
	b	.L337
.L339:
	ldr	r3, [fp, #-1336]
	sub	r3, r3, #1
	str	r3, [fp, #-1336]
.L337:
	ldr	r3, [fp, #-1336]
	cmp	r3, #0
	blt	.L338
	ldr	r3, [fp, #-1336]
	ldr	r2, [fp, #-1396]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L339
.L338:
	ldr	r3, [fp, #-1336]
	cmp	r3, #0
	ble	.L336
	ldr	r3, [fp, #-1344]
	ldr	r2, [fp, #-1396]
	ldr	r1, [fp, #-1336]
	ldr	r0, .L373+56
	bl	sqlite3_mprintf
	str	r0, [fp, #-1340]
	ldr	r3, [fp, #-1340]
	str	r3, [fp, #-1344]
.L336:
	ldr	r0, [fp, #-1344]
	bl	readFile
	str	r0, [fp, #-1276]
	ldr	r3, .L373
	ldr	r3, [r3, #68]
	cmp	r3, #0
	beq	.L340
	ldr	r1, [fp, #-1344]
	ldr	r0, .L373+60
	bl	logMessage
.L340:
	ldr	r3, [fp, #-1344]
	ldr	r2, [fp, #-1276]
	mov	r1, #0
	mov	r0, #0
	bl	runScript
	ldr	r0, [fp, #-1276]
	bl	sqlite3_free
	ldr	r3, .L373
	ldr	r3, [r3, #68]
	cmp	r3, #0
	beq	.L341
	ldr	r1, [fp, #-1344]
	ldr	r0, .L373+64
	bl	logMessage
.L341:
	ldr	r0, [fp, #-1340]
	bl	sqlite3_free
	b	.L315
.L335:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+68
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L342
	mov	r3, #7
	str	r3, [fp, #-1332]
	b	.L343
.L345:
	ldr	r3, [fp, #-1332]
	add	r3, r3, #1
	str	r3, [fp, #-1332]
.L343:
	ldr	r2, [fp, #-1332]
	ldr	r3, [fp, #-1360]
	cmp	r2, r3
	bge	.L344
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-1376]
	ldr	r3, [fp, #-1332]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-1392]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L345
.L344:
	ldr	r2, [fp, #-1360]
	ldr	r3, [fp, #-1332]
	sub	r1, r2, r3
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1332]
	add	r3, r2, r3
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L373+132
	bl	logMessage
	b	.L315
.L342:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+72
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L346
	mov	r3, #4
	str	r3, [fp, #-1328]
	b	.L347
.L349:
	ldr	r3, [fp, #-1328]
	add	r3, r3, #1
	str	r3, [fp, #-1328]
.L347:
	ldr	r2, [fp, #-1328]
	ldr	r3, [fp, #-1360]
	cmp	r2, r3
	bge	.L348
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-1376]
	ldr	r3, [fp, #-1328]
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-1392]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L349
.L348:
	ldr	r2, [fp, #-1360]
	ldr	r3, [fp, #-1328]
	sub	r1, r2, r3
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1328]
	add	r3, r2, r3
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L373+76
	bl	prepareSql
	str	r0, [fp, #-1284]
	ldr	r0, [fp, #-1284]
	bl	sqlite3_step
	str	r0, [fp, #-1280]
	ldr	r3, [fp, #-1280]
	cmp	r3, #100
	bne	.L350
	mov	r1, #0
	ldr	r0, [fp, #-1284]
	bl	sqlite3_column_int
	mov	r3, r0
	cmp	r3, #0
	bne	.L351
.L350:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	sub	r2, fp, #1376
	sub	r2, r2, #4
	mov	r1, #1
	mov	r0, r3
	bl	findEndif
	mov	r2, r0
	ldr	r3, [fp, #-1376]
	add	r3, r3, r2
	str	r3, [fp, #-1376]
.L351:
	ldr	r0, [fp, #-1284]
	bl	sqlite3_finalize
	b	.L315
.L346:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+80
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L352
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	sub	r2, fp, #1376
	sub	r2, r2, #4
	mov	r1, #0
	mov	r0, r3
	bl	findEndif
	mov	r2, r0
	ldr	r3, [fp, #-1376]
	add	r3, r3, r2
	str	r3, [fp, #-1376]
	b	.L315
.L352:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+84
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L315
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+88
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L353
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	bne	.L353
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1304]
	ldr	r3, [fp, #-1304]
	cmp	r3, #0
	ble	.L372
	ldr	r0, [fp, #-1304]
	bl	startClient
	b	.L372
.L353:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+92
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L355
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	bne	.L355
	ldr	r3, [fp, #-1356]
	cmp	r3, #1
	ble	.L356
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #100
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	b	.L357
.L356:
	ldr	r3, .L373+96
.L357:
	str	r3, [fp, #-1300]
	sub	r1, fp, #1008
	ldr	r3, [fp, #-1396]
	str	r3, [sp]
	ldr	r3, [fp, #-1320]
	ldr	r2, .L373+100
	mov	r0, #1000
	bl	sqlite3_snprintf
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	sub	r3, fp, #1008
	mov	r2, r3
	ldr	r1, [fp, #-1300]
	bl	waitForClient
	b	.L315
.L355:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+104
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L358
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	bne	.L358
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1296]
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	sub	r2, fp, #1376
	sub	r2, r2, #4
	mov	r1, r2
	mov	r0, r3
	bl	findEnd
	str	r0, [fp, #-1292]
	ldr	r3, [fp, #-1296]
	cmp	r3, #0
	bge	.L359
	ldr	r3, [fp, #-1296]
	ldr	r2, [fp, #-1396]
	ldr	r1, [fp, #-1320]
	ldr	r0, .L373+108
	bl	errorMessage
	b	.L360
.L359:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1292]
	ldr	r0, .L373+132
	bl	sqlite3_mprintf
	str	r0, [fp, #-1288]
	ldr	r3, [fp, #-1356]
	cmp	r3, #1
	ble	.L361
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #100
	mov	r1, r3
	ldr	r0, .L373+48
	bl	sqlite3_mprintf
	str	r0, [fp, #-1324]
	b	.L362
.L361:
	ldr	r0, [fp, #-1396]
	bl	filenameTail
	mov	r3, r0
	ldr	r2, [fp, #-1320]
	mov	r1, r3
	ldr	r0, .L373+112
	bl	sqlite3_mprintf
	str	r0, [fp, #-1324]
.L362:
	ldr	r0, [fp, #-1296]
	bl	startClient
	ldr	r3, [fp, #-1324]
	ldr	r2, [fp, #-1288]
	ldr	r1, [fp, #-1296]
	ldr	r0, .L373+116
	bl	runSql
	ldr	r0, [fp, #-1288]
	bl	sqlite3_free
	ldr	r0, [fp, #-1324]
	bl	sqlite3_free
.L360:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r2, r2, r3
	ldr	r3, [fp, #-1292]
	add	r3, r2, r3
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	sub	r2, fp, #1376
	sub	r2, r2, #4
	mov	r1, r2
	mov	r0, r3
	bl	tokenLength
	mov	r2, r0
	ldr	r3, [fp, #-1292]
	add	r3, r3, r2
	str	r3, [fp, #-1292]
	ldr	r2, [fp, #-1360]
	ldr	r3, [fp, #-1292]
	add	r3, r2, r3
	str	r3, [fp, #-1360]
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	str	r3, [fp, #-1372]
	b	.L315
.L358:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+120
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L363
	bl	test_breakpoint
	b	.L315
.L363:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L373+124
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L364
	ldr	r3, [fp, #-1356]
	cmp	r3, #0
	ble	.L365
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	booleanValue
	mov	r3, r0
	cmp	r3, #0
	bne	.L366
.L365:
	mov	r3, #1
	b	.L367
.L366:
	mov	r3, #0
.L367:
	ldr	r2, .L373
	str	r3, [r2, #76]
	b	.L315
.L364:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1396]
	ldr	r1, [fp, #-1320]
	ldr	r0, .L373+128
	bl	errorMessage
	b	.L315
.L374:
	.align	2
.L373:
	.word	g
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC34
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	10000
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.word	.LC64
	.word	.LC95
.L372:
	nop
.L315:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1360]
	add	r3, r2, r3
	str	r3, [fp, #-1376]
.L298:
	ldr	r3, [fp, #-1376]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-1316]
	ldr	r3, [fp, #-1316]
	cmp	r3, #0
	bne	.L368
	ldr	r2, [fp, #-1372]
	ldr	r3, [fp, #-1376]
	cmp	r2, r3
	bge	.L369
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1372]
	sub	r1, r2, r3
	ldr	r3, [fp, #-1372]
	ldr	r2, [fp, #-1392]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L373+132
	bl	sqlite3_mprintf
	str	r0, [fp, #-1312]
	ldr	r0, [fp, #-1312]
	bl	runSql
	ldr	r0, [fp, #-1312]
	bl	sqlite3_free
.L369:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r0, r3
	bl	stringFree
	nop
	ldr	r3, .L373+136
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L370
	bl	__stack_chk_fail
.L370:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	runScript, .-runScript
	.section	.rodata
	.align	2
.LC96:
	.ascii	"hasArg==0 || hasArg==1\000"
	.align	2
.LC97:
	.ascii	"command-line option \"--%s\" requires an argument\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	findOption, %function
findOption:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L376
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	beq	.L376
	ldr	r3, .L394
	ldr	r2, .L394+4
	ldr	r1, .L394+8
	ldr	r0, .L394+12
	bl	__assert_fail
.L376:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L377
.L390:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L391
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L392
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L382
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L393
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L382:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L381
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L384
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L384
	ldr	r1, [fp, #-12]
	ldr	r0, .L394+16
	bl	fatalError
.L384:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L385
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L386
.L385:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L386:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-44]
	cmp	r2, #0
	movne	r2, #1
	moveq	r2, #0
	and	r2, r2, #255
	add	r3, r3, r2
	str	r3, [fp, #-20]
	b	.L387
.L388:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
.L387:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L388
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	b	.L389
.L392:
	nop
.L381:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L377:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L390
	b	.L379
.L391:
	nop
	b	.L379
.L393:
	nop
.L379:
	ldr	r3, [fp, #-16]
.L389:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L395:
	.align	2
.L394:
	.word	__PRETTY_FUNCTION__.8005
	.word	1211
	.word	.LC22
	.word	.LC96
	.word	.LC97
	.size	findOption, .-findOption
	.section	.rodata
	.align	2
.LC98:
	.ascii	"Usage: %s DATABASE ?OPTIONS? ?SCRIPT?\012\000"
	.align	2
.LC99:
	.ascii	"Options:\012   --errlog FILENAME           Write er"
	.ascii	"rors to FILENAME\012   --journalmode MODE          "
	.ascii	"Use MODE as the journal_mode\012   --log FILENAME  "
	.ascii	"            Log messages to FILENAME\012   --quiet "
	.ascii	"                    Suppress unnecessary output\012"
	.ascii	"   --vfs NAME                  Use NAME as the VFS\012"
	.ascii	"   --repeat N                  Repeat the test N ti"
	.ascii	"mes\012   --sqltrace                  Enable SQL tr"
	.ascii	"acing\012   --sync                      Enable sync"
	.ascii	"hronous disk writes\012   --timeout MILLISEC       "
	.ascii	"   Busy timeout is MILLISEC\012   --trace BOOLEAN  "
	.ascii	"           Enable or disable tracing\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L397
.L399:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L398
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L398:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L397:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L399
	ldr	r3, .L400
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L400+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L400
	ldr	r3, [r3]
	ldr	r2, .L400+8
	mov	r1, #1
	ldr	r0, .L400+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L401:
	.align	2
.L400:
	.word	stderr
	.word	.LC98
	.word	571
	.word	.LC99
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC100:
	.ascii	"%s: unrecognized arguments:\000"
	.align	2
.LC101:
	.ascii	" %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unrecognizedArguments, %function
unrecognizedArguments:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L405
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L405+4
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L403
.L404:
	ldr	r3, .L405
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L405+8
	bl	fprintf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L403:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L404
	ldr	r3, .L405
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #1
	bl	exit
.L406:
	.align	2
.L405:
	.word	stderr
	.word	.LC100
	.word	.LC101
	.size	unrecognizedArguments, .-unrecognizedArguments
	.section	.rodata
	.align	2
.LC102:
	.ascii	"*.test\000"
	.align	2
.LC103:
	.ascii	"2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5"
	.ascii	"f68c7388fa117345eeb516eaa837balt1\000"
	.align	2
.LC104:
	.ascii	"SQLite library and header mismatch\012Library: %s\012"
	.ascii	"Header:  %s\012\000"
	.align	2
.LC105:
	.ascii	"%05d.mptest\000"
	.align	2
.LC106:
	.ascii	"journalmode\000"
	.align	2
.LC107:
	.ascii	"repeat\000"
	.align	2
.LC108:
	.ascii	"vfs\000"
	.align	2
.LC109:
	.ascii	"client\000"
	.align	2
.LC110:
	.ascii	"errlog\000"
	.align	2
.LC111:
	.ascii	"log\000"
	.align	2
.LC112:
	.ascii	"trace\000"
	.align	2
.LC113:
	.ascii	"quiet\000"
	.align	2
.LC114:
	.ascii	"timeout\000"
	.align	2
.LC115:
	.ascii	"sqltrace\000"
	.align	2
.LC116:
	.ascii	"sync\000"
	.align	2
.LC117:
	.ascii	"a\000"
	.align	2
.LC118:
	.ascii	"illegal client number: %d\012\000"
	.align	2
.LC119:
	.ascii	"%05d.client%02d\000"
	.align	2
.LC120:
	.ascii	"BEGIN: %s\000"
	.align	2
.LC121:
	.ascii	"With SQLite 3.31.1 2020-01-27 19:55:54 3bfa9cc97da1"
	.ascii	"0598521b342961df8f5f68c7388fa117345eeb516eaa837balt"
	.ascii	"1\000"
	.align	2
.LC122:
	.ascii	"-DSQLITE_%s\012\000"
	.align	2
.LC123:
	.ascii	"still \000"
	.align	2
.LC124:
	.ascii	"... %strying to unlink '%s'\012\000"
	.align	2
.LC125:
	.ascii	"unable to unlink '%s' after %d attempts\012\000"
	.align	2
.LC126:
	.ascii	"cannot open [%s]\000"
	.align	2
.LC127:
	.ascii	"PRAGMA journal_mode=%Q;\000"
	.align	2
.LC128:
	.ascii	"PRAGMA synchronous=OFF\000"
	.align	2
.LC129:
	.ascii	"vfsname\000"
	.align	2
.LC130:
	.ascii	"eval\000"
	.align	2
.LC131:
	.ascii	"start-client\000"
	.align	2
.LC132:
	.ascii	"begin %s (%d)\000"
	.align	2
.LC133:
	.ascii	"end %s (%d)\000"
	.align	2
.LC134:
	.ascii	"end-client\000"
	.align	2
.LC135:
	.ascii	"missing script filename\000"
	.align	2
.LC136:
	.ascii	"DROP TABLE IF EXISTS task;\012DROP TABLE IF EXISTS "
	.ascii	"counters;\012DROP TABLE IF EXISTS client;\012CREATE"
	.ascii	" TABLE task(\012  id INTEGER PRIMARY KEY,\012  name"
	.ascii	" TEXT,\012  client INTEGER,\012  starttime DATE,\012"
	.ascii	"  endtime DATE,\012  script TEXT\012);CREATE INDEX "
	.ascii	"task_i1 ON task(client, starttime);\012CREATE INDEX"
	.ascii	" task_i2 ON task(client, endtime);\012CREATE TABLE "
	.ascii	"counters(nError,nTest);\012INSERT INTO counters VAL"
	.ascii	"UES(0,0);\012CREATE TABLE client(id INTEGER PRIMARY"
	.ascii	" KEY, wantHalt);\012\000"
	.align	2
.LC137:
	.ascii	"begin script [%s] cycle %d\012\000"
	.align	2
.LC138:
	.ascii	"end script [%s] cycle %d\012\000"
	.align	2
.LC139:
	.ascii	"during shutdown...\012\000"
	.align	2
.LC140:
	.ascii	"UPDATE client SET wantHalt=1\000"
	.align	2
.LC141:
	.ascii	"SELECT 1 FROM client\000"
	.align	2
.LC142:
	.ascii	"SELECT nError, nTest FROM counters\000"
	.align	2
.LC143:
	.ascii	"Summary: %d errors out of %d tests\012\000"
	.align	2
.LC144:
	.ascii	"END: %s\000"
	.align	2
.LC145:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L468
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #2
	str	r3, [fp, #-72]
	mov	r3, #1
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	ldr	r2, .L468+4
	str	r3, [r2]
	ldr	r3, .L468+4
	mov	r2, #1
	str	r2, [r3, #68]
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bgt	.L408
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
.L408:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	ldr	r2, .L468+4
	str	r3, [r2, #8]
	ldr	r3, .L468+4
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L468+8
	bl	strglob
	mov	r3, r0
	cmp	r3, #0
	beq	.L409
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
.L409:
	bl	sqlite3_sourceid
	mov	r3, r0
	ldr	r1, .L468+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L410
	ldr	r3, .L468+16
	ldr	r4, [r3]
	bl	sqlite3_sourceid
	mov	r2, r0
	ldr	r3, .L468+12
	ldr	r1, .L468+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L410:
	ldr	r3, [fp, #-104]
	sub	r3, r3, #2
	str	r3, [fp, #-96]
	bl	getpid
	mov	r3, r0
	ldr	r2, .L468+24
	ldr	r1, .L468+28
	mov	r0, #32
	bl	sqlite3_snprintf
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+32
	bl	findOption
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+36
	bl	findOption
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L411
	ldr	r0, [fp, #-40]
	bl	atoi
	str	r0, [fp, #-64]
.L411:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bgt	.L412
	mov	r3, #1
	str	r3, [fp, #-64]
.L412:
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+40
	bl	findOption
	mov	r3, r0
	ldr	r2, .L468+4
	str	r3, [r2, #4]
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+44
	bl	findOption
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+48
	bl	findOption
	mov	r3, r0
	ldr	r2, .L468+4
	str	r3, [r2, #16]
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+52
	bl	findOption
	mov	r3, r0
	ldr	r2, .L468+4
	str	r3, [r2, #24]
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+56
	bl	findOption
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L413
	ldr	r0, [fp, #-32]
	bl	atoi
	mov	r3, r0
	ldr	r2, .L468+4
	str	r3, [r2, #68]
.L413:
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #0
	ldr	r2, .L468+60
	bl	findOption
	mov	r3, r0
	cmp	r3, #0
	beq	.L414
	ldr	r3, .L468+4
	mov	r2, #0
	str	r2, [r3, #68]
.L414:
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #1
	ldr	r2, .L468+64
	bl	findOption
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L415
	ldr	r0, [fp, #-28]
	bl	atoi
	str	r0, [fp, #-56]
.L415:
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #0
	ldr	r2, .L468+68
	bl	findOption
	mov	r3, r0
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L468+4
	str	r2, [r3, #72]
	ldr	r3, [fp, #-108]
	add	r0, r3, #8
	sub	r1, fp, #96
	mov	r3, #0
	ldr	r2, .L468+72
	bl	findOption
	mov	r3, r0
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L468+4
	str	r2, [r3, #92]
	ldr	r3, .L468+4
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L416
	ldr	r3, .L468+4
	ldr	r3, [r3, #16]
	ldr	r1, .L468+76
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L468+4
	str	r3, [r2, #20]
	b	.L417
.L416:
	ldr	r3, .L468+16
	ldr	r3, [r3]
	ldr	r2, .L468+4
	str	r3, [r2, #20]
.L417:
	ldr	r3, .L468+4
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L418
	ldr	r3, .L468+4
	ldr	r3, [r3, #24]
	ldr	r1, .L468+76
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L468+4
	str	r3, [r2, #28]
	b	.L419
.L418:
	ldr	r3, .L468+80
	ldr	r3, [r3]
	ldr	r2, .L468+4
	str	r3, [r2, #28]
.L419:
	mov	r2, #0
	ldr	r1, .L468+84
	mov	r0, #16
	bl	sqlite3_config
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L420
	ldr	r0, [fp, #-36]
	bl	atoi
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bgt	.L421
	ldr	r1, [fp, #-80]
	ldr	r0, .L468+88
	bl	fatalError
.L421:
	bl	getpid
	mov	r2, r0
	ldr	r3, [fp, #-80]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L468+92
	ldr	r1, .L468+28
	mov	r0, #32
	bl	sqlite3_snprintf
	b	.L422
.L420:
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, .L468+4
	ldr	r3, [r3, #68]
	cmp	r3, #0
	ble	.L423
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L468+96
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L424
.L425:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L468+100
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L424:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L425
	mov	r0, #10
	bl	putchar
	ldr	r0, .L468+104
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L426
.L427:
	ldr	r1, [fp, #-24]
	ldr	r0, .L468+108
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L426:
	ldr	r0, [fp, #-76]
	bl	sqlite3_compileoption_get
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L427
	ldr	r3, .L468+80
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L423:
	mov	r3, #0
	str	r3, [fp, #-80]
.L433:
	ldr	r1, [fp, #-52]
	ldr	r3, .L468+112
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #4
	bne	.L428
	ldr	r3, [fp, #-52]
	cmp	r3, #5
	ble	.L429
	ldr	r3, .L468+116
	b	.L430
.L429:
	ldr	r3, .L468+120
.L430:
	ldr	r2, .L468+4
	ldr	r2, [r2, #8]
	mov	r1, r3
	ldr	r0, .L468+124
	bl	printf
.L428:
	ldr	r3, .L468+4
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	unlink
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L431
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L431
	mov	r3, #0
	str	r3, [fp, #-68]
.L431:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L432
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #59
	bgt	.L432
	mov	r0, #1000
	bl	sqlite3_sleep
	mov	r3, r0
	cmp	r3, #0
	bgt	.L433
.L432:
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L434
	ldr	r3, .L468+4
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-52]
	mov	r1, r3
	ldr	r0, .L468+128
	bl	fatalError
.L434:
	ldr	r3, [fp, #-72]
	orr	r3, r3, #4
	str	r3, [fp, #-72]
.L422:
	ldr	r3, .L468+4
	ldr	r0, [r3, #8]
	ldr	r3, .L468+4
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-72]
	ldr	r1, .L468+132
	bl	sqlite3_open_v2
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L435
	ldr	r3, .L468+4
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L468+136
	bl	fatalError
.L435:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	ble	.L436
	ldr	r3, .L468+4
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-56]
	mov	r0, r3
	bl	sqlite3_busy_timeout
.L436:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L437
	ldr	r1, [fp, #-44]
	ldr	r0, .L468+140
	bl	runSql
.L437:
	ldr	r3, .L468+4
	ldr	r3, [r3, #92]
	cmp	r3, #0
	bne	.L438
	ldr	r0, .L468+144
	bl	trySql
.L438:
	ldr	r3, .L468+4
	ldr	r3, [r3, #12]
	mov	r1, #1
	mov	r0, r3
	bl	sqlite3_enable_load_extension
	ldr	r3, .L468+4
	ldr	r3, [r3, #12]
	mov	r2, #0
	ldr	r1, .L468+148
	mov	r0, r3
	bl	sqlite3_busy_handler
	ldr	r3, .L468+4
	ldr	r0, [r3, #12]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, .L468+152
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #0
	ldr	r1, .L468+156
	bl	sqlite3_create_function
	ldr	r3, .L468+4
	ldr	r0, [r3, #12]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, .L468+160
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, .L468+164
	bl	sqlite3_create_function
	ldr	r3, .L468+4
	ldr	r2, .L468+168
	str	r2, [r3, #88]
	ldr	r3, .L468+4
	ldr	r3, [r3, #72]
	cmp	r3, #0
	beq	.L439
	ldr	r3, .L468+4
	ldr	r3, [r3, #12]
	mov	r2, #0
	ldr	r1, .L468+172
	mov	r0, r3
	bl	sqlite3_trace
.L439:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	ble	.L440
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	ble	.L441
	ldr	r3, [fp, #-108]
	ldr	r0, [r3]
	ldr	r1, [fp, #-96]
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	mov	r2, r3
	bl	unrecognizedArguments
.L441:
	ldr	r3, .L468+4
	ldr	r3, [r3, #68]
	cmp	r3, #0
	beq	.L448
	ldr	r0, .L468+176
	bl	logMessage
.L448:
	mov	r3, #0
	str	r3, [fp, #-84]
	sub	r3, fp, #84
	sub	r2, fp, #88
	sub	r1, fp, #92
	ldr	r0, [fp, #-80]
	bl	startScript
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #101
	bne	.L443
	ldr	r3, .L468+4
	ldr	r3, [r3, #68]
	cmp	r3, #0
	bne	.L444
	b	.L445
.L443:
	ldr	r3, .L468+4
	ldr	r3, [r3, #68]
	cmp	r3, #0
	beq	.L446
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L468+180
	bl	logMessage
.L446:
	ldr	r1, [fp, #-88]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-84]
	ldr	r0, [fp, #-80]
	bl	runScript
	ldr	r3, .L468+4
	ldr	r3, [r3, #68]
	cmp	r3, #0
	beq	.L447
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L468+184
	bl	logMessage
.L447:
	ldr	r3, [fp, #-88]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	finishScript
	ldr	r3, [fp, #-84]
	mov	r0, r3
	bl	sqlite3_free
	mov	r0, #10
	bl	sqlite3_sleep
	b	.L448
.L444:
	ldr	r0, .L468+188
	bl	logMessage
	b	.L445
.L440:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L449
	ldr	r0, .L468+192
	bl	fatalError
.L449:
	ldr	r3, [fp, #-96]
	cmp	r3, #1
	ble	.L450
	ldr	r3, [fp, #-108]
	ldr	r0, [r3]
	ldr	r1, [fp, #-96]
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	mov	r2, r3
	bl	unrecognizedArguments
.L450:
	ldr	r0, .L468+196
	bl	runSql
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	readFile
	mov	r3, r0
	str	r3, [fp, #-92]
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L451
.L454:
	ldr	r3, .L468+4
	ldr	r3, [r3, #68]
	cmp	r3, #0
	beq	.L452
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	mov	r1, r3
	ldr	r0, .L468+200
	bl	logMessage
.L452:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #0
	bl	runScript
	ldr	r3, .L468+4
	ldr	r3, [r3, #68]
	cmp	r3, #0
	beq	.L453
	ldr	r3, [fp, #-108]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	mov	r1, r3
	ldr	r0, .L468+204
	bl	logMessage
.L453:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L451:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	ble	.L454
	ldr	r3, [fp, #-92]
	mov	r0, r3
	bl	sqlite3_free
	ldr	r2, .L468+208
	mov	r1, #2000
	mov	r0, #0
	bl	waitForClient
	ldr	r0, .L468+212
	bl	trySql
	mov	r0, #10
	bl	sqlite3_sleep
	ldr	r3, .L468+4
	mov	r2, #0
	str	r2, [r3, #88]
	mov	r3, #1000
	str	r3, [fp, #-48]
	b	.L455
.L458:
	mov	r0, #10
	bl	sqlite3_sleep
	ldr	r3, [fp, #-48]
	sub	r3, r3, #10
	str	r3, [fp, #-48]
.L455:
	ldr	r0, .L468+216
	bl	trySql
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #5
	beq	.L456
	ldr	r3, [fp, #-68]
	cmp	r3, #100
	bne	.L457
.L456:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bgt	.L458
.L457:
	mov	r0, #100
	bl	sqlite3_sleep
	ldr	r0, .L468+220
	bl	prepareSql
	str	r0, [fp, #-20]
	mov	r3, #1000
	str	r3, [fp, #-48]
	b	.L459
.L461:
	mov	r0, #10
	bl	sqlite3_sleep
	ldr	r3, [fp, #-48]
	sub	r3, r3, #10
	str	r3, [fp, #-48]
.L459:
	ldr	r0, [fp, #-20]
	bl	sqlite3_step
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #5
	bne	.L460
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bgt	.L461
.L460:
	ldr	r3, [fp, #-68]
	cmp	r3, #100
	bne	.L462
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	sqlite3_column_int
	mov	r2, r0
	ldr	r3, .L468+4
	ldr	r3, [r3, #80]
	add	r3, r2, r3
	ldr	r2, .L468+4
	str	r3, [r2, #80]
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	sqlite3_column_int
	mov	r2, r0
	ldr	r3, .L468+4
	ldr	r3, [r3, #84]
	add	r3, r2, r3
	ldr	r2, .L468+4
	str	r3, [r2, #84]
.L462:
	ldr	r0, [fp, #-20]
	bl	sqlite3_finalize
.L445:
	ldr	r3, .L468+4
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	sqlite3_close
	ldr	r3, .L468+4
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	maybeClose
	ldr	r3, .L468+4
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	maybeClose
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L463
	ldr	r3, .L468+4
	ldr	r3, [r3, #80]
	ldr	r2, .L468+4
	ldr	r2, [r2, #84]
	mov	r1, r3
	ldr	r0, .L468+224
	bl	printf
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L468+228
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-76]
	b	.L464
.L465:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L468+100
	bl	printf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L464:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L465
	mov	r0, #10
	bl	putchar
.L463:
	ldr	r3, .L468+4
	ldr	r3, [r3, #80]
	cmp	r3, #0
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	ldr	r2, .L468
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L467
	bl	__stack_chk_fail
.L467:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L469:
	.align	2
.L468:
	.word	.LC145
	.word	g
	.word	.LC102
	.word	.LC103
	.word	stderr
	.word	.LC104
	.word	.LC105
	.word	g+32
	.word	.LC106
	.word	.LC107
	.word	.LC108
	.word	.LC109
	.word	.LC110
	.word	.LC111
	.word	.LC112
	.word	.LC113
	.word	.LC114
	.word	.LC115
	.word	.LC116
	.word	.LC117
	.word	stdout
	.word	sqlErrorCallback
	.word	.LC118
	.word	.LC119
	.word	.LC120
	.word	.LC101
	.word	.LC121
	.word	.LC122
	.word	1717986919
	.word	.LC123
	.word	.LC56
	.word	.LC124
	.word	.LC125
	.word	g+12
	.word	.LC126
	.word	.LC127
	.word	.LC128
	.word	busyHandler
	.word	vfsNameFunc
	.word	.LC129
	.word	evalFunc
	.word	.LC130
	.word	10000
	.word	sqlTraceCallback
	.word	.LC131
	.word	.LC132
	.word	.LC133
	.word	.LC134
	.word	.LC135
	.word	.LC136
	.word	.LC137
	.word	.LC138
	.word	.LC139
	.word	.LC140
	.word	.LC141
	.word	.LC142
	.word	.LC143
	.word	.LC144
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.7803, %object
	.size	__PRETTY_FUNCTION__.7803, 8
__PRETTY_FUNCTION__.7803:
	.ascii	"evalSql\000"
	.local	cnt.7925
	.comm	cnt.7925,4,4
	.align	2
	.type	__PRETTY_FUNCTION__.8005, %object
	.size	__PRETTY_FUNCTION__.8005, 11
__PRETTY_FUNCTION__.8005:
	.ascii	"findOption\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
