// File: 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
subq $0x180, %rsp            # imm = 0x180
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1f3a0
movl %eax, %ecx
movq %rcx, -0x140(%rbp)
subl $0x7, %eax
ja 0x2c02b
movq -0x140(%rbp), %rax
leaq 0x90b59(%rip), %rcx     # 0xbc6b0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x148(%rbp), %rax
testb $0x1, 0x29(%rax)
jne 0x2bb84
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
leaq 0x90ee7(%rip), %rsi     # 0xbca66
callq 0x9740
jmp 0x2c02b
movq -0x10(%rbp), %rdi
callq 0x210d0
movq %rax, %rsi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x150(%rbp)
callq 0x2ac40
movq -0x148(%rbp), %rdi
movq -0x150(%rbp), %rsi
addq $0x8, %rdi
callq 0x9980
jmp 0x2bbbe
leaq -0x30(%rbp), %rdi
callq 0x9480
jmp 0x2c02b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x9480
jmp 0x2c034
movq -0x10(%rbp), %rdi
callq 0x210f0
movq %rax, %rsi
leaq -0x60(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x2ade0
movq -0x148(%rbp), %rdi
movq -0x158(%rbp), %rsi
addq $0x8, %rdi
callq 0x9980
jmp 0x2bc1b
leaq -0x60(%rbp), %rdi
callq 0x9480
jmp 0x2c02b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x9480
jmp 0x2c034
movq -0x10(%rbp), %rdi
callq 0x21110
leaq 0x901c5(%rip), %rax     # 0xbbe18
movl (%rax), %esi
leaq -0x80(%rbp), %rdi
movq %rdi, -0x160(%rbp)
xorl %edx, %edx
callq 0x2af00
movq -0x148(%rbp), %rdi
movq -0x160(%rbp), %rsi
addq $0x8, %rdi
callq 0x9980
jmp 0x2bc80
leaq -0x80(%rbp), %rdi
callq 0x9480
jmp 0x2c02b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x9480
jmp 0x2c034
movq -0x10(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0x1fc70
andb $0x1, %al
movb %al, -0x91(%rbp)
testb $0x1, -0x91(%rbp)
je 0x2bd38
movq -0x88(%rbp), %rsi
movl -0x90(%rbp), %edx
movl %esi, %eax
subl %eax, %edx
leaq -0xb8(%rbp), %rdi
movq %rdi, -0x168(%rbp)
callq 0x2b480
movq -0x148(%rbp), %rdi
movq -0x168(%rbp), %rsi
addq $0x8, %rdi
callq 0x9980
jmp 0x2bd0d
leaq -0xb8(%rbp), %rdi
callq 0x9480
jmp 0x2bd38
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x9480
jmp 0x2c034
jmp 0x2c02b
movq -0x10(%rbp), %rdi
callq 0x214a0
movzbl %al, %esi
leaq -0xd8(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0x2b3a0
movq -0x148(%rbp), %rdi
movq -0x170(%rbp), %rsi
addq $0x8, %rdi
callq 0x9980
jmp 0x2bd75
leaq -0xd8(%rbp), %rdi
callq 0x9480
jmp 0x2c02b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x9480
jmp 0x2c034
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
movl $0x5b, %esi
callq 0x9490
movq -0x10(%rbp), %rdi
callq 0x21a60
movl %eax, -0xdc(%rbp)
movl $0x0, -0xe0(%rbp)
movl -0xe0(%rbp), %eax
cmpl -0xdc(%rbp), %eax
jae 0x2be2c
cmpl $0x0, -0xe0(%rbp)
jbe 0x2bdfd
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
movl $0x2c, %esi
callq 0x9490
movq -0x10(%rbp), %rdi
movl -0xe0(%rbp), %esi
callq 0x224a0
movq -0x148(%rbp), %rdi
movq %rax, %rsi
callq 0x2bb10
movl -0xe0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xe0(%rbp)
jmp 0x2bdd1
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
movl $0x5d, %esi
callq 0x9490
jmp 0x2c02b
movq -0x10(%rbp), %rsi
leaq -0xf8(%rbp), %rdi
callq 0x23e00
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
movl $0x7b, %esi
callq 0x9490
jmp 0x2be6d
leaq -0xf8(%rbp), %rdi
callq 0x29570
movq %rax, -0x100(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x29420
movq %rax, -0x108(%rbp)
leaq -0x100(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x31490
testb $0x1, %al
jne 0x2beaf
jmp 0x2bff8
leaq -0x100(%rbp), %rdi
callq 0x314d0
movq %rax, -0x110(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x29570
movq %rax, -0x118(%rbp)
leaq -0x100(%rbp), %rdi
leaq -0x118(%rbp), %rsi
callq 0x31490
testb $0x1, %al
jne 0x2beee
jmp 0x2bf18
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
movl $0x2c, %esi
callq 0x9490
jmp 0x2bf05
jmp 0x2bf18
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2c01d
movq -0x110(%rbp), %rdi
callq 0x99b0
movq %rax, -0x178(%rbp)
movq -0x110(%rbp), %rdi
callq 0x9b00
movq -0x178(%rbp), %rsi
movl %eax, %edx
leaq -0x138(%rbp), %rdi
callq 0x2b480
jmp 0x2bf4e
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
leaq -0x138(%rbp), %rsi
callq 0x9980
jmp 0x2bf67
leaq -0x138(%rbp), %rdi
callq 0x9480
movq -0x148(%rbp), %rdi
movb 0x28(%rdi), %cl
leaq 0x90aed(%rip), %rax     # 0xbca71
leaq 0x9ffd9(%rip), %rsi     # 0xcbf64
testb $0x1, %cl
cmovneq %rax, %rsi
addq $0x8, %rdi
callq 0x9740
jmp 0x2bf9d
movq -0x10(%rbp), %rdi
movq -0x110(%rbp), %rsi
callq 0x231f0
movq %rax, -0x180(%rbp)
jmp 0x2bfb6
movq -0x180(%rbp), %rsi
movq -0x148(%rbp), %rdi
callq 0x2bb10
jmp 0x2bfcb
jmp 0x2bfcd
leaq -0x100(%rbp), %rdi
callq 0x314f0
jmp 0x2be80
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x9480
jmp 0x2c01d
movq -0x148(%rbp), %rdi
addq $0x8, %rdi
movl $0x7d, %esi
callq 0x9490
jmp 0x2c00f
leaq -0xf8(%rbp), %rdi
callq 0x15130
jmp 0x2c02b
leaq -0xf8(%rbp), %rdi
callq 0x15130
jmp 0x2c034
addq $0x180, %rsp            # imm = 0x180
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x9d20
nopl (%rax)