	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quote_literal_internal
_quote_literal_internal:                ## @quote_literal_internal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	testq	%rdx, %rdx
	jle	LBB0_6
## %bb.1:
	leaq	(%r12,%r15), %rax
	movq	%r12, %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$92, (%rcx)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rax, %rcx
	jb	LBB0_2
## %bb.4:
	movq	%rdi, %r13
	jmp	LBB0_6
LBB0_5:
	movq	_ESCAPE_STRING_SYNTAX@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	leaq	1(%rdi), %r13
	movb	%al, (%rdi)
LBB0_6:
	movb	$39, (%r13)
	testq	%r15, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.7:
	leaq	1(%r13), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %r13
	movzbl	(%r12,%rbx), %eax
	movb	%al, (%r14)
	incq	%r14
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%rbx), %edi
	movl	$1, %esi
	callq	_SQL_STR_DOUBLE
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%r12,%rbx), %eax
	movb	%al, 1(%r13)
	addq	$2, %r13
	movq	%r13, %r14
	jmp	LBB0_10
LBB0_11:
	movb	$39, 1(%r13)
	subq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	addq	$2, %r13
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ESCAPE_STRING_SYNTAX,4,2       ## @ESCAPE_STRING_SYNTAX
	.no_dead_strip	_quote_literal_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quote_literal_internal
_quote_literal_internal:                ; @quote_literal_internal
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x22, x0
	cmp	x2, #1
	b.lt	LBB0_6
; %bb.1:
	add	x8, x21, x20
	mov	x9, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9]
	cmp	w10, #92
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.lo	LBB0_2
; %bb.4:
	mov	x22, x19
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _ESCAPE_STRING_SYNTAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESCAPE_STRING_SYNTAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x22, x19
	strb	w8, [x22], #1
LBB0_6:
	mov	w23, #39
	mov	x24, x22
	strb	w23, [x24], #1
	cbnz	x20, LBB0_9
LBB0_7:
	strb	w23, [x22, #1]
	sub	x8, x22, x19
	add	x0, x8, #2
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x24
	ldrb	w8, [x21], #1
	strb	w8, [x24], #1
	cbz	x20, LBB0_7
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	ldrsb	w0, [x21]
	mov	w1, #1
	bl	_SQL_STR_DOUBLE
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w8, [x21]
	add	x24, x22, #2
	strb	w8, [x22, #1]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ESCAPE_STRING_SYNTAX,4,2       ; @ESCAPE_STRING_SYNTAX
	.no_dead_strip	_quote_literal_internal
.subsections_via_symbols
