// File: /workspace/github_c_makefile_star2_O0/ccxvii[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
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xd0(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x337d3(%rip), %rsi     # 0x3b7ce
leaq 0x33827(%rip), %rdx     # 0x3b829
callq 0x6690
movq -0x8(%rbp), %rdi
leaq 0x337c1(%rip), %rsi     # 0x3b7d3
leaq 0x4197(%rip), %rdx      # 0xc1b0
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x42a5(%rip), %rdx      # 0xc2d0
leaq 0x337f7(%rip), %rcx     # 0x3b829
movl $0x1, %r8d
movq %rdx, %rsi
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x337de(%rip), %rsi     # 0x3b829
movl $0x2, %edx
callq 0x6300
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xd8(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x3375a(%rip), %rsi     # 0x3b7ce
leaq 0x33771(%rip), %rdx     # 0x3b7ec
callq 0x6690
movq -0x8(%rbp), %rdi
leaq 0x4275(%rip), %rdx      # 0xc300
leaq 0x3375a(%rip), %rcx     # 0x3b7ec
movl $0x1, %r8d
movq %rdx, %rsi
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x33741(%rip), %rsi     # 0x3b7ec
movl $0x2, %edx
callq 0x6300
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xe0(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x336fa(%rip), %rsi     # 0x3b7ce
leaq 0x3371b(%rip), %rdx     # 0x3b7f6
callq 0x6690
movq -0x8(%rbp), %rdi
leaq 0x4245(%rip), %rdx      # 0xc330
leaq 0x33704(%rip), %rcx     # 0x3b7f6
movl $0x1, %r8d
movq %rdx, %rsi
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x336eb(%rip), %rsi     # 0x3b7f6
movl $0x2, %edx
callq 0x6300
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xe8(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x3369a(%rip), %rsi     # 0x3b7ce
leaq 0x336c6(%rip), %rdx     # 0x3b801
callq 0x6690
movq -0x8(%rbp), %rdi
leaq 0x4215(%rip), %rdx      # 0xc360
leaq 0x336af(%rip), %rcx     # 0x3b801
movl $0x1, %r8d
movq %rdx, %rsi
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x33696(%rip), %rsi     # 0x3b801
movl $0x2, %edx
callq 0x6300
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xf0(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x3363a(%rip), %rsi     # 0x3b7ce
leaq 0x33675(%rip), %rdx     # 0x3b810
callq 0x6690
movq -0x8(%rbp), %rdi
leaq 0x41e5(%rip), %rdx      # 0xc390
leaq 0x3365e(%rip), %rcx     # 0x3b810
movl $0x1, %r8d
movq %rdx, %rsi
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x33645(%rip), %rsi     # 0x3b810
movl $0x2, %edx
callq 0x6300
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xf8(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x335da(%rip), %rsi     # 0x3b7ce
leaq 0x33621(%rip), %rdx     # 0x3b81c
callq 0x6690
movq -0x8(%rbp), %rdi
leaq 0x41b5(%rip), %rdx      # 0xc3c0
leaq 0x3360a(%rip), %rcx     # 0x3b81c
movl $0x1, %r8d
movq %rdx, %rsi
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x335f1(%rip), %rsi     # 0x3b81c
movl $0x2, %edx
callq 0x6300
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x100(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x3357a(%rip), %rsi     # 0x3b7ce
leaq 0x335cb(%rip), %rdx     # 0x3b826
callq 0x6690
movq -0x8(%rbp), %rdi
leaq 0x4185(%rip), %rdx      # 0xc3f0
leaq 0x335b4(%rip), %rcx     # 0x3b826
movl $0x1, %r8d
movq %rdx, %rsi
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x3359b(%rip), %rsi     # 0x3b826
movl $0x2, %edx
callq 0x6300
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)