// File: /workspace/github_c_makefile_star2_O1/ccxvii[P]mujs/./jsrepr.c
// Function: reprstr
static void reprstr(js_State *J, js_Buffer **sb, const char *s)
{
	static const char *HEX = "0123456789ABCDEF";
	int i, n;
	Rune c;
	js_putc(J, sb, '"');
	while (*s) {
		n = chartorune(&c, s);
		switch (c) {
		case '"': js_puts(J, sb, "\\\""); break;
		case '\\': js_puts(J, sb, "\\\\"); break;
		case '\b': js_puts(J, sb, "\\b"); break;
		case '\f': js_puts(J, sb, "\\f"); break;
		case '\n': js_puts(J, sb, "\\n"); break;
		case '\r': js_puts(J, sb, "\\r"); break;
		case '\t': js_puts(J, sb, "\\t"); break;
		default:
			if (c < ' ') {
				js_putc(J, sb, '\\');
				js_putc(J, sb, 'x');
				js_putc(J, sb, HEX[(c>>4)&15]);
				js_putc(J, sb, HEX[c&15]);
			} else if (c < 128) {
				js_putc(J, sb, c);
			} else if (c < 0x10000) {
				js_putc(J, sb, '\\');
				js_putc(J, sb, 'u');
				js_putc(J, sb, HEX[(c>>12)&15]);
				js_putc(J, sb, HEX[(c>>8)&15]);
				js_putc(J, sb, HEX[(c>>4)&15]);
				js_putc(J, sb, HEX[c&15]);
			} else {
				for (i = 0; i < n; ++i)
					js_putc(J, sb, s[i]);
			}
			break;
		}
		s += n;
	}
	js_putc(J, sb, '"');
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl $0x22, %edx
callq 0xe0bc
cmpb $0x0, (%r15)
je 0x26cfe
leaq 0x4(%rsp), %rdi
movq %r15, %rsi
callq 0x18750
movl 0x4(%rsp), %r13d
leal -0x8(%r13), %ecx
movl %eax, %r12d
cmpl $0x5, %ecx
ja 0x26ad7
leaq 0x51b7(%rip), %rdx      # 0x2bc54
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
leaq 0xe178(%rip), %rax      # 0x34c3c
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26aab
jmp 0x26c73
cmpl $0x22, %r13d
je 0x26c2e
cmpl $0x5c, %r13d
jne 0x26b18
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
leaq 0xe134(%rip), %rax      # 0x34c39
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26aec
jmp 0x26c73
cmpl $0x1f, %r13d
jg 0x26c5c
movq %r14, %rdi
movq %rbx, %rsi
movl $0x5c, %edx
callq 0xe0bc
movl $0x78, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
movl %r13d, %eax
shrl $0x4, %eax
andl $0xf, %eax
leaq 0xd1ff(%rip), %rbp      # 0x33d51
movsbl (%rax,%rbp), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
andl $0xf, %r13d
movsbl (%r13,%rbp), %r13d
jmp 0x26c65
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
leaq 0xe0ba(%rip), %rax      # 0x34c48
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26b75
jmp 0x26c73
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
leaq 0xe083(%rip), %rax      # 0x34c42
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26ba6
jmp 0x26c73
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
leaq 0xe04f(%rip), %rax      # 0x34c3f
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26bd7
jmp 0x26c73
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
leaq 0xe027(%rip), %rax      # 0x34c45
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26c05
jmp 0x26c73
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
leaq 0xdfea(%rip), %rax      # 0x34c36
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26c33
jmp 0x26c73
cmpl $0x80, %r13d
jge 0x26c84
movq %r14, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq 0xe0bc
cmpb $0x0, (%r15,%r12)
leaq (%r15,%r12), %r15
jne 0x26a78
jmp 0x26cfe
cmpl $0x10000, %r13d         # imm = 0x10000
jge 0x26cde
movq %r14, %rdi
movq %rbx, %rsi
movl $0x5c, %edx
callq 0xe0bc
movq %r14, %rdi
movq %rbx, %rsi
movl $0x75, %edx
callq 0xe0bc
movl %r13d, %eax
shrl $0xc, %eax
andl $0xf, %eax
leaq 0xd094(%rip), %rbp      # 0x33d51
movsbl (%rax,%rbp), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
movl %r13d, %eax
shrl $0x8, %eax
andl $0xf, %eax
movsbl (%rax,%rbp), %edx
jmp 0x26b37
xorl %r13d, %r13d
movsbl (%r15,%r13), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe0bc
incq %r13
cmpq %r13, %r12
jne 0x26ce1
jmp 0x26c73
movq %r14, %rdi
movq %rbx, %rsi
movl $0x22, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xe0bc