	.file	"extr_sqlite3.c_groupConcatStep.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	","
	.text
	.p2align 4
	.type	groupConcatStep, @function
groupConcatStep:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	eax, -1[rsi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	eax, 1
	setbe	dil
	call	assert@PLT
	mov	rdi, QWORD PTR [rbx]
	call	sqlite3_value_type@PLT
	cmp	rax, QWORD PTR SQLITE_NULL[rip]
	je	.L1
	mov	esi, 8
	mov	rdi, r12
	call	sqlite3_aggregate_context@PLT
	mov	r13, rax
	test	rax, rax
	jne	.L21
.L1:
	add	rsp, 8
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	mov	rdi, r12
	call	sqlite3_context_db_handle@PLT
	mov	rcx, QWORD PTR SQLITE_LIMIT_LENGTH[rip]
	mov	r8, rax
	mov	rax, QWORD PTR 0[r13]
	mov	rdx, QWORD PTR [r8]
	mov	rdx, QWORD PTR [rdx+rcx*8]
	mov	QWORD PTR 0[r13], rdx
	test	rax, rax
	je	.L6
	mov	edx, 1
	lea	rsi, .LC0[rip]
	cmp	ebp, 2
	je	.L22
.L7:
	mov	rdi, r13
	call	sqlite3StrAccumAppend@PLT
.L6:
	mov	rdi, QWORD PTR [rbx]
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rbp, rax
	call	sqlite3_value_bytes@PLT
	test	rbp, rbp
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r13
	mov	edx, eax
	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
	jmp	sqlite3StrAccumAppend@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	call	sqlite3_value_text@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rbp, rax
	call	sqlite3_value_bytes@PLT
	mov	edx, eax
	test	rbp, rbp
	je	.L6
	mov	rsi, rbp
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	groupConcatStep, .-groupConcatStep
	.comm	SQLITE_NULL,8,8
	.comm	SQLITE_LIMIT_LENGTH,8,8
	.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_groupConcatStep.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	",\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	groupConcatStep, %function
groupConcatStep:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r0
	sub	r0, r1, #1
	cmp	r0, #1
	movhi	r0, #0
	movls	r0, #1
	mov	r5, r1
	bl	assert
	ldr	r0, [r4]
	bl	sqlite3_value_type
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r0, r3
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, #4
	mov	r0, r6
	bl	sqlite3_aggregate_context
	subs	r7, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r6
	bl	sqlite3_context_db_handle
	ldr	r2, .L22+4
	ldr	r3, [r0]
	ldr	r1, [r2]
	ldr	r2, [r7]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, #0
	str	r3, [r7]
	beq	.L6
	cmp	r5, #2
	beq	.L21
	mov	r2, #1
	ldr	r1, .L22+8
.L7:
	mov	r0, r7
	bl	sqlite3StrAccumAppend
.L6:
	ldr	r0, [r4]
	bl	sqlite3_value_text
	mov	r1, r0
	ldr	r0, [r4]
	mov	r4, r1
	bl	sqlite3_value_bytes
	cmp	r4, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r2, r0
	mov	r1, r4
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	sqlite3StrAccumAppend
.L21:
	ldr	r0, [r4, #4]
	bl	sqlite3_value_text
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	sqlite3_value_bytes
	cmp	r5, #0
	mov	r2, r0
	movne	r1, r5
	beq	.L6
	b	.L7
.L23:
	.align	2
.L22:
	.word	SQLITE_NULL
	.word	SQLITE_LIMIT_LENGTH
	.word	.LC0
	.size	groupConcatStep, .-groupConcatStep
	.comm	SQLITE_NULL,4,4
	.comm	SQLITE_LIMIT_LENGTH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
