// File: /workspace/github_cpp_makefile_star2_O3/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::BuiltStyledStreamWriter::writeValue(Json::Value const&)
void BuiltStyledStreamWriter::writeValue(Value const& value) {
  switch (value.type()) {
  case nullValue:
    pushValue(nullSymbol_);
    break;
  case intValue:
    pushValue(valueToString(value.asLargestInt()));
    break;
  case uintValue:
    pushValue(valueToString(value.asLargestUInt()));
    break;
  case realValue:
    pushValue(valueToString(value.asDouble(), useSpecialFloats_, precision_, precisionType_));
    break;
  case stringValue:
  {
    // Is NULL is possible for value.string_? No.
    char const* str;
    char const* end;
    bool ok = value.getString(&str, &end);
    if (ok) pushValue(valueToQuotedStringN(str, static_cast<unsigned>(end-str)));
    else pushValue("");
    break;
  }
  case booleanValue:
    pushValue(valueToString(value.asBool()));
    break;
  case arrayValue:
    writeArrayValue(value);
    break;
  case objectValue: {
    Value::Members members(value.getMemberNames());
    if (members.empty())
      pushValue("{}");
    else {
      writeWithIndent("{");
      indent();
      Value::Members::iterator it = members.begin();
      for (;;) {
        JSONCPP_STRING const& name = *it;
        Value const& childValue = value[name];
        writeCommentBeforeValue(childValue);
        writeWithIndent(valueToQuotedStringN(name.data(), static_cast<unsigned>(name.length())));
        *sout_ << colonSymbol_;
        writeValue(childValue);
        if (++it == members.end()) {
          writeCommentAfterValueOnSameLine(childValue);
          break;
        }
        *sout_ << ",";
        writeCommentAfterValueOnSameLine(childValue);
      }
      unindent();
      writeWithIndent("}");
    }
  } break;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movzwl 0x8(%rsi), %eax
cmpb $0x7, %al
ja 0x12f57
movq %rsi, %r14
movq %rdi, %rbx
movzbl %al, %ecx
leaq 0x9773(%rip), %rdx      # 0x1c374
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
leaq 0x98(%rbx), %rsi
movq %rbx, %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1315e
cmpb $0x4, %al
sete %cl
movq (%r14), %r14
testq %r14, %r14
setne %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x12ebc
btl $0x8, %eax
jb 0x12f24
movq %r14, %rdi
callq 0x4170
movq %rax, %rdx
jmp 0x12f2b
movq %r14, %rdi
callq 0xde6c
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0xd956
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1315e
jmp 0x12f45
movq %r14, %rdi
callq 0xe074
movb 0xd8(%rbx), %al
andb $0x4, %al
shrb $0x2, %al
movl 0xdc(%rbx), %edx
movl 0xe0(%rbx), %ecx
movzbl %al, %esi
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x104b0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1315e
jmp 0x12f45
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xb9c4
movq (%r15), %rax
cmpq 0x8(%r15), %rax
je 0x12eee
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0xa41e(%rip), %rsi      # 0x1d108
leaq 0xa418(%rip), %rdx      # 0x1d109
leaq -0x48(%rbp), %rdi
callq 0x161fa
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x13472
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x12d18
callq 0x4320
leaq 0x28(%rbx), %rdi
movq 0x50(%rbx), %rsi
movq 0x58(%rbx), %rdx
callq 0x4100
movq -0x60(%rbp), %r15
leaq -0x48(%rbp), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0xbb42
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x12a90
movq (%r15), %rsi
movl 0x8(%r15), %edx
movq %r12, %rdi
callq 0x106e0
movq %rbx, %rdi
movq %r12, %rsi
callq 0x13472
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x12d76
callq 0x4320
movq 0x8(%rbx), %rdi
movq 0x78(%rbx), %rsi
movq 0x80(%rbx), %rdx
callq 0x4400
movq %rbx, %rdi
movq %r13, %rsi
callq 0x12bd4
addq $0x20, %r15
cmpq -0x58(%rbp), %r15
je 0x12e5f
movq 0x8(%rbx), %rdi
movl $0x1, %edx
leaq 0xa405(%rip), %rsi      # 0x1d1b8
callq 0x4400
movq %rbx, %rdi
movq %r13, %rsi
callq 0x12ff0
jmp 0x12d31
movq %r14, %rdi
callq 0xdc90
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0xd830
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1315e
jmp 0x12f45
movq %r14, %rdi
callq 0xb1d2
leaq 0x9d27(%rip), %rcx      # 0x1cb25
leaq 0x9c40(%rip), %rsi      # 0x1ca45
testb %al, %al
cmovneq %rcx, %rsi
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movzbl %al, %edx
xorq $0x5, %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x161fa
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1315e
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
jne 0x12f52
jmp 0x12f57
movq %rbx, %rdi
movq %r14, %rsi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1318a
movq %rbx, %rdi
movq %r13, %rsi
callq 0x12ff0
movq %rbx, %rdi
callq 0x134c6
leaq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
movq %rax, (%rdi)
leaq 0xa282(%rip), %rsi      # 0x1d106
leaq 0xa27c(%rip), %rdx      # 0x1d107
callq 0x161fa
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x13472
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x12eae
callq 0x4320
leaq -0x60(%rbp), %rdi
callq 0x14a10
jmp 0x12f57
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x94e9(%rip), %rdx      # 0x1c3b4
leaq -0x48(%rbp), %rdi
movq %rdx, %rsi
callq 0x161fa
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x1315e
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
jne 0x12f52
jmp 0x12f57
leaq -0x38(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa208(%rip), %rsi      # 0x1d105
leaq 0xa203(%rip), %rdx      # 0x1d107
leaq -0x48(%rbp), %rdi
callq 0x161fa
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x1315e
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
jne 0x12ea9
jmp 0x12eae
movl (%r14), %edx
addq $0x4, %r14
leaq -0x48(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x106e0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1315e
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12f57
callq 0x4320
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
jne 0x12fd4
jmp 0x12fde
jmp 0x12fdb
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
jne 0x12fbb
jmp 0x12fe7
jmp 0x12fab
movq %rax, %rbx
jmp 0x12fe7
jmp 0x12fc4
jmp 0x12fdb
jmp 0x12fdb
jmp 0x12fdb
jmp 0x12fdb
jmp 0x12fc4
jmp 0x12fdb
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
jne 0x12fbb
jmp 0x12fe7
jmp 0x12fab
jmp 0x12fab
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x12fe7
callq 0x4320
jmp 0x12fe7
jmp 0x12fdb
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x12fde
callq 0x4320
jmp 0x12fde
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x14a10
movq %rbx, %rdi
callq 0x45c0
nop