	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function explainIndexRange
_explainIndexRange:                     ## @explainIndexRange
	.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	%rsi, %r13
	movq	%rdi, %r12
	movq	24(%rsi), %r15
	movl	8(%rsi), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	movl	(%r13), %r14d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_sqlite3_str_append
	testl	%ebx, %ebx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_explainIndexColumnName
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rsi
	cmovgq	%rcx, %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_sqlite3_str_appendf
	movl	$1, %r12d
	cmpl	$1, %ebx
	je	LBB0_9
## %bb.3:
	movl	%ebx, %eax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	movl	%eax, %r12d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_explainIndexColumnName
	movq	%r15, %r14
	movq	%rax, %r15
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$5, %edx
	callq	_sqlite3_str_append
	cmpl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rax
	cmovlq	%rax, %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%r14, %r15
	callq	_sqlite3_str_appendf
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_4
## %bb.5:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_6:
	movq	_WHERE_BTM_LIMIT@GOTPCREL(%rip), %rax
	movq	_WHERE_TOP_LIMIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 4(%r13)
	je	LBB0_14
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	$2, %edx
	callq	_sqlite3_str_append
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movl	4(%r13), %eax
	movq	_WHERE_BTM_LIMIT@GOTPCREL(%rip), %rcx
	movl	%r12d, %r8d
	testl	%eax, (%rcx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	movl	16(%r13), %edx
	leaq	L_.str.4(%rip), %r9
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %ecx
	movl	%r12d, %r8d
	callq	_explainAppendTerm
	movl	4(%r13), %eax
	movl	$1, %r8d
LBB0_11:
	movq	_WHERE_TOP_LIMIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movl	12(%r13), %edx
	leaq	L_.str.5(%rip), %r9
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %ecx
	callq	_explainAppendTerm
LBB0_13:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sqlite3_str_append             ## TAILCALL
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WHERE_BTM_LIMIT,4,2            ## @WHERE_BTM_LIMIT
	.comm	_WHERE_TOP_LIMIT,4,2            ## @WHERE_TOP_LIMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" ("

L_.str.1:                               ## @.str.1
	.asciz	" AND "

L_.str.2:                               ## @.str.2
	.asciz	"%s=?"

L_.str.3:                               ## @.str.3
	.asciz	"ANY(%s)"

L_.str.4:                               ## @.str.4
	.asciz	">"

L_.str.5:                               ## @.str.5
	.asciz	"<"

L_.str.6:                               ## @.str.6
	.asciz	")"

	.no_dead_strip	_explainIndexRange
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function explainIndexRange
_explainIndexRange:                     ; @explainIndexRange
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x19, x0
	ldr	x20, [x1, #24]
	ldr	w22, [x1, #8]
Lloh0:
	adrp	x24, _WHERE_BTM_LIMIT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _WHERE_BTM_LIMIT@GOTPAGEOFF]
Lloh2:
	adrp	x23, _WHERE_TOP_LIMIT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _WHERE_TOP_LIMIT@GOTPAGEOFF]
	cbz	w22, LBB0_6
; %bb.1:
	ldr	w28, [x21]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_sqlite3_str_append
	cmp	w22, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x0, x20
	mov	w1, #0
	bl	_explainIndexColumnName
	mov	x2, x0
Lloh6:
	adrp	x26, l_.str.2@PAGE
Lloh7:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh8:
	adrp	x27, l_.str.3@PAGE
Lloh9:
	add	x27, x27, l_.str.3@PAGEOFF
	cmp	w28, #0
	csel	x1, x27, x26, gt
	mov	x0, x19
	bl	_sqlite3_str_appendf
	cmp	w22, #1
	b.eq	LBB0_9
; %bb.3:
	mov	w23, #1
Lloh10:
	adrp	x24, l_.str.1@PAGE
Lloh11:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_explainIndexColumnName
	mov	x25, x0
	mov	x0, x19
	mov	x1, x24
	mov	w2, #5
	bl	_sqlite3_str_append
	cmp	w23, w28
	csel	x1, x27, x26, lt
	mov	x0, x19
	mov	x2, x25
	bl	_sqlite3_str_appendf
	add	w23, w23, #1
	cmp	w22, w23
	b.ne	LBB0_4
; %bb.5:
Lloh12:
	adrp	x23, _WHERE_TOP_LIMIT@GOTPAGE
Lloh13:
	ldr	x23, [x23, _WHERE_TOP_LIMIT@GOTPAGEOFF]
Lloh14:
	adrp	x24, _WHERE_BTM_LIMIT@GOTPAGE
Lloh15:
	ldr	x24, [x24, _WHERE_BTM_LIMIT@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	w8, [x21, #4]
	ldr	w9, [x24]
	ldr	w10, [x23]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_15
; %bb.7:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_sqlite3_str_append
LBB0_8:
	mov	w22, #0
LBB0_9:
	ldr	w8, [x21, #4]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	w2, [x21, #16]
Lloh18:
	adrp	x5, l_.str.4@PAGE
Lloh19:
	add	x5, x5, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	mov	x4, x22
	bl	_explainAppendTerm
	ldr	w8, [x21, #4]
	mov	w4, #1
	b	LBB0_12
LBB0_11:
	mov	x4, x22
LBB0_12:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w2, [x21, #12]
Lloh20:
	adrp	x5, l_.str.5@PAGE
Lloh21:
	add	x5, x5, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_explainAppendTerm
LBB0_14:
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_sqlite3_str_append
LBB0_15:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_WHERE_BTM_LIMIT,4,2            ; @WHERE_BTM_LIMIT
	.comm	_WHERE_TOP_LIMIT,4,2            ; @WHERE_TOP_LIMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" ("

l_.str.1:                               ; @.str.1
	.asciz	" AND "

l_.str.2:                               ; @.str.2
	.asciz	"%s=?"

l_.str.3:                               ; @.str.3
	.asciz	"ANY(%s)"

l_.str.4:                               ; @.str.4
	.asciz	">"

l_.str.5:                               ; @.str.5
	.asciz	"<"

l_.str.6:                               ; @.str.6
	.asciz	")"

	.no_dead_strip	_explainIndexRange
.subsections_via_symbols
