	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function explainAppendTerm
_explainAppendTerm:                     ## @explainAppendTerm
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	xorl	%edi, %edi
	testl	%edx, %edx
	setg	%dil
	callq	_assert
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	$5, %edx
	callq	_sqlite3_str_append
LBB0_2:
	cmpl	$2, %r14d
	jl	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_sqlite3_str_append
LBB0_4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.5:
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_explainIndexColumnName
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_sqlite3_str_appendall
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %r14d
	incl	%ebx
	leaq	L_.str.2(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_sqlite3_str_append
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_explainIndexColumnName
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_sqlite3_str_appendall
	incl	%ebx
	decl	%r14d
	jne	LBB0_7
LBB0_8:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$2, %ebx
	jl	LBB0_9
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_sqlite3_str_append
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_sqlite3_str_append
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_11
LBB0_9:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_11:
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_sqlite3_str_append
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_sqlite3_str_append
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.13:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %ebx
	leaq	L_.str.2(%rip), %r15
	leaq	L_.str.4(%rip), %r14
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_sqlite3_str_append
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_sqlite3_str_append
	decl	%ebx
	jne	LBB0_14
LBB0_15:
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_16
## %bb.17:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %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_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" AND "

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

L_.str.2:                               ## @.str.2
	.asciz	","

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

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

	.no_dead_strip	_explainAppendTerm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function explainAppendTerm
_explainAppendTerm:                     ; @explainAppendTerm
	.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	x21, x5
	mov	x24, x4
	mov	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w2, #0
	cset	w0, gt
	bl	_assert
	cbz	w24, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_sqlite3_str_append
LBB0_2:
	cmp	w20, #1
	b.le	LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_sqlite3_str_append
LBB0_4:
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x0, x22
	mov	x1, x23
	bl	_explainIndexColumnName
	mov	x1, x0
	mov	x0, x19
	bl	_sqlite3_str_appendall
	subs	w25, w20, #1
	b.eq	LBB0_8
; %bb.6:
	add	w23, w23, #1
Lloh4:
	adrp	x24, l_.str.2@PAGE
Lloh5:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	w2, #1
	bl	_sqlite3_str_append
	mov	x0, x22
	mov	x1, x23
	bl	_explainIndexColumnName
	mov	x1, x0
	mov	x0, x19
	bl	_sqlite3_str_appendall
	add	w23, w23, #1
	subs	w25, w25, #1
	b.ne	LBB0_7
LBB0_8:
	cmp	w20, #1
	b.le	LBB0_10
; %bb.9:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_sqlite3_str_append
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_sqlite3_str_append
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_sqlite3_str_append
	cmp	w20, #1
	b.lt	LBB0_14
; %bb.11:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_sqlite3_str_append
	subs	w23, w20, #1
	b.eq	LBB0_14
; %bb.12:
Lloh12:
	adrp	x21, l_.str.2@PAGE
Lloh13:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh14:
	adrp	x22, l_.str.4@PAGE
Lloh15:
	add	x22, x22, l_.str.4@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	bl	_sqlite3_str_append
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_sqlite3_str_append
	subs	w23, w23, #1
	b.ne	LBB0_13
LBB0_14:
	cmp	w20, #1
	b.le	LBB0_16
; %bb.15:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	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_str_append
LBB0_16:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" AND "

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

l_.str.2:                               ; @.str.2
	.asciz	","

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

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

	.no_dead_strip	_explainAppendTerm
.subsections_via_symbols
