// File: 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
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12c80
movl %eax, %ecx
movq %rcx, -0x1d8(%rbp)
subl $0x7, %eax
ja 0x1c11b
movq -0x1d8(%rbp), %rax
leaq 0x1be25(%rip), %rcx     # 0x3789c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x1e0(%rbp), %rdi
movq %rdi, %rsi
addq $0x98, %rsi
callq 0x1c2a0
jmp 0x1c11b
movq -0x10(%rbp), %rdi
callq 0x14450
movq %rax, %rsi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x1e8(%rbp)
callq 0x134c0
movq -0x1e0(%rbp), %rdi
movq -0x1e8(%rbp), %rsi
callq 0x1c2a0
jmp 0x1bacc
leaq -0x30(%rbp), %rdi
callq 0x52c0
jmp 0x1c11b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x52c0
jmp 0x1c124
movq -0x10(%rbp), %rdi
callq 0x14470
movq %rax, %rsi
leaq -0x60(%rbp), %rdi
movq %rdi, -0x1f0(%rbp)
callq 0x135f0
movq -0x1e0(%rbp), %rdi
movq -0x1f0(%rbp), %rsi
callq 0x1c2a0
jmp 0x1bb25
leaq -0x60(%rbp), %rdi
callq 0x52c0
jmp 0x1c11b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x52c0
jmp 0x1c124
movq -0x10(%rbp), %rdi
callq 0x14490
movq -0x1e0(%rbp), %rax
movzbl 0xd8(%rax), %esi
shrl $0x2, %esi
andl $0x1, %esi
movl 0xdc(%rax), %edx
movl 0xe0(%rax), %ecx
leaq -0x80(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x17fd0
movq -0x1e0(%rbp), %rdi
movq -0x1f8(%rbp), %rsi
callq 0x1c2a0
jmp 0x1bb9b
leaq -0x80(%rbp), %rdi
callq 0x52c0
jmp 0x1c11b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x52c0
jmp 0x1c124
movq -0x10(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0x90(%rbp), %rdx
callq 0x13420
andb $0x1, %al
movb %al, -0x91(%rbp)
testb $0x1, -0x91(%rbp)
je 0x1bc52
movq -0x88(%rbp), %rsi
movl -0x90(%rbp), %edx
movl %esi, %eax
subl %eax, %edx
leaq -0xb8(%rbp), %rdi
movq %rdi, -0x200(%rbp)
callq 0x182e0
movq -0x1e0(%rbp), %rdi
movq -0x200(%rbp), %rsi
callq 0x1c2a0
jmp 0x1bc24
leaq -0xb8(%rbp), %rdi
callq 0x52c0
jmp 0x1bce7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x52c0
jmp 0x1c124
leaq -0xd9(%rbp), %rdi
movq %rdi, -0x208(%rbp)
callq 0x5790
movq -0x208(%rbp), %rdx
leaq 0x1ce63(%rip), %rsi     # 0x38ad6
leaq -0xd8(%rbp), %rdi
callq 0x5650
jmp 0x1bc81
movq -0x1e0(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x1c2a0
jmp 0x1bc96
leaq -0xd8(%rbp), %rdi
callq 0x52c0
leaq -0xd9(%rbp), %rdi
callq 0x54f0
jmp 0x1bce7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1bcd6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x52c0
leaq -0xd9(%rbp), %rdi
callq 0x54f0
jmp 0x1c124
jmp 0x1c11b
movq -0x10(%rbp), %rdi
callq 0xf440
movzbl %al, %esi
leaq -0x100(%rbp), %rdi
movq %rdi, -0x210(%rbp)
callq 0x18200
movq -0x1e0(%rbp), %rdi
movq -0x210(%rbp), %rsi
callq 0x1c2a0
jmp 0x1bd20
leaq -0x100(%rbp), %rdi
callq 0x52c0
jmp 0x1c11b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x52c0
jmp 0x1c124
movq -0x1e0(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x1c2f0
jmp 0x1c11b
movq -0x10(%rbp), %rsi
leaq -0x118(%rbp), %rdi
callq 0x10300
leaq -0x118(%rbp), %rdi
callq 0x200e0
testb $0x1, %al
jne 0x1bd88
jmp 0x1be20
leaq -0x139(%rbp), %rdi
movq %rdi, -0x218(%rbp)
callq 0x5790
movq -0x218(%rbp), %rdx
leaq 0x1ca8f(%rip), %rsi     # 0x38838
leaq -0x138(%rbp), %rdi
callq 0x5650
jmp 0x1bdb7
movq -0x1e0(%rbp), %rdi
leaq -0x138(%rbp), %rsi
callq 0x1c2a0
jmp 0x1bdcc
leaq -0x138(%rbp), %rdi
callq 0x52c0
leaq -0x139(%rbp), %rdi
callq 0x54f0
jmp 0x1c0ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1be0f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x52c0
leaq -0x139(%rbp), %rdi
callq 0x54f0
jmp 0x1c10d
leaq -0x161(%rbp), %rdi
movq %rdi, -0x220(%rbp)
callq 0x5790
movq -0x220(%rbp), %rdx
leaq 0x1c9fa(%rip), %rsi     # 0x3883b
leaq -0x160(%rbp), %rdi
callq 0x5650
jmp 0x1be4f
movq -0x1e0(%rbp), %rdi
leaq -0x160(%rbp), %rsi
callq 0x1c7b0
jmp 0x1be64
leaq -0x160(%rbp), %rdi
callq 0x52c0
leaq -0x161(%rbp), %rdi
callq 0x54f0
movq -0x1e0(%rbp), %rdi
callq 0x1c810
jmp 0x1be8a
leaq -0x118(%rbp), %rdi
callq 0x20000
movq %rax, -0x170(%rbp)
leaq -0x170(%rbp), %rdi
callq 0x200a0
movq %rax, -0x178(%rbp)
movq -0x10(%rbp), %rdi
movq -0x178(%rbp), %rsi
callq 0x10620
movq %rax, -0x228(%rbp)
jmp 0x1bec9
movq -0x1e0(%rbp), %rdi
movq -0x228(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x180(%rbp), %rsi
callq 0x1b810
jmp 0x1beec
movq -0x178(%rbp), %rdi
callq 0x55f0
movq %rax, -0x230(%rbp)
movq -0x178(%rbp), %rdi
callq 0x56c0
movq -0x230(%rbp), %rsi
movl %eax, %edx
leaq -0x1a0(%rbp), %rdi
callq 0x182e0
jmp 0x1bf22
movq -0x1e0(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x1c7b0
jmp 0x1bf37
leaq -0x1a0(%rbp), %rdi
callq 0x52c0
movq -0x1e0(%rbp), %rsi
movq 0x8(%rsi), %rdi
addq $0x78, %rsi
callq 0x5400
jmp 0x1bf59
movq -0x1e0(%rbp), %rdi
movq -0x180(%rbp), %rsi
callq 0x1ba30
jmp 0x1bf6e
leaq -0x170(%rbp), %rdi
callq 0x200c0
movq %rax, -0x238(%rbp)
leaq -0x118(%rbp), %rdi
callq 0x20070
movq -0x238(%rbp), %rdi
movq %rax, -0x1a8(%rbp)
leaq -0x1a8(%rbp), %rsi
callq 0x20120
testb $0x1, %al
jne 0x1bfad
jmp 0x1c02c
movq -0x1e0(%rbp), %rdi
movq -0x180(%rbp), %rsi
callq 0x1c130
jmp 0x1bfc2
jmp 0x1c05f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1bfed
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x160(%rbp), %rdi
callq 0x52c0
leaq -0x161(%rbp), %rdi
callq 0x54f0
jmp 0x1c10d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1c10d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0x52c0
jmp 0x1c10d
movq -0x1e0(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x1c8ad(%rip), %rsi     # 0x388eb
callq 0x5460
jmp 0x1c045
movq -0x1e0(%rbp), %rdi
movq -0x180(%rbp), %rsi
callq 0x1c130
jmp 0x1c05a
jmp 0x1be9d
movq -0x1e0(%rbp), %rdi
callq 0x1c840
jmp 0x1c06d
leaq -0x1c9(%rbp), %rdi
movq %rdi, -0x240(%rbp)
callq 0x5790
movq -0x240(%rbp), %rdx
leaq 0x1c7ab(%rip), %rsi     # 0x38839
leaq -0x1c8(%rbp), %rdi
callq 0x5650
jmp 0x1c09c
movq -0x1e0(%rbp), %rdi
leaq -0x1c8(%rbp), %rsi
callq 0x1c7b0
jmp 0x1c0b1
leaq -0x1c8(%rbp), %rdi
callq 0x52c0
leaq -0x1c9(%rbp), %rdi
callq 0x54f0
jmp 0x1c0ff
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1c0f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1c8(%rbp), %rdi
callq 0x52c0
leaq -0x1c9(%rbp), %rdi
callq 0x54f0
jmp 0x1c10d
leaq -0x118(%rbp), %rdi
callq 0x1f030
jmp 0x1c11b
leaq -0x118(%rbp), %rdi
callq 0x1f030
jmp 0x1c124
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x5780
nopl (%rax)