	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function groupConcatInverse
_groupConcatInverse:                    ## @groupConcatInverse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	leal	-1(%rbx), %eax
	xorl	%edi, %edi
	cmpl	$2, %eax
	setb	%dil
	callq	_assert
	movq	(%r15), %rdi
	callq	_sqlite3_value_type
	movq	_SQLITE_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.1:
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_sqlite3_aggregate_context
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ALWAYS
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	(%r15), %rdi
	callq	_sqlite3_value_bytes
	movl	%eax, %r12d
	movl	$1, %eax
	cmpl	$2, %ebx
	jne	LBB0_4
## %bb.3:
	movq	8(%r15), %rdi
	callq	_sqlite3_value_bytes
LBB0_4:
	addl	%r12d, %eax
	movq	(%r14), %rdx
	cmpl	%edx, %eax
	jge	LBB0_5
## %bb.6:
	cltq
	subq	%rax, %rdx
	movq	%rdx, (%r14)
	movq	16(%r14), %rdi
	leaq	(%rdi,%rax,4), %rsi
	callq	_memmove
	cmpq	$0, (%r14)
	jne	LBB0_8
	jmp	LBB0_7
LBB0_5:
	movq	$0, (%r14)
LBB0_7:
	movq	$0, 8(%r14)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_NULL,8,3                ## @SQLITE_NULL
	.no_dead_strip	_groupConcatInverse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function groupConcatInverse
_groupConcatInverse:                    ; @groupConcatInverse
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	sub	w8, w1, #1
	cmp	w8, #2
	cset	w0, lo
	bl	_assert
	ldr	x0, [x20]
	bl	_sqlite3_value_type
Lloh0:
	adrp	x8, _SQLITE_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.1:
	mov	x0, x19
	mov	w1, #24
	bl	_sqlite3_aggregate_context
	mov	x19, x0
	bl	_ALWAYS
	cbz	x0, LBB0_9
; %bb.2:
	ldr	x0, [x20]
	bl	_sqlite3_value_bytes
	mov	x22, x0
	cmp	w21, #2
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x20, #8]
	bl	_sqlite3_value_bytes
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldr	x9, [x19]
	add	w8, w0, w22
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.6:
	sub	x2, x9, w8, sxtw
	str	x2, [x19]
	ldr	x0, [x19, #16]
	add	x1, x0, w8, sxtw #2
	bl	_memmove
	ldr	x8, [x19]
	cbnz	x8, LBB0_9
	b	LBB0_8
LBB0_7:
	str	xzr, [x19]
LBB0_8:
	str	xzr, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_NULL,8,3                ; @SQLITE_NULL
	.no_dead_strip	_groupConcatInverse
.subsections_via_symbols
