// File: 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:
subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0xb8(%rsp), %rdi
callq 0x123200
movl %eax, 0xb4(%rsp)
cmpl $0x0, 0xb4(%rsp)
jne 0x12bdcf
leaq 0x8f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x86da0
movq 0x10(%rsp), %rdx
leaq 0x8f4d(%rip), %rsi      # 0x134c91
leaq 0x90(%rsp), %rdi
callq 0x86a00
jmp 0x12bd53
movq 0x18(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x12bc90
jmp 0x12bd67
leaq 0x90(%rsp), %rdi
callq 0x86f68
jmp 0x12bd76
leaq 0x8f(%rsp), %rdi
callq 0x867b0
jmp 0x12c08a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0x12bdbd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x90(%rsp), %rdi
callq 0x86f68
jmp 0x12bdbb
jmp 0x12bdbd
leaq 0x8f(%rsp), %rdi
callq 0x867b0
jmp 0x12c092
movq 0x18(%rsp), %rdi
movq 0xb8(%rsp), %rsi
callq 0x12c200
andb $0x1, %al
movb %al, 0x7b(%rsp)
testb $0x1, 0x7b(%rsp)
je 0x12bffb
leaq 0x57(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x86da0
movq 0x8(%rsp), %rdx
leaq 0x824d(%rip), %rsi      # 0x13405a
leaq 0x58(%rsp), %rdi
callq 0x86a00
jmp 0x12be19
movq 0x18(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x12c0b0
jmp 0x12be2a
leaq 0x58(%rsp), %rdi
callq 0x86f68
jmp 0x12be36
leaq 0x57(%rsp), %rdi
callq 0x867b0
movq 0x18(%rsp), %rdi
callq 0x12c0f0
movq 0x18(%rsp), %rdi
addq $0x8, %rdi
callq 0xcfce0
xorb $-0x1, %al
andb $0x1, %al
movb %al, 0x56(%rsp)
movl $0x0, 0x50(%rsp)
movq 0xb8(%rsp), %rdi
movl 0x50(%rsp), %esi
callq 0x123840
movq 0x18(%rsp), %rdi
movq %rax, 0x48(%rsp)
movq 0x48(%rsp), %rsi
callq 0x12b180
testb $0x1, 0x56(%rsp)
je 0x12bef8
movq 0x18(%rsp), %rdi
addq $0x8, %rdi
movl 0x50(%rsp), %eax
movl %eax, %esi
callq 0xcf7a0
movq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x12c0b0
jmp 0x12bf11
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0x12bee9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x86f68
jmp 0x12bee7
jmp 0x12bee9
leaq 0x57(%rsp), %rdi
callq 0x867b0
jmp 0x12c092
movq 0x18(%rsp), %rdi
callq 0x12c420
movq 0x18(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x12b270
movl 0x50(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x50(%rsp)
cmpl 0xb4(%rsp), %eax
jne 0x12bf36
movq 0x18(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x12ba60
jmp 0x12bf5f
movq 0x18(%rsp), %rdi
addq $0x20, %rdi
leaq 0x252d(%rip), %rsi      # 0x12e473
callq 0x866c0
movq 0x18(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x12ba60
jmp 0x12be68
movq 0x18(%rsp), %rdi
callq 0x12c1b0
leaq 0x27(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x86da0
movq (%rsp), %rdx
leaq 0x37ef(%rip), %rsi      # 0x12f771
leaq 0x28(%rsp), %rdi
callq 0x86a00
jmp 0x12bf8e
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x12c0b0
jmp 0x12bf9f
leaq 0x28(%rsp), %rdi
callq 0x86f68
jmp 0x12bfab
leaq 0x27(%rsp), %rdi
callq 0x867b0
jmp 0x12c088
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
jmp 0x12bfec
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x80(%rsp)
movl %eax, 0x7c(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x86f68
jmp 0x12bfea
jmp 0x12bfec
leaq 0x27(%rsp), %rdi
callq 0x867b0
jmp 0x12c092
movq 0x18(%rsp), %rdi
addq $0x20, %rdi
leaq 0x8c89(%rip), %rsi      # 0x134c94
callq 0x866c0
movl $0x0, 0x20(%rsp)
movl 0x20(%rsp), %eax
cmpl 0xb4(%rsp), %eax
jae 0x12c073
cmpl $0x0, 0x20(%rsp)
jbe 0x12c041
movq 0x18(%rsp), %rdi
addq $0x20, %rdi
leaq 0x7efd(%rip), %rsi      # 0x133f39
callq 0x866c0
movq 0x18(%rsp), %rdi
addq $0x8, %rdi
movl 0x20(%rsp), %eax
movl %eax, %esi
callq 0xcf7a0
movq 0x18(%rsp), %rdi
movq %rax, %rsi
addq $0x20, %rdi
callq 0x86910
movl 0x20(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x20(%rsp)
jmp 0x12c018
movq 0x18(%rsp), %rdi
addq $0x20, %rdi
leaq 0x36ed(%rip), %rsi      # 0x12f770
callq 0x866c0
jmp 0x12c08a
addq $0xc8, %rsp
retq
movq 0x80(%rsp), %rdi
callq 0x86d80
movq %rax, %rdi
callq 0x91290
nopw (%rax,%rax)