	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shellEscapeCrnl
_shellEscapeCrnl:                       ## @shellEscapeCrnl
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdx), %rdi
	callq	_sqlite3_value_text
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_UNUSED_PARAMETER
	cmpb	$39, (%r15)
	jne	LBB0_36
## %bb.1:
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	(%r13), %rdi
	callq	_sqlite3_value_bytes
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_2
## %bb.3:
	movq	%r15, %rbx
	incq	%rbx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	leaq	-112(%rbp), %rcx
	callq	_unused_string
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_strlen
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r14, %r14
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$10, %al
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	-80(%rbp), %rcx
	callq	_unused_string
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%r12, %r12
	jne	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$13, -1(%rbx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	testq	%r12, %r12
	jne	LBB0_12
	jmp	LBB0_9
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
LBB0_13:
	movq	%r14, %rax
	orq	%r12, %rax
	je	LBB0_35
## %bb.14:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	cmpl	%eax, %ecx
                                        ## kill: def $eax killed $eax killed $rax
	cmovgl	%ecx, %eax
	movl	-120(%rbp), %edi                ## 4-byte Reload
	addl	$2, %edi
	imull	%eax, %edi
	subl	$-128, %edi
	callq	_sqlite3_malloc64
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_19
## %bb.17:
	testq	%r12, %r12
	je	LBB0_19
## %bb.18:
	leaq	L_.str.4(%rip), %rsi
	movl	$16, %r13d
	movq	%rbx, %rdi
	movl	$16, %edx
	jmp	LBB0_20
LBB0_35:
	movq	-144(%rbp), %rbx                ## 8-byte Reload
LBB0_36:
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_sqlite3_result_value
LBB0_37:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.38:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_sqlite3_result_error_nomem
	jmp	LBB0_37
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	movl	$8, %r13d
	movq	%rbx, %rdi
	movl	$8, %edx
LBB0_20:
	callq	_memcpy
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r13d, %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	%ebx, %edx
	callq	_memcpy
	movl	%ebx, %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	addl	%eax, %r13d
	incq	%r15
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15), %eax
	cmpb	$10, %al
	je	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpb	$13, %al
	je	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	testb	%al, %al
	je	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r13d, %rcx
	movb	%al, (%rbx,%rcx)
	movl	$1, %eax
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_21 Depth=1
	movslq	%r13d, %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_27
LBB0_29:
	testq	%r14, %r14
	je	LBB0_31
## %bb.30:
	movslq	%r13d, %r15
	leaq	(%rbx,%r15), %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$2, %edx
	callq	_memcpy
	leaq	(%rbx,%r15), %rdi
	addq	$2, %rdi
	movq	%r14, %rsi
	movq	%rbx, %r14
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	leal	(%rbx,%r13), %eax
	addl	$2, %eax
	movslq	%eax, %rdi
	addq	%r14, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	$12, %edx
	callq	_memcpy
	addl	%ebx, %r13d
	addl	$14, %r13d
LBB0_31:
	testq	%r12, %r12
	je	LBB0_32
## %bb.33:
	movslq	%r13d, %r14
	movq	-120(%rbp), %r15                ## 8-byte Reload
	leaq	(%r15,%r14), %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$2, %edx
	callq	_memcpy
	leaq	(%r15,%r14), %rdi
	addq	$2, %rdi
	movq	%r12, %rsi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	leal	(%r14,%rbx), %eax
	addl	$2, %eax
	movslq	%eax, %rdi
	addq	%r15, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	$12, %edx
	callq	_memcpy
	leal	(%r14,%rbx), %r13d
	addl	$14, %r13d
	movq	%r15, %rbx
	jmp	LBB0_34
LBB0_32:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
LBB0_34:
	movq	_SQLITE_TRANSIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_sqlite3_result_text
	movq	%rbx, %rdi
	callq	_sqlite3_free
	jmp	LBB0_37
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\n"

L_.str.1:                               ## @.str.1
	.asciz	"\\012"

L_.str.2:                               ## @.str.2
	.asciz	"\\r"

L_.str.3:                               ## @.str.3
	.asciz	"\\015"

L_.str.4:                               ## @.str.4
	.asciz	"replace(replace("

L_.str.5:                               ## @.str.5
	.asciz	"replace("

L_.str.6:                               ## @.str.6
	.asciz	",'"

L_.str.7:                               ## @.str.7
	.asciz	"', char(10))"

L_.str.8:                               ## @.str.8
	.asciz	"', char(13))"

	.comm	_SQLITE_TRANSIENT,4,2           ## @SQLITE_TRANSIENT
	.no_dead_strip	_shellEscapeCrnl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shellEscapeCrnl
_shellEscapeCrnl:                       ; @shellEscapeCrnl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x25, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x0, [x2]
	bl	_sqlite3_value_text
	mov	x22, x0
	mov	x0, x19
	bl	_UNUSED_PARAMETER
	ldrb	w8, [x22]
	cmp	w8, #39
	b.ne	LBB0_19
