	.file	"extr_global.c_JSGlobal_escape.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.type	JSGlobal_escape, @function
JSGlobal_escape:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	TRACE@PLT
	test	ebx, ebx
	jne	.L2
	test	r13, r13
	je	.L18
	xor	eax, eax
	call	jsstr_undefined@PLT
	mov	rdi, rax
	call	jsval_string@PLT
	mov	DWORD PTR 0[r13], eax
.L18:
	mov	r12d, DWORD PTR S_OK[rip]
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L30
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR [r12]
	mov	rdi, rbp
	lea	rcx, 8[rsp]
	mov	rdx, rsp
	call	to_flat_string@PLT
	mov	edi, eax
	mov	r12d, eax
	call	FAILED@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L1
	mov	rbx, QWORD PTR 8[rsp]
	xor	r12d, r12d
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	jne	.L9
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L31:
	mov	edi, DWORD PTR 4[rbx]
	add	rbx, 4
	add	r12, 6
	test	edi, edi
	je	.L5
.L9:
	cmp	edi, 255
	jg	.L31
	call	is_ecma_nonblank@PLT
	mov	r8, rax
	lea	rax, 1[r12]
	add	r12, 3
	test	r8, r8
	cmovne	r12, rax
	mov	edi, DWORD PTR 4[rbx]
	add	rbx, 4
	test	edi, edi
	jne	.L9
.L5:
	lea	rsi, 16[rsp]
	mov	rdi, r12
	call	jsstr_alloc_buf@PLT
	mov	r14, rax
	test	rax, rax
	je	.L32
	mov	rbx, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	jne	.L11
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rax, QWORD PTR 16[rsp]
	mov	DWORD PTR [rax+rbp*4], 37
	lea	r15, 8[rax+r12]
	add	rbp, 6
	mov	DWORD PTR 4[rax+r12], 117
	mov	edi, DWORD PTR [rbx]
	sar	edi, 12
	call	int_to_char@PLT
	mov	DWORD PTR [r15], eax
	mov	edi, DWORD PTR [rbx]
	mov	rax, QWORD PTR 16[rsp]
	sar	edi, 8
	and	edi, 15
	lea	r15, 12[rax+r12]
	call	int_to_char@PLT
	mov	DWORD PTR [r15], eax
	mov	edi, DWORD PTR [rbx]
	mov	rax, QWORD PTR 16[rsp]
	sar	edi, 4
	and	edi, 15
	lea	r15, 16[rax+r12]
	call	int_to_char@PLT
	mov	DWORD PTR [r15], eax
	mov	edi, DWORD PTR [rbx]
	mov	rax, QWORD PTR 16[rsp]
	and	edi, 15
	lea	r12, 20[rax+r12]
	call	int_to_char@PLT
	mov	DWORD PTR [r12], eax
.L15:
	mov	edi, DWORD PTR 4[rbx]
	add	rbx, 4
	test	edi, edi
	je	.L17
.L11:
	lea	r12, 0[0+rbp*4]
	lea	r15, 1[rbp]
	cmp	edi, 255
	jg	.L33
	call	is_ecma_nonblank@PLT
	test	rax, rax
	je	.L16
	mov	edx, DWORD PTR [rbx]
	mov	rax, QWORD PTR 16[rsp]
	add	rbx, 4
	mov	rbp, r15
	mov	DWORD PTR [rax+r12], edx
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	jne	.L11
.L17:
	mov	rdi, QWORD PTR [rsp]
	call	jsstr_release@PLT
	test	r13, r13
	je	.L34
	mov	rdi, r14
	call	jsval_string@PLT
	mov	DWORD PTR 0[r13], eax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR 16[rsp]
	add	rbp, 3
	mov	DWORD PTR [rax+r12], 37
	mov	edi, DWORD PTR [rbx]
	lea	r15, 4[rax+r12]
	sar	edi, 4
	call	int_to_char@PLT
	mov	DWORD PTR [r15], eax
	mov	edi, DWORD PTR [rbx]
	mov	rax, QWORD PTR 16[rsp]
	and	edi, 15
	lea	r12, 8[rax+r12]
	call	int_to_char@PLT
	mov	DWORD PTR [r12], eax
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rdi, r14
	call	jsstr_release@PLT
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdi, QWORD PTR [rsp]
	call	jsstr_release@PLT
	mov	r12d, DWORD PTR E_OUTOFMEMORY[rip]
	jmp	.L1
.L30:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	JSGlobal_escape, .-JSGlobal_escape
	.comm	S_OK,4,4
	.comm	E_OUTOFMEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_global.c_JSGlobal_escape.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	JSGlobal_escape, %function
