	.file	"extr_db.c_sqlite_query_prepare.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"no error given"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Couldn't prepare query, error:%d->'%s'\n\t%s\n"
	.text
	.p2align 4
	.globl	sqlite_query_prepare
	.type	sqlite_query_prepare, @function
sqlite_query_prepare:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r8d, r8d
	mov	edx, -1
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rcx, rsp
	call	sqlite3_prepare_v2@PLT
	mov	ebp, eax
	cmp	DWORD PTR SQLITE_OK[rip], ebp
	mov	rax, QWORD PTR [rsp]
	jne	.L8
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, r13
	call	sqlite3_errmsg@PLT
	mov	rcx, r12
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	test	rax, rax
	mov	rdx, rax
	lea	rax, .LC0[rip]
	cmove	rdx, rax
	call	g_warning@PLT
	xor	eax, eax
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sqlite_query_prepare, .-sqlite_query_prepare
	.comm	SQLITE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_db.c_sqlite_query_prepare.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"no error given\000"
	.align	2
.LC1:
	.ascii	"Couldn't prepare query, error:%d->'%s'\012\011%s\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sqlite_query_prepare
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite_query_prepare, %function
sqlite_query_prepare:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, #0
	sub	sp, sp, #20
	ldr	ip, .L10
	str	r5, [sp]
	add	r3, sp, #8
	mvn	r2, #0
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	mov	r6, r0
	mov	r7, r1
	bl	sqlite3_prepare_v2
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, r0
	ldreq	r0, [sp, #8]
	bne	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	mov	r4, r0
	mov	r0, r6
	bl	sqlite3_errmsg
	cmp	r0, r5
	ldr	r2, .L10+8
	mov	r3, r7
	movne	r2, r0
	mov	r1, r4
	ldr	r0, .L10+12
	bl	g_warning
	mov	r0, r5
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	SQLITE_OK
	.word	.LC0
	.word	.LC1
	.size	sqlite_query_prepare, .-sqlite_query_prepare
	.comm	SQLITE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
