// File: /workspace/github_cpp_makefile_star2_O2/RegulusImpact[P]sadboy/include/jsoncpp.cpp
// Function: Json::StreamWriterBuilder::newStreamWriter() const
StreamWriter* StreamWriterBuilder::newStreamWriter() const
{
  JSONCPP_STRING indentation = settings_["indentation"].asString();
  JSONCPP_STRING cs_str = settings_["commentStyle"].asString();
  JSONCPP_STRING pt_str = settings_["precisionType"].asString();
  bool eyc = settings_["enableYAMLCompatibility"].asBool();
  bool dnp = settings_["dropNullPlaceholders"].asBool();
  bool usf = settings_["useSpecialFloats"].asBool(); 
  unsigned int pre = settings_["precision"].asUInt();
  CommentStyle::Enum cs = CommentStyle::All;
  if (cs_str == "All") {
    cs = CommentStyle::All;
  } else if (cs_str == "None") {
    cs = CommentStyle::None;
  } else {
    throwRuntimeError("commentStyle must be 'All' or 'None'");
  }
  PrecisionType precisionType(significantDigits);
  if (pt_str == "significant") {
    precisionType = PrecisionType::significantDigits;
  } else if (pt_str == "decimal") {
    precisionType = PrecisionType::decimalPlaces;
  } else {
    throwRuntimeError("precisionType must be 'significant' or 'decimal'");
  }
  JSONCPP_STRING colonSymbol = " : ";
  if (eyc) {
    colonSymbol = ": ";
  } else if (indentation.empty()) {
    colonSymbol = ":";
  }
  JSONCPP_STRING nullSymbol = "null";
  if (dnp) {
    nullSymbol.clear();
  }
  if (pre > 17) pre = 17;
  JSONCPP_STRING endingLineFeedSymbol;
  return new BuiltStyledStreamWriter(
      indentation, cs,
      colonSymbol, nullSymbol, endingLineFeedSymbol, usf, pre, precisionType);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %r12
addq $0x8, %r12
leaq 0x9de0(%rip), %rsi      # 0x1a2c0
movq %r12, %rdi
callq 0x98ba
leaq -0xf0(%rbp), %rdi
movq %rax, %rsi
callq 0x87d2
leaq 0x9dce(%rip), %rsi      # 0x1a2cc
movq %r12, %rdi
callq 0x98ba
leaq -0xd0(%rbp), %rdi
movq %rax, %rsi
callq 0x87d2
leaq 0x9dbd(%rip), %rsi      # 0x1a2d9
movq %r12, %rdi
callq 0x98ba
leaq -0xb0(%rbp), %rdi
movq %rax, %rsi
callq 0x87d2
leaq 0x9dad(%rip), %rsi      # 0x1a2e7
movq %r12, %rdi
callq 0x98ba
movq %rax, %rdi
callq 0x98f4
movl %eax, %r14d
leaq 0x9dab(%rip), %rsi      # 0x1a2ff
movq %r12, %rdi
callq 0x98ba
movq %rax, %rdi
callq 0x98f4
movl %eax, %r15d
leaq 0x9da6(%rip), %rsi      # 0x1a314
movq %r12, %rdi
callq 0x98ba
movq %rax, %rdi
callq 0x98f4
movl %eax, %ebx
leaq 0x9d9e(%rip), %rsi      # 0x1a325
movq %r12, %rdi
callq 0x98ba
movq %rax, %rdi
callq 0xb91e
movl %eax, %r12d
leaq 0x9d8e(%rip), %rsi      # 0x1a32f
leaq -0xd0(%rbp), %rdi
callq 0x1128d
testb %al, %al
movb %bl, -0x29(%rbp)
je 0x105ba
pushq $0x2
popq %r13
jmp 0x105d8
leaq 0x9d72(%rip), %rsi      # 0x1a333
leaq -0xd0(%rbp), %rdi
callq 0x1128d
xorl %r13d, %r13d
testb %al, %al
je 0x10724
leaq 0x9d7e(%rip), %rsi      # 0x1a35d
leaq -0xb0(%rbp), %rdi
callq 0x1128d
xorl %ebx, %ebx
testb %al, %al
jne 0x1060f
leaq 0x9d71(%rip), %rsi      # 0x1a369
leaq -0xb0(%rbp), %rdi
callq 0x1128d
testb %al, %al
je 0x10741
pushq $0x1
popq %rbx
leaq 0x9af4(%rip), %rsi      # 0x1a10a
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x4130
testb %r14b, %r14b
je 0x10631
leaq 0x9adc(%rip), %rsi      # 0x1a10b
jmp 0x10642
cmpq $0x0, -0xe8(%rbp)
jne 0x1064b
leaq 0x9ac1(%rip), %rsi      # 0x1a103
leaq -0x50(%rbp), %rdi
callq 0x4640
leaq 0x9aac(%rip), %rsi      # 0x1a0fe
leaq -0x70(%rbp), %rdi
leaq -0x90(%rbp), %rdx
callq 0x4130
testb %r15b, %r15b
je 0x10673
andq $0x0, -0x68(%rbp)
movq -0x70(%rbp), %rax
movb $0x0, (%rax)
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movl $0xe8, %edi
callq 0x4370
movq %rax, %r14
cmpl $0x11, %r12d
pushq $0x11
popq %rax
cmovbl %r12d, %eax
subq $0x8, %rsp
movzbl -0x29(%rbp), %r10d
leaq -0xf0(%rbp), %rsi
leaq -0x50(%rbp), %rcx
leaq -0x70(%rbp), %r8
leaq -0x90(%rbp), %r9
movq %r14, %rdi
movl %r13d, %edx
pushq %rbx
pushq %rax
pushq %r10
callq 0xf6b2
addq $0x20, %rsp
leaq -0x90(%rbp), %rdi
callq 0x4170
leaq -0x70(%rbp), %rdi
callq 0x4170
leaq -0x50(%rbp), %rdi
callq 0x4170
leaq -0xb0(%rbp), %rdi
callq 0x4170
leaq -0xd0(%rbp), %rdi
callq 0x4170
leaq -0xf0(%rbp), %rdi
callq 0x4170
movq %r14, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9c0d(%rip), %rsi      # 0x1a338
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x4130
leaq -0x50(%rbp), %rdi
callq 0x5126
leaq 0x9c29(%rip), %rsi      # 0x1a371
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x4130
leaq -0x50(%rbp), %rdi
callq 0x5126
jmp 0x10762
jmp 0x107a8
movq %rax, %rbx
jmp 0x10795
jmp 0x107a8
jmp 0x10792
movq %rax, %rbx
movq %r14, %rdi
callq 0x4310
jmp 0x1077b
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x4170
leaq -0x70(%rbp), %rdi
callq 0x4170
jmp 0x10795
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x4170
jmp 0x107ab
jmp 0x107a8
jmp 0x107a8
jmp 0x107a8
jmp 0x107a8
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x4170
leaq -0xd0(%rbp), %rdi
callq 0x4170
leaq -0xf0(%rbp), %rdi
callq 0x4170
movq %rbx, %rdi
callq 0x45a0
movq %rax, %rbx
jmp 0x107b7
movq %rax, %rbx
jmp 0x107c3
nop