LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::decodeNumber(Json::Reader::Token&)
bool Reader::decodeNumber(Token& token) {
  Value decoded;
  if (!decodeNumber(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 $0xfe00, 0x8(%rdx)      # imm = 0xFE00
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdx)
xorl %eax, %eax
movq %rax, 0x20(%rdx)
movq %rax, (%rdx)
callq 0x7b158
movl %eax, %ebp
testb %al, %al
je 0x7a564
movq 0x30(%r14), %rax
cmpq 0x38(%r14), %rax
jne 0x7a4a3
movq 0x48(%r14), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rcx
movzwl 0x8(%rcx), %eax
movl $0xff, %esi
movl %eax, %edi
andl %esi, %edi
movzwl 0x10(%rsp), %r8d
andl %r8d, %esi
movl $0xff00, %edx           # imm = 0xFF00
movl %eax, %r9d
andl %edx, %r9d
orl %esi, %r9d
movw %r9w, 0x8(%rcx)
andl %r8d, %edx
orl %edi, %edx
movw %dx, 0x10(%rsp)
movq (%rcx), %rsi
movq 0x8(%rsp), %rdi
movq %rdi, (%rcx)
movq %rsi, 0x8(%rsp)
movl $0x100, %esi            # imm = 0x100
andl %esi, %r8d
andl $0xfeff, %r9d           # imm = 0xFEFF
orl %r8d, %r9d
movw %r9w, 0x8(%rcx)
andl %esi, %eax
andl $0xfffffeff, %edx       # imm = 0xFFFFFEFF
orl %eax, %edx
movw %dx, 0x10(%rsp)
movq 0x30(%r14), %rax
movq 0x38(%r14), %rcx
movq %rax, %rsi
cmpq %rcx, %rax
jne 0x7a52d
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 0x7a555
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 0x82500
movl %ebp, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x82500
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::decodeString(Json::Reader::Token&)
bool Reader::decodeString(Token& token) {
  std::string decoded_string;
  if (!decodeString(token, decoded_string))
    return false;
  Value decoded(decoded_string);
  currentValue().swapPayload(decoded);
  currentValue().setOffsetStart(token.start_ - begin_);
  currentValue().setOffsetLimit(token.end_ - begin_);
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x30(%rsp), %rdx
callq 0x7ae4e
movl %eax, %ebx
testb %al, %al
je 0x7a6cc
movzwl 0x10(%rsp), %r13d
andl $0xfe00, %r13d          # imm = 0xFE00
leal 0x104(%r13), %eax
movw %ax, 0x10(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rsp)
movq $0x0, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movl 0x38(%rsp), %esi
callq 0x82159
movq %rax, 0x8(%rsp)
movq 0x30(%r15), %rax
cmpq 0x38(%r15), %rax
jne 0x7a621
movq 0x48(%r15), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rax
movzwl 0x8(%rax), %ecx
movzbl %cl, %edx
movl %ecx, %esi
orl $0x104, %esi            # imm = 0x104
movb $0x4, 0x8(%rax)
orl %edx, %r13d
movl $0x100, %edx            # imm = 0x100
movl %r13d, %edi
orl %edx, %edi
movw %di, 0x10(%rsp)
movq (%rax), %rdi
movq 0x8(%rsp), %r8
movq %r8, (%rax)
movq %rdi, 0x8(%rsp)
andl $0xff04, %esi           # imm = 0xFF04
movw %si, 0x8(%rax)
andl %edx, %ecx
orl %r13d, %ecx
movw %cx, 0x10(%rsp)
movq 0x30(%r15), %rax
movq 0x38(%r15), %rcx
movq %rax, %rsi
cmpq %rcx, %rax
jne 0x7a68b
movq 0x48(%r15), %rdx
movl $0x200, %esi            # imm = 0x200
addq -0x8(%rdx), %rsi
movq 0x8(%r14), %rdi
movq 0xc0(%r15), %rdx
subq %rdx, %rdi
movq -0x8(%rsi), %rsi
movq %rdi, 0x18(%rsi)
cmpq %rcx, %rax
jne 0x7a6b3
movq 0x48(%r15), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movq -0x8(%rax), %rax
movq 0x10(%r14), %rcx
subq %rdx, %rcx
movq %rcx, 0x20(%rax)
leaq 0x8(%rsp), %rdi
callq 0x82500
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x7a6e3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x115c0
movl %ebx, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x7a6f5
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x7a70f
movq 0x40(%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::Value::swapPayload(Json::Value&)
void Value::swapPayload(Value& other) {
  ValueType temp = type_;
  type_ = other.type_;
  other.type_ = temp;
  std::swap(value_, other.value_);
  int temp2 = allocated_;
  allocated_ = other.allocated_;
  other.allocated_ = temp2 & 0x1;
}

// Assembly:
movb 0x8(%rdi), %al
movb 0x8(%rsi), %cl
movb %cl, 0x8(%rdi)
movb %al, 0x8(%rsi)
movq (%rdi), %rax
movq (%rsi), %rcx
movq %rcx, (%rdi)
movq %rax, (%rsi)
movzwl 0x8(%rdi), %eax
movzwl 0x8(%rsi), %ecx
movl $0x100, %edx            # imm = 0x100
andl %edx, %ecx
movl %eax, %r8d
andl $0xfeff, %r8d           # imm = 0xFEFF
orl %ecx, %r8d
movw %r8w, 0x8(%rdi)
andl %edx, %eax
movl $0xfffffeff, %ecx       # imm = 0xFFFFFEFF
andl 0x8(%rsi), %ecx
orl %eax, %ecx
movw %cx, 0x8(%rsi)
retq
// File: /workspace/github_cpp_makefile_star2_O1/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
cmpq %rax, %rcx
je 0x7a9e1
movabsq $0x100002600, %rdx      # imm = 0x100002600
movzbl (%rcx), %esi
cmpq $0x20, %rsi
ja 0x7a9e1
btq %rsi, %rdx
jae 0x7a9e1
incq %rcx
movq %rcx, 0xd0(%rdi)
cmpq %rax, %rcx
jne 0x7a9c3
retq
// File: /workspace/github_cpp_makefile_star2_O1/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
cmpq %rax, %rdx
je 0x7aa53
leaq 0x1(%rdx), %rsi
movq %rsi, 0xd0(%rdi)
movzbl (%rdx), %ecx
cmpl $0x5c, %ecx
je 0x7aa31
cmpl $0x22, %ecx
jne 0x7aa44
jmp 0x7aa4c
cmpq %rax, %rsi
je 0x7aa44
addq $0x2, %rdx
movq %rdx, 0xd0(%rdi)
movq %rdx, %rsi
movq %rsi, %rdx
cmpq %rax, %rsi
jne 0x7aa17
cmpb $0x22, %cl
sete %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 %rbx
pushq %rax
movq %rdi, %r14
movq 0xd0(%rdi), %rbx
cmpq 0xc8(%rdi), %rbx
je 0x7aa80
leaq 0x1(%rbx), %rax
movq %rax, 0xd0(%r14)
movb (%rbx), %r15b
jmp 0x7aa83
xorl %r15d, %r15d
cmpb $0x2f, %r15b
je 0x7aa9e
movzbl %r15b, %eax
cmpl $0x2a, %eax
jne 0x7aaab
movq %r14, %rdi
callq 0x7ac7c
movl %eax, %ebp
jmp 0x7aaad
movq %r14, %rdi
callq 0x7acc6
movb $0x1, %bpl
jmp 0x7aaad
xorl %ebp, %ebp
testb %bpl, %bpl
je 0x7ab45
cmpb $0x1, 0x10c(%r14)
jne 0x7ab45
decq %rbx
movq 0xd8(%r14), %rax
xorl %ecx, %ecx
testq %rax, %rax
je 0x7ab33
cmpq %rbx, %rax
setb %dl
jae 0x7aaf5
movzbl (%rax), %esi
cmpl $0xa, %esi
je 0x7aaf5
cmpl $0xd, %esi
je 0x7aaf5
incq %rax
cmpq %rbx, %rax
setb %dl
jne 0x7aadd
testb $0x1, %dl
jne 0x7ab33
cmpb $0x2a, %r15b
jne 0x7ab2e
movq 0xd0(%r14), %rdx
cmpq %rdx, %rbx
setb %al
jae 0x7ab2a
movq %rbx, %rsi
movzbl (%rsi), %edi
cmpl $0xa, %edi
je 0x7ab2a
cmpl $0xd, %edi
je 0x7ab2a
incq %rsi
cmpq %rdx, %rsi
setb %al
jne 0x7ab12
testb $0x1, %al
jne 0x7ab33
movl $0x1, %ecx
movq 0xd0(%r14), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x7ad12
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/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), %rdx
movq 0xd0(%rdi), %rax
movq %rax, 0xd0(%rdi)
cmpq %rdx, %rax
jae 0x7ab73
movb (%rax), %cl
incq %rax
jmp 0x7ab75
xorl %ecx, %ecx
leal -0x30(%rcx), %esi
cmpb $0xa, %sil
jb 0x7ab60
cmpb $0x2e, %cl
jne 0x7abc6
movq %rax, 0xd0(%rdi)
movq 0xc8(%rdi), %rdx
cmpq %rdx, %rax
jae 0x7ab9d
movb (%rax), %cl
incq %rax
jmp 0x7ab9f
xorl %ecx, %ecx
leal -0x30(%rcx), %esi
cmpb $0x9, %sil
ja 0x7abc6
movq %rax, 0xd0(%rdi)
cmpq %rdx, %rax
jae 0x7abbb
movb (%rax), %cl
incq %rax
jmp 0x7abbd
xorl %ecx, %ecx
leal -0x30(%rcx), %esi
cmpb $0xa, %sil
jb 0x7aba8
andb $-0x21, %cl
cmpb $0x45, %cl
jne 0x7ac36
movq %rax, 0xd0(%rdi)
movq 0xc8(%rdi), %rcx
cmpq %rcx, %rax
jae 0x7abe8
movb (%rax), %dl
incq %rax
jmp 0x7abea
xorl %edx, %edx
cmpb $0x2d, %dl
je 0x7abf7
movzbl %dl, %esi
cmpl $0x2b, %esi
jne 0x7ac0c
movq %rax, 0xd0(%rdi)
cmpq %rcx, %rax
jae 0x7ac0a
movb (%rax), %dl
incq %rax
jmp 0x7ac0c
xorl %edx, %edx
addb $-0x30, %dl
cmpb $0x9, %dl
ja 0x7ac36
movq %rax, 0xd0(%rdi)
cmpq %rcx, %rax
jae 0x7ac30
movb (%rax), %dl
incq %rax
addb $-0x30, %dl
cmpb $0xa, %dl
setb %dl
jmp 0x7ac32
xorl %edx, %edx
testb %dl, %dl
jne 0x7ac14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x7ac6c
movq %rcx, %r8
movq %rcx, %rdx
subq $0x1, %rdx
jb 0x7ac6f
movb -0x1(%rax,%r8), %r9b
cmpb -0x1(%rsi,%r8), %r9b
movq %rdx, %r8
je 0x7ac57
xorl %eax, %eax
retq
addq %rcx, %rax
movq %rax, 0xd0(%rdi)
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O1/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
cmpq %rax, %rcx
je 0x7aca4
incq %rcx
movq %rcx, 0xd0(%rdi)
cmpb $0x2a, -0x1(%rcx)
jne 0x7ac8a
cmpb $0x2f, (%rcx)
jne 0x7ac8a
movq 0xd0(%rdi), %rcx
cmpq %rax, %rcx
je 0x7acc2
leaq 0x1(%rcx), %rax
movq %rax, 0xd0(%rdi)
cmpb $0x2f, (%rcx)
sete %al
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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), %rax
movq 0xd0(%rdi), %rcx
cmpq %rax, %rcx
je 0x7ad0f
leaq 0x1(%rcx), %rdx
movq %rdx, 0xd0(%rdi)
movzbl (%rcx), %esi
cmpl $0xa, %esi
je 0x7ad0f
movq %rdx, %rcx
cmpl $0xd, %esi
jne 0x7acd4
movq 0xd0(%rdi), %rcx
cmpq %rax, %rcx
je 0x7ad0f
cmpb $0xa, (%rcx)
jne 0x7ad0f
incq %rcx
movq %rcx, 0xd0(%rdi)
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x7adaa
cmpl $0x1, %ebp
jne 0x7ad49
movq 0xe0(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movl $0x1, %ecx
callq 0x84a66
jmp 0x7ad62
addq $0xe8, %rbx
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x111e0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7ad7d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7ada2
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::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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %r12
movq %r12, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq %rdx, %rsi
subq %r15, %rsi
callq 0x11960
cmpq %r14, %r15
je 0x7ae1f
leaq 0x1(%r15), %r13
movb (%r15), %al
cmpb $0xd, %al
jne 0x7ae0c
cmpq %r14, %r13
je 0x7adfd
cmpb $0xa, 0x1(%r15)
jne 0x7adfd
addq $0x2, %r15
movq %r15, %r13
movq %rbx, %rdi
movl $0xa, %esi
callq 0x114e0
jmp 0x7ae17
movsbl %al, %esi
movq %rbx, %rdi
callq 0x114e0
movq %r13, %r15
cmpq %r14, %r13
jne 0x7addf
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x7ae2e
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x7ae45
movq (%r12), %rsi
incq %rsi
callq 0x115c0
movq %r14, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq 0x98(%rdi), %r13
movq 0x78(%rdi), %rax
movq %rax, 0x10(%rsp)
movq 0x80(%rdi), %r12
movq 0x88(%rdi), %rax
movq %rax, 0x8(%rsp)
movq 0x60(%rdi), %rax
movq %rax, 0x18(%rsp)
movq 0x70(%rdi), %r14
leaq 0x20(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7a768
movl 0x20(%rsp), %eax
cmpl %ebp, %eax
je 0x7b105
testl %eax, %eax
jne 0x7b0ee
subq 0x8(%rsp), %r12
sarq $0x6, %r12
movq %r13, %rax
subq 0x10(%rsp), %rax
negq %r13
movl $0x0, %ecx
sbbq %rcx, %rcx
leaq (%rax,%rcx,8), %rax
andq $-0x8, %rax
subq 0x18(%rsp), %r14
sarq $0x6, %r14
addq %r12, %r14
addq %rax, %r14
addq $0x50, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8993a
xorl %eax, %eax
addq $0x38, %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::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 0x7b483
movq %rdi, %rbx
movzbl %al, %ecx
leaq 0x45849(%rip), %rdx     # 0xc0c0c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movq (%rsi), %rsi
movq %rbx, %rdi
callq 0x82936
jmp 0x7b475
movq (%rsi), %r14
testq %r14, %r14
je 0x7b3f4
btl $0x8, %eax
jb 0x7b457
movq %r14, %rdi
callq 0x11260
jmp 0x7b45e
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x43235(%rip), %rdx     # 0xbe637
movq %rbx, %rdi
movq %rdx, %rsi
jmp 0x7b470
movq (%rsi), %rsi
movq %rbx, %rdi
callq 0x82a33
jmp 0x7b475
movsd (%rsi), %xmm0
movq %rbx, %rdi
xorl %esi, %esi
movl $0x11, %edx
callq 0x85332
jmp 0x7b475
movzbl (%rsi), %edx
leaq 0x460fc(%rip), %rax     # 0xc1532
leaq 0x460fa(%rip), %rsi     # 0xc1537
testq %rdx, %rdx
cmovneq %rax, %rsi
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
xorq $0x5, %rdx
addq %rsi, %rdx
movq %rbx, %rdi
jmp 0x7b470
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 0x1ab58
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r14
retq
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x460a6(%rip), %rsi     # 0xc153d
movl $0x21, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x11990
movq %rsp, %rdi
callq 0x81bd3
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7b4de
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x7b4de
jmp 0x7b4db
movq %rax, %rbx
movq 0x8aabb(%rip), %rsi     # 0x105fa0
leaq 0x20(%rsp), %rdi
callq 0x112f0
leaq 0x90(%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::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 0x7b553
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
jmp 0x83824
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x4629d(%rip), %rsi     # 0xc1804
movl $0x3f, %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 0x7b5b2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x7b5b2
jmp 0x7b5af
movq %rax, %rbx
movq 0x8a9e7(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%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::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 0x7bd3c
testb %al, %al
je 0x7bbe1
movl $0xfffffc00, %eax       # imm = 0xFFFFFC00
andl (%r12), %eax
movb $0x1, %bpl
cmpl $0xd800, %eax           # imm = 0xD800
jne 0x7bbe3
movq (%r15), %rax
movq %r13, %rcx
subq %rax, %rcx
cmpq $0x5, %rcx
jg 0x7bb40
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4570f(%rip), %rsi     # 0xc1226
leaq 0x4574b(%rip), %rdx     # 0xc1269
leaq 0x8(%rsp), %rdi
callq 0x1ab58
movq (%r15), %rcx
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x79b74
jmp 0x7bbca
leaq 0x1(%rax), %rcx
movq %rcx, (%r15)
cmpb $0x5c, (%rax)
jne 0x7bb95
leaq 0x2(%rax), %rcx
movq %rcx, (%r15)
cmpb $0x75, 0x1(%rax)
jne 0x7bb95
leaq 0x4(%rsp), %r8
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %r13, %rcx
callq 0x7bd3c
testb %al, %al
je 0x7bbe1
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 0x7bbe3
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x456c4(%rip), %rsi     # 0xc126a
leaq 0x4570c(%rip), %rdx     # 0xc12b9
leaq 0x8(%rsp), %rdi
callq 0x1ab58
movq (%r15), %rcx
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x79b74
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7bbe1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7bbf8
jmp 0x7bc14
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x7bc17
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x7bc17
movq %rax, %rbx
movq %rbx, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
cmpl $0x7f, %esi
ja 0x7bc57
movl $0x1, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x111d0
jmp 0x7bd09
cmpl $0x7ff, %ebp            # imm = 0x7FF
ja 0x7bc86
movl $0x2, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x111d0
movl %ebp, %eax
andb $0x3f, %al
orb $-0x80, %al
movq (%rbx), %rcx
movb %al, 0x1(%rcx)
shrl $0x6, %ebp
orb $-0x40, %bpl
jmp 0x7bd09
cmpl $0xffff, %ebp           # imm = 0xFFFF
ja 0x7bcc1
movl $0x3, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x111d0
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 0x7bd09
cmpl $0x10ffff, %ebp         # imm = 0x10FFFF
ja 0x7bd0f
movl $0x4, %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x111d0
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
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x7bd33
movq (%r15), %rsi
incq %rsi
callq 0x115c0
movq %r14, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/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), %rax
movl $0x0, (%rdx)
cmpq %rsi, %rax
jae 0x7bf35
cmpq 0xc8(%rdi), %rax
je 0x7bf35
movq %rax, %r8
leaq 0x1(%rax), %r9
movzbl (%rax), %r10d
cmpl $0xa, %r10d
je 0x7bf1d
cmpl $0xd, %r10d
jne 0x7bf22
cmpb $0xa, 0x1(%rax)
jne 0x7bf1d
addq $0x2, %rax
movq %rax, %r9
incl (%rdx)
movq %r9, %r8
movq %r9, %rax
cmpq %rsi, %r9
jae 0x7bf38
cmpq 0xc8(%rdi), %rax
jne 0x7befc
jmp 0x7bf38
movq %rax, %r8
subl %r8d, %esi
incl %esi
movl %esi, (%rcx)
incl (%rdx)
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 0x7bede
movl (%r14), %ecx
movl (%r15), %r8d
leaq 0x453c4(%rip), %rdx     # 0xc133a
leaq 0x10(%rsp), %r14
movl $0x33, %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x119a0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x11260
leaq (%rsp,%rax), %rdx
addq $0x10, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1ab58
movq %rbx, %rax
addq $0x50, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 $0x38, %rsp
movq %rdi, %rbx
pxor %xmm0, %xmm0
movdqu %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x60(%rsi), %r13
cmpq 0x80(%rsi), %r13
je 0x7c4fb
movq %rsi, %r14
movq 0x70(%rsi), %r12
movq 0x78(%rsi), %r15
leaq 0x20(%rsp), %rbp
movq %rbp, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
movdqu 0x8(%r13), %xmm0
movq 0xc0(%r14), %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
psubq %xmm1, %xmm0
movdqa %xmm0, (%rsp)
leaq 0x18(%r13), %rsi
leaq 0x10(%rsp), %rdi
callq 0x11300
movq %rbx, %rdi
movq %rsp, %rsi
callq 0x89a98
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7c4d6
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x115c0
addq $0x40, %r13
cmpq %r12, %r13
jne 0x7c4ee
movq 0x8(%r15), %r13
addq $0x8, %r15
leaq 0x200(%r13), %r12
cmpq 0x80(%r14), %r13
jne 0x7c476
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7c527
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x89adc
movq %r14, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x7c568
movq 0x20(%rsi), %rsi
cmpq %r8, %rsi
jle 0x7c56c
xorl %eax, %eax
jmp 0x7c5d6
addq %rdi, %rcx
addq %rsi, %rax
leaq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
movl $0xd, -0x28(%r14)
movq %rcx, -0x20(%r14)
movq %rax, -0x18(%r14)
movq %rdx, %rsi
callq 0x11300
leaq 0x8(%rsp), %rsi
movq $0x0, 0x38(%rsi)
addq $0x50, %rbx
movq %rbx, %rdi
callq 0x898ce
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x7c5d4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x115c0
movb $0x1, %al
addq $0x48, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x7c5f8
movq 0x30(%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::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 0x7c63c
xorl %eax, %eax
jmp 0x7c6bc
movq 0x20(%rsi), %rsi
xorl %eax, %eax
cmpq %r8, %rsi
jg 0x7c6bc
cmpq %r8, 0x20(%r14)
jg 0x7c6bc
addq %rdi, %rcx
addq %rdi, %rsi
leaq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movl $0xd, -0x28(%r15)
movq %rcx, -0x20(%r15)
movq %rsi, -0x18(%r15)
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 0x898ce
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x7c6ba
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x115c0
movb $0x1, %al
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x7c6e0
movq 0x28(%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::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
cmpq %rax, %rdx
je 0x7e13d
leaq 0x1(%rdx), %rsi
movq %rsi, 0xd0(%rdi)
movzbl (%rdx), %ecx
cmpl $0x5c, %ecx
je 0x7e11b
cmpl $0x27, %ecx
jne 0x7e12e
jmp 0x7e136
cmpq %rax, %rsi
je 0x7e12e
addq $0x2, %rdx
movq %rdx, 0xd0(%rdi)
movq %rdx, %rsi
movq %rsi, %rdx
cmpq %rax, %rsi
jne 0x7e101
cmpb $0x27, %cl
sete %al
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/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), %rdx
movq 0xd0(%rdi), %rcx
cmpq %rdx, %rcx
setne %al
testb %al, %sil
je 0x7e267
cmpb $0x49, (%rcx)
jne 0x7e267
incq %rcx
movq %rcx, 0xd0(%rdi)
xorl %eax, %eax
retq
movq %rcx, 0xd0(%rdi)
cmpq %rdx, %rcx
jae 0x7e27b
movb (%rcx), %sil
incq %rcx
jmp 0x7e27d
xorl %esi, %esi
leal -0x30(%rsi), %eax
cmpb $0xa, %al
jb 0x7e267
cmpb $0x2e, %sil
jne 0x7e2c4
movq %rcx, 0xd0(%rdi)
cmpq %rdx, %rcx
jae 0x7e29e
movb (%rcx), %sil
incq %rcx
jmp 0x7e2a0
xorl %esi, %esi
leal -0x30(%rsi), %eax
cmpb $0x9, %al
ja 0x7e2c4
movq %rcx, 0xd0(%rdi)
cmpq %rdx, %rcx
jae 0x7e2bb
movb (%rcx), %sil
incq %rcx
jmp 0x7e2bd
xorl %esi, %esi
leal -0x30(%rsi), %eax
cmpb $0xa, %al
jb 0x7e2a7
andb $-0x21, %sil
movb $0x1, %al
cmpb $0x45, %sil
jne 0x7e33d
movq %rcx, 0xd0(%rdi)
cmpq %rdx, %rcx
jae 0x7e2e4
movb (%rcx), %sil
incq %rcx
jmp 0x7e2e6
xorl %esi, %esi
cmpb $0x2d, %sil
je 0x7e2f6
movzbl %sil, %r8d
cmpl $0x2b, %r8d
jne 0x7e30c
movq %rcx, 0xd0(%rdi)
cmpq %rdx, %rcx
jae 0x7e30a
movb (%rcx), %sil
incq %rcx
jmp 0x7e30c
xorl %esi, %esi
addb $-0x30, %sil
cmpb $0x9, %sil
ja 0x7e33d
movq %rcx, 0xd0(%rdi)
cmpq %rdx, %rcx
jae 0x7e336
movb (%rcx), %sil
incq %rcx
addb $-0x30, %sil
cmpb $0xa, %sil
setb %sil
jmp 0x7e338
xorl %esi, %esi
testb %sil, %sil
jne 0x7e316
retq
// File: /workspace/github_cpp_makefile_star2_O1/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 $0x38, %rsp
movq %rdi, %rbx
pxor %xmm0, %xmm0
movdqu %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x60(%rsi), %r13
cmpq 0x80(%rsi), %r13
je 0x7f771
movq %rsi, %r14
movq 0x70(%rsi), %r12
movq 0x78(%rsi), %r15
leaq 0x20(%rsp), %rbp
movq %rbp, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movb $0x0, 0x20(%rsp)
movdqu 0x8(%r13), %xmm0
movq 0xc0(%r14), %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
psubq %xmm1, %xmm0
movdqa %xmm0, (%rsp)
leaq 0x18(%r13), %rsi
leaq 0x10(%rsp), %rdi
callq 0x11300
movq %rbx, %rdi
movq %rsp, %rsi
callq 0x89ca2
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7f74c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x115c0
addq $0x40, %r13
cmpq %r12, %r13
jne 0x7f764
movq 0x8(%r15), %r13
addq $0x8, %r15
leaq 0x200(%r13), %r12
cmpq 0x80(%r14), %r13
jne 0x7f6ec
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7f79d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x89ce6
movq %r14, %rdi
callq 0x11a70
nop
// File: /workspace/github_cpp_makefile_star2_O1/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 0x804e9
leaq 0x40877(%rip), %rcx     # 0xc0d2c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpq $0x0, (%rdi)
setne %al
jmp 0x804e0
movb (%rdi), %al
jmp 0x804e0
xorpd %xmm0, %xmm0
cmpneqsd (%rdi), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
jmp 0x804e0
xorl %eax, %eax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x4124b(%rip), %rsi     # 0xc1748
movl $0x21, %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 0x80548
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x80548
jmp 0x80545
movq %rax, %rbx
movq 0x85a51(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%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::Value::asInt() const
Value::Int Value::asInt() const {
  switch (type_) {
  case intValue:
    JSON_ASSERT_MESSAGE(isInt(), "LargestInt out of Int range");
    return Int(value_.int_);
  case uintValue:
    JSON_ASSERT_MESSAGE(isInt(), "LargestUInt out of Int range");
    return Int(value_.uint_);
  case realValue:
    JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt),
                        "double out of Int range");
    return Int(value_.real_);
  case nullValue:
    return 0;
  case booleanValue:
    return value_.bool_ ? 1 : 0;
  default:
    break;
  }
  JSON_FAIL_MESSAGE("Value is not convertible to Int.");
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
cmpq $0x5, %rax
ja 0x8068f
movq %rdi, %rbx
leaq 0x407b6(%rip), %rcx     # 0xc0d44
movslq (%rcx,%rax,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movq %rbx, %rdi
callq 0x82aa6
testb %al, %al
jne 0x805ee
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x40fa8(%rip), %rsi     # 0xc155f
movl $0x1b, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
movzbl (%rbx), %eax
jmp 0x80612
movq %rbx, %rdi
callq 0x82aa6
testb %al, %al
je 0x8061b
movl (%rbx), %eax
jmp 0x80612
movsd (%rbx), %xmm0
ucomisd 0x40a82(%rip), %xmm0    # 0xc1080
jb 0x80655
movsd 0x40a80(%rip), %xmm1    # 0xc1088
ucomisd %xmm0, %xmm1
jb 0x80655
cvttsd2si %xmm0, %eax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x40f4c(%rip), %rsi     # 0xc157b
movl $0x1c, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x40f2f(%rip), %rsi     # 0xc1598
movl $0x17, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x40f0d(%rip), %rsi     # 0xc15b0
movl $0x20, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
jmp 0x806d3
jmp 0x806fd
jmp 0x806d3
jmp 0x806fd
jmp 0x806d3
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80700
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x80700
jmp 0x806fd
jmp 0x806fd
jmp 0x806fd
jmp 0x806fd
jmp 0x806fd
movq %rax, %rbx
movq 0x85899(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%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::Value::getMemberNames[abi:cxx11]() const
Value::Members Value::getMemberNames() const {
  JSON_ASSERT_MESSAGE(
      type_ == nullValue || type_ == objectValue,
      "in Json::Value::getMemberNames(), value must be objectValue");
  if (type_ == nullValue)
    return Value::Members();
  Members members;
  members.reserve(value_.map_->size());
  ObjectValues::const_iterator it = value_.map_->begin();
  ObjectValues::const_iterator itEnd = value_.map_->end();
  for (; it != itEnd; ++it) {
    members.push_back(std::string((*it).first.data(),
                                  (*it).first.length()));
  }
  return members;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, %rbx
movzbl 0x8(%rsi), %eax
testl %eax, %eax
je 0x80d86
cmpl $0x7, %eax
jne 0x80da8
movq %rsi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq (%rsi), %rax
movq 0x28(%rax), %rsi
movq %rbx, %rdi
callq 0x89e9e
movq (%r14), %r12
movq 0x18(%r12), %r14
addq $0x8, %r12
cmpq %r12, %r14
je 0x80d94
leaq 0x38(%rsp), %r13
leaq 0x28(%rsp), %r15
movq 0x20(%r14), %rsi
movl 0x28(%r14), %edx
shrl $0x2, %edx
movq %r13, 0x28(%rsp)
addq %rsi, %rdx
movq %r15, %rdi
callq 0x1ab58
movq %rbx, %rdi
movq %r15, %rsi
callq 0x8c8ee
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x80d74
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %r14, %rdi
callq 0x116e0
movq %rax, %r14
cmpq %r12, %rax
jne 0x80d37
jmp 0x80d94
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq %rbx, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x11800
leaq 0x40c07(%rip), %rsi     # 0xc19c3
movl $0x3b, %edx
movq %rbx, %rdi
callq 0x116d0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
leaq 0x8(%rsp), %rdi
callq 0x81bd3
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x80e07
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x80e07
jmp 0x80e04
movq %rax, %r14
movq 0x85192(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
jmp 0x80e50
jmp 0x80e29
movq %rax, %r14
jmp 0x80e48
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x80e48
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x89d42
movq %r14, %rdi
callq 0x11a70
// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::parseFromStream(Json::CharReader::Factory const&, std::istream&, Json::Value*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
bool parseFromStream(
    CharReader::Factory const& fact, std::istream& sin,
    Value* root, std::string* errs)
{
  std::ostringstream ssin;
  ssin << sin.rdbuf();
  std::string doc = ssin.str();
  char const* begin = doc.data();
  char const* end = begin + doc.size();
  // Note that we do not actually need a null-terminator.
  CharReaderPtr const reader(fact.newCharReader());
  return reader->parse(begin, end, root, errs);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq 0x28(%rsp), %r13
movq %r13, %rdi
callq 0x11800
movq (%r12), %rax
movq -0x18(%rax), %rax
movq 0xe8(%r12,%rax), %rsi
movq %r13, %rdi
callq 0x11120
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11990
movq 0x8(%rsp), %r12
movq 0x10(%rsp), %r13
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
movq %rax, %r15
addq %r12, %r13
movq (%rax), %rax
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %r14, %rcx
movq %rbx, %r8
callq *0x10(%rax)
movl %eax, %ebx
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81698
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
movq 0x84901(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
movl %ebx, %eax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
jmp 0x816da
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x816fc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x816fc
jmp 0x816f9
movq %rax, %rbx
movq 0x8489d(%rip), %rsi     # 0x105fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%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::istream&, Json::Value&)
std::istream& operator>>(std::istream& sin, Value& root) {
  CharReaderBuilder b;
  std::string errs;
  bool ok = parseFromStream(b, sin, &root, &errs);
  if (!ok) {
    fprintf(stderr,
            "Error from reader: %s",
            errs.c_str());

    throwRuntimeError(errs);
  }
  return sin;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x7f998
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x8(%rsp), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x815f4
testb %al, %al
je 0x817aa
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x81786
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
leaq 0x83d73(%rip), %rax     # 0x105500
leaq 0x30(%rsp), %rdi
movq %rax, -0x8(%rdi)
callq 0x82500
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x84807(%rip), %rax     # 0x105fb8
movq (%rax), %rdi
leaq 0x8(%rsp), %rbx
movq (%rbx), %rdx
leaq 0x3fca8(%rip), %rsi     # 0xc146b
xorl %eax, %eax
callq 0x11890
movq %rbx, %rdi
callq 0x79c0a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x817ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
leaq 0x83d0d(%rip), %rax     # 0x105500
leaq 0x30(%rsp), %rdi
movq %rax, -0x8(%rdi)
callq 0x82500
movq %rbx, %rdi
callq 0x11a70
nop