// File: /workspace/github_cpp_makefile_star2_O2/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::FastWriter::writeValue(Json::Value const&)
void 
FastWriter::writeValue( const Value &value )
{
   switch ( value.type() )
   {
   case nullValue:
      document_ += "null";
      break;
   case intValue:
      document_ += valueToString( value.asInt() );
      break;
   case uintValue:
      document_ += valueToString( value.asUInt() );
      break;
   case realValue:
      document_ += valueToString( value.asDouble() );
      break;
   case stringValue:
      document_ += valueToQuotedString( value.asCString() );
      break;
   case booleanValue:
      document_ += valueToString( value.asBool() );
      break;
   case arrayValue:
      {
         document_ += "[";
         int size = value.size();
         for ( int 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 std::string &name = *it;
            if ( it != members.begin() )
               document_ += ",";
            document_ += valueToQuotedString( name.c_str() );
            document_ += yamlCompatiblityEnabled_ ? ": " 
                                                  : ":";
            writeValue( value[name] );
         }
         document_ += "}";
      }
      break;
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x6c9da
cmpl $0x7, %eax
ja 0x6f482
movl %eax, %eax
leaq 0x745e(%rip), %rcx      # 0x76750
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %rbx
leaq 0x7507(%rip), %rsi      # 0x7680d
movq %rbx, %rdi
jmp 0x6f4f8
movq %r14, %rdi
callq 0x6cb32
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6efc5
addq $0x8, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x35c60
jmp 0x6f47a
movq %r14, %rdi
callq 0x6cdd4
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6eed3
addq $0x8, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x35c60
jmp 0x6f47a
movq %r14, %rdi
callq 0x6cf90
movq %rsp, %r14
movq %r14, %rdi
callq 0x6ef10
addq $0x8, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x35c60
jmp 0x6f47a
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x6d84e
leaq 0x8(%rbx), %r15
leaq 0x1fc1(%rip), %rsi      # 0x71362
movq %r15, %rdi
callq 0x35c30
movq 0x20(%rsp), %r12
movq %rsp, %r13
leaq 0x1fb9(%rip), %rbp      # 0x71371
cmpq 0x28(%rsp), %r12
je 0x6f50b
cmpq 0x20(%rsp), %r12
je 0x6f3d9
movq %r15, %rdi
leaq 0x1f4f(%rip), %rsi      # 0x71323
callq 0x35c30
movq (%r12), %rsi
movq %r13, %rdi
callq 0x6efc5
movq %r15, %rdi
movq %r13, %rsi
callq 0x35c60
movq %r13, %rdi
callq 0x35730
cmpb $0x0, 0x28(%rbx)
movq %rbp, %rsi
leaq 0x6809(%rip), %rax      # 0x75c0f
cmovneq %rax, %rsi
movq %r15, %rdi
callq 0x35c30
movq %r14, %rdi
movq %r12, %rsi
callq 0x6d6e4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f2c4
addq $0x20, %r12
jmp 0x6f3b8
movq %r14, %rdi
callq 0x6cc28
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6ee48
addq $0x8, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x35c60
jmp 0x6f47a
movq %r14, %rdi
callq 0x6d076
movzbl %al, %esi
movq %rsp, %r14
movq %r14, %rdi
callq 0x6ef93
addq $0x8, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x35c60
movq %rsp, %rdi
callq 0x35730
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8(%rbx), %r15
leaq 0x69fe(%rip), %rsi      # 0x75e9a
movq %r15, %rdi
callq 0x35c30
movq %r14, %rdi
callq 0x6d20c
movl %eax, %ebp
xorl %r12d, %r12d
testl %eax, %eax
cmovlel %r12d, %ebp
leaq 0x1e65(%rip), %r13      # 0x71323
cmpl %r12d, %ebp
je 0x6f4ee
testl %r12d, %r12d
je 0x6f4d3
movq %r15, %rdi
movq %r13, %rsi
callq 0x35c30
movq %r14, %rdi
movl %r12d, %esi
callq 0x6d484
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f2c4
incl %r12d
jmp 0x6f4be
leaq 0x2a34(%rip), %rsi      # 0x71f29
movq %r15, %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x35c30
leaq 0x7301(%rip), %rsi      # 0x76813
movq %r15, %rdi
callq 0x35c30
leaq 0x20(%rsp), %rdi
callq 0x3abf0
jmp 0x6f482
movq %rax, %rbx
movq %rsp, %rdi
callq 0x35730
jmp 0x6f588
movq %rax, %rbx
movq %rsp, %rdi
callq 0x35730
jmp 0x6f588
movq %rax, %rbx
movq %rsp, %rdi
callq 0x35730
jmp 0x6f588
movq %rax, %rbx
movq %rsp, %rdi
callq 0x35730
jmp 0x6f588
movq %rax, %rbx
movq %rsp, %rdi
callq 0x35730
jmp 0x6f588
jmp 0x6f57b
movq %rax, %rbx
movq %rsp, %rdi
callq 0x35730
jmp 0x6f57e
jmp 0x6f57b
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x3abf0
movq %rbx, %rdi
callq 0x35b50
movq %rax, %rdi
callq 0x3a198