// File: /workspace/github_cpp_makefile_star2_O3/DoubleString[P]RtConverter/src/Json/json_writer.cpp
// Function: Json::FastWriter::writeValue(Json::Value const&)
void FastWriter::writeValue(const Value& value) {
  switch (value.type()) {
  case nullValue:
    if (!dropNullPlaceholders_)
      document_ += "null";
    break;
  case intValue:
    document_ += valueToString(value.asLargestInt());
    break;
  case uintValue:
    document_ += valueToString(value.asLargestUInt());
    break;
  case realValue:
    document_ += valueToString(value.asDouble());
    break;
  case stringValue: {
    // Is NULL possible for value.string_? No.
    char const* str;
    char const* end;
    bool ok = value.getString(&str, &end);
    if (ok)
      document_ += valueToQuotedStringN(str, static_cast<unsigned>(end - str));
    break;
  }
  case booleanValue:
    document_ += valueToString(value.asBool());
    break;
  case arrayValue: {
    document_ += '[';
    ArrayIndex size = value.size();
    for (ArrayIndex index = 0; index < size; ++index) {
      if (index > 0)
        document_ += ',';
      writeValue(value[index]);
    }
    document_ += ']';
  } break;
  case objectValue: {
    Value::Members members(value.getMemberNames());
    document_ += '{';
    for (Value::Members::iterator it = members.begin(); it != members.end();
         ++it) {
      const JSONCPP_STRING& name = *it;
      if (it != members.begin())
        document_ += ',';
      document_ += valueToQuotedStringN(name.data(),
                                        static_cast<unsigned>(name.length()));
      document_ += yamlCompatibilityEnabled_ ? ": " : ":";
      writeValue(value[name]);
    }
    document_ += '}';
  } break;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x13364
cmpl $0x7, %eax
ja 0x18ac1
movl %eax, %eax
leaq 0x518cf(%rip), %rcx     # 0x6a1a4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpb $0x0, 0x29(%rbx)
jne 0x18ac1
addq $0x8, %rbx
leaq 0x51a61(%rip), %rsi     # 0x6a354
movq %rbx, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8c10
leaq -0x60(%rbp), %rsi
leaq -0x68(%rbp), %rdx
movq %r14, %rdi
callq 0x1370a
testb %al, %al
je 0x18ac1
movq -0x60(%rbp), %rsi
movl -0x68(%rbp), %edx
subl %esi, %edx
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x1837d
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
jmp 0x18aaf
movq %r14, %rdi
callq 0x140fa
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x18048
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
jmp 0x18aaf
movq %r14, %rdi
callq 0x14104
leaq 0x50f4c(%rip), %rax     # 0x698d8
movl (%rax), %edx
leaq -0x48(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0x18123
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
jmp 0x18aaf
leaq -0x60(%rbp), %rdi
movq %r14, %rsi
callq 0x15d40
leaq 0x8(%rbx), %r15
movq %r15, %rdi
movl $0x7b, %esi
callq 0x8530
movq -0x60(%rbp), %r12
cmpq -0x58(%rbp), %r12
je 0x18a6d
leaq 0x60804(%rip), %r13     # 0x791ec
cmpq -0x60(%rbp), %r12
je 0x189fb
movq %r15, %rdi
movl $0x2c, %esi
callq 0x8530
movq (%r12), %rsi
movl 0x8(%r12), %edx
leaq -0x48(%rbp), %rdi
callq 0x1837d
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r15, %rdi
callq 0x81f0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x18a2f
callq 0x85d0
cmpb $0x0, 0x28(%rbx)
movq %r13, %rsi
leaq 0x51922(%rip), %rax     # 0x6a35f
cmovneq %rax, %rsi
movq %r15, %rdi
callq 0x8c10
movq %r14, %rdi
movq %r12, %rsi
callq 0x154d4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x188a4
addq $0x20, %r12
cmpq -0x58(%rbp), %r12
jne 0x189e8
movq %r15, %rdi
movl $0x7d, %esi
callq 0x8530
leaq -0x60(%rbp), %rdi
callq 0x101e2
jmp 0x18ac1
movq %r14, %rdi
callq 0x140f0
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x17f18
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x18ac1
callq 0x85d0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x142e8
leaq 0x5100d(%rip), %rcx     # 0x69aec
leaq 0x50f0d(%rip), %rsi     # 0x699f3
testb %al, %al
cmovneq %rcx, %rsi
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movzbl %al, %edx
xorq $0x5, %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x1100a
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
jne 0x18abc
jmp 0x18ac1
leaq 0x8(%rbx), %r15
movq %r15, %rdi
movl $0x5b, %esi
callq 0x8530
movq %r14, %rdi
callq 0x145be
testl %eax, %eax
je 0x18b7b
movl %eax, %r12d
xorl %r13d, %r13d
testl %r13d, %r13d
je 0x18b5d
movq %r15, %rdi
movl $0x2c, %esi
callq 0x8530
movq %r14, %rdi
movl %r13d, %esi
callq 0x14c88
movq %rbx, %rdi
movq %rax, %rsi
callq 0x188a4
incl %r13d
cmpl %r13d, %r12d
jne 0x18b4b
movq %r15, %rdi
movl $0x5d, %esi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8530
jmp 0x18baa
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
jne 0x18bba
jmp 0x18be8
jmp 0x18baa
jmp 0x18baa
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x18be8
callq 0x85d0
jmp 0x18be8
jmp 0x18bdc
jmp 0x18bdc
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x18bdf
callq 0x85d0
jmp 0x18bdf
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x101e2
movq %rbx, %rdi
callq 0x8b30