	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function whereIndexExprTrans
_whereIndexExprTrans:                   ## @whereIndexExprTrans
	.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, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r13
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_whereIndexExprTransNode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	leaq	-96(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	%ebx, -96(%rbp)
	movl	%r15d, -92(%rbp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_XN_EXPR@GOTPCREL(%rip), %rdx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movq	(%rcx,%rbx,8), %rcx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax,%rbx,8)
	setne	%dil
	callq	_assert
	movl	%ebx, -88(%rbp)
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movq	%rax, -80(%rbp)
	movl	8(%r12), %esi
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	callq	_sqlite3WalkExpr
	movl	4(%r12), %esi
	movq	%r14, %rdi
	callq	_sqlite3WalkExprList
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_sqlite3WalkExprList
	movq	_XN_EXPR@GOTPCREL(%rip), %rdx
	movl	(%r15), %eax
	jmp	LBB0_5
LBB0_6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_whereIndexExprTransNode,4,2    ## @whereIndexExprTransNode
	.comm	_XN_EXPR,8,3                    ## @XN_EXPR
	.no_dead_strip	_whereIndexExprTrans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whereIndexExprTrans
_whereIndexExprTrans:                   ; @whereIndexExprTrans
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	ldr	x23, [x0, #8]
	cbz	x23, LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _whereIndexExprTransNode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _whereIndexExprTransNode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	add	x8, sp, #8
	str	x8, [sp, #32]
	stp	w22, w21, [sp, #8]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x21, #0
Lloh3:
	adrp	x22, _XN_EXPR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _XN_EXPR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20]
	ldr	x9, [x9, x21, lsl #3]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #8]
	lsl	x24, x21, #3
	ldr	x8, [x8, x24]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	str	w21, [sp, #16]
	ldr	x8, [x23, #8]
	ldr	x8, [x8, x24]
	str	x8, [sp, #24]
	ldr	w1, [x19, #8]
	add	x0, sp, #32
	bl	_sqlite3WalkExpr
	ldr	w1, [x19, #4]
	add	x0, sp, #32
	bl	_sqlite3WalkExprList
	ldr	w1, [x19]
	add	x0, sp, #32
	bl	_sqlite3WalkExprList
	ldr	w8, [x23]
	b	LBB0_3
LBB0_6:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_whereIndexExprTransNode,4,2    ; @whereIndexExprTransNode
	.comm	_XN_EXPR,8,3                    ; @XN_EXPR
	.no_dead_strip	_whereIndexExprTrans
.subsections_via_symbols
