LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::find(char const*, char const*) const
Value const* Value::find(char const* key, char const* cend) const
{
  JSON_ASSERT_MESSAGE(
      type_ == nullValue || type_ == objectValue,
      "in Json::Value::find(key, end, found): requires objectValue or nullValue");
  if (type_ == nullValue) return NULL;
  CZString actualKey(key, static_cast<unsigned>(cend-key), CZString::noDuplication);
  ObjectValues::const_iterator it = value_.map_->find(actualKey);
  if (it == value_.map_->end()) return NULL;
  return &(*it).second;
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
testl %eax, %eax
je 0x8423c
cmpl $0x7, %eax
jne 0x8424a
movq %rdi, %rbx
subl %esi, %edx
leaq 0x28(%rsp), %rax
movq %rsi, (%rax)
shll $0x2, %edx
movl %edx, 0x8(%rax)
movq (%rdi), %rdi
movq %rax, %rsi
callq 0x8c73c
movq (%rbx), %rcx
addq $0x8, %rcx
leaq 0x30(%rax), %rdx
xorl %ebx, %ebx
cmpq %rcx, %rax
cmovneq %rdx, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x8423e
movl 0x30(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x8423e
callq 0x11720
jmp 0x8423e
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x3d6e7(%rip), %rsi     # 0xc1945
movl $0x48, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x842a9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x842a9
jmp 0x842a6
movq %rax, %rbx
movq 0x81cf0(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
jmp 0x842e7
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x842e7
movl 0x30(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x842e7
callq 0x11720
movq %rbx, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::removeMember(char const*, char const*, Json::Value*)
bool Value::removeMember(const char* key, const char* cend, Value* removed)
{
  if (type_ != objectValue) {
    return false;
  }
  CZString actualKey(key, static_cast<unsigned>(cend-key), CZString::noDuplication);
  ObjectValues::iterator it = value_.map_->find(actualKey);
  if (it == value_.map_->end())
    return false;
  *removed = it->second;
  value_.map_->erase(it);
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
cmpb $0x7, 0x8(%rdi)
jne 0x84597
movq %rcx, %r15
movq %rdi, %r14
subl %esi, %edx
movq %rsp, %rax
movq %rsi, (%rax)
shll $0x2, %edx
movl %edx, 0x8(%rax)
movq (%rdi), %rdi
movq %rax, %rsi
callq 0x8c73c
movq %rax, %r12
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %r12
setne %bl
je 0x8457b
leaq 0x30(%r12), %rsi
leaq 0x10(%rsp), %rdi
callq 0x82336
movzwl 0x8(%r15), %eax
movl $0xff, %edx
movl %eax, %esi
andl %edx, %esi
leaq 0x10(%rsp), %rdi
movzwl 0x8(%rdi), %r8d
andl %r8d, %edx
movl $0xff00, %ecx           # imm = 0xFF00
movl %eax, %r9d
andl %ecx, %r9d
orl %edx, %r9d
movw %r9w, 0x8(%r15)
andl %r8d, %ecx
orl %esi, %ecx
movw %cx, 0x8(%rdi)
movq (%r15), %rdx
movq (%rdi), %rsi
movq %rsi, (%r15)
movq %rdx, (%rdi)
movl $0x100, %edx            # imm = 0x100
andl %edx, %r8d
andl $0xfeff, %r9d           # imm = 0xFEFF
orl %r8d, %r9d
movw %r9w, 0x8(%r15)
andl %edx, %eax
andl $0xfffffeff, %ecx       # imm = 0xFFFFFEFF
orl %eax, %ecx
movw %cx, 0x8(%rdi)
movq 0x10(%r15), %rax
movq 0x10(%rdi), %rcx
movq %rcx, 0x10(%r15)
movq %rax, 0x10(%rdi)
movups 0x18(%rdi), %xmm0
movups 0x18(%r15), %xmm1
movups %xmm0, 0x18(%r15)
movups %xmm1, 0x18(%rdi)
callq 0x82500
movq (%r14), %rdi
movq %r12, %rsi
callq 0x8c426
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x84599
movl 0x8(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x84599
callq 0x11720
jmp 0x84599
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x845c4
movl 0x8(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x845c4
callq 0x11720
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::removeMember(char const*)
Value Value::removeMember(const char* key)
{
  JSON_ASSERT_MESSAGE(type_ == nullValue || type_ == objectValue,
                      "in Json::Value::removeMember(): requires objectValue");
  if (type_ == nullValue)
    return nullRef;

  Value removed;  // null
  removeMember(key, key + strlen(key), &removed);
  return removed; // still null if removeMember() did nothing
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, %r14
movzbl 0x8(%rsi), %eax
testl %eax, %eax
je 0x84666
cmpl $0x7, %eax
jne 0x84685
movq %rdx, %rbx
movq %rsi, %r15
andw $0xfe00, 0x8(%r14)      # imm = 0xFE00
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
xorl %eax, %eax
movq %rax, 0x20(%r14)
movq %rax, (%r14)
movq %rdx, %rdi
callq 0x11260
leaq (%rax,%rbx), %rdx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x84488
jmp 0x84675
leaq 0x3c8d3(%rip), %rsi     # 0xc0f40
movq %r14, %rdi
callq 0x82336
movq %r14, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r14
popq %r15
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x3d2f5(%rip), %rsi     # 0xc198e
movl $0x34, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x846e4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x846e4
jmp 0x846e1
movq %rax, %rbx
movq 0x818b5(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
jmp 0x8470f
movq %rax, %rbx
movq %r14, %rdi
callq 0x82500
movq %rbx, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::setComment(char const*, unsigned long, Json::CommentPlacement)
void Value::setComment(const char* comment, size_t len, CommentPlacement placement) {
  if (!comments_)
    comments_ = new CommentInfo[numberOfCommentPlacement];
  if ((len > 0) && (comment[len-1] == '\n')) {
    // Always discard trailing newline, to aid indentation.
    len -= 1;
  }
  comments_[placement].setComment(comment, len);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, 0x10(%rdi)
jne 0x84aa7
movl $0x20, %edi
callq 0x11040
movq $0x3, (%rax)
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movq $0x0, 0x18(%rax)
movq %rcx, 0x10(%r14)
testq %r15, %r15
je 0x84abc
leaq -0x1(%r15), %rdx
cmpb $0xa, -0x1(%rbx,%r15)
cmovneq %r15, %rdx
jmp 0x84abe
xorl %edx, %edx
movl %ebp, %edi
shlq $0x3, %rdi
addq 0x10(%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x81c62
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledWriter::write[abi:cxx11](Json::Value const&)
std::string StyledWriter::write(const Value& root) {
  document_ = "";
  addChildValues_ = false;
  indentString_ = "";
  writeCommentBeforeValue(root);
  writeValue(root);
  writeCommentAfterValueOnSameLine(root);
  document_ += "\n";
  return document_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsi), %r15
movq 0x28(%rsi), %rdx
leaq 0x39a2c(%rip), %r13     # 0xbe637
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x11920
movb $0x0, 0x68(%r14)
leaq 0x40(%r14), %rdi
movq 0x48(%r14), %rdx
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x11920
movq %r14, %rdi
movq %r12, %rsi
callq 0x86176
movq %r14, %rdi
movq %r12, %rsi
callq 0x86278
movq %r14, %rdi
movq %r12, %rsi
callq 0x86706
leaq 0x3f175(%rip), %rsi     # 0xc3dd2
movq %r15, %rdi
callq 0x11b60
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x4078e
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Path::Path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&)
Path::Path(const std::string& path,
           const PathArgument& a1,
           const PathArgument& a2,
           const PathArgument& a3,
           const PathArgument& a4,
           const PathArgument& a5) {
  InArgs in;
  in.push_back(&a1);
  in.push_back(&a2);
  in.push_back(&a3);
  in.push_back(&a4);
  in.push_back(&a5);
  makePath(path, in);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
leaq 0x10(%rsp), %rdi
movq %rax, 0x10(%rdi)
movaps %xmm0, (%rdi)
leaq 0x8(%rsp), %rsi
movq %rdx, (%rsi)
callq 0x8cb3a
leaq 0x8(%rsp), %rsi
movq %r13, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x8cb3a
leaq 0x8(%rsp), %rsi
movq %r12, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x8cb3a
leaq 0x8(%rsp), %rsi
movq %r15, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x8cb3a
movq 0x60(%rsp), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x8cb3a
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x84ec2
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x84e7f
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x115c0
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x84e97
jmp 0x84e97
jmp 0x84e97
jmp 0x84e97
jmp 0x84e97
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x84eb1
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x89fd2
movq %r14, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Path::resolve(Json::Value const&) const
const Value& Path::resolve(const Value& root) const {
  const Value* node = &root;
  for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) {
    const PathArgument& arg = *it;
    if (arg.kind_ == PathArgument::kindIndex) {
      if (!node->isArray() || !node->isValidIndex(arg.index_)) {
        // Error: unable to resolve path (array value expected at position...
      }
      node = &((*node)[arg.index_]);
    } else if (arg.kind_ == PathArgument::kindKey) {
      if (!node->isObject()) {
        // Error: unable to resolve path (object value expected at position...)
      }
      node = &((*node)[arg.key_]);
      if (node == &Value::nullRef) {
        // Error: unable to resolve path (object has no member named '' at
        // position...)
      }
    }
  }
  return *node;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rcx
movq (%rdi), %r14
cmpq 0x8(%rdi), %r14
je 0x8519e
movq %rdi, %rbx
leaq 0x3bde5(%rip), %r15     # 0xc0f40
movl 0x24(%r14), %eax
cmpl $0x2, %eax
je 0x85177
cmpl $0x1, %eax
jne 0x85194
movl 0x20(%r14), %esi
movq %rcx, %rdi
callq 0x83aaa
jmp 0x85191
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rcx, %rdi
callq 0x841d8
movq %r15, %rcx
testq %rax, %rax
je 0x85194
movq %rax, %rcx
addq $0x28, %r14
cmpq 0x8(%rbx), %r14
jne 0x8515b
movq %rcx, %rax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Path::resolve(Json::Value const&, Json::Value const&) const
Value Path::resolve(const Value& root, const Value& defaultValue) const {
  const Value* node = &root;
  for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) {
    const PathArgument& arg = *it;
    if (arg.kind_ == PathArgument::kindIndex) {
      if (!node->isArray() || !node->isValidIndex(arg.index_))
        return defaultValue;
      node = &((*node)[arg.index_]);
    } else if (arg.kind_ == PathArgument::kindKey) {
      if (!node->isObject())
        return defaultValue;
      node = &((*node)[arg.key_]);
      if (node == &Value::nullRef)
        return defaultValue;
    }
  }
  return *node;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
movq %rdx, %r12
movq %rdi, %rbp
movq (%rsi), %r14
cmpq 0x8(%rsi), %r14
sete %r13b
je 0x8529a
movq %rsi, %r15
movq %rsi, 0x10(%rsp)
movl 0x24(%r14), %eax
movb $0x1, %bl
cmpl $0x2, %eax
je 0x85217
cmpl $0x1, %eax
jne 0x85284
cmpb $0x6, 0x8(%r12)
jne 0x8525f
movl 0x20(%r14), %r15d
movq %r12, %rdi
callq 0x80e7c
cmpl %r15d, %eax
jbe 0x8525f
movq %r12, %rdi
movl %r15d, %esi
callq 0x83aaa
movq %rax, %r12
jmp 0x8526e
cmpb $0x7, 0x8(%r12)
jne 0x85275
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x841d8
movq %rax, %r12
testq %rax, %rax
leaq 0x3bd02(%rip), %rax     # 0xc0f40
cmoveq %rax, %r12
cmpq %rax, %r12
jne 0x85284
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x82336
xorl %ebx, %ebx
leaq 0x3bce3(%rip), %r12     # 0xc0f40
jmp 0x85284
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x82336
xorl %ebx, %ebx
movq 0x10(%rsp), %r15
jmp 0x85284
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x82336
xorl %ebx, %ebx
testb %bl, %bl
je 0x8529a
addq $0x28, %r14
cmpq 0x8(%r15), %r14
sete %r13b
jne 0x851da
testb $0x1, %r13b
je 0x852ab
movq %rbp, %rdi
movq %r12, %rsi
callq 0x82336
movq %rbp, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Path::make(Json::Value&) const
Value& Path::make(Value& root) const {
  Value* node = &root;
  for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) {
    const PathArgument& arg = *it;
    if (arg.kind_ == PathArgument::kindIndex) {
      if (!node->isArray()) {
        // Error: node is not an array at position ...
      }
      node = &((*node)[arg.index_]);
    } else if (arg.kind_ == PathArgument::kindKey) {
      if (!node->isObject()) {
        // Error: node is not an object at position...
      }
      node = &((*node)[arg.key_]);
    }
  }
  return *node;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq (%rdi), %r14
cmpq 0x8(%rdi), %r14
je 0x85309
movq %rdi, %rbx
movl 0x24(%r14), %ecx
cmpl $0x2, %ecx
je 0x852ed
cmpl $0x1, %ecx
jne 0x852ff
movl 0x20(%r14), %esi
movq %rax, %rdi
callq 0x83824
jmp 0x852ff
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rax, %rdi
callq 0x83ef4
addq $0x28, %r14
cmpq 0x8(%rbx), %r14
jne 0x852d1
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::valueToString[abi:cxx11](double, bool, unsigned int)
std::string valueToString(double value, bool useSpecialFloats, unsigned int precision) {
  // Allocate a buffer that is more than large enough to store the 16 digits of
  // precision requested below.
  char buffer[32];
  int len = -1;

  char formatString[16];
  snprintf(formatString, sizeof(formatString), "%%.%dg", precision);

  // Print into the buffer. We need not request the alternative representation
  // that always has a decimal point because JSON doesn't distingish the
  // concepts of reals and integers.
  if (isfinite(value)) {
    len = snprintf(buffer, sizeof(buffer), formatString, value);
  } else {
    // IEEE standard states that NaN values will not compare to themselves
    if (value != value) {
      len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "NaN" : "null");
    } else if (value < 0) {
      len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "-Infinity" : "-1e+9999");
    } else {
      len = snprintf(buffer, sizeof(buffer), useSpecialFloats ? "Infinity" : "1e+9999");
    }
    // For those, we do not need to call fixNumLoc, but it is fast.
  }
  assert(len >= 0);
  fixNumericLocale(buffer, buffer + len);
  return buffer;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %edx, %ecx
movl %esi, %ebp
movq %rdi, %rbx
movq %xmm0, 0x8(%rsp)
movq %xmm0, %r14
leaq 0x3c6af(%rip), %rdx     # 0xc1a02
leaq 0x30(%rsp), %rdi
movl $0x10, %esi
xorl %eax, %eax
callq 0x119a0
btrq $0x3f, %r14
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
cmpq %rax, %r14
jle 0x853a2
movsd 0x8(%rsp), %xmm1
ucomisd %xmm1, %xmm1
jp 0x85435
pxor %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jbe 0x853c0
leaq 0x3c679(%rip), %rax     # 0xc1a12
leaq 0x3c67c(%rip), %rdx     # 0xc1a1c
jmp 0x853ce
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movl $0x20, %esi
movsd 0x8(%rsp), %xmm0
movb $0x1, %al
callq 0x119a0
jmp 0x853e6
leaq 0x3c64c(%rip), %rax     # 0xc1a13
leaq 0x3c64f(%rip), %rdx     # 0xc1a1d
testb %bpl, %bpl
cmovneq %rax, %rdx
leaq 0x10(%rsp), %rdi
movl $0x20, %esi
xorl %eax, %eax
callq 0x119a0
testl %eax, %eax
jle 0x85402
cltq
xorl %ecx, %ecx
cmpb $0x2c, 0x10(%rsp,%rcx)
jne 0x853fa
movb $0x2e, 0x10(%rsp,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0x853ee
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x11260
leaq (%rsp,%rax), %rdx
addq $0x10, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1ab58
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x3c5cd(%rip), %rax     # 0xc1a09
leaq 0x3c5ca(%rip), %rdx     # 0xc1a0d
jmp 0x853ce
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::FastWriter::write[abi:cxx11](Json::Value const&)
std::string FastWriter::write(const Value& root) {
  document_ = "";
  writeValue(root);
  if (!omitEndingLineFeed_)
    document_ += "\n";
  return document_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsi), %r15
movq 0x10(%rsi), %rdx
leaq 0x38d6f(%rip), %rcx     # 0xbe637
movq %r15, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x11920
movq %r14, %rdi
movq %r12, %rsi
callq 0x85920
cmpb $0x0, 0x2a(%r14)
jne 0x858f6
leaq 0x3e4e4(%rip), %rsi     # 0xc3dd2
movq %r15, %rdi
callq 0x11b60
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x4078e
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledWriter::writeCommentAfterValueOnSameLine(Json::Value const&)
void StyledWriter::writeCommentAfterValueOnSameLine(const Value& root) {
  if (root.hasComment(commentAfterOnSameLine))
    document_ += " " + root.getComment(commentAfterOnSameLine);

  if (root.hasComment(commentAfter)) {
    document_ += "\n";
    document_ += root.getComment(commentAfter);
    document_ += "\n";
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x867e3
cmpq $0x0, 0x8(%rax)
je 0x867e3
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x84b1c
leaq 0x37f1e(%rip), %rcx     # 0xbe667
movl $0x1, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x116c0
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x86781
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x86788
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rbx), %rdi
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x111e0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x867c8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x115c0
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x867e3
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x115c0
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x86852
cmpq $0x0, 0x10(%rax)
je 0x86852
addq $0x20, %rbx
leaq 0x3d5d4(%rip), %rsi     # 0xc3dd2
movq %rbx, %rdi
callq 0x11b60
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x84b1c
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x111e0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86843
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x115c0
leaq 0x3d588(%rip), %rsi     # 0xc3dd2
movq %rbx, %rdi
callq 0x11b60
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x86892
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x86892
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x868ad
movq 0x10(%rsp), %rsi
jmp 0x868a5
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x868ad
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledWriter::pushValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void StyledWriter::pushValue(const std::string& value) {
  if (addChildValues_)
    childValues_.push_back(value);
  else
    document_ += value;
}

// Assembly:
cmpb $0x1, 0x68(%rdi)
jne 0x868c5
addq $0x8, %rdi
jmp 0x8a082
addq $0x20, %rdi
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
jmp 0x111e0
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledWriter::isMultineArray(Json::Value const&)
bool StyledWriter::isMultineArray(const Value& value) {
  ArrayIndex const size = value.size();
  bool isMultiLine = size * 3 >= rightMargin_;
  childValues_.clear();
  for (ArrayIndex index = 0; index < size && !isMultiLine; ++index) {
    const Value& childValue = value[index];
    isMultiLine = ((childValue.isArray() || childValue.isObject()) &&
                        childValue.size() > 0);
  }
  if (!isMultiLine) // check if line length > max line length
  {
    childValues_.reserve(size);
    addChildValues_ = true;
    ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
    for (ArrayIndex index = 0; index < size; ++index) {
      if (hasCommentForValue(value[index])) {
        isMultiLine = true;
      }
      writeValue(value[index]);
      lineLength += static_cast<ArrayIndex>(childValues_[index].length());
    }
    addChildValues_ = false;
    isMultiLine = isMultiLine || lineLength >= rightMargin_;
  }
  return isMultiLine;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x80e7c
movl %eax, %r12d
leal (%r12,%r12,2), %eax
cmpl 0x60(%rbx), %eax
setae %bpl
leaq 0x8(%rbx), %r13
movq 0x8(%rbx), %rsi
movq %r13, %rdi
callq 0x8d19a
testl %r12d, %r12d
sete %al
orb %bpl, %al
testb $0x1, %al
jne 0x86ccd
movl $0x1, %r15d
leal -0x1(%r15), %esi
movq %r14, %rdi
callq 0x83aaa
movzwl 0x8(%rax), %ecx
andl $0xfe, %ecx
cmpw $0x6, %cx
jne 0x86cbe
movq %rax, %rdi
callq 0x80e7c
testl %eax, %eax
setne %bpl
jmp 0x86cc0
xorl %ebp, %ebp
cmpl %r12d, %r15d
jae 0x86ccd
incl %r15d
testb %bpl, %bpl
je 0x86c92
testb %bpl, %bpl
jne 0x86d7b
movl %r12d, %esi
movq %r13, %rdi
movq %rsi, (%rsp)
callq 0x89e9e
movb $0x1, 0x68(%rbx)
leal 0x2(,%r12,2), %r13d
testl %r12d, %r12d
je 0x86d6b
movl $0x8, %r15d
xorl %r12d, %r12d
movq %r14, %rdi
movl %r12d, %esi
callq 0x83aaa
movq 0x10(%rax), %rcx
testq %rcx, %rcx
je 0x86d30
cmpq $0x0, (%rcx)
setne %al
jne 0x86d32
cmpq $0x0, 0x8(%rcx)
setne %al
jne 0x86d32
cmpq $0x0, 0x10(%rcx)
setne %al
jmp 0x86d32
xorl %eax, %eax
movzbl %bpl, %ebp
testb %al, %al
movl $0x1, %eax
cmovnel %eax, %ebp
movq %r14, %rdi
movl %r12d, %esi
callq 0x83aaa
movq %rbx, %rdi
movq %rax, %rsi
callq 0x86278
movq 0x8(%rbx), %rax
addl (%rax,%r15), %r13d
incq %r12
addq $0x20, %r15
cmpq %r12, (%rsp)
jne 0x86cff
movb $0x0, 0x68(%rbx)
cmpl 0x60(%rbx), %r13d
setae %al
orb %bpl, %al
movl %eax, %ebp
andb $0x1, %bpl
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledWriter::writeIndent()
void StyledWriter::writeIndent() {
  if (!document_.empty()) {
    char last = document_[document_.length() - 1];
    if (last == ' ') // already indented
      return;
    if (last != '\n') // Comments may add new-line
      document_ += '\n';
  }
  document_ += indentString_;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x20(%rdi), %rbx
movq 0x28(%rdi), %rax
testq %rax, %rax
je 0x86dcb
movq (%rbx), %rcx
movzbl -0x1(%rcx,%rax), %eax
cmpl $0xa, %eax
je 0x86dcb
cmpl $0x20, %eax
jne 0x86dbe
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
movl $0xa, %esi
callq 0x114e0
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x111e0
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledStreamWriter::write(std::ostream&, Json::Value const&)
void StyledStreamWriter::write(std::ostream& out, const Value& root) {
  document_ = &out;
  addChildValues_ = false;
  indentString_ = "";
  indented_ = true;
  writeCommentBeforeValue(root);
  if (!indented_) writeIndent();
  indented_ = true;
  writeValue(root);
  writeCommentAfterValueOnSameLine(root);
  *document_ << "\n";
  document_ = NULL; // Forget the stream, for safety.
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, 0x18(%rdi)
andb $-0x2, 0x68(%rdi)
movq %rdx, %r14
addq $0x20, %rdi
movq 0x28(%rbx), %rdx
leaq 0x37782(%rip), %rcx     # 0xbe637
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x11920
orb $0x2, 0x68(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x86f1c
testb $0x2, 0x68(%rbx)
jne 0x86edc
movq %rbx, %rdi
callq 0x87022
orb $0x2, 0x68(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x87056
movq %rbx, %rdi
movq %r14, %rsi
callq 0x874fe
movq 0x18(%rbx), %rdi
leaq 0x3ced1(%rip), %rsi     # 0xc3dd2
movl $0x1, %edx
callq 0x116d0
movq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledStreamWriter::writeIndent()
void StyledStreamWriter::writeIndent() {
  // blep intended this to look at the so-far-written string
  // to determine whether we are already indented, but
  // with a stream we cannot do that. So we rely on some saved state.
  // The caller checks indented_.
  *document_ << '\n' << indentString_;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
leaq 0xf(%rsp), %rsi
movb $0xa, (%rsi)
movl $0x1, %edx
callq 0x116d0
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq %rax, %rdi
callq 0x116d0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledStreamWriter::writeCommentAfterValueOnSameLine(Json::Value const&)
void StyledStreamWriter::writeCommentAfterValueOnSameLine(const Value& root) {
  if (root.hasComment(commentAfterOnSameLine))
    *document_ << ' ' << root.getComment(commentAfterOnSameLine);

  if (root.hasComment(commentAfter)) {
    writeIndent();
    *document_ << root.getComment(commentAfter);
  }
  indented_ = false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x87579
cmpq $0x0, 0x8(%rax)
je 0x87579
movq 0x18(%rbx), %rdi
leaq 0x8(%rsp), %rsi
movb $0x20, (%rsi)
movl $0x1, %edx
callq 0x116d0
movq %rax, %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x84b1c
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x116d0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87579
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x875d6
cmpq $0x0, 0x10(%rax)
je 0x875d6
movq %rbx, %rdi
callq 0x87022
movq 0x18(%rbx), %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
movl $0x2, %edx
callq 0x84b1c
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r15, %rdi
callq 0x116d0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x875d6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
andb $-0x3, 0x68(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x875e8
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87606
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::BuiltStyledStreamWriter::write(Json::Value const&, std::ostream*)
int BuiltStyledStreamWriter::write(Value const& root, std::ostream* sout)
{
  sout_ = sout;
  addChildValues_ = false;
  indented_ = true;
  indentString_ = "";
  writeCommentBeforeValue(root);
  if (!indented_) writeIndent();
  indented_ = true;
  writeValue(root);
  writeCommentAfterValueOnSameLine(root);
  *sout_ << endingLineFeedSymbol_;
  sout_ = NULL;
  return 0;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, 0x8(%rdi)
movb 0xd8(%rdi), %al
andb $-0x4, %al
orb $0x2, %al
movb %al, 0xd8(%rdi)
addq $0x28, %rdi
movq 0x30(%rbx), %rdx
leaq 0x369b8(%rip), %rcx     # 0xbe637
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x11920
movq %rbx, %rdi
movq %r14, %rsi
callq 0x87cec
testb $0x2, 0xd8(%rbx)
jne 0x87ca5
movq %rbx, %rdi
callq 0x87e02
orb $0x2, 0xd8(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x87e3e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x882de
movq 0x8(%rbx), %rdi
movq 0xb8(%rbx), %rsi
movq 0xc0(%rbx), %rdx
callq 0x116d0
movq $0x0, 0x8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::BuiltStyledStreamWriter::writeCommentBeforeValue(Json::Value const&)
void BuiltStyledStreamWriter::writeCommentBeforeValue(Value const& root) {
  if (cs_ == CommentStyle::None) return;
  if (!root.hasComment(commentBefore))
    return;

  if (!indented_) writeIndent();
  const std::string& comment = root.getComment(commentBefore);
  std::string::const_iterator iter = comment.begin();
  while (iter != comment.end()) {
    *sout_ << *iter;
    if (*iter == '\n' &&
       (iter != comment.end() && *(iter + 1) == '/'))
      // writeIndent();  // would write extra newline
      *sout_ << indentString_;
    ++iter;
  }
  indented_ = false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x0, 0x70(%rdi)
je 0x87dd0
movq %rsi, %r14
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x87dd0
cmpq $0x0, (%rax)
je 0x87dd0
movq %rdi, %rbx
testb $0x2, 0xd8(%rdi)
jne 0x87d2f
movq %rbx, %rdi
callq 0x87e02
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x84b1c
movq (%r15), %r12
cmpq $0x0, 0x8(%r15)
je 0x87daf
leaq 0x7(%rsp), %r14
movq 0x8(%rbx), %rdi
movb (%r12), %al
movb %al, 0x7(%rsp)
movl $0x1, %edx
movq %r14, %rsi
callq 0x116d0
cmpb $0xa, (%r12)
jne 0x87d98
movq 0x8(%rsp), %rax
addq 0x10(%rsp), %rax
cmpq %rax, %r12
je 0x87d98
cmpb $0x2f, 0x1(%r12)
jne 0x87d98
movq 0x8(%rbx), %rdi
movq 0x28(%rbx), %rsi
movq 0x30(%rbx), %rdx
callq 0x116d0
incq %r12
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
addq %rdi, %rax
cmpq %rax, %r12
jne 0x87d50
jmp 0x87db2
movq %r12, %rdi
andb $-0x3, 0xd8(%rbx)
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x87dd0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87dfa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine(Json::Value const&)
void BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine(Value const& root) {
  if (cs_ == CommentStyle::None) return;
  if (root.hasComment(commentAfterOnSameLine))
    *sout_ << " " + root.getComment(commentAfterOnSameLine);

  if (root.hasComment(commentAfter)) {
    writeIndent();
    *sout_ << root.getComment(commentAfter);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
cmpl $0x0, 0x70(%rdi)
je 0x8842a
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x883cf
cmpq $0x0, 0x8(%rax)
je 0x883cf
movq 0x8(%r14), %r15
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x84b1c
leaq 0x36336(%rip), %rcx     # 0xbe667
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x116c0
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8836b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x88373
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x116d0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x883b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x883cf
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x115c0
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x8842a
cmpq $0x0, 0x10(%rax)
je 0x8842a
movq %r14, %rdi
callq 0x87e02
movq 0x8(%r14), %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movl $0x2, %edx
callq 0x84b1c
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x116d0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8842a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x8846d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x8846d
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x88488
movq 0x18(%rsp), %rsi
jmp 0x88480
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x88488
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::BuiltStyledStreamWriter::pushValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void BuiltStyledStreamWriter::pushValue(std::string const& value) {
  if (addChildValues_)
    childValues_.push_back(value);
  else
    *sout_ << value;
}

// Assembly:
testb $0x1, 0xd8(%rdi)
je 0x884a2
addq $0x10, %rdi
jmp 0x8a082
movq 0x8(%rdi), %rdi
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
movq %rax, %rsi
jmp 0x116d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::writeString[abi:cxx11](Json::StreamWriter::Factory const&, Json::Value const&)
std::string writeString(StreamWriter::Factory const& builder, Value const& root) {
  std::ostringstream sout;
  StreamWriterPtr const writer(builder.newStreamWriter());
  writer->write(root, &sout);
  return sout.str();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp            # imm = 0x180
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x11800
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %rax, %r14
movq (%rax), %rax
leaq 0x8(%rsp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq *0x10(%rax)
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x11990
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x7c81d(%rip), %rsi     # 0x105fa0
leaq 0x8(%rsp), %rdi
callq 0x112f0
leaq 0x78(%rsp), %rdi
callq 0x111f0
movq %rbx, %rax
addq $0x180, %rsp            # imm = 0x180
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x897b8
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x7c7e1(%rip), %rsi     # 0x105fa0
leaq 0x8(%rsp), %rdi
callq 0x112f0
leaq 0x78(%rsp), %rdi
callq 0x111f0
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::operator<<(std::ostream&, Json::Value const&)
std::ostream& operator<<(std::ostream& sout, Value const& root) {
  StreamWriterBuilder builder;
  StreamWriterPtr const writer(builder.newStreamWriter());
  writer->write(root, &sout);
  return sout;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
callq 0x8896e
movq %r14, %rdi
callq 0x88ed2
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq *0x10(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
leaq 0x7be01(%rip), %rax     # 0x105620
leaq 0x8(%rsp), %rdi
movq %rax, -0x8(%rdi)
callq 0x82500
movq %rbx, %rax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x8984b
movq %rax, %rbx
leaq 0x7bdce(%rip), %rax     # 0x105620
leaq 0x8(%rsp), %rdi
movq %rax, -0x8(%rdi)
callq 0x82500
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::OurCharReader::parse(char const*, char const*, Json::Value*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
bool parse(
      char const* beginDoc, char const* endDoc,
      Value* root, std::string* errs) {
    bool ok = reader_.parse(beginDoc, endDoc, *root, collectComments_);
    if (errs) {
      *errs = reader_.getFormattedErrorMessages();
    }
    return ok;
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movq %rdi, %r15
movzbl 0x8(%rdi), %r8d
addq $0x10, %r15
movq %r15, %rdi
callq 0x7c812
movl %eax, %ebx
testq %r14, %r14
je 0x8a64d
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x7f23e
movq %r14, %rdi
movq %r12, %rsi
callq 0x11750
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x8a64d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH16_TemplatesAndGenericProgramming/exercises/ex16_37.cc
// Function: main
int main(int argc, char const *argv[])
{
	int a = 1;
	long b = 2;
	// std::cout << std::max(a, b) << std::endl;
	std::cout << std::max<long>(a, b) << std::endl;

	// std::cout << std::max<int>(a, b) << std::endl;
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x2dff(%rip), %rdi      # 0x3fd8
movl $0x2, %esi
callq 0x1060
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x1070
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1040
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/YSRKEN[P]Shioi/I401/./misc_functions.hpp
// Function: StringToPosition(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
size_t StringToPosition(const string str) {
	const auto kPSX = string(kPositionStringX);
	const auto kPSY = string(kPositionStringY);
	auto x = kPSX.find(str[0]);
	auto y = kPSY.find(str[1]);
	return ToPosition(x, y);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %r14
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x9760(%rip), %rsi      # 0xc020
leaq 0x9768(%rip), %rdx      # 0xc02f
movq %rsp, %rdi
callq 0x3fea
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x9751(%rip), %rsi      # 0xc030
leaq 0x9759(%rip), %rdx      # 0xc03f
leaq 0x20(%rsp), %rdi
callq 0x3fea
movq (%r14), %rax
movsbl (%rax), %esi
movq %rsp, %rdi
xorl %edx, %edx
callq 0x2230
movq %rax, %rbx
movq (%r14), %rax
movsbl 0x1(%rax), %esi
leaq 0x20(%rsp), %r15
movq %r15, %rdi
xorl %edx, %edx
callq 0x2230
movq %rax, %r14
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x2931
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21f0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2947
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21f0
leaq (%r14,%r14,4), %rax
leaq (%rax,%rax,2), %rax
addq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2979
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/YSRKEN[P]Shioi/I401/./misc_functions.hpp
// Function: detail::operator|(std::array<Stone, 225ul> const&, detail::PackPattern_helper const&)
PackedStone operator| (const array<Stone, kBoardSize * kBoardSize>& board, const PackPattern_helper& info) {
		using std::abs;
		if (abs(info.stop) < abs(info.start)) return{};
		PackedStone re{};
		for (int i = info.start; abs(i) <= abs(info.stop); i += (i > 0) ? 1 : -1) {
	//		auto hoge = (board | Get(info.pos, info.direction, i));
			re = re | (board | Get(info.pos, info.direction, i));
		}
		return re;
	}

// Assembly:
movl (%rdx), %r8d
movl 0x4(%rdx), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %r8d, %r9d
negl %r9d
cmovsl %r8d, %r9d
movq %rdi, %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
cmpl %r9d, %ecx
jb 0x2a2b
movl %r8d, %edi
negl %edi
cmovsl %r8d, %edi
cmpl %ecx, %edi
jbe 0x29bc
xorl %r10d, %r10d
jmp 0x2a28
pushq %rbx
movq 0x8(%rdx), %rdi
movzbl 0x10(%rdx), %edx
leaq 0x9a04(%rip), %r9       # 0xc3d0
movq (%r9,%rdx,8), %r9
movq 0x8(%rax), %rdx
xorl %r10d, %r10d
movq %r10, %r11
movslq %r8d, %r8
movq %r9, %r10
imulq %r8, %r10
addq %rdi, %r10
movzbl (%rsi,%r10), %ebx
leaq (,%r11,4), %r10
orq %rbx, %r10
cmpq $0x20, %rdx
cmovaeq %r11, %r10
adcq $0x0, %rdx
xorl %r11d, %r11d
testl %r8d, %r8d
setg %r11b
leal (%r8,%r11,2), %r8d
decl %r8d
movl %r8d, %r11d
negl %r11d
cmovsl %r8d, %r11d
cmpl %ecx, %r11d
jbe 0x29d7
movq %rdx, 0x8(%rax)
popq %rbx
movq %r10, (%rax)
retq
// File: /workspace/github_cpp_makefile_star2_O1/YSRKEN[P]Shioi/I401/./misc_functions.hpp
// Function: detail::operator|(char const*, detail::to_i_helper)
int operator|(const char* s, to_i_helper) { 
		errno = 0;
		const auto r = std::strtol(s, nullptr, 10);
		if (0 != errno) throw std::out_of_range("");
		if (!range_check<sizeof(int) == sizeof(long)>()(r)) throw std::out_of_range("");
		return static_cast<int>(r);
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2040
movq %rax, %r14
movl $0x0, (%rax)
movq %rbx, %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x2270
cmpl $0x0, (%r14)
jne 0x2a66
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x2a84
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x2100
movq %rax, %rbx
leaq 0x9933(%rip), %rsi      # 0xc3ad
movq %rax, %rdi
callq 0x2050
jmp 0x2aa0
movl $0x10, %edi
callq 0x2100
movq %rax, %rbx
leaq 0x9915(%rip), %rsi      # 0xc3ad
movq %rax, %rdi
callq 0x2050
movq 0xd519(%rip), %rsi      # 0xffc0
movq 0xd502(%rip), %rdx      # 0xffb0
movq %rbx, %rdi
callq 0x2310
jmp 0x2ab8
movq %rax, %r14
movq %rbx, %rdi
callq 0x2170
movq %r14, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/YSRKEN[P]Shioi/I401/./misc_functions.hpp
// Function: detail::operator|(wchar_t const*, detail::to_i_helper)
int operator|(const wchar_t* s, to_i_helper) {
		errno = 0;
		const auto r = std::wcstol(s, nullptr, 10);
		if (0 != errno) throw std::out_of_range("");
		if (!range_check<sizeof(int) == sizeof(long)>()(r)) throw std::out_of_range("");
		return static_cast<int>(r);
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2040
movq %rax, %r14
movl $0x0, (%rax)
movq %rbx, %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x22b0
cmpl $0x0, (%r14)
jne 0x2b05
movslq %eax, %rcx
cmpq %rax, %rcx
jne 0x2b23
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x2100
movq %rax, %rbx
leaq 0x9894(%rip), %rsi      # 0xc3ad
movq %rax, %rdi
callq 0x2050
jmp 0x2b3f
movl $0x10, %edi
callq 0x2100
movq %rax, %rbx
leaq 0x9876(%rip), %rsi      # 0xc3ad
movq %rax, %rdi
callq 0x2050
movq 0xd47a(%rip), %rsi      # 0xffc0
movq 0xd463(%rip), %rdx      # 0xffb0
movq %rbx, %rdi
callq 0x2310
jmp 0x2b57
movq %rax, %r14
movq %rbx, %rdi
callq 0x2170
movq %r14, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/YSRKEN[P]Shioi/I401/./misc_functions.hpp
// Function: detail::operator|(char, detail::toStone_helper)
Stone operator|(const char c, toStone_helper info) {
		constexpr const char kStoneString[] = "NBW";
		const auto p = std::strchr(kStoneString, c);
		if (!p) throw std::invalid_argument(info.err_message);
		return static_cast<Stone>(p - kStoneString);
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %esi
leaq 0x4(%rsp), %rdi
movl $0x57424e, (%rdi)       # imm = 0x57424E
callq 0x20b0
testq %rax, %rax
je 0x2b97
leaq 0x4(%rsp), %rcx
subl %ecx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x2100
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2370
movq 0xd41a(%rip), %rsi      # 0xffd0
movq 0xd3fb(%rip), %rdx      # 0xffb8
movq %r14, %rdi
callq 0x2310
movq %rax, %rbx
movq %r14, %rdi
callq 0x2170
movq %rbx, %rdi
callq 0x2330
// File: /workspace/github_cpp_makefile_star2_O1/YSRKEN[P]Shioi/I401/./BookDB.hpp
// Function: BookDB::SetBookData(std::vector<unsigned long, std::allocator<unsigned long>> const&)
void SetBookData(const vector<size_t> &move) {
		// Move on temporary board
		BaseBoard board;
		std::fill(board.begin(), board.end(), Stone::None);
		auto turn = Stone::Black;
		for (size_t i = 0; i < move.size() - 1; ++i) {
			board[move[i]] = turn;
			turn = EnemyTurn(turn);
		}
		// Set Data
		/*if (move[0] == 112 && move[1] == 97 && move[2] == 98 && move[3] == 113 && move[4] == 129 && move.size() == 5) {
		for (size_t p = 0; p < kBoardSize * kBoardSize; ++p) {
		if (board[p] != Stone::None) {
		cout << PositionToString(p) << " " << board[p] << endl;
		}
		}
		auto hash2 = GetHash(board);
		return;
		}*/
		auto hash = GetHash(board);
		if (book_.count(hash) == 0) {
			book_[hash] = std::unordered_set<size_t>();
		}
		book_[hash].insert(move[move.size() - 1]);
	}

// Assembly:
pushq %r14
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x57(%rsp), %rdi
movl $0xe1, %edx
xorl %esi, %esi
callq 0x2120
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
decq %rcx
je 0x3d7a
movb $0x1, %dl
xorl %esi, %esi
movq (%rax,%rsi,8), %rdi
movb %dl, 0x57(%rsp,%rdi)
cmpb $0x1, %dl
sete %dl
incb %dl
incq %rsi
cmpq %rsi, %rcx
jne 0x3d62
movl $0x1, %eax
xorl %ecx, %ecx
xorl %edx, %edx
movzbl 0x57(%rsp,%rcx), %esi
imulq %rax, %rsi
addq %rsi, %rdx
movq %rax, %rsi
shlq $0x4, %rsi
addq %rsi, %rax
incq %rcx
cmpq $0xe1, %rcx
jne 0x3d83
leaq 0x8(%rsp), %rsi
movq %rdx, (%rsi)
movq %r14, %rdi
callq 0x41b6
testq %rax, %rax
jne 0x3e10
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rax
movaps %xmm0, -0x30(%rax)
movaps %xmm0, -0x10(%rax)
movaps %xmm0, -0x20(%rax)
movq $0x0, (%rax)
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x4232
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x2390
leaq 0x10(%rsp), %rdi
callq 0x3cba
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x4232
movq 0x8(%rbx), %rsi
addq $-0x8, %rsi
leaq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rax, %rdi
callq 0x4532
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x3c14
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3cba
movq %rbx, %rdi
callq 0x2330
nop