LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::skipSpaces()
void Reader::skipSpaces() {
  while (current_ != end_) {
    Char c = *current_;
    if (c == ' ' || c == '\t' || c == '\r' || c == '\n')
      ++current_;
    else
      break;
  }
}

// Assembly:
movq 0xc8(%rdi), %rax
movq 0xd0(%rdi), %rcx
movabsq $0x100002600, %rdx      # imm = 0x100002600
cmpq %rax, %rcx
je 0x6f9de
movzbl (%rcx), %esi
cmpq $0x20, %rsi
ja 0x6f9de
btq %rsi, %rdx
jae 0x6f9de
incq %rcx
movq %rcx, 0xd0(%rdi)
jmp 0x6f9be
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::readString()
bool Reader::readString() {
  Char c = 0;
  while (current_ != end_) {
    c = getNextChar();
    if (c == '\\')
      getNextChar();
    else if (c == '"')
      break;
  }
  return c == '"';
}

// Assembly:
movq 0xc8(%rdi), %rax
movq 0xd0(%rdi), %rdx
xorl %ecx, %ecx
cmpq %rax, %rdx
je 0x6fa48
movq %rdx, %rsi
incq %rdx
movq %rdx, 0xd0(%rdi)
movzbl (%rsi), %ecx
cmpl $0x5c, %ecx
je 0x6fa33
cmpl $0x22, %ecx
jne 0x6fa12
jmp 0x6fa48
cmpq %rax, %rdx
je 0x6fa12
addq $0x2, %rsi
movq %rsi, 0xd0(%rdi)
movq %rsi, %rdx
jmp 0x6fa12
cmpb $0x22, %cl
sete %al
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::readComment()
bool Reader::readComment() {
  Location commentBegin = current_ - 1;
  Char c = getNextChar();
  bool successful = false;
  if (c == '*')
    successful = readCStyleComment();
  else if (c == '/')
    successful = readCppStyleComment();
  if (!successful)
    return false;

  if (collectComments_) {
    CommentPlacement placement = commentBefore;
    if (lastValueEnd_ && !containsNewLine(lastValueEnd_, commentBegin)) {
      if (c != '*' || !containsNewLine(commentBegin, current_))
        placement = commentAfterOnSameLine;
    }

    addComment(commentBegin, current_, placement);
  }
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0xd0(%rdi), %rbx
cmpq 0xc8(%rdi), %rbx
je 0x6faff
movq %rdi, %r14
leaq 0x1(%rbx), %rax
movq %rax, 0xd0(%rdi)
movzbl (%rbx), %r12d
cmpl $0x2a, %r12d
je 0x6fa94
cmpl $0x2f, %r12d
jne 0x6faff
movq %r14, %rdi
callq 0x6fc5c
jmp 0x6faa0
movq %r14, %rdi
callq 0x6fc12
testb %al, %al
je 0x6faff
movb $0x1, %bpl
cmpb $0x1, 0x10c(%r14)
jne 0x6fb01
decq %rbx
movq 0xd8(%r14), %rdi
xorl %r15d, %r15d
testq %rdi, %rdi
je 0x6fae8
movq %rbx, %rsi
callq 0x6fca1
testb %al, %al
jne 0x6fae8
cmpb $0x2a, %r12b
jne 0x6fae4
movq 0xd0(%r14), %rsi
movq %rbx, %rdi
callq 0x6fca1
testb %al, %al
jne 0x6fae8
pushq $0x1
popq %r15
movq 0xd0(%r14), %rdx
movq %r14, %rdi
movq %rbx, %rsi
movl %r15d, %ecx
callq 0x6fcc0
jmp 0x6fb01
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::readNumber()
void Reader::readNumber() {
  const char *p = current_;
  char c = '0'; // stopgap for already consumed character
  // integral part
  while (c >= '0' && c <= '9')
    c = (current_ = p) < end_ ? *p++ : 0;
  // fractional part
  if (c == '.') {
    c = (current_ = p) < end_ ? *p++ : 0;
    while (c >= '0' && c <= '9')
      c = (current_ = p) < end_ ? *p++ : 0;
  }
  // exponential part
  if (c == 'e' || c == 'E') {
    c = (current_ = p) < end_ ? *p++ : 0;
    if (c == '+' || c == '-')
      c = (current_ = p) < end_ ? *p++ : 0;
    while (c >= '0' && c <= '9')
      c = (current_ = p) < end_ ? *p++ : 0;
  }
}

// Assembly:
movq 0xc8(%rdi), %rax
movq 0xd0(%rdi), %rcx
movb $0x30, %dl
leal -0x30(%rdx), %esi
cmpb $0x9, %sil
ja 0x6fb3a
xorl %edx, %edx
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0x6fb1c
movb (%rcx), %dl
incq %rcx
jmp 0x6fb1c
cmpb $0x2e, %dl
jne 0x6fb6d
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jb 0x6fb4f
xorl %edx, %edx
jmp 0x6fb54
movb (%rcx), %dl
incq %rcx
leal -0x30(%rdx), %esi
cmpb $0x9, %sil
ja 0x6fb6d
xorl %edx, %edx
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0x6fb54
jmp 0x6fb4f
andb $-0x21, %dl
cmpb $0x45, %dl
jne 0x6fbcd
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0x6fba4
leaq 0x1(%rcx), %rsi
movzbl (%rcx), %edx
cmpl $0x2d, %edx
je 0x6fb92
cmpl $0x2b, %edx
jne 0x6fbaa
movq %rsi, 0xd0(%rdi)
cmpq %rax, %rsi
jae 0x6fba8
addq $0x2, %rcx
jmp 0x6fbaf
xorl %edx, %edx
jmp 0x6fbb1
xorl %edx, %edx
movq %rsi, %rcx
jmp 0x6fbb1
movb (%rsi), %dl
addb $-0x30, %dl
cmpb $0x9, %dl
ja 0x6fbcd
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jae 0x6fbcd
movq %rcx, %rsi
incq %rcx
jmp 0x6fbaf
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::match(char const*, int)
bool Reader::match(Location pattern, int patternLength) {
  if (end_ - current_ < patternLength)
    return false;
  int index = patternLength;
  while (index--)
    if (current_[index] != pattern[index])
      return false;
  current_ += patternLength;
  return true;
}

// Assembly:
movq 0xc8(%rdi), %r8
movq 0xd0(%rdi), %rax
subq %rax, %r8
movslq %edx, %rcx
cmpq %rcx, %r8
jl 0x6fc02
movq %rcx, %r8
movq %rcx, %rdx
subq $0x1, %rdx
jb 0x6fc05
movb -0x1(%rax,%r8), %r9b
cmpb -0x1(%rsi,%r8), %r9b
movq %rdx, %r8
je 0x6fbed
xorl %eax, %eax
retq
addq %rcx, %rax
movq %rax, 0xd0(%rdi)
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::readCStyleComment()
bool Reader::readCStyleComment() {
  while (current_ != end_) {
    Char c = getNextChar();
    if (c == '*' && *current_ == '/')
      break;
  }
  return getNextChar() == '/';
}

// Assembly:
movq 0xc8(%rdi), %rax
movq 0xd0(%rdi), %rcx
incq %rcx
leaq -0x1(%rcx), %rdx
cmpq %rax, %rdx
je 0x6fc41
movq %rcx, 0xd0(%rdi)
cmpb $0x2a, -0x1(%rcx)
jne 0x6fc20
cmpb $0x2f, (%rcx)
jne 0x6fc20
movq %rcx, %rdx
cmpq %rax, %rdx
je 0x6fc58
leaq 0x1(%rdx), %rax
movq %rax, 0xd0(%rdi)
cmpb $0x2f, (%rdx)
sete %al
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::readCppStyleComment()
bool Reader::readCppStyleComment() {
  while (current_ != end_) {
    Char c = getNextChar();
    if (c == '\n')
      break;
    if (c == '\r') {
      // Consume DOS EOL. It will be normalized in addComment.
      if (current_ != end_ && *current_ == '\n')
        getNextChar();
      // Break on Moc OS 9 EOL.
      break;
    }
  }
  return true;
}

// Assembly:
movq 0xc8(%rdi), %rcx
movq 0xd0(%rdi), %rdx
cmpq %rcx, %rdx
je 0x6fc9e
leaq 0x1(%rdx), %rax
movq %rax, 0xd0(%rdi)
movzbl (%rdx), %esi
cmpl $0xa, %esi
je 0x6fc9e
movq %rax, %rdx
cmpl $0xd, %esi
jne 0x6fc6a
cmpq %rcx, %rax
je 0x6fc9e
cmpb $0xa, (%rax)
jne 0x6fc9e
incq %rax
movq %rax, 0xd0(%rdi)
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::addComment(char const*, char const*, Json::CommentPlacement)
void
Reader::addComment(Location begin, Location end, CommentPlacement placement) {
  assert(collectComments_);
  const std::string& normalized = normalizeEOL(begin, end);
  if (placement == commentAfterOnSameLine) {
    assert(lastValue_ != 0);
    lastValue_->setComment(normalized, placement);
  } else {
    commentsBefore_ += normalized;
  }
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x28, %rsp
movl %ecx, %ebp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6fd2a
cmpl $0x1, %ebp
jne 0x6fcf0
movq 0xe0(%rbx), %rdi
leaq 0x8(%rsp), %rsi
pushq $0x1
popq %rdx
callq 0x6f00a
jmp 0x6fd04
addq $0xe8, %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x11bd0
leaq 0x8(%rsp), %rdi
callq 0x11270
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::normalizeEOL[abi:cxx11](char const*, char const*)
static std::string normalizeEOL(Reader::Location begin, Reader::Location end) {
  std::string normalized;
  normalized.reserve(static_cast<size_t>(end - begin));
  Reader::Location current = begin;
  while (current != end) {
    char c = *current++;
    if (c == '\r') {
      if (current != end && *current == '\n')
         // convert dos EOL
         ++current;
      // convert Mac EOL
      normalized += '\n';
    } else {
      normalized += c;
    }
  }
  return normalized;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movq %rsi, %r15
movb $0x0, 0x10(%rdi)
movq %rdx, %rsi
subq %r15, %rsi
callq 0x11960
pushq $0xa
popq %rbp
cmpq %r14, %r15
je 0x6fd9b
leaq 0x1(%r15), %r12
movb (%r15), %al
cmpb $0xd, %al
jne 0x6fd8b
cmpq %r14, %r12
je 0x6fd7c
cmpb $0xa, 0x1(%r15)
jne 0x6fd7c
addq $0x2, %r15
movq %r15, %r12
movq %rbx, %rdi
movl %ebp, %esi
callq 0x114e0
movq %r12, %r15
jmp 0x6fd59
movsbl %al, %esi
movq %rbx, %rdi
callq 0x114e0
movq %r12, %r15
jmp 0x6fd59
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6fda9
movq %rax, %r14
movq %rbx, %rdi
callq 0x11270
movq %r14, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::recoverFromError(Json::Reader::TokenType)
bool Reader::recoverFromError(TokenType skipUntilToken) {
  size_t const errorCount = errors_.size();
  Token skip;
  for (;;) {
    if (!readToken(skip))
      errors_.resize(errorCount); // discard errors caused by recovery
    if (skip.type_ == skipUntilToken || skip.type_ == tokenEndOfStream)
      break;
  }
  errors_.resize(errorCount);
  return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebp
movq %rdi, %r14
leaq 0x50(%rdi), %rbx
movq %rbx, %rdi
callq 0x79e9c
movq %rax, %r15
leaq 0x8(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x6f860
movl 0x8(%rsp), %eax
cmpl %ebp, %eax
je 0x6ffe8
testl %eax, %eax
jne 0x6ffd1
movq %rbx, %rdi
movq %r15, %rsi
callq 0x79eac
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::asString[abi:cxx11]() const
std::string Value::asString() const {
  switch (type_) {
  case nullValue:
    return "";
  case stringValue:
  {
    if (value_.string_ == 0) return "";
    unsigned this_len;
    char const* this_str;
    decodePrefixedString(this->allocated_, this->value_.string_, &this_len, &this_str);
    return std::string(this_str, this_len);
  }
  case booleanValue:
    return value_.bool_ ? "true" : "false";
  case intValue:
    return valueToString(value_.int_);
  case uintValue:
    return valueToString(value_.uint_);
  case realValue:
    return valueToString(value_.real_);
  default:
    JSON_FAIL_MESSAGE("Type is not convertible to string");
  }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movzwl 0x8(%rsi), %eax
cmpb $0x5, %al
ja 0x701fd
movq %rdi, %rbx
movzbl %al, %ecx
leaq 0x3b9df(%rip), %rdx     # 0xabb2c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq (%rsi), %rsi
movq %rbx, %rdi
callq 0x75090
jmp 0x701ef
movq (%rsi), %r14
testq %r14, %r14
je 0x7017e
btl $0x8, %eax
jb 0x701d1
movq %r14, %rdi
callq 0x11250
jmp 0x701d8
leaq 0x393df(%rip), %rsi     # 0xa9564
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
jmp 0x701ca
movq (%rsi), %rsi
movq %rbx, %rdi
callq 0x75101
jmp 0x701ef
movsd (%rsi), %xmm0
movq %rbx, %rdi
callq 0x7513e
jmp 0x701ef
leaq 0x3c2a1(%rip), %rcx     # 0xac452
leaq 0x3c29f(%rip), %rax     # 0xac457
cmpb $0x0, (%rsi)
cmovneq %rcx, %rax
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x196d0
jmp 0x701ef
movl (%r14), %eax
addq $0x4, %r14
movl %eax, %edx
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
addq %r14, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x199fe
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r14
retq
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x3c24c(%rip), %rsi     # 0xac45d
movq %rbx, %rdi
callq 0x115a0
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x119a0
movq %rsp, %rdi
callq 0x74503
movq %rax, %rbx
movq %rsp, %rdi
callq 0x11270
jmp 0x70240
jmp 0x7023d
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x11180
movq %rbx, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::operator[](int)
Value& Value::operator[](int index) {
  JSON_ASSERT_MESSAGE(
      index >= 0,
      "in Json::Value::operator[](int index): index cannot be negative");
  return (*this)[ArrayIndex(index)];
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
testl %esi, %esi
js 0x702a1
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
jmp 0x75c04
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x3c46f(%rip), %rsi     # 0xac724
movq %rbx, %rdi
callq 0x115a0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x119a0
leaq 0x8(%rsp), %rdi
callq 0x74503
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x11270
jmp 0x702ea
jmp 0x702e7
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x11180
movq %rbx, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::decodeDouble(Json::Reader::Token&, Json::Value&)
bool Reader::decodeDouble(Token& token, Value& decoded) {
  double value = 0;
  std::string buffer(token.start_, token.end_);
  std::istringstream is(buffer);
  if (!(is >> value))
    return addError("'" + std::string(token.start_, token.end_) +
                        "' is not a number.",
                    token);
  decoded = value;
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x230, %rsp            # imm = 0x230
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
andq $0x0, (%rsp)
movq 0x8(%rsi), %rsi
movq 0x10(%rbx), %rdx
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x68(%rsp), %r12
movq %r12, %rdi
callq 0x199fe
leaq 0xb0(%rsp), %rdi
pushq $0x8
popq %rdx
movq %r12, %rsi
callq 0x11a30
leaq 0xb0(%rsp), %rdi
movq %rsp, %rsi
callq 0x113f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movl 0x20(%rax,%rcx), %ebp
testb $0x5, %bpl
je 0x703e4
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8(%rsp), %rdi
callq 0x199fe
leaq 0x3bf3e(%rip), %rsi     # 0xac2cb
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x79e4e
leaq 0x3bd52(%rip), %rdx     # 0xac0f5
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1970b
leaq 0x48(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x6f02c
leaq 0x48(%rsp), %rdi
callq 0x11270
leaq 0x28(%rsp), %rdi
callq 0x11270
leaq 0x8(%rsp), %rdi
callq 0x11270
jmp 0x7041a
movsd (%rsp), %xmm0
leaq 0x88(%rsp), %rbx
movw $0x3, 0x8(%rbx)
xorps %xmm1, %xmm1
movups %xmm1, 0x10(%rbx)
andq $0x0, 0x20(%rbx)
movsd %xmm0, (%rbx)
movq %r15, %rdi
movq %rbx, %rsi
callq 0x74c68
movq %rbx, %rdi
callq 0x74cb0
testb $0x5, %bpl
sete %bl
leaq 0xb0(%rsp), %rdi
callq 0x11280
leaq 0x68(%rsp), %rdi
callq 0x11270
movl %ebx, %eax
addq $0x230, %rsp            # imm = 0x230
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x11270
jmp 0x7045c
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x11270
jmp 0x7046b
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x11270
jmp 0x7047c
jmp 0x70479
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x11280
jmp 0x7048e
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::decodeDouble(Json::Reader::Token&)
bool Reader::decodeDouble(Token& token) {
  Value decoded;
  if (!decodeDouble(token, decoded))
    return false;
  currentValue().swapPayload(decoded);
  currentValue().setOffsetStart(token.start_ - begin_);
  currentValue().setOffsetLimit(token.end_ - begin_);
  return true;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %rdx
andw $0x0, 0x8(%rdx)
xorps %xmm0, %xmm0
andq $0x0, 0x20(%rdx)
movups %xmm0, 0x10(%rdx)
andq $0x0, (%rdx)
callq 0x702fc
movl %eax, %ebp
testb %al, %al
je 0x7055a
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0x704f8
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6f810
movq 0x30(%r14), %rax
movq 0x38(%r14), %rcx
movq %rax, %rsi
cmpq %rcx, %rax
jne 0x70523
movq 0x48(%r14), %rdx
movl $0x200, %esi            # imm = 0x200
addq -0x8(%rdx), %rsi
movq 0x8(%rbx), %rdi
movq 0xc0(%r14), %rdx
subq %rdx, %rdi
movq -0x8(%rsi), %rsi
movq %rdi, 0x18(%rsi)
cmpq %rcx, %rax
jne 0x7054b
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rax
movq 0x10(%rbx), %rcx
subq %rdx, %rcx
movq %rcx, 0x20(%rax)
leaq 0x8(%rsp), %rdi
callq 0x74cb0
movl %ebp, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x74cb0
movq %rbx, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::decodeUnicodeCodePoint(Json::Reader::Token&, char const*&, char const*, unsigned int&)
bool Reader::decodeUnicodeCodePoint(Token& token,
                                    Location& current,
                                    Location end,
                                    unsigned int& unicode) {

  if (!decodeUnicodeEscapeSequence(token, current, end, unicode))
    return false;
  if (unicode >= 0xD800 && unicode <= 0xDBFF) {
    // surrogate pairs
    if (end - current < 6)
      return addError(
          "additional six characters expected to parse unicode surrogate pair.",
          token,
          current);
    unsigned int surrogatePair;
    if (*(current++) == '\\' && *(current++) == 'u') {
      if (decodeUnicodeEscapeSequence(token, current, end, surrogatePair)) {
        unicode = 0x10000 + ((unicode & 0x3FF) << 10) + (surrogatePair & 0x3FF);
      } else
        return false;
    } else
      return addError("expecting another \\u token to begin the second half of "
                      "a unicode surrogate pair",
                      token,
                      current);
  }
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
callq 0x707aa
testb %al, %al
je 0x70687
movl $0xfffffc00, %eax       # imm = 0xFFFFFC00
andl (%r12), %eax
movb $0x1, %bpl
cmpl $0xd800, %eax           # imm = 0xD800
jne 0x70689
movq (%r15), %rax
movq %r13, %rcx
subq %rax, %rcx
cmpq $0x5, %rcx
jg 0x705ff
leaq 0x3bb6b(%rip), %rsi     # 0xac146
leaq 0x8(%rsp), %rdi
leaq 0x4(%rsp), %rdx
callq 0x196d0
movq (%r15), %rcx
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x6f02c
jmp 0x7067d
leaq 0x1(%rax), %rcx
movq %rcx, (%r15)
cmpb $0x5c, (%rax)
jne 0x70654
leaq 0x2(%rax), %rcx
movq %rcx, (%r15)
cmpb $0x75, 0x1(%rax)
jne 0x70654
leaq 0x4(%rsp), %r8
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x707aa
testb %al, %al
je 0x70687
movl (%r12), %eax
shll $0xa, %eax
andl $0xffc00, %eax          # imm = 0xFFC00
movl $0x3ff, %ecx            # imm = 0x3FF
andl 0x4(%rsp), %ecx
addl %ecx, %eax
addl $0x10000, %eax          # imm = 0x10000
movl %eax, (%r12)
jmp 0x70689
leaq 0x3bb2f(%rip), %rsi     # 0xac18a
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x196d0
movq (%r15), %rcx
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x6f02c
leaq 0x8(%rsp), %rdi
callq 0x11270
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7069e
jmp 0x706ad
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x11270
jmp 0x706b0
movq %rax, %rbx
movq %rbx, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::codePointToUTF8[abi:cxx11](unsigned int)
static inline std::string codePointToUTF8(unsigned int cp) {
  std::string result;

  // based on description from http://en.wikipedia.org/wiki/UTF-8

  if (cp <= 0x7f) {
    result.resize(1);
    result[0] = static_cast<char>(cp);
  } else if (cp <= 0x7FF) {
    result.resize(2);
    result[1] = static_cast<char>(0x80 | (0x3f & cp));
    result[0] = static_cast<char>(0xC0 | (0x1f & (cp >> 6)));
  } else if (cp <= 0xFFFF) {
    result.resize(3);
    result[2] = static_cast<char>(0x80 | (0x3f & cp));
    result[1] = static_cast<char>(0x80 | (0x3f & (cp >> 6)));
    result[0] = static_cast<char>(0xE0 | (0xf & (cp >> 12)));
  } else if (cp <= 0x10FFFF) {
    result.resize(4);
    result[3] = static_cast<char>(0x80 | (0x3f & cp));
    result[2] = static_cast<char>(0x80 | (0x3f & (cp >> 6)));
    result[1] = static_cast<char>(0x80 | (0x3f & (cp >> 12)));
    result[0] = static_cast<char>(0xF0 | (0x7 & (cp >> 18)));
  }

  return result;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movl %esi, %ebp
movb $0x0, 0x10(%rdi)
cmpl $0x7f, %esi
ja 0x706e6
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x11860
jmp 0x70789
cmpl $0x7ff, %ebp            # imm = 0x7FF
ja 0x7070e
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x11860
movl %ebp, %eax
andb $0x3f, %al
orb $-0x80, %al
movq (%rbx), %rcx
movb %al, 0x1(%rcx)
shrl $0x6, %ebp
orb $-0x40, %bpl
jmp 0x70789
cmpl $0xffff, %ebp           # imm = 0xFFFF
ja 0x70745
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x11860
movl %ebp, %eax
andb $0x3f, %al
orb $-0x80, %al
movq (%rbx), %rcx
movb %al, 0x2(%rcx)
movl %ebp, %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movq (%rbx), %rcx
movb %al, 0x1(%rcx)
shrl $0xc, %ebp
orb $-0x20, %bpl
jmp 0x70789
cmpl $0x10ffff, %ebp         # imm = 0x10FFFF
ja 0x7078f
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x11860
movl %ebp, %eax
andb $0x3f, %al
orb $-0x80, %al
movq (%rbx), %rcx
movb %al, 0x3(%rcx)
movl %ebp, %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movq (%rbx), %rcx
movb %al, 0x2(%rcx)
movl %ebp, %eax
shrl $0xc, %eax
andb $0x3f, %al
orb $-0x80, %al
movq (%rbx), %rcx
movb %al, 0x1(%rcx)
shrl $0x12, %ebp
orb $-0x10, %bpl
movq (%rbx), %rax
movb %bpl, (%rax)
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x11270
movq %r14, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::decodeUnicodeEscapeSequence(Json::Reader::Token&, char const*&, char const*, unsigned int&)
bool Reader::decodeUnicodeEscapeSequence(Token& token,
                                         Location& current,
                                         Location end,
                                         unsigned int& ret_unicode) {
  if (end - current < 4)
    return addError(
        "Bad unicode escape sequence in string: four digits expected.",
        token,
        current);
  int unicode = 0;
  for (int index = 0; index < 4; ++index) {
    Char c = *current++;
    unicode *= 16;
    if (c >= '0' && c <= '9')
      unicode += c - '0';
    else if (c >= 'a' && c <= 'f')
      unicode += c - 'a' + 10;
    else if (c >= 'A' && c <= 'F')
      unicode += c - 'A' + 10;
    else
      return addError(
          "Bad unicode escape sequence in string: hexadecimal digit expected.",
          token,
          current);
  }
  ret_unicode = static_cast<unsigned int>(unicode);
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdx), %rax
subq %rax, %rcx
cmpq $0x4, %rcx
jge 0x707ff
leaq 0x3ba0b(%rip), %rsi     # 0xac1da
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x196d0
movq (%r15), %rcx
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x6f02c
leaq 0x10(%rsp), %rdi
callq 0x11270
xorl %eax, %eax
jmp 0x7084e
incq %rax
xorl %ecx, %ecx
pushq $0x4
popq %rdx
subl $0x1, %edx
jb 0x70849
movq %rax, (%r15)
movsbl -0x1(%rax), %esi
shll $0x4, %ecx
leal -0x30(%rsi), %edi
cmpb $0x9, %dil
ja 0x70826
addl %esi, %ecx
addl $-0x30, %ecx
jmp 0x70844
leal -0x61(%rsi), %edi
cmpb $0x5, %dil
ja 0x70836
addl %esi, %ecx
addl $-0x57, %ecx
jmp 0x70844
leal -0x41(%rsi), %edi
cmpb $0x5, %dil
ja 0x70858
addl %esi, %ecx
addl $-0x37, %ecx
incq %rax
jmp 0x70807
movl %ecx, (%r8)
movb $0x1, %al
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x3b9b8(%rip), %rsi     # 0xac217
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x196d0
movq (%r15), %rcx
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x6f02c
jmp 0x707f1
jmp 0x7088a
jmp 0x70899
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x11270
jmp 0x7089c
movq %rax, %rbx
movq %rbx, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::getLocationLineAndColumn(char const*, int&, int&) const
void Reader::getLocationLineAndColumn(Location location,
                                      int& line,
                                      int& column) const {
  Location current = begin_;
  Location lastLineStart = current;
  line = 0;
  while (current < location && current != end_) {
    Char c = *current++;
    if (c == '\r') {
      if (*current == '\n')
        ++current;
      lastLineStart = current;
      ++line;
    } else if (c == '\n') {
      lastLineStart = current;
      ++line;
    }
  }
  // column & line start at 1
  column = int(location - lastLineStart) + 1;
  ++line;
}

// Assembly:
movq 0xc0(%rdi), %r9
andl $0x0, (%rdx)
xorl %eax, %eax
movq %r9, %r8
movq 0xc8(%rdi), %r10
cmpq %rsi, %r8
jae 0x708ec
cmpq %r10, %r8
je 0x708ec
movzbl (%r8), %r11d
incq %r8
cmpl $0xa, %r11d
je 0x708e3
cmpl $0xd, %r11d
jne 0x708ba
leaq 0x1(%r8), %r9
cmpb $0xa, (%r8)
cmoveq %r9, %r8
incl %eax
movl %eax, (%rdx)
movq %r8, %r9
jmp 0x708b3
subl %r9d, %esi
incl %esi
movl %esi, (%rcx)
incl (%rdx)
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::getLocationLineAndColumn[abi:cxx11](char const*) const
std::string Reader::getLocationLineAndColumn(Location location) const {
  int line, column;
  getLocationLineAndColumn(location, line, column);
  char buffer[18 + 16 + 16 + 1];
  snprintf(buffer, sizeof(buffer), "Line %d, Column %d", line, column);
  return buffer;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
leaq 0xc(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %rsi, %rdi
movq %rdx, %rsi
movq %r14, %rdx
movq %r15, %rcx
callq 0x708a4
movl (%r14), %ecx
movl (%r15), %r8d
leaq 0x3b930(%rip), %rdx     # 0xac25a
leaq 0x10(%rsp), %r14
pushq $0x33
popq %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x119b0
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x196d0
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::getFormattedErrorMessages[abi:cxx11]() const
std::string Reader::getFormattedErrorMessages() const {
  std::string formattedMessage;
  for (Errors::const_iterator itError = errors_.begin();
       itError != errors_.end();
       ++itError) {
    const ErrorInfo& error = *itError;
    formattedMessage +=
        "* " + getLocationLineAndColumn(error.token_.start_) + "\n";
    formattedMessage += "  " + error.message_ + "\n";
    if (error.extra_)
      formattedMessage +=
          "See " + getLocationLineAndColumn(error.extra_) + " for detail.\n";
  }
  return formattedMessage;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x60(%rsi), %r15
movq 0x70(%rsi), %rax
movq %rax, 0x10(%rsp)
movq 0x78(%rsi), %rax
movq %rax, 0x8(%rsp)
leaq 0x58(%rsp), %r12
leaq 0x18(%rsp), %rbp
leaq 0x38(%rsp), %r13
cmpq 0x80(%r14), %r15
je 0x70ae4
movq 0x8(%r15), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x708f6
movq %rbp, %rdi
leaq 0x3b896(%rip), %rsi     # 0xac26d
movq %r12, %rdx
callq 0x79e4e
movq %r13, %rdi
movq %rbp, %rsi
leaq 0x3e0c6(%rip), %rdx     # 0xaeab2
callq 0x1970b
movq %rbx, %rdi
movq %r13, %rsi
callq 0x11bd0
movq %r13, %rdi
callq 0x11270
movq %rbp, %rdi
callq 0x11270
movq %r12, %rdi
callq 0x11270
addq $0x18, %r15
movq %rbp, %rdi
leaq 0x3ab53(%rip), %rsi     # 0xab575
movq %r15, %rdx
callq 0x79f02
movq %r13, %rdi
movq %rbp, %rsi
leaq 0x3e07b(%rip), %rdx     # 0xaeab2
callq 0x1970b
movq %rbx, %rdi
movq %r13, %rsi
callq 0x11bd0
movq %r13, %rdi
callq 0x11270
movq %rbp, %rdi
callq 0x11270
movq 0x20(%r15), %rdx
testq %rdx, %rdx
je 0x70ab2
movq %r12, %rdi
movq %r14, %rsi
callq 0x708f6
movq %rbp, %rdi
leaq 0x3b7fb(%rip), %rsi     # 0xac270
movq %r12, %rdx
callq 0x79e4e
movq %r13, %rdi
movq %rbp, %rsi
leaq 0x3b7eb(%rip), %rdx     # 0xac275
callq 0x1970b
movq %rbx, %rdi
movq %r13, %rsi
callq 0x11bd0
movq %r13, %rdi
callq 0x11270
movq %rbp, %rdi
callq 0x11270
movq %r12, %rdi
callq 0x11270
addq $0x28, %r15
cmpq 0x10(%rsp), %r15
jne 0x709b1
movq 0x8(%rsp), %rax
movq 0x8(%rax), %r15
addq $0x8, %rax
movq %rax, 0x8(%rsp)
leaq 0x200(%r15), %rax
movq %rax, 0x10(%rsp)
jmp 0x709b1
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x70b19
jmp 0x70b37
jmp 0x70b0f
jmp 0x70b14
movq %rax, %r14
leaq 0x38(%rsp), %rdi
callq 0x11270
jmp 0x70b3f
jmp 0x70b37
movq %rax, %r14
jmp 0x70b30
movq %rax, %r14
jmp 0x70b26
movq %rax, %r14
leaq 0x38(%rsp), %rdi
callq 0x11270
leaq 0x18(%rsp), %rdi
callq 0x11270
leaq 0x58(%rsp), %rdi
jmp 0x70b44
movq %rax, %r14
jmp 0x70b49
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x11270
movq %r14, %rdi
callq 0x11a80
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::getStructuredErrors() const
std::vector<Reader::StructuredError> Reader::getStructuredErrors() const {
  std::vector<Reader::StructuredError> allErrors;
  for (Errors::const_iterator itError = errors_.begin();
       itError != errors_.end();
       ++itError) {
    const ErrorInfo& error = *itError;
    Reader::StructuredError structured;
    structured.offset_start = error.token_.start_ - begin_;
    structured.offset_limit = error.token_.end_ - begin_;
    structured.message = error.message_;
    allErrors.push_back(structured);
  }
  return allErrors;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
andq $0x0, 0x10(%rdi)
pxor %xmm0, %xmm0
movdqu %xmm0, (%rdi)
movq 0x60(%rsi), %r12
movq 0x70(%rsi), %rbp
movq 0x78(%rsi), %rax
movq %rax, 0x8(%rsp)
leaq 0x20(%rsp), %r15
leaq 0x10(%rsp), %r13
cmpq 0x80(%r14), %r12
je 0x70c1d
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
andq $0x0, 0x28(%rsp)
movb $0x0, 0x30(%rsp)
movdqu 0x8(%r12), %xmm0
movq 0xc0(%r14), %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
psubq %xmm1, %xmm0
movdqa %xmm0, 0x10(%rsp)
addq $0x18, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x11300
movq %rbx, %rdi
movq %r13, %rsi
callq 0x79f78
movq %r15, %rdi
callq 0x11270
addq $0x28, %r12
cmpq %rbp, %r12
jne 0x70b96
movq 0x8(%rsp), %rax
movq 0x8(%rax), %r12
addq $0x8, %rax
movq %rax, 0x8(%rsp)
leaq 0x200(%r12), %rbp
jmp 0x70b96
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %r15, %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x79fa4
movq %r14, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::pushError(Json::Value const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool Reader::pushError(const Value& value, const std::string& message) {
  ptrdiff_t const length = end_ - begin_;
  if(value.getOffsetStart() > length
    || value.getOffsetLimit() > length)
    return false;
  Token token;
  token.type_ = tokenError;
  token.start_ = begin_ + value.getOffsetStart();
  token.end_ = end_ + value.getOffsetLimit();
  ErrorInfo info;
  info.token_ = token;
  info.message_ = message;
  info.extra_ = 0;
  errors_.push_back(info);
  return true;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0xc0(%rdi), %rcx
movq 0xc8(%rdi), %rax
movq %rax, %r8
subq %rcx, %r8
movq 0x18(%rsi), %rdi
cmpq %r8, %rdi
jg 0x70c7a
movq 0x20(%rsi), %rsi
cmpq %r8, %rsi
jle 0x70c7e
xorl %eax, %eax
jmp 0x70cd4
addq %rdi, %rcx
addq %rsi, %rax
leaq 0x20(%rsp), %r14
leaq 0x30(%rsp), %rsi
movq %rsi, -0x10(%rsi)
andq $0x0, -0x8(%rsi)
movb $0x0, (%rsi)
movl $0xd, -0x28(%rsi)
movq %rcx, -0x20(%rsi)
movq %rax, -0x18(%rsi)
movq %r14, %rdi
movq %rdx, %rsi
callq 0x11300
leaq 0x8(%rsp), %rsi
andq $0x0, 0x38(%rsi)
addq $0x50, %rbx
movq %rbx, %rdi
callq 0x79e72
movq %r14, %rdi
callq 0x11270
movb $0x1, %al
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x11a80
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::pushError(Json::Value const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Json::Value const&)
bool Reader::pushError(const Value& value, const std::string& message, const Value& extra) {
  ptrdiff_t const length = end_ - begin_;
  if(value.getOffsetStart() > length
    || value.getOffsetLimit() > length
    || extra.getOffsetLimit() > length)
    return false;
  Token token;
  token.type_ = tokenError;
  token.start_ = begin_ + value.getOffsetStart();
  token.end_ = begin_ + value.getOffsetLimit();
  ErrorInfo info;
  info.token_ = token;
  info.message_ = message;
  info.extra_ = begin_ + extra.getOffsetStart();
  errors_.push_back(info);
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r14
movq %rdi, %rbx
movq 0xc0(%rdi), %rdi
movq 0xc8(%rbx), %r8
subq %rdi, %r8
movq 0x18(%rsi), %rcx
cmpq %r8, %rcx
jle 0x70d29
xorl %eax, %eax
jmp 0x70d98
movq 0x20(%rsi), %rsi
xorl %eax, %eax
cmpq %r8, %rsi
jg 0x70d98
cmpq %r8, 0x20(%r14)
jg 0x70d98
addq %rdi, %rcx
addq %rdi, %rsi
leaq 0x18(%rsp), %r15
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movl $0xd, -0x28(%rax)
movq %rcx, -0x20(%rax)
movq %rsi, -0x18(%rax)
movq %r15, %rdi
movq %rdx, %rsi
callq 0x11300
movq 0xc0(%rbx), %rax
addq 0x18(%r14), %rax
movq %rsp, %rsi
movq %rax, 0x38(%rsi)
addq $0x50, %rbx
movq %rbx, %rdi
callq 0x79e72
movq %r15, %rdi
callq 0x11270
movb $0x1, %al
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %r15, %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x11a80
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::OurReader::readStringSingleQuote()
bool OurReader::readStringSingleQuote() {
  Char c = 0;
  while (current_ != end_) {
    c = getNextChar();
    if (c == '\\')
      getNextChar();
    else if (c == '\'')
      break;
  }
  return c == '\'';
}

// Assembly:
movq 0xc8(%rdi), %rax
movq 0xd0(%rdi), %rdx
xorl %ecx, %ecx
cmpq %rax, %rdx
je 0x71fb4
movq %rdx, %rsi
incq %rdx
movq %rdx, 0xd0(%rdi)
movzbl (%rsi), %ecx
cmpl $0x5c, %ecx
je 0x71f9f
cmpl $0x27, %ecx
jne 0x71f7e
jmp 0x71fb4
cmpq %rax, %rdx
je 0x71f7e
addq $0x2, %rsi
movq %rsi, 0xd0(%rdi)
movq %rsi, %rdx
jmp 0x71f7e
cmpb $0x27, %cl
sete %al
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::OurReader::readNumber(bool)
bool OurReader::readNumber(bool checkInf) {
  const char *p = current_;
  if (checkInf && p != end_ && *p == 'I') {
    current_ = ++p;
    return false;
  }
  char c = '0'; // stopgap for already consumed character
  // integral part
  while (c >= '0' && c <= '9')
    c = (current_ = p) < end_ ? *p++ : 0;
  // fractional part
  if (c == '.') {
    c = (current_ = p) < end_ ? *p++ : 0;
    while (c >= '0' && c <= '9')
      c = (current_ = p) < end_ ? *p++ : 0;
  }
  // exponential part
  if (c == 'e' || c == 'E') {
    c = (current_ = p) < end_ ? *p++ : 0;
    if (c == '+' || c == '-')
      c = (current_ = p) < end_ ? *p++ : 0;
    while (c >= '0' && c <= '9')
      c = (current_ = p) < end_ ? *p++ : 0;
  }
  return true;
}

// Assembly:
movq 0xc8(%rdi), %rcx
movq 0xd0(%rdi), %rdx
cmpq %rcx, %rdx
setne %al
testb %al, %sil
je 0x720a4
cmpb $0x49, (%rdx)
jne 0x720a4
incq %rdx
movq %rdx, 0xd0(%rdi)
xorl %eax, %eax
jmp 0x720da
movb $0x30, %sil
leal -0x30(%rsi), %eax
cmpb $0x9, %al
ja 0x720c4
xorl %esi, %esi
movq %rdx, 0xd0(%rdi)
cmpq %rcx, %rdx
jae 0x720a7
movb (%rdx), %sil
incq %rdx
jmp 0x720a7
cmpb $0x2e, %sil
jne 0x720f8
movq %rdx, 0xd0(%rdi)
cmpq %rcx, %rdx
jb 0x720db
xorl %esi, %esi
jmp 0x720e1
retq
movb (%rdx), %sil
incq %rdx
leal -0x30(%rsi), %eax
cmpb $0x9, %al
ja 0x720f8
xorl %esi, %esi
movq %rdx, 0xd0(%rdi)
cmpq %rcx, %rdx
jae 0x720e1
jmp 0x720db
andb $-0x21, %sil
movb $0x1, %al
cmpb $0x45, %sil
jne 0x720da
movq %rdx, 0xd0(%rdi)
cmpq %rcx, %rdx
jae 0x72133
leaq 0x1(%rdx), %r8
movzbl (%rdx), %esi
cmpl $0x2d, %esi
je 0x72121
cmpl $0x2b, %esi
jne 0x72139
movq %r8, 0xd0(%rdi)
cmpq %rcx, %r8
jae 0x72137
addq $0x2, %rdx
jmp 0x7213e
xorl %esi, %esi
jmp 0x72141
xorl %esi, %esi
movq %r8, %rdx
jmp 0x72141
movb (%r8), %sil
addb $-0x30, %sil
cmpb $0x9, %sil
ja 0x720da
movq %rdx, 0xd0(%rdi)
cmpq %rcx, %rdx
jae 0x720da
movq %rdx, %r8
incq %rdx
jmp 0x7213e
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::OurReader::decodeNumber(Json::OurReader::Token&, Json::Value&)
bool OurReader::decodeNumber(Token& token, Value& decoded) {
  // Attempts to parse the number as an integer. If the number is
  // larger than the maximum supported value of an integer then
  // we decode the number as a double.
  Location current = token.start_;
  bool isNegative = *current == '-';
  if (isNegative)
    ++current;
  // TODO: Help the compiler do the div and mod at compile time or get rid of them.
  Value::LargestUInt maxIntegerValue =
      isNegative ? Value::LargestUInt(-Value::minLargestInt)
                 : Value::maxLargestUInt;
  Value::LargestUInt threshold = maxIntegerValue / 10;
  Value::LargestUInt value = 0;
  while (current < token.end_) {
    Char c = *current++;
    if (c < '0' || c > '9')
      return decodeDouble(token, decoded);
    Value::UInt digit(static_cast<Value::UInt>(c - '0'));
    if (value >= threshold) {
      // We've hit or exceeded the max value divided by 10 (rounded down). If
      // a) we've only just touched the limit, b) this is the last digit, and
      // c) it's small enough to fit in that rounding delta, we're okay.
      // Otherwise treat this number as a double to avoid overflow.
      if (value > threshold || current != token.end_ ||
          digit > maxIntegerValue % 10) {
        return decodeDouble(token, decoded);
      }
    }
    value = value * 10 + digit;
  }
  if (isNegative)
    decoded = -Value::LargestInt(value);
  else if (value <= Value::LargestUInt(Value::maxInt))
    decoded = Value::LargestInt(value);
  else
    decoded = value;
  return true;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x78, %rsp
movq %rdx, %rcx
movq 0x8(%rsi), %r8
movq 0x10(%rsi), %r10
movb (%r8), %r9b
xorl %r11d, %r11d
xorl %eax, %eax
cmpb $0x2d, %r9b
sete %r11b
setne %al
negq %rax
btsq $0x3f, %rax
pushq $0xa
popq %rbx
xorl %edx, %edx
divq %rbx
addq %r8, %r11
xorl %r8d, %r8d
cmpq %r10, %r11
jae 0x72560
movzbl (%r11), %ebx
leal -0x3a(%rbx), %ebp
cmpb $-0xb, %bpl
jbe 0x72552
incq %r11
addl $-0x30, %ebx
movl %ebx, %ebx
cmpq %rax, %r8
jb 0x72549
ja 0x72552
cmpq %r10, %r11
jne 0x72552
cmpq %rbx, %rdx
jb 0x72552
imulq $0xa, %r8, %r8
addq %rbx, %r8
jmp 0x7251e
movq %rcx, %rdx
addq $0x78, %rsp
popq %rbx
popq %rbp
jmp 0x725f0
cmpb $0x2d, %r9b
jne 0x72570
negq %r8
leaq 0x50(%rsp), %rbx
jmp 0x7257e
cmpq $0x7fffffff, %r8        # imm = 0x7FFFFFFF
ja 0x72586
leaq 0x28(%rsp), %rbx
movw $0x1, 0x8(%rbx)
jmp 0x7258f
movq %rsp, %rbx
movw $0x2, 0x8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
andq $0x0, 0x20(%rbx)
movq %r8, (%rbx)
movq %rcx, %rdi
movq %rbx, %rsi
callq 0x74c68
movq %rbx, %rdi
callq 0x74cb0
movb $0x1, %al
addq $0x78, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::OurReader::getStructuredErrors() const
std::vector<OurReader::StructuredError> OurReader::getStructuredErrors() const {
  std::vector<OurReader::StructuredError> allErrors;
  for (Errors::const_iterator itError = errors_.begin();
       itError != errors_.end();
       ++itError) {
    const ErrorInfo& error = *itError;
    OurReader::StructuredError structured;
    structured.offset_start = error.token_.start_ - begin_;
    structured.offset_limit = error.token_.end_ - begin_;
    structured.message = error.message_;
    allErrors.push_back(structured);
  }
  return allErrors;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
andq $0x0, 0x10(%rdi)
pxor %xmm0, %xmm0
movdqu %xmm0, (%rdi)
movq 0x60(%rsi), %r12
movq 0x70(%rsi), %rbp
movq 0x78(%rsi), %rax
movq %rax, 0x8(%rsp)
leaq 0x20(%rsp), %r15
leaq 0x10(%rsp), %r13
cmpq 0x80(%r14), %r12
je 0x72e3d
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
andq $0x0, 0x28(%rsp)
movb $0x0, 0x30(%rsp)
movdqu 0x8(%r12), %xmm0
movq 0xc0(%r14), %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
psubq %xmm1, %xmm0
movdqa %xmm0, 0x10(%rsp)
addq $0x18, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x11300
movq %rbx, %rdi
movq %r13, %rsi
callq 0x7a07e
movq %r15, %rdi
callq 0x11270
addq $0x28, %r12
cmpq %rbp, %r12
jne 0x72db6
movq 0x8(%rsp), %rax
movq 0x8(%rax), %r12
addq $0x8, %rax
movq %rax, 0x8(%rsp)
leaq 0x200(%r12), %rbp
jmp 0x72db6
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %r15, %rdi
callq 0x11270
movq %rbx, %rdi
callq 0x7a0aa
movq %r14, %rdi
callq 0x11a80
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::CharReaderBuilder::newCharReader() const
CharReader* CharReaderBuilder::newCharReader() const
{
  bool collectComments = settings_["collectComments"].asBool();
  OurFeatures features = OurFeatures::all();
  features.allowComments_ = settings_["allowComments"].asBool();
  features.strictRoot_ = settings_["strictRoot"].asBool();
  features.allowDroppedNullPlaceholders_ = settings_["allowDroppedNullPlaceholders"].asBool();
  features.allowNumericKeys_ = settings_["allowNumericKeys"].asBool();
  features.allowSingleQuotes_ = settings_["allowSingleQuotes"].asBool();
  features.stackLimit_ = settings_["stackLimit"].asInt();
  features.failIfExtra_ = settings_["failIfExtra"].asBool();
  features.rejectDupKeys_ = settings_["rejectDupKeys"].asBool();
  features.allowSpecialFloats_ = settings_["allowSpecialFloats"].asBool();
  return new OurCharReader(collectComments, features);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
addq $0x8, %r14
leaq 0x38eec(%rip), %rsi     # 0xac2ea
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movb %al, 0x7(%rsp)
leaq 0x38ee1(%rip), %rsi     # 0xac2fa
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movb %al, 0x6(%rsp)
leaq 0x38ed4(%rip), %rsi     # 0xac308
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movb %al, 0x5(%rsp)
leaq 0x38ec4(%rip), %rsi     # 0xac313
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movb %al, 0x4(%rsp)
leaq 0x38ec6(%rip), %rsi     # 0xac330
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movl %eax, %ebx
leaq 0x38ebe(%rip), %rsi     # 0xac341
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movl %eax, %ebp
leaq 0x38eb7(%rip), %rsi     # 0xac353
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x73676
leaq 0x8(%rsp), %r13
movl %eax, 0x8(%r13)
leaq 0x38ea2(%rip), %rsi     # 0xac35e
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movl %eax, %r12d
leaq 0x38e94(%rip), %rsi     # 0xac36a
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movl %eax, %r15d
leaq 0x38e88(%rip), %rsi     # 0xac378
movq %r14, %rdi
callq 0x73596
movq %rax, %rdi
callq 0x735ce
movzbl %bpl, %ecx
movzbl %r12b, %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x6(%rsp), %ecx
movzbl 0x5(%rsp), %esi
shll $0x8, %esi
orl %ecx, %esi
movzbl 0x4(%rsp), %ecx
shll $0x10, %ecx
orl %esi, %ecx
movzbl %bl, %esi
shll $0x18, %esi
orl %ecx, %esi
movd %esi, %xmm0
pinsrw $0x2, %edx, %xmm0
movzbl %r15b, %ecx
movzbl %al, %eax
shll $0x8, %eax
orl %ecx, %eax
pinsrw $0x3, %eax, %xmm0
movq %xmm0, (%r13)
movl $0x130, %edi            # imm = 0x130
callq 0x115c0
movq %rax, %rbx
movzbl 0x7(%rsp), %esi
movq %rax, %rdi
movq %r13, %rdx
callq 0x7a0cc
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movl $0x130, %esi            # imm = 0x130
movq %rbx, %rdi
callq 0x115d0
movq %r14, %rdi
callq 0x11a80
nop
// File: /workspace/github_cpp_makefile_star2_O2/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::asBool() const
bool Value::asBool() const {
  switch (type_) {
  case booleanValue:
    return value_.bool_;
  case nullValue:
    return false;
  case intValue:
    return value_.int_ ? true : false;
  case uintValue:
    return value_.uint_ ? true : false;
  case realValue:
    // This is kind of strange. Not recommended.
    return (value_.real_ != 0.0) ? true : false;
  default:
    break;
  }
  JSON_FAIL_MESSAGE("Value is not convertible to bool.");
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
cmpq $0x5, %rax
ja 0x7361b
leaq 0x38665(%rip), %rcx     # 0xabc4c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq $0x0, (%rdi)
setne %al
jmp 0x73612
movb (%rdi), %al
jmp 0x73612
xorpd %xmm0, %xmm0
cmpneqsd (%rdi), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
jmp 0x73612
xorl %eax, %eax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x39039(%rip), %rsi     # 0xac668
movq %rbx, %rdi
callq 0x115a0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x119a0
leaq 0x8(%rsp), %rdi
callq 0x74503
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x11270
jmp 0x73664
jmp 0x73661
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x11180
movq %rbx, %rdi
callq 0x11a80