	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JSGlobal_unescape
_JSGlobal_unescape:                     ## @JSGlobal_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r12
	movl	%ecx, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.3:
	movl	(%r12), %esi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	callq	_to_flat_string
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_40
## %bb.4:
	movq	-56(%rbp), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	testb	%al, %al
	je	LBB0_7
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	incq	%rbx
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$37, %al
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movsbl	1(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	2(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rbx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$117, 1(%rbx)
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	2(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	3(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	4(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	5(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$5, %rbx
	jmp	LBB0_18
LBB0_1:
	testq	%r15, %r15
	je	LBB0_38
## %bb.2:
	xorl	%eax, %eax
	callq	_jsstr_undefined
	movq	%rax, %rdi
	jmp	LBB0_24
LBB0_7:
	leaq	-72(%rbp), %rsi
	movq	%r14, %rdi
	callq	_jsstr_alloc_buf
	testq	%rax, %rax
	je	LBB0_8
## %bb.19:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=1
	testb	%al, %al
	je	LBB0_22
LBB0_36:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-72(%rbp), %rcx
	movb	%al, (%rcx,%r12)
	incq	%r12
	incq	%rbx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$37, %al
	jne	LBB0_21
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	movsbl	1(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=1
	movsbl	2(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	2(%rbx), %r14
	movsbl	1(%rbx), %edi
	callq	_hex_to_int
	movl	%eax, %r13d
	shll	$4, %r13d
	movsbl	2(%rbx), %edi
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=1
	callq	_hex_to_int
	addl	%r13d, %eax
	movq	%r14, %rbx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpb	$117, 1(%rbx)
	jne	LBB0_35
## %bb.30:                              ##   in Loop: Header=BB0_20 Depth=1
	movsbl	2(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_35
## %bb.31:                              ##   in Loop: Header=BB0_20 Depth=1
	movsbl	3(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_20 Depth=1
	movsbl	4(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_20 Depth=1
	movsbl	5(%rbx), %edi
	callq	_hex_to_int
	cmpl	$-1, %eax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	5(%rbx), %r14
	movsbl	2(%rbx), %edi
	callq	_hex_to_int
	movsbl	3(%rbx), %edi
	callq	_hex_to_int
	movsbl	4(%rbx), %edi
	callq	_hex_to_int
	movl	%eax, %r13d
	shll	$4, %r13d
	movsbl	5(%rbx), %edi
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_20 Depth=1
	movzbl	(%rbx), %eax
	jmp	LBB0_36
LBB0_22:
	movq	-64(%rbp), %rdi
	callq	_jsstr_release
	testq	%r15, %r15
	je	LBB0_37
## %bb.23:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_24:
	callq	_jsval_string
	movl	%eax, (%r15)
LBB0_38:
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_39:
	movl	(%rax), %ebx
LBB0_40:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-64(%rbp), %rdi
	callq	_jsstr_release
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_37:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_jsstr_release
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_S_OK,4,2                       ## @S_OK
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.no_dead_strip	_JSGlobal_unescape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JSGlobal_unescape
_JSGlobal_unescape:                     ; @JSGlobal_unescape
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cbz	w22, LBB0_14
; %bb.1:
	ldr	w1, [x21]
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x20
	bl	_to_flat_string
	mov	x20, x0
	bl	_FAILED
	cbnz	x0, LBB0_36
; %bb.2:
	mov	x20, #0
	ldr	x21, [sp, #16]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_16
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	add	x21, x21, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #37
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x21, #1]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x21
	ldrsb	w0, [x22, #2]!
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x22
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x21, #1]
	cmp	w8, #117
	b.ne	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x21, #2]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x21, #3]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w0, [x21, #4]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x21
	ldrsb	w0, [x22, #5]!
	bl	_hex_to_int
	cmn	w0, #1
	csel	x21, x21, x22, eq
	b	LBB0_4
LBB0_14:
	cbz	x19, LBB0_34
; %bb.15:
	bl	_jsstr_undefined
	b	LBB0_33
LBB0_16:
	add	x1, sp, #8
	mov	x0, x20
	bl	_jsstr_alloc_buf
	cbz	x0, LBB0_37
; %bb.17:
	mov	x20, x0
	mov	x22, #0
	ldr	x23, [sp, #16]
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	cbz	w8, LBB0_32
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x9, [sp, #8]
	strb	w8, [x9, x22]
	add	x22, x22, #1
	add	x23, x23, #1
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23]
	cmp	w8, #37
	b.ne	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrsb	w0, [x23, #1]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x24, x23
	ldrsb	w0, [x24, #2]!
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrsb	w0, [x23, #1]
	bl	_hex_to_int
	mov	x21, x0
	ldrsb	w0, [x23, #2]
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=1
	bl	_hex_to_int
	add	w8, w0, w21, lsl #4
	mov	x23, x24
	b	LBB0_19
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	ldrb	w8, [x23, #1]
	cmp	w8, #117
	b.ne	LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrsb	w0, [x23, #2]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrsb	w0, [x23, #3]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrsb	w0, [x23, #4]
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x24, x23
	ldrsb	w0, [x24, #5]!
	bl	_hex_to_int
	cmn	w0, #1
	b.eq	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_20 Depth=1
	ldrsb	w0, [x23, #2]
	bl	_hex_to_int
	ldrsb	w0, [x23, #3]
	bl	_hex_to_int
	ldrsb	w0, [x23, #4]
	bl	_hex_to_int
	mov	x21, x0
	ldrsb	w0, [x23, #5]
	b	LBB0_24
LBB0_31:                                ;   in Loop: Header=BB0_20 Depth=1
	ldrb	w8, [x23]
	b	LBB0_19
LBB0_32:
	ldr	x0, [sp, #24]
	bl	_jsstr_release
	mov	x0, x20
	cbz	x19, LBB0_38
LBB0_33:
	bl	_jsval_string
	str	w0, [x19]
LBB0_34:
Lloh2:
	adrp	x8, _S_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_35:
	ldr	w20, [x8]
LBB0_36:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_37:
	ldr	x0, [sp, #24]
	bl	_jsstr_release
Lloh4:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_35
LBB0_38:
	bl	_jsstr_release
	b	LBB0_34
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_S_OK,4,2                       ; @S_OK
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.no_dead_strip	_JSGlobal_unescape
.subsections_via_symbols
