	.file	"691181.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"notused:%p, argc:%d\n"
.LC1:
	.string	"NULL"
.LC2:
	.string	"%s = %s\n"
	.text
	.type	_sql_callback, @function
_sql_callback:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -4[rbp], 0
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	jmp	.L4
.L3:
	lea	rax, .LC1[rip]
.L4:
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L5
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	_sql_callback, .-_sql_callback
	.type	firstchar, @function
firstchar:
.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, 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
	cmp	DWORD PTR -44[rbp], 1
	jne	.L8
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	sqlite3_value_text@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L8
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -10[rbp], al
	mov	BYTE PTR -9[rbp], 0
	lea	rsi, -10[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, -1
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_result_text@PLT
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	sqlite3_result_null@PLT
.L7:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	firstchar, .-firstchar
	.section	.rodata
.LC3:
	.string	"onTrigger argc = %d\n"
	.text
	.type	onTrigger, @function
onTrigger:
.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	onTrigger, .-onTrigger
	.section	.rodata
	.align 8
.LC4:
	.string	"create table users(userid varchar(20) PRIMARY KEY, age int, birthday datetime);"
	.align 8
.LC5:
	.string	"insert into users values('wang', 20, '1989-5-4');"
.LC6:
	.string	"select * from users;"
.LC7:
	.string	"select firstchar(\"aa\");"
	.align 8
.LC8:
	.string	"create table users2(userid varchar(20) PRIMARY KEY, age int, birthday datetime);"
	.align 8
.LC9:
	.string	"insert into users2 values('wang', 30, '1989-5-5');"
	.align 8
.LC10:
	.string	"        CREATE TRIGGER update_user_age AFTER UPDATE ON users         BEGIN         SELECT onTrigger('b', age);        END;"
	.align 8
.LC11:
	.string	"update users set age = 10 where userid = 'wang'"
.LC12:
	.string	"./test.db"
.LC13:
	.string	"\346\227\240\346\263\225\346\211\223\345\274\200\346\225\260\346\215\256\345\272\223\357\274\232%s\n"
.LC14:
	.string	"\346\225\260\346\215\256\345\272\223\350\277\236\346\216\245\346\210\220\345\212\237"
.LC15:
	.string	"firstchar"
.LC16:
	.string	"onTrigger"
.LC17:
	.string	"SQL create error: %s\n"
.LC18:
	.string	"\346\225\260\346\215\256\345\272\223\345\273\272\350\241\250\346\210\220\345\212\237\357\274\201\357\274\201"
.LC19:
	.string	"SQL insert error: %s\n"
	.align 8
.LC20:
	.string	"\346\225\260\346\215\256\345\272\223\346\217\222\345\205\245\346\225\260\346\215\256\346\210\220\345\212\237\357\274\201"
.LC21:
	.string	"SQL error: %s\n"
.LC22:
	.string	"\346\225\260\346\215\256\345\272\223\346\237\245\350\257\242\346\210\220\345\212\237\357\274\201\357\274\201"
	.align 8
.LC23:
	.string	"\346\225\260\346\215\256\345\272\223\350\207\252\345\256\232\344\271\211\346\223\215\344\275\234\345\207\275\346\225\260\346\211\247\350\241\214\346\210\220\345\212\237\357\274\201\357\274\201"
.LC24:
	.string	"-->%d\n"
.LC25:
	.string	"\350\247\246\345\217\221\345\231\250\346\223\215\344\275\234\346\210\220\345\212\237\357\274\201\357\274\201"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC11[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	DWORD PTR -92[rbp], 0
	cmp	DWORD PTR -100[rbp], 2
	jne	.L13
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	sqlite3_open@PLT
	mov	DWORD PTR -92[rbp], eax
	jmp	.L14
.L13:
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -92[rbp], eax
.L14:
	cmp	DWORD PTR -92[rbp], 0
	je	.L15
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 1
	jmp	.L22
.L15:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	push	0
	push	0
	lea	r9, firstchar[rip]
	mov	r8d, 0
	mov	ecx, 1
	mov	edx, 1
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	sqlite3_create_function@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -88[rbp]
	push	0
	push	0
	lea	r9, onTrigger[rip]
	mov	r8d, 0
	mov	ecx, 1
	mov	edx, 2
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	sqlite3_create_function@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L17
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 1
	jmp	.L22
.L17:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L18
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 1
	jmp	.L22
.L18:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L19
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 1
	jmp	.L22
.L19:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L20
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 1
	jmp	.L22
.L20:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L21
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	sqlite3_free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 1
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	lea	rdx, _sql_callback[rip]
	mov	rdi, rax
	call	sqlite3_exec@PLT
	mov	esi, eax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	QWORD PTR -88[rbp], 0
	mov	eax, 0
.L22:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"691181.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"notused:%p, argc:%d\012\000"
	.align	2
.LC1:
	.ascii	"NULL\000"
	.align	2
.LC2:
	.ascii	"%s = %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_sql_callback, %function
_sql_callback:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, .L7
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L4
.L3:
	ldr	r3, .L7+4
.L4:
	mov	r2, r3
	ldr	r0, .L7+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L5
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	_sql_callback, .-_sql_callback
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	firstchar, %function
firstchar:
	@ 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, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L10
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	mov	r0, r3
	bl	sqlite3_value_text
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-12]
	mov	r3, #0
	strb	r3, [fp, #-11]
	sub	r1, fp, #12
	mvn	r3, #0
	mvn	r2, #0
	ldr	r0, [fp, #-24]
	bl	sqlite3_result_text
	b	.L9
.L10:
	ldr	r0, [fp, #-24]
	bl	sqlite3_result_null
.L9:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.size	firstchar, .-firstchar
	.section	.rodata
	.align	2
.LC4:
	.ascii	"onTrigger argc = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	onTrigger, %function
onTrigger:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, .L16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC4
	.size	onTrigger, .-onTrigger
	.section	.rodata
	.align	2
.LC5:
	.ascii	"create table users(userid varchar(20) PRIMARY KEY, "
	.ascii	"age int, birthday datetime);\000"
	.align	2
.LC6:
	.ascii	"insert into users values('wang', 20, '1989-5-4');\000"
	.align	2
.LC7:
	.ascii	"select * from users;\000"
	.align	2
.LC8:
	.ascii	"select firstchar(\"aa\");\000"
	.align	2
.LC9:
	.ascii	"create table users2(userid varchar(20) PRIMARY KEY,"
	.ascii	" age int, birthday datetime);\000"
	.align	2
.LC10:
	.ascii	"insert into users2 values('wang', 30, '1989-5-5');\000"
	.align	2
.LC11:
	.ascii	"        CREATE TRIGGER update_user_age AFTER UPDATE"
	.ascii	" ON users         BEGIN         SELECT onTrigger('b"
	.ascii	"', age);        END;\000"
	.align	2
.LC12:
	.ascii	"update users set age = 10 where userid = 'wang'\000"
	.align	2
.LC13:
	.ascii	"./test.db\000"
	.align	2
.LC14:
	.ascii	"\346\227\240\346\263\225\346\211\223\345\274\200\346"
	.ascii	"\225\260\346\215\256\345\272\223\357\274\232%s\012\000"
	.align	2
.LC15:
	.ascii	"\346\225\260\346\215\256\345\272\223\350\277\236\346"
	.ascii	"\216\245\346\210\220\345\212\237\000"
	.align	2
.LC16:
	.ascii	"firstchar\000"
	.align	2
.LC17:
	.ascii	"onTrigger\000"
	.align	2
.LC18:
	.ascii	"SQL create error: %s\012\000"
	.align	2
.LC19:
	.ascii	"\346\225\260\346\215\256\345\272\223\345\273\272\350"
	.ascii	"\241\250\346\210\220\345\212\237\357\274\201\357\274"
	.ascii	"\201\000"
	.align	2
.LC20:
	.ascii	"SQL insert error: %s\012\000"
	.align	2
.LC21:
	.ascii	"\346\225\260\346\215\256\345\272\223\346\217\222\345"
	.ascii	"\205\245\346\225\260\346\215\256\346\210\220\345\212"
	.ascii	"\237\357\274\201\000"
	.align	2
.LC22:
	.ascii	"SQL error: %s\012\000"
	.align	2
.LC23:
	.ascii	"\346\225\260\346\215\256\345\272\223\346\237\245\350"
	.ascii	"\257\242\346\210\220\345\212\237\357\274\201\357\274"
	.ascii	"\201\000"
	.align	2
.LC24:
	.ascii	"\346\225\260\346\215\256\345\272\223\350\207\252\345"
	.ascii	"\256\232\344\271\211\346\223\215\344\275\234\345\207"
	.ascii	"\275\346\225\260\346\211\247\350\241\214\346\210\220"
	.ascii	"\345\212\237\357\274\201\357\274\201\000"
	.align	2
.LC25:
	.ascii	"-->%d\012\000"
	.align	2
.LC26:
	.ascii	"\350\247\246\345\217\221\345\231\250\346\223\215\344"
	.ascii	"\275\234\346\210\220\345\212\237\357\274\201\357\274"
	.ascii	"\201\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L30+4
	str	r3, [fp, #-48]
	ldr	r3, .L30+8
	str	r3, [fp, #-44]
	ldr	r3, .L30+12
	str	r3, [fp, #-40]
	ldr	r3, .L30+16
	str	r3, [fp, #-36]
	ldr	r3, .L30+20
	str	r3, [fp, #-32]
	ldr	r3, .L30+24
	str	r3, [fp, #-28]
	ldr	r3, .L30+28
	str	r3, [fp, #-24]
	ldr	r3, .L30+32
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bne	.L19
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	sqlite3_open
	str	r0, [fp, #-52]
	b	.L20
.L19:
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L30+36
	bl	sqlite3_open
	str	r0, [fp, #-52]
.L20:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L30+40
	ldr	r4, [r3]
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L30+44
	mov	r0, r4
	bl	fprintf
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #1
	b	.L28
.L21:
	ldr	r0, .L30+48
	bl	puts
	ldr	r0, [fp, #-60]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, .L30+52
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #1
	ldr	r1, .L30+56
	bl	sqlite3_create_function
	ldr	r0, [fp, #-60]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, .L30+60
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #2
	ldr	r1, .L30+64
	bl	sqlite3_create_function
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-48]
	bl	sqlite3_exec
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L23
	ldr	r3, .L30+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r1, .L30+72
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	sqlite3_free
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #1
	b	.L28
.L23:
	ldr	r0, .L30+76
	bl	puts
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-44]
	bl	sqlite3_exec
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L30+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r1, .L30+80
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	sqlite3_free
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #1
	b	.L28
.L24:
	ldr	r0, .L30+84
	bl	puts
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-40]
	bl	sqlite3_exec
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L25
	ldr	r3, .L30+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r1, .L30+88
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	sqlite3_free
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #1
	b	.L28
.L25:
	ldr	r0, .L30+92
	bl	puts
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-36]
	bl	sqlite3_exec
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L30+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r1, .L30+88
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	sqlite3_free
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #1
	b	.L28
.L26:
	ldr	r0, .L30+96
	bl	puts
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-24]
	bl	sqlite3_exec
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L30+40
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r1, .L30+88
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	sqlite3_free
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #1
	b	.L28
.L27:
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-32]
	bl	sqlite3_exec
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L30+100
	bl	printf
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-28]
	bl	sqlite3_exec
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L30+100
	bl	printf
	ldr	r0, [fp, #-60]
	sub	r3, fp, #56
	str	r3, [sp]
	mov	r3, #0
	ldr	r2, .L30+68
	ldr	r1, [fp, #-20]
	bl	sqlite3_exec
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L30+100
	bl	printf
	ldr	r0, .L30+104
	bl	puts
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
.L28:
	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	.LC27
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	stderr
	.word	.LC14
	.word	.LC15
	.word	firstchar
	.word	.LC16
	.word	onTrigger
	.word	.LC17
	.word	_sql_callback
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
