// File: /workspace/github_cpp_makefile_star2_O2/zeeev[P]DASVC/bamtools/src/third_party/jsoncpp/json_writer.cpp
// Function: Json::StyledWriter::writeArrayValue(Json::Value const&)
void 
StyledWriter::writeArrayValue( const Value &value )
{
   unsigned size = value.size();
   if ( size == 0 )
      pushValue( "[]" );
   else
   {
      bool isArrayMultiLine = isMultineArray( value );
      if ( isArrayMultiLine )
      {
         writeWithIndent( "[" );
         indent();
         bool hasChildValue = !childValues_.empty();
         unsigned index =0;
         while ( true )
         {
            const Value &childValue = value[index];
            writeCommentBeforeValue( childValue );
            if ( hasChildValue )
               writeWithIndent( childValues_[index] );
            else
            {
               writeIndent();
               writeValue( childValue );
            }
            if ( ++index == size )
            {
               writeCommentAfterValueOnSameLine( childValue );
               break;
            }
            document_ += ",";
            writeCommentAfterValueOnSameLine( childValue );
         }
         unindent();
         writeWithIndent( "]" );
      }
      else // output on a single line
      {
         assert( childValues_.size() == size );
         document_ += "[ ";
         for ( unsigned index =0; index < size; ++index )
         {
            if ( index > 0 )
               document_ += ", ";
            document_ += childValues_[index];
         }
         document_ += " ]";
      }
   }
}

// 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 0x6d20c
testl %eax, %eax
je 0x6fcfa
movl %eax, %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6fece
testb %al, %al
je 0x6fd2c
leaq 0x626e(%rip), %rsi      # 0x75e9a
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 %r14, 0x40(%rsp)
movq %rbx, %rdi
callq 0x6fe50
movq 0x8(%rbx), %rax
movq %rax, 0x38(%rsp)
movq 0x10(%rbx), %r14
leaq 0x20(%rbx), %rax
movq %rax, 0x30(%rsp)
movl %ebp, %r15d
shlq $0x5, %r15
addq $-0x20, %r15
xorl %r12d, %r12d
xorl %r13d, %r13d
movq 0x40(%rsp), %rdi
movl %r12d, %esi
callq 0x6d484
movq %rax, %rbp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f668
cmpq %r14, 0x38(%rsp)
je 0x6fcb9
movq 0x8(%rbx), %rsi
addq %r13, %rsi
movq %rbx, %rdi
callq 0x6fe2a
jmp 0x6fccc
movq %rbx, %rdi
callq 0x6ffb8
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6f706
cmpq %r13, %r15
je 0x6fd97
movq 0x30(%rsp), %rdi
leaq 0x1642(%rip), %rsi      # 0x71323
callq 0x35c30
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6fa8e
addq $0x20, %r13
incl %r12d
jmp 0x6fc86
leaq 0x6b14(%rip), %rsi      # 0x76815
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
jmp 0x6fdd7
leaq 0x20(%rbx), %r14
leaq 0x6ae1(%rip), %rsi      # 0x76818
movq %r14, %rdi
callq 0x35c30
movl %ebp, %r12d
shlq $0x5, %r12
xorl %r13d, %r13d
leaq 0x602f(%rip), %r15      # 0x75d7f
cmpq %r13, %r12
je 0x6fd7a
testq %r13, %r13
je 0x6fd65
movq %r14, %rdi
movq %r15, %rsi
callq 0x35c30
movq 0x8(%rbx), %rsi
addq %r13, %rsi
movq %r14, %rdi
callq 0x35c60
addq $0x20, %r13
jmp 0x6fd50
leaq 0x21a7(%rip), %rsi      # 0x71f28
movq %r14, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x35c30
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6fa8e
movq %rbx, %rdi
callq 0x6feb6
leaq 0x2178(%rip), %rsi      # 0x71f29
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
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fe22
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fe22
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x35730
jmp 0x6fe22
movq %rax, %rdi
callq 0x3a198
jmp 0x6fe1f
jmp 0x6fe1f
movq %rax, %rbx
movq %rbx, %rdi
callq 0x35b50