	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function removeUnindexableInClauseTerms
_removeUnindexableInClauseTerms:        ## @removeUnindexableInClauseTerms
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	(%rdi), %r14
	movq	%r14, %rdi
	movq	%rcx, %rsi
	xorl	%edx, %edx
	callq	_sqlite3ExprDup
	movq	%rax, %r15
	cmpq	$0, (%r14)
	je	LBB0_1
LBB0_20:
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rcx
	movq	8(%rax), %rsi
	movq	8(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r12), %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, %eax
	jle	LBB0_2
## %bb.3:
	movslq	%ecx, %r15
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rcx
	movq	(%rcx,%r15,8), %rcx
	cmpq	%rbx, 8(%rcx)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%rcx), %r13
	decq	%r13
	movq	8(%rsi), %rcx
	shlq	$4, %r13
	movq	(%rcx,%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %r14
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3ExprListAppend
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movq	$0, (%rax,%r13)
	movq	%r12, %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%r13)
	setne	%dil
	callq	_assert
	movq	8(%r12), %rax
	movq	(%rax,%r13), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3ExprListAppend
	movq	%r14, %rsi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rax
	movq	%rbx, %r12
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	$0, (%rax,%r13)
	movl	(%r12), %eax
	jmp	LBB0_7
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_8:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_sqlite3ExprListDelete
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_sqlite3ExprListDelete
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	16(%r15), %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rsi)
	movq	(%r15), %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, 8(%rax)
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	cmpl	$1, (%rcx)
	jne	LBB0_11
## %bb.10:
	movq	8(%rcx), %rax
	movq	(%rax), %rbx
	movq	$0, (%rax)
	movq	%r14, %rdi
	callq	_sqlite3ExprDelete
	movq	%rbx, 16(%r15)
	movq	(%r15), %rax
LBB0_11:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_20
## %bb.13:
	movq	8(%rax), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_15
## %bb.14:
	xorl	%esi, %esi
	jmp	LBB0_17
LBB0_15:
	andl	$-4, %edx
	leaq	56(%rcx), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, -48(%rdi)
	movq	$0, -32(%rdi)
	movq	$0, -16(%rdi)
	movq	$0, (%rdi)
	addq	$4, %rsi
	addq	$64, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_16
LBB0_17:
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	shlq	$4, %rsi
	addq	%rsi, %rcx
	addq	$8, %rcx
	shlq	$4, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rcx,%rdx)
	addq	$16, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_19
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_removeUnindexableInClauseTerms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function removeUnindexableInClauseTerms
_removeUnindexableInClauseTerms:        ; @removeUnindexableInClauseTerms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x28, x1
	mov	x24, x0
	ldr	x20, [x0]
	mov	x0, x20
	mov	x1, x3
	mov	w2, #0
	bl	_sqlite3ExprDup
	mov	x25, x0
	ldr	x8, [x20]
	cbz	x8, LBB0_2
LBB0_1:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	ldr	x8, [x25]
	ldr	x26, [x8, #8]
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x8, [x25, #16]
	ldr	x25, [x8, #8]
	ldr	w8, [x22]
	cmp	w8, w28
	b.le	LBB0_8
; %bb.3:
	mov	x27, #0
	mov	x23, #0
	sxtw	x28, w28
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	cmp	x28, w8, sxtw
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	ldr	x9, [x9, x28, lsl #3]
	ldr	x10, [x9, #8]
	cmp	x10, x21
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x9, [x9]
	sub	x9, x9, #1
	ldr	x10, [x26, #8]
	lsl	x19, x9, #4
	ldr	x2, [x10, x19]
	cbz	x2, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	x1, x27
	bl	_sqlite3ExprListAppend
	mov	x27, x0
	ldr	x8, [x26, #8]
	str	xzr, [x8, x19]
	ldr	x8, [x25, #8]
	ldr	x8, [x8, x19]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x25, #8]
	ldr	x2, [x8, x19]
	mov	x0, x24
	mov	x1, x23
	bl	_sqlite3ExprListAppend
	mov	x23, x0
	ldr	x8, [x25, #8]
	str	xzr, [x8, x19]
	ldr	w8, [x22]
	b	LBB0_4
LBB0_8:
	mov	x23, #0
	mov	x27, #0
LBB0_9:
	mov	x0, x20
	mov	x1, x26
	bl	_sqlite3ExprListDelete
	mov	x0, x20
	mov	x1, x25
	bl	_sqlite3ExprListDelete
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x1, [x25, #16]
	str	x23, [x1, #8]
	ldr	x8, [x25]
	str	x27, [x8, #8]
	cbz	x23, LBB0_12
; %bb.10:
	ldr	w9, [x23]
	cmp	w9, #1
	b.ne	LBB0_12
; %bb.11:
	ldr	x8, [x23, #8]
	ldr	x19, [x8]
	str	xzr, [x8]
	mov	x0, x20
	bl	_sqlite3ExprDelete
	str	x19, [x25, #16]
	ldr	x8, [x25]
LBB0_12:
	ldr	x9, [x8]
	cbz	x9, LBB0_1
; %bb.13:
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.14:
	ldr	x9, [x9, #8]
	cmp	w8, #4
	b.hs	LBB0_16
; %bb.15:
	mov	x10, #0
	b	LBB0_19
LBB0_16:
	and	x10, x8, #0xfffffffc
	add	x11, x9, #40
	mov	x12, x10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	stur	xzr, [x11, #-32]
	stur	xzr, [x11, #-16]
	str	xzr, [x11]
	str	xzr, [x11, #16]
	add	x11, x11, #64
	subs	x12, x12, #4
	b.ne	LBB0_17
; %bb.18:
	cmp	x10, x8
	b.eq	LBB0_1
LBB0_19:
	add	x9, x9, x10, lsl #4
	add	x9, x9, #8
	sub	x8, x8, x10
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x9], #16
	subs	x8, x8, #1
	b.ne	LBB0_20
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_removeUnindexableInClauseTerms
.subsections_via_symbols
