	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function escape_string
_escape_string:                         ## @escape_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.1:
	movq	%rdi, %r15
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	cmpq	%rax, %r12
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%rax), %esi
	cmpq	$34, %rsi
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%rdx,%rsi,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$92, %sil
	jne	LBB0_3
	jmp	LBB0_2
LBB0_7:
	leaq	(%rcx,%r12), %rdi
	incq	%rdi
	callq	_heap_xalloc
	testq	%r12, %r12
	je	LBB0_21
## %bb.8:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_9:                                 ##   in Loop: Header=BB0_12 Depth=1
	movb	$34, %bl
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=1
	movb	$92, (%rax,%rcx)
	incq	%rcx
	movl	%ebx, %esi
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movb	%sil, (%rax,%rcx)
	incq	%rdx
	incq	%rcx
	cmpq	%rdx, %r12
	je	LBB0_22
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15,%rdx), %esi
	testl	%esi, %esi
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$33, %esi
	jg	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$10, %esi
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$114, %bl
	cmpl	$13, %esi
	je	LBB0_10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$34, %esi
	je	LBB0_9
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	$92, %esi
	jne	LBB0_11
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$92, %bl
	jmp	LBB0_10
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movb	$110, %bl
	jmp	LBB0_10
LBB0_20:
	incq	%r12
	movq	%r12, %rdi
	callq	_heap_xalloc
LBB0_21:
	xorl	%ecx, %ecx
LBB0_22:
	movb	$0, (%rax,%rcx)
	movq	%rcx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_escape_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function escape_string
_escape_string:                         ; @escape_string
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x20, x1
	cbz	x1, LBB0_21
; %bb.1:
	mov	x21, x0
	mov	x8, #0
	mov	x9, x0
	mov	x10, x20
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	subs	x10, x10, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x9]
	cmp	w12, #34
	b.hi	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x13, LBB0_2
	ldrb	w14, [x11, x12]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w12, #92
	b.eq	LBB0_2
	b	LBB0_3
LBB0_7:
	add	x8, x8, x20
	add	x0, x8, #1
	bl	_heap_xalloc
	mov	x8, #0
	cbz	x20, LBB0_22
; %bb.8:
	mov	w9, #92
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	mov	w10, #34
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	strb	w9, [x0, x8]
	add	x8, x8, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	strb	w10, [x0, x8]
	add	x8, x8, #1
	add	x21, x21, #1
	subs	x20, x20, #1
	b.eq	LBB0_22
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w11, [x21]
	cbz	w11, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	and	w10, w11, #0xff
	cmp	w11, #33
	b.gt	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w11, #10
	b.eq	LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w11, #13
	b.ne	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w10, #114
	b	LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	w11, #34
	b.eq	LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w11, #92
	b.ne	LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w10, #92
	b	LBB0_10
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w10, #110
	b	LBB0_10
LBB0_21:
	add	x0, x20, #1
	bl	_heap_xalloc
	mov	x8, #0
LBB0_22:
	strb	wzr, [x0, x8]
	str	x8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_escape_string
.subsections_via_symbols
