	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quote_string
_quote_string:                          ## @quote_string
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rdx
	jae	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	movb	(%rdi), %r15b
	testb	%r15b, %r15b
	je	LBB0_9
## %bb.2:
	incq	%rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_replace_chars@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	%r14, %r12
	movzbl	(%rax,%r12), %r15d
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsbl	%r15b, %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_add_char
	movzbl	(%rbx), %r15d
	incq	%rbx
	testb	%r15b, %r15b
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_quotable_chars@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movsbl	%r15b, %esi
	movq	%r14, %rdi
	callq	_strchr
	movq	%rax, %r12
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%r12, %r12
	jne	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r12, %r12
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	$92, %ecx
	callq	_add_char
	movq	_quotable_chars@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_7
LBB0_9:
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_11
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax,%r13)
LBB0_11:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_quotable_chars,8,3             ## @quotable_chars
	.comm	_replace_chars,8,3              ## @replace_chars
	.no_dead_strip	_quote_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quote_string
_quote_string:                          ; @quote_string
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	cmp	x2, x3
	b.hs	LBB0_9
; %bb.1:
	ldrb	w28, [x0]
	cbz	w28, LBB0_9
; %bb.2:
	mov	x22, x4
	add	x25, x0, #1
Lloh0:
	adrp	x26, _quotable_chars@GOTPAGE
Lloh1:
	ldr	x26, [x26, _quotable_chars@GOTPAGEOFF]
Lloh2:
	adrp	x27, _replace_chars@GOTPAGE
Lloh3:
	ldr	x27, [x27, _replace_chars@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27]
	sub	x9, x23, x24
	ldrb	w28, [x8, x9]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sxtb	w3, w28
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_add_char
	ldrb	w28, [x25], #1
	cbz	w28, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x26]
	sxtb	w1, w28
	mov	x0, x24
	bl	_strchr
	mov	x23, x0
	cbz	w22, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x23, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x23, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w3, #92
	bl	_add_char
	ldr	x24, [x26]
	b	LBB0_3
LBB0_9:
	cmp	x19, x21
	b.hs	LBB0_11
; %bb.10:
	strb	wzr, [x20, x19]
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_quotable_chars,8,3             ; @quotable_chars
	.comm	_replace_chars,8,3              ; @replace_chars
	.no_dead_strip	_quote_string
.subsections_via_symbols
