// File: /workspace/github_c_makefile_star2_O0/ccxvii[P]mujs/./jsstring.c
// Function: jsB_initstring
void jsB_initstring(js_State *J)
{
	J->String_prototype->u.s.shrstr[0] = 0;
	J->String_prototype->u.s.string = J->String_prototype->u.s.shrstr;
	J->String_prototype->u.s.length = 0;

	js_pushobject(J, J->String_prototype);
	{
		jsB_propf(J, "String.prototype.toString", Sp_toString, 0);
		jsB_propf(J, "String.prototype.valueOf", Sp_valueOf, 0);
		jsB_propf(J, "String.prototype.charAt", Sp_charAt, 1);
		jsB_propf(J, "String.prototype.charCodeAt", Sp_charCodeAt, 1);
		jsB_propf(J, "String.prototype.concat", Sp_concat, 0); /* 1 */
		jsB_propf(J, "String.prototype.indexOf", Sp_indexOf, 1);
		jsB_propf(J, "String.prototype.lastIndexOf", Sp_lastIndexOf, 1);
		jsB_propf(J, "String.prototype.localeCompare", Sp_localeCompare, 1);
		jsB_propf(J, "String.prototype.match", Sp_match, 1);
		jsB_propf(J, "String.prototype.replace", Sp_replace, 2);
		jsB_propf(J, "String.prototype.search", Sp_search, 1);
		jsB_propf(J, "String.prototype.slice", Sp_slice, 2);
		jsB_propf(J, "String.prototype.split", Sp_split, 2);
		jsB_propf(J, "String.prototype.substring", Sp_substring, 2);
		jsB_propf(J, "String.prototype.toLowerCase", Sp_toLowerCase, 0);
		jsB_propf(J, "String.prototype.toLocaleLowerCase", Sp_toLowerCase, 0);
		jsB_propf(J, "String.prototype.toUpperCase", Sp_toUpperCase, 0);
		jsB_propf(J, "String.prototype.toLocaleUpperCase", Sp_toUpperCase, 0);

		/* ES5 */
		jsB_propf(J, "String.prototype.trim", Sp_trim, 0);
	}
	js_newcconstructor(J, jsB_String, jsB_new_String, "String", 0); /* 1 */
	{
		jsB_propf(J, "String.fromCharCode", S_fromCharCode, 0); /* 1 */
	}
	js_defglobal(J, "String", JS_DONTENUM);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0xb8(%rax), %rax
movb $0x0, 0x30(%rax)
movq -0x8(%rbp), %rax
movq 0xb8(%rax), %rcx
addq $0x20, %rcx
addq $0x10, %rcx
movq -0x8(%rbp), %rax
movq 0xb8(%rax), %rax
movq %rcx, 0x28(%rax)
movq -0x8(%rbp), %rax
movq 0xb8(%rax), %rax
movl $0x0, 0x20(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0xb8(%rax), %rsi
callq 0x4870
movq -0x8(%rbp), %rdi
leaq 0x34757(%rip), %rsi     # 0x3bef5
leaq 0x127cb(%rip), %rdx     # 0x19f70
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34758(%rip), %rsi     # 0x3bf0f
leaq 0x12802(%rip), %rdx     # 0x19fc0
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34758(%rip), %rsi     # 0x3bf28
leaq 0x12839(%rip), %rdx     # 0x1a010
movl $0x1, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34754(%rip), %rsi     # 0x3bf40
leaq 0x1289d(%rip), %rdx     # 0x1a090
movl $0x1, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34754(%rip), %rsi     # 0x3bf5c
leaq 0x128f1(%rip), %rdx     # 0x1a100
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34753(%rip), %rsi     # 0x3bf74
leaq 0x12a38(%rip), %rdx     # 0x1a260
movl $0x1, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34750(%rip), %rsi     # 0x3bf8d
leaq 0x12aec(%rip), %rdx     # 0x1a330
movl $0x1, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34751(%rip), %rsi     # 0x3bfaa
leaq 0x12bd0(%rip), %rdx     # 0x1a430
movl $0x1, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34754(%rip), %rsi     # 0x3bfc9
leaq 0x12c14(%rip), %rdx     # 0x1a490
movl $0x1, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x3474f(%rip), %rsi     # 0x3bfe0
leaq 0x12df8(%rip), %rdx     # 0x1a690
movl $0x2, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x3474c(%rip), %rsi     # 0x3bff9
leaq 0x12e1c(%rip), %rdx     # 0x1a6d0
movl $0x1, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34748(%rip), %rsi     # 0x3c011
leaq 0x12f10(%rip), %rdx     # 0x1a7e0
movl $0x2, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34743(%rip), %rsi     # 0x3c028
leaq 0x13054(%rip), %rdx     # 0x1a940
movl $0x2, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x3473e(%rip), %rsi     # 0x3c03f
leaq 0x130c8(%rip), %rdx     # 0x1a9d0
movl $0x2, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x3473d(%rip), %rsi     # 0x3c05a
leaq 0x131cc(%rip), %rdx     # 0x1aaf0
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34741(%rip), %rsi     # 0x3c077
leaq 0x131b3(%rip), %rdx     # 0x1aaf0
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x3474b(%rip), %rsi     # 0x3c09a
leaq 0x1336a(%rip), %rdx     # 0x1acc0
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x3474f(%rip), %rsi     # 0x3c0b7
leaq 0x13351(%rip), %rdx     # 0x1acc0
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x34759(%rip), %rsi     # 0x3c0da
leaq 0x13508(%rip), %rdx     # 0x1ae90
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x135b6(%rip), %rsi     # 0x1af50
leaq 0x1360f(%rip), %rdx     # 0x1afb0
leaq 0x33a55(%rip), %rcx     # 0x3b3fd
xorl %r8d, %r8d
callq 0x60e0
movq -0x8(%rbp), %rdi
leaq 0x34735(%rip), %rsi     # 0x3c0f0
leaq 0x1364e(%rip), %rdx     # 0x1b010
xorl %ecx, %ecx
callq 0x4900
movq -0x8(%rbp), %rdi
leaq 0x33a29(%rip), %rsi     # 0x3b3fd
movl $0x2, %edx
callq 0x6300
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)