	.file	"extr_vdbeapi.c_sqlite3_stmt_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sqlite3_stmt_status
	.type	sqlite3_stmt_status, @function
sqlite3_stmt_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR SQLITE_STMTSTATUS_MEMUSED[rip], esi
	je	.L10
	mov	rax, QWORD PTR [rdi]
	movsx	rsi, esi
	lea	rcx, [rax+rsi*8]
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rsp], rax
	test	edx, edx
	jne	.L11
.L3:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	QWORD PTR [rcx], 0
	mov	rax, QWORD PTR [rsp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rbx, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR 8[rbx]
	call	sqlite3_mutex_enter@PLT
	mov	rax, rsp
	mov	rsi, rbp
	mov	rdi, rbx
	mov	QWORD PTR [rsp], 0
	mov	QWORD PTR [rbx], rax
	call	sqlite3VdbeClearObject@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	call	sqlite3DbFree@PLT
	mov	QWORD PTR [rbx], 0
	mov	edi, DWORD PTR 8[rbx]
	call	sqlite3_mutex_leave@PLT
	mov	rax, QWORD PTR [rsp]
	jmp	.L3
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sqlite3_stmt_status, .-sqlite3_stmt_status
	.comm	SQLITE_STMTSTATUS_MEMUSED,4,4
	.comm	SQLITE_MISUSE_BKPT,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_vdbeapi.c_sqlite3_stmt_status.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sqlite3_stmt_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	sqlite3_stmt_status, %function
sqlite3_stmt_status:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	push	{r4, r5, r6, lr}
	ldr	r1, .L12
	sub	sp, sp, #8
	ldr	r1, [r1]
	mov	r4, r0
	cmp	r1, r3
	ldr	r1, .L12+4
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	beq	.L10
	cmp	r2, #0
	movne	r2, #0
	ldr	r1, [r0]
	ldr	r0, [r1, r3, lsl #2]
	str	r0, [sp]
	strne	r2, [r1, r3, lsl #2]
	ldrne	r0, [sp]
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	mov	r6, #0
	ldr	r5, [r0, #4]
	ldr	r0, [r5, #4]
	bl	sqlite3_mutex_enter
	mov	r1, r4
	str	r6, [sp]
	mov	r0, r5
	str	sp, [r5]
	bl	sqlite3VdbeClearObject
	mov	r1, r4
	mov	r0, r5
	bl	sqlite3DbFree
	ldr	r0, [r5, #4]
	str	r6, [r5]
	bl	sqlite3_mutex_leave
	ldr	r0, [sp]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	SQLITE_STMTSTATUS_MEMUSED
	.word	.LC0
	.size	sqlite3_stmt_status, .-sqlite3_stmt_status
	.comm	SQLITE_STMTSTATUS_MEMUSED,4,4
	.comm	SQLITE_MISUSE_BKPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
