	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unescape
_unescape:                              ## @unescape
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leal	1(%r14), %edi
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rcx
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.2:
	movslq	%r14d, %rdi
	addq	%rbx, %rdi
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%esi, %esi
	cmpb	$92, (%rbx)
	sete	%sil
	movzbl	(%rbx,%rsi), %edx
	addq	%rbx, %rsi
	incq	%rsi
	movb	%dl, (%rcx)
	incq	%rcx
	movq	%rsi, %rbx
	cmpq	%rdi, %rsi
	jb	LBB0_3
LBB0_4:
	movb	$0, (%rcx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unescape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unescape
_unescape:                              ; @unescape
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	w0, w1, #1
	bl	_av_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x8, x0
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	add	x9, x19, w20, sxtw
	mov	x8, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x19
	ldrb	w11, [x10], #1
	cmp	w11, #92
	csel	x19, x19, x10, ne
	ldrb	w10, [x19], #1
	strb	w10, [x8], #1
	cmp	x19, x9
	b.lo	LBB0_3
LBB0_4:
	strb	wzr, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unescape
.subsections_via_symbols
