	.file	"187643861.c"
	.intel_syntax noprefix
	.text
	.globl	quotedb
	.bss
	.align 8
	.type	quotedb, @object
	.size	quotedb, 8
quotedb:
	.zero	8
	.globl	lseendb
	.align 8
	.type	lseendb, @object
	.size	lseendb, 8
lseendb:
	.zero	8
	.text
	.globl	bail
	.type	bail, @function
bail:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[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	.L2
	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
.L2:
	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
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -184[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bail, .-bail
	.section	.rodata
.LC0:
	.string	"qconv: %s\n"
	.align 8
.LC1:
	.string	"CREATE TABLE IF NOT EXISTS QUOTES (ID INTEGER PRIMARY KEY, EPOCH INTEGER NOT NULL, NAME TEXT NOT NULL, CHANNEL TEXT NOT NULL, LINE TEXT NOT NULL)"
	.text
	.globl	qdb_init
	.type	qdb_init, @function
qdb_init:
.LFB1:
	.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]
	lea	rsi, quotedb[rip]
	mov	rdi, rax
	call	sqlite3_open@PLT
	test	eax, eax
	je	.L6
	mov	rax, QWORD PTR quotedb[rip]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	rax, QWORD PTR quotedb[rip]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	bail
	test	eax, eax
	je	.L7
	mov	eax, 1
	jmp	.L9
.L7:
	mov	eax, 0
	jmp	.L9
.L6:
	mov	rax, QWORD PTR quotedb[rip]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	test	eax, eax
	je	.L10
	mov	rax, QWORD PTR quotedb[rip]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	rax, QWORD PTR quotedb[rip]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	bail
	test	eax, eax
	je	.L11
	mov	eax, 1
	jmp	.L9
.L11:
	mov	eax, 0
	jmp	.L9
.L10:
	mov	eax, 0
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	qdb_init, .-qdb_init
	.section	.rodata
.LC2:
	.string	"mconv: %s\n"
	.align 8
.LC3:
	.string	"CREATE TABLE IF NOT EXISTS LASTSEEN (ID INTEGER PRIMARY KEY, EPOCH INTEGER NOT NULL, NAME TEXT NOT NULL, CHANNEL TEXT NOT NULL, LINE TEXT NOT NULL)"
	.text
	.globl	mdb_init
	.type	mdb_init, @function
mdb_init:
.LFB2:
	.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]
	lea	rsi, lseendb[rip]
	mov	rdi, rax
	call	sqlite3_open@PLT
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR lseendb[rip]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	rax, QWORD PTR lseendb[rip]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	bail
	test	eax, eax
	je	.L15
	mov	eax, 1
	jmp	.L17
.L15:
	mov	eax, 0
	jmp	.L17
.L14:
	mov	rax, QWORD PTR lseendb[rip]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR lseendb[rip]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	rax, QWORD PTR lseendb[rip]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	bail
	test	eax, eax
	je	.L19
	mov	eax, 1
	jmp	.L17
.L19:
	mov	eax, 0
	jmp	.L17
.L18:
	mov	eax, 0
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	mdb_init, .-mdb_init
	.globl	qdb_quit
	.type	qdb_quit, @function
qdb_quit:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR quotedb[rip]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	qdb_quit, .-qdb_quit
	.globl	mdb_quit
	.type	mdb_quit, @function
mdb_quit:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR lseendb[rip]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	mdb_quit, .-mdb_quit
	.section	.rodata
	.align 8
.LC4:
	.string	"INSERT INTO QUOTES (EPOCH,NAME,CHANNEL,LINE) VALUES(%Q,%Q,%Q,%Q)"
.LC5:
	.string	"\nqconv: %s\n"
	.text
	.globl	shout_save
	.type	shout_save, @function
