// File: /workspace/github_cpp_makefile_star2_O2/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::writeValue(Json::Value const&)
void 
StyledWriter::writeValue( const Value &value )
{
   switch ( value.type() )
   {
   case nullValue:
      pushValue( "null" );
      break;
   case intValue:
      pushValue( valueToString( value.asInt() ) );
      break;
   case uintValue:
      pushValue( valueToString( value.asUInt() ) );
      break;
   case realValue:
      pushValue( valueToString( value.asDouble() ) );
      break;
   case stringValue:
      pushValue( valueToQuotedString( value.asCString() ) );
      break;
   case booleanValue:
      pushValue( valueToString( value.asBool() ) );
      break;
   case arrayValue:
      writeArrayValue( value);
      break;
   case objectValue:
      {
         Value::Members members( value.getMemberNames() );
         if ( members.empty() )
            pushValue( "{}" );
         else
         {
            writeWithIndent( "{" );
            indent();
            Value::Members::iterator it = members.begin();
            while ( true )
            {
               const std::string &name = *it;
               const Value &childValue = value[name];
               writeCommentBeforeValue( childValue );
               writeWithIndent( valueToQuotedString( name.c_str() ) );
               document_ += " : ";
               writeValue( childValue );
               if ( ++it == members.end() )
               {
                  writeCommentAfterValueOnSameLine( childValue );
                  break;
               }
               document_ += ",";
               writeCommentAfterValueOnSameLine( childValue );
            }
            unindent();
            writeWithIndent( "}" );
         }
      }
      break;
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x6c9da
cmpl $0x7, %eax
ja 0x6f912
movl %eax, %eax
leaq 0x703c(%rip), %rcx      # 0x76770
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x70c9(%rip), %rsi      # 0x7680d
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x35280
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6fbd4
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6f912
movq %r14, %rdi
callq 0x6cb32
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6efc5
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fbd4
jmp 0x6f908
movq %r14, %rdi
callq 0x6cdd4
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6eed3
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fbd4
jmp 0x6f908
movq %r14, %rdi
callq 0x6cf90
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x6ef10
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fbd4
jmp 0x6f908
leaq 0x30(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x6d84e
movq (%r15), %rax
cmpq 0x8(%r15), %rax
je 0x6f97c
leaq 0x1b5a(%rip), %rsi      # 0x71362
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x35280
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6fe2a
leaq 0x10(%rsp), %rdi
callq 0x35730
movq %rbx, %rdi
callq 0x6fe50
movq 0x30(%rsp), %r15
leaq 0x20(%rbx), %r12
leaq 0x10(%rsp), %r13
movq %r14, %rdi
movq %r15, %rsi
callq 0x6d6e4
movq %rax, %rbp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f668
movq (%r15), %rsi
movq %r13, %rdi
callq 0x6efc5
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6fe2a
movq %r13, %rdi
callq 0x35730
movq %r12, %rdi
leaq 0x6389(%rip), %rsi      # 0x75c0e
callq 0x35c30
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6f706
addq $0x20, %r15
cmpq 0x38(%rsp), %r15
je 0x6f93a
movq %r12, %rdi
leaq 0x1a75(%rip), %rsi      # 0x71323
callq 0x35c30
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6fa8e
jmp 0x6f844
movq %r14, %rdi
callq 0x6cc28
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6ee48
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fbd4
jmp 0x6f908
movq %r14, %rdi
callq 0x6d076
movzbl %al, %esi
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x6ef93
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fbd4
leaq 0x10(%rsp), %rdi
callq 0x35730
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %r14, %rsi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6fbec
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6fa8e
movq %rbx, %rdi
callq 0x6feb6
leaq 0x6ebf(%rip), %rsi      # 0x76813
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x35280
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6fe2a
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6f9a9
leaq 0x6e8f(%rip), %rsi      # 0x76812
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x35280
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6fbd4
leaq 0x10(%rsp), %rdi
callq 0x35730
leaq 0x30(%rsp), %rdi
callq 0x3abf0
jmp 0x6f912
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa73
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa73
jmp 0x6fa70
jmp 0x6fa70
jmp 0x6fa70
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa73
jmp 0x6fa70
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa7d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa7d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa7d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa7d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa7d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa7d
jmp 0x6fa70
jmp 0x6fa70
movq %rax, %rbx
jmp 0x6fa7d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fa73
jmp 0x6fa70
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x3abf0
movq %rbx, %rdi
callq 0x35b50
movq %rax, %rdi
callq 0x3a198
nop