// File: /workspace/github_cpp_makefile_star2_O1/tanakh[P]icfpc2015/./picojson.h
// Function: void picojson::serialize_str<std::ostream_iterator<char, char, std::char_traits<char>>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::ostream_iterator<char, char, std::char_traits<char>>)
void serialize_str(const std::string& s, Iter oi) {
    *oi++ = '"';
    for (std::string::const_iterator i = s.begin(); i != s.end(); ++i) {
      switch (*i) {
#define MAP(val, sym) case val: copy(sym, oi); break
	MAP('"', "\\\"");
	MAP('\\', "\\\\");
	MAP('/', "\\/");
	MAP('\b', "\\b");
	MAP('\f', "\\f");
	MAP('\n', "\\n");
	MAP('\r', "\\r");
	MAP('\t', "\\t");
#undef MAP
      default:
	if (static_cast<unsigned char>(*i) < 0x20 || *i == 0x7f) {
	  char buf[7];
	  SNPRINTF(buf, sizeof(buf), "\\u%04x", *i & 0xff);
	  copy(buf, buf + 6, oi);
	  } else {
	  *oi++ = *i;
	}
	break;
      }
    }
    *oi++ = '"';
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rax
movq %rdi, %r14
movq %rsp, %rsi
movb $0x22, (%rsi)
movq %rax, 0x28(%rsp)
movq %rax, %rdi
callq 0xe994
cmpq $0x0, 0x8(%r14)
je 0xe935
movq (%r14), %r15
movq %rsp, %rbp
leaq 0x30(%rsp), %r12
movb (%r15), %al
movzbl %al, %ecx
cmpl $0x21, %ecx
jg 0xe617
addl $-0x8, %ecx
cmpl $0x5, %ecx
ja 0xe8d5
leaq 0x6d63(%rip), %rdx      # 0x15314
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x7225(%rip), %rsi      # 0x157f2
leaq 0x7220(%rip), %rdx      # 0x157f4
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe5fb
jmp 0xe8ad
cmpl $0x5c, %ecx
je 0xe803
cmpl $0x2f, %ecx
je 0xe859
cmpl $0x22, %ecx
jne 0xe8d5
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x71a4(%rip), %rsi      # 0x157e9
leaq 0x719f(%rip), %rdx      # 0x157eb
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe673
jmp 0xe8ad
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x7153(%rip), %rsi      # 0x157f5
leaq 0x714e(%rip), %rdx      # 0x157f7
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe6d0
jmp 0xe8ad
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x70f9(%rip), %rsi      # 0x157f8
leaq 0x70f4(%rip), %rdx      # 0x157fa
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe72d
jmp 0xe8ad
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x70a2(%rip), %rsi      # 0x157fe
leaq 0x709d(%rip), %rdx      # 0x15800
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe78a
jmp 0xe8ad
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x7042(%rip), %rsi      # 0x157fb
leaq 0x703d(%rip), %rdx      # 0x157fd
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe7e7
jmp 0xe8ad
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6fd6(%rip), %rsi      # 0x157ec
leaq 0x6fd1(%rip), %rdx      # 0x157ee
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe840
jmp 0xe8ad
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6f83(%rip), %rsi      # 0x157ef
leaq 0x6f7e(%rip), %rdx      # 0x157f1
callq 0xf8e6
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe8ad
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xe994
incq %r13
decq %rbx
cmpq $0x1, %rbx
jg 0xe896
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0xe8c0
callq 0x32f0
incq %r15
movq (%r14), %rax
addq 0x8(%r14), %rax
cmpq %rax, %r15
jne 0xe593
jmp 0xe935
cmpb $0x20, %al
setae %cl
cmpb $0x7f, %al
setne %al
testb %al, %cl
jne 0xe926
movzbl (%r15), %ecx
movl $0x7, %esi
movq %r12, %rdi
leaq 0x6f0b(%rip), %rdx      # 0x15801
xorl %eax, %eax
callq 0x3440
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, (%rsp)
xorl %ebx, %ebx
leaq (%rsp,%rbx), %rsi
addq $0x30, %rsi
movq %rbp, %rdi
callq 0xe994
incq %rbx
cmpq $0x6, %rbx
jne 0xe90b
jmp 0xe8c0
movq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0xe994
jmp 0xe8c0
movq %rsp, %rsi
movb $0x22, (%rsi)
movq 0x28(%rsp), %rdi
callq 0xe994
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe962
jmp 0xe962
jmp 0xe962
jmp 0xe962
jmp 0xe962
jmp 0xe962
jmp 0xe962
movq %rax, %rbx
jmp 0xe98b
jmp 0xe975
jmp 0xe975
jmp 0xe975
jmp 0xe975
jmp 0xe975
jmp 0xe975
jmp 0xe975
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0xe98b
callq 0x32f0
movq %rbx, %rdi
callq 0x34b0
nop