	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expertConnect
_expertConnect:                         ## @expertConnect
	.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	%r8, %rbx
	cmpl	$4, %edx
	jne	LBB0_1
## %bb.2:
	movq	%rcx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rcx), %rdi
	callq	_expertDequote
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_sqlite3_declare_vtab
	movl	%eax, -44(%rbp)
	movq	_SQLITE_OK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_5
## %bb.6:
	leaq	-44(%rbp), %rdi
	movl	$16, %esi
	callq	_idxMalloc
	movq	%rax, %r14
	movl	-44(%rbp), %eax
	movl	(%rbx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movq	%r9, %r15
	leaq	L_.str(%rip), %rdi
	callq	_sqlite3_mprintf
	movq	%rax, (%r15)
	movq	_SQLITE_ERROR@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_3:
	movq	_SQLITE_NOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_5:
	xorl	%r14d, %r14d
	cmpl	%ecx, %eax
	jne	LBB0_9
LBB0_8:
	movq	%r13, 8(%r14)
	movq	(%r13), %rax
	movq	%rax, (%r14)
	movl	(%rax), %edi
	movq	16(%r12), %rsi
	callq	_sqlite3_stricmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
LBB0_9:
	movq	%r15, %rdi
	callq	_sqlite3_free
	leaq	-44(%rbp), %rax
LBB0_10:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:
	movl	(%rax), %eax
	movq	%r14, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"internal error!"

	.comm	_SQLITE_ERROR,4,2               ## @SQLITE_ERROR
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_SQLITE_NOMEM,4,2               ## @SQLITE_NOMEM
	.no_dead_strip	_expertConnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expertConnect
_expertConnect:                         ; @expertConnect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	cmp	w2, #4
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x23, x1
	mov	x22, x0
	ldr	x0, [x3, #24]
	bl	_expertDequote
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	mov	x0, x22
	mov	x1, x20
	bl	_sqlite3_declare_vtab
	str	w0, [sp, #12]
Lloh0:
	adrp	x24, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SQLITE_OK@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.3:
	add	x0, sp, #12
	mov	w1, #16
	bl	_idxMalloc
	mov	x22, x0
	ldr	w0, [sp, #12]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_7
	b	LBB0_8
LBB0_4:
	mov	x20, x5
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_sqlite3_mprintf
	mov	x22, #0
	str	x0, [x20]
Lloh4:
	adrp	x8, _SQLITE_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SQLITE_ERROR@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	x22, #0
Lloh6:
	adrp	x8, _SQLITE_NOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	mov	x22, #0
	cmp	w0, w8
	b.ne	LBB0_8
LBB0_7:
	ldr	x8, [x23]
	stp	x8, x23, [x22]
	ldr	w0, [x8]
	ldr	x1, [x21, #16]
	bl	_sqlite3_stricmp
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
LBB0_8:
	mov	x0, x20
	bl	_sqlite3_free
	add	x8, sp, #12
LBB0_9:
	ldr	w0, [x8]
	str	x22, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"internal error!"

	.comm	_SQLITE_ERROR,4,2               ; @SQLITE_ERROR
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_SQLITE_NOMEM,4,2               ; @SQLITE_NOMEM
	.no_dead_strip	_expertConnect
.subsections_via_symbols
