// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0xd0(%rdi), %rsi
callq 0x4487
leaq 0x2b050(%rip), %r15     # 0x331c5
movq %rbx, %rdi
movq %r15, %rsi
callq 0x670c
leaq 0x2afe3(%rip), %r14     # 0x3316a
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
movl $0x2, %ecx
callq 0x662a
leaq 0x2afcc(%rip), %rsi     # 0x3316f
leaq 0x49d6(%rip), %rdx      # 0xcb80
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x44f5
leaq 0x4b86(%rip), %rdx      # 0xcd41
movq %rbx, %rdi
movq %rdx, %rsi
movq %r15, %rcx
movl $0x1, %r8d
callq 0x6162
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x63d9
movq 0xd8(%rbx), %rsi
movq %rbx, %rdi
callq 0x4487
leaq 0x2af93(%rip), %r15     # 0x33188
movq %rbx, %rdi
movq %r15, %rsi
callq 0x670c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
movl $0x2, %ecx
callq 0x662a
leaq 0x4b31(%rip), %rdx      # 0xcd4d
movq %rbx, %rdi
movq %rdx, %rsi
movq %r15, %rcx
movl $0x1, %r8d
callq 0x6162
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x63d9
movq 0xe0(%rbx), %rsi
movq %rbx, %rdi
callq 0x4487
leaq 0x2af3c(%rip), %r15     # 0x33192
movq %rbx, %rdi
movq %r15, %rsi
callq 0x670c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
movl $0x2, %ecx
callq 0x662a
leaq 0x4adc(%rip), %rdx      # 0xcd59
movq %rbx, %rdi
movq %rdx, %rsi
movq %r15, %rcx
movl $0x1, %r8d
callq 0x6162
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x63d9
movq 0xe8(%rbx), %rsi
movq %rbx, %rdi
callq 0x4487
leaq 0x2aee6(%rip), %r15     # 0x3319d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x670c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
movl $0x2, %ecx
callq 0x662a
leaq 0x4a87(%rip), %rdx      # 0xcd65
movq %rbx, %rdi
movq %rdx, %rsi
movq %r15, %rcx
movl $0x1, %r8d
callq 0x6162
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x63d9
movq 0xf0(%rbx), %rsi
movq %rbx, %rdi
callq 0x4487
leaq 0x2ae94(%rip), %r15     # 0x331ac
movq %rbx, %rdi
movq %r15, %rsi
callq 0x670c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
movl $0x2, %ecx
callq 0x662a
leaq 0x4a32(%rip), %rdx      # 0xcd71
movq %rbx, %rdi
movq %rdx, %rsi
movq %r15, %rcx
movl $0x1, %r8d
callq 0x6162
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x63d9
movq 0xf8(%rbx), %rsi
movq %rbx, %rdi
callq 0x4487
leaq 0x2ae3f(%rip), %r15     # 0x331b8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x670c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
movl $0x2, %ecx
callq 0x662a
leaq 0x49dd(%rip), %rdx      # 0xcd7d
movq %rbx, %rdi
movq %rdx, %rsi
movq %r15, %rcx
movl $0x1, %r8d
callq 0x6162
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
callq 0x63d9
movq 0x100(%rbx), %rsi
movq %rbx, %rdi
callq 0x4487
leaq 0x2ade8(%rip), %r15     # 0x331c2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x670c
movq %rbx, %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
movq %r14, %rdx
movl $0x2, %ecx
callq 0x662a
leaq 0x4988(%rip), %rdx      # 0xcd89
movq %rbx, %rdi
movq %rdx, %rsi
movq %r15, %rcx
movl $0x1, %r8d
callq 0x6162
movq %rbx, %rdi
movq %r15, %rsi
movl $0x2, %edx
popq %rbx
popq %r14
popq %r15
jmp 0x63d9