// File: /workspace/github_cpp_makefile_star2_O1/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 0x6c4cc
cmpl $0x7, %eax
ja 0x6f52b
movl %eax, %eax
leaq 0x8402(%rip), %rcx      # 0x77774
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %rbx
leaq 0x84ab(%rip), %rsi      # 0x77831
movq %rbx, %rdi
jmp 0x6f5f5
movq %r14, %rdi
callq 0x6c64c
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6ef60
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
jmp 0x6f518
movq %r14, %rdi
callq 0x6c936
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6ee34
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
jmp 0x6f518
movq %r14, %rdi
callq 0x6cb08
movq %rsp, %r14
movq %r14, %rdi
callq 0x6ee91
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
jmp 0x6f518
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x6d576
leaq 0x8(%rbx), %r15
leaq 0x2f2b(%rip), %rsi      # 0x72358
movq %r15, %rdi
callq 0x27c10
movq 0x20(%rsp), %r12
cmpq 0x28(%rsp), %r12
je 0x6f4d4
movq %rsp, %r13
leaq 0x2f18(%rip), %rbp      # 0x72367
cmpq 0x20(%rsp), %r12
je 0x6f465
movq %r15, %rdi
leaq 0x2eb9(%rip), %rsi      # 0x72319
callq 0x27c10
movq (%r12), %rsi
movq %r13, %rdi
callq 0x6ef60
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x27210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f495
callq 0x27560
cmpb $0x0, 0x28(%rbx)
movq %rbp, %rsi
leaq 0x77a6(%rip), %rax      # 0x76c49
cmovneq %rax, %rsi
movq %r15, %rdi
callq 0x27c10
movq %r14, %rdi
movq %r12, %rsi
callq 0x6d3c2
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f344
addq $0x20, %r12
cmpq 0x28(%rsp), %r12
jne 0x6f44f
leaq 0x835c(%rip), %rsi      # 0x77837
movq %r15, %rdi
callq 0x27c10
leaq 0x20(%rsp), %rdi
callq 0x2f0de
jmp 0x6f52b
movq %r14, %rdi
callq 0x6c77a
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6edc0
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f52b
callq 0x27560
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x6cbfe
leaq 0x3778(%rip), %rcx      # 0x72cc1
leaq 0x3d98(%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
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6f526
jmp 0x6f52b
leaq 0x8(%rbx), %r15
leaq 0x793d(%rip), %rsi      # 0x76eda
movq %r15, %rdi
callq 0x27c10
movq %r14, %rdi
callq 0x6cdf6
testl %eax, %eax
jle 0x6f5eb
movl %eax, %ebp
xorl %r12d, %r12d
leaq 0x2d5c(%rip), %r13      # 0x72319
testl %r12d, %r12d
je 0x6f5cd
movq %r15, %rdi
movq %r13, %rsi
callq 0x27c10
movq %r14, %rdi
movl %r12d, %esi
callq 0x6d0fc
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f344
incl %r12d
cmpl %r12d, %ebp
jne 0x6f5bd
leaq 0x39aa(%rip), %rsi      # 0x72f9c
movq %r15, %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x27c10
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6f62d
jmp 0x6f65d
jmp 0x6f61c
jmp 0x6f61c
jmp 0x6f61c
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f65d
callq 0x27560
jmp 0x6f65d
jmp 0x6f650
jmp 0x6f650
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f653
callq 0x27560
jmp 0x6f653
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2f0de
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rdi
callq 0x2e1ed
nop