	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evalConstExpr
_evalConstExpr:                         ## @evalConstExpr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %r14
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_8
## %bb.1:
	movl	$44, %ecx
	btl	%eax, %ecx
	jae	LBB0_10
## %bb.2:
	movq	16(%r15), %rbx
	movq	_EP_xIsSelect@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ExprHasProperty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:
	movl	(%rbx), %r13d
	testl	%r13d, %r13d
	jle	LBB0_8
## %bb.4:
	movq	8(%rbx), %rbx
	incl	%r13d
	movq	_EP_FixedDest@GOTPCREL(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	addq	$8, %rbx
	decl	%r13d
	cmpl	$1, %r13d
	jle	LBB0_8
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_ALWAYS
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %eax
	movq	(%rbx), %rcx
	orl	%eax, (%rcx)
	jmp	LBB0_5
LBB0_8:
	movq	%r15, %rdi
	callq	_isAppropriateForFactoring
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movl	(%r14), %ebx
	incl	%ebx
	movl	%ebx, (%r14)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_sqlite3ExprCodeTarget
	movl	%eax, %r14d
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	sete	%dil
	callq	_assert
	movl	(%r15), %eax
	movl	%eax, 4(%r15)
	movl	$128, (%r15)
	movl	%r14d, 8(%r15)
	movq	_WRC_Prune@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movl	$3, %ecx
	btl	%eax, %ecx
	movq	_WRC_Prune@GOTPCREL(%rip), %rax
	jb	LBB0_13
LBB0_12:
	movq	_WRC_Continue@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WRC_Prune,4,2                  ## @WRC_Prune
	.comm	_WRC_Continue,4,2               ## @WRC_Continue
	.comm	_EP_xIsSelect,4,2               ## @EP_xIsSelect
	.comm	_EP_FixedDest,4,2               ## @EP_FixedDest
	.no_dead_strip	_evalConstExpr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evalConstExpr
_evalConstExpr:                         ; @evalConstExpr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	ldr	x20, [x0]
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_8
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #44
	tst	w8, w9
	b.eq	LBB0_10
; %bb.2:
	ldr	x21, [x19, #16]
Lloh0:
	adrp	x8, _EP_xIsSelect@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EP_xIsSelect@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ExprHasProperty
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	cbz	x21, LBB0_8
; %bb.3:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	ldr	x21, [x21, #8]
	add	w22, w8, #1
Lloh3:
	adrp	x23, _EP_FixedDest@GOTPAGE
Lloh4:
	ldr	x23, [x23, _EP_FixedDest@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #8
	sub	w22, w22, #1
	cmp	w22, #1
	b.le	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	bl	_ALWAYS
	cbz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23]
	ldr	x9, [x21]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	b	LBB0_5
LBB0_8:
	mov	x0, x19
	bl	_isAppropriateForFactoring
	cbz	x0, LBB0_11
; %bb.9:
	ldr	w8, [x20]
	add	w21, w8, #1
	str	w21, [x20]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_sqlite3ExprCodeTarget
	mov	x20, x0
	cmp	w0, w21
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19]
	mov	w9, #128
	stp	w9, w8, [x19]
	str	w20, [x19, #8]
Lloh5:
	adrp	x8, _WRC_Prune@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WRC_Prune@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh7:
	adrp	x9, _WRC_Prune@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WRC_Prune@GOTPAGEOFF]
	tst	w8, #0x3
Lloh9:
	adrp	x8, _WRC_Continue@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WRC_Continue@GOTPAGEOFF]
	csel	x8, x9, x8, ne
	b	LBB0_12
LBB0_11:
Lloh11:
	adrp	x8, _WRC_Continue@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WRC_Continue@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_WRC_Prune,4,2                  ; @WRC_Prune
	.comm	_WRC_Continue,4,2               ; @WRC_Continue
	.comm	_EP_xIsSelect,4,2               ; @EP_xIsSelect
	.comm	_EP_FixedDest,4,2               ; @EP_FixedDest
	.no_dead_strip	_evalConstExpr
.subsections_via_symbols
