	.file	"125905.c"
	.intel_syntax noprefix
	.text
	.globl	sqlite3_api
	.bss
	.align 8
	.type	sqlite3_api, @object
	.size	sqlite3_api, 8
sqlite3_api:
	.zero	8
	.section	.rodata
.LC0:
	.string	"the_stack_data/125905.c"
.LC1:
	.string	"nByte>0"
	.text
	.type	unionMalloc, @function
unionMalloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	DWORD PTR -28[rbp], 0
	jg	.L2
	lea	rcx, __PRETTY_FUNCTION__.11[rip]
	mov	edx, 184
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 544[rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	rdx
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 7
	jmp	.L5
.L3:
	mov	QWORD PTR -8[rbp], 0
.L5:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	unionMalloc, .-unionMalloc
	.type	unionStrdup, @function
unionStrdup:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 0
	cmp	QWORD PTR -32[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	unionMalloc
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L8
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L8:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	unionStrdup, .-unionStrdup
	.section	.rodata
.LC2:
	.string	"0"
	.text
	.type	unionDequote, @function
unionDequote:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -9[rbp], al
	cmp	BYTE PTR -9[rbp], 91
	je	.L12
	cmp	BYTE PTR -9[rbp], 39
	je	.L12
	cmp	BYTE PTR -9[rbp], 34
	je	.L12
	cmp	BYTE PTR -9[rbp], 96
	jne	.L20
.L12:
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 0
	cmp	BYTE PTR -9[rbp], 91
	jne	.L14
	mov	BYTE PTR -9[rbp], 93
	jmp	.L14
.L19:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -9[rbp], al
	jne	.L15
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -9[rbp], al
	je	.L16
	add	DWORD PTR -8[rbp], 1
	jmp	.L17
.L16:
	add	DWORD PTR -8[rbp], 2
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -9[rbp]
	mov	BYTE PTR [rdx], al
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L14:
	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	.L18
	lea	rcx, __PRETTY_FUNCTION__.10[rip]
	mov	edx, 235
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L18:
	mov	eax, 1
	test	al, al
	jne	.L19
.L17:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L20:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	unionDequote, .-unionDequote
	.section	.rodata
.LC3:
	.string	"pzErr"
.LC4:
	.string	"sql error: %s"
	.text
	.type	unionPrepare, @function
unionPrepare:
.LFB3:
	.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	cmp	QWORD PTR -80[rbp], 0
	jne	.L22
	lea	rcx, __PRETTY_FUNCTION__.9[rip]
	mov	edx, 277
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L22:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L23
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r9, QWORD PTR 928[rax]
	lea	rdx, -32[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	r9
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	je	.L23
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rbx, QWORD PTR 552[rax]
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 424[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	rdx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	rbx
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
.L23:
	mov	rax, QWORD PTR -32[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	unionPrepare, .-unionPrepare
	.type	unionPreparePrintf, @function
unionPreparePrintf:
.LFB4:
	.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 -232[rbp], rdi
	mov	QWORD PTR -240[rbp], rsi
	mov	QWORD PTR -248[rbp], rdx
	mov	QWORD PTR -256[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L27
	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
.L27:
	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], 32
	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 sqlite3_api[rip]
	mov	rcx, QWORD PTR 912[rax]
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -256[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L28
	cmp	QWORD PTR -216[rbp], 0
	jne	.L29
	mov	rax, QWORD PTR -232[rbp]
	mov	DWORD PTR [rax], 7
	jmp	.L28
.L29:
	mov	rcx, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	rsi, QWORD PTR -248[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	unionPrepare
	mov	QWORD PTR -224[rbp], rax
.L28:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, QWORD PTR -184[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	unionPreparePrintf, .-unionPreparePrintf
	.section	.rodata
.LC5:
	.string	"%s"
	.text
	.type	unionFinalize, @function
unionFinalize:
.LFB5:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 392[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 456[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	rdx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L34
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -28[rbp], 0
	je	.L34
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rbx, QWORD PTR 552[rax]
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 424[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rdx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	rbx
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rdx], rax
.L34:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	unionFinalize, .-unionFinalize
	.section	.rodata
.LC6:
	.string	"(*pp)->db"
	.text
	.type	unionCloseSources, @function
unionCloseSources:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	jmp	.L36
.L41:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 72
	mov	QWORD PTR -8[rbp], rax
	jmp	.L37
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 56
	mov	QWORD PTR -8[rbp], rax
.L37:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L38
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L39
	lea	rcx, __PRETTY_FUNCTION__.8[rip]
	mov	edx, 363
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L39:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 128[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 48[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 80[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 80[rax], edx
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 72[rax]
	test	rax, rax
	je	.L42
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 80[rax]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L41
.L42:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	unionCloseSources, .-unionCloseSources
	.type	unionDisconnect, @function
unionDisconnect:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	cmp	QWORD PTR -40[rbp], 0
	je	.L44
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L45
.L46:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 128[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	rdx
	add	DWORD PTR -20[rbp], 1
.L45:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 40[rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L46
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
.L44:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	unionDisconnect, .-unionDisconnect
	.section	.rodata
.LC7:
	.string	"_rowid_"
.LC8:
	.string	"integer"
.LC9:
	.string	"."
.LC10:
	.string	""
.LC11:
	.string	"no such rowid table: %s%s%s"
	.text
	.type	unionIsIntkeyTable, @function
unionIsIntkeyTable:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r10, QWORD PTR 760[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR [rax]
	lea	rdi, -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	sub	rsp, 8
	push	0
	lea	rcx, -24[rbp]
	push	rcx
	push	0
	mov	r9d, 0
	mov	r8, rdi
	lea	rcx, .LC7[rip]
	mov	rdi, rax
	call	r10
	add	rsp, 32
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 416[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	rdx
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 1
	je	.L49
	cmp	DWORD PTR -20[rbp], 0
	jne	.L50
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	je	.L49
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 1488[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	call	rdx
	test	eax, eax
	je	.L50
.L49:
	mov	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 552[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L51
	lea	rdx, .LC9[rip]
	jmp	.L52
.L51:
	lea	rdx, .LC10[rip]
.L52:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L53
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	jmp	.L54
.L53:
	lea	rax, .LC10[rip]
.L54:
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rdx], rax
.L50:
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	unionIsIntkeyTable, .-unionIsIntkeyTable
	.section	.rodata
	.align 8
.LC12:
	.string	"SELECT group_concat(quote(name) || '.' || quote(type)) FROM pragma_table_info(?, ?)"
	.text
	.type	unionSourceToStr, @function
unionSourceToStr:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L58
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L59
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 48[rax]
	jmp	.L60
.L59:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 24[rax]
.L60:
	mov	QWORD PTR -32[rbp], rax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	unionIsIntkeyTable
	mov	DWORD PTR -44[rbp], eax
	mov	rdx, QWORD PTR -80[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	lea	rax, -44[rbp]
	mov	rcx, rdx
	lea	rdx, .LC12[rip]
	mov	rdi, rax
	call	unionPrepare
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -44[rbp]
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r9, QWORD PTR 80[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 0
	mov	ecx, -1
	mov	esi, 1
	mov	rdi, rax
	call	r9
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r9, QWORD PTR 80[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 0
	mov	ecx, -1
	mov	esi, 2
	mov	rdi, rax
	call	r9
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 752[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rdx
	cmp	eax, 100
	jne	.L62
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 288[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unionStrdup
	mov	QWORD PTR -40[rbp], rax
.L62:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	lea	rax, -44[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	unionFinalize
.L61:
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
.L58:
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	unionSourceToStr, .-unionSourceToStr
	.section	.rodata
.LC13:
	.string	"*pzErr==0"
.LC14:
	.string	"source table schema mismatch"
	.text
	.type	unionSourceCheck, @function
unionSourceCheck:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L66
	lea	rcx, __PRETTY_FUNCTION__.7[rip]
	mov	edx, 484
	lea	rsi, .LC0[rip]
	lea	rdi, .LC13[rip]
	call	__assert_fail@PLT
.L66:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	unionSourceToStr
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -28[rbp], 1
	jmp	.L67
.L69:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 6
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	rdx, rdi
	mov	rdi, rax
	call	unionSourceToStr
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	jne	.L68
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 1488[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	je	.L68
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 552[rax]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -32[rbp], 1
.L68:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
	add	DWORD PTR -28[rbp], 1
.L67:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 40[rax]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L69
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rdx
	mov	eax, DWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	unionSourceCheck, .-unionSourceCheck
	.section	.rodata
.LC15:
	.string	"SELECT \"%w\"(%Q);"
.LC16:
	.string	"out of memory"
	.text
	.type	unionOpenDatabaseInner, @function
unionOpenDatabaseInner:
.LFB11:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 1080[rax]
	mov	edx, DWORD PTR openFlags.6[rip]
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, 48[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	ecx, 0
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L73
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L74
.L73:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 64[rax]
	test	rax, rax
	je	.L75
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 552[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	rcx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 128[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 48[rax], 0
	cmp	QWORD PTR -24[rbp], 0
	jne	.L76
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 552[rax]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, 7
	jmp	.L74
.L76:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r9, QWORD PTR 440[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	r9
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rdx
	cmp	DWORD PTR -28[rbp], 0
	je	.L77
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L74
.L77:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 1080[rax]
	mov	edx, DWORD PTR openFlags.6[rip]
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, 48[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	ecx, 0
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -28[rbp], eax
.L75:
	cmp	DWORD PTR -28[rbp], 0
	je	.L78
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rbx, QWORD PTR 552[rax]
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 424[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	rdx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	rbx
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rdx], rax
.L78:
	mov	eax, DWORD PTR -28[rbp]
.L74:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	unionOpenDatabaseInner, .-unionOpenDatabaseInner
	.section	.rodata
	.align 8
.LC17:
	.string	"pTab->bSwarm && iSrc<pTab->nSrc"
	.text
	.type	unionOpenDatabase, @function
unionOpenDatabase:
.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, 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	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L80
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 40[rax]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L89
.L80:
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 549
	lea	rsi, .LC0[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L89:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L82
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 84[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	unionCloseSources
	mov	rdx, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	unionOpenDatabaseInner
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L83
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	lea	rax, -28[rbp]
	mov	rdi, rax
	call	unionSourceToStr
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L83
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	jne	.L84
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 56[rax], rdx
	jmp	.L83
.L84:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 1488[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	je	.L85
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 552[rax]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -28[rbp], 1
.L85:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
.L83:
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L86
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 72[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 80[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 80[rax], edx
	jmp	.L82
.L86:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 128[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 48[rax], 0
.L82:
	mov	eax, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L88
	call	__stack_chk_fail@PLT
.L88:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	unionOpenDatabase, .-unionOpenDatabase
	.section	.rodata
.LC18:
	.string	"pSrc->nUser>=0 && pSrc->db"
	.text
	.type	unionIncrRefcount, @function
unionIncrRefcount:
.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	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L98
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	js	.L92
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L97
.L92:
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 591
	lea	rsi, .LC0[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L97:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	jne	.L94
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 72
	mov	QWORD PTR -16[rbp], rax
	jmp	.L95
.L96:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 56
	mov	QWORD PTR -16[rbp], rax
.L95:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L96
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], 0
.L94:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], edx
.L98:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	unionIncrRefcount, .-unionIncrRefcount
	.section	.rodata
.LC19:
	.string	"pSrc->nUser>=0"
	.text
	.type	unionFinalizeCsrStmt, @function
unionFinalizeCsrStmt:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L100
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 456[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	rdx
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L100
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	jns	.L101
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 619
	lea	rsi, .LC0[rip]
	lea	rdi, .LC19[rip]
	call	__assert_fail@PLT
.L101:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	jne	.L102
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 72[rax], rdx
.L102:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 84[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	unionCloseSources
.L100:
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	unionFinalizeCsrStmt, .-unionFinalizeCsrStmt
	.section	.rodata
.LC20:
	.string	"swarmvtab"
.LC21:
	.string	"unionvtab"
.LC22:
	.string	"temp"
	.align 8
.LC23:
	.string	"%s tables must be created in TEMP schema"
	.align 8
.LC24:
	.string	"wrong number of arguments for %s"
.LC25:
	.string	"SELECT * FROM (%z) ORDER BY 3"
.LC26:
	.string	"rowid range mismatch error"
.LC27:
	.string	"no source tables configured"
	.align 8
.LC28:
	.string	"SELECT 'CREATE TABLE xyz('    || group_concat(quote(name) || ' ' || type, ', ')    || ')',max((cid+1) * (type='INTEGER' COLLATE nocase AND pk=1))-1 FROM pragma_table_info(%Q, ?)"
	.text
	.type	unionConnect, @function
unionConnect:
.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, 176
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	DWORD PTR -148[rbp], edx
	mov	QWORD PTR -160[rbp], rcx
	mov	QWORD PTR -168[rbp], r8
	mov	QWORD PTR -176[rbp], r9
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -112[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	cmp	QWORD PTR -144[rbp], 0
	setne	al
	movzx	eax, al
	mov	DWORD PTR -120[rbp], eax
	cmp	DWORD PTR -120[rbp], 0
	je	.L105
	lea	rax, .LC20[rip]
	jmp	.L106
.L105:
	lea	rax, .LC21[rip]
.L106:
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 1488[rax]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	rdx
	test	eax, eax
	je	.L107
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 552[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -176[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -128[rbp], 1
	jmp	.L108
.L107:
	cmp	DWORD PTR -148[rbp], 4
	je	.L109
	cmp	DWORD PTR -148[rbp], 5
	je	.L109
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 552[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -176[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -128[rbp], 1
	jmp	.L108
.L109:
	mov	DWORD PTR -124[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unionStrdup
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	unionDequote
	mov	rcx, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	rsi, QWORD PTR -176[rbp]
	lea	rax, -128[rbp]
	mov	r8, rcx
	lea	rcx, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	unionPreparePrintf
	mov	QWORD PTR -104[rbp], rax
	lea	rax, -128[rbp]
	mov	esi, 88
	mov	rdi, rax
	call	unionMalloc
	mov	QWORD PTR -112[rbp], rax
	jmp	.L110
.L119:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 288[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 288[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 40[rax]
	cmp	DWORD PTR -124[rbp], eax
	jg	.L111
	cmp	DWORD PTR -124[rbp], 0
	je	.L112
	mov	eax, DWORD PTR -124[rbp]
	add	eax, eax
	jmp	.L113
.L112:
	mov	eax, 8
.L113:
	mov	DWORD PTR -116[rbp], eax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 608[rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	eax, 6
	mov	ecx, eax
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L114
	mov	DWORD PTR -128[rbp], 7
	jmp	.L115
.L114:
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR 40[rax]
	mov	eax, DWORD PTR -116[rbp]
	sub	eax, edx
	cdqe
	sal	rax, 6
	mov	rdx, rax
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 40[rax]
	cdqe
	sal	rax, 6
	mov	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR -124[rbp], eax
.L111:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jl	.L116
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	jle	.L117
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 40[rax]
	cdqe
	sal	rax, 6
	sub	rax, 64
	add	rax, rdx
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -64[rbp], rax
	jg	.L117
.L116:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 552[rax]
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -176[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -128[rbp], 1
.L117:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L110
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 40[rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -112[rbp]
	mov	DWORD PTR 40[rdx], ecx
	cdqe
	sal	rax, 6
	add	rax, rsi
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unionStrdup
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 24[rax], rdx
	cmp	DWORD PTR -120[rbp], 0
	je	.L118
	mov	rdx, QWORD PTR -80[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unionStrdup
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 32[rdx], rax
	jmp	.L110
.L118:
	mov	rdx, QWORD PTR -80[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unionStrdup
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
.L110:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L115
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 752[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	rdx
	cmp	eax, 100
	je	.L119
.L115:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	unionFinalize
	mov	QWORD PTR -104[rbp], 0
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L120
	cmp	DWORD PTR -148[rbp], 4
	jle	.L120
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 32
	mov	rdx, QWORD PTR [rax]
	lea	rax, -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unionStrdup
	mov	rdx, QWORD PTR -112[rbp]
	mov	QWORD PTR 64[rdx], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rdi, rax
	call	unionDequote
.L120:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L121
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	jne	.L121
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 552[rax]
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -176[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -128[rbp], 1
.L121:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L122
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -120[rbp]
	mov	DWORD PTR 32[rax], edx
	mov	rax, QWORD PTR -112[rbp]
	mov	DWORD PTR 84[rax], 9
	cmp	DWORD PTR -120[rbp], 0
	je	.L123
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	unionOpenDatabase
	mov	DWORD PTR -128[rbp], eax
	jmp	.L122
.L123:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	unionSourceCheck
	mov	DWORD PTR -128[rbp], eax
.L122:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L124
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L125
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 48[rax]
	jmp	.L126
.L125:
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR 24[rax]
.L126:
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -176[rbp]
	lea	rax, -128[rbp]
	mov	r9, rdi
	mov	r8, rcx
	lea	rcx, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	unionPreparePrintf
	mov	QWORD PTR -104[rbp], rax
.L124:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jne	.L127
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 752[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	rdx
	cmp	eax, 100
	jne	.L127
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 288[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 400[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	DWORD PTR -128[rbp], eax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 224[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	rdx
	mov	rdx, QWORD PTR -112[rbp]
	mov	DWORD PTR 36[rdx], eax
.L127:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	lea	rax, -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	unionFinalize
.L108:
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	je	.L128
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	unionDisconnect
	mov	QWORD PTR -112[rbp], 0
.L128:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -128[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L130
	call	__stack_chk_fail@PLT
.L130:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	unionConnect, .-unionConnect
	.type	unionOpen, @function
unionOpen:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	lea	rax, -20[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	unionMalloc
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L133
	call	__stack_chk_fail@PLT
.L133:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	unionOpen, .-unionOpen
	.type	unionClose, @function
unionClose:
.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 -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	unionFinalizeCsrStmt
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	unionClose, .-unionClose
	.section	.rodata
.LC29:
	.string	"pCsr->pStmt"
.LC30:
	.string	"WHERE _rowid_ <="
.LC31:
	.string	"-- "
	.align 8
.LC32:
	.string	"SELECT rowid, * FROM %Q %s %lld"
	.text
	.type	doUnionNext, @function
doUnionNext:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L137
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 811
	lea	rsi, .LC0[rip]
	lea	rdi, .LC29[rip]
	call	__assert_fail@PLT
.L137:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 752[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	rdx
	cmp	eax, 100
	je	.L138
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	unionFinalizeCsrStmt
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L138
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L138
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 40[rax]
	cmp	edx, eax
	jge	.L138
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jl	.L138
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	unionOpenDatabase
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jle	.L139
	lea	rax, .LC30[rip]
	jmp	.L140
.L139:
	lea	rax, .LC31[rip]
.L140:
	mov	rdx, QWORD PTR -16[rbp]
	mov	r8, QWORD PTR 8[rdx]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 48[rdx]
	mov	rsi, QWORD PTR -24[rbp]
	add	rsi, 16
	lea	rdi, -28[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9, rax
	lea	rcx, .LC32[rip]
	mov	eax, 0
	call	unionPreparePrintf
	add	rsp, 16
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L138
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L141
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 829
	lea	rsi, .LC0[rip]
	lea	rdi, .LC29[rip]
	call	__assert_fail@PLT
.L141:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	unionIncrRefcount
	mov	DWORD PTR -28[rbp], 100
.L138:
	mov	eax, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L143
	call	__stack_chk_fail@PLT
.L143:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	doUnionNext, .-doUnionNext
	.type	unionNext, @function
unionNext:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
.L145:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	doUnionNext
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 100
	je	.L145
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	unionNext, .-unionNext
	.type	unionColumn, @function
unionColumn:
.LFB20:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rbx, QWORD PTR 712[rax]
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 312[rax]
	mov	eax, DWORD PTR -52[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rbx
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	unionColumn, .-unionColumn
	.type	unionRowid, @function
unionRowid:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, 0
	mov	rdi, rax
	call	rdx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	unionRowid, .-unionRowid
	.type	unionEof, @function
unionEof:
.LFB22:
	.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	unionEof, .-unionEof
	.section	.rodata
	.align 8
.LC33:
	.ascii	"idxNum==0 "
	.string	"|| idxNum==SQLITE_INDEX_CONSTRAINT_EQ || idxNum==SQLITE_INDEX_CONSTRAINT_LE || idxNum==SQLITE_INDEX_CONSTRAINT_GE || idxNum==SQLITE_INDEX_CONSTRAINT_LT || idxNum==SQLITE_INDEX_CONSTRAINT_GT || idxNum==(SQLITE_INDEX_CONSTRAINT_GE|SQLITE_INDEX_CONSTRAINT_LE)"
.LC34:
	.string	"argc==1"
.LC35:
	.string	"argc>=1"
.LC36:
	.string	"'."
.LC37:
	.string	"'"
.LC38:
	.string	" UNION ALL "
	.align 8
.LC39:
	.string	"%z%sSELECT rowid, * FROM %s%q%s%Q"
.LC40:
	.string	"%z WHERE rowid=%lld"
.LC41:
	.string	"WHERE"
.LC42:
	.string	"%z WHERE rowid>=%lld"
.LC43:
	.string	"AND"
.LC44:
	.string	"%z %s rowid<=%lld"
	.text
	.type	unionFilter, @function
unionFilter:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	QWORD PTR -120[rbp], rdx
	mov	DWORD PTR -112[rbp], ecx
	mov	QWORD PTR -128[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	movabs	rax, -9223372036854775808
	mov	QWORD PTR -64[rbp], rax
	movabs	rax, 9223372036854775807
	mov	QWORD PTR -56[rbp], rax
	cmp	DWORD PTR -108[rbp], 0
	je	.L154
	cmp	DWORD PTR -108[rbp], 2
	je	.L154
	cmp	DWORD PTR -108[rbp], 8
	je	.L154
	cmp	DWORD PTR -108[rbp], 32
	je	.L154
	cmp	DWORD PTR -108[rbp], 16
	je	.L154
	cmp	DWORD PTR -108[rbp], 4
	je	.L154
	cmp	DWORD PTR -108[rbp], 40
	je	.L154
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 900
	lea	rsi, .LC0[rip]
	lea	rdi, .LC33[rip]
	call	__assert_fail@PLT
.L154:
	cmp	DWORD PTR -108[rbp], 2
	jne	.L155
	cmp	DWORD PTR -112[rbp], 1
	je	.L156
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 912
	lea	rsi, .LC0[rip]
	lea	rdi, .LC34[rip]
	call	__assert_fail@PLT
.L156:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 856[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L157
.L155:
	mov	eax, DWORD PTR -108[rbp]
	and	eax, 24
	test	eax, eax
	je	.L158
	cmp	DWORD PTR -112[rbp], 0
	jg	.L159
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 917
	lea	rsi, .LC0[rip]
	lea	rdi, .LC35[rip]
	call	__assert_fail@PLT
.L159:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 856[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	and	eax, 16
	test	eax, eax
	je	.L158
	movabs	rax, -9223372036854775808
	cmp	QWORD PTR -56[rbp], rax
	jne	.L160
	mov	DWORD PTR -76[rbp], 1
	jmp	.L158
.L160:
	sub	QWORD PTR -56[rbp], 1
.L158:
	mov	eax, DWORD PTR -108[rbp]
	and	eax, 36
	test	eax, eax
	je	.L157
	cmp	DWORD PTR -112[rbp], 0
	jg	.L161
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 929
	lea	rsi, .LC0[rip]
	lea	rdi, .LC35[rip]
	call	__assert_fail@PLT
.L161:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 856[rax]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	lea	rcx, -8[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	and	eax, 4
	test	eax, eax
	je	.L157
	movabs	rax, 9223372036854775807
	cmp	QWORD PTR -64[rbp], rax
	jne	.L162
	mov	DWORD PTR -76[rbp], 1
	jmp	.L157
.L162:
	add	QWORD PTR -64[rbp], 1
.L157:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	unionFinalizeCsrStmt
	cmp	DWORD PTR -76[rbp], 0
	je	.L163
	mov	eax, 0
	jmp	.L188
.L163:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L165
.L182:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -64[rbp], rax
	jg	.L190
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -56[rbp], rax
	jl	.L190
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r10, QWORD PTR 552[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L169
	lea	rsi, .LC36[rip]
	jmp	.L170
.L169:
	lea	rsi, .LC10[rip]
.L170:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L171
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	jmp	.L172
.L171:
	lea	rcx, .LC10[rip]
.L172:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L173
	lea	rdx, .LC37[rip]
	jmp	.L174
.L173:
	lea	rdx, .LC10[rip]
.L174:
	cmp	QWORD PTR -72[rbp], 0
	je	.L175
	lea	rax, .LC38[rip]
	jmp	.L176
.L175:
	lea	rax, .LC10[rip]
.L176:
	mov	rdi, QWORD PTR -72[rbp]
	sub	rsp, 8
	push	r8
	mov	r9, rsi
	mov	r8, rcx
	mov	rcx, rdx
	mov	rdx, rax
	mov	rsi, rdi
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	r10
	add	rsp, 16
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L177
	mov	DWORD PTR -84[rbp], 7
	jmp	.L178
.L177:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jne	.L179
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 552[rax]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	rcx
	mov	QWORD PTR -72[rbp], rax
	jmp	.L180
.L179:
	lea	rax, .LC41[rip]
	mov	QWORD PTR -48[rbp], rax
	movabs	rax, -9223372036854775808
	cmp	QWORD PTR -64[rbp], rax
	je	.L181
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	QWORD PTR -64[rbp], rax
	jle	.L181
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 552[rax]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	rcx
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC43[rip]
	mov	QWORD PTR -48[rbp], rax
.L181:
	movabs	rax, 9223372036854775807
	cmp	QWORD PTR -56[rbp], rax
	je	.L180
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	cmp	QWORD PTR -56[rbp], rax
	jge	.L180
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 552[rax]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	r8
	mov	QWORD PTR -72[rbp], rax
.L180:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L168
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -80[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 16[rax]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	unionOpenDatabase
	mov	DWORD PTR -84[rbp], eax
	jmp	.L178
.L190:
	nop
.L168:
	add	DWORD PTR -80[rbp], 1
.L165:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 40[rax]
	cmp	DWORD PTR -80[rbp], eax
	jl	.L182
.L178:
	cmp	QWORD PTR -72[rbp], 0
	jne	.L183
	mov	eax, DWORD PTR -84[rbp]
	jmp	.L188
.L183:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L184
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	rax, QWORD PTR 48[rax]
	jmp	.L185
.L184:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 24[rax]
.L185:
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 16[rax]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	lea	rax, -84[rbp]
	mov	rdi, rax
	call	unionPrepare
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L186
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	unionIncrRefcount
.L186:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	rdx
	mov	eax, DWORD PTR -84[rbp]
	test	eax, eax
	je	.L187
	mov	eax, DWORD PTR -84[rbp]
	jmp	.L188
.L187:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	unionNext
.L188:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L189
	call	__stack_chk_fail@PLT
.L189:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	unionFilter, .-unionFilter
	.type	unionBestIndex, @function
unionBestIndex:
.LFB24:
	.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 -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -48[rbp], -1
	mov	DWORD PTR -44[rbp], -1
	mov	DWORD PTR -40[rbp], -1
	mov	DWORD PTR -36[rbp], 0
	jmp	.L192
.L199:
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 5[rax]
	test	al, al
	je	.L205
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	js	.L194
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 36[rax]
	cmp	edx, eax
	jne	.L205
.L194:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 4[rax]
	movzx	eax, al
	cmp	eax, 32
	ja	.L193
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L196[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L196[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L196:
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L198-.L196
	.long	.L193-.L196
	.long	.L195-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L197-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L197-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L193-.L196
	.long	.L195-.L196
	.text
.L198:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -48[rbp], eax
	jmp	.L193
.L197:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L193
.L195:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -40[rbp], eax
	jmp	.L193
.L205:
	nop
.L193:
	add	DWORD PTR -36[rbp], 1
.L192:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L199
	cmp	DWORD PTR -48[rbp], 0
	js	.L200
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR 72[rax], 1
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR 80[rax], 1
	mov	rax, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR .LC45[rip]
	movsd	QWORD PTR 64[rax], xmm0
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR 40[rax], 2
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	BYTE PTR 4[rax], 1
	jmp	.L201
.L200:
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 0
	mov	QWORD PTR -24[rbp], 1000000
	cmp	DWORD PTR -44[rbp], 0
	js	.L202
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR 32[rdx]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	BYTE PTR 4[rax], 1
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movzx	eax, BYTE PTR 4[rax]
	movzx	eax, al
	or	DWORD PTR -28[rbp], eax
.L202:
	cmp	DWORD PTR -40[rbp], 0
	js	.L203
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, rax
	shr	rdx, 63
	add	rax, rdx
	sar	rax
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -32[rbp], edx
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR 32[rdx]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	BYTE PTR 4[rax], 1
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movzx	eax, BYTE PTR 4[rax]
	movzx	eax, al
	or	DWORD PTR -28[rbp], eax
.L203:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 72[rax], rdx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC45[rip]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -64[rbp]
	movsd	QWORD PTR 64[rax], xmm0
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 40[rax], edx
.L201:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	unionBestIndex, .-unionBestIndex
	.type	createUnionVtab, @function
createUnionVtab:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 376[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, 0
	lea	rdx, unionModule.0[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L207
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 376[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	lea	rdx, unionModule.0[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -4[rbp], eax
.L207:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	createUnionVtab, .-createUnionVtab
	.globl	sqlite3_unionvtab_init
	.type	sqlite3_unionvtab_init, @function
sqlite3_unionvtab_init:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR sqlite3_api[rip], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	createUnionVtab
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	sqlite3_unionvtab_init, .-sqlite3_unionvtab_init
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.11, @object
	.size	__PRETTY_FUNCTION__.11, 12
__PRETTY_FUNCTION__.11:
	.string	"unionMalloc"
	.align 8
	.type	__PRETTY_FUNCTION__.10, @object
	.size	__PRETTY_FUNCTION__.10, 13
__PRETTY_FUNCTION__.10:
	.string	"unionDequote"
	.align 8
	.type	__PRETTY_FUNCTION__.9, @object
	.size	__PRETTY_FUNCTION__.9, 13
__PRETTY_FUNCTION__.9:
	.string	"unionPrepare"
	.align 16
	.type	__PRETTY_FUNCTION__.8, @object
	.size	__PRETTY_FUNCTION__.8, 18
__PRETTY_FUNCTION__.8:
	.string	"unionCloseSources"
	.align 16
	.type	__PRETTY_FUNCTION__.7, @object
	.size	__PRETTY_FUNCTION__.7, 17
__PRETTY_FUNCTION__.7:
	.string	"unionSourceCheck"
	.align 4
	.type	openFlags.6, @object
	.size	openFlags.6, 4
openFlags.6:
	.long	65
	.align 16
	.type	__PRETTY_FUNCTION__.5, @object
	.size	__PRETTY_FUNCTION__.5, 18
__PRETTY_FUNCTION__.5:
	.string	"unionOpenDatabase"
	.align 16
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 18
__PRETTY_FUNCTION__.4:
	.string	"unionIncrRefcount"
	.align 16
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 21
__PRETTY_FUNCTION__.3:
	.string	"unionFinalizeCsrStmt"
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 12
__PRETTY_FUNCTION__.2:
	.string	"doUnionNext"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 12
__PRETTY_FUNCTION__.1:
	.string	"unionFilter"
	.section	.data.rel.local,"aw"
	.align 32
	.type	unionModule.0, @object
	.size	unionModule.0, 192
unionModule.0:
	.long	0
	.zero	4
	.quad	unionConnect
	.quad	unionConnect
	.quad	unionBestIndex
	.quad	unionDisconnect
	.quad	unionDisconnect
	.quad	unionOpen
	.quad	unionClose
	.quad	unionFilter
	.quad	unionNext
	.quad	unionEof
	.quad	unionColumn
	.quad	unionRowid
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.zero	8
	.section	.rodata
	.align 8
.LC45:
	.long	0
	.long	1074266112
	.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	"125905.c"
	.text
	.global	sqlite3_api
	.bss
	.align	2
	.type	sqlite3_api, %object
	.size	sqlite3_api, 4
sqlite3_api:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/125905.c\000"
	.align	2
.LC1:
	.ascii	"nByte>0\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionMalloc, %function
unionMalloc:
	@ 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, #-20]
	cmp	r3, #0
	bgt	.L2
	ldr	r3, .L7
	mov	r2, #184
	ldr	r1, .L7+4
	ldr	r0, .L7+8
	bl	__assert_fail
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L7+12
	ldr	r3, [r3]
	ldr	r3, [r3, #272]
	ldr	r0, [fp, #-20]
	blx	r3
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-20]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	b	.L5
.L4:
	ldr	r3, [fp, #-16]
	mov	r2, #7
	str	r2, [r3]
	b	.L5
.L3:
	mov	r3, #0
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	__PRETTY_FUNCTION__.6944
	.word	.LC0
	.word	.LC1
	.word	sqlite3_api
	.size	unionMalloc, .-unionMalloc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionStrdup, %function
unionStrdup:
	@ 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, #-12]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L10
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	unionMalloc
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	memcpy
.L10:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	unionStrdup, .-unionStrdup
	.section	.rodata
	.align	2
.LC2:
	.ascii	"0\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionDequote, %function
unionDequote:
	@ 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	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L14
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #39
	beq	.L14
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L14
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #96
	bne	.L22
.L14:
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L16
	mov	r3, #93
	strb	r3, [fp, #-13]
	b	.L16
.L21:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L17
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L18
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L19
.L18:
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrb	r2, [fp, #-13]
	strb	r2, [r3]
	b	.L16
.L17:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r2, r3, r2
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	mov	r1, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L16:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L23
	mov	r2, #235
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	__assert_fail
.L20:
	mov	r3, #1
	cmp	r3, #0
	bne	.L21
.L19:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L22:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	__PRETTY_FUNCTION__.6957
	.word	.LC0
	.word	.LC2
	.size	unionDequote, .-unionDequote
	.section	.rodata
	.align	2
.LC3:
	.ascii	"pzErr\000"
	.align	2
.LC4:
	.ascii	"sql error: %s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionPrepare, %function
unionPrepare:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L30+4
	ldr	r2, .L30+8
	ldr	r1, .L30+12
	ldr	r0, .L30+16
	bl	__assert_fail
.L26:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L27
	ldr	r3, .L30+20
	ldr	r3, [r3]
	ldr	r4, [r3, #464]
	sub	r3, fp, #24
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-36]
	blx	r4
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L30+20
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	ldr	r3, .L30+20
	ldr	r3, [r3]
	ldr	r3, [r3, #212]
	ldr	r0, [fp, #-36]
	blx	r3
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L30+24
	blx	r4
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
.L27:
	ldr	r3, [fp, #-24]
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC5
	.word	__PRETTY_FUNCTION__.6968
	.word	277
	.word	.LC0
	.word	.LC3
	.word	sqlite3_api
	.word	.LC4
	.size	unionPrepare, .-unionPrepare
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionPreparePrintf, %function
unionPreparePrintf:
	@ args = 4, pretend = 4, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 1
	str	r3, [sp, #-4]!
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #36
	str	r0, [fp, #-28]
	str	r1, [fp, #-32]
	str	r2, [fp, #-36]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-40]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	add	r3, fp, #8
	str	r3, [fp, #-24]
	ldr	r3, .L37+4
	ldr	r3, [r3]
	ldr	r3, [r3, #456]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-40]
	blx	r3
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-28]
	mov	r2, #7
	str	r2, [r3]
	b	.L33
.L34:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-28]
	bl	unionPrepare
	str	r0, [fp, #-20]
.L33:
	ldr	r3, .L37+4
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-16]
	blx	r3
	ldr	r3, [fp, #-20]
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-12]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #4
	bx	lr
.L38:
	.align	2
.L37:
	.word	.LC6
	.word	sqlite3_api
	.size	unionPreparePrintf, .-unionPreparePrintf
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionFinalize, %function
unionFinalize:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L42
	ldr	r3, [r3]
	ldr	r3, [r3, #196]
	ldr	r0, [fp, #-28]
	blx	r3
	str	r0, [fp, #-20]
	ldr	r3, .L42
	ldr	r3, [r3]
	ldr	r3, [r3, #228]
	ldr	r0, [fp, #-28]
	blx	r3
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L42
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	ldr	r3, .L42
	ldr	r3, [r3]
	ldr	r3, [r3, #212]
	ldr	r0, [fp, #-20]
	blx	r3
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L42+4
	blx	r4
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r2, [r3]
.L41:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L43:
	.align	2
.L42:
	.word	sqlite3_api
	.word	.LC7
	.size	unionFinalize, .-unionFinalize
	.section	.rodata
	.align	2
.LC8:
	.ascii	"(*pp)->db\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionCloseSources, %function
unionCloseSources:
	@ 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]
	b	.L45
.L50:
	ldr	r3, [fp, #-16]
	add	r3, r3, #40
	str	r3, [fp, #-8]
	b	.L46
.L47:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #36
	str	r3, [fp, #-8]
.L46:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	bne	.L47
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L52
	ldr	r2, .L52+4
	ldr	r1, .L52+8
	ldr	r0, .L52+12
	bl	__assert_fail
.L48:
	ldr	r3, .L52+16
	ldr	r3, [r3]
	ldr	r3, [r3, #64]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	ldr	r2, [r2, #32]
	mov	r0, r2
	blx	r3
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #44]
.L45:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L50
.L51:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	__PRETTY_FUNCTION__.6994
	.word	363
	.word	.LC0
	.word	.LC8
	.word	sqlite3_api
	.size	unionCloseSources, .-unionCloseSources
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionDisconnect, %function
unionDisconnect:
	@ 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	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L56
.L57:
	ldr	r3, [fp, #-12]
	ldr	r1, [r3, #28]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	mov	r0, r2
	blx	r3
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #24]
	mov	r0, r2
	blx	r3
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #64]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #32]
	mov	r0, r2
	blx	r3
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L56:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L57
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #32]
	mov	r0, r2
	blx	r3
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #36]
	mov	r0, r2
	blx	r3
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-12]
	ldr	r2, [r2, #28]
	mov	r0, r2
	blx	r3
	ldr	r3, .L59
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-12]
	blx	r3
.L55:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	sqlite3_api
	.size	unionDisconnect, .-unionDisconnect
	.section	.rodata
	.align	2
.LC9:
	.ascii	"_rowid_\000"
	.align	2
.LC10:
	.ascii	"integer\000"
	.align	2
.LC11:
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	".\000"
	.align	2
.LC13:
	.ascii	"no such rowid table: %s%s%s\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionIsIntkeyTable, %function
unionIsIntkeyTable:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L70
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, .L70+4
	ldr	r3, [r3]
	ldr	r4, [r3, #380]
	ldr	r3, [fp, #-36]
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #4]
	mov	r3, #0
	str	r3, [sp, #16]
	sub	r3, fp, #28
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	sub	r3, fp, #24
	str	r3, [sp]
	ldr	r3, .L70+8
	ldr	r0, [fp, #-32]
	blx	r4
	ldr	r3, .L70+4
	ldr	r3, [r3]
	ldr	r3, [r3, #208]
	ldr	r0, [fp, #-32]
	blx	r3
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L62
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L63
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L70+4
	ldr	r3, [r3]
	ldr	r3, [r3, #744]
	ldr	r2, [fp, #-24]
	mov	r1, r2
	ldr	r0, .L70+12
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	beq	.L63
.L62:
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, .L70+4
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-36]
	ldr	r1, [r3]
	b	.L65
.L64:
	ldr	r1, .L70+16
.L65:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L66
	ldr	r2, .L70+20
	b	.L67
.L66:
	ldr	r2, .L70+16
.L67:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	ldr	r0, .L70+24
	blx	r4
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3]
.L63:
	ldr	r3, [fp, #-20]
	ldr	r2, .L70
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC14
	.word	sqlite3_api
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	unionIsIntkeyTable, .-unionIsIntkeyTable
	.section	.rodata
	.align	2
.LC15:
	.ascii	"SELECT group_concat(quote(name) || '.' || quote(typ"
	.ascii	"e)) FROM pragma_table_info(?, ?)\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionSourceToStr, %function
unionSourceToStr:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #32]
	b	.L75
.L74:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
.L75:
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-28]
	bl	unionIsIntkeyTable
	mov	r3, r0
	str	r3, [fp, #-36]
	sub	r0, fp, #36
	ldr	r3, [fp, #-52]
	ldr	r2, .L80+4
	ldr	r1, [fp, #-28]
	bl	unionPrepare
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L76
	ldr	r3, .L80+8
	ldr	r3, [r3]
	ldr	r4, [r3, #40]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3, #4]
	mov	r3, #0
	str	r3, [sp]
	mvn	r3, #0
	mov	r1, #1
	ldr	r0, [fp, #-24]
	blx	r4
	ldr	r3, .L80+8
	ldr	r3, [r3]
	ldr	r4, [r3, #40]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	mov	r3, #0
	str	r3, [sp]
	mvn	r3, #0
	mov	r1, #2
	ldr	r0, [fp, #-24]
	blx	r4
	ldr	r3, .L80+8
	ldr	r3, [r3]
	ldr	r3, [r3, #376]
	ldr	r0, [fp, #-24]
	blx	r3
	mov	r3, r0
	cmp	r3, #100
	bne	.L77
	ldr	r3, .L80+8
	ldr	r3, [r3]
	ldr	r3, [r3, #144]
	mov	r1, #0
	ldr	r0, [fp, #-24]
	blx	r3
	str	r0, [fp, #-20]
	sub	r3, fp, #36
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	unionStrdup
	str	r0, [fp, #-32]
.L77:
	sub	r3, fp, #36
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	unionFinalize
.L76:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	str	r2, [r3]
.L73:
	ldr	r3, [fp, #-32]
	ldr	r2, .L80
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC16
	.word	.LC15
	.word	sqlite3_api
	.size	unionSourceToStr, .-unionSourceToStr
	.section	.rodata
	.align	2
.LC17:
	.ascii	"*pzErr==0\000"
	.align	2
.LC18:
	.ascii	"source table schema mismatch\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionSourceCheck, %function
unionSourceCheck:
	@ 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]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L83
	ldr	r3, .L89+4
	mov	r2, #484
	ldr	r1, .L89+8
	ldr	r0, .L89+12
	bl	__assert_fail
.L83:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #28]
	sub	r0, fp, #24
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-32]
	bl	unionSourceToStr
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L84
.L86:
	ldr	r3, [fp, #-32]
	ldr	r1, [r3, #28]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r1, r3
	sub	r0, fp, #24
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-32]
	bl	unionSourceToStr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L85
	ldr	r3, .L89+16
	ldr	r3, [r3]
	ldr	r3, [r3, #744]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	ldr	r3, .L89+16
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r0, .L89+20
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-24]
.L85:
	ldr	r3, .L89+16
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-12]
	blx	r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L84:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L86
	ldr	r3, .L89+16
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-16]
	blx	r3
	ldr	r3, [fp, #-24]
	ldr	r2, .L89
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC19
	.word	__PRETTY_FUNCTION__.7033
	.word	.LC0
	.word	.LC17
	.word	sqlite3_api
	.word	.LC18
	.size	unionSourceCheck, .-unionSourceCheck
	.section	.rodata
	.align	2
.LC20:
	.ascii	"SELECT \"%w\"(%Q);\000"
	.align	2
.LC21:
	.ascii	"out of memory\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionOpenDatabaseInner, %function
unionOpenDatabaseInner:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r4, [r3, #540]
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-28]
	add	r1, r3, #32
	ldr	r3, .L98+4
	ldr	r2, [r3]
	mov	r3, #0
	blx	r4
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L92
	ldr	r3, [fp, #-20]
	b	.L93
.L92:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	beq	.L94
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r2, [fp, #-24]
	ldr	r1, [r2, #36]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2, #24]
	ldr	r0, .L98+8
	blx	r3
	str	r0, [fp, #-16]
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r3, [r3, #64]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2, #32]
	mov	r0, r2
	blx	r3
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L95
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r0, .L98+12
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	mov	r3, #7
	b	.L93
.L95:
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r4, [r3, #220]
	ldr	r3, [fp, #-24]
	ldr	r0, [r3, #12]
	ldr	r3, [fp, #-32]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-16]
	blx	r4
	str	r0, [fp, #-20]
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-16]
	blx	r3
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L96
	ldr	r3, [fp, #-20]
	b	.L93
.L96:
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r4, [r3, #540]
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-28]
	add	r1, r3, #32
	ldr	r3, .L98+4
	ldr	r2, [r3]
	mov	r3, #0
	blx	r4
	str	r0, [fp, #-20]
.L94:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L97
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	ldr	r3, .L98
	ldr	r3, [r3]
	ldr	r3, [r3, #212]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2, #32]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L98+16
	blx	r4
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r2, [r3]
.L97:
	ldr	r3, [fp, #-20]
.L93:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L99:
	.align	2
.L98:
	.word	sqlite3_api
	.word	openFlags.7044
	.word	.LC20
	.word	.LC21
	.word	.LC7
	.size	unionOpenDatabaseInner, .-unionOpenDatabaseInner
	.section	.rodata
	.align	2
.LC22:
	.ascii	"pTab->bSwarm && iSrc<pTab->nSrc\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionOpenDatabase, %function
unionOpenDatabase:
	@ 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, .L111
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #28]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L110
.L101:
	ldr	r3, .L111+4
	ldr	r2, .L111+8
	ldr	r1, .L111+12
	ldr	r0, .L111+16
	bl	__assert_fail
.L110:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	bne	.L103
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #48]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	unionCloseSources
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	unionOpenDatabaseInner
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L104
	sub	r0, fp, #20
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-24]
	bl	unionSourceToStr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L104
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	bne	.L105
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #32]
	b	.L104
.L105:
	ldr	r3, .L111+20
	ldr	r3, [r3]
	ldr	r3, [r3, #744]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #32]
	mov	r1, r2
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	beq	.L106
	ldr	r3, .L111+20
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r0, .L111+24
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-20]
.L106:
	ldr	r3, .L111+20
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-12]
	blx	r3
.L104:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L107
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #44]
	b	.L103
.L107:
	ldr	r3, .L111+20
	ldr	r3, [r3]
	ldr	r3, [r3, #64]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #32]
	mov	r0, r2
	blx	r3
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #32]
.L103:
	ldr	r3, [fp, #-20]
	ldr	r2, .L111
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L109
	bl	__stack_chk_fail
.L109:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC23
	.word	__PRETTY_FUNCTION__.7053
	.word	549
	.word	.LC0
	.word	.LC22
	.word	sqlite3_api
	.word	.LC18
	.size	unionOpenDatabase, .-unionOpenDatabase
	.section	.rodata
	.align	2
.LC24:
	.ascii	"pSrc->nUser>=0 && pSrc->db\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionIncrRefcount, %function
unionIncrRefcount:
	@ 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, #16]
	cmp	r3, #0
	beq	.L121
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #28]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	blt	.L115
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	bne	.L120
.L115:
	ldr	r3, .L122
	ldr	r2, .L122+4
	ldr	r1, .L122+8
	ldr	r0, .L122+12
	bl	__assert_fail
.L120:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L117
	ldr	r3, [fp, #-16]
	add	r3, r3, #40
	str	r3, [fp, #-12]
	b	.L118
.L119:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r3, r3, #36
	str	r3, [fp, #-12]
.L118:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L119
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #36]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #36]
.L117:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #28]
.L121:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L123:
	.align	2
.L122:
	.word	__PRETTY_FUNCTION__.7060
	.word	591
	.word	.LC0
	.word	.LC24
	.size	unionIncrRefcount, .-unionIncrRefcount
	.section	.rodata
	.align	2
.LC25:
	.ascii	"pSrc->nUser>=0\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionFinalizeCsrStmt, %function
unionFinalizeCsrStmt:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L125
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L129
	ldr	r3, [r3]
	ldr	r3, [r3, #228]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #4]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L125
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bge	.L126
	ldr	r3, .L129+4
	ldr	r2, .L129+8
	ldr	r1, .L129+12
	ldr	r0, .L129+16
	bl	__assert_fail
.L126:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L127
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #40]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #40]
.L127:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #48]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	unionCloseSources
.L125:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L130:
	.align	2
.L129:
	.word	sqlite3_api
	.word	__PRETTY_FUNCTION__.7071
	.word	619
	.word	.LC0
	.word	.LC25
	.size	unionFinalizeCsrStmt, .-unionFinalizeCsrStmt
	.section	.rodata
	.align	2
.LC26:
	.ascii	"swarmvtab\000"
	.align	2
.LC27:
	.ascii	"unionvtab\000"
	.align	2
.LC28:
	.ascii	"temp\000"
	.align	2
.LC29:
	.ascii	"%s tables must be created in TEMP schema\000"
	.align	2
.LC30:
	.ascii	"wrong number of arguments for %s\000"
	.align	2
.LC31:
	.ascii	"SELECT * FROM (%z) ORDER BY 3\000"
	.align	2
.LC32:
	.ascii	"rowid range mismatch error\000"
	.align	2
.LC33:
	.ascii	"no source tables configured\000"
	.align	2
.LC34:
	.ascii	"SELECT 'CREATE TABLE xyz('    || group_concat(quote"
	.ascii	"(name) || ' ' || type, ', ')    || ')',max((cid+1) "
	.ascii	"* (type='INTEGER' COLLATE nocase AND pk=1))-1 FROM "
	.ascii	"pragma_table_info(%Q, ?)\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionConnect, %function
unionConnect:
	@ args = 8, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #124
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-124]
	ldr	r3, .L158
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L132
	ldr	r3, .L158+4
	b	.L133
.L132:
	ldr	r3, .L158+8
.L133:
	str	r3, [fp, #-76]
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #744]
	ldr	r2, [fp, #-116]
	add	r2, r2, #4
	ldr	r2, [r2]
	mov	r1, r2
	ldr	r0, .L158+16
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	beq	.L134
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r1, [fp, #-76]
	ldr	r0, .L158+20
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-96]
	b	.L135
.L134:
	ldr	r3, [fp, #-112]
	cmp	r3, #4
	beq	.L136
	ldr	r3, [fp, #-112]
	cmp	r3, #5
	beq	.L136
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r1, [fp, #-76]
	ldr	r0, .L158+24
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-96]
	b	.L135
.L136:
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-116]
	add	r3, r3, #12
	ldr	r2, [r3]
	sub	r3, fp, #96
	mov	r1, r2
	mov	r0, r3
	bl	unionStrdup
	str	r0, [fp, #-72]
	ldr	r0, [fp, #-72]
	bl	unionDequote
	sub	r0, fp, #96
	ldr	r3, [fp, #-72]
	str	r3, [sp]
	ldr	r3, .L158+28
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-124]
	bl	unionPreparePrintf
	str	r0, [fp, #-84]
	sub	r3, fp, #96
	mov	r1, #52
	mov	r0, r3
	bl	unionMalloc
	str	r0, [fp, #-92]
	b	.L137
.L146:
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #144]
	mov	r1, #0
	ldr	r0, [fp, #-84]
	blx	r3
	str	r0, [fp, #-68]
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #144]
	mov	r1, #1
	ldr	r0, [fp, #-84]
	blx	r3
	str	r0, [fp, #-64]
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #116]
	mov	r1, #2
	ldr	r0, [fp, #-84]
	blx	r3
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #116]
	mov	r1, #3
	ldr	r0, [fp, #-84]
	blx	r3
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	bgt	.L138
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	beq	.L139
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #1
	b	.L140
.L139:
	mov	r3, #8
.L140:
	str	r3, [fp, #-60]
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r4, [r3, #304]
	ldr	r3, [fp, #-92]
	ldr	r0, [r3, #28]
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r1, r3
	blx	r4
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L141
	mov	r3, #7
	str	r3, [fp, #-96]
	b	.L142
.L141:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #24]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r0, r3, r2
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-60]
	sub	r3, r2, r3
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-56]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-88]
.L138:
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L143
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	ble	.L144
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #24]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, #40
	add	r3, r2, r3
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L144
.L143:
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r0, .L158+32
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-96]
.L144:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L137
	ldr	r3, [fp, #-92]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #24]
	add	r0, r3, #1
	ldr	r1, [fp, #-92]
	str	r0, [r1, #24]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-52]
	sub	r3, fp, #96
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	unionStrdup
	mov	r2, r0
	ldr	r3, [fp, #-52]
	str	r2, [r3, #4]
	ldr	r1, [fp, #-52]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r1, [fp, #-52]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L145
	sub	r3, fp, #96
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	unionStrdup
	mov	r2, r0
	ldr	r3, [fp, #-52]
	str	r2, [r3, #24]
	b	.L137
.L145:
	sub	r3, fp, #96
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	unionStrdup
	mov	r2, r0
	ldr	r3, [fp, #-52]
	str	r2, [r3]
.L137:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L142
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #376]
	ldr	r0, [fp, #-84]
	blx	r3
	mov	r3, r0
	cmp	r3, #100
	beq	.L146
.L142:
	sub	r3, fp, #96
	ldr	r2, [fp, #-124]
	ldr	r1, [fp, #-84]
	mov	r0, r3
	bl	unionFinalize
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L147
	ldr	r3, [fp, #-112]
	cmp	r3, #4
	ble	.L147
	ldr	r3, [fp, #-116]
	add	r3, r3, #16
	ldr	r2, [r3]
	sub	r3, fp, #96
	mov	r1, r2
	mov	r0, r3
	bl	unionStrdup
	mov	r2, r0
	ldr	r3, [fp, #-92]
	str	r2, [r3, #36]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #36]
	mov	r0, r3
	bl	unionDequote
.L147:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L148
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L148
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #276]
	ldr	r0, .L158+36
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-96]
.L148:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L149
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-104]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-80]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-92]
	mov	r2, #9
	str	r2, [r3, #48]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L150
	ldr	r2, [fp, #-124]
	mov	r1, #0
	ldr	r0, [fp, #-92]
	bl	unionOpenDatabase
	mov	r3, r0
	str	r3, [fp, #-96]
	b	.L149
.L150:
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-92]
	bl	unionSourceCheck
	mov	r3, r0
	str	r3, [fp, #-96]
.L149:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L151
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L152
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #32]
	b	.L153
.L152:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #12]
.L153:
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-48]
	ldr	r2, [r2]
	sub	r0, fp, #96
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, .L158+40
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-124]
	bl	unionPreparePrintf
	str	r0, [fp, #-84]
.L151:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L154
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #376]
	ldr	r0, [fp, #-84]
	blx	r3
	mov	r3, r0
	cmp	r3, #100
	bne	.L154
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #144]
	mov	r1, #0
	ldr	r0, [fp, #-84]
	blx	r3
	str	r0, [fp, #-40]
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #200]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-104]
	blx	r3
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r3, .L158+12
	ldr	r3, [r3]
	ldr	r3, [r3, #112]
	mov	r1, #1
	ldr	r0, [fp, #-84]
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-92]
	str	r2, [r3, #20]
.L154:
	sub	r3, fp, #96
	ldr	r2, [fp, #-124]
	ldr	r1, [fp, #-84]
	mov	r0, r3
	bl	unionFinalize
.L135:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L155
	ldr	r0, [fp, #-92]
	bl	unionDisconnect
	mov	r3, #0
	str	r3, [fp, #-92]
.L155:
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-92]
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	ldr	r2, .L158
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L157
	bl	__stack_chk_fail
.L157:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L159:
	.align	2
.L158:
	.word	.LC35
	.word	.LC26
	.word	.LC27
	.word	sqlite3_api
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	unionConnect, .-unionConnect
	.section	.rodata
	.align	2
.LC36:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionOpen, %function
unionOpen:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L163
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r1, #24
	mov	r0, r3
	bl	unionMalloc
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, .L163
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L162
	bl	__stack_chk_fail
.L162:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L164:
	.align	2
.L163:
	.word	.LC36
	.size	unionOpen, .-unionOpen
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionClose, %function
unionClose:
	@ 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]
	ldr	r0, [fp, #-8]
	bl	unionFinalizeCsrStmt
	ldr	r3, .L167
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L168:
	.align	2
.L167:
	.word	sqlite3_api
	.size	unionClose, .-unionClose
	.section	.rodata
	.align	2
.LC37:
	.ascii	"pCsr->pStmt\000"
	.align	2
.LC38:
	.ascii	"WHERE _rowid_ <=\000"
	.align	2
.LC39:
	.ascii	"-- \000"
	.align	2
.LC40:
	.ascii	"SELECT rowid, * FROM %Q %s %lld\000"
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	doUnionNext, %function
doUnionNext:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	ldr	r3, .L177
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L170
	ldr	r3, .L177+4
	ldr	r2, .L177+8
	ldr	r1, .L177+12
	ldr	r0, .L177+16
	bl	__assert_fail
.L170:
	ldr	r3, .L177+20
	ldr	r3, [r3]
	ldr	r3, [r3, #376]
	ldr	r2, [fp, #-32]
	ldr	r2, [r2, #4]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	cmp	r3, #100
	beq	.L171
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	unionFinalizeCsrStmt
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L171
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L171
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	add	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #24]
	cmp	r2, r3
	bge	.L171
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L171
	ldr	r3, [fp, #-32]
	ldr	r1, [r3, #16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-24]
	bl	unionOpenDatabase
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	lr, r3, #8
	ldr	r3, [fp, #-20]
	ldr	r4, [r3, #32]
	ldr	r3, [fp, #-20]
	ldr	ip, [r3, #4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-32]
	add	r1, r1, #8
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L172
	ldr	r1, .L177+24
	b	.L173
.L172:
	ldr	r1, .L177+28
.L173:
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r0, fp, #28
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r1, [sp, #4]
	str	ip, [sp]
	ldr	r3, .L177+32
	mov	r2, r4
	mov	r1, lr
	bl	unionPreparePrintf
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L171
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L174
	ldr	r3, .L177+4
	ldr	r2, .L177+36
	ldr	r1, .L177+12
	ldr	r0, .L177+16
	bl	__assert_fail
.L174:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	unionIncrRefcount
	mov	r3, #100
	str	r3, [fp, #-28]
.L171:
	ldr	r3, [fp, #-28]
	ldr	r2, .L177
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L176
	bl	__stack_chk_fail
.L176:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L178:
	.align	2
.L177:
	.word	.LC41
	.word	__PRETTY_FUNCTION__.7114
	.word	811
	.word	.LC0
	.word	.LC37
	.word	sqlite3_api
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	829
	.size	doUnionNext, .-doUnionNext
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionNext, %function
unionNext:
	@ 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]
.L180:
	ldr	r0, [fp, #-16]
	bl	doUnionNext
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #100
	beq	.L180
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	unionNext, .-unionNext
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionColumn, %function
unionColumn:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, .L184
	ldr	r3, [r3]
	ldr	r4, [r3, #356]
	ldr	r3, .L184
	ldr	r3, [r3]
	ldr	r3, [r3, #156]
	ldr	r2, [fp, #-16]
	ldr	r0, [r2, #4]
	ldr	r2, [fp, #-32]
	add	r2, r2, #1
	mov	r1, r2
	blx	r3
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-28]
	blx	r4
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L185:
	.align	2
.L184:
	.word	sqlite3_api
	.size	unionColumn, .-unionColumn
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionRowid, %function
unionRowid:
	@ 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]
	str	r3, [fp, #-8]
	ldr	r3, .L188
	ldr	r3, [r3]
	ldr	r3, [r3, #116]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	mov	r1, #0
	mov	r0, r2
	blx	r3
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-20]
	stm	r1, {r2-r3}
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L189:
	.align	2
.L188:
	.word	sqlite3_api
	.size	unionRowid, .-unionRowid
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionEof, %function
unionEof:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	unionEof, .-unionEof
	.section	.rodata
	.align	2
.LC42:
	.ascii	"idxNum==0 || idxNum==SQLITE_INDEX_CONSTRAINT_EQ || "
	.ascii	"idxNum==SQLITE_INDEX_CONSTRAINT_LE || idxNum==SQLIT"
	.ascii	"E_INDEX_CONSTRAINT_GE || idxNum==SQLITE_INDEX_CONST"
	.ascii	"RAINT_LT || idxNum==SQLITE_INDEX_CONSTRAINT_GT || i"
	.ascii	"dxNum==(SQLITE_INDEX_CONSTRAINT_GE|SQLITE_INDEX_CON"
	.ascii	"STRAINT_LE)\000"
	.align	2
.LC43:
	.ascii	"argc==1\000"
	.align	2
.LC44:
	.ascii	"argc>=1\000"
	.align	2
.LC45:
	.ascii	" UNION ALL \000"
	.align	2
.LC46:
	.ascii	"'\000"
	.align	2
.LC47:
	.ascii	"'.\000"
	.align	2
.LC48:
	.ascii	"%z%sSELECT rowid, * FROM %s%q%s%Q\000"
	.align	2
.LC49:
	.ascii	"%z WHERE rowid=%lld\000"
	.align	2
.LC50:
	.ascii	"WHERE\000"
	.align	2
.LC51:
	.ascii	"%z WHERE rowid>=%lld\000"
	.align	2
.LC52:
	.ascii	"AND\000"
	.align	2
.LC53:
	.ascii	"%z %s rowid<=%lld\000"
	.align	2
.LC54:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionFilter, %function
unionFilter:
	@ args = 4, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #104
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-104]
	ldr	r3, .L230
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r2, #0
	mov	r3, #-2147483648
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mvn	r2, #0
	mvn	r3, #-2147483648
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	beq	.L193
	ldr	r3, [fp, #-92]
	cmp	r3, #2
	beq	.L193
	ldr	r3, [fp, #-92]
	cmp	r3, #8
	beq	.L193
	ldr	r3, [fp, #-92]
	cmp	r3, #32
	beq	.L193
	ldr	r3, [fp, #-92]
	cmp	r3, #16
	beq	.L193
	ldr	r3, [fp, #-92]
	cmp	r3, #4
	beq	.L193
	ldr	r3, [fp, #-92]
	cmp	r3, #40
	beq	.L193
	ldr	r3, .L230+4
	mov	r2, #900
	ldr	r1, .L230+8
	ldr	r0, .L230+12
	bl	__assert_fail
.L193:
	ldr	r3, [fp, #-92]
	cmp	r3, #2
	bne	.L194
	ldr	r3, [fp, #-100]
	cmp	r3, #1
	beq	.L195
	ldr	r3, .L230+4
	mov	r2, #912
	ldr	r1, .L230+8
	ldr	r0, .L230+16
	bl	__assert_fail
.L195:
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r3, [r3, #428]
	ldr	r2, [fp, #-104]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	b	.L196
.L194:
	ldr	r3, [fp, #-92]
	and	r3, r3, #24
	cmp	r3, #0
	beq	.L197
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bgt	.L198
	ldr	r3, .L230+4
	ldr	r2, .L230+24
	ldr	r1, .L230+8
	ldr	r0, .L230+28
	bl	__assert_fail
.L198:
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r3, [r3, #428]
	ldr	r2, [fp, #-104]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r3, [fp, #-92]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L197
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r3, #-2147483648
	cmpeq	r2, #0
	bne	.L199
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L197
.L199:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	subs	r6, r2, #1
	sbc	r7, r3, #0
	str	r6, [fp, #-36]
	str	r7, [fp, #-32]
.L197:
	ldr	r3, [fp, #-92]
	and	r3, r3, #36
	cmp	r3, #0
	beq	.L196
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bgt	.L200
	ldr	r3, .L230+4
	ldr	r2, .L230+32
	ldr	r1, .L230+8
	ldr	r0, .L230+28
	bl	__assert_fail
.L200:
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r3, [r3, #428]
	ldr	r2, [fp, #-100]
	sub	r2, r2, #-1073741823
	lsl	r2, r2, #2
	ldr	r1, [fp, #-104]
	add	r2, r1, r2
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	ldr	r3, [fp, #-92]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L196
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mvn	r0, #0
	mvn	r1, #-2147483648
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L201
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L196
.L201:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	str	r4, [fp, #-44]
	str	r5, [fp, #-40]
.L196:
	ldr	r0, [fp, #-56]
	bl	unionFinalizeCsrStmt
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L202
	mov	r3, #0
	b	.L227
.L202:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L204
.L221:
	ldr	r3, [fp, #-60]
	ldr	r1, [r3, #28]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L229
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L229
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L208
	ldr	r0, .L230+36
	b	.L209
.L208:
	ldr	r0, .L230+40
.L209:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L210
	ldr	ip, .L230+44
	b	.L211
.L210:
	ldr	ip, .L230+40
.L211:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L212
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	b	.L213
.L212:
	ldr	r3, .L230+40
.L213:
	ldr	r2, [fp, #-52]
	ldr	r2, [r2]
	cmp	r2, #0
	beq	.L214
	ldr	r2, .L230+48
	b	.L215
.L214:
	ldr	r2, .L230+40
.L215:
	ldr	r1, [fp, #-52]
	ldr	r1, [r1, #4]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, [fp, #-72]
	ldr	r0, .L230+52
	blx	r4
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L216
	mov	r3, #7
	str	r3, [fp, #-80]
	b	.L217
.L216:
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L218
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-72]
	ldr	r0, .L230+56
	blx	r4
	str	r0, [fp, #-72]
	b	.L219
.L218:
	ldr	r3, .L230+60
	str	r3, [fp, #-64]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r3, #-2147483648
	cmpeq	r2, #0
	beq	.L220
	ldr	r3, [fp, #-52]
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L220
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-72]
	ldr	r0, .L230+64
	blx	r4
	str	r0, [fp, #-72]
	ldr	r3, .L230+68
	str	r3, [fp, #-64]
.L220:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mvn	r0, #0
	mvn	r1, #-2147483648
	cmp	r3, r1
	cmpeq	r2, r0
	beq	.L219
	ldr	r3, [fp, #-52]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L219
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r4, [r3, #276]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-72]
	ldr	r0, .L230+72
	blx	r4
	str	r0, [fp, #-72]
.L219:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L207
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-76]
	str	r2, [r3, #16]
	ldr	r1, [fp, #-56]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-60]
	bl	unionOpenDatabase
	mov	r3, r0
	str	r3, [fp, #-80]
	b	.L217
.L229:
	nop
.L207:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L204:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L221
.L217:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L222
	ldr	r3, [fp, #-80]
	b	.L227
.L222:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L223
	ldr	r3, [fp, #-60]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #32]
	b	.L224
.L223:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #12]
.L224:
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	sub	r0, fp, #80
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-48]
	bl	unionPrepare
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L225
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, [fp, #-60]
	bl	unionIncrRefcount
.L225:
	ldr	r3, .L230+20
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-72]
	blx	r3
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L226
	ldr	r3, [fp, #-80]
	b	.L227
.L226:
	ldr	r0, [fp, #-88]
	bl	unionNext
	mov	r3, r0
.L227:
	ldr	r2, .L230
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L228
	bl	__stack_chk_fail
.L228:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L231:
	.align	2
.L230:
	.word	.LC54
	.word	__PRETTY_FUNCTION__.7153
	.word	.LC0
	.word	.LC42
	.word	.LC43
	.word	sqlite3_api
	.word	917
	.word	.LC44
	.word	929
	.word	.LC45
	.word	.LC11
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.size	unionFilter, .-unionFilter
	.global	__aeabi_l2d
	.global	__aeabi_dmul
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	unionBestIndex, %function
unionBestIndex:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-36]
	mvn	r3, #0
	str	r3, [fp, #-60]
	mvn	r3, #0
	str	r3, [fp, #-56]
	mvn	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L233
.L240:
	ldr	r3, [fp, #-68]
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L246
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L235
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #20]
	cmp	r2, r3
	bne	.L246
.L235:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	sub	r3, r3, #2
	cmp	r3, #30
	ldrls	pc, [pc, r3, asl #2]
	b	.L234
.L237:
	.word	.L239
	.word	.L234
	.word	.L236
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L238
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L238
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L234
	.word	.L236
.L239:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-60]
	b	.L234
.L238:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-56]
	b	.L234
.L236:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-52]
	b	.L234
.L246:
	nop
.L234:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L233:
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L240
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	blt	.L241
	ldr	r1, [fp, #-68]
	mov	r2, #1
	mov	r3, #0
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	ldr	r3, [fp, #-68]
	mov	r2, #1
	str	r2, [r3, #56]
	ldr	r1, [fp, #-68]
	mov	r2, #0
	ldr	r3, .L247
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	ldr	r3, [fp, #-68]
	mov	r2, #2
	str	r2, [r3, #20]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3, #4]
	b	.L242
.L241:
	mov	r3, #1
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r2, .L247+4
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	blt	.L243
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	lsr	r1, r3, #31
	mov	r0, r1
	mov	r1, #0
	adds	r6, r0, r2
	adc	r7, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r6, #1
	orr	r2, r2, r7, lsl #31
	asr	r3, r7, #1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	add	r2, r3, #1
	str	r2, [fp, #-44]
	ldr	r2, [fp, #-68]
	ldr	r1, [r2, #16]
	ldr	r2, [fp, #-56]
	lsl	r2, r2, #3
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-68]
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	orr	r3, r3, r2
	str	r3, [fp, #-40]
.L243:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L244
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	lsr	r1, r3, #31
	mov	r0, r1
	mov	r1, #0
	adds	r4, r0, r2
	adc	r5, r1, r3
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r4, #1
	orr	r2, r2, r5, lsl #31
	asr	r3, r5, #1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	add	r2, r3, #1
	str	r2, [fp, #-44]
	ldr	r2, [fp, #-68]
	ldr	r1, [r2, #16]
	ldr	r2, [fp, #-52]
	lsl	r2, r2, #3
	add	r2, r1, r2
	str	r3, [r2]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-68]
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	orr	r3, r3, r2
	str	r3, [fp, #-40]
.L244:
	ldr	r1, [fp, #-68]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2d
	mov	r2, #0
	ldr	r3, .L247
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-68]
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #20]
.L242:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L248:
	.align	2
.L247:
	.word	1074266112
	.word	1000000
	.size	unionBestIndex, .-unionBestIndex
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	createUnionVtab, %function
createUnionVtab:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r3, .L252
	ldr	r3, [r3]
	ldr	r4, [r3, #188]
	mov	r3, #0
	ldr	r2, .L252+4
	ldr	r1, .L252+8
	ldr	r0, [fp, #-24]
	blx	r4
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L250
	ldr	r3, .L252
	ldr	r3, [r3]
	ldr	r4, [r3, #188]
	ldr	r3, [fp, #-24]
	ldr	r2, .L252+4
	ldr	r1, .L252+12
	ldr	r0, [fp, #-24]
	blx	r4
	str	r0, [fp, #-16]
.L250:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L253:
	.align	2
.L252:
	.word	sqlite3_api
	.word	unionModule.7186
	.word	.LC27
	.word	.LC26
	.size	createUnionVtab, .-createUnionVtab
	.align	2
	.global	sqlite3_unionvtab_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3_unionvtab_init, %function
sqlite3_unionvtab_init:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, .L256
	ldr	r3, [fp, #-24]
	str	r3, [r2]
	ldr	r0, [fp, #-16]
	bl	createUnionVtab
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L257:
	.align	2
.L256:
	.word	sqlite3_api
	.size	sqlite3_unionvtab_init, .-sqlite3_unionvtab_init
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6944, %object
	.size	__PRETTY_FUNCTION__.6944, 12
__PRETTY_FUNCTION__.6944:
	.ascii	"unionMalloc\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6957, %object
	.size	__PRETTY_FUNCTION__.6957, 13
__PRETTY_FUNCTION__.6957:
	.ascii	"unionDequote\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6968, %object
	.size	__PRETTY_FUNCTION__.6968, 13
__PRETTY_FUNCTION__.6968:
	.ascii	"unionPrepare\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6994, %object
	.size	__PRETTY_FUNCTION__.6994, 18
__PRETTY_FUNCTION__.6994:
	.ascii	"unionCloseSources\000"
	.align	2
	.type	__PRETTY_FUNCTION__.7033, %object
	.size	__PRETTY_FUNCTION__.7033, 17
__PRETTY_FUNCTION__.7033:
	.ascii	"unionSourceCheck\000"
	.align	2
	.type	openFlags.7044, %object
	.size	openFlags.7044, 4
openFlags.7044:
	.word	65
	.align	2
	.type	__PRETTY_FUNCTION__.7053, %object
	.size	__PRETTY_FUNCTION__.7053, 18
__PRETTY_FUNCTION__.7053:
	.ascii	"unionOpenDatabase\000"
	.align	2
	.type	__PRETTY_FUNCTION__.7060, %object
	.size	__PRETTY_FUNCTION__.7060, 18
__PRETTY_FUNCTION__.7060:
	.ascii	"unionIncrRefcount\000"
	.align	2
	.type	__PRETTY_FUNCTION__.7071, %object
	.size	__PRETTY_FUNCTION__.7071, 21
__PRETTY_FUNCTION__.7071:
	.ascii	"unionFinalizeCsrStmt\000"
	.align	2
	.type	__PRETTY_FUNCTION__.7114, %object
	.size	__PRETTY_FUNCTION__.7114, 12
__PRETTY_FUNCTION__.7114:
	.ascii	"doUnionNext\000"
	.align	2
	.type	__PRETTY_FUNCTION__.7153, %object
	.size	__PRETTY_FUNCTION__.7153, 12
__PRETTY_FUNCTION__.7153:
	.ascii	"unionFilter\000"
	.data
	.align	2
	.type	unionModule.7186, %object
	.size	unionModule.7186, 96
unionModule.7186:
	.word	0
	.word	unionConnect
	.word	unionConnect
	.word	unionBestIndex
	.word	unionDisconnect
	.word	unionDisconnect
	.word	unionOpen
	.word	unionClose
	.word	unionFilter
	.word	unionNext
	.word	unionEof
	.word	unionColumn
	.word	unionRowid
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