shout_save:
.LFB5:
	.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
	mov	QWORD PTR -48[rbp], rcx
	mov	rsi, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR quotedb[rip]
	mov	rsi, QWORD PTR -8[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR quotedb[rip]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	bail
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	eax, 0
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	shout_save, .-shout_save
	.section	.rodata
	.align 8
.LC6:
	.string	"INSERT INTO LASTSEEN (EPOCH,NAME,CHANNEL,LINE)VALUES(%Q,%Q,%Q,%Q)"
.LC7:
	.string	"\nmconv: %s\n"
	.text
	.globl	seen_save
	.type	seen_save, @function
seen_save:
.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
	mov	QWORD PTR -48[rbp], rcx
	mov	rsi, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	sqlite3_mprintf@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR lseendb[rip]
	mov	rsi, QWORD PTR -8[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	sqlite3_exec@PLT
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR lseendb[rip]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	bail
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	eax, 0
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	seen_save, .-seen_save
	.section	.rodata
	.align 8
.LC8:
	.string	"\nqparse: parse error at line %d: expected '[' got '%c'\n"
	.align 8
.LC9:
	.string	"\nqparse: parse error at line %d: no closing ']' found\n"
	.align 8
.LC10:
	.string	"\nqparse: parse error at line %d: expected '<' got '%c'\n"
	.align 8
.LC11:
	.string	"\nqparse: parse error at line %d: no closing '>' found\n"
	.align 8
.LC12:
	.string	"\nqparse: warning at line %d: quote is longer than 511 characters\n"
.LC13:
	.string	"UNKNOWN"
.LC14:
	.string	"\rParsed %d lines."
	.text
	.globl	qparse
	.type	qparse, @function
qparse:
.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, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	DWORD PTR -1068[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -1064[rbp], 0
	jne	.L32
	mov	eax, 1
	jmp	.L40
.L32:
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	je	.L34
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -1068[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	bail
	jmp	.L40
.L34:
	mov	rax, QWORD PTR -1064[rbp]
	mov	esi, 93
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L35
	mov	eax, DWORD PTR -1068[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	bail
	jmp	.L40
.L35:
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	mov	QWORD PTR -1024[rbp], 0
	mov	QWORD PTR -1016[rbp], 0
	mov	QWORD PTR -1008[rbp], 0
	mov	QWORD PTR -1000[rbp], 0
	mov	QWORD PTR -992[rbp], 0
	mov	QWORD PTR -984[rbp], 0
	mov	QWORD PTR -976[rbp], 0
	mov	QWORD PTR -968[rbp], 0
	mov	QWORD PTR -960[rbp], 0
	mov	QWORD PTR -952[rbp], 0
	mov	QWORD PTR -944[rbp], 0
	mov	QWORD PTR -936[rbp], 0
	mov	QWORD PTR -928[rbp], 0
	mov	QWORD PTR -920[rbp], 0
	mov	QWORD PTR -912[rbp], 0
	mov	QWORD PTR -904[rbp], 0
	mov	QWORD PTR -896[rbp], 0
	mov	QWORD PTR -888[rbp], 0
	mov	QWORD PTR -880[rbp], 0
	mov	QWORD PTR -872[rbp], 0
	mov	QWORD PTR -864[rbp], 0
	mov	QWORD PTR -856[rbp], 0
	mov	QWORD PTR -848[rbp], 0
	mov	QWORD PTR -840[rbp], 0
	mov	QWORD PTR -832[rbp], 0
	mov	QWORD PTR -824[rbp], 0
	mov	QWORD PTR -816[rbp], 0
	mov	QWORD PTR -808[rbp], 0
	mov	QWORD PTR -800[rbp], 0
	mov	QWORD PTR -792[rbp], 0
	mov	rax, QWORD PTR -1064[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1056[rbp]
	sub	rax, rdx
	mov	edx, 255
	cmp	rax, 255
	cmovg	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -1064[rbp]
	lea	rcx, 1[rax]
	lea	rax, -1040[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, 2
	mov	QWORD PTR -1064[rbp], rax
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 60
	je	.L36
	mov	rax, QWORD PTR -1064[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -1068[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	bail
	jmp	.L40
.L36:
	mov	rax, QWORD PTR -1064[rbp]
	mov	esi, 62
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L37
	mov	eax, DWORD PTR -1068[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	bail
	jmp	.L40
.L37:
	mov	QWORD PTR -784[rbp], 0
	mov	QWORD PTR -776[rbp], 0
	mov	QWORD PTR -768[rbp], 0
	mov	QWORD PTR -760[rbp], 0
	mov	QWORD PTR -752[rbp], 0
	mov	QWORD PTR -744[rbp], 0
	mov	QWORD PTR -736[rbp], 0
	mov	QWORD PTR -728[rbp], 0
	mov	QWORD PTR -720[rbp], 0
	mov	QWORD PTR -712[rbp], 0
	mov	QWORD PTR -704[rbp], 0
	mov	QWORD PTR -696[rbp], 0
	mov	QWORD PTR -688[rbp], 0
	mov	QWORD PTR -680[rbp], 0
	mov	QWORD PTR -672[rbp], 0
	mov	QWORD PTR -664[rbp], 0
	mov	QWORD PTR -656[rbp], 0
	mov	QWORD PTR -648[rbp], 0
	mov	QWORD PTR -640[rbp], 0
	mov	QWORD PTR -632[rbp], 0
	mov	QWORD PTR -624[rbp], 0
	mov	QWORD PTR -616[rbp], 0
	mov	QWORD PTR -608[rbp], 0
	mov	QWORD PTR -600[rbp], 0
	mov	QWORD PTR -592[rbp], 0
	mov	QWORD PTR -584[rbp], 0
	mov	QWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	mov	rax, QWORD PTR -1064[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1056[rbp]
	sub	rax, rdx
	mov	edx, 255
	cmp	rax, 255
	cmovg	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -1064[rbp]
	lea	rcx, 1[rax]
	lea	rax, -784[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -1056[rbp]
	add	rax, 2
	mov	QWORD PTR -1064[rbp], rax
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	lea	rdx, -512[rbp]
	mov	eax, 0
	mov	ecx, 62
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -1064[rbp]
	mov	esi, 13
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	je	.L38
	mov	rax, QWORD PTR -1048[rbp]
	mov	BYTE PTR [rax], 0
.L38:
	mov	rax, QWORD PTR -1048[rbp]
	sub	rax, QWORD PTR -1064[rbp]
	cmp	rax, 511
	jle	.L39
	mov	eax, DWORD PTR -1068[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	bail
.L39:
	mov	rcx, QWORD PTR -1064[rbp]
	lea	rax, -528[rbp]
	mov	edx, 511
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rdx, -528[rbp]
	lea	rsi, -784[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	lea	rdx, .LC13[rip]
	mov	rdi, rax
	call	shout_save
	mov	eax, DWORD PTR -1068[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
.L40:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	qparse, .-qparse
	.section	.rodata
	.align 8
.LC15:
	.string	"\nrparse: parse error at line %d: expected '[' got '%c'\n"
	.align 8
.LC16:
	.string	"\nrparse: parse error at line %d: no closing ']' found\n"
	.align 8
.LC17:
	.string	"\nrparse: parse error at line %d: expected '<' got '%c'\n"
	.align 8
.LC18:
	.string	"\nrparse: parse error at line %d: no closing '>' found\n"
	.align 8
.LC19:
	.string	"\nrparse: warning at line %d: message is longer than 511 characters\n"
	.text
	.globl	rparse
	.type	rparse, @function
rparse:
.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, 1328
	mov	QWORD PTR -1320[rbp], rdi
	mov	DWORD PTR -1324[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -1320[rbp], 0
	jne	.L43
	mov	eax, 1
	jmp	.L53
.L43:
	mov	rax, QWORD PTR -1320[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	je	.L45
	mov	rax, QWORD PTR -1320[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	bail
	jmp	.L53
.L45:
	mov	rax, QWORD PTR -1320[rbp]
	mov	esi, 93
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -1312[rbp], rax
	cmp	QWORD PTR -1312[rbp], 0
	jne	.L46
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	bail
	jmp	.L53
.L46:
	mov	QWORD PTR -1296[rbp], 0
	mov	QWORD PTR -1288[rbp], 0
	mov	QWORD PTR -1280[rbp], 0
	mov	QWORD PTR -1272[rbp], 0
	mov	QWORD PTR -1264[rbp], 0
	mov	QWORD PTR -1256[rbp], 0
	mov	QWORD PTR -1248[rbp], 0
	mov	QWORD PTR -1240[rbp], 0
	mov	QWORD PTR -1232[rbp], 0
	mov	QWORD PTR -1224[rbp], 0
	mov	QWORD PTR -1216[rbp], 0
	mov	QWORD PTR -1208[rbp], 0
	mov	QWORD PTR -1200[rbp], 0
	mov	QWORD PTR -1192[rbp], 0
	mov	QWORD PTR -1184[rbp], 0
	mov	QWORD PTR -1176[rbp], 0
	mov	QWORD PTR -1168[rbp], 0
	mov	QWORD PTR -1160[rbp], 0
	mov	QWORD PTR -1152[rbp], 0
	mov	QWORD PTR -1144[rbp], 0
	mov	QWORD PTR -1136[rbp], 0
	mov	QWORD PTR -1128[rbp], 0
	mov	QWORD PTR -1120[rbp], 0
	mov	QWORD PTR -1112[rbp], 0
	mov	QWORD PTR -1104[rbp], 0
	mov	QWORD PTR -1096[rbp], 0
	mov	QWORD PTR -1088[rbp], 0
	mov	QWORD PTR -1080[rbp], 0
	mov	QWORD PTR -1072[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	QWORD PTR -1056[rbp], 0
	mov	QWORD PTR -1048[rbp], 0
	mov	rax, QWORD PTR -1320[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1312[rbp]
	sub	rax, rdx
	mov	edx, 255
	cmp	rax, 255
	cmovg	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -1320[rbp]
	lea	rcx, 1[rax]
	lea	rax, -1296[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 2
	mov	QWORD PTR -1320[rbp], rax
	mov	rax, QWORD PTR -1320[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	je	.L47
	mov	rax, QWORD PTR -1320[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	bail
	jmp	.L53
.L47:
	mov	rax, QWORD PTR -1320[rbp]
	mov	esi, 93
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -1312[rbp], rax
	cmp	QWORD PTR -1312[rbp], 0
	jne	.L48
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	bail
	jmp	.L53
.L48:
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	mov	QWORD PTR -1024[rbp], 0
	mov	QWORD PTR -1016[rbp], 0
	mov	QWORD PTR -1008[rbp], 0
	mov	QWORD PTR -1000[rbp], 0
	mov	QWORD PTR -992[rbp], 0
	mov	QWORD PTR -984[rbp], 0
	mov	QWORD PTR -976[rbp], 0
	mov	QWORD PTR -968[rbp], 0
	mov	QWORD PTR -960[rbp], 0
	mov	QWORD PTR -952[rbp], 0
	mov	QWORD PTR -944[rbp], 0
	mov	QWORD PTR -936[rbp], 0
	mov	QWORD PTR -928[rbp], 0
	mov	QWORD PTR -920[rbp], 0
	mov	QWORD PTR -912[rbp], 0
	mov	QWORD PTR -904[rbp], 0
	mov	QWORD PTR -896[rbp], 0
	mov	QWORD PTR -888[rbp], 0
	mov	QWORD PTR -880[rbp], 0
	mov	QWORD PTR -872[rbp], 0
	mov	QWORD PTR -864[rbp], 0
	mov	QWORD PTR -856[rbp], 0
	mov	QWORD PTR -848[rbp], 0
	mov	QWORD PTR -840[rbp], 0
	mov	QWORD PTR -832[rbp], 0
	mov	QWORD PTR -824[rbp], 0
	mov	QWORD PTR -816[rbp], 0
	mov	QWORD PTR -808[rbp], 0
	mov	QWORD PTR -800[rbp], 0
	mov	QWORD PTR -792[rbp], 0
	mov	rax, QWORD PTR -1320[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1312[rbp]
	sub	rax, rdx
	mov	edx, 255
	cmp	rax, 255
	cmovg	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -1320[rbp]
	lea	rcx, 1[rax]
	lea	rax, -1040[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 2
	mov	QWORD PTR -1320[rbp], rax
	mov	rax, QWORD PTR -1320[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 60
	je	.L49
	mov	rax, QWORD PTR -1320[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	bail
	jmp	.L53
.L49:
	mov	rax, QWORD PTR -1320[rbp]
	mov	esi, 62
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -1312[rbp], rax
	cmp	QWORD PTR -1312[rbp], 0
	jne	.L50
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	bail
	jmp	.L53
.L50:
	mov	QWORD PTR -784[rbp], 0
	mov	QWORD PTR -776[rbp], 0
	mov	QWORD PTR -768[rbp], 0
	mov	QWORD PTR -760[rbp], 0
	mov	QWORD PTR -752[rbp], 0
	mov	QWORD PTR -744[rbp], 0
	mov	QWORD PTR -736[rbp], 0
	mov	QWORD PTR -728[rbp], 0
	mov	QWORD PTR -720[rbp], 0
	mov	QWORD PTR -712[rbp], 0
	mov	QWORD PTR -704[rbp], 0
	mov	QWORD PTR -696[rbp], 0
	mov	QWORD PTR -688[rbp], 0
	mov	QWORD PTR -680[rbp], 0
	mov	QWORD PTR -672[rbp], 0
	mov	QWORD PTR -664[rbp], 0
	mov	QWORD PTR -656[rbp], 0
	mov	QWORD PTR -648[rbp], 0
	mov	QWORD PTR -640[rbp], 0
	mov	QWORD PTR -632[rbp], 0
	mov	QWORD PTR -624[rbp], 0
	mov	QWORD PTR -616[rbp], 0
	mov	QWORD PTR -608[rbp], 0
	mov	QWORD PTR -600[rbp], 0
	mov	QWORD PTR -592[rbp], 0
	mov	QWORD PTR -584[rbp], 0
	mov	QWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	mov	rax, QWORD PTR -1320[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -1312[rbp]
	sub	rax, rdx
	mov	edx, 255
	cmp	rax, 255
	cmovg	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -1320[rbp]
	lea	rcx, 1[rax]
	lea	rax, -784[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -1312[rbp]
	add	rax, 2
	mov	QWORD PTR -1320[rbp], rax
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	lea	rdx, -512[rbp]
	mov	eax, 0
	mov	ecx, 62
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -1320[rbp]
	mov	esi, 13
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -1304[rbp], rax
	cmp	QWORD PTR -1304[rbp], 0
	je	.L51
	mov	rax, QWORD PTR -1304[rbp]
	mov	BYTE PTR [rax], 0
.L51:
	mov	rax, QWORD PTR -1304[rbp]
	sub	rax, QWORD PTR -1320[rbp]
	cmp	rax, 511
	jle	.L52
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	bail
.L52:
	mov	rcx, QWORD PTR -1320[rbp]
	lea	rax, -528[rbp]
	mov	edx, 511
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rcx, -528[rbp]
	lea	rdx, -1040[rbp]
	lea	rsi, -784[rbp]
	lea	rax, -1296[rbp]
	mov	rdi, rax
	call	seen_save
	mov	eax, DWORD PTR -1324[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
.L53:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	rparse, .-rparse
	.section	.rodata
.LC20:
	.string	"r"
	.align 8
.LC21:
	.string	"Migrating OpenPONIKO 2.0 quotes database..."
.LC22:
	.string	"BEGIN TRANSACTION"
.LC23:
	.string	"END TRANSACTION"
	.text
	.globl	qconv
	.type	qconv, @function
qconv:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -4152[rbp], rdi
	mov	QWORD PTR -4160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4152[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4136[rbp], rax
	cmp	QWORD PTR -4136[rbp], 0
	jne	.L56
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	bail
	jmp	.L63
.L56:
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	qdb_init
	test	eax, eax
	je	.L58
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L63
.L58:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	QWORD PTR -4128[rbp], 0
	mov	QWORD PTR -4120[rbp], 0
	lea	rdx, -4112[rbp]
	mov	eax, 0
	mov	ecx, 510
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -4140[rbp], 1
	mov	rax, QWORD PTR quotedb[rip]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	nop
.L59:
	mov	ebx, DWORD PTR -4140[rbp]
	lea	eax, 1[rbx]
	mov	DWORD PTR -4140[rbp], eax
	mov	rdx, QWORD PTR -4136[rbp]
	lea	rax, -4128[rbp]
	mov	esi, 4095
	mov	rdi, rax
	call	fgets@PLT
	mov	esi, ebx
	mov	rdi, rax
	call	qparse
	test	eax, eax
	je	.L59
	mov	rax, QWORD PTR quotedb[rip]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	edi, 10
	call	putchar@PLT
	call	qdb_quit
	test	eax, eax
	jne	.L60
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L63
.L60:
	mov	eax, 1
.L63:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	qconv, .-qconv
	.section	.rodata
.LC24:
	.string	"rconv: %s\n"
	.align 8
.LC25:
	.string	"Migrating OpenPONIKO 2.0 lastseen database..."
	.text
	.globl	rconv
	.type	rconv, @function
rconv:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -4152[rbp], rdi
	mov	QWORD PTR -4160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -4152[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4136[rbp], rax
	cmp	QWORD PTR -4136[rbp], 0
	jne	.L66
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	bail
	jmp	.L73
.L66:
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	mdb_init
	test	eax, eax
	je	.L68
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L73
.L68:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	QWORD PTR -4128[rbp], 0
	mov	QWORD PTR -4120[rbp], 0
	lea	rdx, -4112[rbp]
	mov	eax, 0
	mov	ecx, 510
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -4140[rbp], 1
	mov	rax, QWORD PTR lseendb[rip]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	nop
.L69:
	mov	ebx, DWORD PTR -4140[rbp]
	lea	eax, 1[rbx]
	mov	DWORD PTR -4140[rbp], eax
	mov	rdx, QWORD PTR -4136[rbp]
	lea	rax, -4128[rbp]
	mov	esi, 4095
	mov	rdi, rax
	call	fgets@PLT
	mov	esi, ebx
	mov	rdi, rax
	call	rparse
	test	eax, eax
	je	.L69
	mov	rax, QWORD PTR lseendb[rip]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	edi, 10
	call	putchar@PLT
	call	mdb_quit
	test	eax, eax
	jne	.L70
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L73
.L70:
	mov	eax, 1
.L73:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L74
	call	__stack_chk_fail@PLT
.L74:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	rconv, .-rconv
	.section	.rodata
	.align 8
.LC26:
	.string	"usage: %s <qdb|rdb> <old db> <new db>\n"
.LC27:
	.string	"qdb"
.LC28:
	.string	"rdb"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 3
	jg	.L76
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	bail
	jmp	.L83
.L76:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L78
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	qconv
	jmp	.L83
.L78:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L80
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	rconv
	jmp	.L83
.L80:
	mov	eax, 1
.L83:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.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	"187643861.c"
	.text
	.comm	quotedb,4,4
	.comm	lseendb,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bail
	.syntax unified
	.arm
	.fpu softvfp
	.type	bail, %function
bail:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	vfprintf
	mov	r3, #1
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	stderr
	.size	bail, .-bail
	.section	.rodata
	.align	2
.LC1:
	.ascii	"qconv: %s\012\000"
	.align	2
.LC2:
	.ascii	"CREATE TABLE IF NOT EXISTS QUOTES (ID INTEGER PRIMA"
	.ascii	"RY KEY, EPOCH INTEGER NOT NULL, NAME TEXT NOT NULL,"
	.ascii	" CHANNEL TEXT NOT NULL, LINE TEXT NOT NULL)\000"
	.text
	.align	2
	.global	qdb_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	qdb_init, %function
qdb_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r1, .L14
	ldr	r0, [fp, #-8]
	bl	sqlite3_open
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_close
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L14+4
	bl	bail
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	mov	r3, #1
	b	.L10
.L8:
	mov	r3, #0
	b	.L10
.L7:
	ldr	r3, .L14
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L14+8
	bl	sqlite3_exec
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_close
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L14+4
	bl	bail
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	mov	r3, #1
	b	.L10
.L12:
	mov	r3, #0
	b	.L10
.L11:
	mov	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	quotedb
	.word	.LC1
	.word	.LC2
	.size	qdb_init, .-qdb_init
	.section	.rodata
	.align	2
.LC3:
	.ascii	"mconv: %s\012\000"
	.align	2
.LC4:
	.ascii	"CREATE TABLE IF NOT EXISTS LASTSEEN (ID INTEGER PRI"
	.ascii	"MARY KEY, EPOCH INTEGER NOT NULL, NAME TEXT NOT NUL"
	.ascii	"L, CHANNEL TEXT NOT NULL, LINE TEXT NOT NULL)\000"
	.text
	.align	2
	.global	mdb_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdb_init, %function
mdb_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r1, .L24
	ldr	r0, [fp, #-8]
	bl	sqlite3_open
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L24
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_close
	ldr	r3, .L24
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L24+4
	bl	bail
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	mov	r3, #1
	b	.L20
.L18:
	mov	r3, #0
	b	.L20
.L17:
	ldr	r3, .L24
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L24+8
	bl	sqlite3_exec
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L24
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_close
	ldr	r3, .L24
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L24+4
	bl	bail
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r3, #1
	b	.L20
.L22:
	mov	r3, #0
	b	.L20
.L21:
	mov	r3, #0
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	lseendb
	.word	.LC3
	.word	.LC4
	.size	mdb_init, .-mdb_init
	.align	2
	.global	qdb_quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	qdb_quit, %function
qdb_quit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L28
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	quotedb
	.size	qdb_quit, .-qdb_quit
	.align	2
	.global	mdb_quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdb_quit, %function
mdb_quit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L32
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	lseendb
	.size	mdb_quit, .-mdb_quit
	.section	.rodata
	.align	2
.LC5:
	.ascii	"INSERT INTO QUOTES (EPOCH,NAME,CHANNEL,LINE) VALUES"
	.ascii	"(%Q,%Q,%Q,%Q)\000"
	.align	2
.LC6:
	.ascii	"\012qconv: %s\012\000"
	.text
	.align	2
	.global	shout_save
	.syntax unified
	.arm
	.fpu softvfp
	.type	shout_save, %function
shout_save:
	@ 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]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L37
	bl	sqlite3_mprintf
	str	r0, [fp, #-8]
	ldr	r3, .L37+4
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-8]
	bl	sqlite3_exec
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r0, [fp, #-8]
	bl	sqlite3_free
	ldr	r3, .L37+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L37+8
	bl	bail
	mov	r3, r0
	b	.L36
.L35:
	ldr	r0, [fp, #-8]
	bl	sqlite3_free
	mov	r3, #0
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC5
	.word	quotedb
	.word	.LC6
	.size	shout_save, .-shout_save
	.section	.rodata
	.align	2
.LC7:
	.ascii	"INSERT INTO LASTSEEN (EPOCH,NAME,CHANNEL,LINE)VALUE"
	.ascii	"S(%Q,%Q,%Q,%Q)\000"
	.align	2
.LC8:
	.ascii	"\012mconv: %s\012\000"
	.text
	.align	2
	.global	seen_save
	.syntax unified
	.arm
	.fpu softvfp
	.type	seen_save, %function
seen_save:
	@ 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]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L42
	bl	sqlite3_mprintf
	str	r0, [fp, #-8]
	ldr	r3, .L42+4
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-8]
	bl	sqlite3_exec
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r0, [fp, #-8]
	bl	sqlite3_free
	ldr	r3, .L42+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L42+8
	bl	bail
	mov	r3, r0
	b	.L41
.L40:
	ldr	r0, [fp, #-8]
	bl	sqlite3_free
	mov	r3, #0
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC7
	.word	lseendb
	.word	.LC8
	.size	seen_save, .-seen_save
	.section	.rodata
	.align	2
.LC9:
	.ascii	"\012qparse: parse error at line %d: expected '[' go"
	.ascii	"t '%c'\012\000"
	.align	2
.LC10:
	.ascii	"\012qparse: parse error at line %d: no closing ']' "
	.ascii	"found\012\000"
	.align	2
.LC11:
	.ascii	"\012qparse: parse error at line %d: expected '<' go"
	.ascii	"t '%c'\012\000"
	.align	2
.LC12:
	.ascii	"\012qparse: parse error at line %d: no closing '>' "
	.ascii	"found\012\000"
	.align	2
.LC13:
	.ascii	"\012qparse: warning at line %d: quote is longer tha"
	.ascii	"n 511 characters\012\000"
	.align	2
.LC14:
	.ascii	"UNKNOWN\000"
	.align	2
.LC15:
	.ascii	"\015Parsed %d lines.\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qparse
	.syntax unified
	.arm
	.fpu softvfp
	.type	qparse, %function
qparse:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	bne	.L45
	mov	r3, #1
	b	.L53
.L45:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L47
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-1052]
	ldr	r0, .L55+4
	bl	bail
	mov	r3, r0
	b	.L53
.L47:
	mov	r1, #93
	ldr	r0, [fp, #-1048]
	bl	strchr
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L48
	ldr	r1, [fp, #-1052]
	ldr	r0, .L55+8
	bl	bail
	mov	r3, r0
	b	.L53
.L48:
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-1048]
	add	r1, r3, #1
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	ldr	r2, [fp, #-1040]
	sub	r3, r2, r3
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-1040]
	add	r3, r3, #2
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #60
	beq	.L49
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-1052]
	ldr	r0, .L55+12
	bl	bail
	mov	r3, r0
	b	.L53
.L49:
	mov	r1, #62
	ldr	r0, [fp, #-1048]
	bl	strchr
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L50
	ldr	r1, [fp, #-1052]
	ldr	r0, .L55+16
	bl	bail
	mov	r3, r0
	b	.L53
.L50:
	mov	r3, #0
	str	r3, [fp, #-776]
	sub	r3, fp, #772
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-1048]
	add	r1, r3, #1
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	ldr	r2, [fp, #-1040]
	sub	r3, r2, r3
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	mov	r2, r3
	sub	r3, fp, #776
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-1040]
	add	r3, r3, #2
	str	r3, [fp, #-1048]
	mov	r3, #0
	str	r3, [fp, #-520]
	sub	r3, fp, #516
	mov	r2, #508
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r1, #13
	ldr	r0, [fp, #-1048]
	bl	strchr
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-1036]
	mov	r2, #0
	strb	r2, [r3]
.L51:
	ldr	r2, [fp, #-1036]
	ldr	r3, [fp, #-1048]
	sub	r3, r2, r3
	cmp	r3, #512
	blt	.L52
	ldr	r1, [fp, #-1052]
	ldr	r0, .L55+20
	bl	bail
.L52:
	sub	r3, fp, #520
	ldr	r2, .L55+24
	ldr	r1, [fp, #-1048]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #520
	sub	r1, fp, #776
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r2, .L55+28
	bl	shout_save
	ldr	r1, [fp, #-1052]
	ldr	r0, .L55+32
	bl	printf
	ldr	r3, .L55+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
.L53:
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC16
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	511
	.word	.LC14
	.word	.LC15
	.word	stdout
	.size	qparse, .-qparse
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\012rparse: parse error at line %d: expected '[' go"
	.ascii	"t '%c'\012\000"
	.align	2
.LC18:
	.ascii	"\012rparse: parse error at line %d: no closing ']' "
	.ascii	"found\012\000"
	.align	2
.LC19:
	.ascii	"\012rparse: parse error at line %d: expected '<' go"
	.ascii	"t '%c'\012\000"
	.align	2
.LC20:
	.ascii	"\012rparse: parse error at line %d: no closing '>' "
	.ascii	"found\012\000"
	.align	2
.LC21:
	.ascii	"\012rparse: warning at line %d: message is longer t"
	.ascii	"han 511 characters\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rparse
	.syntax unified
	.arm
	.fpu softvfp
	.type	rparse, %function
rparse:
	@ args = 0, pretend = 0, frame = 1304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1296
	sub	sp, sp, #8
	str	r0, [fp, #-1304]
	str	r1, [fp, #-1308]
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1304]
	cmp	r3, #0
	bne	.L58
	mov	r3, #1
	b	.L68
.L58:
	ldr	r3, [fp, #-1304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L60
	ldr	r3, [fp, #-1304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+4
	bl	bail
	mov	r3, r0
	b	.L68
.L60:
	mov	r1, #93
	ldr	r0, [fp, #-1304]
	bl	strchr
	str	r0, [fp, #-1296]
	ldr	r3, [fp, #-1296]
	cmp	r3, #0
	bne	.L61
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+8
	bl	bail
	mov	r3, r0
	b	.L68
.L61:
	mov	r3, #0
	str	r3, [fp, #-1288]
	sub	r3, fp, #1280
	sub	r3, r3, #4
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-1304]
	add	r1, r3, #1
	ldr	r3, [fp, #-1304]
	add	r3, r3, #1
	ldr	r2, [fp, #-1296]
	sub	r3, r2, r3
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	mov	r2, r3
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-1296]
	add	r3, r3, #2
	str	r3, [fp, #-1304]
	ldr	r3, [fp, #-1304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L62
	ldr	r3, [fp, #-1304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+4
	bl	bail
	mov	r3, r0
	b	.L68
.L62:
	mov	r1, #93
	ldr	r0, [fp, #-1304]
	bl	strchr
	str	r0, [fp, #-1296]
	ldr	r3, [fp, #-1296]
	cmp	r3, #0
	bne	.L63
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+8
	bl	bail
	mov	r3, r0
	b	.L68
.L63:
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-1304]
	add	r1, r3, #1
	ldr	r3, [fp, #-1304]
	add	r3, r3, #1
	ldr	r2, [fp, #-1296]
	sub	r3, r2, r3
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-1296]
	add	r3, r3, #2
	str	r3, [fp, #-1304]
	ldr	r3, [fp, #-1304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #60
	beq	.L64
	ldr	r3, [fp, #-1304]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+12
	bl	bail
	mov	r3, r0
	b	.L68
.L64:
	mov	r1, #62
	ldr	r0, [fp, #-1304]
	bl	strchr
	str	r0, [fp, #-1296]
	ldr	r3, [fp, #-1296]
	cmp	r3, #0
	bne	.L65
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+16
	bl	bail
	mov	r3, r0
	b	.L68
.L65:
	mov	r3, #0
	str	r3, [fp, #-776]
	sub	r3, fp, #772
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-1304]
	add	r1, r3, #1
	ldr	r3, [fp, #-1304]
	add	r3, r3, #1
	ldr	r2, [fp, #-1296]
	sub	r3, r2, r3
	cmp	r3, #255
	movlt	r3, r3
	movge	r3, #255
	mov	r2, r3
	sub	r3, fp, #776
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-1296]
	add	r3, r3, #2
	str	r3, [fp, #-1304]
	mov	r3, #0
	str	r3, [fp, #-520]
	sub	r3, fp, #516
	mov	r2, #508
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r1, #13
	ldr	r0, [fp, #-1304]
	bl	strchr
	str	r0, [fp, #-1292]
	ldr	r3, [fp, #-1292]
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-1292]
	mov	r2, #0
	strb	r2, [r3]
.L66:
	ldr	r2, [fp, #-1292]
	ldr	r3, [fp, #-1304]
	sub	r3, r2, r3
	cmp	r3, #512
	blt	.L67
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+20
	bl	bail
.L67:
	sub	r3, fp, #520
	ldr	r2, .L70+24
	ldr	r1, [fp, #-1304]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #520
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r1, fp, #776
	sub	r0, fp, #1280
	sub	r0, r0, #4
	sub	r0, r0, #4
	bl	seen_save
	ldr	r1, [fp, #-1308]
	ldr	r0, .L70+28
	bl	printf
	ldr	r3, .L70+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r3, #0
.L68:
	ldr	r2, .L70
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC22
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	511
	.word	.LC15
	.word	stdout
	.size	rparse, .-rparse
	.section	.rodata
	.align	2
.LC23:
	.ascii	"r\000"
	.align	2
.LC24:
	.ascii	"Migrating OpenPONIKO 2.0 quotes database...\000"
	.align	2
.LC25:
	.ascii	"BEGIN TRANSACTION\000"
	.align	2
.LC26:
	.ascii	"END TRANSACTION\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	qconv
	.syntax unified
	.arm
	.fpu softvfp
	.type	qconv, %function
qconv:
	@ args = 0, pretend = 0, frame = 4120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-24]
	ldr	r3, .L82
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L82+4
	ldr	r0, [r3, #-20]
	bl	fopen
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L73
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L82+8
	bl	bail
	mov	r3, r0
	b	.L80
.L73:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-24]
	bl	qdb_init
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	fclose
	mov	r3, #1
	b	.L80
.L75:
	ldr	r0, .L82+12
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L82+16
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-12]
	ldr	r3, .L82+20
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L82+24
	bl	sqlite3_exec
	nop
.L76:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-8]
	ldr	r1, .L82+28
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-12]
	mov	r1, r3
	bl	qparse
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	ldr	r3, .L82+20
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L82+32
	bl	sqlite3_exec
	mov	r0, #10
	bl	putchar
	bl	qdb_quit
	mov	r3, r0
	cmp	r3, #0
	bne	.L77
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	fclose
	mov	r3, #0
	b	.L80
.L77:
	mov	r3, #1
.L80:
	ldr	r2, .L82
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L81
	bl	__stack_chk_fail
.L81:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC27
	.word	.LC23
	.word	.LC1
	.word	.LC24
	.word	4092
	.word	quotedb
	.word	.LC25
	.word	4095
	.word	.LC26
	.size	qconv, .-qconv
	.section	.rodata
	.align	2
.LC28:
	.ascii	"rconv: %s\012\000"
	.align	2
.LC29:
	.ascii	"Migrating OpenPONIKO 2.0 lastseen database...\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rconv
	.syntax unified
	.arm
	.fpu softvfp
	.type	rconv, %function
rconv:
	@ args = 0, pretend = 0, frame = 4120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-24]
	ldr	r3, .L94
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L94+4
	ldr	r0, [r3, #-20]
	bl	fopen
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L85
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L94+8
	bl	bail
	mov	r3, r0
	b	.L92
.L85:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-24]
	bl	mdb_init
	mov	r3, r0
	cmp	r3, #0
	beq	.L87
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	fclose
	mov	r3, #1
	b	.L92
.L87:
	ldr	r0, .L94+12
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4]
	mov	r0, r2
	ldr	r3, .L94+16
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-12]
	ldr	r3, .L94+20
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L94+24
	bl	sqlite3_exec
	nop
.L88:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-8]
	ldr	r1, .L94+28
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-12]
	mov	r1, r3
	bl	rparse
	mov	r3, r0
	cmp	r3, #0
	beq	.L88
	ldr	r3, .L94+20
	ldr	r0, [r3]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L94+32
	bl	sqlite3_exec
	mov	r0, #10
	bl	putchar
	bl	mdb_quit
	mov	r3, r0
	cmp	r3, #0
	bne	.L89
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	fclose
	mov	r3, #0
	b	.L92
.L89:
	mov	r3, #1
.L92:
	ldr	r2, .L94
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L93
	bl	__stack_chk_fail
.L93:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC30
	.word	.LC23
	.word	.LC28
	.word	.LC29
	.word	4092
	.word	lseendb
	.word	.LC25
	.word	4095
	.word	.LC26
	.size	rconv, .-rconv
	.section	.rodata
	.align	2
.LC31:
	.ascii	"usage: %s <qdb|rdb> <old db> <new db>\012\000"
	.align	2
.LC32:
	.ascii	"qdb\000"
	.align	2
.LC33:
	.ascii	"rdb\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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	r3, [fp, #-8]
	cmp	r3, #3
	bgt	.L97
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L105
	bl	bail
	mov	r3, r0
	b	.L104
.L97:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L105+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L99
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	qconv
	mov	r3, r0
	b	.L104
.L99:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L105+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L101
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	rconv
	mov	r3, r0
	b	.L104
.L101:
	mov	r3, #1
.L104:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L106:
	.align	2
.L105:
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
