// File: /workspace/github_cpp_makefile_star2_O1/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, %r12
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x6cdf6
movq %rax, 0x8(%rsp)
testl %eax, %eax
je 0x6ff72
movq %rbx, %rdi
movq %r12, %rsi
callq 0x70116
testb %al, %al
je 0x6ffbe
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x70c8(%rip), %rsi      # 0x76eda
leaq 0x70c2(%rip), %rdx      # 0x76edb
leaq 0x10(%rsp), %rdi
callq 0x2f1b2
movq %rbx, %rdi
callq 0x7025a
leaq 0x20(%rbx), %rdi
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rdi, 0x30(%rsp)
callq 0x27210
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x6fe52
callq 0x27560
movq %rbx, %rdi
callq 0x7008e
movq 0x8(%rbx), %rax
movq %rax, 0x40(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x38(%rsp)
movq 0x8(%rsp), %rax
negl %eax
movq %rax, 0x8(%rsp)
movl $0x8, %r15d
xorl %r13d, %r13d
movq %r12, %r14
movq %r12, %rdi
movl %r13d, %esi
callq 0x6d0fc
movq %rax, %rbp
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6f758
movq 0x38(%rsp), %rax
cmpq %rax, 0x40(%rsp)
je 0x6feca
movq 0x8(%rbx), %r12
movq %rbx, %rdi
callq 0x7025a
movq -0x8(%r12,%r15), %rsi
movq (%r12,%r15), %rdx
movq 0x30(%rsp), %rdi
callq 0x27210
jmp 0x6fedd
movq %rbx, %rdi
callq 0x7025a
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6f81c
movq 0x8(%rsp), %rax
addl %r13d, %eax
cmpl $-0x1, %eax
je 0x6fefb
movq 0x30(%rsp), %rdi
leaq 0x2423(%rip), %rsi      # 0x72319
callq 0x27c10
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6fbfa
addq $0x20, %r15
incl %r13d
movq 0x8(%rsp), %rax
addl %r13d, %eax
movq %r14, %r12
jne 0x6fe81
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 0x3054(%rip), %rsi      # 0x72f9c
leaq 0x304e(%rip), %rdx      # 0x72f9d
callq 0x2f1b2
movq %rbx, %rdi
callq 0x7025a
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x30(%rsp), %rdi
callq 0x27210
jmp 0x6ffa0
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x78b7(%rip), %rsi      # 0x77839
leaq 0x78b2(%rip), %rdx      # 0x7783b
leaq 0x10(%rsp), %rdi
callq 0x2f1b2
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6fda4
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x6ffaf
callq 0x27560
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20(%rbx), %r15
leaq 0x7873(%rip), %rsi      # 0x7783c
movq %r15, %rdi
callq 0x27c10
movl 0x8(%rsp), %r12d
shlq $0x5, %r12
xorl %r13d, %r13d
leaq 0x6dd5(%rip), %r14      # 0x76db9
testq %r13, %r13
je 0x6fff4
movq %r15, %rdi
movq %r14, %rsi
callq 0x27c10
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 0x6ffe4
leaq 0x2f82(%rip), %rsi      # 0x72f9b
movq %r15, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x27c10
jmp 0x70035
jmp 0x70035
jmp 0x7003a
movq %rax, %rbx
jmp 0x7004c
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x7004c
callq 0x27560
movq %rbx, %rdi
callq 0x27b20
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
jne 0x70047
jmp 0x7004c
nop