LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::asUInt64() const
Value::UInt64 Value::asUInt64() const {
  switch (type_) {
  case intValue:
    JSON_ASSERT_MESSAGE(isUInt64(), "LargestInt out of UInt64 range");
    return UInt64(value_.int_);
  case uintValue:
    return UInt64(value_.uint_);
  case realValue:
    JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt64),
                        "double out of UInt64 range");
    return UInt64(value_.real_);
  case nullValue:
    return 0;
  case booleanValue:
    return value_.bool_ ? 1 : 0;
  default:
    break;
  }
  JSON_FAIL_MESSAGE("Value is not convertible to UInt64.");
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
cmpq $0x5, %rax
ja 0x81221
movq %rdi, %rbx
leaq 0x3dcae(%rip), %rcx     # 0xbedf8
movslq (%rcx,%rax,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movq %rbx, %rdi
callq 0x812b2
testb %al, %al
je 0x811ad
movq (%rbx), %rax
jmp 0x811a4
movzbl (%rbx), %eax
jmp 0x811a4
movsd (%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x811e7
movsd 0x3df31(%rip), %xmm1    # 0xbf0b0
ucomisd %xmm0, %xmm1
jb 0x811e7
cvttsd2si %xmm0, %rcx
movq %rcx, %rdx
sarq $0x3f, %rdx
subsd 0x3d667(%rip), %xmm0    # 0xbe800
cvttsd2si %xmm0, %rax
andq %rdx, %rax
orq %rcx, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3e4f2(%rip), %rsi     # 0xbf6b3
movl $0x1e, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3e4d7(%rip), %rsi     # 0xbf6d2
movl $0x1a, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3e4b8(%rip), %rsi     # 0xbf6ed
movl $0x23, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
jmp 0x81263
jmp 0x81289
jmp 0x81263
jmp 0x81289
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8128c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x8128c
jmp 0x81289
jmp 0x81289
jmp 0x81289
movq %rax, %rbx
movq 0x82d0d(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
movq %rbx, %rdi
callq 0x11a60
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::isUInt64() const
bool Value::isUInt64() const {
#if defined(JSON_HAS_INT64)
  switch (type_) {
  case intValue:
    return value_.int_ >= 0;
  case uintValue:
    return true;
  case realValue:
    // Note that maxUInt64 (= 2^64 - 1) is not exactly representable as a
    // double, so double(maxUInt64) will be rounded up to 2^64. Therefore we
    // require the value to be strictly less than the limit.
    return value_.real_ >= 0 && value_.real_ < maxUInt64AsDouble &&
           IsIntegral(value_.real_);
  default:
    break;
  }
#endif // JSON_HAS_INT64
  return false;
}

// Assembly:
movzbl 0x8(%rdi), %eax
cmpl $0x3, %eax
je 0x812d0
cmpl $0x2, %eax
je 0x812cd
cmpl $0x1, %eax
jne 0x8130d
cmpq $0x0, (%rdi)
setns %al
retq
movb $0x1, %al
retq
movsd (%rdi), %xmm0
xorl %eax, %eax
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x812cc
movsd 0x3ddc8(%rip), %xmm1    # 0xbf0b0
ucomisd %xmm0, %xmm1
jbe 0x812cc
pushq %rax
movq %rsp, %rdi
callq 0x11a70
xorpd %xmm1, %xmm1
cmpeqsd %xmm0, %xmm1
movq %xmm1, %rax
andl $0x1, %eax
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::asDouble() const
double Value::asDouble() const {
  switch (type_) {
  case intValue:
    return static_cast<double>(value_.int_);
  case uintValue:
#if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
    return static_cast<double>(value_.uint_);
#else  // if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
    return integerToDouble(value_.uint_);
#endif // if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
  case realValue:
    return value_.real_;
  case nullValue:
    return 0.0;
  case booleanValue:
    return value_.bool_ ? 1.0 : 0.0;
  default:
    break;
  }
  JSON_FAIL_MESSAGE("Value is not convertible to double.");
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
cmpq $0x5, %rax
ja 0x81388
leaq 0x3dadb(%rip), %rcx     # 0xbee10
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cvtsi2sdq (%rdi), %xmm0
jmp 0x8137f
cmpb $0x0, (%rdi)
jne 0x81377
xorpd %xmm0, %xmm0
jmp 0x8137f
movsd (%rdi), %xmm1
unpcklps 0x3dd15(%rip), %xmm1    # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x3dd1d(%rip), %xmm1    # 0xbf080
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
jmp 0x8137f
movsd (%rdi), %xmm0
jmp 0x8137f
movsd 0x39ca9(%rip), %xmm0    # 0xbb028
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3e375(%rip), %rsi     # 0xbf711
movl $0x23, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x813e7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x813e7
jmp 0x813e4
movq %rax, %rbx
movq 0x82bb2(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
movq %rbx, %rdi
callq 0x11a60
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::asFloat() const
float Value::asFloat() const {
  switch (type_) {
  case intValue:
    return static_cast<float>(value_.int_);
  case uintValue:
#if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
    return static_cast<float>(value_.uint_);
#else  // if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
    // This can fail (silently?) if the value is bigger than MAX_FLOAT.
    return static_cast<float>(integerToDouble(value_.uint_));
#endif // if !defined(JSON_USE_INT64_DOUBLE_CONVERSION)
  case realValue:
    return static_cast<float>(value_.real_);
  case nullValue:
    return 0.0;
  case booleanValue:
    return value_.bool_ ? 1.0f : 0.0f;
  default:
    break;
  }
  JSON_FAIL_MESSAGE("Value is not convertible to float.");
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
cmpq $0x5, %rax
ja 0x8147e
leaq 0x3da01(%rip), %rcx     # 0xbee28
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cvtsi2ssq (%rdi), %xmm0
jmp 0x81475
cmpb $0x0, (%rdi)
jne 0x81456
xorps %xmm0, %xmm0
jmp 0x81475
movq (%rdi), %rax
testq %rax, %rax
js 0x81460
cvtsi2ss %rax, %xmm0
jmp 0x81475
cvtsd2ss (%rdi), %xmm0
jmp 0x81475
movss 0x3ac46(%rip), %xmm0    # 0xbc0a4
jmp 0x81475
movq %rax, %rcx
shrq %rcx
andl $0x1, %eax
orq %rcx, %rax
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm0
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3e2a3(%rip), %rsi     # 0xbf735
movl $0x22, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x814dd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x814dd
jmp 0x814da
movq %rax, %rbx
movq 0x82abc(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
movq %rbx, %rdi
callq 0x11a60
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::clear()
void Value::clear() {
  JSON_ASSERT_MESSAGE(type_ == nullValue || type_ == arrayValue ||
                          type_ == objectValue,
                      "in Json::Value::clear(): requires complex value");
  start_ = 0;
  limit_ = 0;
  switch (type_) {
  case arrayValue:
  case objectValue:
    value_.map_->clear();
    break;
  default:
    break;
  }
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzwl 0x8(%rdi), %eax
movzbl %al, %ecx
leal -0x6(%rcx), %edx
cmpl $0x2, %edx
jb 0x8175d
testl %ecx, %ecx
jne 0x81788
andl $0xfe, %eax
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdi)
cmpw $0x6, %ax
jne 0x8177f
movq (%rdi), %rdi
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
jmp 0x8a0d2
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3dfde(%rip), %rsi     # 0xbf77a
movl $0x2f, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x817e7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x817e7
jmp 0x817e4
movq %rax, %rbx
movq 0x827b2(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
movq %rbx, %rdi
callq 0x11a60
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::resize(unsigned int)
void Value::resize(ArrayIndex newSize) {
  JSON_ASSERT_MESSAGE(type_ == nullValue || type_ == arrayValue,
                      "in Json::Value::resize(): requires arrayValue");
  if (type_ == nullValue)
    *this = Value(arrayValue);
  ArrayIndex oldSize = size();
  if (newSize == 0)
    clear();
  else if (newSize > oldSize)
    (*this)[newSize - 1];
  else {
    for (ArrayIndex index = newSize; index < oldSize; ++index) {
      value_.map_->erase(index);
    }
    assert(size() == newSize);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
movl %esi, %ebx
movq %rdi, %r14
movzwl 0x8(%rdi), %ebp
testb %bpl, %bpl
je 0x8186e
movzbl %bpl, %eax
cmpl $0x6, %eax
je 0x818dd
leaq 0x20(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3df5e(%rip), %rsi     # 0xbf7aa
movl $0x2d, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x28(%rsp), %rsi
movq %rsp, %rdi
callq 0x11980
movq %rsp, %rdi
callq 0x7fe09
movl $0x30, %edi
callq 0x115b0
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
xorl %ecx, %ecx
movq %rcx, 0x28(%rax)
movq (%r14), %rdx
movq %rax, (%r14)
leaq 0x198(%rsp), %rdi
movq %rdx, (%rdi)
movl %ebp, %eax
andl $0xfffffe00, %eax       # imm = 0xFFFFFE00
orl $0x6, %eax
movw %ax, 0x8(%r14)
andl $0x1ff, %ebp            # imm = 0x1FF
movw %bp, 0x8(%rdi)
movq 0x10(%r14), %rax
movq %rcx, 0x10(%r14)
movq %rax, 0x10(%rdi)
movups 0x18(%r14), %xmm1
movups %xmm0, 0x18(%r14)
movups %xmm1, 0x18(%rdi)
callq 0x80736
movq %r14, %rdi
callq 0x7f26c
testl %ebx, %ebx
je 0x8190a
movl %eax, %ebp
cmpl %ebx, %eax
jae 0x81921
decl %ebx
movq %r14, %rdi
movl %ebx, %esi
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x819ea
movq %r14, %rdi
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x81742
jbe 0x8196f
leaq 0x20(%rsp), %r15
movq (%r14), %r12
movq $0x0, 0x20(%rsp)
movl %ebx, 0x28(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0x8a100
movq %r12, %rdi
movq %rax, %rsi
callq 0x8a1c2
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x81969
movl 0x28(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x81969
callq 0x11710
incl %ebx
cmpl %ebx, %ebp
jne 0x81928
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x819a4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x819a4
jmp 0x819a1
movq %rax, %rbx
movq 0x825f5(%rip), %rsi     # 0x103fa0
leaq 0x20(%rsp), %rdi
callq 0x112f0
leaq 0x90(%rsp), %rdi
callq 0x111f0
jmp 0x819e2
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x819e2
movl 0x28(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x819e2
callq 0x11710
movq %rbx, %rdi
callq 0x11a60
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::operator[](unsigned int) const
const Value& Value::operator[](ArrayIndex index) const {
  JSON_ASSERT_MESSAGE(
      type_ == nullValue || type_ == arrayValue,
      "in Json::Value::operator[](ArrayIndex)const: requires arrayValue");
  if (type_ == nullValue)
    return nullRef;
  CZString key(index);
  ObjectValues::const_iterator it = value_.map_->find(key);
  if (it == value_.map_->end())
    return nullRef;
  return (*it).second;
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
testl %eax, %eax
je 0x81c84
cmpl $0x6, %eax
jne 0x81c97
movq %rdi, %rbx
leaq 0x28(%rsp), %rax
movq $0x0, (%rax)
movl %esi, 0x8(%rax)
movq (%rdi), %rdi
movq %rax, %rsi
callq 0x8a540
movq (%rbx), %rcx
addq $0x8, %rcx
leaq 0x30(%rax), %rdx
cmpq %rcx, %rax
leaq 0x3d2ed(%rip), %rbx     # 0xbef50
cmovneq %rdx, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x81c8b
movl 0x30(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x81c8b
callq 0x11710
jmp 0x81c8b
leaq 0x3d2c5(%rip), %rbx     # 0xbef50
movq %rbx, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3dba9(%rip), %rsi     # 0xbf854
movl $0x40, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81cf6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x81cf6
jmp 0x81cf3
movq %rax, %rbx
movq 0x822a3(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
jmp 0x81d34
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x81d34
movl 0x30(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x81d34
callq 0x11710
movq %rbx, %rdi
callq 0x11a60
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::operator[](int) const
const Value& Value::operator[](int index) const {
  JSON_ASSERT_MESSAGE(
      index >= 0,
      "in Json::Value::operator[](int index) const: index cannot be negative");
  return (*this)[ArrayIndex(index)];
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
testl %esi, %esi
js 0x81d55
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
jmp 0x81c1c
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3db2c(%rip), %rsi     # 0xbf895
movl $0x45, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x81db4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x81db4
jmp 0x81db1
movq %rax, %rbx
movq 0x821e5(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
movq %rbx, %rdi
callq 0x11a60
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::find(char const*, char const*) const
Value const* Value::find(char const* key, char const* cend) const
{
  JSON_ASSERT_MESSAGE(
      type_ == nullValue || type_ == objectValue,
      "in Json::Value::find(key, end, found): requires objectValue or nullValue");
  if (type_ == nullValue) return NULL;
  CZString actualKey(key, static_cast<unsigned>(cend-key), CZString::noDuplication);
  ObjectValues::const_iterator it = value_.map_->find(actualKey);
  if (it == value_.map_->end()) return NULL;
  return &(*it).second;
}

// Assembly:
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movzbl 0x8(%rdi), %eax
testl %eax, %eax
je 0x822fa
cmpl $0x7, %eax
jne 0x82308
movq %rdi, %rbx
subl %esi, %edx
leaq 0x28(%rsp), %rax
movq %rsi, (%rax)
shll $0x2, %edx
movl %edx, 0x8(%rax)
movq (%rdi), %rdi
movq %rax, %rsi
callq 0x8a540
movq (%rbx), %rcx
addq $0x8, %rcx
leaq 0x30(%rax), %rdx
xorl %ebx, %ebx
cmpq %rcx, %rax
cmovneq %rdx, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x822fc
movl 0x30(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x822fc
callq 0x11710
jmp 0x822fc
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3d639(%rip), %rsi     # 0xbf955
movl $0x48, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82367
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x82367
jmp 0x82364
movq %rax, %rbx
movq 0x81c32(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
jmp 0x823a5
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x823a5
movl 0x30(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x823a5
callq 0x11710
movq %rbx, %rdi
callq 0x11a60
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::removeMember(char const*, char const*, Json::Value*)
bool Value::removeMember(const char* key, const char* cend, Value* removed)
{
  if (type_ != objectValue) {
    return false;
  }
  CZString actualKey(key, static_cast<unsigned>(cend-key), CZString::noDuplication);
  ObjectValues::iterator it = value_.map_->find(actualKey);
  if (it == value_.map_->end())
    return false;
  *removed = it->second;
  value_.map_->erase(it);
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
cmpb $0x7, 0x8(%rdi)
jne 0x825fb
movq %rcx, %r15
movq %rdi, %r14
subl %esi, %edx
movq %rsp, %rax
movq %rsi, (%rax)
shll $0x2, %edx
movl %edx, 0x8(%rax)
movq (%rdi), %rdi
movq %rax, %rsi
callq 0x8a540
movq %rax, %r12
movq (%r14), %rax
addq $0x8, %rax
cmpq %rax, %r12
setne %bl
je 0x825df
leaq 0x30(%r12), %rsi
leaq 0x10(%rsp), %rdi
callq 0x8056c
movzwl 0x8(%r15), %eax
leaq 0x10(%rsp), %rdi
movzwl 0x8(%rdi), %ecx
movl $0xfe00, %edx           # imm = 0xFE00
movl %eax, %esi
andl %edx, %esi
andl %ecx, %edx
movq (%r15), %r8
movq (%rdi), %r9
movq %r9, (%r15)
movq %r8, (%rdi)
movl $0x1ff, %r8d            # imm = 0x1FF
andl %r8d, %ecx
orl %esi, %ecx
movw %cx, 0x8(%r15)
andl %r8d, %eax
orl %edx, %eax
movw %ax, 0x8(%rdi)
movq 0x10(%r15), %rax
movq 0x10(%rdi), %rcx
movq %rcx, 0x10(%r15)
movq %rax, 0x10(%rdi)
movups 0x18(%rdi), %xmm0
movups 0x18(%r15), %xmm1
movups %xmm0, 0x18(%r15)
movups %xmm1, 0x18(%rdi)
callq 0x80736
movq (%r14), %rdi
movq %r12, %rsi
callq 0x8a228
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x825fd
movl 0x8(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x825fd
callq 0x11710
jmp 0x825fd
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x82628
movl 0x8(%rsp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x82628
callq 0x11710
movq %rbx, %rdi
callq 0x11a60
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::removeMember(char const*)
Value Value::removeMember(const char* key)
{
  JSON_ASSERT_MESSAGE(type_ == nullValue || type_ == objectValue,
                      "in Json::Value::removeMember(): requires objectValue");
  if (type_ == nullValue)
    return nullRef;

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

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, %r14
movzbl 0x8(%rsi), %eax
testl %eax, %eax
je 0x826ca
cmpl $0x7, %eax
jne 0x826e9
movq %rdx, %rbx
movq %rsi, %r15
andw $0xfe00, 0x8(%r14)      # imm = 0xFE00
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
xorl %eax, %eax
movq %rax, 0x20(%r14)
movq %rax, (%r14)
movq %rdx, %rdi
callq 0x11260
leaq (%rax,%rbx), %rdx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rcx
callq 0x8251a
jmp 0x826d9
leaq 0x3c87f(%rip), %rsi     # 0xbef50
movq %r14, %rdi
callq 0x8056c
movq %r14, %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbx
popq %r14
popq %r15
retq
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x117f0
leaq 0x3d2a1(%rip), %rsi     # 0xbf99e
movl $0x34, %edx
movq %rbx, %rdi
callq 0x116c0
leaq 0x30(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x11980
leaq 0x8(%rsp), %rdi
callq 0x7fe09
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x82748
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x82748
jmp 0x82745
movq %rax, %rbx
movq 0x81851(%rip), %rsi     # 0x103fa0
leaq 0x28(%rsp), %rdi
callq 0x112f0
leaq 0x98(%rsp), %rdi
callq 0x111f0
jmp 0x82773
movq %rax, %rbx
movq %r14, %rdi
callq 0x80736
movq %rbx, %rdi
callq 0x11a60
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Value::setComment(char const*, unsigned long, Json::CommentPlacement)
void Value::setComment(const char* comment, size_t len, CommentPlacement placement) {
  if (!comments_)
    comments_ = new CommentInfo[numberOfCommentPlacement];
  if ((len > 0) && (comment[len-1] == '\n')) {
    // Always discard trailing newline, to aid indentation.
    len -= 1;
  }
  comments_[placement].setComment(comment, len);
}

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

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsi), %r15
movq 0x28(%rsi), %rdx
leaq 0x39a25(%rip), %r13     # 0xbc634
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x11910
movb $0x0, 0x68(%r14)
leaq 0x40(%r14), %rdi
movq 0x48(%r14), %rdx
xorl %esi, %esi
movq %r13, %rcx
xorl %r8d, %r8d
callq 0x11910
movq %r14, %rdi
movq %r12, %rsi
callq 0x840de
movq %r14, %rdi
movq %r12, %rsi
callq 0x841f0
movq %r14, %rdi
movq %r12, %rsi
callq 0x84674
leaq 0x3f1a1(%rip), %rsi     # 0xc1e02
movq %r15, %rdi
callq 0x11b50
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x3ffc8
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Path::Path(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&, Json::PathArgument const&)
Path::Path(const std::string& path,
           const PathArgument& a1,
           const PathArgument& a2,
           const PathArgument& a3,
           const PathArgument& a4,
           const PathArgument& a5) {
  InArgs in;
  in.push_back(&a1);
  in.push_back(&a2);
  in.push_back(&a3);
  in.push_back(&a4);
  in.push_back(&a5);
  makePath(path, in);
}

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

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq (%rsi), %r13
cmpq 0x8(%rsi), %r13
je 0x83258
movq %rsi, %r12
movq %rcx, (%rsp)
leaq 0x3bd64(%rip), %r15     # 0xbef50
movl 0x24(%r13), %eax
cmpl $0x2, %eax
je 0x83220
cmpl $0x1, %eax
jne 0x83247
cmpb $0x6, 0x8(%r14)
jne 0x83254
movl 0x20(%r13), %ebp
movq %r14, %rdi
callq 0x7f26c
cmpl %ebp, %eax
jbe 0x83254
movq %r14, %rdi
movl %ebp, %esi
callq 0x81c1c
movq %rax, %r14
jmp 0x83247
cmpb $0x7, 0x8(%r14)
jne 0x83254
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x82296
testq %rax, %rax
je 0x83254
movq %rax, %r14
cmpq %r15, %rax
je 0x83254
addq $0x28, %r13
cmpq 0x8(%r12), %r13
jne 0x831ec
jmp 0x83258
movq (%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8056c
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Path::make(Json::Value&) const
Value& Path::make(Value& root) const {
  Value* node = &root;
  for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) {
    const PathArgument& arg = *it;
    if (arg.kind_ == PathArgument::kindIndex) {
      if (!node->isArray()) {
        // Error: node is not an array at position ...
      }
      node = &((*node)[arg.index_]);
    } else if (arg.kind_ == PathArgument::kindKey) {
      if (!node->isObject()) {
        // Error: node is not an object at position...
      }
      node = &((*node)[arg.key_]);
    }
  }
  return *node;
}

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

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

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

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %edx, %ecx
movl %esi, %ebp
movq %rdi, %rbx
movq %xmm0, 0x8(%rsp)
movq %xmm0, %r14
leaq 0x3c704(%rip), %rdx     # 0xbfa0f
leaq 0x30(%rsp), %rdi
movl $0x10, %esi
xorl %eax, %eax
callq 0x11990
btrq $0x3f, %r14
movabsq $0x7fefffffffffffff, %rax # imm = 0x7FEFFFFFFFFFFFFF
cmpq %rax, %r14
jle 0x8335a
movsd 0x8(%rsp), %xmm1
ucomisd %xmm1, %xmm1
jp 0x833ed
pxor %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jbe 0x83378
leaq 0x3c6ce(%rip), %rax     # 0xbfa1f
leaq 0x3c6d1(%rip), %rdx     # 0xbfa29
jmp 0x83386
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movl $0x20, %esi
movsd 0x8(%rsp), %xmm0
movb $0x1, %al
callq 0x11990
jmp 0x8339e
leaq 0x3c6a1(%rip), %rax     # 0xbfa20
leaq 0x3c6a4(%rip), %rdx     # 0xbfa2a
testb %bpl, %bpl
cmovneq %rax, %rdx
leaq 0x10(%rsp), %rdi
movl $0x20, %esi
xorl %eax, %eax
callq 0x11990
testl %eax, %eax
jle 0x833ba
cltq
xorl %ecx, %ecx
cmpb $0x2c, 0x10(%rsp,%rcx)
jne 0x833b2
movb $0x2e, 0x10(%rsp,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0x833a6
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x11260
leaq (%rsp,%rax), %rdx
addq $0x10, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1a88c
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x3c622(%rip), %rax     # 0xbfa16
leaq 0x3c61f(%rip), %rdx     # 0xbfa1a
jmp 0x83386
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::FastWriter::write[abi:cxx11](Json::Value const&)
std::string FastWriter::write(const Value& root) {
  document_ = "";
  writeValue(root);
  if (!omitEndingLineFeed_)
    document_ += "\n";
  return document_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsi), %r15
movq 0x10(%rsi), %rdx
leaq 0x38dba(%rip), %rcx     # 0xbc634
movq %r15, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x11910
movq %r14, %rdi
movq %r12, %rsi
callq 0x838d2
cmpb $0x0, 0x2a(%r14)
jne 0x838a8
leaq 0x3e562(%rip), %rsi     # 0xc1e02
movq %r15, %rdi
callq 0x11b50
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x3ffc8
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledWriter::pushValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void StyledWriter::pushValue(const std::string& value) {
  if (addChildValues_)
    childValues_.push_back(value);
  else
    document_ += value;
}

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x7f26c
movl %eax, %r15d
leal (%r15,%r15,2), %eax
cmpl 0x60(%rbx), %eax
setae %bpl
leaq 0x8(%rbx), %r13
movq 0x8(%rbx), %rsi
movq %r13, %rdi
callq 0x8af82
testl %r15d, %r15d
sete %al
orb %bpl, %al
testb $0x1, %al
jne 0x84c2c
movl $0x1, %r12d
leal -0x1(%r12), %esi
movq %r14, %rdi
callq 0x81c1c
movzwl 0x8(%rax), %ecx
andl $0xfe, %ecx
cmpw $0x6, %cx
jne 0x84c1d
movq %rax, %rdi
callq 0x7f26c
testl %eax, %eax
setne %bpl
jmp 0x84c1f
xorl %ebp, %ebp
cmpl %r15d, %r12d
jae 0x84c2c
incl %r12d
testb %bpl, %bpl
je 0x84bf0
movb $0x1, %al
testb %bpl, %bpl
jne 0x84cd7
movl %r15d, %r12d
movq %r13, %rdi
movq %r12, %rsi
callq 0x87cb2
movb $0x1, 0x68(%rbx)
leal 0x2(,%r15,2), %ebp
testl %r15d, %r15d
je 0x84cc1
movl $0x8, %r13d
xorl %r15d, %r15d
movl $0x0, 0x4(%rsp)
movq %r14, %rdi
movl %r15d, %esi
callq 0x81c1c
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x84c95
cmpq $0x0, (%rax)
jne 0x84c8f
cmpq $0x0, 0x8(%rax)
jne 0x84c8f
cmpq $0x0, 0x10(%rax)
je 0x84c95
movb $0x1, %al
movl %eax, 0x4(%rsp)
movq %r14, %rdi
movl %r15d, %esi
callq 0x81c1c
movq %rbx, %rdi
movq %rax, %rsi
callq 0x841f0
movq 0x8(%rbx), %rax
addl (%rax,%r13), %ebp
incq %r15
addq $0x20, %r13
cmpq %r15, %r12
jne 0x84c67
jmp 0x84cc9
movl $0x0, 0x4(%rsp)
movb $0x0, 0x68(%rbx)
cmpl 0x60(%rbx), %ebp
setae %al
orb 0x4(%rsp), %al
andb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledWriter::writeIndent()
void StyledWriter::writeIndent() {
  if (!document_.empty()) {
    char last = document_[document_.length() - 1];
    if (last == ' ') // already indented
      return;
    if (last != '\n') // Comments may add new-line
      document_ += '\n';
  }
  document_ += indentString_;
}

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

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, 0x18(%rdi)
andb $-0x2, 0x68(%rdi)
movq %rdx, %r14
addq $0x20, %rdi
movq 0x28(%rbx), %rdx
leaq 0x37837(%rip), %rcx     # 0xbc634
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x11910
orb $0x2, 0x68(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x84e68
movb 0x68(%rbx), %al
testb $0x2, %al
jne 0x84e28
movq %rbx, %rdi
callq 0x84f78
movb 0x68(%rbx), %al
orb $0x2, %al
movb %al, 0x68(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x84fac
movq %rbx, %rdi
movq %r14, %rsi
callq 0x85454
movq 0x18(%rbx), %rdi
leaq 0x3cfb4(%rip), %rsi     # 0xc1e02
movl $0x1, %edx
callq 0x116c0
movq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::StyledStreamWriter::writeIndent()
void StyledStreamWriter::writeIndent() {
  // blep intended this to look at the so-far-written string
  // to determine whether we are already indented, but
  // with a stream we cannot do that. So we rely on some saved state.
  // The caller checks indented_.
  *document_ << '\n' << indentString_;
}

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

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

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

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, 0x8(%rdi)
movb 0xd8(%rdi), %al
andb $-0x4, %al
orb $0x2, %al
movb %al, 0xd8(%rdi)
addq $0x28, %rdi
movq 0x30(%rbx), %rdx
leaq 0x36a69(%rip), %rcx     # 0xbc634
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x11910
movq %rbx, %rdi
movq %r14, %rsi
callq 0x85c40
movb 0xd8(%rbx), %al
testb $0x2, %al
jne 0x85bf8
movq %rbx, %rdi
callq 0x85d60
movb 0xd8(%rbx), %al
orb $0x2, %al
movb %al, 0xd8(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x85d9c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x86234
movq 0x8(%rbx), %rdi
movq 0xb8(%rbx), %rsi
movq 0xc0(%rbx), %rdx
callq 0x116c0
movq $0x0, 0x8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::BuiltStyledStreamWriter::writeCommentBeforeValue(Json::Value const&)
void BuiltStyledStreamWriter::writeCommentBeforeValue(Value const& root) {
  if (cs_ == CommentStyle::None) return;
  if (!root.hasComment(commentBefore))
    return;

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

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x0, 0x70(%rdi)
je 0x85d2e
movq %rsi, %r14
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x85d2e
cmpq $0x0, (%rax)
je 0x85d2e
movq %rdi, %rbx
testb $0x2, 0xd8(%rdi)
jne 0x85c83
movq %rbx, %rdi
callq 0x85d60
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x82b22
movq (%r15), %r12
cmpq $0x0, 0x8(%r15)
je 0x85d0d
leaq 0x7(%rsp), %r14
movq 0x8(%rbx), %rdi
movb (%r12), %al
movb %al, 0x7(%rsp)
movl $0x1, %edx
movq %r14, %rsi
callq 0x116c0
cmpb $0xa, (%r12)
setne %cl
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
leaq (%rdi,%rax), %rdx
cmpq %rdx, %r12
sete %dl
orb %cl, %dl
jne 0x85d00
cmpb $0x2f, 0x1(%r12)
jne 0x85d00
movq 0x8(%rbx), %rdi
movq 0x28(%rbx), %rsi
movq 0x30(%rbx), %rdx
callq 0x116c0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
incq %r12
addq %rdi, %rax
cmpq %rax, %r12
jne 0x85ca4
jmp 0x85d10
movq %r12, %rdi
andb $-0x3, 0xd8(%rbx)
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x85d2e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x85d58
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a60
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine(Json::Value const&)
void BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine(Value const& root) {
  if (cs_ == CommentStyle::None) return;
  if (root.hasComment(commentAfterOnSameLine))
    *sout_ << " " + root.getComment(commentAfterOnSameLine);

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

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
cmpl $0x0, 0x70(%rdi)
je 0x86379
movq %rsi, %rbx
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x86379
movq %rdi, %r14
cmpq $0x0, 0x8(%rax)
je 0x86327
movq 0x8(%r14), %r15
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x82b22
leaq 0x363dd(%rip), %rcx     # 0xbc664
movl $0x1, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x116b0
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x862c1
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x862cc
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq %r12, %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r15, %rdi
callq 0x116c0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x86303
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8631e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x115c0
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x86379
cmpq $0x0, 0x10(%rax)
je 0x86379
movq %r14, %rdi
callq 0x85d60
movq 0x8(%r14), %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movl $0x2, %edx
callq 0x82b22
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0x116c0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x86379
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x863d7
movq 0x18(%rsp), %rsi
jmp 0x863cf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x863bc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x115c0
jmp 0x863bc
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x863d7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x115c0
movq %rbx, %rdi
callq 0x11a60
nop
// File: /workspace/github_cpp_makefile_star2_O3/tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::BuiltStyledStreamWriter::pushValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void BuiltStyledStreamWriter::pushValue(std::string const& value) {
  if (addChildValues_)
    childValues_.push_back(value);
  else
    *sout_ << value;
}

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

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp            # imm = 0x180
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x117f0
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
movq %rax, %r14
movq (%rax), %rax
leaq 0x8(%rsp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq *0x10(%rax)
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x11980
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x7ca21(%rip), %rsi     # 0x103fa0
leaq 0x8(%rsp), %rdi
callq 0x112f0
leaq 0x78(%rsp), %rdi
callq 0x111f0
movq %rbx, %rax
addq $0x180, %rsp            # imm = 0x180
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x875b4
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x7c9e5(%rip), %rsi     # 0x103fa0
leaq 0x8(%rsp), %rdi
callq 0x112f0
leaq 0x78(%rsp), %rdi
callq 0x111f0
movq %rbx, %rdi
callq 0x11a60