	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shellPrepare
_shellPrepare:                          ## @shellPrepare
	.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	$0, (%rcx)
	movl	(%rsi), %eax
	movq	_SQLITE_OK@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdx, %rsi
	movl	$-1, %edx
	xorl	%r8d, %r8d
	callq	_sqlite3_prepare_v2
	cmpl	(%r12), %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_sqlite3_errmsg
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_sqlite3_errcode
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_raw_printf
	movl	%r15d, (%r14)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_OK,4,2                  ## @SQLITE_OK
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sql error: %s (%d)\n"

	.no_dead_strip	_shellPrepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shellPrepare
_shellPrepare:                          ; @shellPrepare
	.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
	str	xzr, [x3]
	ldr	w8, [x1]
Lloh0:
	adrp	x22, _SQLITE_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SQLITE_OK@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x1, x2
	mov	w2, #-1
	mov	w4, #0
	bl	_sqlite3_prepare_v2
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x21, x0
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_sqlite3_errmsg
	mov	x23, x0
	mov	x0, x20
	bl	_sqlite3_errcode
	mov	x3, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_raw_printf
	str	w21, [x19]
LBB0_3:
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_OK,4,2                  ; @SQLITE_OK
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sql error: %s (%d)\n"

	.no_dead_strip	_shellPrepare
.subsections_via_symbols
