// File: /workspace/github_cpp_makefile_star2_O1/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 0x6c4cc
cmpl $0x7, %eax
ja 0x6fab3
movl %eax, %eax
leaq 0x7f4a(%rip), %rcx      # 0x77794
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x7fce(%rip), %rsi      # 0x77831
leaq 0x7fcb(%rip), %rdx      # 0x77835
movq %rsp, %rdi
callq 0x2f1b2
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x6fda4
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6faae
jmp 0x6fab3
movq %r14, %rdi
callq 0x6c64c
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6ef60
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fda4
jmp 0x6faa0
movq %r14, %rdi
callq 0x6c936
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6ee34
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fda4
jmp 0x6faa0
movq %r14, %rdi
callq 0x6cb08
movq %rsp, %r14
movq %r14, %rdi
callq 0x6ee91
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fda4
jmp 0x6faa0
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x6d576
movq (%r15), %rax
cmpq 0x8(%r15), %rax
je 0x6fb2b
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x2a2d(%rip), %rsi      # 0x72358
leaq 0x2a27(%rip), %rdx      # 0x72359
movq %rsp, %rdi
callq 0x2f1b2
movq %rbx, %rdi
callq 0x7025a
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 0x6f96a
callq 0x27560
movq %rbx, %rdi
callq 0x7008e
movq 0x20(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x6d3c2
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f758
movq (%r12), %rsi
movq %rsp, %rdi
callq 0x6ef60
movq %rbx, %rdi
callq 0x7025a
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x27210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f9c8
callq 0x27560
movq %r15, %rdi
leaq 0x7276(%rip), %rsi      # 0x76c48
callq 0x27c10
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6f81c
addq $0x20, %r12
movq 0x28(%rsp), %rbp
cmpq %rbp, %r12
je 0x6f9ff
movq %r15, %rdi
leaq 0x291f(%rip), %rsi      # 0x72319
callq 0x27c10
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6fbfa
cmpq %rbp, %r12
jne 0x6f977
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 0x7dfc(%rip), %rsi      # 0x77837
leaq 0x7df6(%rip), %rdx      # 0x77838
callq 0x2f1b2
movq %rbx, %rdi
callq 0x7025a
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x27210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6fa73
callq 0x27560
leaq 0x20(%rsp), %rdi
callq 0x2f0de
jmp 0x6fab3
movq %r14, %rdi
callq 0x6c77a
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6edc0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fda4
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fab3
callq 0x27560
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x6cbfe
leaq 0x31f0(%rip), %rcx      # 0x72cc1
leaq 0x3810(%rip), %rsi      # 0x732e8
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 0x2f1b2
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fda4
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6faae
jmp 0x6fab3
movq %rbx, %rdi
movq %r14, %rsi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6fdc6
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x7cfb(%rip), %rsi      # 0x77836
leaq 0x7cf6(%rip), %rdx      # 0x77838
movq %rsp, %rdi
callq 0x2f1b2
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x6fda4
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6fa6e
jmp 0x6fa73
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6fbd5
jmp 0x6fbdf
jmp 0x6fbdc
jmp 0x6fbdc
jmp 0x6fbdc
jmp 0x6fbdc
jmp 0x6fbdc
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x6fbb7
jmp 0x6fbe9
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6fbb7
jmp 0x6fbe9
jmp 0x6fba6
jmp 0x6fba6
movq %rax, %rbx
jmp 0x6fbe9
jmp 0x6fba6
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6fbe9
callq 0x27560
jmp 0x6fbe9
jmp 0x6fbc4
jmp 0x6fbc4
jmp 0x6fbdc
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6fbdf
callq 0x27560
jmp 0x6fbdf
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2f0de
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
nop