// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.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;
      for (;;) {
        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, %r13
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x73cc6
testl %eax, %eax
je 0x77e49
movl %eax, %r12d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x77fe6
testb %al, %al
je 0x77e71
leaq 0x30f1d(%rip), %rsi     # 0xa8c94
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x196d0
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x77f4e
leaq 0x10(%rsp), %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x77f74
movq 0x8(%rbx), %rax
movq %rax, 0x40(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x20(%rbx), %rax
movq %rax, 0x30(%rsp)
movl %r12d, %r15d
shlq $0x5, %r15
addq $-0x20, %r15
xorl %r12d, %r12d
xorl %ebp, %ebp
movq %r13, %r14
movq %r13, %rdi
movl %r12d, %esi
callq 0x75d38
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7784e
movq 0x38(%rsp), %rax
cmpq %rax, 0x40(%rsp)
je 0x77e09
movq 0x8(%rbx), %rsi
addq %rbp, %rsi
movq %rbx, %rdi
callq 0x77f4e
jmp 0x77e1c
movq %rbx, %rdi
callq 0x780ee
movq %rbx, %rdi
movq %r13, %rsi
callq 0x7792e
cmpq %rbp, %r15
je 0x77edc
movq 0x30(%rsp), %rdi
pushq $0x2c
popq %rsi
callq 0x114e0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x77c2e
addq $0x20, %rbp
incl %r12d
movq %r14, %r13
jmp 0x77dd0
leaq 0x34b1d(%rip), %rsi     # 0xac96d
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x196d0
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x77d1e
jmp 0x77f12
leaq 0x20(%rbx), %r14
leaq 0x34af4(%rip), %rsi     # 0xac970
movq %r14, %rdi
callq 0x11b70
movl %r12d, %r12d
shlq $0x5, %r12
xorl %r13d, %r13d
leaq 0x34ade(%rip), %r15     # 0xac973
cmpq %r13, %r12
je 0x77ebf
testq %r13, %r13
je 0x77eaa
movq %r14, %rdi
movq %r15, %rsi
callq 0x11b70
movq 0x8(%rbx), %rsi
addq %r13, %rsi
movq %r14, %rdi
callq 0x11bd0
addq $0x20, %r13
jmp 0x77e95
leaq 0x30df8(%rip), %rsi     # 0xa8cbe
movq %r14, %rdi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x11b70
movq %rbx, %rdi
movq %r13, %rsi
callq 0x77c2e
movq %rbx, %rdi
callq 0x77fd0
leaq 0x30dc9(%rip), %rsi     # 0xa8cbf
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x196d0
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x77f4e
leaq 0x10(%rsp), %rdi
callq 0x11270
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x77f33
jmp 0x77f42
jmp 0x77f33
jmp 0x77f42
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x11270
jmp 0x77f45
movq %rax, %rbx
movq %rbx, %rdi
callq 0x11a80
nop