	.file	"extr_btree.c_invalidateIncrblobCursors.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	invalidateIncrblobCursors, @function
invalidateIncrblobCursors:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	jne	.L17
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	sqlite3BtreeHoldsMutex@PLT
	mov	edi, eax
	call	assert@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	DWORD PTR [rbx], 0
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR BTCF_Incrblob[rip]
	mov	edx, DWORD PTR CURSOR_INVALID[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L1
.L7:
	test	DWORD PTR [rax], esi
	je	.L4
	mov	DWORD PTR [rbx], 1
	cmp	QWORD PTR 8[rax], rbp
	jne	.L4
	test	r12d, r12d
	jne	.L6
	cmp	QWORD PTR 24[rax], r13
	jne	.L4
.L6:
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	jne	.L7
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.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
	.cfi_endproc
.LFE0:
	.size	invalidateIncrblobCursors, .-invalidateIncrblobCursors
	.comm	CURSOR_INVALID,4,4
	.comm	BTCF_Incrblob,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_btree.c_invalidateIncrblobCursors.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	invalidateIncrblobCursors, %function
invalidateIncrblobCursors:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0]
	cmp	ip, #0
	bxeq	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r8, r2
	mov	r7, r3
	mov	r5, r1
	bl	sqlite3BtreeHoldsMutex
	bl	assert
	mov	r2, #0
	ldr	r3, [r4, #4]
	str	r2, [r4]
	ldr	ip, [r3]
	cmp	ip, r2
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r2, .L20
	ldr	r3, .L20+4
	mov	r6, #1
	ldr	r1, [r2]
	ldr	r3, [r3]
	b	.L7
.L4:
	ldr	ip, [ip, #16]
	cmp	ip, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	lr, [ip]
	tst	r1, lr
	beq	.L4
	ldr	r0, [ip, #4]
	str	r6, [r4]
	cmp	r0, r5
	bne	.L4
	cmp	r7, #0
	bne	.L6
	ldr	r2, [ip, #12]
	cmp	r2, r8
	bne	.L4
.L6:
	str	r3, [ip, #8]
	b	.L4
.L21:
	.align	2
.L20:
	.word	BTCF_Incrblob
	.word	CURSOR_INVALID
	.size	invalidateIncrblobCursors, .-invalidateIncrblobCursors
	.comm	CURSOR_INVALID,4,4
	.comm	BTCF_Incrblob,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
