// File: /workspace/github_cpp_makefile_star2_O3/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 0x6be66
cmpl $0x7, %eax
ja 0x6ef41
movl %eax, %eax
leaq 0x79e8(%rip), %rcx      # 0x76770
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
addq $0x8, %rbx
leaq 0x7a91(%rip), %rsi      # 0x7682d
movq %rbx, %rdi
jmp 0x6f00b
movq %r14, %rdi
callq 0x6bfe6
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6e97c
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
jmp 0x6ef2e
movq %r14, %rdi
callq 0x6c2cc
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6e840
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
jmp 0x6ef2e
movq %r14, %rdi
callq 0x6c49a
movq %rsp, %r14
movq %r14, %rdi
callq 0x6e89d
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
jmp 0x6ef2e
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x6cfce
leaq 0x8(%rbx), %r15
leaq 0x2515(%rip), %rsi      # 0x71358
movq %r15, %rdi
callq 0x27c00
movq 0x20(%rsp), %r12
cmpq 0x28(%rsp), %r12
je 0x6eeea
movq %rsp, %r13
leaq 0x2502(%rip), %rbp      # 0x71367
cmpq 0x20(%rsp), %r12
je 0x6ee7b
movq %r15, %rdi
leaq 0x24a3(%rip), %rsi      # 0x71319
callq 0x27c00
movq (%r12), %rsi
movq %r13, %rdi
callq 0x6e97c
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x27210
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6eeab
callq 0x27560
cmpb $0x0, 0x28(%rbx)
movq %rbp, %rsi
leaq 0x6d90(%rip), %rax      # 0x75c49
cmovneq %rax, %rsi
movq %r15, %rdi
callq 0x27c00
movq %r14, %rdi
movq %r12, %rsi
callq 0x6cdca
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6ed5a
addq $0x20, %r12
cmpq 0x28(%rsp), %r12
jne 0x6ee65
leaq 0x7942(%rip), %rsi      # 0x76833
movq %r15, %rdi
callq 0x27c00
leaq 0x20(%rsp), %rdi
callq 0x2f0c0
jmp 0x6ef41
movq %r14, %rdi
callq 0x6c112
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x6e7cc
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 0x6ef41
callq 0x27560
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0x6c58e
leaq 0x2d62(%rip), %rcx      # 0x71cc1
leaq 0x3382(%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
addq $0x8, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x27210
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6ef3c
jmp 0x6ef41
leaq 0x8(%rbx), %r15
leaq 0x6f27(%rip), %rsi      # 0x75eda
movq %r15, %rdi
callq 0x27c00
movq %r14, %rdi
callq 0x6c724
testl %eax, %eax
jle 0x6f001
movl %eax, %ebp
xorl %r12d, %r12d
leaq 0x2346(%rip), %r13      # 0x71319
testl %r12d, %r12d
je 0x6efe3
movq %r15, %rdi
movq %r13, %rsi
callq 0x27c00
movq %r14, %rdi
movl %r12d, %esi
callq 0x6cab4
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6ed5a
incl %r12d
cmpl %r12d, %ebp
jne 0x6efd3
leaq 0x2f94(%rip), %rsi      # 0x71f9c
movq %r15, %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x27c00
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
jne 0x6f043
jmp 0x6f073
jmp 0x6f032
jmp 0x6f032
jmp 0x6f032
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f073
callq 0x27560
jmp 0x6f073
jmp 0x6f066
jmp 0x6f066
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x6f069
callq 0x27560
jmp 0x6f069
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2f0c0
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd
nop