	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JSGlobal_escape
_JSGlobal_escape:                       ## @JSGlobal_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %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_25
## %bb.4:
	movq	-56(%rbp), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.6:
	addq	$4, %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	addq	%rax, %r14
	movl	(%rbx), %edi
	addq	$4, %rbx
	testl	%edi, %edi
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$6, %eax
	cmpl	$255, %edi
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	callq	_is_ecma_nonblank
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leaq	(%rcx,%rcx), %rax
	incq	%rax
	jmp	LBB0_9
LBB0_1:
	testq	%r15, %r15
	je	LBB0_23
## %bb.2:
	xorl	%eax, %eax
	callq	_jsstr_undefined
	movq	%rax, %rdi
	jmp	LBB0_21
LBB0_5:
	xorl	%r14d, %r14d
LBB0_10:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_jsstr_alloc_buf
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r14
	movq	-56(%rbp), %rbx
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_20
## %bb.13:
	xorl	%r12d, %r12d
	movabsq	$502511173669, %r13             ## imm = 0x7500000025
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %rax
	movq	%r13, (%rax,%r12,4)
	movl	(%rbx), %edi
	sarl	$12, %edi
	callq	_int_to_char
	movq	-48(%rbp), %rcx
	movl	%eax, 8(%rcx,%r12,4)
	movl	(%rbx), %edi
	shrl	$8, %edi
	andl	$15, %edi
	callq	_int_to_char
	movq	-48(%rbp), %rcx
	movl	%eax, 12(%rcx,%r12,4)
	movl	(%rbx), %edi
	shrl	$4, %edi
	andl	$15, %edi
	callq	_int_to_char
	movq	-48(%rbp), %rcx
	movl	%eax, 16(%rcx,%r12,4)
	movl	(%rbx), %edi
	andl	$15, %edi
	callq	_int_to_char
	movq	-48(%rbp), %rcx
	movl	%eax, 20(%rcx,%r12,4)
	addq	$6, %r12
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	4(%rbx), %edi
	addq	$4, %rbx
	testl	%edi, %edi
	je	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$256, %edi                      ## imm = 0x100
	jge	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_is_ecma_nonblank
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%rbx), %eax
	movq	-48(%rbp), %rcx
	movl	%eax, (%rcx,%r12,4)
	incq	%r12
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %rax
	movl	$37, (%rax,%r12,4)
	movl	(%rbx), %edi
	sarl	$4, %edi
	callq	_int_to_char
	movq	-48(%rbp), %rcx
	movl	%eax, 4(%rcx,%r12,4)
	movl	(%rbx), %edi
	andl	$15, %edi
	callq	_int_to_char
	movq	-48(%rbp), %rcx
	movl	%eax, 8(%rcx,%r12,4)
	addq	$3, %r12
	jmp	LBB0_19
LBB0_20:
	movq	-64(%rbp), %rdi
	callq	_jsstr_release
	movq	%r14, %rdi
	testq	%r15, %r15
	je	LBB0_22
LBB0_21:
	callq	_jsval_string
	movl	%eax, (%r15)
LBB0_23:
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %ebx
LBB0_25:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	-64(%rbp), %rdi
	callq	_jsstr_release
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_22:
	callq	_jsstr_release
	jmp	LBB0_23
	.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_escape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function JSGlobal_escape
lCPI0_0:
	.long	37                              ; 0x25
	.long	117                             ; 0x75
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_JSGlobal_escape:                       ; @JSGlobal_escape
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	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_8
; %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_24
; %bb.2:
	ldr	x8, [sp, #16]
	ldr	w0, [x8]
	cbz	w0, LBB0_10
; %bb.3:
	mov	x20, #0
	add	x21, x8, #4
	mov	w22, #3
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_is_ecma_nonblank
	cmp	x0, #0
	csinc	x8, x22, xzr, eq
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, x8
	ldr	w0, [x21], #4
	cbz	w0, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w0, #255
	b.le	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #6
	b	LBB0_5
LBB0_8:
	cbz	x19, LBB0_22
; %bb.9:
	bl	_jsstr_undefined
	b	LBB0_21
LBB0_10:
	mov	x20, #0
LBB0_11:
	add	x1, sp, #8
	mov	x0, x20
	bl	_jsstr_alloc_buf
	cbz	x0, LBB0_25
; %bb.12:
	mov	x20, x0
	ldr	x21, [sp, #16]
	ldr	w0, [x21]
	cbz	w0, LBB0_20
; %bb.13:
	mov	x22, #0
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	mov	w23, #37
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [sp, #8]
	lsl	x24, x22, #2
	str	d8, [x8, x24]
	ldr	w8, [x21]
	asr	w0, w8, #12
	bl	_int_to_char
	ldr	x8, [sp, #8]
	add	x8, x24, x8
	str	w0, [x8, #8]
	ldr	w8, [x21]
	ubfx	w0, w8, #8, #4
	bl	_int_to_char
	ldr	x8, [sp, #8]
	add	x8, x24, x8
	str	w0, [x8, #12]
	ldr	w8, [x21]
	ubfx	w0, w8, #4, #4
	bl	_int_to_char
	ldr	x8, [sp, #8]
	add	x8, x24, x8
	str	w0, [x8, #16]
	ldr	w8, [x21]
	and	w0, w8, #0xf
	bl	_int_to_char
	ldr	x8, [sp, #8]
	add	x22, x22, #6
	add	x8, x24, x8
	str	w0, [x8, #20]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x21, #4]!
	cbz	w0, LBB0_20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmp	w0, #256
	b.ge	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	bl	_is_ecma_nonblank
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x21]
	ldr	x9, [sp, #8]
	str	w8, [x9, x22, lsl #2]
	add	x22, x22, #1
	b	LBB0_15
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [sp, #8]
	lsl	x24, x22, #2
	str	w23, [x8, x24]
	ldr	w8, [x21]
	asr	w0, w8, #4
	bl	_int_to_char
	ldr	x8, [sp, #8]
	add	x8, x24, x8
	str	w0, [x8, #4]
	ldr	w8, [x21]
	and	w0, w8, #0xf
	bl	_int_to_char
	ldr	x8, [sp, #8]
	add	x22, x22, #3
	add	x8, x24, x8
	str	w0, [x8, #8]
	b	LBB0_15
LBB0_20:
	ldr	x0, [sp, #24]
	bl	_jsstr_release
	mov	x0, x20
	cbz	x19, LBB0_26
LBB0_21:
	bl	_jsval_string
	str	w0, [x19]
LBB0_22:
Lloh4:
	adrp	x8, _S_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_23:
	ldr	w20, [x8]
LBB0_24:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	ldr	x0, [sp, #24]
	bl	_jsstr_release
Lloh6:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_23
LBB0_26:
	bl	_jsstr_release
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.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_escape
.subsections_via_symbols
