// File: /workspace/github_cpp_makefile_star2_O3/ef-gy[P]libefgy/include/ef.gy/json.h
// Function: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> efgy::json::to_string<long double>(efgy::json::value<long double> const&)
static inline std::string to_string(const value<Q> &v) {
  switch (v.type) {
    case object: {
      bool first = true;
      std::string rv = "{";

      for (const auto &e : v.asObject()) {
        rv += (first ? "" : ",") + to_string(json(e.first)) + ":" +
              to_string(e.second);
        first = false;
      }

      return rv + "}";
    }
    case array: {
      bool first = true;
      std::string rv = "[";

      for (const auto &e : v.asArray()) {
        rv += (first ? "" : ",") + to_string(e);
        first = false;
      }

      return rv + "]";
    }
    case string: {
      std::string rv = "\"";
      for (const auto &c : v.asString()) {
        switch (c) {
          case '\\':
          case '"':
            rv.push_back('\\');
            rv.push_back(c);
            break;
          case '\b':
            rv.push_back('\\');
            rv.push_back('b');
            break;
          case '\f':
            rv.push_back('\\');
            rv.push_back('f');
            break;
          case '\n':
            rv.push_back('\\');
            rv.push_back('n');
            break;
          case '\r':
            rv.push_back('\\');
            rv.push_back('r');
            break;
          case '\t':
            rv.push_back('\\');
            rv.push_back('t');
            break;
          default:
            rv.push_back(c);
            break;
        }
      }
      return rv + "\"";
    }
    case number: {
      std::string n = std::to_string(v.asNumber());
      while (n[(n.size() - 1)] == '0') {
        n.pop_back();
      }
      if (n[(n.size() - 1)] == '.') {
        n.pop_back();
      }
      return n;
    }
    case yes:
      return "true";
    case no:
      return "false";
    case null:
      return "null";
    default:
      // don't do anything for other types.
      return "";
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, 0x18(%rsp)
movl (%rsi), %eax
cmpq $0x6, %rax
ja 0x6688
movq %rsi, %r14
leaq 0x11c7e(%rip), %rcx     # 0x180b8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x12949(%rip), %rsi     # 0x18d9c
leaq 0x12943(%rip), %rdx     # 0x18d9d
leaq 0x20(%rsp), %rdi
callq 0xc6f6
cmpl $0x0, (%r14)
je 0x6890
leaq 0x88(%rsp), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
jmp 0x6b6c
movq 0x18(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x11da3(%rip), %rsi     # 0x1824a
leaq 0x11da0(%rip), %rdx     # 0x1824e
jmp 0x6803
leaq 0x90(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x128dd(%rip), %rsi     # 0x18da4
leaq 0x128d7(%rip), %rdx     # 0x18da5
leaq 0x80(%rsp), %rdi
callq 0xc6f6
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x138c4
movq 0x20(%rsp), %r14
movq 0x28(%rsp), %r13
testq %r13, %r13
je 0x65b8
xorl %ebp, %ebp
leaq 0x80(%rsp), %r15
leaq 0x11bc8(%rip), %r12     # 0x180d4
movb (%r14,%rbp), %bl
movzbl %bl, %eax
leal -0x8(%rax), %ecx
cmpl $0x5, %ecx
ja 0x6535
movslq (%r12,%rcx,4), %rax
addq %r12, %rax
jmpq *%rax
movb $0x62, %bl
movq %r15, %rdi
movl $0x5c, %esi
callq 0x4220
jmp 0x6594
cmpl $0x5c, %eax
je 0x653f
cmpl $0x22, %eax
jne 0x6594
movq %r15, %rdi
movl $0x5c, %esi
callq 0x4220
movb (%r14,%rbp), %bl
jmp 0x6594
movb $0x74, %bl
movq %r15, %rdi
movl $0x5c, %esi
callq 0x4220
jmp 0x6594
movb $0x6e, %bl
movq %r15, %rdi
movl $0x5c, %esi
callq 0x4220
jmp 0x6594
movb $0x66, %bl
movq %r15, %rdi
movl $0x5c, %esi
callq 0x4220
jmp 0x6594
movb $0x72, %bl
movq %r15, %rdi
movl $0x5c, %esi
callq 0x4220
movsbl %bl, %esi
movq %r15, %rdi
callq 0x4220
incq %rbp
cmpq %rbp, %r13
jne 0x650c
movq 0x20(%rsp), %r14
leaq 0x90(%rsp), %r12
leaq 0x30(%rsp), %rax
cmpq %rax, %r14
je 0x65d2
movq 0x30(%rsp), %rsi
incq %rsi
movq %r14, %rdi
callq 0x4270
movq 0x18(%rsp), %r15
leaq 0x10(%r15), %rbx
movq %rbx, (%r15)
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xd538
leaq 0x127a4(%rip), %rsi     # 0x18da4
movq %r15, %rdi
callq 0x44a0
movq 0x80(%rsp), %rdi
cmpq %r12, %rdi
jne 0x6883
jmp 0x6bc5
movq 0x8(%r14), %rax
fldt (%rax)
fstpt (%rsp)
movq 0x1b952(%rip), %rsi     # 0x21f80
leaq 0x12777(%rip), %rcx     # 0x18dac
movl $0x1358, %edx           # imm = 0x1358
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x17002
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movzbl -0x1(%rax,%rcx), %eax
cmpl $0x30, %eax
jne 0x6664
movq %rbx, %rdi
callq 0x4330
jmp 0x6649
cmpl $0x2e, %eax
jne 0x6bc5
movq 0x18(%rsp), %rdi
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4330
movq 0x18(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x11d9f(%rip), %rdx     # 0x1843a
movq %rdx, %rsi
jmp 0x6803
leaq 0x90(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x126ec(%rip), %rsi     # 0x18da2
leaq 0x126e6(%rip), %rdx     # 0x18da3
leaq 0x80(%rsp), %rdi
callq 0xc6f6
cmpl $0x1, (%r14)
jne 0x6819
movq 0x8(%r14), %rsi
leaq 0x60(%rsp), %rdi
callq 0x1404c
movq 0x60(%rsp), %r14
movq 0x68(%rsp), %r12
cmpq %r12, %r14
je 0x682a
leaq 0x30(%rsp), %rbp
leaq 0x11d39(%rip), %r13     # 0x1843a
leaq 0x50(%rsp), %rbx
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x640e
movq %r13, %rdi
callq 0x4110
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r13, %rcx
movq %rax, %r8
callq 0x42d0
movq %rbp, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6753
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x675a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
leaq 0x80(%rsp), %rdi
callq 0x4090
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x67a0
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0x40(%rsp), %rdi
cmpq %rbx, %rdi
je 0x67b7
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4270
addq $0x10, %r14
leaq 0x125dc(%rip), %r13     # 0x18d9e
cmpq %r12, %r14
jne 0x670b
jmp 0x682a
movq 0x18(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x125c6(%rip), %rsi     # 0x18da6
leaq 0x125c4(%rip), %rdx     # 0x18dab
jmp 0x6803
movq 0x18(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x11a8a(%rip), %rsi     # 0x18286
leaq 0x11a87(%rip), %rdx     # 0x1828a
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xc6f6
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x799c
movq 0x18(%rsp), %r15
leaq 0x10(%r15), %rbx
movq %rbx, (%r15)
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xd538
leaq 0x11a10(%rip), %rsi     # 0x18272
movq %r15, %rdi
callq 0x44a0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x6bc5
movq 0x90(%rsp), %rsi
jmp 0x6bbd
movq 0x8(%r14), %rsi
leaq 0x80(%rsp), %rdi
callq 0x13b1c
leaq 0x88(%rsp), %rax
movq 0x10(%rax), %r14
cmpq %rax, %r14
je 0x6b6c
leaq 0x70(%rsp), %r13
leaq 0x50(%rsp), %r12
leaq 0x11b73(%rip), %rbp     # 0x1843a
leaq 0xf8(%rsp), %r15
movl $0x6, 0xf8(%rsp)
movq $0x0, 0x100(%rsp)
movq %r15, %rdi
callq 0x13852
leaq 0x20(%r14), %rsi
movq %rax, %rdi
callq 0x4150
leaq 0x108(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x640e
movq %rbp, %rdi
callq 0x4110
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbp, %rcx
movq %rax, %r8
callq 0x42d0
leaq 0xe8(%rsp), %rbp
movq %rbp, 0xd8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x695b
movq %rdx, 0xd8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe8(%rsp)
jmp 0x6962
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0xe0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xd8(%rsp), %rdi
leaq 0x12414(%rip), %rsi     # 0x18da0
callq 0x44a0
movq %r13, 0x60(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x69b4
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x69bc
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x40(%r14), %rsi
leaq 0xb8(%rsp), %rdi
callq 0x640e
movq 0x60(%rsp), %rcx
movl $0xf, %edi
cmpq %r13, %rcx
je 0x69f9
movq 0x70(%rsp), %rdi
movq 0x68(%rsp), %r8
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x6a36
movl $0xf, %edi
leaq 0xc8(%rsp), %r9
cmpq %r9, %rsi
je 0x6a31
movq 0xc8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x6a42
leaq 0x60(%rsp), %rdi
callq 0x4090
jmp 0x6a53
leaq 0xb8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x42d0
movq %r12, 0x40(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x6a73
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x6a7b
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0x20(%rsp), %rdi
callq 0x4090
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x6ac3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x6ae8
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0x60(%rsp), %rdi
cmpq %r13, %rdi
je 0x6aff
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6b1c
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x6b41
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x4270
movq %r15, %rdi
callq 0x13602
movq %r14, %rdi
callq 0x4310
movq %rax, %r14
leaq 0x12243(%rip), %rbp     # 0x18d9e
leaq 0x88(%rsp), %rax
cmpq %rax, %r14
jne 0x68cf
leaq 0x80(%rsp), %rdi
callq 0x132aa
movq 0x18(%rsp), %r15
leaq 0x10(%r15), %rbx
movq %rbx, (%r15)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0xd538
leaq 0x11705(%rip), %rsi     # 0x182a6
movq %r15, %rdi
callq 0x44a0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x6bc5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4270
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6bfa
jmp 0x6c1f
movq %rax, %r14
movq (%r15), %rdi
cmpq %rbx, %rdi
je 0x6d58
movq (%rbx), %rsi
incq %rsi
callq 0x4270
jmp 0x6d58
movq %rax, %r14
jmp 0x6d58
jmp 0x6c06
jmp 0x6c1f
movq %rax, %r14
movq (%r15), %rdi
cmpq %rbx, %rdi
je 0x6d8c
movq (%rbx), %rsi
jmp 0x6d84
jmp 0x6c1f
movq %rax, %r14
jmp 0x6d8c
jmp 0x6c2b
jmp 0x6c2b
movq %rax, %r14
jmp 0x6db1
movq %rax, %r14
jmp 0x6cf2
movq %rax, %r14
jmp 0x6ccd
movq %rax, %r14
jmp 0x6ca8
movq %rax, %r14
jmp 0x6c91
movq %rax, %r14
jmp 0x6c6c
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x6c6c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x6c91
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0x60(%rsp), %rdi
cmpq %r13, %rdi
je 0x6ca8
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x6ccd
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
je 0x6cf2
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x4270
leaq 0xf8(%rsp), %rdi
callq 0x13602
jmp 0x6d4b
movq %rax, %r14
jmp 0x6d3c
movq %rax, %r14
jmp 0x6d25
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6d25
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0x40(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6d3c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x4270
leaq 0x60(%rsp), %rdi
callq 0x799c
jmp 0x6d8c
movq %rax, %r14
leaq 0x80(%rsp), %rdi
callq 0x132aa
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x6db1
movq 0x30(%rsp), %rsi
jmp 0x6da9
movq %rax, %r14
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6d8c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4270
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x6db1
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x4270
movq %r14, %rdi
callq 0x4440
nop