	.file	"102587.c"
	.intel_syntax noprefix
	.text
	.globl	sqlite3_api
	.bss
	.align 8
	.type	sqlite3_api, @object
	.size	sqlite3_api, 8
sqlite3_api:
	.zero	8
	.text
	.type	replaceStep, @function
replaceStep:
.LFB0:
	.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 -80[rbp], 1
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L1
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	jne	.L3
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 904[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	cmp	eax, 5
	je	.L46
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 872[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 824[rax]
	mov	rax, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	rdx, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 544[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	rdx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 24[rax], 1
.L3:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L47
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 904[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	cmp	eax, 5
	je	.L48
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 904[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	cmp	eax, 5
	je	.L49
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 872[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 824[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	je	.L50
	mov	DWORD PTR -88[rbp], 0
	jmp	.L10
.L44:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L11
	mov	DWORD PTR -84[rbp], 1
	cmp	DWORD PTR -76[rbp], 1
	jle	.L12
	jmp	.L13
.L14:
	add	DWORD PTR -84[rbp], 1
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	je	.L51
.L13:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, ecx
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L14
	jmp	.L12
.L51:
	nop
.L12:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jne	.L11
	cmp	DWORD PTR -80[rbp], 0
	je	.L15
	mov	DWORD PTR -80[rbp], 0
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rax, QWORD PTR 544[rax]
	mov	edi, 24
	call	rax
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -76[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 872[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 824[rax]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	rdx, QWORD PTR -72[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 544[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edi, eax
	call	rdx
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L16:
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 16[rax], 0
.L15:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rax, QWORD PTR 544[rax]
	mov	edi, 24
	call	rax
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
.L43:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L19
	cmp	QWORD PTR -48[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L21
	cmp	QWORD PTR -40[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
.L23:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L25
	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
.L25:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
.L24:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -64[rbp], 0
.L20:
	cmp	QWORD PTR -64[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L26
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L27
	cmp	QWORD PTR -48[rbp], 0
	je	.L28
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 16[rax], rdx
.L29:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	jne	.L30
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L31
	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
.L31:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
.L30:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	rdx
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -64[rbp], 0
.L26:
	cmp	QWORD PTR -64[rbp], 0
	je	.L52
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
	cmp	QWORD PTR -48[rbp], 0
	jne	.L33
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L52
.L33:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L52
.L19:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L34
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L35
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L36
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], 0
	cmp	QWORD PTR -48[rbp], 0
	je	.L37
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L38
.L37:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
.L38:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	jne	.L39
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L40
	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
.L40:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
.L39:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	rdx
	jmp	.L18
.L36:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -64[rbp], 0
	jmp	.L18
.L35:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR 16[rax], 0
	jmp	.L18
.L34:
	cmp	QWORD PTR -48[rbp], 0
	je	.L42
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -40[rbp], rax
.L42:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L43
.L52:
	nop
.L18:
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, 1
	add	DWORD PTR -88[rbp], eax
.L11:
	add	DWORD PTR -88[rbp], 1
.L10:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -88[rbp], eax
	jle	.L44
	cmp	DWORD PTR -80[rbp], 0
	jne	.L1
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L45
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
.L45:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	rdx
	jmp	.L1
.L46:
	nop
	jmp	.L1
.L47:
	nop
	jmp	.L1
.L48:
	nop
	jmp	.L1
.L49:
	nop
	jmp	.L1
.L50:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	replaceStep, .-replaceStep
	.section	.rodata
.LC0:
	.string	""
	.text
	.type	replaceFinalize, @function
replaceFinalize:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -52[rbp], 0
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L53
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L55
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 680[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	r8
	jmp	.L53
.L55:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L56
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 680[rax]
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	r8
	jmp	.L53
.L56:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
.L59:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR 12[rax]
	mov	eax, edx
	sub	eax, ecx
	add	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L69
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L59
.L69:
	nop
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jne	.L60
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 680[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, 0
	mov	edx, 0
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	r8
	jmp	.L53
.L60:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 544[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L67:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L61
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR -48[rbp]
	movsx	rsi, ecx
	mov	rcx, QWORD PTR -16[rbp]
	add	rcx, rsi
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
.L61:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L62
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L63
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
.L63:
	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	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	rdx
	nop
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -48[rbp]
	cdqe
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 8[rdx]
	mov	esi, edx
	sub	esi, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR -48[rbp]
	add	edx, esi
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -16[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	r8, QWORD PTR 680[rax]
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rcx, QWORD PTR 464[rax]
	mov	edx, DWORD PTR -52[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	r8
	jmp	.L53
.L62:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 12[rax]
	add	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	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	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -16[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -44[rbp]
	add	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	jne	.L67
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	je	.L66
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rdx
.L66:
	mov	rax, QWORD PTR sqlite3_api[rip]
	mov	rdx, QWORD PTR 464[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rdx
	jmp	.L67
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	replaceFinalize, .-replaceFinalize
	.section	.rodata
.LC1:
	.string	"replace_agg"
	.text
	.globl	sqlite3_replaceagg_init
	.type	sqlite3_replaceagg_init, @function
sqlite3_replaceagg_init:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 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 sqlite3_api[rip]
	mov	r10, QWORD PTR 360[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, replaceFinalize[rip]
	push	rdx
	lea	rdx, replaceStep[rip]
	push	rdx
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 2049
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	r10
	add	rsp, 16
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	sqlite3_replaceagg_init, .-sqlite3_replaceagg_init
	.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	"102587.c"
	.text
	.global	sqlite3_api
	.bss
	.align	2
	.type	sqlite3_api, %object
	.size	sqlite3_api, 4
sqlite3_api:
	.space	4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	replaceStep, %function
replaceStep:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, #16
	ldr	r0, [fp, #-64]
	blx	r3
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L1
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #452]
	ldr	r2, [fp, #-72]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	cmp	r3, #5
	beq	.L46
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #436]
	ldr	r2, [fp, #-72]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-20]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #412]
	ldr	r2, [fp, #-72]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #272]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2, #4]
	mov	r0, r2
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	bl	memcpy
.L5:
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	mov	r2, #1
	str	r2, [r3, #12]
.L3:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #452]
	ldr	r2, [fp, #-72]
	add	r2, r2, #4
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	cmp	r3, #5
	beq	.L48
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #452]
	ldr	r2, [fp, #-72]
	add	r2, r2, #8
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	cmp	r3, #5
	beq	.L49
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #436]
	ldr	r2, [fp, #-72]
	add	r2, r2, #4
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-16]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #412]
	ldr	r2, [fp, #-72]
	add	r2, r2, #4
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L50
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L10
.L44:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L11
	mov	r3, #1
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	ble	.L12
	b	.L13
.L14:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L51
.L13:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [fp, #-56]
	ldr	r2, [fp, #-52]
	add	r2, r1, r2
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L14
	b	.L12
.L51:
	nop
.L12:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L15
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #272]
	mov	r0, #16
	blx	r3
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #436]
	ldr	r2, [fp, #-72]
	add	r2, r2, #8
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-20]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #412]
	ldr	r2, [fp, #-72]
	add	r2, r2, #8
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #272]
	ldr	r2, [fp, #-44]
	ldr	r2, [r2, #4]
	mov	r0, r2
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	bl	memcpy
.L16:
	ldr	r3, [fp, #-44]
	mov	r2, #0
	str	r2, [r3, #12]
.L15:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #272]
	mov	r0, #12
	blx	r3
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-44]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	add	r2, r3, #1
	ldr	r3, [fp, #-44]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
	b	.L18
.L17:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-32]
.L43:
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L19
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L20
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L21
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	str	r2, [r3, #8]
	b	.L23
.L22:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	str	r2, [r3, #8]
.L23:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
.L25:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-8]
	blx	r3
.L24:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-32]
	blx	r3
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-32]
	b	.L20
.L21:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-44]
	str	r2, [r3, #12]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-40]
	blx	r3
	mov	r3, #0
	str	r3, [fp, #-40]
.L20:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L26
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L27
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	str	r2, [r3, #8]
	b	.L29
.L28:
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	str	r2, [r3, #8]
.L29:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
.L31:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-8]
	blx	r3
.L30:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-28]
	blx	r3
	b	.L26
.L27:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-44]
	str	r2, [r3, #12]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-40]
	blx	r3
	mov	r3, #0
	str	r3, [fp, #-40]
.L26:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
	b	.L52
.L33:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
	b	.L52
.L19:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r2, r2, r3
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L35
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L36
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
	b	.L38
.L37:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
.L38:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
.L40:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-8]
	blx	r3
.L39:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-36]
	blx	r3
	b	.L18
.L36:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-44]
	str	r2, [r3, #12]
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-40]
	blx	r3
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L18
.L35:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L18
.L34:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
.L42:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	b	.L43
.L52:
	nop
.L18:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
.L11:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L10:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	ble	.L44
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L1
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L1
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-44]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
.L45:
	ldr	r3, .L53
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-44]
	blx	r3
	b	.L1
.L46:
	nop
	b	.L1
.L47:
	nop
	b	.L1
.L48:
	nop
	b	.L1
.L49:
	nop
	b	.L1
.L50:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	sqlite3_api
	.size	replaceStep, .-replaceStep
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	replaceFinalize, %function
replaceFinalize:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, #0
	ldr	r0, [fp, #-48]
	blx	r3
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L57
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r4, [r3, #340]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L72+4
	ldr	r0, [fp, #-48]
	blx	r4
	b	.L55
.L57:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L58
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r4, [r3, #340]
	ldr	r3, [fp, #-32]
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #4]
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-48]
	blx	r4
	b	.L55
.L58:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
.L61:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	sub	r3, r2, r3
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	b	.L61
.L71:
	nop
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L62
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r4, [r3, #340]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, .L72+4
	ldr	r0, [fp, #-48]
	blx	r4
	b	.L55
.L62:
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #272]
	ldr	r0, [fp, #-44]
	blx	r3
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	memcpy
.L69:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r0, r2, r3
	ldr	r3, [fp, #-28]
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	mov	r2, r3
	bl	memcpy
.L63:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L64
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
.L65:
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-28]
	blx	r3
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-36]
	blx	r3
	nop
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r0, r2, r3
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, [r2, #4]
	ldr	r2, [fp, #-44]
	sub	r1, r1, r2
	ldr	r2, [fp, #-40]
	add	r2, r1, r2
	add	r1, r3, r2
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-32]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r4, [r3, #340]
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-48]
	blx	r4
	b	.L55
.L64:
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-16]
	blx	r3
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-24]
	add	r0, r2, r3
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r1, r2, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L69
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2]
	mov	r0, r2
	blx	r3
.L68:
	ldr	r3, .L72
	ldr	r3, [r3]
	ldr	r3, [r3, #232]
	ldr	r0, [fp, #-28]
	blx	r3
	b	.L69
.L55:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L73:
	.align	2
.L72:
	.word	sqlite3_api
	.word	.LC0
	.size	replaceFinalize, .-replaceFinalize
	.section	.rodata
	.align	2
.LC1:
	.ascii	"replace_agg\000"
	.text
	.align	2
	.global	sqlite3_replaceagg_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3_replaceagg_init, %function
sqlite3_replaceagg_init:
	@ 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r2, .L76
	ldr	r3, [fp, #-32]
	str	r3, [r2]
	ldr	r3, .L76
	ldr	r3, [r3]
	ldr	r4, [r3, #180]
	ldr	r3, .L76+4
	str	r3, [sp, #12]
	ldr	r3, .L76+8
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L76+12
	mov	r2, #3
	ldr	r1, .L76+16
	ldr	r0, [fp, #-24]
	blx	r4
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L77:
	.align	2
.L76:
	.word	sqlite3_api
	.word	replaceFinalize
	.word	replaceStep
	.word	2049
	.word	.LC1
	.size	sqlite3_replaceagg_init, .-sqlite3_replaceagg_init
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
