	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findConstInWhere
_findConstInWhere:                      ## @findConstInWhere
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_EP_FromJoin@GOTPCREL(%rip), %r14
	movq	_TK_AND@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_ExprHasProperty
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rsi
	movq	%r12, %rdi
	callq	_findConstInWhere
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_6:
	movq	_TK_EQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.7:
	movq	8(%rbx), %r14
	movq	16(%rbx), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movq	(%r15), %rax
	movq	_TK_COLUMN@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_13
## %bb.8:
	movq	_EP_FixedCol@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ExprHasProperty
	testq	%rax, %rax
	je	LBB0_9
LBB0_13:
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_5
## %bb.14:
	movq	_EP_FixedCol@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ExprHasProperty
	testq	%rax, %rax
	je	LBB0_15
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	callq	_sqlite3ExprIsConstant
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movl	(%r12), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_sqlite3BinaryCompareCollSeq
	movl	%eax, %edi
	callq	_sqlite3IsBinary
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	jmp	LBB0_12
LBB0_15:
	movq	%r15, %rdi
	callq	_sqlite3ExprIsConstant
	testq	%rax, %rax
	je	LBB0_5
## %bb.16:
	movl	(%r12), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_sqlite3BinaryCompareCollSeq
	movl	%eax, %edi
	callq	_sqlite3IsBinary
	testq	%rax, %rax
	je	LBB0_5
## %bb.17:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_constInsert                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EP_FromJoin,4,2                ## @EP_FromJoin
	.comm	_TK_AND,8,3                     ## @TK_AND
	.comm	_TK_EQ,8,3                      ## @TK_EQ
	.comm	_TK_COLUMN,8,3                  ## @TK_COLUMN
	.comm	_EP_FixedCol,4,2                ## @EP_FixedCol
	.no_dead_strip	_findConstInWhere
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findConstInWhere
_findConstInWhere:                      ; @findConstInWhere
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x1, LBB0_10
; %bb.1:
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x20, _EP_FromJoin@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EP_FromJoin@GOTPAGEOFF]
Lloh2:
	adrp	x22, _TK_AND@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TK_AND@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x21
	bl	_ExprHasProperty
	cbnz	x0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x21, #16]
	mov	x0, x19
	bl	_findConstInWhere
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_2
	b	LBB0_10
LBB0_5:
Lloh4:
	adrp	x9, _TK_EQ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TK_EQ@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:
	ldp	x21, x20, [x21, #8]
	cmp	x20, #0
	cset	w0, ne
	bl	_assert
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20]
Lloh7:
	adrp	x22, _TK_COLUMN@GOTPAGE
Lloh8:
	ldr	x22, [x22, _TK_COLUMN@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _EP_FixedCol@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EP_FixedCol@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ExprHasProperty
	cbz	x0, LBB0_11
LBB0_8:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _EP_FixedCol@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EP_FixedCol@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_ExprHasProperty
	cbz	x0, LBB0_14
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x21
	bl	_sqlite3ExprIsConstant
	cbz	x0, LBB0_8
; %bb.12:
	ldr	w0, [x19]
	mov	x1, x21
	mov	x2, x20
	bl	_sqlite3BinaryCompareCollSeq
	bl	_sqlite3IsBinary
	cbz	x0, LBB0_8
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	b	LBB0_17
LBB0_14:
	mov	x0, x20
	bl	_sqlite3ExprIsConstant
	cbz	x0, LBB0_10
; %bb.15:
	ldr	w0, [x19]
	mov	x1, x21
	mov	x2, x20
	bl	_sqlite3BinaryCompareCollSeq
	bl	_sqlite3IsBinary
	cbz	x0, LBB0_10
; %bb.16:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_constInsert
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EP_FromJoin,4,2                ; @EP_FromJoin
	.comm	_TK_AND,8,3                     ; @TK_AND
	.comm	_TK_EQ,8,3                      ; @TK_EQ
	.comm	_TK_COLUMN,8,3                  ; @TK_COLUMN
	.comm	_EP_FixedCol,4,2                ; @EP_FixedCol
	.no_dead_strip	_findConstInWhere
.subsections_via_symbols
