	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function termCanDriveIndex
_termCanDriveIndex:                     ## @termCanDriveIndex
	.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	(%rdi), %rax
	xorl	%r14d, %r14d
	cmpq	(%rsi), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	_WO_EQ@GOTPCREL(%rip), %rax
	movq	_WO_IS@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%rax), %ecx
	testl	%ecx, 8(%rdi)
	je	LBB0_8
## %bb.2:
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	_JT_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rsi)
	je	LBB0_5
## %bb.3:
	movq	16(%rbx), %rdi
	movq	_EP_FromJoin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ExprHasProperty
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	testl	%r12d, 12(%rbx)
	jne	LBB0_8
## %bb.6:
	movq	16(%rbx), %rdi
	movq	24(%rbx), %rax
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	movsbl	(%rcx,%rax), %esi
	callq	_sqlite3IndexAffinityOk
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movq	_TK_IS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_testcase
	movl	$1, %r14d
	jmp	LBB0_8
LBB0_4:
	movl	(%r13), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_5
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WO_EQ,4,2                      ## @WO_EQ
	.comm	_WO_IS,4,2                      ## @WO_IS
	.comm	_JT_LEFT,4,2                    ## @JT_LEFT
	.comm	_EP_FromJoin,4,2                ## @EP_FromJoin
	.comm	_TK_IS,8,3                      ## @TK_IS
	.no_dead_strip	_termCanDriveIndex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function termCanDriveIndex
_termCanDriveIndex:                     ; @termCanDriveIndex
	.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
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _WO_EQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WO_EQ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x22, _WO_IS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _WO_IS@GOTPAGEOFF]
	ldr	w10, [x22]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_8
; %bb.2:
	mov	x21, x2
	mov	x20, x1
	ldr	w8, [x1, #16]
Lloh5:
	adrp	x9, _JT_LEFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _JT_LEFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x0, [x19, #16]
Lloh8:
	adrp	x8, _EP_FromJoin@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EP_FromJoin@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_ExprHasProperty
	cbz	w0, LBB0_7
LBB0_4:
	ldr	w8, [x19, #12]
	tst	w8, w21
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldp	x0, x9, [x19, #16]
	ldrsb	w1, [x8, x9]
	bl	_sqlite3IndexAffinityOk
	cbz	w0, LBB0_9
; %bb.6:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _TK_IS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TK_IS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_testcase
	mov	w0, #1
	b	LBB0_9
LBB0_7:
	ldr	w8, [x19, #8]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_WO_EQ,4,2                      ; @WO_EQ
	.comm	_WO_IS,4,2                      ; @WO_IS
	.comm	_JT_LEFT,4,2                    ; @JT_LEFT
	.comm	_EP_FromJoin,4,2                ; @EP_FromJoin
	.comm	_TK_IS,8,3                      ; @TK_IS
	.no_dead_strip	_termCanDriveIndex
.subsections_via_symbols
