// File: /workspace/github_cpp_makefile_star2_O3/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 $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x6be66
cmpl $0x7, %eax
ja 0x6f546
movl %eax, %eax
leaq 0x7530(%rip), %rcx      # 0x76790
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x75b4(%rip), %rsi      # 0x7682d
leaq 0x75b1(%rip), %rdx      # 0x76831
movq %rsp, %rdi
callq 0x2f1a0
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x6f7c6
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6f45b
jmp 0x6f546
movq %r14, %rdi
callq 0x6bfe6
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6e97c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6f7c6
jmp 0x6f449
movq %r14, %rdi
callq 0x6c2cc
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6e840
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6f7c6
jmp 0x6f449
movq %r14, %rdi
callq 0x6c49a
movq %rsp, %r14
movq %r14, %rdi
callq 0x6e89d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6f7c6
jmp 0x6f449
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x6cfce
movq (%r15), %rax
leaq 0x10(%rsp), %rcx
cmpq 0x8(%r15), %rax
je 0x6f555
movq %rsp, %rdi
movq %rcx, (%rdi)
leaq 0x2015(%rip), %rsi      # 0x71358
leaq 0x200f(%rip), %rdx      # 0x71359
callq 0x2f1a0
movq %rbx, %rdi
callq 0x6fc2a
leaq 0x20(%rbx), %r15
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x27210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f37f
callq 0x27560
movq %rbx, %rdi
callq 0x6faa6
movq 0x20(%rsp), %r12
leaq 0x68b5(%rip), %rbp      # 0x75c48
movq %r14, %rdi
movq %r12, %rsi
callq 0x6cdca
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f16e
movq (%r12), %rsi
movq %rsp, %rdi
callq 0x6e97c
movq %rbx, %rdi
callq 0x6fc2a
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x27210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f3e4
callq 0x27560
movq %r15, %rdi
movq %rbp, %rsi
callq 0x27c00
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6f232
addq $0x20, %r12
cmpq 0x28(%rsp), %r12
je 0x6f4d1
movq %r15, %rdi
leaq 0x1f06(%rip), %rsi      # 0x71319
callq 0x27c00
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6f61c
jmp 0x6f393
movq %r14, %rdi
callq 0x6c112
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6e7cc
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6f7c6
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f546
callq 0x27560
jmp 0x6f546
movq %r14, %rdi
callq 0x6c58e
leaq 0x284d(%rip), %rcx      # 0x71cc1
leaq 0x2e6d(%rip), %rsi      # 0x722e8
testb %al, %al
cmovneq %rcx, %rsi
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movzbl %al, %edx
xorq $0x5, %rdx
addq %rsi, %rdx
movq %rsp, %r14
movq %r14, %rdi
callq 0x2f1a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6f7c6
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6f45b
jmp 0x6f546
movq %rbx, %rdi
movq %r14, %rsi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6f7e8
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6f61c
leaq 0x40(%rbx), %rdi
movq 0x48(%rbx), %rsi
movslq 0x64(%rbx), %rax
subq %rax, %rsi
xorl %edx, %edx
callq 0x271f0
movq %rsp, %rdi
leaq 0x10(%rsp), %rax
movq %rax, (%rdi)
leaq 0x732f(%rip), %rsi      # 0x76833
leaq 0x7329(%rip), %rdx      # 0x76834
callq 0x2f1a0
movq %rbx, %rdi
callq 0x6fc2a
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x27210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f53c
callq 0x27560
leaq 0x20(%rsp), %rdi
callq 0x2f0c0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rsp, %rdi
movq %rcx, %r14
movq %rcx, (%rdi)
leaq 0x72cd(%rip), %rsi      # 0x76832
leaq 0x72c8(%rip), %rdx      # 0x76834
callq 0x2f1a0
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x6f7c6
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6f537
jmp 0x6f53c
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6f5f7
jmp 0x6f601
jmp 0x6f5fe
jmp 0x6f5fe
jmp 0x6f5fe
jmp 0x6f5fe
jmp 0x6f5fe
jmp 0x6f5fe
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6f5d9
jmp 0x6f60b
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6f5d9
jmp 0x6f60b
jmp 0x6f5c8
jmp 0x6f5c8
movq %rax, %rbx
jmp 0x6f60b
jmp 0x6f5c8
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f60b
callq 0x27560
jmp 0x6f60b
jmp 0x6f5e6
jmp 0x6f5e6
jmp 0x6f5fe
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f601
callq 0x27560
jmp 0x6f601
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2f0c0
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
nop