// File: /workspace/github_cpp_makefile_star2_O1/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 0x1361c
cmpl $0x7, %eax
ja 0x19127
movl %eax, %eax
leaq 0x51269(%rip), %rcx     # 0x6a1a4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpb $0x0, 0x29(%rbx)
jne 0x19127
addq $0x8, %rbx
leaq 0x513fb(%rip), %rsi     # 0x6a354
movq %rbx, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8c20
leaq -0x60(%rbp), %rsi
leaq -0x68(%rbp), %rdx
movq %r14, %rdi
callq 0x13a74
testb %al, %al
je 0x19127
movq -0x60(%rbp), %rsi
movl -0x68(%rbp), %edx
subl %esi, %edx
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x189fd
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
jmp 0x19115
movq %r14, %rdi
callq 0x14464
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x186b8
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
jmp 0x19115
movq %r14, %rdi
callq 0x1446e
leaq 0x508e6(%rip), %rax     # 0x698d8
movl (%rax), %edx
leaq -0x48(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq 0x18793
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
jmp 0x19115
leaq -0x60(%rbp), %rdi
movq %r14, %rsi
callq 0x162f2
leaq 0x8(%rbx), %r15
movq %r15, %rdi
movl $0x7b, %esi
callq 0x8530
movq -0x60(%rbp), %r12
cmpq -0x58(%rbp), %r12
je 0x190d3
leaq 0x601c6(%rip), %r13     # 0x79214
cmpq -0x60(%rbp), %r12
je 0x19061
movq %r15, %rdi
movl $0x2c, %esi
callq 0x8530
movq (%r12), %rsi
movl 0x8(%r12), %edx
leaq -0x48(%rbp), %rdi
callq 0x189fd
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 0x19095
callq 0x85d0
cmpb $0x0, 0x28(%rbx)
movq %r13, %rsi
leaq 0x512bc(%rip), %rax     # 0x6a35f
cmovneq %rax, %rsi
movq %r15, %rdi
callq 0x8c20
movq %r14, %rdi
movq %r12, %rsi
callq 0x159b0
movq %rbx, %rdi
movq %rax, %rsi
callq 0x18f0a
addq $0x20, %r12
cmpq -0x58(%rbp), %r12
jne 0x1904e
movq %r15, %rdi
movl $0x7d, %esi
callq 0x8530
leaq -0x60(%rbp), %rdi
callq 0x10466
jmp 0x19127
movq %r14, %rdi
callq 0x1445a
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x18588
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 0x19127
callq 0x85d0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x14652
leaq 0x509a7(%rip), %rcx     # 0x69aec
leaq 0x508a7(%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 0x1126a
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x81f0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
jne 0x19122
jmp 0x19127
leaq 0x8(%rbx), %r15
movq %r15, %rdi
movl $0x5b, %esi
callq 0x8530
movq %r14, %rdi
callq 0x1493c
testl %eax, %eax
je 0x191e1
movl %eax, %r12d
xorl %r13d, %r13d
testl %r13d, %r13d
je 0x191c3
movq %r15, %rdi
movl $0x2c, %esi
callq 0x8530
movq %r14, %rdi
movl %r13d, %esi
callq 0x150b6
movq %rbx, %rdi
movq %rax, %rsi
callq 0x18f0a
incl %r13d
cmpl %r13d, %r12d
jne 0x191b1
movq %r15, %rdi
movl $0x5d, %esi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x8530
jmp 0x19210
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
jne 0x19220
jmp 0x1924e
jmp 0x19210
jmp 0x19210
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1924e
callq 0x85d0
jmp 0x1924e
jmp 0x19242
jmp 0x19242
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x19245
callq 0x85d0
jmp 0x19245
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x10466
movq %rbx, %rdi
callq 0x8b40