// File: /workspace/github_c_makefile_star2_O2/ArtifexSoftware[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
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0xb8(%rdi), %rax
movb $0x0, 0x30(%rax)
movq 0xb8(%rdi), %rax
leaq 0x30(%rax), %rcx
movq %rcx, 0x28(%rax)
movq 0xb8(%rdi), %rax
andl $0x0, 0x20(%rax)
movq 0xb8(%rdi), %rsi
callq 0x4274
leaq 0x2220c(%rip), %rsi     # 0x2884a
leaq 0xbf1b(%rip), %rdx      # 0x12560
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0x2220e(%rip), %rsi     # 0x28864
leaq 0xbf31(%rip), %rdx      # 0x1258e
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0x2220f(%rip), %rsi     # 0x2887d
leaq 0xbf47(%rip), %rdx      # 0x125bc
pushq $0x1
popq %r14
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x2220a(%rip), %rsi     # 0x28895
leaq 0xbf9b(%rip), %rdx      # 0x1262d
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x2220d(%rip), %rsi     # 0x288b1
leaq 0xbfc7(%rip), %rdx      # 0x12672
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0x2220d(%rip), %rsi     # 0x288c9
leaq 0xc0e2(%rip), %rdx      # 0x127a5
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x2220d(%rip), %rsi     # 0x288e2
leaq 0xc177(%rip), %rdx      # 0x12853
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x22211(%rip), %rsi     # 0x288ff
leaq 0xc214(%rip), %rdx      # 0x12909
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x22217(%rip), %rsi     # 0x2891e
leaq 0xc233(%rip), %rdx      # 0x12941
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x22215(%rip), %rsi     # 0x28935
leaq 0xc36c(%rip), %rdx      # 0x12a93
pushq $0x2
popq %rbp
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x22213(%rip), %rsi     # 0x2894e
leaq 0xc370(%rip), %rdx      # 0x12ab2
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x22212(%rip), %rsi     # 0x28966
leaq 0xc406(%rip), %rdx      # 0x12b61
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x22211(%rip), %rsi     # 0x2897d
leaq 0xc4a6(%rip), %rdx      # 0x12c19
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x22210(%rip), %rsi     # 0x28994
leaq 0xc806(%rip), %rdx      # 0x12f91
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x22213(%rip), %rsi     # 0x289af
leaq 0xc895(%rip), %r14      # 0x13038
movq %rbx, %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x42b6
leaq 0x22215(%rip), %rsi     # 0x289cc
movq %rbx, %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x42b6
leaq 0x22224(%rip), %rsi     # 0x289ef
leaq 0xc9e6(%rip), %r14      # 0x131b8
movq %rbx, %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x42b6
leaq 0x22226(%rip), %rsi     # 0x28a0c
movq %rbx, %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x42b6
leaq 0x22235(%rip), %rsi     # 0x28a2f
leaq 0xcb37(%rip), %rdx      # 0x13338
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0xcb92(%rip), %rsi      # 0x133a4
leaq 0xcbc0(%rip), %rdx      # 0x133d9
leaq 0x21549(%rip), %r14     # 0x27d69
movq %rbx, %rdi
movq %r14, %rcx
xorl %r8d, %r8d
callq 0x565e
leaq 0x22210(%rip), %rsi     # 0x28a45
leaq 0xcbd2(%rip), %rdx      # 0x1340e
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x57de