// File: /workspace/github_cpp_makefile_star2_O3/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, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x6c724
movq %rax, 0x8(%rsp)
testl %eax, %eax
je 0x6f935
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6fb2e
testb %al, %al
je 0x6f968
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x66a6(%rip), %rsi      # 0x75eda
leaq 0x66a0(%rip), %rdx      # 0x75edb
leaq 0x10(%rsp), %rdi
callq 0x2f1a0
movq %rbx, %rdi
callq 0x6fc2a
leaq 0x20(%rbx), %rdi
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rdi, 0x30(%rsp)
callq 0x27210
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x6f874
callq 0x27560
movq %rbx, %rdi
callq 0x6faa6
movq 0x8(%rbx), %rax
movq %rax, 0x40(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x38(%rsp)
movq 0x8(%rsp), %rax
decl %eax
movq %rax, 0x8(%rsp)
movl $0x8, %r12d
xorl %r13d, %r13d
movq %r15, %r14
movq %r15, %rdi
movl %r13d, %esi
callq 0x6cab4
movq %rax, %rbp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f16e
movq 0x38(%rsp), %rax
cmpq %rax, 0x40(%rsp)
je 0x6f8ec
movq 0x8(%rbx), %r15
movq %rbx, %rdi
callq 0x6fc2a
movq -0x8(%r15,%r12), %rsi
movq (%r15,%r12), %rdx
movq 0x30(%rsp), %rdi
callq 0x27210
jmp 0x6f8ff
movq %rbx, %rdi
callq 0x6fc2a
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6f232
cmpq %r13, 0x8(%rsp)
je 0x6f9d9
incq %r13
movq 0x30(%rsp), %rdi
leaq 0x1a00(%rip), %rsi      # 0x71319
callq 0x27c00
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6f61c
addq $0x20, %r12
movq %r14, %r15
jmp 0x6f8a3
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x6ef0(%rip), %rsi      # 0x76835
leaq 0x6eeb(%rip), %rdx      # 0x76837
leaq 0x10(%rsp), %rdi
callq 0x2f1a0
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6f7c6
jmp 0x6fa36
leaq 0x20(%rbx), %r15
leaq 0x6ec5(%rip), %rsi      # 0x76838
movq %r15, %rdi
callq 0x27c00
movl 0x8(%rsp), %r12d
shlq $0x5, %r12
xorl %r13d, %r13d
leaq 0x642b(%rip), %r14      # 0x75db9
testq %r13, %r13
je 0x6f99e
movq %r15, %rdi
movq %r14, %rsi
callq 0x27c00
movq 0x8(%rbx), %rax
movq (%rax,%r13), %rsi
movq 0x8(%rax,%r13), %rdx
movq %r15, %rdi
callq 0x27210
addq $0x20, %r13
cmpq %r13, %r12
jne 0x6f98e
leaq 0x25d8(%rip), %rsi      # 0x71f9b
movq %r15, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x27c00
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6f61c
leaq 0x40(%rbx), %rdi
movq 0x48(%rbx), %rsi
movslq 0x64(%rbx), %rax
subq %rax, %rsi
xorl %edx, %edx
callq 0x271f0
leaq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %r14
movq %r14, (%rdi)
leaq 0x258e(%rip), %rsi      # 0x71f9c
leaq 0x2588(%rip), %rdx      # 0x71f9d
callq 0x2f1a0
movq %rbx, %rdi
callq 0x6fc2a
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x30(%rsp), %rdi
callq 0x27210
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x6fa45
callq 0x27560
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6fa5a
jmp 0x6fa5a
jmp 0x6fa61
movq %rax, %rbx
jmp 0x6fa73
jmp 0x6fa61
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x6fa73
callq 0x27560
movq %rbx, %rdi
callq 0x27b10
nop