// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[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 0xdda1
cmpb $0x0, (%r15)
je 0x269aa
leaq 0x4(%rsp), %rdi
movq %r15, %rsi
callq 0x18239
movl 0x4(%rsp), %r13d
leal -0x8(%r13), %ecx
movl %eax, %r12d
cmpl $0x5, %ecx
ja 0x26786
leaq 0x5538(%rip), %rdx      # 0x2bc84
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 0xdda1
leaq 0xe4f9(%rip), %rax      # 0x34c6c
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x2675a
jmp 0x26922
cmpl $0x22, %r13d
je 0x268dd
cmpl $0x5c, %r13d
jne 0x267c7
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
leaq 0xe4b5(%rip), %rax      # 0x34c69
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x2679b
jmp 0x26922
cmpl $0x1f, %r13d
jg 0x2690b
movq %r14, %rdi
movq %rbx, %rsi
movl $0x5c, %edx
callq 0xdda1
movl $0x78, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
movl %r13d, %eax
shrl $0x4, %eax
andl $0xf, %eax
leaq 0xd580(%rip), %rbp      # 0x33d81
movsbl (%rax,%rbp), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
andl $0xf, %r13d
movsbl (%r13,%rbp), %r13d
jmp 0x26914
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
leaq 0xe43b(%rip), %rax      # 0x34c78
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26824
jmp 0x26922
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
leaq 0xe404(%rip), %rax      # 0x34c72
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26855
jmp 0x26922
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
leaq 0xe3d0(%rip), %rax      # 0x34c6f
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x26886
jmp 0x26922
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
leaq 0xe3a8(%rip), %rax      # 0x34c75
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x268b4
jmp 0x26922
movb $0x5c, %al
xorl %r13d, %r13d
leaq 0x1(%r13), %rbp
movsbl %al, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
leaq 0xe36b(%rip), %rax      # 0x34c66
movb 0x1(%r13,%rax), %al
movq %rbp, %r13
cmpq $0x2, %rbp
jne 0x268e2
jmp 0x26922
cmpl $0x80, %r13d
jae 0x26933
movq %r14, %rdi
movq %rbx, %rsi
movl %r13d, %edx
callq 0xdda1
cmpb $0x0, (%r15,%r12)
leaq (%r15,%r12), %r15
jne 0x26727
jmp 0x269aa
cmpl $0x10000, %r13d         # imm = 0x10000
jae 0x2698a
movq %r14, %rdi
movq %rbx, %rsi
movl $0x5c, %edx
callq 0xdda1
movq %r14, %rdi
movq %rbx, %rsi
movl $0x75, %edx
callq 0xdda1
movl %r13d, %eax
shrl $0xc, %eax
leaq 0xd418(%rip), %rbp      # 0x33d81
movsbl (%rax,%rbp), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
movl %r13d, %eax
shrl $0x8, %eax
andl $0xf, %eax
movsbl (%rax,%rbp), %edx
jmp 0x267e6
xorl %r13d, %r13d
movsbl (%r15,%r13), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdda1
incq %r13
cmpq %r13, %r12
jne 0x2698d
jmp 0x26922
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 0xdda1