	.file	"705893.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Hello."
.LC1:
	.string	"test.db"
.LC2:
	.string	"Error opening db (%s).\n"
	.align 8
.LC3:
	.string	"SELECT id, alias, desc FROM user WHERE alias = @alias"
.LC4:
	.string	"Error preparing sql (%s).\n"
.LC5:
	.string	"@alias"
.LC6:
	.string	"lky"
.LC7:
	.string	"--- Query Results ---"
.LC8:
	.string	"%s\t%s\t%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	sqlite3_open@PLT
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -64[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L7
.L2:
	lea	rax, .LC3[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	r8d, 0
	mov	rcx, rdx
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare_v2@PLT
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -64[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	sqlite3_errmsg@PLT
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L7
.L4:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	sqlite3_bind_parameter_index@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	r8d, 0
	mov	ecx, 3
	lea	rdx, .LC6[rip]
	mov	rdi, rax
	call	sqlite3_bind_text@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	sqlite3_column_text@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	sqlite3_step@PLT
	cmp	eax, 101
	jne	.L6
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	sqlite3_finalize@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	sqlite3_close@PLT
	mov	eax, 0
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	_create_table
	.bss
	.align 8
	.type	_create_table, @object
	.size	_create_table, 8
_create_table:
	.zero	8
	.section	.rodata
	.align 8
.LC9:
	.string	"CREATE TABLE IF NOT EXISTS ?1 (id TEXT PRIMARY KEY, pubdate TEXT, moddate TEXT, title TEXT, body TEXT)"
.LC10:
	.string	"the_stack_data/705893.c"
.LC11:
	.string	"rc == SQLITE_OK"
	.text
	.globl	init_stmts
	.type	init_stmts, @function
init_stmts:
.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
	lea	rax, .LC9[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rsi, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 0
	lea	rcx, _create_table[rip]
	mov	edx, -1
	mov	rdi, rax
	call	sqlite3_prepare_v2@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 54
	lea	rsi, .LC10[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L11:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	init_stmts, .-init_stmts
	.globl	init_table
	.type	init_table, @function
init_table:
.LFB2:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	init_table, .-init_table
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
	.string	"init_stmts"
	.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	"705893.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello.\000"
	.align	2
.LC1:
	.ascii	"test.db\000"
	.align	2
.LC2:
	.ascii	"Error opening db (%s).\012\000"
	.align	2
.LC3:
	.ascii	"SELECT id, alias, desc FROM user WHERE alias = @ali"
	.ascii	"as\000"
	.align	2
.LC4:
	.ascii	"Error preparing sql (%s).\012\000"
	.align	2
.LC5:
	.ascii	"@alias\000"
	.align	2
.LC6:
	.ascii	"lky\000"
	.align	2
.LC7:
	.ascii	"--- Query Results ---\000"
	.align	2
.LC8:
	.ascii	"%s\011%s\011%s\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	puts
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L9+8
	bl	sqlite3_open
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L9+12
	bl	printf
	mov	r3, #1
	b	.L7
.L2:
	ldr	r3, .L9+16
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-40]
	sub	r3, fp, #36
	mov	r2, #0
	str	r2, [sp]
	mvn	r2, #0
	ldr	r1, [fp, #-28]
	bl	sqlite3_prepare_v2
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	sqlite3_errmsg
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L9+20
	bl	printf
	mov	r3, #1
	b	.L7
.L4:
	ldr	r3, [fp, #-36]
	ldr	r1, .L9+24
	mov	r0, r3
	bl	sqlite3_bind_parameter_index
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-36]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #3
	ldr	r2, .L9+28
	ldr	r1, [fp, #-24]
	bl	sqlite3_bind_text
	ldr	r0, .L9+32
	bl	puts
	b	.L5
.L6:
	ldr	r3, [fp, #-36]
	mov	r1, #0
	mov	r0, r3
	bl	sqlite3_column_text
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-36]
	mov	r1, #1
	mov	r0, r3
	bl	sqlite3_column_text
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-36]
	mov	r1, #2
	mov	r0, r3
	bl	sqlite3_column_text
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, .L9+36
	bl	printf
.L5:
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	sqlite3_step
	mov	r3, r0
	cmp	r3, #101
	bne	.L6
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	sqlite3_finalize
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	sqlite3_close
	mov	r3, #0
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.global	_create_table
	.bss
	.align	2
	.type	_create_table, %object
	.size	_create_table, 4
_create_table:
	.space	4
	.section	.rodata
	.align	2
.LC10:
	.ascii	"CREATE TABLE IF NOT EXISTS ?1 (id TEXT PRIMARY KEY,"
	.ascii	" pubdate TEXT, moddate TEXT, title TEXT, body TEXT)"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"the_stack_data/705893.c\000"
	.align	2
.LC12:
	.ascii	"rc == SQLITE_OK\000"
	.text
	.align	2
	.global	init_stmts
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_stmts, %function
init_stmts:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	ldr	r3, .L14
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L14+4
	mvn	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	sqlite3_prepare_v2
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L14+8
	mov	r2, #54
	ldr	r1, .L14+12
	ldr	r0, .L14+16
	bl	__assert_fail
.L13:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC10
	.word	_create_table
	.word	__PRETTY_FUNCTION__.6404
	.word	.LC11
	.word	.LC12
	.size	init_stmts, .-init_stmts
	.align	2
	.global	init_table
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_table, %function
init_table:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	init_table, .-init_table
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6404, %object
	.size	__PRETTY_FUNCTION__.6404, 11
__PRETTY_FUNCTION__.6404:
	.ascii	"init_stmts\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
