	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	callq	_sqlite3_sourceid
	movq	_SQLITE_SOURCE_ID@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_110
## %bb.1:
	movq	(%r14), %rax
	movq	_Argv0@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	-120(%rbp), %rdi
	callq	_main_init
	xorl	%edi, %edi
	callq	_isatty
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$2, %r12d
	jl	LBB0_23
## %bb.2:
	movl	$1, %ebx
	leaq	L_.str.3(%rip), %r13
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_cmdline_option_value
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	cmpl	%r12d, %ebx
	jge	LBB0_24
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	movq	(%r14,%rax,8), %rcx
	cmpb	$45, (%rcx)
	jne	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rcx), %r15
	cmpb	$45, 1(%rcx)
	cmovneq	%rcx, %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_cmdline_option_value
	movq	%rax, %rdi
	callq	_sqlite3_vfs_find
	testq	%rax, %rax
	je	LBB0_111
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_sqlite3_vfs_register
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -120(%rbp)
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_93
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, -120(%rbp)
	jmp	LBB0_4
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_cmdline_option_value
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_4
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_cmdline_option_value
	movq	%rax, %rdi
	callq	_integerValue
	movq	_SQLITE_CONFIG_MMAP_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_sqlite3_config
	jmp	LBB0_4
LBB0_23:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_24:
	movq	-120(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_26
## %bb.25:
	leaq	L_.str.12(%rip), %rdi
	movq	%rdi, -120(%rbp)
LBB0_26:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	xorl	%esi, %esi
	callq	_access
	testq	%rax, %rax
	jne	LBB0_28
## %bb.27:
	leaq	-120(%rbp), %rdi
	callq	_open_db
LBB0_28:
	leaq	-120(%rbp), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_process_sqliterc
	movl	%eax, %ebx
	testl	%eax, %eax
	jg	LBB0_102
## %bb.29:
	cmpl	$2, %r12d
	jl	LBB0_86
## %bb.30:
	leal	-1(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$1, %ebx
	jmp	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_33 Depth=1
	incl	%ebx
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_33 Depth=1
	incl	%ebx
	cmpl	%r12d, %ebx
	jge	LBB0_86
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rax
	movq	(%r14,%rax,8), %r13
	cmpb	$45, (%r13)
	jne	LBB0_32
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpb	$45, 1(%r13)
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	incq	%r13
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.37:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_61
## %bb.38:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_62
## %bb.39:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_63
## %bb.40:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.16(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_64
## %bb.41:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_66
## %bb.42:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_67
## %bb.43:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_68
## %bb.44:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.20(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_70
## %bb.45:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.21(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_71
## %bb.46:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.22(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_72
## %bb.47:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.23(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_73
## %bb.48:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.24(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_74
## %bb.49:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.25(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_106
## %bb.50:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.27(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_75
## %bb.51:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_76
## %bb.52:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.53:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.54:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.55:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.28(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_80
## %bb.56:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_107
## %bb.57:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_86
## %bb.58:                              ##   in Loop: Header=BB0_33 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_cmdline_option_value
	movq	%rax, %r13
	cmpb	$46, (%rax)
	jne	LBB0_81
## %bb.59:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	%r13, %rdi
	leaq	-120(%rbp), %rsi
	callq	_do_meta_command
	testl	%eax, %eax
	je	LBB0_32
## %bb.60:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	_bail_on_error@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_32
	jmp	LBB0_108
LBB0_61:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_MODE_Html@GOTPCREL(%rip), %rax
	jmp	LBB0_65
LBB0_62:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_MODE_List@GOTPCREL(%rip), %rax
	jmp	LBB0_65
LBB0_63:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_MODE_Line@GOTPCREL(%rip), %rax
	jmp	LBB0_65
LBB0_64:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_MODE_Column@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	jmp	LBB0_32
LBB0_66:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_MODE_Csv@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	-112(%rbp), %rdi
	leaq	L_.str.18(%rip), %rsi
	movl	$2, %edx
	callq	_memcpy
	jmp	LBB0_32
LBB0_67:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	-112(%rbp), %r15
	jmp	LBB0_69
LBB0_68:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	-104(%rbp), %r15
LBB0_69:                                ##   in Loop: Header=BB0_33 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_cmdline_option_value
	movl	$8, %edi
	movq	%r15, %rsi
	leaq	L_.str.19(%rip), %rdx
	movq	%rax, %rcx
	callq	_sqlite3_snprintf
	jmp	LBB0_32
LBB0_70:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	$1, -96(%rbp)
	jmp	LBB0_32
LBB0_71:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	$0, -96(%rbp)
	jmp	LBB0_32
LBB0_72:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	$1, -92(%rbp)
	jmp	LBB0_32
LBB0_73:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	$1, -88(%rbp)
	jmp	LBB0_32
LBB0_74:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_bail_on_error@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_32
LBB0_75:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_32
LBB0_76:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_32
LBB0_80:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	$1, %edi
	callq	_usage
	jmp	LBB0_32
LBB0_81:                                ##   in Loop: Header=BB0_33 Depth=1
	leaq	-120(%rbp), %r15
	movq	%r15, %rdi
	callq	_open_db
	movq	-80(%rbp), %rdi
	movq	_shell_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	movq	%r15, %rcx
	leaq	-64(%rbp), %r8
	callq	_shell_exec
	movl	%eax, %r15d
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_83
## %bb.82:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.29(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_bail_on_error@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_32
	jmp	LBB0_109
LBB0_83:                                ##   in Loop: Header=BB0_33 Depth=1
	testl	%r15d, %r15d
	je	LBB0_32
## %bb.84:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.30(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_bail_on_error@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_32
## %bb.85:
	movl	%r15d, %ebx
	jmp	LBB0_102
LBB0_86:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_89
## %bb.87:
	cmpb	$46, (%rdi)
	jne	LBB0_95
## %bb.88:
	leaq	-120(%rbp), %rsi
	callq	_do_meta_command
	xorl	%ebx, %ebx
	cmpl	$2, %eax
	cmovnel	%eax, %ebx
	jmp	LBB0_100
LBB0_89:
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_98
## %bb.90:
	xorl	%eax, %eax
	callq	_sqlite3_libversion
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_sqlite3_sourceid
	leaq	L_.str.32(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_printf
	xorl	%eax, %eax
	callq	_find_home_dir
	testq	%rax, %rax
	je	LBB0_97
## %bb.91:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen30
	movl	%eax, %ebx
	addl	$20, %ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_97
## %bb.92:
	movq	%rax, %r14
	leaq	L_.str.33(%rip), %rdx
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%r15, %rcx
	callq	_sqlite3_snprintf
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	callq	_process_input
	movl	%eax, %ebx
	movl	$100, %edi
	callq	_stifle_history
	movq	%r14, %rdi
	callq	_write_history
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_100
LBB0_93:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_Argv0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
LBB0_94:
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%rbx), %rcx
	leaq	L_.str.2(%rip), %rdi
	movl	$33, %esi
	movl	$1, %edx
	callq	_fwrite
	movl	$1, %ebx
	jmp	LBB0_102
LBB0_95:
	movq	%rdi, %rbx
	leaq	-120(%rbp), %r14
	movq	%r14, %rdi
	callq	_open_db
	movq	-80(%rbp), %rdi
	movq	_shell_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %r8
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_shell_exec
	movl	%eax, %r14d
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_103
## %bb.96:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.29(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	testl	%r14d, %r14d
	movl	$1, %ebx
	cmovnel	%r14d, %ebx
	jmp	LBB0_102
LBB0_97:
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	jmp	LBB0_99
LBB0_98:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-120(%rbp), %rdi
LBB0_99:
	callq	_process_input
	movl	%eax, %ebx
LBB0_100:
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	callq	_set_table_name
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_102
## %bb.101:
	callq	_sqlite3_close
LBB0_102:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_103:
	testl	%r14d, %r14d
	je	LBB0_105
## %bb.104:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.30(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_fprintf
	movl	%r14d, %ebx
	jmp	LBB0_102
LBB0_105:
	xorl	%ebx, %ebx
	jmp	LBB0_100
LBB0_106:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_sqlite3_libversion
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_sqlite3_sourceid
	leaq	L_.str.26(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_printf
	jmp	LBB0_102
LBB0_107:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_Argv0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.31(%rip), %rsi
	movq	%r13, %rcx
	jmp	LBB0_94
LBB0_108:
	xorl	%ebx, %ebx
	cmpl	$2, %eax
	cmovnel	%eax, %ebx
	jmp	LBB0_102
LBB0_109:
	testl	%r15d, %r15d
	movl	$1, %ebx
	cmovnel	%r15d, %ebx
	jmp	LBB0_102
LBB0_110:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	callq	_sqlite3_sourceid
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_111:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movslq	%ebx, %rax
	movq	(%r14,%rax,8), %rdx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_SOURCE_ID,8,3           ## @SQLITE_SOURCE_ID
	.comm	_stderr,8,3                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQLite header and source version mismatch\n%s\n%s\n"

	.comm	_Argv0,8,3                      ## @Argv0
	.comm	_stdin_is_interactive,4,2       ## @stdin_is_interactive
L_.str.1:                               ## @.str.1
	.asciz	"%s: Error: too many options: \"%s\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"Use -help for a list of options.\n"

L_.str.3:                               ## @.str.3
	.asciz	"-separator"

L_.str.4:                               ## @.str.4
	.asciz	"-nullvalue"

L_.str.5:                               ## @.str.5
	.asciz	"-cmd"

L_.str.6:                               ## @.str.6
	.asciz	"-init"

L_.str.7:                               ## @.str.7
	.asciz	"-batch"

L_.str.8:                               ## @.str.8
	.asciz	"-heap"

L_.str.9:                               ## @.str.9
	.asciz	"-mmap"

	.comm	_SQLITE_CONFIG_MMAP_SIZE,4,2    ## @SQLITE_CONFIG_MMAP_SIZE
L_.str.10:                              ## @.str.10
	.asciz	"-vfs"

L_.str.11:                              ## @.str.11
	.asciz	"no such VFS: \"%s\"\n"

L_.str.12:                              ## @.str.12
	.asciz	":memory:"

	.comm	_stdout,4,2                     ## @stdout
L_.str.13:                              ## @.str.13
	.asciz	"-html"

	.comm	_MODE_Html,4,2                  ## @MODE_Html
L_.str.14:                              ## @.str.14
	.asciz	"-list"

	.comm	_MODE_List,4,2                  ## @MODE_List
L_.str.15:                              ## @.str.15
	.asciz	"-line"

	.comm	_MODE_Line,4,2                  ## @MODE_Line
L_.str.16:                              ## @.str.16
	.asciz	"-column"

	.comm	_MODE_Column,4,2                ## @MODE_Column
L_.str.17:                              ## @.str.17
	.asciz	"-csv"

	.comm	_MODE_Csv,4,2                   ## @MODE_Csv
L_.str.18:                              ## @.str.18
	.asciz	","

L_.str.19:                              ## @.str.19
	.asciz	"%s"

L_.str.20:                              ## @.str.20
	.asciz	"-header"

L_.str.21:                              ## @.str.21
	.asciz	"-noheader"

L_.str.22:                              ## @.str.22
	.asciz	"-echo"

L_.str.23:                              ## @.str.23
	.asciz	"-stats"

L_.str.24:                              ## @.str.24
	.asciz	"-bail"

	.comm	_bail_on_error,4,2              ## @bail_on_error
L_.str.25:                              ## @.str.25
	.asciz	"-version"

L_.str.26:                              ## @.str.26
	.asciz	"%s %s\n"

L_.str.27:                              ## @.str.27
	.asciz	"-interactive"

L_.str.28:                              ## @.str.28
	.asciz	"-help"

	.comm	_shell_callback,4,2             ## @shell_callback
L_.str.29:                              ## @.str.29
	.asciz	"Error: %s\n"

L_.str.30:                              ## @.str.30
	.asciz	"Error: unable to process SQL \"%s\"\n"

L_.str.31:                              ## @.str.31
	.asciz	"%s: Error: unknown option: %s\n"

L_.str.32:                              ## @.str.32
	.asciz	"SQLite version %s %.19s\nEnter \".help\" for instructions\nEnter SQL statements terminated with a \";\"\n"

L_.str.33:                              ## @.str.33
	.asciz	"%s/.sqlite_history"

	.comm	_stdin,4,2                      ## @stdin
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SQLITE_CONFIG_HEAP,4,2         ## @SQLITE_CONFIG_HEAP
	.comm	_fputs,8,3                      ## @fputs
	.comm	_interrupt_handler,4,2          ## @interrupt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, x1
	mov	x20, x0
	str	xzr, [sp, #88]
	bl	_sqlite3_sourceid
Lloh0:
	adrp	x21, _SQLITE_SOURCE_ID@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SQLITE_SOURCE_ID@GOTPAGEOFF]
	ldr	x1, [x21]
	bl	_strcmp
	cbnz	x0, LBB0_103
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _Argv0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _Argv0@GOTPAGEOFF]
Lloh4:
	str	x8, [x9]
	add	x0, sp, #32
	bl	_main_init
	mov	w0, #0
	bl	_isatty
Lloh5:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
Lloh7:
	str	w0, [x8]
	cmp	w20, #2
	b.lt	LBB0_23
; %bb.2:
	mov	x22, #0
	mov	x21, #0
	mov	w23, #1
Lloh8:
	adrp	x24, l_.str.3@PAGE
Lloh9:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh10:
	adrp	x25, l_.str.4@PAGE
Lloh11:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh12:
	adrp	x26, l_.str.5@PAGE
Lloh13:
	add	x26, x26, l_.str.5@PAGEOFF
Lloh14:
	adrp	x27, l_.str.6@PAGE
Lloh15:
	add	x27, x27, l_.str.6@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_cmdline_option_value
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	cmp	w23, w20
	b.ge	LBB0_24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, w23, sxtw #3]
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x9, x8
	ldrb	w10, [x9, #1]!
	cmp	w10, #45
	csel	x28, x9, x8, eq
	mov	x0, x28
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
	mov	x1, x26
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
	mov	x1, x27
	bl	_strcmp
	cbz	x0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh20:
	adrp	x1, l_.str.9@PAGE
Lloh21:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh22:
	adrp	x1, l_.str.10@PAGE
Lloh23:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	sxtw	x8, w23
	add	x23, x8, #1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_cmdline_option_value
	bl	_sqlite3_vfs_find
	cbz	x0, LBB0_105
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #1
	bl	_sqlite3_vfs_register
	b	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #32]
	cbz	x9, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x21, LBB0_88
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x8
	b	LBB0_4
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp, #32]
	b	LBB0_4
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_cmdline_option_value
	mov	x22, x0
	b	LBB0_4
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh24:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh25:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
Lloh26:
	str	wzr, [x8]
	b	LBB0_4
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w23, w23, #1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_cmdline_option_value
	bl	_integerValue
                                        ; kill: def $w0 killed $w0 def $x0
Lloh27:
	adrp	x8, _SQLITE_CONFIG_MMAP_SIZE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SQLITE_CONFIG_MMAP_SIZE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	stp	x0, x0, [sp]
	mov	x0, x8
	bl	_sqlite3_config
	b	LBB0_4
LBB0_23:
	mov	x21, #0
	mov	x22, #0
LBB0_24:
	ldr	x0, [sp, #32]
	cbnz	x0, LBB0_26
; %bb.25:
Lloh30:
	adrp	x0, l_.str.12@PAGE
Lloh31:
	add	x0, x0, l_.str.12@PAGEOFF
	str	x0, [sp, #32]
LBB0_26:
Lloh32:
	adrp	x8, _stdout@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [sp, #84]
	mov	w1, #0
	bl	_access
	cbnz	x0, LBB0_28
; %bb.27:
	add	x0, sp, #32
	bl	_open_db
LBB0_28:
	add	x0, sp, #32
	mov	x1, x22
	bl	_process_sqliterc
	mov	x27, x0
	cmp	w0, #0
	b.gt	LBB0_97
; %bb.29:
	cmp	w20, #2
	b.lt	LBB0_81
; %bb.30:
	sub	w8, w20, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh35:
	adrp	x22, l_.str.6@PAGE
Lloh36:
	add	x22, x22, l_.str.6@PAGEOFF
Lloh37:
	adrp	x23, l_.str.13@PAGE
Lloh38:
	add	x23, x23, l_.str.13@PAGEOFF
Lloh39:
	adrp	x26, _MODE_Html@GOTPAGE
Lloh40:
	ldr	x26, [x26, _MODE_Html@GOTPAGEOFF]
Lloh41:
	adrp	x24, l_.str.14@PAGE
Lloh42:
	add	x24, x24, l_.str.14@PAGEOFF
Lloh43:
	adrp	x25, l_.str.15@PAGE
Lloh44:
	add	x25, x25, l_.str.15@PAGEOFF
	mov	w28, #1
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=1
	add	w28, w28, #1
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	w28, w28, #1
	cmp	w28, w20
	b.ge	LBB0_81
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, w28, sxtw #3]
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x9, x8
	ldrb	w10, [x9, #1]!
	cmp	w10, #45
	csel	x27, x9, x8, eq
	mov	x0, x27
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_59
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_60
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_61
; %bb.38:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh45:
	adrp	x1, l_.str.16@PAGE
Lloh46:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_62
; %bb.39:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh47:
	adrp	x1, l_.str.17@PAGE
Lloh48:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_64
; %bb.40:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh49:
	adrp	x1, l_.str.3@PAGE
Lloh50:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_65
; %bb.41:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh51:
	adrp	x1, l_.str.4@PAGE
Lloh52:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_66
; %bb.42:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh53:
	adrp	x1, l_.str.20@PAGE
Lloh54:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_68
; %bb.43:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh55:
	adrp	x1, l_.str.21@PAGE
Lloh56:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_69
; %bb.44:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh57:
	adrp	x1, l_.str.22@PAGE
Lloh58:
	add	x1, x1, l_.str.22@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_70
; %bb.45:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh59:
	adrp	x1, l_.str.23@PAGE
Lloh60:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_71
; %bb.46:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh61:
	adrp	x1, l_.str.24@PAGE
Lloh62:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_72
; %bb.47:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh63:
	adrp	x1, l_.str.25@PAGE
Lloh64:
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_100
; %bb.48:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh65:
	adrp	x1, l_.str.27@PAGE
Lloh66:
	add	x1, x1, l_.str.27@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_73
; %bb.49:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh67:
	adrp	x1, l_.str.7@PAGE
Lloh68:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_75
; %bb.50:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh69:
	adrp	x1, l_.str.8@PAGE
Lloh70:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.51:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh71:
	adrp	x1, l_.str.9@PAGE
Lloh72:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.52:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh73:
	adrp	x1, l_.str.10@PAGE
Lloh74:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.53:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh75:
	adrp	x1, l_.str.28@PAGE
Lloh76:
	add	x1, x1, l_.str.28@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_76
; %bb.54:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x27
Lloh77:
	adrp	x1, l_.str.5@PAGE
Lloh78:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_101
; %bb.55:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w28, w8
	b.eq	LBB0_81
; %bb.56:                               ;   in Loop: Header=BB0_33 Depth=1
	add	w28, w28, #1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x28
	bl	_cmdline_option_value
	mov	x27, x0
	ldrb	w8, [x0]
	cmp	w8, #46
	b.ne	LBB0_77
; %bb.57:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x1, sp, #32
	mov	x0, x27
	bl	_do_meta_command
	cbz	w0, LBB0_32
; %bb.58:                               ;   in Loop: Header=BB0_33 Depth=1
Lloh79:
	adrp	x8, _bail_on_error@GOTPAGE
Lloh80:
	ldr	x8, [x8, _bail_on_error@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	cbz	w8, LBB0_32
	b	LBB0_102
LBB0_59:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	w8, [x26]
	str	w8, [sp, #80]
	b	LBB0_32
LBB0_60:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh82:
	adrp	x8, _MODE_List@GOTPAGE
Lloh83:
	ldr	x8, [x8, _MODE_List@GOTPAGEOFF]
	b	LBB0_63
LBB0_61:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh84:
	adrp	x8, _MODE_Line@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MODE_Line@GOTPAGEOFF]
	b	LBB0_63
LBB0_62:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh86:
	adrp	x8, _MODE_Column@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MODE_Column@GOTPAGEOFF]
LBB0_63:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	w8, [x8]
	str	w8, [sp, #80]
	b	LBB0_32
LBB0_64:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh88:
	adrp	x8, _MODE_Csv@GOTPAGE
Lloh89:
	ldr	x8, [x8, _MODE_Csv@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	str	w8, [sp, #80]
	ldr	x0, [sp, #40]
Lloh91:
	adrp	x1, l_.str.18@PAGE
Lloh92:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	w2, #2
	bl	_memcpy
	b	LBB0_32
LBB0_65:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x27, [sp, #40]
	b	LBB0_67
LBB0_66:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x27, [sp, #48]
LBB0_67:                                ;   in Loop: Header=BB0_33 Depth=1
	add	w28, w28, #1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x28
	bl	_cmdline_option_value
	mov	x3, x0
	mov	w0, #8
	mov	x1, x27
Lloh93:
	adrp	x2, l_.str.19@PAGE
Lloh94:
	add	x2, x2, l_.str.19@PAGEOFF
	bl	_sqlite3_snprintf
	b	LBB0_32
LBB0_68:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	w8, #1
	str	w8, [sp, #56]
	b	LBB0_32
LBB0_69:                                ;   in Loop: Header=BB0_33 Depth=1
	str	wzr, [sp, #56]
	b	LBB0_32
LBB0_70:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	w8, #1
	str	w8, [sp, #60]
	b	LBB0_32
LBB0_71:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	w8, #1
	str	w8, [sp, #64]
	b	LBB0_32
LBB0_72:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh95:
	adrp	x8, _bail_on_error@GOTPAGE
Lloh96:
	ldr	x8, [x8, _bail_on_error@GOTPAGEOFF]
	b	LBB0_74
LBB0_73:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh97:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh98:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
LBB0_74:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_32
LBB0_75:                                ;   in Loop: Header=BB0_33 Depth=1
Lloh99:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh100:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
Lloh101:
	str	wzr, [x8]
	b	LBB0_32
LBB0_76:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	w0, #1
	bl	_usage
	b	LBB0_32
LBB0_77:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x0, sp, #32
	bl	_open_db
	ldr	x0, [sp, #72]
Lloh102:
	adrp	x8, _shell_callback@GOTPAGE
Lloh103:
	ldr	x8, [x8, _shell_callback@GOTPAGEOFF]
Lloh104:
	ldr	w2, [x8]
	add	x3, sp, #32
	add	x4, sp, #88
	str	x27, [sp, #16]                  ; 8-byte Folded Spill
	mov	x1, x27
	bl	_shell_exec
	mov	x27, x0
	ldr	x8, [sp, #88]
	cbz	x8, LBB0_79
; %bb.78:                               ;   in Loop: Header=BB0_33 Depth=1
Lloh105:
	adrp	x9, _stderr@GOTPAGE
Lloh106:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh107:
	ldr	x0, [x9]
	str	x8, [sp]
Lloh108:
	adrp	x1, l_.str.29@PAGE
Lloh109:
	add	x1, x1, l_.str.29@PAGEOFF
	bl	_fprintf
Lloh110:
	adrp	x8, _bail_on_error@GOTPAGE
Lloh111:
	ldr	x8, [x8, _bail_on_error@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
	cbz	w8, LBB0_32
	b	LBB0_91
LBB0_79:                                ;   in Loop: Header=BB0_33 Depth=1
	cbz	w27, LBB0_32
; %bb.80:                               ;   in Loop: Header=BB0_33 Depth=1
Lloh113:
	adrp	x8, _stderr@GOTPAGE
Lloh114:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh115:
	ldr	x0, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh116:
	adrp	x1, l_.str.30@PAGE
Lloh117:
	add	x1, x1, l_.str.30@PAGEOFF
	bl	_fprintf
Lloh118:
	adrp	x8, _bail_on_error@GOTPAGE
Lloh119:
	ldr	x8, [x8, _bail_on_error@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
	cbz	w8, LBB0_32
	b	LBB0_97
LBB0_81:
	cbz	x21, LBB0_84
; %bb.82:
	ldrb	w8, [x21]
	cmp	w8, #46
	b.ne	LBB0_89
; %bb.83:
	add	x1, sp, #32
	mov	x0, x21
	bl	_do_meta_command
	cmp	w0, #2
	csel	w27, wzr, w0, eq
	b	LBB0_95
LBB0_84:
Lloh121:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh122:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
Lloh123:
	ldr	w8, [x8]
	cbz	w8, LBB0_93
; %bb.85:
	bl	_sqlite3_libversion
	mov	x19, x0
	bl	_sqlite3_sourceid
	mov	x2, x0
Lloh124:
	adrp	x0, l_.str.32@PAGE
Lloh125:
	add	x0, x0, l_.str.32@PAGEOFF
	mov	x1, x19
	bl	_printf
	bl	_find_home_dir
	cbz	x0, LBB0_92
; %bb.86:
	mov	x20, x0
	bl	_strlen30
	add	w21, w0, #20
	mov	x0, x21
	bl	_malloc
	cbz	x0, LBB0_92
; %bb.87:
	mov	x19, x0
Lloh126:
	adrp	x2, l_.str.33@PAGE
Lloh127:
	add	x2, x2, l_.str.33@PAGEOFF
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	bl	_sqlite3_snprintf
	add	x0, sp, #32
	mov	w1, #0
	bl	_process_input
	mov	x27, x0
	mov	w0, #100
	bl	_stifle_history
	mov	x0, x19
	bl	_write_history
	mov	x0, x19
	bl	_free
	b	LBB0_95
LBB0_88:
Lloh128:
	adrp	x19, _stderr@GOTPAGE
Lloh129:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh130:
	adrp	x9, _Argv0@GOTPAGE
Lloh131:
	ldr	x9, [x9, _Argv0@GOTPAGEOFF]
Lloh132:
	ldr	x9, [x9]
	stp	x9, x8, [sp]
Lloh133:
	adrp	x1, l_.str.1@PAGE
Lloh134:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	x3, [x19]
Lloh135:
	adrp	x0, l_.str.2@PAGE
Lloh136:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w27, #1
	mov	w1, #33
	mov	w2, #1
	bl	_fwrite
	b	LBB0_97
LBB0_89:
	add	x0, sp, #32
	bl	_open_db
	ldr	x0, [sp, #72]
Lloh137:
	adrp	x8, _shell_callback@GOTPAGE
Lloh138:
	ldr	x8, [x8, _shell_callback@GOTPAGEOFF]
Lloh139:
	ldr	w2, [x8]
	add	x3, sp, #32
	add	x4, sp, #88
	mov	x1, x21
	bl	_shell_exec
	mov	x27, x0
	ldr	x8, [sp, #88]
	cbz	x8, LBB0_98
; %bb.90:
Lloh140:
	adrp	x9, _stderr@GOTPAGE
Lloh141:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh142:
	ldr	x0, [x9]
	str	x8, [sp]
Lloh143:
	adrp	x1, l_.str.29@PAGE
Lloh144:
	add	x1, x1, l_.str.29@PAGEOFF
	bl	_fprintf
LBB0_91:
	cmp	w27, #0
	csinc	w27, w27, wzr, ne
	b	LBB0_97
LBB0_92:
	add	x0, sp, #32
	mov	w1, #0
	b	LBB0_94
LBB0_93:
Lloh145:
	adrp	x8, _stdin@GOTPAGE
Lloh146:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh147:
	ldr	w1, [x8]
	add	x0, sp, #32
LBB0_94:
	bl	_process_input
	mov	x27, x0
LBB0_95:
	add	x0, sp, #32
	mov	w1, #0
	bl	_set_table_name
	ldr	x0, [sp, #72]
	cbz	x0, LBB0_97
; %bb.96:
	bl	_sqlite3_close
LBB0_97:
	mov	x0, x27
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_98:
	cbz	w27, LBB0_95
; %bb.99:
Lloh148:
	adrp	x8, _stderr@GOTPAGE
Lloh149:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh150:
	ldr	x0, [x8]
	str	x21, [sp]
Lloh151:
	adrp	x1, l_.str.30@PAGE
Lloh152:
	add	x1, x1, l_.str.30@PAGEOFF
	bl	_fprintf
	b	LBB0_97
LBB0_100:
	bl	_sqlite3_libversion
	mov	x19, x0
	bl	_sqlite3_sourceid
	mov	x2, x0
Lloh153:
	adrp	x0, l_.str.26@PAGE
Lloh154:
	add	x0, x0, l_.str.26@PAGEOFF
	mov	x1, x19
	bl	_printf
	mov	w27, #0
	b	LBB0_97
LBB0_101:
Lloh155:
	adrp	x19, _stderr@GOTPAGE
Lloh156:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh157:
	adrp	x8, _Argv0@GOTPAGE
Lloh158:
	ldr	x8, [x8, _Argv0@GOTPAGEOFF]
Lloh159:
	ldr	x8, [x8]
	stp	x8, x27, [sp]
Lloh160:
	adrp	x1, l_.str.31@PAGE
Lloh161:
	add	x1, x1, l_.str.31@PAGEOFF
	bl	_fprintf
	ldr	x3, [x19]
Lloh162:
	adrp	x0, l_.str.2@PAGE
Lloh163:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w27, #1
	mov	w1, #33
	mov	w2, #1
	bl	_fwrite
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	b	LBB0_97
LBB0_102:
	cmp	w0, #2
	csel	w27, wzr, w0, eq
	b	LBB0_97
LBB0_103:
Lloh164:
	adrp	x8, _stderr@GOTPAGE
Lloh165:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh166:
	ldr	x19, [x8]
	bl	_sqlite3_sourceid
	ldr	x8, [x21]
	stp	x0, x8, [sp]
Lloh167:
	adrp	x1, l_.str@PAGE
Lloh168:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
LBB0_104:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_105:
Lloh169:
	adrp	x8, _stderr@GOTPAGE
Lloh170:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh171:
	ldr	x0, [x8]
	ldr	x8, [x19, x23, lsl #3]
	str	x8, [sp]
Lloh172:
	adrp	x1, l_.str.11@PAGE
Lloh173:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_104
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotStr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpAdd	Lloh126, Lloh127
	.loh AdrpAdd	Lloh135, Lloh136
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpAdd	Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh148, Lloh149, Lloh150
	.loh AdrpAdd	Lloh153, Lloh154
	.loh AdrpAdd	Lloh162, Lloh163
	.loh AdrpAdd	Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh157, Lloh158, Lloh159
	.loh AdrpLdrGot	Lloh155, Lloh156
	.loh AdrpAdd	Lloh167, Lloh168
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpAdd	Lloh172, Lloh173
	.loh AdrpLdrGotLdr	Lloh169, Lloh170, Lloh171
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_SOURCE_ID,8,3           ; @SQLITE_SOURCE_ID
	.comm	_stderr,8,3                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQLite header and source version mismatch\n%s\n%s\n"

	.comm	_Argv0,8,3                      ; @Argv0
	.comm	_stdin_is_interactive,4,2       ; @stdin_is_interactive
l_.str.1:                               ; @.str.1
	.asciz	"%s: Error: too many options: \"%s\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"Use -help for a list of options.\n"

l_.str.3:                               ; @.str.3
	.asciz	"-separator"

l_.str.4:                               ; @.str.4
	.asciz	"-nullvalue"

l_.str.5:                               ; @.str.5
	.asciz	"-cmd"

l_.str.6:                               ; @.str.6
	.asciz	"-init"

l_.str.7:                               ; @.str.7
	.asciz	"-batch"

l_.str.8:                               ; @.str.8
	.asciz	"-heap"

l_.str.9:                               ; @.str.9
	.asciz	"-mmap"

	.comm	_SQLITE_CONFIG_MMAP_SIZE,4,2    ; @SQLITE_CONFIG_MMAP_SIZE
l_.str.10:                              ; @.str.10
	.asciz	"-vfs"

l_.str.11:                              ; @.str.11
	.asciz	"no such VFS: \"%s\"\n"

l_.str.12:                              ; @.str.12
	.asciz	":memory:"

	.comm	_stdout,4,2                     ; @stdout
l_.str.13:                              ; @.str.13
	.asciz	"-html"

	.comm	_MODE_Html,4,2                  ; @MODE_Html
l_.str.14:                              ; @.str.14
	.asciz	"-list"

	.comm	_MODE_List,4,2                  ; @MODE_List
l_.str.15:                              ; @.str.15
	.asciz	"-line"

	.comm	_MODE_Line,4,2                  ; @MODE_Line
l_.str.16:                              ; @.str.16
	.asciz	"-column"

	.comm	_MODE_Column,4,2                ; @MODE_Column
l_.str.17:                              ; @.str.17
	.asciz	"-csv"

	.comm	_MODE_Csv,4,2                   ; @MODE_Csv
l_.str.18:                              ; @.str.18
	.asciz	","

l_.str.19:                              ; @.str.19
	.asciz	"%s"

l_.str.20:                              ; @.str.20
	.asciz	"-header"

l_.str.21:                              ; @.str.21
	.asciz	"-noheader"

l_.str.22:                              ; @.str.22
	.asciz	"-echo"

l_.str.23:                              ; @.str.23
	.asciz	"-stats"

l_.str.24:                              ; @.str.24
	.asciz	"-bail"

	.comm	_bail_on_error,4,2              ; @bail_on_error
l_.str.25:                              ; @.str.25
	.asciz	"-version"

l_.str.26:                              ; @.str.26
	.asciz	"%s %s\n"

l_.str.27:                              ; @.str.27
	.asciz	"-interactive"

l_.str.28:                              ; @.str.28
	.asciz	"-help"

	.comm	_shell_callback,4,2             ; @shell_callback
l_.str.29:                              ; @.str.29
	.asciz	"Error: %s\n"

l_.str.30:                              ; @.str.30
	.asciz	"Error: unable to process SQL \"%s\"\n"

l_.str.31:                              ; @.str.31
	.asciz	"%s: Error: unknown option: %s\n"

l_.str.32:                              ; @.str.32
	.asciz	"SQLite version %s %.19s\nEnter \".help\" for instructions\nEnter SQL statements terminated with a \";\"\n"

l_.str.33:                              ; @.str.33
	.asciz	"%s/.sqlite_history"

	.comm	_stdin,4,2                      ; @stdin
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SQLITE_CONFIG_HEAP,4,2         ; @SQLITE_CONFIG_HEAP
	.comm	_fputs,8,3                      ; @fputs
	.comm	_interrupt_handler,4,2          ; @interrupt_handler
.subsections_via_symbols
