	.file	"extr_sqlite3.c_codeApplyAffinity.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	codeApplyAffinity, @function
codeApplyAffinity:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rcx, rcx
	je	.L19
	mov	r14, QWORD PTR 8[rdi]
	xor	edi, edi
	mov	r12d, edx
	mov	ebp, esi
	mov	rbx, rcx
	test	r14, r14
	setne	dil
	call	assert@PLT
	movzx	edx, BYTE PTR SQLITE_AFF_BLOB[rip]
	test	r12d, r12d
	jg	.L5
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	add	ebp, 1
	add	rbx, 1
	sub	r12d, 1
	je	.L1
.L5:
	cmp	BYTE PTR [rbx], dl
	je	.L8
	cmp	r12d, 1
	je	.L6
	movsx	rax, r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	lea	r12d, -1[rax]
	sub	rax, 1
	cmp	eax, 1
	jle	.L6
.L7:
	mov	r12d, eax
	cmp	dl, BYTE PTR -1[rbx+rax]
	je	.L10
.L6:
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	esi, DWORD PTR OP_Affinity[rip]
	mov	edx, ebp
	mov	rdi, r14
	push	r12
	.cfi_def_cfa_offset 64
	mov	r9, rbx
	mov	ecx, r12d
	xor	r8d, r8d
	call	sqlite3VdbeAddOp4@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	mov	esi, ebp
	pop	rdx
	.cfi_def_cfa_offset 48
	mov	rdi, r13
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	sqlite3ExprCacheAffinityChange@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	rax, QWORD PTR [rdi]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	mov	edi, DWORD PTR [rax]
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	assert@PLT
	.cfi_endproc
.LFE0:
	.size	codeApplyAffinity, .-codeApplyAffinity
	.comm	SQLITE_AFF_BLOB,1,1
	.comm	OP_Affinity,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_codeApplyAffinity.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	codeApplyAffinity, %function
codeApplyAffinity:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r3, #0
	mov	r7, r0
	sub	sp, sp, #16
	beq	.L22
	mov	r4, r2
	ldr	r8, [r0, #4]
	mov	r6, r1
	subs	r0, r8, #0
	movne	r0, #1
	bl	assert
	cmp	r4, #0
	ble	.L1
	ldr	r2, .L23
	mov	r3, r5
	ldrb	r1, [r2]	@ zero_extendqisi2
	b	.L5
.L8:
	subs	r4, r4, #1
	add	r6, r6, #1
	beq	.L1
.L5:
	mov	r2, r3
	ldrb	r0, [r3], #1	@ zero_extendqisi2
	cmp	r0, r1
	beq	.L8
	cmp	r4, #1
	beq	.L6
	add	r3, r2, r4
	b	.L7
.L10:
	sub	r4, r4, #1
	cmp	r4, #1
	beq	.L6
.L7:
	ldrb	r0, [r3, #-1]!	@ zero_extendqisi2
	cmp	r0, r1
	beq	.L10
.L6:
	mov	r1, #0
	stmib	sp, {r2, r4}
	ldr	r3, .L23+4
	str	r1, [sp]
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r8
	mov	r3, r4
	bl	sqlite3VdbeAddOp4
	mov	r2, r4
	mov	r1, r6
	mov	r0, r7
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	sqlite3ExprCacheAffinityChange
.L1:
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	ldr	r3, [r0]
	ldr	r0, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	assert
.L24:
	.align	2
.L23:
	.word	SQLITE_AFF_BLOB
	.word	OP_Affinity
	.size	codeApplyAffinity, .-codeApplyAffinity
	.comm	SQLITE_AFF_BLOB,1,1
	.comm	OP_Affinity,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
