	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_input
_process_input:                         ## @process_input
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movl	$0, -172(%rbp)                  ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movl	$0, -188(%rbp)                  ## 4-byte Folded Spill
	xorl	%ebx, %ebx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_4 Depth 3
                                        ##       Child Loop BB0_27 Depth 3
                                        ## kill: def $eax killed $eax killed $rax def $rax
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_4 Depth 3
                                        ##       Child Loop BB0_27 Depth 3
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	incl	%r13d
	movl	%r13d, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=3
	movq	%rbx, %rdi
	callq	__all_whitespace
	leal	1(%r13), %ecx
	testq	%rax, %rax
	je	LBB0_14
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%ecx, %r13d
	cmpl	$0, -172(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=3
	movq	_bail_on_error@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=3
	testq	%r14, %r14
	jne	LBB0_52
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=3
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_52
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=3
	movl	24(%r15), %edi
	callq	_fflush
	movq	%rbx, %rdi
	callq	_free
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_one_input_line
	testq	%rax, %rax
	je	LBB0_49
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=3
	movq	%rax, %rbx
	movq	_seenInterrupt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=3
	testq	%r14, %r14
	jne	LBB0_52
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=3
	movq	_seenInterrupt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=3
	testq	%r12, %r12
	je	LBB0_3
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=3
	cmpb	$0, (%r12)
	je	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$46, (%rbx)
	movq	-168(%rbp), %rax                ## 8-byte Reload
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=2
	testl	%eax, %eax
	jne	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=2
	cmpq	$0, 16(%r15)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	callq	_puts
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_do_meta_command
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_2
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=2
	cmpl	$2, %eax
	je	LBB0_52
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=2
	incl	-172(%rbp)                      ## 4-byte Folded Spill
	xorl	%eax, %eax
	jmp	LBB0_2
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	callq	__is_command_terminator
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	%r12, %rdi
	movq	-168(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	__is_complete
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=2
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$2, %edx
	callq	_memcpy
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=2
	testq	%r12, %r12
	jne	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=2
	movb	(%rbx), %cl
	movl	$0, %r12d
	testb	%cl, %cl
	movq	-168(%rbp), %rax                ## 8-byte Reload
	je	LBB0_2
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=2
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsbl	%cl, %edi
	callq	_IsSpace
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=3
	movzbl	1(%rbx,%r12), %ecx
	incq	%r12
	testb	%cl, %cl
	jne	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=2
	xorl	%r12d, %r12d
	movq	-168(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_2
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=2
	movl	%r12d, %eax
	cmpb	$0, (%rbx,%rax)
	movl	$0, %r12d
	movq	-168(%rbp), %rax                ## 8-byte Reload
	je	LBB0_2
## %bb.31:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_strlen30
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leal	3(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_59
## %bb.32:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movq	-184(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %edx
	incl	%edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movslq	%ecx, %rdi
	movl	%r13d, %eax
	movl	%r13d, -188(%rbp)               ## 4-byte Spill
	movq	-184(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_strlen30
	movl	%eax, %ecx
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	leal	(%rax,%rcx), %esi
	addl	$4, %esi
	movq	%r12, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_59
## %bb.34:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movslq	-168(%rbp), %rax                ## 4-byte Folded Reload
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movb	$10, (%r12,%rax)
	leaq	(%r12,%rax), %rdi
	incq	%rdi
	movq	-184(%rbp), %rax                ## 8-byte Reload
	leal	1(%rax), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	-208(%rbp), %rdi                ## 8-byte Reload
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	movq	-184(%rbp), %rax                ## 8-byte Reload
	addl	%ecx, %eax
	incl	%eax
LBB0_35:                                ##   in Loop: Header=BB0_1 Depth=1
	addq	%r12, %rdi
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	%eax, %esi
	subl	%ecx, %esi
	callq	__contains_semicolon
	testq	%rax, %rax
	je	LBB0_42
## %bb.36:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_sqlite3_complete
	testq	%rax, %rax
	je	LBB0_42
## %bb.37:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 8(%r15)
	movq	%r15, %rdi
	callq	_open_db
	movl	(%r15), %edi
	movq	_shell_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movq	%r15, %rcx
	leaq	-200(%rbp), %r8
	callq	_shell_exec
	testl	%eax, %eax
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -200(%rbp)
	je	LBB0_48
LBB0_39:                                ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	jne	LBB0_43
## %bb.40:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$100, %edi
	leaq	-160(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_sqlite3_snprintf
	jmp	LBB0_44
LBB0_42:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	__all_whitespace
	testq	%rax, %rax
	movq	-184(%rbp), %rax                ## 8-byte Reload
	jne	LBB0_48
	jmp	LBB0_1
LBB0_43:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$100, %edi
	leaq	-160(%rbp), %rsi
	leaq	L_.str.4(%rip), %rdx
	movl	-188(%rbp), %ecx                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_sqlite3_snprintf
LBB0_44:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-200(%rbp), %rcx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%rcx, %rcx
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.6(%rip), %rsi
	leaq	-160(%rbp), %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	-200(%rbp), %rdi
	callq	_sqlite3_free
	movq	$0, -200(%rbp)
	jmp	LBB0_47
LBB0_46:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%edi, -168(%rbp)                ## 4-byte Spill
	movl	(%r15), %edi
	callq	_sqlite3_errmsg
	movl	-168(%rbp), %edi                ## 4-byte Reload
	leaq	L_.str.6(%rip), %rsi
	leaq	-160(%rbp), %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_47:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	-172(%rbp)                      ## 4-byte Folded Spill
LBB0_48:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_free
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	jmp	LBB0_1
LBB0_49:
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_51
## %bb.50:
	movl	$10, %edi
	callq	_putchar
LBB0_51:
	xorl	%ebx, %ebx
LBB0_52:
	testq	%r12, %r12
	je	LBB0_56
## %bb.53:
	movq	%r12, %rdi
	callq	__all_whitespace
	testq	%rax, %rax
	jne	LBB0_55
## %bb.54:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_55:
	movq	%r12, %rdi
	callq	_free
LBB0_56:
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	cmpl	$0, -172(%rbp)                  ## 4-byte Folded Reload
	setg	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-48(%rbp), %rdx
	jne	LBB0_58
## %bb.57:
	movb	%cl, %al
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_58:
	callq	___stack_chk_fail
LBB0_59:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_bail_on_error,4,2              ## @bail_on_error
	.comm	_stdin_is_interactive,8,3       ## @stdin_is_interactive
	.comm	_seenInterrupt,8,3              ## @seenInterrupt
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	";"

	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"Error: out of memory\n"

	.comm	_BEGIN_TIMER,4,2                ## @BEGIN_TIMER
	.comm	_shell_callback,4,2             ## @shell_callback
	.comm	_END_TIMER,4,2                  ## @END_TIMER
L_.str.4:                               ## @.str.4
	.asciz	"Error: near line %d:"

L_.str.5:                               ## @.str.5
	.asciz	"Error:"

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

L_.str.7:                               ## @.str.7
	.asciz	"Error: incomplete SQL: %s\n"

	.no_dead_strip	_process_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_input
_process_input:                         ; @process_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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	x20, x1
	mov	x22, x0
	mov	x21, #0
	mov	w28, #0
	mov	w23, #0
	mov	w24, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	mov	x19, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x26, _bail_on_error@GOTPAGE
Lloh4:
	ldr	x26, [x26, _bail_on_error@GOTPAGEOFF]
Lloh5:
	adrp	x25, _seenInterrupt@GOTPAGE
Lloh6:
	ldr	x25, [x25, _seenInterrupt@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
                                        ;       Child Loop BB0_3 Depth 3
                                        ;         Child Loop BB0_5 Depth 4
                                        ;         Child Loop BB0_28 Depth 4
	mov	x27, x28
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_3 Depth 3
                                        ;         Child Loop BB0_5 Depth 4
                                        ;         Child Loop BB0_28 Depth 4
Lloh7:
	adrp	x28, _stdin_is_interactive@GOTPAGE
Lloh8:
	ldr	x28, [x28, _stdin_is_interactive@GOTPAGEOFF]
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_2 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_5 Depth 4
                                        ;         Child Loop BB0_28 Depth 4
	add	w8, w24, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=4
	mov	x0, x19
	bl	__all_whitespace
	add	w8, w24, #1
	cbz	x0, LBB0_15
LBB0_5:                                 ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_2 Depth=2
                                        ;       Parent Loop BB0_3 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	mov	x24, x8
	cbz	w23, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=4
	ldr	w8, [x26]
	cbz	w8, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=4
	cbnz	x20, LBB0_53
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=4
	ldr	x8, [x28]
	cbz	x8, LBB0_53
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=4
	ldr	w0, [x22, #24]
	bl	_fflush
	mov	x0, x19
	bl	_free
	mov	x0, x21
	mov	x1, x20
	bl	_one_input_line
	cbz	x0, LBB0_50
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=4
	mov	x19, x0
	ldr	x8, [x25]
	cbz	x8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=4
	cbnz	x20, LBB0_53
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=4
	str	xzr, [x25]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=4
	cbz	x21, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=4
	ldrb	w8, [x21]
	cbz	w8, LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=3
	ldrb	w8, [x19]
	cmp	w8, #46
	b.ne	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=3
	cbnz	w27, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=3
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=3
	mov	x0, x19
	bl	_puts
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=3
	mov	x0, x19
	mov	x1, x22
	bl	_do_meta_command
	mov	x27, x0
	cbz	w0, LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=3
	cmp	w27, #2
	b.eq	LBB0_53
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=3
	mov	w27, #0
	add	w23, w23, #1
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=3
	mov	x0, x19
	bl	__is_command_terminator
	cbz	x0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=3
	mov	x0, x21
	mov	x1, x27
	bl	__is_complete
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=3
	mov	x0, x19
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #2
	bl	_memcpy
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=3
	cbnz	x21, LBB0_32
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=3
	ldrb	w8, [x19]
	cbz	w8, LBB0_3
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=3
	mov	x28, #0
LBB0_28:                                ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_2 Depth=2
                                        ;       Parent Loop BB0_3 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	sxtb	w0, w8
	bl	_IsSpace
	cbz	x0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=4
	add	x8, x19, x28
	add	x28, x28, #1
	ldrb	w8, [x8, #1]
	cbnz	w8, LBB0_28
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=3
	mov	x21, #0
	ldrb	w8, [x19, w28, uxtw]
Lloh11:
	adrp	x28, _stdin_is_interactive@GOTPAGE
Lloh12:
	ldr	x28, [x28, _stdin_is_interactive@GOTPAGEOFF]
	cbz	w8, LBB0_3
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x21, #0
	b	LBB0_2
LBB0_32:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_strlen30
	mov	x28, x0
	add	w8, w27, w0
	add	w1, w8, #4
	mov	x0, x21
	bl	_realloc
	cbz	x0, LBB0_60
; %bb.33:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	mov	x8, x27
	sxtw	x9, w8
	add	x10, x9, #1
	stp	x9, x10, [sp, #24]              ; 16-byte Folded Spill
	mov	w8, #10
	strb	w8, [x0, x9]
	add	x0, x0, x10
	add	w2, w28, #1
	mov	x1, x19
	bl	_memcpy
	ldp	x9, x8, [sp, #24]               ; 16-byte Folded Reload
	add	w28, w28, w8
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_strlen30
	mov	x28, x0
	add	w0, w0, #3
	bl	_malloc
	cbz	x0, LBB0_60
; %bb.35:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	add	w2, w28, #1
	mov	x1, x19
	bl	_memcpy
	sxtw	x9, w27
	mov	x8, x24
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
LBB0_36:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x21, x9
	sub	w1, w28, w27
	bl	__contains_semicolon
	cbz	x0, LBB0_43
; %bb.37:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_sqlite3_complete
	cbz	x0, LBB0_43
; %bb.38:                               ;   in Loop: Header=BB0_1 Depth=1
	str	xzr, [x22, #8]
	mov	x0, x22
	bl	_open_db
	ldr	w0, [x22]
Lloh13:
	adrp	x8, _shell_callback@GOTPAGE
Lloh14:
	ldr	x8, [x8, _shell_callback@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x4, sp, #48
	mov	x1, x21
	mov	x3, x22
	bl	_shell_exec
	cbnz	w0, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_49
LBB0_40:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh16:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
	cbnz	x20, LBB0_44
; %bb.41:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x8]
	cbz	x8, LBB0_44
; %bb.42:                               ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #60
	mov	w0, #100
Lloh18:
	adrp	x2, l_.str.5@PAGE
Lloh19:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_45
LBB0_43:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	__all_whitespace
	cbnz	x0, LBB0_49
	b	LBB0_1
LBB0_44:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [sp]
	add	x1, sp, #60
	mov	w0, #100
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_45:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_sqlite3_snprintf
	ldr	x8, [sp, #48]
Lloh22:
	adrp	x9, _stderr@GOTPAGE
Lloh23:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w27, [x9]
	cbz	x8, LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_1 Depth=1
	str	x8, [sp, #8]
	add	x8, sp, #60
	str	x8, [sp]
	mov	x0, x27
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	ldr	x0, [sp, #48]
	bl	_sqlite3_free
	str	xzr, [sp, #48]
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x22]
	bl	_sqlite3_errmsg
	add	x8, sp, #60
	stp	x8, x0, [sp]
	mov	x0, x27
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_48:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w23, w23, #1
LBB0_49:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_free
	mov	x21, #0
	mov	w28, #0
	b	LBB0_1
LBB0_50:
	ldr	x8, [x28]
	cbz	x8, LBB0_52
; %bb.51:
	mov	w0, #10
	bl	_putchar
LBB0_52:
	mov	x19, #0
LBB0_53:
	cbz	x21, LBB0_57
; %bb.54:
	mov	x0, x21
	bl	__all_whitespace
	cbnz	x0, LBB0_56
; %bb.55:
Lloh29:
	adrp	x8, _stderr@GOTPAGE
Lloh30:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
LBB0_56:
	mov	x0, x21
	bl	_free
LBB0_57:
	mov	x0, x19
	bl	_free
	cmp	w23, #0
	cset	w0, gt
	ldur	x8, [x29, #-96]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_59
; %bb.58:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_59:
	bl	___stack_chk_fail
LBB0_60:
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_bail_on_error,4,2              ; @bail_on_error
	.comm	_stdin_is_interactive,8,3       ; @stdin_is_interactive
	.comm	_seenInterrupt,8,3              ; @seenInterrupt
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	";"

	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"Error: out of memory\n"

	.comm	_BEGIN_TIMER,4,2                ; @BEGIN_TIMER
	.comm	_shell_callback,4,2             ; @shell_callback
	.comm	_END_TIMER,4,2                  ; @END_TIMER
l_.str.4:                               ; @.str.4
	.asciz	"Error: near line %d:"

l_.str.5:                               ; @.str.5
	.asciz	"Error:"

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

l_.str.7:                               ; @.str.7
	.asciz	"Error: incomplete SQL: %s\n"

	.no_dead_strip	_process_input
.subsections_via_symbols
