	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function whereApplyPartialIndexConstraints
_whereApplyPartialIndexConstraints:     ## @whereApplyPartialIndexConstraints
	.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	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	_TK_AND@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_whereApplyPartialIndexConstraints
	movq	8(%r12), %r12
	movq	(%r12), %rax
	cmpq	(%r14), %rax
	je	LBB0_1
LBB0_3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.4:
	movq	8(%r15), %rbx
	xorl	%r13d, %r13d
	movq	_TERM_CODED@GOTPCREL(%rip), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	addq	$16, %rbx
	cmpl	(%r15), %r13d
	jge	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %eax
	testl	%eax, (%rbx)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rsi
	xorl	%edi, %edi
	movq	%r12, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_sqlite3ExprCompare
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r14), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_AND,8,3                     ## @TK_AND
	.comm	_TERM_CODED,4,2                 ## @TERM_CODED
	.no_dead_strip	_whereApplyPartialIndexConstraints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function whereApplyPartialIndexConstraints
_whereApplyPartialIndexConstraints:     ; @whereApplyPartialIndexConstraints
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _TK_AND@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TK_AND@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x21, #16]
	mov	x1, x20
	mov	x2, x19
	bl	_whereApplyPartialIndexConstraints
	ldr	x21, [x21, #8]
	ldr	x8, [x21]
	b	LBB0_1
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	w22, #0
	ldr	x23, [x19, #8]
Lloh2:
	adrp	x24, _TERM_CODED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TERM_CODED@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w22, w22, #1
	add	x23, x23, #16
	ldr	w8, [x19]
	cmp	w22, w8
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x23, #8]
	mov	w0, #0
	mov	x2, x21
	mov	x3, x20
	bl	_sqlite3ExprCompare
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [x23]
	b	LBB0_5
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_AND,8,3                     ; @TK_AND
	.comm	_TERM_CODED,4,2                 ; @TERM_CODED
	.no_dead_strip	_whereApplyPartialIndexConstraints
.subsections_via_symbols
