	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idxRemFunc
_idxRemFunc:                            ## @idxRemFunc
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_sqlite3_user_data
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpl	$2, %ebx
	sete	%dil
	callq	_assert
	movq	(%r13), %rdi
	callq	_sqlite3_value_int
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	(%r15), %eax
	setle	%dil
	callq	_assert
	movq	8(%r15), %r12
	movslq	%ebx, %rbx
	shlq	$5, %rbx
	leaq	(%r12,%rbx), %r15
	movl	(%r12,%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	8(%r12,%rbx), %rsi
	movl	16(%r12,%rbx), %edx
	movq	_SQLITE_TRANSIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_sqlite3_result_text
	jmp	LBB0_6
LBB0_2:
	movl	28(%r12,%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3_result_int64
	jmp	LBB0_6
LBB0_3:
	movl	24(%r12,%rbx), %esi
	movq	%r14, %rdi
	callq	_sqlite3_result_double
	jmp	LBB0_6
LBB0_4:
	movq	8(%r12,%rbx), %rsi
	movl	16(%r12,%rbx), %edx
	movq	_SQLITE_TRANSIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_sqlite3_result_blob
LBB0_6:
	movq	8(%r13), %rdi
	callq	_sqlite3_value_type
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r15)
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_17
## %bb.7:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	callq	_sqlite3_value_bytes
	movl	%eax, %r15d
	cmpl	20(%r12,%rbx), %eax
	jle	LBB0_12
## %bb.10:
	movq	8(%r12,%rbx), %rdi
	leal	(%r15,%r15), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_sqlite3_realloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:
	leaq	(%r12,%rbx), %rcx
	addq	$20, %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, (%rcx)
	movq	%rax, -12(%rcx)
LBB0_12:
	movl	%r15d, 16(%r12,%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$132, (%rax)
	movq	8(%r12,%rbx), %r14
	movq	8(%r13), %rdi
	jne	LBB0_15
## %bb.13:
	callq	_sqlite3_value_blob
	jmp	LBB0_14
LBB0_16:
	movq	8(%r13), %rdi
	callq	_sqlite3_value_int64
	movl	%eax, 28(%r12,%rbx)
	jmp	LBB0_17
LBB0_8:
	movq	8(%r13), %rdi
	callq	_sqlite3_value_double
	movl	%eax, 24(%r12,%rbx)
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	_sqlite3_value_text
LBB0_14:
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_18:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_result_error_nomem     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_8, LBB0_8-LJTI0_1
LJTI0_1:
	.long	L0_1_set_9
	.long	L0_1_set_17
	.long	L0_1_set_16
	.long	L0_1_set_8
	.long	L0_1_set_9
	.end_data_region
                                        ## -- End function
	.comm	_SQLITE_TRANSIENT,4,2           ## @SQLITE_TRANSIENT
	.no_dead_strip	_idxRemFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idxRemFunc
_idxRemFunc:                            ; @idxRemFunc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_sqlite3_user_data
	mov	x22, x0
	cmp	w21, #2
	cset	w0, eq
	bl	_assert
	ldr	x0, [x19]
	bl	_sqlite3_value_int
	mov	x21, x0
	ldr	w8, [x22]
	cmp	w0, w8
	cset	w0, le
	bl	_assert
	ldr	x22, [x22, #8]
	sxtw	x24, w21
	add	x23, x22, x24, lsl #5
	ldr	w8, [x23]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x8, x22, x24, lsl #5
	ldr	x1, [x8, #8]
	ldr	w2, [x8, #16]
Lloh2:
	adrp	x8, _SQLITE_TRANSIENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SQLITE_TRANSIENT@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_sqlite3_result_text
	b	LBB0_6
LBB0_3:
	add	x8, x22, x24, lsl #5
	ldr	w1, [x8, #28]
	mov	x0, x20
	bl	_sqlite3_result_int64
	b	LBB0_6
LBB0_4:
	add	x8, x22, x24, lsl #5
	ldr	w1, [x8, #24]
	mov	x0, x20
	bl	_sqlite3_result_double
	b	LBB0_6
LBB0_5:
	add	x8, x22, x24, lsl #5
	ldr	x1, [x8, #8]
	ldr	w2, [x8, #16]
Lloh5:
	adrp	x8, _SQLITE_TRANSIENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SQLITE_TRANSIENT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_sqlite3_result_blob
LBB0_6:
	ldr	x0, [x19, #8]
	bl	_sqlite3_value_type
	str	w0, [x23]
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_15
; %bb.7:
Lloh8:
	adrp	x9, lJTI0_1@PAGE
Lloh9:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	ldr	x0, [x19, #8]
	bl	_sqlite3_value_bytes
	mov	x21, x0
	add	x24, x22, x24, lsl #5
	mov	x25, x24
	ldr	w8, [x25, #20]!
	cmp	w0, w8
	b.le	LBB0_11
; %bb.9:
	mov	x26, x24
	ldr	x0, [x26, #8]!
	lsl	w22, w21, #1
	mov	x1, x22
	bl	_sqlite3_realloc
	cbz	x0, LBB0_18
; %bb.10:
	str	w22, [x25]
	str	x0, [x26]
LBB0_11:
	str	w21, [x24, #16]
	ldr	w8, [x23]
	ldr	x20, [x24, #8]
	ldr	x0, [x19, #8]
	cmp	w8, #132
	b.ne	LBB0_16
; %bb.12:
	bl	_sqlite3_value_blob
	b	LBB0_17
LBB0_13:
	ldr	x0, [x19, #8]
	bl	_sqlite3_value_int64
	add	x8, x22, x24, lsl #5
	str	w0, [x8, #28]
	b	LBB0_15
LBB0_14:
	ldr	x0, [x19, #8]
	bl	_sqlite3_value_double
	add	x8, x22, x24, lsl #5
	str	w0, [x8, #24]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	_sqlite3_value_text
LBB0_17:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_memcpy
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_sqlite3_result_error_nomem
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
	.comm	_SQLITE_TRANSIENT,4,2           ; @SQLITE_TRANSIENT
	.no_dead_strip	_idxRemFunc
.subsections_via_symbols
