	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function runOneSqlLine
_runOneSqlLine:                         ## @runOneSqlLine
	.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	%r12
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -152(%rbp)
	xorl	%esi, %esi
	callq	_open_db
	movq	_SHFLG_Backslash@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ShellHasFlag
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_resolve_backslashes
LBB0_2:
	movq	_SHELL_PROGRESS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	$0, 16(%rbx)
LBB0_4:
	leaq	-152(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_shell_exec
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	cmpq	$0, -152(%rbp)
	jne	LBB0_8
## %bb.6:
	movq	_SHFLG_CountChanges@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ShellHasFlag
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movl	4(%rbx), %edi
	movl	8(%rbx), %r15d
	callq	_sqlite3_changes
	movl	%eax, %r12d
	movl	4(%rbx), %edi
	callq	_sqlite3_total_changes
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_raw_printf
	jmp	LBB0_16
LBB0_8:
	testq	%r15, %r15
	jne	LBB0_11
## %bb.9:
	movq	_stdin_is_interactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdx
	leaq	-144(%rbp), %rsi
	movl	$100, %edi
	xorl	%eax, %eax
	callq	_sqlite3_snprintf
	jmp	LBB0_12
LBB0_11:
	leaq	L_.str(%rip), %rdx
	leaq	-144(%rbp), %rsi
	movl	$100, %edi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_sqlite3_snprintf
LBB0_12:
	movq	-152(%rbp), %rcx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	leaq	-144(%rbp), %rdx
	movl	%r14d, %edi
	callq	_utf8_printf
	movq	-152(%rbp), %rdi
	callq	_sqlite3_free
	jmp	LBB0_15
LBB0_14:
	movl	4(%rbx), %edi
	callq	_sqlite3_errmsg
	leaq	L_.str.2(%rip), %rsi
	leaq	-144(%rbp), %rdx
	movl	%r14d, %edi
	movq	%rax, %rcx
	callq	_utf8_printf
LBB0_15:
	movl	$1, %r14d
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, %eax
	addq	$128, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHFLG_Backslash,4,2            ## @SHFLG_Backslash
	.comm	_SHELL_PROGRESS_RESET,4,2       ## @SHELL_PROGRESS_RESET
	.comm	_BEGIN_TIMER,4,2                ## @BEGIN_TIMER
	.comm	_END_TIMER,4,2                  ## @END_TIMER
	.comm	_stdin_is_interactive,4,2       ## @stdin_is_interactive
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: near line %d:"

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

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"%s %s\n"

	.comm	_SHFLG_CountChanges,4,2         ## @SHFLG_CountChanges
L_.str.3:                               ## @.str.3
	.asciz	"changes: %3d   total_changes: %d\n"

	.no_dead_strip	_runOneSqlLine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function runOneSqlLine
_runOneSqlLine:                         ; @runOneSqlLine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	xzr, [sp, #8]
	mov	w1, #0
	bl	_open_db
Lloh3:
	adrp	x8, _SHFLG_Backslash@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHFLG_Backslash@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ShellHasFlag
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_resolve_backslashes
LBB0_2:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _SHELL_PROGRESS_RESET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SHELL_PROGRESS_RESET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	str	xzr, [x19, #16]
LBB0_4:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_shell_exec
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_8
; %bb.6:
Lloh9:
	adrp	x8, _SHFLG_CountChanges@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SHFLG_CountChanges@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ShellHasFlag
	cbz	x0, LBB0_16
; %bb.7:
	ldp	w0, w20, [x19, #4]
	bl	_sqlite3_changes
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_sqlite3_total_changes
	mov	x3, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_raw_printf
	mov	w0, #0
	b	LBB0_16
LBB0_8:
	cbnz	x21, LBB0_11
; %bb.9:
Lloh14:
	adrp	x8, _stdin_is_interactive@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stdin_is_interactive@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.10:
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:
	str	x20, [sp]
Lloh19:
	adrp	x2, l_.str@PAGE
Lloh20:
	add	x2, x2, l_.str@PAGEOFF
LBB0_12:
	add	x1, sp, #20
	mov	w0, #100
	bl	_sqlite3_snprintf
	ldr	x3, [sp, #8]
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	cbz	x3, LBB0_14
; %bb.13:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #20
	mov	x0, x20
	bl	_utf8_printf
	ldr	x0, [sp, #8]
	bl	_sqlite3_free
	b	LBB0_15
LBB0_14:
	ldr	w0, [x19, #4]
	bl	_sqlite3_errmsg
	mov	x3, x0
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #20
	mov	x0, x20
	bl	_utf8_printf
LBB0_15:
	mov	w0, #1
LBB0_16:
	ldur	x8, [x29, #-40]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_SHFLG_Backslash,4,2            ; @SHFLG_Backslash
	.comm	_SHELL_PROGRESS_RESET,4,2       ; @SHELL_PROGRESS_RESET
	.comm	_BEGIN_TIMER,4,2                ; @BEGIN_TIMER
	.comm	_END_TIMER,4,2                  ; @END_TIMER
	.comm	_stdin_is_interactive,4,2       ; @stdin_is_interactive
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: near line %d:"

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

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"%s %s\n"

	.comm	_SHFLG_CountChanges,4,2         ; @SHFLG_CountChanges
l_.str.3:                               ; @.str.3
	.asciz	"changes: %3d   total_changes: %d\n"

	.no_dead_strip	_runOneSqlLine
.subsections_via_symbols
