// File: xjrueda[P]fixprime/src/jsoncpp.cpp
// Function: Json::StyledWriter::isMultineArray(Json::Value const&)
bool StyledWriter::isMultineArray(const Value& value) {
  int size = value.size();
  bool isMultiLine = size * 3 >= rightMargin_;
  childValues_.clear();
  for (int index = 0; index < size && !isMultiLine; ++index) {
    const Value& childValue = value[index];
    isMultiLine =
        isMultiLine || ((childValue.isArray() || childValue.isObject()) &&
                        childValue.size() > 0);
  }
  if (!isMultiLine) // check if line length > max line length
  {
    childValues_.reserve(size);
    addChildValues_ = true;
    int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
    for (int index = 0; index < size; ++index) {
      if (hasCommentForValue(value[index])) {
        isMultiLine = true;
      }
      writeValue(value[index]);
      lineLength += int(childValues_[index].length());
    }
    addChildValues_ = false;
    isMultiLine = isMultiLine || lineLength >= rightMargin_;
  }
  return isMultiLine;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0xa24d0
movq -0x38(%rbp), %rdi
movl %eax, -0x14(%rbp)
imull $0x3, -0x14(%rbp), %eax
cmpl 0x60(%rdi), %eax
setge %al
andb $0x1, %al
movb %al, -0x15(%rbp)
addq $0x8, %rdi
callq 0x9d860
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %ecx
xorl %eax, %eax
cmpl -0x14(%rbp), %ecx
movb %al, -0x39(%rbp)
jge 0xf062c
movb -0x15(%rbp), %al
xorb $-0x1, %al
movb %al, -0x39(%rbp)
movb -0x39(%rbp), %al
testb $0x1, %al
jne 0xf0635
jmp 0xf06a2
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x98130
movq %rax, -0x28(%rbp)
movb $0x1, %al
testb $0x1, -0x15(%rbp)
movb %al, -0x3a(%rbp)
jne 0xf068c
movq -0x28(%rbp), %rdi
callq 0xa27c0
testb $0x1, %al
jne 0xf0674
movq -0x28(%rbp), %rdi
callq 0x9cb00
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, -0x3b(%rbp)
jne 0xf0674
jmp 0xf0686
movq -0x28(%rbp), %rdi
callq 0xa24d0
cmpl $0x0, %eax
seta %al
movb %al, -0x3b(%rbp)
movb -0x3b(%rbp), %al
movb %al, -0x3a(%rbp)
movb -0x3a(%rbp), %al
andb $0x1, %al
movb %al, -0x15(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0xf0617
testb $0x1, -0x15(%rbp)
jne 0xf0771
movq -0x38(%rbp), %rdi
addq $0x8, %rdi
movslq -0x14(%rbp), %rsi
callq 0x9f670
movq -0x38(%rbp), %rax
movb $0x1, 0x68(%rax)
movl -0x14(%rbp), %eax
subl $0x1, %eax
shll %eax
addl $0x4, %eax
movl %eax, -0x2c(%rbp)
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0xf0746
movq -0x10(%rbp), %rdi
movl -0x30(%rbp), %esi
callq 0x98130
movq -0x38(%rbp), %rdi
movq %rax, %rsi
callq 0x9d060
testb $0x1, %al
jne 0xf0700
jmp 0xf0704
movb $0x1, -0x15(%rbp)
movq -0x10(%rbp), %rdi
movl -0x30(%rbp), %esi
callq 0x98130
movq -0x38(%rbp), %rdi
movq %rax, %rsi
callq 0x9aa00
movq -0x38(%rbp), %rdi
addq $0x8, %rdi
movslq -0x30(%rbp), %rsi
callq 0xa3cd0
movq %rax, %rdi
callq 0xa1590
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0xf06da
movq -0x38(%rbp), %rax
movb $0x0, 0x68(%rax)
movb $0x1, %al
testb $0x1, -0x15(%rbp)
movb %al, -0x3c(%rbp)
jne 0xf0769
movq -0x38(%rbp), %rcx
movl -0x2c(%rbp), %eax
cmpl 0x60(%rcx), %eax
setge %al
movb %al, -0x3c(%rbp)
movb -0x3c(%rbp), %al
andb $0x1, %al
movb %al, -0x15(%rbp)
movb -0x15(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)