JSGlobal_escape:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r3
	ldr	r3, .L34
	sub	sp, sp, #28
	mov	r5, r0
	ldr	r0, .L34+4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r6, [sp, #64]
	ldr	r7, [sp, #68]
	bl	TRACE
	cmp	r4, #0
	bne	.L2
	cmp	r7, #0
	beq	.L18
	bl	jsstr_undefined
	bl	jsval_string
	str	r0, [r7]
.L18:
	ldr	r3, .L34+8
	ldr	r4, [r3]
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r0, r5
	ldr	r1, [r6]
	add	r3, sp, #12
	add	r2, sp, #8
	bl	to_flat_string
	mov	r4, r0
	bl	FAILED
	subs	r5, r0, #0
	bne	.L1
	ldr	r4, [sp, #12]
	mov	r6, r5
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L9
	b	.L5
.L7:
	ldr	r0, [r4, #4]!
	cmp	r0, #0
	beq	.L5
.L9:
	cmp	r0, #255
	addgt	r6, r6, #6
	bgt	.L7
	bl	is_ecma_nonblank
	cmp	r0, #0
	ldr	r0, [r4, #4]!
	addne	r6, r6, #1
	addeq	r6, r6, #3
	cmp	r0, #0
	bne	.L9
.L5:
	mov	r0, r6
	add	r1, sp, #16
	bl	jsstr_alloc_buf
	subs	r3, r0, #0
	str	r3, [sp, #4]
	beq	.L31
	ldr	r6, [sp, #12]
	ldr	r0, [r6]
	cmp	r0, #0
	beq	.L17
	mov	r8, #37
	mov	r10, #117
	b	.L11
.L32:
	ldr	fp, [sp, #16]
	add	r9, r4, #8
	add	r2, fp, r4
	str	r8, [fp, r5, lsl #2]
	str	r10, [r2, #4]
	ldr	r0, [r6]
	add	r5, r5, #6
	asr	r0, r0, #12
	bl	int_to_char
	str	r0, [fp, r9]
	ldr	r0, [r6]
	ldr	fp, [sp, #16]
	asr	r0, r0, #8
	and	r0, r0, #15
	bl	int_to_char
	add	r3, r4, #12
	str	r0, [fp, r3]
	ldr	r0, [r6]
	ldr	fp, [sp, #16]
	asr	r0, r0, #4
	and	r0, r0, #15
	bl	int_to_char
	add	r3, r4, #16
	str	r0, [fp, r3]
	ldr	r0, [r6]
	ldr	fp, [sp, #16]
	and	r0, r0, #15
	bl	int_to_char
	add	r4, r4, #20
	str	r0, [fp, r4]
.L15:
	ldr	r0, [r6, #4]!
	cmp	r0, #0
	beq	.L17
.L11:
	cmp	r0, #255
	lsl	r4, r5, #2
	add	fp, r5, #1
	bgt	.L32
	bl	is_ecma_nonblank
	cmp	r0, #0
	beq	.L16
	ldr	r2, [r6]
	ldr	r3, [sp, #16]
	mov	r5, fp
	str	r2, [r3, r4]
	ldr	r0, [r6, #4]!
	cmp	r0, #0
	bne	.L11
.L17:
	ldr	r0, [sp, #8]
	bl	jsstr_release
	cmp	r7, #0
	beq	.L33
	ldr	r0, [sp, #4]
	bl	jsval_string
	str	r0, [r7]
	b	.L18
.L16:
	ldr	fp, [sp, #16]
	add	r3, r4, #4
	str	r8, [fp, r4]
	ldr	r0, [r6]
	str	r3, [sp]
	asr	r0, r0, #4
	bl	int_to_char
	ldr	r3, [sp]
	add	r4, r4, #8
	str	r0, [fp, r3]
	ldr	r0, [r6]
	ldr	fp, [sp, #16]
	and	r0, r0, #15
	bl	int_to_char
	add	r5, r5, #3
	str	r0, [fp, r4]
	b	.L15
.L33:
	ldr	r0, [sp, #4]
	bl	jsstr_release
	b	.L18
.L31:
	ldr	r0, [sp, #8]
	bl	jsstr_release
	ldr	r3, .L34+12
	ldr	r4, [r3]
	b	.L1
.L30:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC1
	.word	.LC0
	.word	S_OK
	.word	E_OUTOFMEMORY
	.size	JSGlobal_escape, .-JSGlobal_escape
	.comm	S_OK,4,4
	.comm	E_OUTOFMEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
