	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readsTable
_readsTable:                            ## @readsTable
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	callq	_sqlite3GetVdbe
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_sqlite3VdbeCurrentAddr
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_IsVirtual
	xorl	%r15d, %r15d
	testq	%rax, %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_sqlite3GetVTable
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$2, %r13d
	jl	LBB0_17
## %bb.4:
	movl	$1, %r14d
	movq	_OP_OpenRead@GOTPCREL(%rip), %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	cmpl	%r13d, %r14d
	je	LBB0_15
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_sqlite3VdbeGetOp
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	(%r15), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, 8(%r15)
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	12(%r15), %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpl	(%rdx), %ecx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpl	(%rdx), %ecx
	jne	LBB0_9
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_OP_VOpen@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 24(%r15)
	jne	LBB0_5
## %bb.13:
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	setne	%dil
	callq	_assert
	movq	16(%r15), %rax
	movq	_P4_VTAB@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
LBB0_16:
	movl	$1, %r15d
	jmp	LBB0_17
LBB0_15:
	xorl	%r15d, %r15d
LBB0_17:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_OpenRead,8,3                ## @OP_OpenRead
	.comm	_OP_VOpen,8,3                   ## @OP_VOpen
	.comm	_P4_VTAB,8,3                    ## @P4_VTAB
	.no_dead_strip	_readsTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readsTable
_readsTable:                            ; @readsTable
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	bl	_sqlite3GetVdbe
	mov	x21, x0
	bl	_sqlite3VdbeCurrentAddr
	mov	x22, x0
	mov	x0, x19
	bl	_IsVirtual
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
	mov	x1, x19
	bl	_sqlite3GetVTable
	mov	x23, x0
	cmp	w22, #2
	b.ge	LBB0_3
	b	LBB0_15
LBB0_2:
	mov	x23, #0
	cmp	w22, #2
	b.lt	LBB0_15
LBB0_3:
	mov	w24, #1
Lloh0:
	adrp	x26, _OP_OpenRead@GOTPAGE
Lloh1:
	ldr	x26, [x26, _OP_OpenRead@GOTPAGEOFF]
Lloh2:
	adrp	x27, _OP_VOpen@GOTPAGE
Lloh3:
	ldr	x27, [x27, _OP_VOpen@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w24, w24, #1
	cmp	w24, w22
	b.eq	LBB0_15
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x21
	mov	x1, x24
	bl	_sqlite3VdbeGetOp
	mov	x25, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x25]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x25, #8]
	cmp	w9, w20
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x25, #12]
	ldr	w10, [x19]
	cmp	w9, w10
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19, #8]
	cbz	x10, LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x10]
	cmp	w9, w11
	b.eq	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25, #24]
	cmp	x8, x23
	b.ne	LBB0_4
; %bb.13:
	cmp	x23, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x25, #16]
Lloh4:
	adrp	x9, _P4_VTAB@GOTPAGE
Lloh5:
	ldr	x9, [x9, _P4_VTAB@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
LBB0_14:
	mov	w0, #1
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_OpenRead,8,3                ; @OP_OpenRead
	.comm	_OP_VOpen,8,3                   ; @OP_VOpen
	.comm	_P4_VTAB,8,3                    ; @P4_VTAB
	.no_dead_strip	_readsTable
.subsections_via_symbols
