	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function escape
_escape:                                ## @escape
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	decl	%eax
	cmpb	$10, (%rbx,%rax)
	sete	%al
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movb	$34, (%r15)
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movw	$2594, 1(%r15)                  ## imm = 0xA22
	leaq	4(%r15), %rcx
	movb	$34, 3(%r15)
	addl	$-4, %r12d
	jmp	LBB0_6
LBB0_4:
	leaq	1(%r15), %rcx
	decl	%r12d
LBB0_6:
	movb	(%rbx), %dl
	testb	%dl, %dl
	je	LBB0_18
## %bb.7:
	cmpl	$2, %r12d
	jl	LBB0_18
## %bb.8:
	incq	%rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$10, %dl
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$92, %dl
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$34, %dl
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movb	$92, (%rcx)
	incq	%rcx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$170028636, (%rcx)              ## imm = 0xA226E5C
	movb	$34, 4(%rcx)
	addq	$5, %rcx
	addl	$-5, %r12d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movb	$92, (%rcx)
	incq	%rcx
	decl	%r12d
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movzbl	-1(%rbx), %edx
	movb	%dl, (%rcx)
	incq	%rcx
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movzbl	(%rbx), %edx
	testb	%dl, %dl
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	leal	-1(%r12), %esi
	incq	%rbx
	cmpl	$2, %r12d
	movl	%esi, %r12d
	jg	LBB0_9
LBB0_18:
	xorb	$1, %al
	testq	%r14, %r14
	movzbl	%al, %eax
	leaq	-3(%rax,%rax,2), %rax
	cmoveq	%r14, %rax
	movw	$34, (%rcx,%rax)
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_escape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function escape
_escape:                                ; @escape
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
	mov	w1, #10
	bl	_strchr
	mov	x20, x0
	mov	x0, x21
	bl	_strlen
	subs	w8, w0, #1
	b.lt	LBB0_2
; %bb.1:
	ldrb	w8, [x21, w8, uxtw]
	cmp	w8, #10
	cset	w8, eq
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	mov	w10, #34
	mov	x9, x19
	strb	w10, [x9], #1
	cbz	x20, LBB0_5
; %bb.4:
	mov	w9, #2594
	sturh	w9, [x19, #1]
	add	x9, x19, #4
	strb	w10, [x19, #3]
	sub	w10, w22, #4
	ldrb	w15, [x21]
	cbnz	w15, LBB0_6
	b	LBB0_16
LBB0_5:
	sub	w10, w22, #1
	ldrb	w15, [x21]
	cbz	w15, LBB0_16
LBB0_6:
	cmp	w10, #2
	b.lt	LBB0_16
; %bb.7:
	add	x11, x21, #1
	mov	w12, #28252
	movk	w12, #2594, lsl #16
	mov	w13, #34
	mov	w14, #92
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	strb	w14, [x9], #1
	sub	w10, w10, #1
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldurb	w15, [x11, #-1]
	strb	w15, [x9], #1
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w15, [x11], #1
	cmp	w15, #0
	ccmp	w10, #2, #4, ne
	sub	w10, w10, #1
	b.le	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	w15, #10
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w15, #92
	b.eq	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w15, #34
	b.ne	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	strb	w14, [x9], #1
	b	LBB0_9
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	str	w12, [x9]
	strb	w13, [x9, #4]
	add	x9, x9, #5
	sub	w10, w10, #5
	b	LBB0_10
LBB0_16:
	cmp	x20, #0
	cset	w10, ne
	tst	w10, w8
	mov	x8, #-3
	csel	x8, x8, xzr, ne
	mov	w10, #34
	strh	w10, [x9, x8]
	mov	x0, 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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_escape
.subsections_via_symbols
