// File: /workspace/github_c_makefile_star2_O2/ArtifexSoftware[P]mujs/./jserror.c
// Function: jsB_initerror
void jsB_initerror(js_State *J)
{
	js_pushobject(J, J->Error_prototype);
	{
			jsB_props(J, "name", "Error");
			jsB_propf(J, "Error.prototype.toString", Ep_toString, 0);
	}
	js_newcconstructor(J, jsB_Error, jsB_Error, "Error", 1);
	js_defglobal(J, "Error", JS_DONTENUM);

	#define IERROR(NAME) \
		js_pushobject(J, J->NAME##_prototype); \
		jsB_props(J, "name", Q(NAME)); \
		js_newcconstructor(J, jsB_##NAME, jsB_##NAME, Q(NAME), 1); \
		js_defglobal(J, Q(NAME), JS_DONTENUM);

	IERROR(EvalError);
	IERROR(RangeError);
	IERROR(ReferenceError);
	IERROR(SyntaxError);
	IERROR(TypeError);
	IERROR(URIError);

	#undef IERROR
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0xd0(%rdi), %rsi
callq 0x4274
leaq 0x21366(%rip), %r14     # 0x2813a
leaq 0x213ba(%rip), %r12     # 0x28195
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x59e9
leaq 0x2134f(%rip), %rsi     # 0x2813f
leaq 0x2d1f(%rip), %rdx      # 0x9b16
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0x2dfe(%rip), %rdx      # 0x9c06
pushq $0x1
popq %rbp
movq %rbx, %rdi
movq %rdx, %rsi
movq %r12, %rcx
movl %ebp, %r8d
callq 0x565e
pushq $0x2
popq %r15
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x57de
movq 0xd8(%rbx), %rsi
movq %rbx, %rdi
callq 0x4274
leaq 0x21314(%rip), %r12     # 0x28158
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x59e9
leaq 0x2db9(%rip), %rdx      # 0x9c12
movq %rbx, %rdi
movq %rdx, %rsi
movq %r12, %rcx
movl %ebp, %r8d
callq 0x565e
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x57de
movq 0xe0(%rbx), %rsi
movq %rbx, %rdi
callq 0x4274
leaq 0x212d4(%rip), %r12     # 0x28162
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x59e9
leaq 0x2d7b(%rip), %rdx      # 0x9c1e
movq %rbx, %rdi
movq %rdx, %rsi
movq %r12, %rcx
movl %ebp, %r8d
callq 0x565e
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x57de
movq 0xe8(%rbx), %rsi
movq %rbx, %rdi
callq 0x4274
leaq 0x21295(%rip), %r12     # 0x2816d
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x59e9
leaq 0x2d3d(%rip), %rdx      # 0x9c2a
movq %rbx, %rdi
movq %rdx, %rsi
movq %r12, %rcx
movl %ebp, %r8d
callq 0x565e
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x57de
movq 0xf0(%rbx), %rsi
movq %rbx, %rdi
callq 0x4274
leaq 0x2125a(%rip), %r12     # 0x2817c
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x59e9
leaq 0x2cff(%rip), %rdx      # 0x9c36
movq %rbx, %rdi
movq %rdx, %rsi
movq %r12, %rcx
movl %ebp, %r8d
callq 0x565e
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x57de
movq 0xf8(%rbx), %rsi
movq %rbx, %rdi
callq 0x4274
leaq 0x2121c(%rip), %r12     # 0x28188
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x59e9
leaq 0x2cc1(%rip), %rdx      # 0x9c42
movq %rbx, %rdi
movq %rdx, %rsi
movq %r12, %rcx
movl %ebp, %r8d
callq 0x565e
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
callq 0x57de
movq 0x100(%rbx), %rsi
movq %rbx, %rdi
callq 0x4274
leaq 0x211dc(%rip), %r12     # 0x28192
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x59e9
leaq 0x2c83(%rip), %rdx      # 0x9c4e
movq %rbx, %rdi
movq %rdx, %rsi
movq %r12, %rcx
movl %ebp, %r8d
callq 0x565e
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x57de