// File: /workspace/github_cpp_makefile_star2_O3/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 0xeacc
cmpq $0x0, 0x8(%r14)
je 0xea6d
movq (%r14), %r15
movq %rsp, %rbp
leaq 0x30(%rsp), %r12
movzbl (%r15), %ecx
cmpl $0x21, %ecx
jg 0xe74e
leal -0x8(%rcx), %eax
cmpl $0x5, %eax
ja 0xea0f
leaq 0x6c0c(%rip), %rdx      # 0x152f4
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x70ce(%rip), %rsi      # 0x157d2
leaq 0x70c9(%rip), %rdx      # 0x157d4
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe732
jmp 0xe9e4
cmpl $0x5c, %ecx
je 0xe93a
cmpl $0x2f, %ecx
je 0xe990
cmpl $0x22, %ecx
jne 0xea0f
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x704d(%rip), %rsi      # 0x157c9
leaq 0x7048(%rip), %rdx      # 0x157cb
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe7aa
jmp 0xe9e4
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6ffc(%rip), %rsi      # 0x157d5
leaq 0x6ff7(%rip), %rdx      # 0x157d7
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe807
jmp 0xe9e4
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6fa2(%rip), %rsi      # 0x157d8
leaq 0x6f9d(%rip), %rdx      # 0x157da
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe864
jmp 0xe9e4
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6f4b(%rip), %rsi      # 0x157de
leaq 0x6f46(%rip), %rdx      # 0x157e0
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe8c1
jmp 0xe9e4
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6eeb(%rip), %rsi      # 0x157db
leaq 0x6ee6(%rip), %rdx      # 0x157dd
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe91e
jmp 0xe9e4
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6e7f(%rip), %rsi      # 0x157cc
leaq 0x6e7a(%rip), %rdx      # 0x157ce
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe977
jmp 0xe9e4
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rbp, %rdi
leaq 0x6e2c(%rip), %rsi      # 0x157cf
leaq 0x6e27(%rip), %rdx      # 0x157d1
callq 0xfa08
movq (%rsp), %r13
movq 0x8(%rsp), %rbx
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, 0x30(%rsp)
testq %rbx, %rbx
jle 0xe9e8
incq %rbx
movq %r12, %rdi
movq %r13, %rsi
callq 0xeacc
incq %r13
decq %rbx
cmpq $0x1, %rbx
ja 0xe9cd
movq (%rsp), %r13
leaq 0x10(%rsp), %rax
cmpq %rax, %r13
je 0xe9fa
movq %r13, %rdi
callq 0x32f0
incq %r15
movq (%r14), %rax
addq 0x8(%r14), %rax
cmpq %rax, %r15
jne 0xe6cc
jmp 0xea6d
cmpb $0x20, %cl
setae %al
cmpl $0x7f, %ecx
setne %dl
testb %dl, %al
jne 0xea5e
movl $0x7, %esi
movq %r12, %rdi
leaq 0x6db3(%rip), %rdx      # 0x157e1
xorl %eax, %eax
callq 0x3430
movq 0x28(%rsp), %rax
movups (%rax), %xmm0
movaps %xmm0, (%rsp)
xorl %ebx, %ebx
leaq (%rsp,%rbx), %rsi
addq $0x30, %rsi
movq %rbp, %rdi
callq 0xeacc
incq %rbx
cmpq $0x6, %rbx
jne 0xea43
jmp 0xe9fa
movq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0xeacc
jmp 0xe9fa
movq %rsp, %rsi
movb $0x22, (%rsi)
movq 0x28(%rsp), %rdi
callq 0xeacc
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xea9a
jmp 0xea9a
jmp 0xea9a
jmp 0xea9a
jmp 0xea9a
jmp 0xea9a
jmp 0xea9a
movq %rax, %rbx
jmp 0xeac3
jmp 0xeaad
jmp 0xeaad
jmp 0xeaad
jmp 0xeaad
jmp 0xeaad
jmp 0xeaad
jmp 0xeaad
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0xeac3
callq 0x32f0
movq %rbx, %rdi
callq 0x34a0
nop