LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsobject.c
// Function: O_keys
static void O_keys(js_State *J)
{
	js_Object *obj;
	char name[32];
	int i, k;

	if (!js_isobject(J, 1))
		js_typeerror(J, "not an object");
	obj = js_toobject(J, 1);

	js_newarray(J);

	if (obj->properties->level)
		i = O_keys_walk(J, obj->properties, 0);
	else
		i = 0;

	if (obj->type == JS_CSTRING) {
		for (k = 0; k < obj->u.s.length; ++k) {
			js_itoa(name, k);
			js_pushstring(J, name);
			js_setindex(J, -2, i++);
		}
	}

	if (obj->type == JS_CARRAY && obj->u.a.simple) {
		for (k = 0; k < obj->u.a.flat_length; ++k) {
			js_itoa(name, k);
			js_pushstring(J, name);
			js_setindex(J, -2, i++);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl 0x144(%rdi), %eax
cmpl $-0x1, %eax
jl 0x1171e
incl %eax
cmpl 0x140(%rbx), %eax
jge 0x1171e
movq 0x148(%rbx), %rcx
movl %eax, %esi
movq %rsi, %rax
shlq $0x4, %rax
cmpb $0x7, 0xf(%rcx,%rax)
jne 0x1180c
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
jmp 0x11732
cmpb $0x7, 0x2ece2(%rip)     # 0x40407
jne 0x1180c
leaq 0x2ecc6(%rip), %rsi     # 0x403f8
movq %rbx, %rdi
callq 0x14fb2
movq %rax, %r14
movq %rbx, %rdi
callq 0x1318e
movq 0x8(%r14), %rsi
cmpl $0x0, 0x10(%rsi)
je 0x1175e
movq %rbx, %rdi
xorl %edx, %edx
callq 0x21fb9
movl %eax, %r15d
jmp 0x11761
xorl %r15d, %r15d
movl (%r14), %eax
cmpl $0x8, %eax
jne 0x117b2
cmpl $0x0, 0x20(%r14)
jle 0x117fd
xorl %r12d, %r12d
movq %rsp, %r13
leal (%r15,%r12), %ebp
movq %r13, %rdi
movl %r12d, %esi
callq 0x1289d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x13215
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movl %ebp, %edx
callq 0x134ed
incl %r12d
cmpl 0x20(%r14), %r12d
jl 0x1177a
movl (%r14), %eax
addl %r12d, %r15d
cmpl $0x1, %eax
jne 0x117fd
cmpl $0x0, 0x24(%r14)
je 0x117fd
cmpl $0x0, 0x28(%r14)
jle 0x117fd
xorl %r12d, %r12d
movq %rsp, %r13
leal (%r15,%r12), %ebp
movq %r13, %rdi
movl %r12d, %esi
callq 0x1289d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x13215
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movl %ebp, %edx
callq 0x134ed
incl %r12d
cmpl 0x28(%r14), %r12d
jl 0x117cb
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x238f9(%rip), %rsi     # 0x3510c
movq %rbx, %rdi
xorl %eax, %eax
callq 0xca10
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsrun.c
// Function: checkstring
static js_Value *stackidx(js_State *J, int idx)
{
	static js_Value undefined = { { {0}, JS_TUNDEFINED } };
	idx = idx < 0 ? TOP + idx : BOT + idx;
	if (idx < 0 || idx >= TOP)
		return &undefined;
	return STACK + idx;
}

// Assembly:
movslq 0x144(%rdi), %rsi
testq %rsi, %rsi
js 0x28ea3
cmpl 0x140(%rdi), %esi
jge 0x28ebb
movq 0x148(%rdi), %rax
shlq $0x4, %rsi
movb 0xf(%rax,%rsi), %al
decb %al
cmpb $0x2, %al
jb 0x28ec7
addq 0x148(%rdi), %rsi
jmp 0x14e64
movb 0x1755e(%rip), %al      # 0x40407
decb %al
cmpb $0x1, %al
jbe 0x28ec7
leaq 0x17542(%rip), %rsi     # 0x403f8
jmp 0x14e64
movb 0x17546(%rip), %al      # 0x40407
decb %al
cmpb $0x2, %al
jae 0x28eaf
pushq %rax
leaq 0xc37c(%rip), %rsi      # 0x3524b
xorl %eax, %eax
callq 0xca10
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./json.c
// Function: JSON_parse
static void JSON_parse(js_State *J)
{
	const char *source = js_tostring(J, 1);
	jsY_initlex(J, "JSON", source);
	jsonnext(J);

	if (js_iscallable(J, 2)) {
		js_newobject(J);
		jsonvalue(J);
		js_defproperty(J, -2, "", 0);
		jsonrevive(J, "");
	} else {
		jsonvalue(J);
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x144(%rdi), %eax
leaq 0x2ea26(%rip), %rsi     # 0x403f8
cmpl $-0x1, %eax
jl 0x119ee
incl %eax
cmpl 0x140(%rbx), %eax
jge 0x119ee
movl %eax, %esi
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
movq %rbx, %rdi
callq 0x14e64
leaq 0x2174b(%rip), %rcx     # 0x33148
movq %rcx, 0x38(%rbx)
movq %rax, 0x40(%rbx)
movl $0x1, 0x48(%rbx)
movl $0x0, 0x68(%rbx)
movq %rbx, %rdi
callq 0xe2b6
movq %rbx, %rdi
callq 0xef69
movl %eax, 0x74(%rbx)
movq %rbx, %rdi
movl $0x2, %esi
callq 0x14940
testl %eax, %eax
je 0x11a72
movq %rbx, %rdi
callq 0x19f69
movq %rbx, %rdi
callq 0x22021
leaq 0x22968(%rip), %r14     # 0x343b6
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x662a
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x221f3
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x22021
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsparse.c
// Function: jsP_freeparse
void jsP_freeparse(js_State *J)
{
	js_Ast *node = J->gcast;
	while (node) {
		js_Ast *next = node->gcnext;
		jsP_freejumps(J, node->jumps);
		js_free(J, node);
		node = next;
	}
	J->gcast = NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x88(%rdi), %r14
testq %r14, %r14
je 0x11d49
movq 0x40(%r14), %rsi
movq 0x50(%r14), %r15
testq %rsi, %rsi
je 0x11d36
movq 0x8(%rsi), %r12
movq (%rbx), %rdi
xorl %edx, %edx
callq *0x10(%rbx)
movq %r12, %rsi
testq %r12, %r12
jne 0x11d22
movq (%rbx), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq *0x10(%rbx)
movq %r15, %r14
testq %r15, %r15
jne 0x11d15
movq $0x0, 0x88(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsparse.c
// Function: jsP_parse
js_Ast *jsP_parse(js_State *J, const char *filename, const char *source)
{
	js_Ast *p;

	jsY_initlex(J, filename, source);
	jsP_next(J);
	J->astdepth = 0;
	p = script(J, 0);
	if (p)
		jsP_foldconst(p);

	return p;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, 0x38(%rdi)
movq %rdx, 0x40(%rdi)
movl $0x1, 0x48(%rdi)
xorl %ebp, %ebp
movl %ebp, 0x68(%rdi)
callq 0xe2b6
movq %rbx, %rdi
callq 0xe333
movl %eax, 0x68(%rbx)
movl %eax, 0x74(%rbx)
movl %ebp, 0x70(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x11db4
movq %rax, %rbx
testq %rax, %rax
je 0x11daa
movq %rbx, %rdi
callq 0x11ebf
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsparse.c
// Function: script
static js_Ast *script(js_State *J, int terminator)
{
	js_Ast *head, *tail;
	if (J->lookahead == terminator)
		return NULL;
	head = tail = LIST(scriptelement(J));
	while (J->lookahead != terminator)
		tail = tail->b = LIST(scriptelement(J));
	return jsP_list(head);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpl %esi, 0x74(%rdi)
jne 0x11dcb
xorl %ebx, %ebx
jmp 0x11ead
movl %esi, %ebp
movq %rdi, %r14
callq 0x23434
movq %rax, %r15
movq %r14, %rdi
movl $0x58, %esi
callq 0xde05
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq %r15, 0x10(%rax)
movups %xmm0, 0x18(%rax)
movups %xmm0, 0x28(%rax)
movups %xmm0, 0x38(%rax)
movl $0x0, 0x48(%rax)
testq %r15, %r15
je 0x11e0e
movq %rbx, 0x8(%r15)
movq 0x88(%r14), %rax
movq %rax, 0x50(%rbx)
movq %rbx, 0x88(%r14)
cmpl %ebp, 0x74(%r14)
je 0x11ead
movq %rbx, %r12
addq $0x18, %r12
movq %rbx, %r13
movq %r14, %rdi
callq 0x23434
movq %rax, %r15
movq %r14, %rdi
movl $0x58, %esi
callq 0xde05
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq %r15, 0x10(%rax)
movups %xmm0, 0x18(%rax)
movups %xmm0, 0x28(%rax)
movups %xmm0, 0x38(%rax)
movl $0x0, 0x48(%rax)
testq %r15, %r15
je 0x11e72
movq %rax, 0x8(%r15)
movq 0x88(%r14), %rcx
movq %rcx, 0x50(%rax)
movq %rax, 0x88(%r14)
movq %rax, 0x18(%r13)
movq %rax, %r13
cmpl %ebp, 0x74(%r14)
jne 0x11e34
movq (%r12), %rax
testq %rax, %rax
je 0x11ead
movq %rbx, %rcx
movq %rcx, 0x8(%rax)
movq %rax, %rcx
movq 0x18(%rax), %rax
testq %rax, %rax
jne 0x11e9d
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsparse.c
// Function: jsP_parsefunction
js_Ast *jsP_parsefunction(js_State *J, const char *filename, const char *params, const char *body)
{
	js_Ast *p = NULL;
	int line = 0;
	if (params) {
		jsY_initlex(J, filename, params);
		jsP_next(J);
		J->astdepth = 0;
		p = parameters(J);
	}
	return EXP3(FUN, NULL, p, jsP_parse(J, filename, body));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rsi, %r12
movq %rdi, %rbx
xorl %r14d, %r14d
testq %rdx, %rdx
je 0x1210e
movq %r12, 0x38(%rbx)
movq %rdx, 0x40(%rbx)
movl $0x1, 0x48(%rbx)
movl %r14d, 0x68(%rbx)
movq %rbx, %rdi
callq 0xe2b6
movq %rbx, %rdi
callq 0xe333
movl %eax, 0x68(%rbx)
movl %eax, 0x74(%rbx)
movl %r14d, 0x70(%rbx)
movq %rbx, %rdi
callq 0x12147
movq %rax, %r14
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x11d60
movq $0x0, (%rsp)
movq %rbx, %rdi
movl $0x11, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r8
movq %rax, %r9
callq 0x1225c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsparse.c
// Function: parameters
static js_Ast *parameters(js_State *J)
{
	js_Ast *head, *tail;
	if (J->lookahead == ')')
		return NULL;
	head = tail = LIST(identifier(J));
	while (jsP_accept(J, ',')) {
		tail = tail->b = LIST(identifier(J));
	}
	return jsP_list(head);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpl $0x29, 0x74(%rdi)
jne 0x1215d
xorl %ebx, %ebx
jmp 0x1224f
movq %rdi, %r14
callq 0x24063
movq %rax, %r15
movq %r14, %rdi
movl $0x58, %esi
callq 0xde05
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq %r15, 0x10(%rax)
movups %xmm0, 0x18(%rax)
movups %xmm0, 0x28(%rax)
movups %xmm0, 0x38(%rax)
movl $0x0, 0x48(%rax)
testq %r15, %r15
je 0x1219e
movq %rbx, 0x8(%r15)
movq 0x88(%r14), %rax
movq %rax, 0x50(%rbx)
movq %rbx, 0x88(%r14)
cmpl $0x2c, 0x74(%r14)
jne 0x1224f
movq %rbx, %r12
addq $0x18, %r12
movq %rbx, %r13
movq %r14, %rdi
callq 0xe333
movl %eax, 0x68(%r14)
movl %eax, 0x74(%r14)
movq %r14, %rdi
callq 0x24063
movq %rax, %r15
movq %r14, %rdi
movl $0x58, %esi
callq 0xde05
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq %r15, 0x10(%rax)
movups %xmm0, 0x18(%rax)
movups %xmm0, 0x28(%rax)
movups %xmm0, 0x38(%rax)
movl $0x0, 0x48(%rax)
testq %r15, %r15
je 0x12213
movq %rax, 0x8(%r15)
movq 0x88(%r14), %rcx
movq %rcx, 0x50(%rax)
movq %rax, 0x88(%r14)
movq %rax, 0x18(%r13)
cmpl $0x2c, 0x74(%r14)
movq %rax, %r13
je 0x121c5
movq (%r12), %rax
testq %rax, %rax
je 0x1224f
movq %rbx, %rcx
movq %rcx, 0x8(%rax)
movq %rax, %rcx
movq 0x18(%rax), %rax
testq %rax, %rax
jne 0x1223f
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsparse.c
// Function: jsP_newnode
static js_Ast *jsP_newnode(js_State *J, enum js_AstType type, int line, js_Ast *a, js_Ast *b, js_Ast *c, js_Ast *d)
{
	js_Ast *node = js_malloc(J, sizeof *node);

	node->type = type;
	node->line = line;
	node->a = a;
	node->b = b;
	node->c = c;
	node->d = d;
	node->number = 0;
	node->string = NULL;
	node->jumps = NULL;
	node->casejump = 0;

	node->parent = NULL;
	if (a) a->parent = node;
	if (b) b->parent = node;
	if (c) c->parent = node;
	if (d) d->parent = node;

	node->gcnext = J->gcast;
	J->gcast = node;

	return node;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movl %edx, %ebp
movl %esi, %r13d
movq %rdi, %rbx
movl $0x58, %esi
callq 0xde05
movq 0x40(%rsp), %rcx
movl %r13d, (%rax)
movl %ebp, 0x4(%rax)
movq %r12, 0x10(%rax)
movq %r15, 0x18(%rax)
movq %r14, 0x20(%rax)
movq %rcx, 0x28(%rax)
movq $0x0, 0x8(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x3c(%rax)
testq %r12, %r12
je 0x122ba
movq %rax, 0x8(%r12)
testq %r15, %r15
je 0x122c3
movq %rax, 0x8(%r15)
testq %r14, %r14
je 0x122cc
movq %rax, 0x8(%r14)
testq %rcx, %rcx
je 0x122d5
movq %rax, 0x8(%rcx)
movq 0x88(%rbx), %rcx
movq %rcx, 0x50(%rax)
movq %rax, 0x88(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: jsV_getpropertyx
js_Property *jsV_getpropertyx(js_State *J, js_Object *obj, const char *name, int *own)
{
	*own = 1;
	do {
		js_Property *ref = lookup(obj->properties, name);
		if (ref)
			return ref;
		obj = obj->prototype;
		*own = 0;
	} while (obj);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movl $0x1, (%rcx)
leaq 0x2e062(%rip), %r13     # 0x403b8
movq 0x8(%r15), %r12
cmpq %r13, %r12
je 0x12380
leaq 0x38(%r12), %rsi
movq %r14, %rdi
callq 0x32f0
testl %eax, %eax
je 0x1237b
notl %eax
shrl $0x1f, %eax
movq (%r12,%rax,8), %r12
jmp 0x1235a
testq %r12, %r12
jne 0x12392
movq 0x18(%r15), %r15
movl $0x0, (%rbx)
testq %r15, %r15
jne 0x12356
xorl %r12d, %r12d
movq %r12, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: jsV_getproperty
js_Property *jsV_getproperty(js_State *J, js_Object *obj, const char *name)
{
	do {
		js_Property *ref = lookup(obj->properties, name);
		if (ref)
			return ref;
		obj = obj->prototype;
	} while (obj);
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x2e004(%rip), %r12     # 0x403b8
movq 0x8(%r14), %r15
cmpq %r12, %r15
je 0x123dd
leaq 0x38(%r15), %rsi
movq %rbx, %rdi
callq 0x32f0
testl %eax, %eax
je 0x123d8
notl %eax
shrl $0x1f, %eax
movq (%r15,%rax,8), %r15
jmp 0x123b8
testq %r15, %r15
jne 0x123e9
movq 0x18(%r14), %r14
testq %r14, %r14
jne 0x123b4
xorl %r15d, %r15d
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: jsV_setproperty
js_Property *jsV_setproperty(js_State *J, js_Object *obj, const char *name)
{
	js_Property *result;

	if (!obj->extensible) {
		result = lookup(obj->properties, name);
		if (J->strict && !result)
			js_typeerror(J, "object is non-extensible");
		return result;
	}

	obj->properties = insert(J, obj, obj->properties, name, &result);

	return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r15
movq %rdi, %rbx
cmpl $0x0, 0x4(%rsi)
movq 0x8(%rsi), %r14
je 0x12439
movq %rsi, %r12
leaq 0x8(%rsp), %r13
movq %rbx, %rdi
movq %r14, %rdx
movq %r15, %rcx
movq %r13, %r8
callq 0x12490
movq %rax, 0x8(%r12)
movq (%r13), %r14
jmp 0x1246e
leaq 0x2df78(%rip), %r12     # 0x403b8
cmpq %r12, %r14
je 0x12460
leaq 0x38(%r14), %rsi
movq %r15, %rdi
callq 0x32f0
testl %eax, %eax
je 0x12463
notl %eax
shrl $0x1f, %eax
movq (%r14,%rax,8), %r14
jmp 0x12440
xorl %r14d, %r14d
testq %r14, %r14
jne 0x1246e
cmpl $0x0, 0x34(%rbx)
jne 0x1247f
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x21208(%rip), %rsi     # 0x3368e
movq %rbx, %rdi
xorl %eax, %eax
callq 0xca10
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: insert
static js_Property *insert(js_State *J, js_Object *obj, js_Property *node, const char *name, js_Property **result)
{
	if (node != &sentinel) {
		int c = strcmp(name, node->name);
		if (c < 0)
			node->left = insert(J, obj, node->left, name, result);
		else if (c > 0)
			node->right = insert(J, obj, node->right, name, result);
		else
			return *result = node;
		node = skew(node);
		node = split(node);
		return node;
	}
	return *result = newproperty(J, obj, name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %r15
movq %rsi, %r12
movq %rdi, %r13
leaq 0x2df0a(%rip), %rbp     # 0x403b8
cmpq %rbp, %rdx
je 0x124df
movq %rdx, %rbx
leaq 0x38(%rdx), %rsi
movq %r15, %rdi
callq 0x32f0
testl %eax, %eax
jns 0x1253f
movq (%rbx), %rdx
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rcx
movq %r14, %r8
callq 0x12490
movq %rax, (%rbx)
jmp 0x1255d
movq %r15, %rdi
callq 0x3200
leal 0x1(%rax), %ecx
movslq %ecx, %rcx
movq %rcx, (%rsp)
leal 0x39(%rax), %esi
movq %r13, %rdi
callq 0xde05
movq %rax, %rbx
movq %rbp, 0x8(%rax)
movq %rbp, (%rax)
movq $0x1, 0x10(%rax)
movb $0x1, 0x27(%rax)
movq $0x0, 0x18(%rax)
leaq 0x38(%rax), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rax)
movq %r15, %rsi
movq (%rsp), %rdx
callq 0x33d0
incl 0x10(%r12)
incl 0x154(%r13)
jmp 0x1257c
je 0x1257c
movq 0x8(%rbx), %rdx
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rcx
movq %r14, %r8
callq 0x12490
movq %rax, 0x8(%rbx)
movq (%rbx), %rax
movl 0x10(%rax), %ecx
movl 0x10(%rbx), %edx
cmpl %edx, %ecx
jne 0x12581
movq 0x8(%rax), %rdx
movq %rdx, (%rbx)
movq %rbx, 0x8(%rax)
movl %ecx, %edx
movq %rbx, %rcx
movq %rax, %rbx
jmp 0x12585
movq %rbx, (%r14)
jmp 0x1259e
movq 0x8(%rbx), %rcx
movq 0x8(%rcx), %rax
cmpl %edx, 0x10(%rax)
jne 0x1259e
movq (%rcx), %rax
movq %rax, 0x8(%rbx)
movq %rbx, (%rcx)
incl 0x10(%rcx)
movq %rcx, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: jsV_newiterator
js_Object *jsV_newiterator(js_State *J, js_Object *obj, int own)
{
	js_Object *io = jsV_newobject(J, JS_CITERATOR, NULL);
	io->u.iter.target = obj;
	io->u.iter.i = 0;
	io->u.iter.n = 0;
	if (own) {
		io->u.iter.head = NULL;
		if (obj->properties != &sentinel)
			io->u.iter.head = itwalk(J, io->u.iter.head, obj->properties, NULL);
	} else {
		io->u.iter.head = itflatten(J, obj);
	}
	io->u.iter.current = io->u.iter.head;

	if (obj->type == JS_CSTRING)
		io->u.iter.n = obj->u.s.length;

	if (obj->type == JS_CARRAY && obj->u.a.simple)
		io->u.iter.n = obj->u.a.flat_length;

	return io;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
movl $0x68, %esi
callq 0xde05
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x50(%rax)
xorl %ecx, %ecx
movq %rcx, 0x60(%rax)
movq 0x170(%r15), %rax
movq %rax, 0x50(%r14)
movq %r14, 0x170(%r15)
incl 0x154(%r15)
movabsq $0x10000000e, %rax      # imm = 0x10000000E
movq %rax, (%r14)
leaq 0x2dd43(%rip), %rax     # 0x403b8
movq %rax, 0x8(%r14)
movq %rbx, 0x20(%r14)
movq %rcx, 0x28(%r14)
testl %ebp, %ebp
je 0x126a4
movq $0x0, 0x30(%r14)
movq 0x8(%rbx), %rdx
cmpq %rax, %rdx
je 0x126b5
movq %r15, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0x126eb
jmp 0x126af
movq %r15, %rdi
movq %rbx, %rsi
callq 0x127da
movq %rax, 0x30(%r14)
jmp 0x126b7
xorl %eax, %eax
movq %rax, 0x38(%r14)
movl (%rbx), %eax
cmpl $0x8, %eax
jne 0x126cb
movl 0x20(%rbx), %eax
movl %eax, 0x2c(%r14)
movl (%rbx), %eax
cmpl $0x1, %eax
jne 0x126dd
cmpl $0x0, 0x24(%rbx)
je 0x126dd
movl 0x28(%rbx), %eax
movl %eax, 0x2c(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: itwalk
static js_Iterator *itwalk(js_State *J, js_Iterator *iter, js_Property *prop, js_Object *seen)
{
	if (prop->right != &sentinel)
		iter = itwalk(J, iter, prop->right, seen);
	if (!(prop->atts & JS_DONTENUM)) {
		if (!seen || !jsV_getenumproperty(J, seen, prop->name)) {
			iter = itnewnode(J, prop->name, iter);
		}
	}
	if (prop->left != &sentinel)
		iter = itwalk(J, iter, prop->left, seen);
	return iter;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, 0x10(%rsp)
leaq 0x2dca8(%rip), %rbx     # 0x403b8
movq 0x8(%r14), %rdx
cmpq %rbx, %rdx
je 0x1272e
movq 0x10(%rsp), %rdi
movq %r15, %rsi
movq 0x8(%rsp), %rcx
callq 0x126eb
movq %rax, %r15
testb $0x2, 0x14(%r14)
jne 0x127bc
cmpq $0x0, 0x8(%rsp)
je 0x12785
leaq 0x38(%r14), %r13
movq 0x8(%rsp), %r12
movq 0x8(%r12), %rbp
cmpq %rbx, %rbp
je 0x1277b
leaq 0x38(%rbp), %rsi
movq %r13, %rdi
callq 0x32f0
testl %eax, %eax
je 0x12770
notl %eax
shrl $0x1f, %eax
movq (%rbp,%rax,8), %rbp
jmp 0x1274f
testq %rbp, %rbp
je 0x1277b
testb $0x2, 0x14(%rbp)
je 0x127bc
movq 0x18(%r12), %r12
testq %r12, %r12
jne 0x1274a
leaq 0x38(%r14), %r13
movq %r13, %rdi
callq 0x3200
leal 0x1(%rax), %ecx
movslq %ecx, %rbp
leal 0x9(%rax), %esi
movq 0x10(%rsp), %rdi
callq 0xde05
movq %rax, %r12
movq %r15, (%rax)
leaq 0x8(%rax), %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x33d0
movq %r12, %r15
movq (%r14), %r14
cmpq %rbx, %r14
jne 0x12710
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: itflatten
static js_Iterator *itflatten(js_State *J, js_Object *obj)
{
	js_Iterator *iter = NULL;
	if (obj->prototype)
		iter = itflatten(J, obj->prototype);
	if (obj->properties != &sentinel)
		iter = itwalk(J, iter, obj->properties, obj->prototype);
	return iter;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rsi), %rsi
testq %rsi, %rsi
je 0x127f7
movq %rbx, %rdi
callq 0x127da
jmp 0x127f9
xorl %eax, %eax
movq 0x8(%r14), %rdx
leaq 0x2dbb4(%rip), %rcx     # 0x403b8
cmpq %rcx, %rdx
je 0x1281f
movq 0x18(%r14), %rcx
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x126eb
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: jsV_nextiterator
const char *jsV_nextiterator(js_State *J, js_Object *io)
{
	if (io->type != JS_CITERATOR)
		js_typeerror(J, "not an iterator");
	if (io->u.iter.i < io->u.iter.n) {
		js_itoa(J->scratch, io->u.iter.i);
		io->u.iter.i++;
		return J->scratch;
	}
	while (io->u.iter.current) {
		const char *name = io->u.iter.current->name;
		io->u.iter.current = io->u.iter.current->next;
		if (jsV_getproperty(J, io->u.iter.target, name))
			return name;
	}
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
cmpl $0xe, (%rsi)
jne 0x1288c
movq %rsi, %rbx
movl 0x28(%rsi), %esi
cmpl 0x2c(%rbx), %esi
jge 0x12853
addq $0x10c, %r14            # imm = 0x10C
movq %r14, %rdi
callq 0x1289d
incl 0x28(%rbx)
jmp 0x12883
movq 0x38(%rbx), %rcx
testq %rcx, %rcx
je 0x12880
movq (%rcx), %r15
movq %rcx, %r14
addq $0x8, %r14
movq %r15, 0x38(%rbx)
movq 0x20(%rbx), %rsi
movq %r14, %rdx
callq 0x1239f
movq %r15, %rcx
testq %rax, %rax
je 0x12857
jmp 0x12883
xorl %r14d, %r14d
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x20e14(%rip), %rsi     # 0x336a7
movq %r14, %rdi
xorl %eax, %eax
callq 0xca10
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsvalue.c
// Function: js_itoa
const char *js_itoa(char *out, int v)
{
	char buf[32], *s = out;
	unsigned int a;
	int i = 0;
	if (v < 0) {
		a = -v;
		*s++ = '-';
	} else {
		a = v;
	}
	while (a) {
		buf[i++] = (a % 10) + '0';
		a /= 10;
	}
	if (i == 0)
		buf[i++] = '0';
	while (i > 0)
		*s++ = buf[--i];
	*s = 0;
	return out;
}

// Assembly:
movq %rdi, %rax
testl %esi, %esi
js 0x128b5
movq %rax, %rcx
jne 0x128be
movb $0x30, -0x28(%rsp)
xorl %edx, %edx
movq %rax, %rcx
jmp 0x128f6
negl %esi
leaq 0x1(%rax), %rcx
movb $0x2d, (%rax)
xorl %edx, %edx
movl $0xcccccccd, %edi       # imm = 0xCCCCCCCD
movl %esi, %r8d
imulq %rdi, %r8
shrq $0x23, %r8
leal (%r8,%r8), %r9d
leal (%r9,%r9,4), %r9d
movl %esi, %r10d
subl %r9d, %r10d
orb $0x30, %r10b
movb %r10b, -0x28(%rsp,%rdx)
incq %rdx
cmpl $0xa, %esi
movl %r8d, %esi
jae 0x128c5
testl %edx, %edx
jle 0x12913
cmpl $0x1, %edx
adcl $0x0, %edx
incq %rdx
movb -0x2a(%rsp,%rdx), %sil
movb %sil, (%rcx)
incq %rcx
decq %rdx
cmpq $0x1, %rdx
ja 0x128ff
movb $0x0, (%rcx)
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsproperty.c
// Function: jsV_resizearray
void jsV_resizearray(js_State *J, js_Object *obj, int newlen)
{
	char buf[32];
	const char *s;
	int k;
	assert(!obj->u.a.simple);
	if (newlen < obj->u.a.length) {
		if (obj->u.a.length > obj->count * 2) {
			js_Object *it = jsV_newiterator(J, obj, 1);
			while ((s = jsV_nextiterator(J, it))) {
				k = jsV_numbertointeger(jsV_stringtonumber(J, s));
				if (k >= newlen && !strcmp(s, jsV_numbertostring(J, buf, k)))
					jsV_delproperty(J, obj, s);
			}
		} else {
			for (k = newlen; k < obj->u.a.length; ++k) {
				jsV_delproperty(J, obj, js_itoa(buf, k));
			}
		}
	}
	obj->u.a.length = newlen;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x0, 0x24(%rsi)
jne 0x12a60
movl %edx, %ebx
movq %rsi, %r14
movl 0x20(%rsi), %eax
cmpl %edx, %eax
jle 0x12a4d
movq %rdi, %r15
movl 0x10(%r14), %ecx
addl %ecx, %ecx
cmpl %ecx, %eax
jle 0x12a28
movq %r15, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x1260c
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
callq 0x12827
testq %rax, %rax
je 0x12a4d
movq %rax, %rbp
movq %rsp, %r13
movq %rbp, %rsi
callq 0x12ada
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
je 0x129b0
ucomisd %xmm0, %xmm1
jbe 0x129b4
movapd 0x18a63(%rip), %xmm1    # 0x2b400
xorpd %xmm1, %xmm0
callq 0x3370
xorpd 0x18a52(%rip), %xmm0    # 0x2b400
jmp 0x129b9
xorl %eax, %eax
jmp 0x129df
callq 0x3370
movl $0x80000000, %eax       # imm = 0x80000000
movsd 0x18a6a(%rip), %xmm1    # 0x2b430
ucomisd %xmm0, %xmm1
ja 0x129df
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
ucomisd 0x18a5f(%rip), %xmm0    # 0x2b438
ja 0x129e3
cvttsd2si %xmm0, %eax
cmpl %ebx, %eax
jl 0x12a0f
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movq %r13, %rsi
callq 0x12c04
movq %rbp, %rdi
movq %rax, %rsi
callq 0x32f0
testl %eax, %eax
jne 0x12a0f
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x125b0
movq %r15, %rdi
movq %r12, %rsi
callq 0x12827
movq %rax, %rbp
testq %rax, %rax
jne 0x1297d
jmp 0x12a4d
movq %rsp, %r12
movl %ebx, %ebp
movq %r12, %rdi
movl %ebp, %esi
callq 0x1289d
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x125b0
incl %ebp
cmpl 0x20(%r14), %ebp
jl 0x12a2d
movl %ebx, 0x20(%r14)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20c50(%rip), %rdi     # 0x336b7
leaq 0x20c5a(%rip), %rsi     # 0x336c8
leaq 0x20c62(%rip), %rcx     # 0x336d7
movl $0x145, %edx            # imm = 0x145
callq 0x3130
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsvalue.c
// Function: jsV_numbertointeger
int jsV_numbertointeger(double n)
{
	if (n == 0) return 0;
	if (isnan(n)) return 0;
	n = (n < 0) ? -floor(-n) : floor(n);
	if (n < INT_MIN) return INT_MIN;
	if (n > INT_MAX) return INT_MAX;
	return (int)n;
}

// Assembly:
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
je 0x12aa7
pushq %rax
ucomisd %xmm0, %xmm1
jbe 0x12aaa
xorpd 0x18968(%rip), %xmm0    # 0x2b400
callq 0x3370
xorpd 0x1895b(%rip), %xmm0    # 0x2b400
jmp 0x12aaf
xorl %eax, %eax
retq
callq 0x3370
movl $0x80000000, %eax       # imm = 0x80000000
movsd 0x18974(%rip), %xmm1    # 0x2b430
ucomisd %xmm0, %xmm1
ja 0x12ad5
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
ucomisd 0x18969(%rip), %xmm0    # 0x2b438
ja 0x12ad5
cvttsd2si %xmm0, %eax
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsvalue.c
// Function: jsV_stringtonumber
double jsV_stringtonumber(js_State *J, const char *s)
{
	char *e;
	double n;
	while (jsY_iswhite(*s) || jsY_isnewline(*s)) ++s;
	if (s[0] == '0' && (s[1] == 'x' || s[1] == 'X') && s[2] != 0)
		n = js_strtol(s + 2, &e, 16);
	else if (!strncmp(s, "Infinity", 8))
		n = INFINITY, e = (char*)s + 8;
	else if (!strncmp(s, "+Infinity", 9))
		n = INFINITY, e = (char*)s + 9;
	else if (!strncmp(s, "-Infinity", 9))
		n = -INFINITY, e = (char*)s + 9;
	else
		n = js_stringtofloat(s, &e);
	while (jsY_iswhite(*e) || jsY_isnewline(*e)) ++e;
	if (*e) return NAN;
	return n;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movzbl (%rbx), %eax
leal -0x9(%rax), %ecx
cmpl $0x5, %ecx
jae 0x12af1
incq %rbx
jmp 0x12ae1
cmpl $0x20, %eax
je 0x12aec
cmpl $0x30, %eax
jne 0x12b56
movzbl 0x1(%rbx), %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x12b56
movzbl 0x2(%rbx), %ecx
testq %rcx, %rcx
je 0x12b56
addq $0x2, %rbx
leaq 0x19415(%rip), %rax     # 0x2bf30
movb (%rcx,%rax), %cl
xorpd %xmm0, %xmm0
cmpb $0xf, %cl
ja 0x12b50
movsd 0x18a39(%rip), %xmm1    # 0x2b568
movsbl %cl, %ecx
xorps %xmm2, %xmm2
cvtsi2sd %ecx, %xmm2
mulsd %xmm1, %xmm0
addsd %xmm2, %xmm0
movzbl 0x1(%rbx), %ecx
incq %rbx
movb (%rcx,%rax), %cl
cmpb $0x10, %cl
jb 0x12b2f
movq %rbx, (%rsp)
jmp 0x12bc7
leaq 0x20f59(%rip), %rsi     # 0x33ab6
movl $0x8, %edx
movq %rbx, %rdi
callq 0x3160
testl %eax, %eax
je 0x12bb1
leaq 0x20f40(%rip), %rsi     # 0x33ab5
movl $0x9, %edx
movq %rbx, %rdi
callq 0x3160
testl %eax, %eax
je 0x12bb7
leaq 0x20f32(%rip), %rsi     # 0x33abf
movl $0x9, %edx
movq %rbx, %rdi
callq 0x3160
testl %eax, %eax
je 0x12bf2
movq %rsp, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x19b93
movq (%r14), %rbx
jmp 0x12bc7
addq $0x8, %rbx
jmp 0x12bbb
addq $0x9, %rbx
movq %rbx, (%rsp)
movsd 0x18891(%rip), %xmm0    # 0x2b458
movb (%rbx), %al
movzbl %al, %ecx
leal -0x9(%rcx), %edx
cmpl $0x5, %edx
jae 0x12bd9
incq %rbx
jmp 0x12bc7
cmpl $0x20, %ecx
je 0x12bd4
testb %al, %al
je 0x12bea
movsd 0x18866(%rip), %xmm0    # 0x2b450
addq $0x8, %rsp
popq %rbx
popq %r14
retq
addq $0x9, %rbx
movq %rbx, (%rsp)
movsd 0x1886e(%rip), %xmm0    # 0x2b470
jmp 0x12bc7
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsregexp.c
// Function: js_newregexpx
static void js_newregexpx(js_State *J, const char *pattern, int flags, int is_clone)
{
	const char *error;
	js_Object *obj;
	Reprog *prog;
	int opts;

	obj = jsV_newobject(J, JS_CREGEXP, J->RegExp_prototype);

	opts = 0;
	if (flags & JS_REGEXP_I) opts |= REG_ICASE;
	if (flags & JS_REGEXP_M) opts |= REG_NEWLINE;

	prog = js_regcompx(J->alloc, J->actx, pattern, opts, &error);
	if (!prog)
		js_syntaxerror(J, "regular expression: %s", error);

	obj->u.r.prog = prog;
	obj->u.r.source = is_clone ? js_strdup(J, pattern) : escaperegexp(J, pattern);
	obj->u.r.flags = flags;
	obj->u.r.last = 0;
	js_pushobject(J, obj);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r12d
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
movq 0xc0(%rdi), %r13
movl $0x68, %esi
callq 0xde05
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x50(%rax)
movq $0x0, 0x60(%rax)
movq 0x170(%rbx), %rax
movq %rax, 0x50(%r14)
movq %r14, 0x170(%rbx)
incl 0x154(%rbx)
movabsq $0x100000009, %rax      # imm = 0x100000009
movq %rax, (%r14)
leaq 0x2d540(%rip), %rax     # 0x403b8
movq %rax, 0x8(%r14)
movq %r13, 0x18(%r14)
movl %ebp, %ecx
shrl %ecx
andl $0x3, %ecx
movq (%rbx), %rsi
movq 0x10(%rbx), %rdi
movq %rsp, %r8
movq %r15, %rdx
callq 0x7052
testq %rax, %rax
je 0x12f4f
movq %rax, 0x20(%r14)
testl %r12d, %r12d
je 0x12ed7
movq %r15, %rdi
callq 0x3200
movq %rax, %r13
incl %r13d
movq %rbx, %rdi
movl %r13d, %esi
callq 0xde05
movq %rax, %r12
movslq %r13d, %rdx
movq %rax, %rdi
movq %r15, %rsi
callq 0x33d0
jmp 0x12f25
xorl %esi, %esi
movq %r15, %rax
movzbl (%rax), %ecx
cmpl $0x2f, %ecx
je 0x12eea
testl %ecx, %ecx
jne 0x12eec
jmp 0x12ef3
incl %esi
incl %esi
incq %rax
jmp 0x12edc
incl %esi
movq %rbx, %rdi
callq 0xde05
movq %rax, %r12
movzbl (%r15), %ecx
cmpl $0x2f, %ecx
je 0x12f0f
testl %ecx, %ecx
jne 0x12f18
jmp 0x12f22
movb $0x5c, (%rax)
incq %rax
movb (%r15), %cl
movb %cl, (%rax)
incq %rax
incq %r15
jmp 0x12f00
movb $0x0, (%rax)
movq %r12, 0x28(%r14)
movw %bp, 0x30(%r14)
movw $0x0, 0x32(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4487
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rsp), %rdx
leaq 0x21ef2(%rip), %rsi     # 0x34e4c
movq %rbx, %rdi
xorl %eax, %eax
callq 0xc952
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsregexp.c
// Function: js_RegExp_prototype_exec
void js_RegExp_prototype_exec(js_State *J, js_Regexp *re, const char *text)
{
	const char *haystack;
	int result;
	int i;
	int opts;
	Resub m;

	haystack = text;
	opts = 0;
	if (re->flags & JS_REGEXP_G) {
		if (re->last > strlen(haystack)) {
			re->last = 0;
			js_pushnull(J);
			return;
		}
		if (re->last > 0) {
			haystack = text + re->last;
			opts |= REG_NOTBOL;
		}
	}

	result = js_regexec(re->prog, haystack, &m, opts);
	if (result < 0)
		js_error(J, "regexec failed");
	if (result == 0) {
		js_newarray(J);
		js_pushstring(J, text);
		js_setproperty(J, -2, "input");
		js_pushnumber(J, js_utfptrtoidx(text, m.sub[0].sp));
		js_setproperty(J, -2, "index");
		for (i = 0; i < m.nsub; ++i) {
			js_pushlstring(J, m.sub[i].sp, m.sub[i].ep - m.sub[i].sp);
			js_setindex(J, -2, i);
		}
		if (re->flags & JS_REGEXP_G)
			re->last = m.sub[0].ep - text;
		return;
	}

	if (re->flags & JS_REGEXP_G)
		re->last = 0;

	js_pushnull(J);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
xorl %ebp, %ebp
testb $0x1, 0x10(%rsi)
movq %rdx, %r12
je 0x12faa
movzwl 0x12(%rbx), %r12d
movq %r15, %rdi
callq 0x3200
cmpq %r12, %rax
jb 0x12ff0
xorl %ebp, %ebp
testq %r12, %r12
setne %bpl
addq %r15, %r12
shll $0x2, %ebp
movq (%rbx), %r13
movl 0x1c(%r13), %eax
leaq 0x8(%rsp), %rdi
movl %eax, -0x8(%rdi)
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0x3060
movq (%r13), %rdi
orl 0x18(%r13), %ebp
movq %rsp, %r8
movq %r12, %rsi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x1bccb
testl %eax, %eax
js 0x130c4
je 0x1300f
testb $0x1, 0x10(%rbx)
je 0x12ff6
movw $0x0, 0x12(%rbx)
movq %r14, %rdi
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x130d5
movq %r14, %rdi
callq 0x1318e
movq %r14, %rdi
movq %r15, %rsi
callq 0x13215
leaq 0x206f0(%rip), %rdx     # 0x33719
movq %r14, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x4193
movq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x13352
cvtsi2sd %eax, %xmm0
movq %r14, %rdi
callq 0x4124
leaq 0x206c9(%rip), %rdx     # 0x3371f
movq %r14, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x4193
movslq (%rsp), %r13
testq %r13, %r13
jle 0x130a1
leaq 0x10(%rsp), %rbp
xorl %r12d, %r12d
movq -0x8(%rbp), %rsi
movl (%rbp), %edx
subl %esi, %edx
movq %r14, %rdi
callq 0x133b3
movq %r14, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movl %r12d, %edx
callq 0x134ed
incq %r12
addq $0x10, %rbp
cmpq %r12, %r13
jne 0x13074
testb $0x1, 0x10(%rbx)
je 0x130b2
movl 0x10(%rsp), %eax
subl %r15d, %eax
movw %ax, 0x12(%rbx)
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2063f(%rip), %rsi     # 0x3370a
movq %r14, %rdi
xorl %eax, %eax
callq 0xc666
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsrun.c
// Function: js_pushstring
void js_pushstring(js_State *J, const char *v)
{
	size_t n = strlen(v);
	if (n > JS_STRLIMIT)
		js_rangeerror(J, "invalid string length");
	CHECKSTACK(1);
	if (n <= soffsetof(js_Value, t.type)) {
		char *s = STACK[TOP].u.shrstr;
		while (n--) *s++ = *v++;
		*s = 0;
		STACK[TOP].t.type = JS_TSHRSTR;
	} else {
		STACK[TOP].t.type = JS_TMEMSTR;
		STACK[TOP].u.memstr = jsV_newmemstring(J, v, n);
	}
	++TOP;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x3200
cmpq $0x10000001, %rax       # imm = 0x10000001
jae 0x13306
movslq 0x140(%rbx), %rcx
cmpq $0xfff, %rcx            # imm = 0xFFF
jge 0x13317
movq %rax, %r15
movq 0x148(%rbx), %rax
shlq $0x4, %rcx
cmpq $0xf, %r15
ja 0x13297
addq %rcx, %rax
testq %r15, %r15
je 0x1327b
xorl %ecx, %ecx
movb (%r14,%rcx), %dl
movb %dl, (%rax,%rcx)
incq %rcx
cmpq %rcx, %r15
jne 0x13269
addq %rcx, %rax
xorl %ecx, %ecx
movb %cl, (%rax)
movq 0x148(%rbx), %rax
movslq 0x140(%rbx), %rdx
shlq $0x4, %rdx
movb %cl, 0xf(%rax,%rdx)
jmp 0x132f4
movb $0x6, 0xf(%rax,%rcx)
leal 0xa(%r15), %esi
movq %rbx, %rdi
callq 0xde05
movq %rax, %r12
leaq 0x9(%rax), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x33d0
xorl %eax, %eax
movb %al, 0x9(%r12,%r15)
movb %al, 0x8(%r12)
movq 0x178(%rbx), %rax
movq %rax, (%r12)
movq %r12, 0x178(%rbx)
incl 0x154(%rbx)
movq 0x148(%rbx), %rax
movslq 0x140(%rbx), %rcx
shlq $0x4, %rcx
movq %r12, (%rax,%rcx)
incl 0x140(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x20465(%rip), %rsi     # 0x33772
movq %rbx, %rdi
xorl %eax, %eax
callq 0xc7e2
movq 0x148(%rbx), %rax
shlq $0x4, %rcx
movb $0x5, 0xf(%rax,%rcx)
movq 0x148(%rbx), %rax
movslq 0x140(%rbx), %rcx
shlq $0x4, %rcx
leaq 0x21d96(%rip), %rdx     # 0x350d6
movq %rdx, (%rax,%rcx)
incl 0x140(%rbx)
movq %rbx, %rdi
callq 0x8e1b
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsstring.c
// Function: js_utfptrtoidx
int js_utfptrtoidx(const char *s, const char *p)
{
	Rune rune;
	int i = 0;
	while (s < p) {
		if (*(unsigned char *)s < Runeself)
			++s;
		else
			s += chartorune(&rune, s);
		if (rune >= 0x10000)
			i += 2;
		else
			i += 1;
	}
	return i;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
xorl %r14d, %r14d
cmpq %rsi, %rdi
jae 0x133a4
movq %rsi, %rbx
movq %rdi, %r15
xorl %r14d, %r14d
leaq 0x4(%rsp), %r12
cmpb $0x0, (%r15)
js 0x1337b
incq %r15
jmp 0x1338f
movq %r12, %rdi
movq %r15, %rsi
callq 0x18239
movl %eax, %eax
addq %rax, %r15
movl 0x4(%rsp), %eax
xorl %ecx, %ecx
cmpl $0x10000, %eax          # imm = 0x10000
setge %cl
addl %ecx, %r14d
incl %r14d
cmpq %rbx, %r15
jb 0x13370
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsrun.c
// Function: js_pushlstring
void js_pushlstring(js_State *J, const char *v, int n)
{
	if (n > JS_STRLIMIT)
		js_rangeerror(J, "invalid string length");
	CHECKSTACK(1);
	if (n <= soffsetof(js_Value, t.type)) {
		char *s = STACK[TOP].u.shrstr;
		while (n--) *s++ = *v++;
		*s = 0;
		STACK[TOP].t.type = JS_TSHRSTR;
	} else {
		STACK[TOP].t.type = JS_TMEMSTR;
		STACK[TOP].u.memstr = jsV_newmemstring(J, v, n);
	}
	++TOP;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x10000001, %edx       # imm = 0x10000001
jge 0x134a1
movslq 0x140(%rbx), %rcx
cmpq $0xfff, %rcx            # imm = 0xFFF
jge 0x134b2
movl %edx, %r15d
movq %rsi, %r14
movq 0x148(%rbx), %rax
shlq $0x4, %rcx
cmpl $0xf, %edx
jg 0x1342f
addq %rcx, %rax
testl %r15d, %r15d
je 0x13413
movl %r15d, %edx
xorl %ecx, %ecx
movb (%r14,%rcx), %sil
movb %sil, (%rax,%rcx)
incq %rcx
cmpl %ecx, %edx
jne 0x13401
addq %rcx, %rax
xorl %ecx, %ecx
movb %cl, (%rax)
movq 0x148(%rbx), %rax
movslq 0x140(%rbx), %rdx
shlq $0x4, %rdx
movb %cl, 0xf(%rax,%rdx)
jmp 0x1348f
movb $0x6, 0xf(%rax,%rcx)
leal 0xa(%r15), %esi
movq %rbx, %rdi
callq 0xde05
movq %rax, %r12
leaq 0x9(%rax), %rdi
movl %r15d, %r15d
movq %r14, %rsi
movq %r15, %rdx
callq 0x33d0
xorl %eax, %eax
movb %al, 0x9(%r12,%r15)
movb %al, 0x8(%r12)
movq 0x178(%rbx), %rax
movq %rax, (%r12)
movq %r12, 0x178(%rbx)
incl 0x154(%rbx)
movq 0x148(%rbx), %rax
movslq 0x140(%rbx), %rcx
shlq $0x4, %rcx
movq %r12, (%rax,%rcx)
incl 0x140(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x202ca(%rip), %rsi     # 0x33772
movq %rbx, %rdi
xorl %eax, %eax
callq 0xc7e2
movq 0x148(%rbx), %rax
shlq $0x4, %rcx
movb $0x5, 0xf(%rax,%rcx)
movq 0x148(%rbx), %rax
movslq 0x140(%rbx), %rcx
shlq $0x4, %rcx
leaq 0x21bfb(%rip), %rdx     # 0x350d6
movq %rdx, (%rax,%rcx)
incl 0x140(%rbx)
movq %rbx, %rdi
callq 0x8e1b
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsregexp.c
// Function: Rp_toString
static void Rp_toString(js_State *J)
{
	js_Regexp *re;
	char * volatile out = NULL;

	re = js_toregexp(J, 0);

	if (js_try(J)) {
		js_free(J, out);
		js_throw(J);
	}

	out = js_malloc(J, strlen(re->source) + 6); /* extra space for //gim */
	strcpy(out, "/");
	strcat(out, re->source);
	strcat(out, "/");
	if (re->flags & JS_REGEXP_G) strcat(out, "g");
	if (re->flags & JS_REGEXP_I) strcat(out, "i");
	if (re->flags & JS_REGEXP_M) strcat(out, "m");

	js_pop(J, 0);
	js_pushstring(J, out);
	js_endtry(J);
	js_free(J, out);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq $0x0, (%rsp)
xorl %esi, %esi
callq 0x1524a
movq %rax, %r14
movq %rbx, %rdi
callq 0x13b6c
movq %rax, %rdi
callq 0x3100
testl %eax, %eax
jne 0x1368e
movq %r14, %r15
movq 0x8(%r14), %rdi
callq 0x3200
leal 0x6(%rax), %esi
movq %rbx, %rdi
callq 0xde05
movq %rax, (%rsp)
movq (%rsp), %rax
movw $0x2f, %bp
movw %bp, (%rax)
movq (%rsp), %rdi
movq 0x8(%r14), %rsi
callq 0x3270
movq (%rsp), %r14
movq %r14, %rdi
callq 0x3200
movw %bp, (%r14,%rax)
movzwl 0x10(%r15), %eax
movl %eax, %ecx
testb $0x1, %cl
je 0x13615
movq (%rsp), %r14
movq %r14, %rdi
callq 0x3200
movw $0x67, (%r14,%rax)
movzwl 0x10(%r15), %eax
movl %eax, %ecx
testb $0x2, %cl
je 0x13634
movq (%rsp), %r14
movq %r14, %rdi
callq 0x3200
movw $0x69, (%r14,%rax)
movzwl 0x10(%r15), %eax
testb $0x4, %al
je 0x1364b
movq (%rsp), %r14
movq %r14, %rdi
callq 0x3200
movw $0x6d, (%r14,%rax)
movl 0x144(%rbx), %eax
cmpl %eax, 0x140(%rbx)
jl 0x136a2
movq (%rsp), %rsi
movq %rbx, %rdi
callq 0x13215
movl 0x8198(%rbx), %eax
testl %eax, %eax
je 0x136b1
decl %eax
movl %eax, 0x8198(%rbx)
movq (%rsp), %rsi
movq (%rbx), %rdi
xorl %edx, %edx
callq *0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq (%rsp), %rsi
movq (%rbx), %rdi
xorl %edx, %edx
callq *0x10(%rbx)
movq %rbx, %rdi
callq 0x8e1b
movl %eax, 0x140(%rbx)
leaq 0x200ef(%rip), %rsi     # 0x3379e
jmp 0x136b8
leaq 0x20181(%rip), %rsi     # 0x33839
xorl %eax, %eax
movq %rbx, %rdi
callq 0xc666
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsregexp.c
// Function: Rp_test
static void Rp_test(js_State *J)
{
	js_Regexp *re;
	const char *text;
	int result;
	int opts;
	Resub m;

	re = js_toregexp(J, 0);
	text = js_tostring(J, 1);

	opts = 0;
	if (re->flags & JS_REGEXP_G) {
		if (re->last > strlen(text)) {
			re->last = 0;
			js_pushboolean(J, 0);
			return;
		}
		if (re->last > 0) {
			text += re->last;
			opts |= REG_NOTBOL;
		}
	}

	result = js_regexec(re->prog, text, &m, opts);
	if (result < 0)
		js_error(J, "regexec failed");
	if (result == 0) {
		if (re->flags & JS_REGEXP_G)
			re->last = re->last + (m.sub[0].ep - text);
		js_pushboolean(J, 1);
		return;
	}

	if (re->flags & JS_REGEXP_G)
		re->last = 0;

	js_pushboolean(J, 0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rdi, %rbx
xorl %ebp, %ebp
xorl %esi, %esi
callq 0x1524a
movq %rax, %r14
movl 0x144(%rbx), %eax
leaq 0x2cd0b(%rip), %rsi     # 0x403f8
cmpl $-0x1, %eax
jl 0x13709
incl %eax
cmpl 0x140(%rbx), %eax
jge 0x13709
movl %eax, %esi
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
movq %rbx, %rdi
callq 0x14e64
movq %rax, %r15
testb $0x1, 0x10(%r14)
je 0x13747
movzwl 0x12(%r14), %r12d
movq %r15, %rdi
callq 0x3200
cmpq %r12, %rax
jae 0x13738
movw $0x0, 0x12(%r14)
xorl %esi, %esi
jmp 0x137b0
xorl %ebp, %ebp
testq %r12, %r12
setne %bpl
addq %r12, %r15
shll $0x2, %ebp
movq (%r14), %r12
movl 0x1c(%r12), %eax
leaq 0x10(%rsp), %rdi
movl %eax, -0x8(%rdi)
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0x3060
movq (%r12), %rdi
orl 0x18(%r12), %ebp
leaq 0x8(%rsp), %r8
movq %r15, %rsi
movq %r15, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x1bccb
testl %eax, %eax
js 0x137c7
movzwl 0x10(%r14), %eax
je 0x1379b
xorl %esi, %esi
testb $0x1, %al
je 0x137b0
movw $0x0, 0x12(%r14)
jmp 0x137b0
movl $0x1, %esi
testb $0x1, %al
je 0x137b0
movl 0x18(%rsp), %eax
subl %r15d, %eax
addw %ax, 0x12(%r14)
movq %rbx, %rdi
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x14602
leaq 0x1ff3c(%rip), %rsi     # 0x3370a
movq %rbx, %rdi
xorl %eax, %eax
callq 0xc666
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsrepr.c
// Function: js_repr
void js_repr(js_State *J, int idx)
{
	js_Buffer *sb = NULL;
	int savebot;

	if (js_try(J)) {
		js_free(J, sb);
		js_throw(J);
	}

	js_copy(J, idx);

	savebot = J->bot;
	J->bot = J->top - 1;
	reprvalue(J, &sb);
	J->bot = savebot;

	js_pop(J, 1);

	js_putc(J, &sb, 0);
	js_pushstring(J, sb ? sb->s : "undefined");

	js_endtry(J);
	js_free(J, sb);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq $0x0, 0x8(%rsp)
callq 0x13b6c
movq %rax, %rdi
callq 0x3100
testl %eax, %eax
jne 0x13b3a
movq %rbx, %rdi
movl %ebp, %esi
callq 0x13c1a
movl 0x140(%rbx), %eax
movl 0x144(%rbx), %ebp
decl %eax
movl %eax, 0x144(%rbx)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x13ca8
movl %ebp, 0x144(%rbx)
movl 0x140(%rbx), %eax
movl %eax, %ecx
decl %ecx
movl %ecx, 0x140(%rbx)
cmpl %ebp, %eax
jle 0x13b4c
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xdda1
movq (%r14), %r14
leaq 0x8(%r14), %rax
testq %r14, %r14
leaq 0x21765(%rip), %rsi     # 0x3526d
cmovneq %rax, %rsi
movq %rbx, %rdi
callq 0x13215
movl 0x8198(%rbx), %eax
testl %eax, %eax
je 0x13b5b
decl %eax
movl %eax, 0x8198(%rbx)
movq (%rbx), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq *0x10(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq (%rbx), %rdi
xorl %edx, %edx
movl %edx, %esi
callq *0x10(%rbx)
movq %rbx, %rdi
callq 0x8e1b
movl %ebp, 0x140(%rbx)
leaq 0x1fc45(%rip), %rsi     # 0x3379e
jmp 0x13b62
leaq 0x1fcd7(%rip), %rsi     # 0x33839
xorl %eax, %eax
movq %rbx, %rdi
callq 0xc666
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsrun.c
// Function: js_savetry
void *js_savetry(js_State *J)
{
	if (J->trytop == JS_TRYLIMIT)
		js_trystackoverflow(J);
	J->trybuf[J->trytop].E = J->E;
	J->trybuf[J->trytop].envtop = J->envtop;
	J->trybuf[J->trytop].tracetop = J->tracetop;
	J->trybuf[J->trytop].top = J->top;
	J->trybuf[J->trytop].bot = J->bot;
	J->trybuf[J->trytop].strict = J->strict;
	J->trybuf[J->trytop].pc = NULL;
	return J->trybuf[J->trytop++].buf;
}

// Assembly:
movslq 0x8198(%rdi), %rcx
cmpq $0x40, %rcx
je 0x13bda
movq 0x130(%rdi), %rdx
imulq $0xf0, %rcx, %rax
addq %rdi, %rax
addq $0x81a0, %rax           # imm = 0x81A0
movq %rdx, 0xc8(%rax)
movl 0x188(%rdi), %edx
movl %edx, 0xd0(%rax)
movl 0x2190(%rdi), %edx
movl %edx, 0xd4(%rax)
movq 0x140(%rdi), %rdx
movq %rdx, 0xd8(%rax)
movl 0x34(%rdi), %edx
movl %edx, 0xe0(%rax)
movq $0x0, 0xe8(%rax)
incl %ecx
movl %ecx, 0x8198(%rdi)
retq
pushq %rax
movq 0x148(%rdi), %rax
movslq 0x140(%rdi), %rcx
shlq $0x4, %rcx
movb $0x5, 0xf(%rax,%rcx)
movq 0x148(%rdi), %rax
movslq 0x140(%rdi), %rcx
shlq $0x4, %rcx
leaq 0x1fc50(%rip), %rdx     # 0x3385b
movq %rdx, (%rax,%rcx)
incl 0x140(%rdi)
callq 0x8e1b
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsrun.c
// Function: js_replace
void js_replace(js_State* J, int idx)
{
	idx = idx < 0 ? TOP + idx : BOT + idx;
	if (idx < BOT || idx >= TOP)
		js_error(J, "stack error!");
	STACK[idx] = STACK[--TOP];
}

// Assembly:
movslq %esi, %rcx
notl %esi
shrl $0x1f, %esi
movslq 0x140(%rdi,%rsi,4), %rax
addq %rcx, %rax
cmpl 0x144(%rdi), %eax
jl 0x1447d
movslq 0x140(%rdi), %rcx
cmpl %ecx, %eax
jge 0x1447d
movq 0x148(%rdi), %rdx
shlq $0x4, %rax
decq %rcx
movl %ecx, 0x140(%rdi)
shlq $0x4, %rcx
movups (%rdx,%rcx), %xmm0
movups %xmm0, (%rdx,%rax)
retq
pushq %rax
leaq 0x1f32a(%rip), %rsi     # 0x337af
xorl %eax, %eax
callq 0xc666
// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsrepr.c
// Function: js_tryrepr
const char *js_tryrepr(js_State *J, int idx, const char *error)
{
	const char *s;
	if (js_try(J)) {
		js_pop(J, 1);
		return error;
	}
	s = js_torepr(J, idx);
	js_endtry(J);
	return s;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
callq 0x13b6c
movq %rax, %rdi
callq 0x3100
testl %eax, %eax
je 0x1450d
movl 0x140(%rbx), %ecx
movl 0x144(%rbx), %eax
movl %ecx, %edx
decl %edx
movl %edx, 0x140(%rbx)
cmpl %eax, %ecx
jg 0x1452c
movl %eax, 0x140(%rbx)
leaq 0x1f293(%rip), %rsi     # 0x3379e
jmp 0x1453b
movq %rbx, %rdi
movl %ebp, %esi
callq 0x14408
movl 0x8198(%rbx), %ecx
testl %ecx, %ecx
je 0x14534
movq %rax, %r14
decl %ecx
movl %ecx, 0x8198(%rbx)
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1f2fe(%rip), %rsi     # 0x33839
xorl %eax, %eax
movq %rbx, %rdi
callq 0xc666