	.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	%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
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_OPENSSL_malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	leaq	-1(%r12), %rsi
	xorl	%eax, %eax
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movb	%cl, (%r15,%rax)
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	incq	%rax
	cmpq	%r12, %rdx
	jae	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %ecx
	cmpb	$92, %cl
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rdx
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$110, 1(%rbx)
	jne	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	$10, (%r15,%rax)
	incq	%rdx
	addq	$2, %rbx
	jmp	LBB0_4
LBB0_9:
	movq	$0, (%r14)
	movl	$1, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OPENSSL_zalloc                 ## TAILCALL
LBB0_11:
	movq	%rax, (%r14)
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str(%rip), %rdi
	callq	_TEST_error
	movq	%r15, %rdi
	callq	_OPENSSL_free
LBB0_13:
	xorl	%r15d, %r15d
LBB0_14:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad escape sequence in file"

	.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	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	x20, x2
	cbz	x1, LBB0_9
; %bb.1:
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_OPENSSL_malloc
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_12
; %bb.2:
	mov	x8, #0
	mov	x9, #0
	sub	x10, x21, #1
	mov	w11, #10
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	strb	w12, [x19, x8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	add	x8, x8, #1
	cmp	x9, x21
	b.hs	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x22]
	cmp	w12, #92
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x9, x10
	b.eq	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w12, [x22, #1]
	cmp	w12, #110
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	w11, [x19, x8]
	add	x9, x9, #1
	add	x22, x22, #2
	b	LBB0_4
LBB0_9:
	str	xzr, [x20]
	mov	w0, #1
	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
	b	_OPENSSL_zalloc
LBB0_10:
	str	x8, [x20]
	b	LBB0_13
LBB0_11:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEST_error
	mov	x0, x19
	bl	_OPENSSL_free
LBB0_12:
	mov	x19, #0
LBB0_13:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad escape sequence in file"

	.no_dead_strip	_unescape
.subsections_via_symbols
