	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unescape_str                   ## -- Begin function unescape_str
	.p2align	4, 0x90
_unescape_str:                          ## @unescape_str
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_16
## %bb.2:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	testb	%dl, %dl
	je	LBB0_14
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movb	%dl, (%rcx)
	incq	%rcx
	incq	%rbx
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edx
	cmpb	$92, %dl
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%rbx), %edx
	incq	%rbx
	movsbl	%dl, %esi
	cmpl	$113, %esi
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$116, %esi
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$114, %esi
	jne	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	$13, %dl
	jmp	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$110, %esi
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	$10, %dl
	jmp	LBB0_4
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$9, %dl
	jmp	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	testl	%esi, %esi
	jne	LBB0_4
LBB0_14:
	movb	$0, (%rcx)
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unescape_str                   ; -- Begin function unescape_str
	.p2align	2
_unescape_str:                          ; @unescape_str
	.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
	cbz	x0, LBB0_17
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_16
; %bb.2:
	mov	x0, x19
	bl	_strlen
	add	x0, x0, #1
	bl	_xmalloc
	mov	x8, x0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w9, LBB0_15
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	strb	w9, [x8], #1
	add	x19, x19, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19]
	cmp	w9, #92
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w9, [x19, #1]!
	cmp	w9, #113
	b.le	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #116
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #114
	b.ne	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #13
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #110
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #10
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #9
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w9, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w9, w9, #0xff
	b	LBB0_4
LBB0_15:
	strb	wzr, [x8]
	b	LBB0_17
LBB0_16:
	mov	x0, #0
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
