	.file	"extr_sqlite3.c_walBusyLock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	walBusyLock, @function
walBusyLock:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	DWORD PTR SQLITE_BUSY[rip], eax
	jne	.L1
	mov	rdi, r15
	call	rbx
	test	eax, eax
	je	.L1
.L3:
	mov	edx, ebp
	mov	esi, r13d
	mov	rdi, r14
	call	walLockExclusive@PLT
	mov	r12d, eax
	test	rbx, rbx
	jne	.L10
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	walBusyLock, .-walBusyLock
	.comm	SQLITE_BUSY,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_sqlite3.c_walBusyLock.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	walBusyLock, %function
walBusyLock:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, [sp, #32]
	mov	r7, r0
	mov	r5, r1
	mov	r8, r2
	mov	r6, r3
	ldr	r10, .L11
	b	.L3
.L10:
	ldr	r3, [r10]
	cmp	r3, r0
	bne	.L1
	mov	r0, r8
	blx	r5
	cmp	r0, #0
	beq	.L1
.L3:
	mov	r2, r9
	mov	r1, r6
	mov	r0, r7
	bl	walLockExclusive
	cmp	r5, #0
	mov	r4, r0
	bne	.L10
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	SQLITE_BUSY
	.size	walBusyLock, .-walBusyLock
	.comm	SQLITE_BUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