; %bb.1:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x0, [x25]
	bl	_sqlite3_value_bytes
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ldrb	w8, [x22]
	cbz	w8, LBB0_12
; %bb.2:
	mov	x24, #0
	mov	x21, #0
	mov	w23, #0
	mov	w20, #0
	add	x27, x22, #1
Lloh3:
	adrp	x28, l_.str.1@PAGE
Lloh4:
	add	x28, x28, l_.str.1@PAGEOFF
Lloh5:
	adrp	x26, l_.str.2@PAGE
Lloh6:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh7:
	adrp	x19, l_.str.3@PAGE
Lloh8:
	add	x19, x19, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x3, sp, #16
	mov	x0, x22
	mov	x1, x26
	mov	x2, x19
	bl	_unused_string
	mov	x21, x0
	bl	_strlen
	mov	x20, x0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x27], #1
	cbz	w8, LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x24, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x21, LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldurb	w8, [x27, #-1]
	cmp	w8, #13
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, #0
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #10
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x3, sp, #36
	mov	x0, x22
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x28
	bl	_unused_string
	mov	x24, x0
	bl	_strlen
	mov	x23, x0
	cbnz	x21, LBB0_4
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, #0
	cbnz	x21, LBB0_4
	b	LBB0_7
LBB0_12:
	mov	w20, #0
	mov	w23, #0
	mov	x21, #0
	mov	x24, #0
LBB0_13:
	orr	x8, x24, x21
	cbz	x8, LBB0_18
; %bb.14:
	cmp	w23, w20
	csel	w8, w23, w20, gt
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	add	w9, w9, #2
	orr	w10, wzr, #0x80
	madd	w0, w8, w9, w10
	bl	_sqlite3_malloc64
	cbz	x0, LBB0_22
; %bb.15:
	mov	x25, x0
	cbz	x24, LBB0_23
; %bb.16:
	cbz	x21, LBB0_23
; %bb.17:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w19, #16
	mov	x0, x25
	mov	w2, #16
	b	LBB0_24
LBB0_18:
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
LBB0_19:
	ldr	x1, [x25]
	mov	x0, x20
	bl	_sqlite3_result_value
LBB0_20:
	ldr	x8, [sp, #56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_22:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_sqlite3_result_error_nomem
	b	LBB0_20
LBB0_23:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w19, #8
	mov	x0, x25
	mov	w2, #8
LBB0_24:
	bl	_memcpy
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x0, x25, w19, sxtw
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	mov	x8, x20
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	w19, w8, w19
	add	x22, x22, #1
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cmp	w8, #10
	b.eq	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	cmp	w8, #13
	b.eq	LBB0_25
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	cbz	w8, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=1
	strb	w8, [x25, w19, sxtw]
	mov	w8, #1
	b	LBB0_26
LBB0_31:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x0, x25, w19, sxtw
	mov	x1, x24
	mov	x2, x23
	bl	_memcpy
	mov	x8, x23
	b	LBB0_26
LBB0_32:
	cbz	x24, LBB0_34
; %bb.33:
	sxtw	x19, w19
	add	x0, x25, x19
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #2
	bl	_memcpy
	add	x19, x19, #2
	add	x0, x25, x19
	mov	x1, x24
	mov	x2, x23
	bl	_memcpy
	add	w19, w19, w23
	add	x0, x25, w19, sxtw
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #12
	bl	_memcpy
	add	w19, w19, #12
LBB0_34:
	cbz	x21, LBB0_36
; %bb.35:
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sxtw	x19, w19
	add	x0, x25, x19
Lloh22:
	adrp	x1, l_.str.6@PAGE
Lloh23:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #2
	bl	_memcpy
	add	x19, x19, #2
	add	x0, x25, x19
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	add	w19, w19, w20
	add	x0, x25, w19, sxtw
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #12
	bl	_memcpy
	add	w19, w19, #12
LBB0_36:
Lloh26:
	adrp	x8, _SQLITE_TRANSIENT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SQLITE_TRANSIENT@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x19
	bl	_sqlite3_result_text
	mov	x0, x25
	bl	_sqlite3_free
	b	LBB0_20
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\n"

l_.str.1:                               ; @.str.1
	.asciz	"\\012"

l_.str.2:                               ; @.str.2
	.asciz	"\\r"

l_.str.3:                               ; @.str.3
	.asciz	"\\015"

l_.str.4:                               ; @.str.4
	.asciz	"replace(replace("

l_.str.5:                               ; @.str.5
	.asciz	"replace("

l_.str.6:                               ; @.str.6
	.asciz	",'"

l_.str.7:                               ; @.str.7
	.asciz	"', char(10))"

l_.str.8:                               ; @.str.8
	.asciz	"', char(13))"

	.comm	_SQLITE_TRANSIENT,4,2           ; @SQLITE_TRANSIENT
	.no_dead_strip	_shellEscapeCrnl
.subsections_via_symbols
