LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::VideoMemoryState::MergeFrom(google::protobuf::Message const&)
void VideoMemoryState::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:Rnes.VideoMemoryState)
  GOOGLE_DCHECK_NE(&from, this);
  const VideoMemoryState* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VideoMemoryState>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:Rnes.VideoMemoryState)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:Rnes.VideoMemoryState)
    MergeFrom(*source);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpq %rdi, %rsi
jne 0x2e1c9
leaq 0x7b02(%rip), %rdx      # 0x35c91
leaq -0x58(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x174d, %ecx           # imm = 0x174D
callq 0xa450
leaq 0x7af4(%rip), %rsi      # 0x35ca0
movq %r15, %rdi
callq 0xa980
leaq -0x19(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x58(%rbp), %rdi
callq 0xa730
leaq 0x18790(%rip), %rax     # 0x46960
cmpq %rax, (%rbx)
je 0x2e1e2
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa580
jmp 0x2e1ed
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2e20e
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2e1fa
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::VideoMemoryState::MergeFrom(Rnes::VideoMemoryState const&)
void VideoMemoryState::MergeFrom(const VideoMemoryState& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Rnes.VideoMemoryState)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    if (cached_has_bits & 0x00000001u) {
      _internal_set_patterntablememory(from._internal_patterntablememory());
    }
    if (cached_has_bits & 0x00000002u) {
      _internal_set_nametablememory(from._internal_nametablememory());
    }
    if (cached_has_bits & 0x00000004u) {
      _internal_set_palettememory(from._internal_palettememory());
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq %rdi, %rsi
jne 0x2e267
leaq 0x7a64(%rip), %rdx      # 0x35c91
leaq -0x58(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x175c, %ecx           # imm = 0x175C
callq 0xa450
leaq 0x7a56(%rip), %rsi      # 0x35ca0
movq %r15, %rdi
callq 0xa980
leaq -0x19(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x58(%rbp), %rdi
callq 0xa730
movq 0x8(%r14), %rsi
testb $0x1, %sil
je 0x2e282
leaq 0x8(%rbx), %rdi
andq $-0x2, %rsi
addq $0x8, %rsi
callq 0x31dc8
movl 0x10(%r14), %r15d
testb $0x7, %r15b
je 0x2e342
testb $0x1, %r15b
je 0x2e2ce
movq 0x18(%r14), %rdx
orl $0x1, 0x10(%rbx)
leaq 0x18(%rbx), %rdi
movq 0x8(%rbx), %rsi
testb $0x1, %sil
jne 0x2e34d
movq (%rdi), %rax
cmpq 0x18d06(%rip), %rax     # 0x46fc0
je 0x2e2c9
movq %rax, %rdi
movq %rdx, %rsi
callq 0xa900
jmp 0x2e2ce
callq 0x22bf0
testb $0x2, %r15b
je 0x2e308
movq 0x20(%r14), %rdx
orl $0x2, 0x10(%rbx)
leaq 0x20(%rbx), %rdi
movq 0x8(%rbx), %rsi
testb $0x1, %sil
jne 0x2e359
movq (%rdi), %rax
cmpq 0x18ccc(%rip), %rax     # 0x46fc0
je 0x2e303
movq %rax, %rdi
movq %rdx, %rsi
callq 0xa900
jmp 0x2e308
callq 0x22bf0
testb $0x4, %r15b
je 0x2e342
movq 0x28(%r14), %rdx
orl $0x4, 0x10(%rbx)
movq 0x8(%rbx), %rsi
addq $0x28, %rbx
testb $0x1, %sil
jne 0x2e362
movq (%rbx), %rdi
cmpq 0x18c92(%rip), %rdi     # 0x46fc0
je 0x2e33a
movq %rdx, %rsi
callq 0xa900
jmp 0x2e342
movq %rbx, %rdi
callq 0x22bf0
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
andq $-0x2, %rsi
movq (%rsi), %rsi
jmp 0x2e2b0
andq $-0x2, %rsi
movq (%rsi), %rsi
jmp 0x2e2ea
andq $-0x2, %rsi
movq (%rsi), %rsi
jmp 0x2e324
jmp 0x2e36d
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::DmaState::DmaState(Rnes::DmaState const&)
DmaState::DmaState(const DmaState& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::memcpy(&spritedmamode_, &from.spritedmamode_,
    static_cast<size_t>(reinterpret_cast<char*>(&spritedmasourceaddr_) -
    reinterpret_cast<char*>(&spritedmamode_)) + sizeof(spritedmasourceaddr_));
  // @@protoc_insertion_point(copy_constructor:Rnes.DmaState)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq $0x0, 0x8(%rdi)
leaq 0x18386(%rip), %rax     # 0x46a10
movq %rax, (%rdi)
movl 0x10(%rsi), %eax
movl %eax, 0x10(%rdi)
movl $0x0, 0x14(%rdi)
movq 0x8(%rsi), %rsi
testb $0x1, %sil
je 0x2e6b5
leaq 0x8(%rbx), %rdi
andq $-0x2, %rsi
addq $0x8, %rsi
callq 0x31dc8
movl 0x20(%r14), %eax
movl %eax, 0x20(%rbx)
movq 0x18(%r14), %rax
movq %rax, 0x18(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::DmaState::Clear()
void DmaState::Clear() {
// @@protoc_insertion_point(message_clear_start:Rnes.DmaState)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    ::memset(&spritedmamode_, 0, static_cast<size_t>(
        reinterpret_cast<char*>(&spritedmasourceaddr_) -
        reinterpret_cast<char*>(&spritedmamode_)) + sizeof(spritedmasourceaddr_));
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testb $0x7, 0x10(%rdi)
je 0x2e7cb
movl $0x0, 0x20(%rdi)
movq $0x0, 0x18(%rdi)
movl $0x0, 0x10(%rdi)
testb $0x1, 0x8(%rdi)
jne 0x2e7da
popq %rbp
retq
addq $0x8, %rdi
popq %rbp
jmp 0x31e00
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::DmaState::ByteSizeLong() const
size_t DmaState::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:Rnes.DmaState)
  size_t total_size = 0;

  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  // Prevent compiler warnings about cached_has_bits being unused
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    // optional bool spriteDmaMode = 1;
    if (cached_has_bits & 0x00000001u) {
      total_size += 1 + 1;
    }

    // optional uint32 spriteDmaCycle = 2;
    if (cached_has_bits & 0x00000002u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
          this->_internal_spritedmacycle());
    }

    // optional uint32 spriteDmaSourceAddr = 3;
    if (cached_has_bits & 0x00000004u) {
      total_size += 1 +
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
          this->_internal_spritedmasourceaddr());
    }

  }
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
        _internal_metadata_, total_size, &_cached_size_);
  }
  int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  SetCachedSize(cached_size);
  return total_size;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rdx
movl 0x10(%rdi), %ecx
testb $0x7, %cl
je 0x2ebdd
leal (%rcx,%rcx), %eax
andl $0x2, %eax
testb $0x2, %cl
je 0x2ebbc
movl 0x1c(%rdx), %esi
orl $0x1, %esi
bsrl %esi, %esi
leal (%rsi,%rsi,8), %esi
addl $0x49, %esi
shrl $0x6, %esi
addl %esi, %eax
incl %eax
movl %eax, %eax
testb $0x4, %cl
je 0x2ebdf
movl 0x20(%rdx), %ecx
orl $0x1, %ecx
bsrl %ecx, %ecx
leal (%rcx,%rcx,8), %ecx
addl $0x49, %ecx
shrl $0x6, %ecx
addq %rcx, %rax
incq %rax
jmp 0x2ebdf
xorl %eax, %eax
testb $0x1, 0x8(%rdx)
jne 0x2ebea
movl %eax, 0x14(%rdx)
popq %rbp
retq
leaq 0x8(%rdx), %rdi
addq $0x14, %rdx
movq %rax, %rsi
popq %rbp
jmp 0xa920
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::DmaState::MergeFrom(google::protobuf::Message const&)
void DmaState::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:Rnes.DmaState)
  GOOGLE_DCHECK_NE(&from, this);
  const DmaState* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<DmaState>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:Rnes.DmaState)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:Rnes.DmaState)
    MergeFrom(*source);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpq %rdi, %rsi
jne 0x2ec55
leaq 0x7076(%rip), %rdx      # 0x35c91
leaq -0x58(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1862, %ecx           # imm = 0x1862
callq 0xa450
leaq 0x7068(%rip), %rsi      # 0x35ca0
movq %r15, %rdi
callq 0xa980
leaq -0x19(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x58(%rbp), %rdi
callq 0xa730
leaq 0x17db4(%rip), %rax     # 0x46a10
cmpq %rax, (%rbx)
je 0x2ec6e
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa580
jmp 0x2ec79
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2ec9a
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2ec86
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::DmaState::MergeFrom(Rnes::DmaState const&)
void DmaState::MergeFrom(const DmaState& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Rnes.DmaState)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    if (cached_has_bits & 0x00000001u) {
      spritedmamode_ = from.spritedmamode_;
    }
    if (cached_has_bits & 0x00000002u) {
      spritedmacycle_ = from.spritedmacycle_;
    }
    if (cached_has_bits & 0x00000004u) {
      spritedmasourceaddr_ = from.spritedmasourceaddr_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq %rdi, %rsi
jne 0x2ecf3
leaq 0x6fd8(%rip), %rdx      # 0x35c91
leaq -0x58(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1871, %ecx           # imm = 0x1871
callq 0xa450
leaq 0x6fca(%rip), %rsi      # 0x35ca0
movq %r15, %rdi
callq 0xa980
leaq -0x19(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x58(%rbp), %rdi
callq 0xa730
movq 0x8(%r14), %rsi
testb $0x1, %sil
je 0x2ed0e
leaq 0x8(%rbx), %rdi
andq $-0x2, %rsi
addq $0x8, %rsi
callq 0x31dc8
movl 0x10(%r14), %eax
testb $0x7, %al
je 0x2ed3a
testb $0x1, %al
je 0x2ed21
movb 0x18(%r14), %cl
movb %cl, 0x18(%rbx)
testb $0x2, %al
je 0x2ed2c
movl 0x1c(%r14), %ecx
movl %ecx, 0x1c(%rbx)
testb $0x4, %al
je 0x2ed37
movl 0x20(%r14), %ecx
movl %ecx, 0x20(%rbx)
orl %eax, 0x10(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2ed47
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::DmaState::InternalSwap(Rnes::DmaState*)
void DmaState::InternalSwap(DmaState* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(DmaState, spritedmasourceaddr_)
      + sizeof(DmaState::spritedmasourceaddr_)
      - PROTOBUF_FIELD_OFFSET(DmaState, spritedmamode_)>(
          reinterpret_cast<char*>(&spritedmamode_),
          reinterpret_cast<char*>(&other->spritedmamode_));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testb $0x1, 0x8(%rdi)
jne 0x2edd3
testb $0x1, %sil
jne 0x2edd9
jmp 0x2edea
testb $0x1, %sil
je 0x2ee1b
andq $-0x2, %rsi
addq $0x8, %rsi
leaq 0x8(%r14), %rdi
callq 0x31e36
movl 0x10(%r14), %eax
movl 0x10(%rbx), %ecx
movl %ecx, 0x10(%r14)
movl %eax, 0x10(%rbx)
movq 0x18(%r14), %rax
movq 0x18(%rbx), %rcx
movq %rcx, 0x18(%r14)
movq %rax, 0x18(%rbx)
movl 0x20(%r14), %eax
movl 0x20(%rbx), %ecx
movl %ecx, 0x20(%r14)
movl %eax, 0x20(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x8(%rbx), %rdi
callq 0x31c54
movq %rax, %rsi
jmp 0x2ede1
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::SaveState::InitAsDefaultInstance()
void SaveState::InitAsDefaultInstance() {
  ::Rnes::_SaveState_default_instance_._instance.get_mutable()->dma_ = const_cast< ::Rnes::DmaState*>(
      ::Rnes::DmaState::internal_default_instance());
  ::Rnes::_SaveState_default_instance_._instance.get_mutable()->cpu_ = const_cast< ::Rnes::CpuState*>(
      ::Rnes::CpuState::internal_default_instance());
  ::Rnes::_SaveState_default_instance_._instance.get_mutable()->apu_ = const_cast< ::Rnes::ApuState*>(
      ::Rnes::ApuState::internal_default_instance());
  ::Rnes::_SaveState_default_instance_._instance.get_mutable()->ppu_ = const_cast< ::Rnes::PpuState*>(
      ::Rnes::PpuState::internal_default_instance());
  ::Rnes::_SaveState_default_instance_._instance.get_mutable()->controller_ = const_cast< ::Rnes::ControllerState*>(
      ::Rnes::ControllerState::internal_default_instance());
  ::Rnes::_SaveState_default_instance_._instance.get_mutable()->cpumem_ = const_cast< ::Rnes::CpuMemoryState*>(
      ::Rnes::CpuMemoryState::internal_default_instance());
  ::Rnes::_SaveState_default_instance_._instance.get_mutable()->vidmem_ = const_cast< ::Rnes::VideoMemoryState*>(
      ::Rnes::VideoMemoryState::internal_default_instance());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x18cb9(%rip), %rax     # 0x47b18
movq %rax, 0x18cfa(%rip)     # 0x47b60
leaq 0x1899b(%rip), %rax     # 0x47808
movq %rax, 0x18cf4(%rip)     # 0x47b68
leaq 0x18a65(%rip), %rax     # 0x478e0
movq %rax, 0x18cee(%rip)     # 0x47b70
leaq 0x18aef(%rip), %rax     # 0x47978
movq %rax, 0x18ce8(%rip)     # 0x47b78
leaq 0x18c09(%rip), %rax     # 0x47aa0
movq %rax, 0x18ce2(%rip)     # 0x47b80
leaq 0x18c1b(%rip), %rax     # 0x47ac0
movq %rax, 0x18cdc(%rip)     # 0x47b88
leaq 0x18c35(%rip), %rax     # 0x47ae8
movq %rax, 0x18cd6(%rip)     # 0x47b90
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::SaveState::MergeFrom(google::protobuf::Message const&)
void SaveState::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:Rnes.SaveState)
  GOOGLE_DCHECK_NE(&from, this);
  const SaveState* source =
      ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<SaveState>(
          &from);
  if (source == nullptr) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:Rnes.SaveState)
    ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:Rnes.SaveState)
    MergeFrom(*source);
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpq %rdi, %rsi
jne 0x30319
leaq 0x59b2(%rip), %rdx      # 0x35c91
leaq -0x58(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1a99, %ecx           # imm = 0x1A99
callq 0xa450
leaq 0x59a4(%rip), %rsi      # 0x35ca0
movq %r15, %rdi
callq 0xa980
leaq -0x19(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x58(%rbp), %rdi
callq 0xa730
leaq 0x167a0(%rip), %rax     # 0x46ac0
cmpq %rax, (%rbx)
je 0x30332
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa580
jmp 0x3033d
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3035e
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3034a
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::SaveState::InternalSwap(Rnes::SaveState*)
void SaveState::InternalSwap(SaveState* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  savedate_.Swap(&other->savedate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(SaveState, gametime_)
      + sizeof(SaveState::gametime_)
      - PROTOBUF_FIELD_OFFSET(SaveState, dma_)>(
          reinterpret_cast<char*>(&dma_),
          reinterpret_cast<char*>(&other->dma_));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %r15
movq 0x8(%rsi), %rsi
testb $0x1, %r15b
jne 0x30720
testb $0x1, %sil
jne 0x3072a
movl 0x10(%r14), %eax
movl 0x10(%rbx), %ecx
movl %ecx, 0x10(%r14)
movl %eax, 0x10(%rbx)
jmp 0x30757
testb $0x1, %sil
je 0x3081d
andq $-0x2, %rsi
addq $0x8, %rsi
leaq 0x8(%r14), %rdi
callq 0x31e36
movq 0x8(%r14), %r15
movl 0x10(%r14), %eax
movl 0x10(%rbx), %ecx
movl %ecx, 0x10(%r14)
movl %eax, 0x10(%rbx)
testb $0x1, %r15b
jne 0x30811
leaq 0x18(%rbx), %r12
movq 0x18(%r14), %r13
cmpq 0x1685a(%rip), %r13     # 0x46fc0
jne 0x3078f
movq (%r12), %rax
cmpq 0x1684d(%rip), %rax     # 0x46fc0
je 0x307ba
leaq 0x18(%r14), %r13
movq 0x16840(%rip), %rdx     # 0x46fc0
movq %r13, %rdi
movq %r15, %rsi
callq 0x22bf0
movq (%r13), %r13
movq (%r12), %rsi
cmpq 0x16826(%rip), %rsi     # 0x46fc0
jne 0x307b2
movq 0x1681d(%rip), %rdx     # 0x46fc0
movq %r12, %rdi
movq %r15, %rsi
callq 0x22bf0
movq (%r12), %rsi
movq %r13, %rdi
callq 0xa940
movups 0x20(%r14), %xmm0
movups 0x20(%rbx), %xmm1
movups %xmm1, 0x20(%r14)
movups %xmm0, 0x20(%rbx)
movups 0x30(%r14), %xmm0
movups 0x30(%rbx), %xmm1
movups %xmm1, 0x30(%r14)
movups %xmm0, 0x30(%rbx)
movups 0x40(%r14), %xmm0
movups 0x40(%rbx), %xmm1
movups %xmm1, 0x40(%r14)
movups %xmm0, 0x40(%rbx)
movups 0x50(%r14), %xmm0
movups 0x50(%rbx), %xmm1
movups %xmm1, 0x50(%r14)
movups %xmm0, 0x50(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
andq $-0x2, %r15
movq (%r15), %r15
jmp 0x30757
leaq 0x8(%rbx), %rdi
callq 0x31c54
movq %rax, %rsi
jmp 0x30732
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::ApuState::SharedDtor()
void ApuState::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  if (this != internal_default_instance()) delete pulsea_;
  if (this != internal_default_instance()) delete pulseb_;
  if (this != internal_default_instance()) delete triangle_;
  if (this != internal_default_instance()) delete noise_;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
testb $0x1, %al
jne 0x3129f
testq %rax, %rax
je 0x31212
leaq 0x4ab9(%rip), %rdx      # 0x35c91
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x3, %esi
movl $0x9c4, %ecx            # imm = 0x9C4
callq 0xa450
leaq 0x4cc5(%rip), %rsi      # 0x35eba
movq %r14, %rdi
callq 0xa980
leaq -0x11(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x50(%rbp), %rdi
callq 0xa730
leaq 0x166c7(%rip), %rax     # 0x478e0
cmpq %rax, %rbx
je 0x31296
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0x3122f
movq %r14, %rdi
callq 0x245fe
movl $0x38, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x30(%rbx), %r14
testq %r14, %r14
je 0x3124d
movq %r14, %rdi
callq 0x245fe
movl $0x38, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x38(%rbx), %r14
testq %r14, %r14
je 0x3126b
movq %r14, %rdi
callq 0x2542c
movl $0x30, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x40(%rbx), %rbx
testq %rbx, %rbx
je 0x31289
movq %rbx, %rdi
callq 0x25f12
movl $0x38, %esi
movq %rbx, %rdi
callq 0xa0e0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
andq $-0x2, %rax
movq (%rax), %rax
jmp 0x311cc
jmp 0x312ad
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::MmcState::SharedDtor()
void MmcState::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  if (this != internal_default_instance()) delete mmcnone_;
  if (this != internal_default_instance()) delete mmc1_;
  if (this != internal_default_instance()) delete mmc3_;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
testb $0x1, %al
jne 0x31477
testq %rax, %rax
je 0x31408
leaq 0x48c3(%rip), %rdx      # 0x35c91
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x3, %esi
movl $0x1361, %ecx           # imm = 0x1361
callq 0xa450
leaq 0x4acf(%rip), %rsi      # 0x35eba
movq %r14, %rdi
callq 0xa980
leaq -0x11(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x50(%rbp), %rdi
callq 0xa730
leaq 0x16661(%rip), %rax     # 0x47a70
cmpq %rax, %rbx
je 0x3146e
movq 0x18(%rbx), %r14
testq %r14, %r14
je 0x31425
movq %r14, %rdi
callq 0x2a3f0
movl $0x18, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x20(%rbx), %r14
testq %r14, %r14
je 0x31443
movq %r14, %rdi
callq 0x2a7d0
movl $0x30, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x28(%rbx), %rbx
testq %rbx, %rbx
je 0x31461
movq %rbx, %rdi
callq 0x2b284
movl $0x38, %esi
movq %rbx, %rdi
callq 0xa0e0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
andq $-0x2, %rax
movq (%rax), %rax
jmp 0x313c2
jmp 0x31485
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::VideoMemoryState::SharedDtor()
void VideoMemoryState::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  patterntablememory_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  nametablememory_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  palettememory_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
testb $0x1, %al
jne 0x3169d
testq %rax, %rax
je 0x315f2
leaq 0x46d9(%rip), %rdx      # 0x35c91
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x3, %esi
movl $0x169e, %ecx           # imm = 0x169E
callq 0xa450
leaq 0x48e5(%rip), %rsi      # 0x35eba
movq %r14, %rdi
callq 0xa980
leaq -0x11(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x50(%rbp), %rdi
callq 0xa730
movq 0x18(%rbx), %r14
cmpq 0x159c3(%rip), %r14     # 0x46fc0
je 0x31628
testq %r14, %r14
je 0x3161b
movq (%r14), %rdi
leaq 0x10(%r14), %rax
cmpq %rax, %rdi
je 0x3161b
movq (%rax), %rsi
incq %rsi
callq 0xa0e0
movl $0x20, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x20(%rbx), %r14
cmpq 0x1598d(%rip), %r14     # 0x46fc0
je 0x3165e
testq %r14, %r14
je 0x31651
movq (%r14), %rdi
leaq 0x10(%r14), %rax
cmpq %rax, %rdi
je 0x31651
movq (%rax), %rsi
incq %rsi
callq 0xa0e0
movl $0x20, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x28(%rbx), %rbx
cmpq 0x15957(%rip), %rbx     # 0x46fc0
je 0x31694
testq %rbx, %rbx
je 0x31687
movq (%rbx), %rdi
leaq 0x10(%rbx), %rax
cmpq %rax, %rdi
je 0x31687
movq (%rax), %rsi
incq %rsi
callq 0xa0e0
movl $0x20, %esi
movq %rbx, %rdi
callq 0xa0e0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
andq $-0x2, %rax
movq (%rax), %rax
jmp 0x315ac
jmp 0x316ab
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::SaveState::SharedDtor()
void SaveState::SharedDtor() {
  GOOGLE_DCHECK(GetArena() == nullptr);
  savedate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  if (this != internal_default_instance()) delete dma_;
  if (this != internal_default_instance()) delete cpu_;
  if (this != internal_default_instance()) delete apu_;
  if (this != internal_default_instance()) delete ppu_;
  if (this != internal_default_instance()) delete controller_;
  if (this != internal_default_instance()) delete cpumem_;
  if (this != internal_default_instance()) delete vidmem_;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
testb $0x1, %al
jne 0x31841
testq %rax, %rax
je 0x31720
leaq 0x45ab(%rip), %rdx      # 0x35c91
leaq -0x50(%rbp), %r14
movq %r14, %rdi
movl $0x3, %esi
movl $0x1942, %ecx           # imm = 0x1942
callq 0xa450
leaq 0x47b7(%rip), %rsi      # 0x35eba
movq %r14, %rdi
callq 0xa980
leaq -0x11(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x50(%rbp), %rdi
callq 0xa730
movq 0x18(%rbx), %r14
cmpq 0x15895(%rip), %r14     # 0x46fc0
je 0x31756
testq %r14, %r14
je 0x31749
movq (%r14), %rdi
leaq 0x10(%r14), %rax
cmpq %rax, %rdi
je 0x31749
movq (%rax), %rsi
incq %rsi
callq 0xa0e0
movl $0x20, %esi
movq %r14, %rdi
callq 0xa0e0
leaq 0x163e3(%rip), %rax     # 0x47b40
cmpq %rax, %rbx
je 0x31838
movq 0x20(%rbx), %r14
testq %r14, %r14
je 0x31777
movq %r14, %rdi
callq 0x2e6ca
movl $0x28, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0x31795
movq %r14, %rdi
callq 0x239de
movl $0x38, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x30(%rbx), %r14
testq %r14, %r14
je 0x317b3
movq %r14, %rdi
callq 0x26e22
movl $0x70, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x38(%rbx), %r14
testq %r14, %r14
je 0x317d1
movq %r14, %rdi
callq 0x28f80
movl $0x78, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x40(%rbx), %r14
testq %r14, %r14
je 0x317ef
movq %r14, %rdi
callq 0x2cc86
movl $0x20, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x48(%rbx), %r14
testq %r14, %r14
je 0x3180d
movq %r14, %rdi
callq 0x2d454
movl $0x28, %esi
movq %r14, %rdi
callq 0xa0e0
movq 0x50(%rbx), %rbx
testq %rbx, %rbx
je 0x3182b
movq %rbx, %rdi
callq 0x2dd28
movl $0x30, %esi
movq %rbx, %rdi
callq 0xa0e0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
andq $-0x2, %rax
movq (%rax), %rax
jmp 0x316da
jmp 0x3184f
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0xa730
movq %rbx, %rdi
callq 0xa4d0
nop
// File: /workspace/github_cpp_makefile_star2_O3/qema[P]orca-py/liborca.cpp
// Function: writeResults(int, char const*)
int writeResults(int g, const char* output_filename) {
    fstream fout; 
    if (fout.fail()) {
        cerr << "Failed to open file " << output_filename << endl;
        return 1;
    }
    fout.open(output_filename, fstream::out | fstream::binary);
    int no[] = {0,0,1,4,15,73};
    for (int i=0;i<n;i++) {
        for (int j=0;j<no[g];j++) {
            if (j!=0) 
                fout << " ";
            fout << orbit[i][j];
        }
        fout << endl;
    }
    fout.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rsi, %r14
movl %edi, %ebx
movq %fs:0x28, %rax
movq %rax, 0x220(%rsp)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x5230
movq (%r15), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x30(%rsp,%rax)
je 0xe816
movq 0x6889(%rip), %rbx      # 0x14ff0
leaq 0x38e2(%rip), %rsi      # 0x12050
movl $0x14, %edx
movq %rbx, %rdi
callq 0x5220
testq %r14, %r14
je 0xe79c
movq %r14, %rdi
callq 0x50c0
movq 0x6861(%rip), %rdi      # 0x14ff0
movq %r14, %rsi
movq %rax, %rdx
callq 0x5220
jmp 0xe7b3
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5310
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x51c0
movsbl %al, %esi
movq 0x681f(%rip), %rdi      # 0x14ff0
callq 0x5030
movq %rax, %rdi
callq 0x5130
leaq 0x10(%rsp), %rdi
callq 0x5060
movq %fs:0x28, %rax
cmpq 0x220(%rsp), %rax
jne 0xe902
movl $0x1, %eax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movl $0x14, %edx
callq 0x51b0
movq 0x6771(%rip), %rax      # 0x14fa0
cmpl $0x0, (%rax)
jle 0xe8ca
movslq %ebx, %rcx
leaq 0x3a0e(%rip), %rax      # 0x12250
movq %rcx, 0x8(%rsp)
movl (%rax,%rcx,4), %eax
leaq 0x20(%rsp), %rbx
cmpl $0x2, %eax
movl $0x1, %r13d
cmovgel %eax, %r13d
xorl %ebp, %ebp
movq 0x66e3(%rip), %r15      # 0x14f48
leaq 0x37f7(%rip), %r14      # 0x12063
movabsq $0x3ffffffffffffffe, %rax # imm = 0x3FFFFFFFFFFFFFFE
testq %rax, 0x8(%rsp)
je 0xe8b0
xorl %r12d, %r12d
testq %r12, %r12
je 0xe895
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5220
movq (%r15), %rax
movq (%rax,%rbp,8), %rax
movq (%rax,%r12,8), %rsi
movq %rbx, %rdi
callq 0x50a0
incq %r12
cmpq %r12, %r13
jne 0xe880
movq %rbx, %rdi
callq 0x50d0
incq %rbp
movq 0x66de(%rip), %rax      # 0x14fa0
movslq (%rax), %rax
cmpq %rax, %rbp
jl 0xe86c
leaq 0x10(%rsp), %rdi
callq 0x5040
jmp 0xe8da
jmp 0xe8da
jmp 0xe8da
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5060
movq %fs:0x28, %rax
cmpq 0x220(%rsp), %rax
jne 0xe902
movq %rbx, %rdi
callq 0x5330
callq 0x5210
// File: /workspace/github_cpp_makefile_star2_O3/qema[P]orca-py/liborca.cpp
// Function: writeResultsString[abi:cxx11](int)
string writeResultsString(int g) {
    std::stringstream ss("", ios_base::app | ios_base::out);
    int no[] = {0,0,1,4,15,73};
    for (int i=0;i<n;i++) {
        for (int j=0;j<no[g];j++) {
            if (j!=0) 
                ss << " ";
            ss << orbit[i][j];
        }
        ss << endl;
    }
    return ss.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movl %esi, %ebp
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, 0x1c0(%rsp)
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3849(%rip), %rdx      # 0x12187
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0x104ee
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movl $0x11, %edx
callq 0x52e0
movq %rbx, 0x8(%rsp)
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0xe97b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x661e(%rip), %rax      # 0x14fa0
cmpl $0x0, (%rax)
jle 0xea3d
movslq %ebp, %rcx
leaq 0x38bb(%rip), %rax      # 0x12250
movq %rcx, 0x10(%rsp)
movl (%rax,%rcx,4), %eax
leaq 0x48(%rsp), %r14
cmpl $0x2, %eax
movl $0x1, %ebp
cmovgel %eax, %ebp
xorl %ebx, %ebx
movq 0x6592(%rip), %r12      # 0x14f48
leaq 0x36a6(%rip), %r15      # 0x12063
movabsq $0x3ffffffffffffffe, %rax # imm = 0x3FFFFFFFFFFFFFFE
testq %rax, 0x10(%rsp)
je 0xea02
xorl %r13d, %r13d
testq %r13, %r13
je 0xe9e6
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x5220
movq (%r12), %rax
movq (%rax,%rbx,8), %rax
movq (%rax,%r13,8), %rsi
movq %r14, %rdi
callq 0x50a0
incq %r13
cmpq %r13, %rbp
jne 0xe9d1
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x51c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5130
incq %rbx
movq 0x656b(%rip), %rax      # 0x14fa0
movslq (%rax), %rax
cmpq %rax, %rbx
jl 0xe9bd
leaq 0x50(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x52d0
movq 0x64ea(%rip), %rsi      # 0x14f40
leaq 0x38(%rsp), %rdi
callq 0x5160
leaq 0xb8(%rsp), %rdi
callq 0x5080
movq %fs:0x28, %rax
cmpq 0x1c0(%rsp), %rax
jne 0xeaf6
movq %rbx, %rax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xeaba
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0xeadb
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0xeadb
movq %rax, %rbx
jmp 0xeadb
jmp 0xeaba
movq %rax, %rbx
movq 0x647c(%rip), %rsi      # 0x14f40
leaq 0x38(%rsp), %rdi
callq 0x5160
leaq 0xb8(%rsp), %rdi
callq 0x5080
movq %fs:0x28, %rax
cmpq 0x1c0(%rsp), %rax
jne 0xeaf6
movq %rbx, %rdi
callq 0x5330
callq 0x5210
// File: /workspace/github_cpp_makefile_star2_O3/qema[P]orca-py/liborca.cpp
// Function: writeEdgeResults(int, char const*)
int writeEdgeResults(int g, const char* output_filename) {
    fstream fout; 
    if (fout.fail()) {
        cerr << "Failed to open file " << output_filename << endl;
        return 1;
    }
    int no[] = {0,0,0,2,12,68};
    for (int i=0;i<m;i++) {
        for (int j=0;j<no[g];j++) {
            if (j!=0) fout << " ";
            fout << eorbit[i][j];
        }
        fout << endl;
    }
    fout.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rsi, %r14
movl %edi, %ebx
movq %fs:0x28, %rax
movq %rax, 0x220(%rsp)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x5230
movq (%r15), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x30(%rsp,%rax)
je 0xebf7
movq 0x64a8(%rip), %rbx      # 0x14ff0
leaq 0x3501(%rip), %rsi      # 0x12050
movl $0x14, %edx
movq %rbx, %rdi
callq 0x5220
testq %r14, %r14
je 0xeb7d
movq %r14, %rdi
callq 0x50c0
movq 0x6480(%rip), %rdi      # 0x14ff0
movq %r14, %rsi
movq %rax, %rdx
callq 0x5220
jmp 0xeb94
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5310
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x51c0
movsbl %al, %esi
movq 0x643e(%rip), %rdi      # 0x14ff0
callq 0x5030
movq %rax, %rdi
callq 0x5130
leaq 0x10(%rsp), %rdi
callq 0x5060
movq %fs:0x28, %rax
cmpq 0x220(%rsp), %rax
jne 0xecd9
movl $0x1, %eax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x6352(%rip), %rax      # 0x14f50
cmpl $0x0, (%rax)
jle 0xeca1
movslq %ebx, %rax
leaq 0x365f(%rip), %rcx      # 0x12270
movl (%rcx,%rax,4), %ecx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
andq %rax, %rdx
addq $-0x3, %rdx
movq %rdx, 0x8(%rsp)
cmpl $0x2, %ecx
movl $0x1, %r13d
cmovgel %ecx, %r13d
leaq 0x20(%rsp), %rbx
xorl %ebp, %ebp
movq 0x631b(%rip), %r15      # 0x14f60
leaq 0x3417(%rip), %r14      # 0x12063
cmpq $0x2, 0x8(%rsp)
ja 0xec87
xorl %r12d, %r12d
testq %r12, %r12
je 0xec6c
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5220
movq (%r15), %rax
movq (%rax,%rbp,8), %rax
movq (%rax,%r12,8), %rsi
movq %rbx, %rdi
callq 0x50a0
incq %r12
cmpq %r12, %r13
jne 0xec57
movq %rbx, %rdi
callq 0x50d0
incq %rbp
movq 0x62b7(%rip), %rax      # 0x14f50
movslq (%rax), %rax
cmpq %rax, %rbp
jl 0xec4c
leaq 0x10(%rsp), %rdi
callq 0x5040
jmp 0xecb1
jmp 0xecb1
jmp 0xecb1
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x5060
movq %fs:0x28, %rax
cmpq 0x220(%rsp), %rax
jne 0xecd9
movq %rbx, %rdi
callq 0x5330
callq 0x5210
// File: /workspace/github_cpp_makefile_star2_O3/qema[P]orca-py/liborca.cpp
// Function: writeEdgeResultsString[abi:cxx11](int)
string writeEdgeResultsString(int g) {
    std::stringstream ss("", ios_base::app | ios_base::out);
    int no[] = {0,0,0,2,12,68};
    for (int i=0;i<m;i++) {
        for (int j=0;j<no[g];j++) {
            if (j!=0) ss << " ";
            ss << eorbit[i][j];
        }
        ss << endl;
    }
    return ss.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movl %esi, %ebp
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, 0x1c0(%rsp)
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3472(%rip), %rdx      # 0x12187
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0x104ee
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movl $0x11, %edx
callq 0x52e0
movq %rbx, 0x8(%rsp)
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0xed52
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x61f7(%rip), %rax      # 0x14f50
cmpl $0x0, (%rax)
jle 0xee1c
movslq %ebp, %rax
leaq 0x3504(%rip), %rcx      # 0x12270
movl (%rcx,%rax,4), %ecx
movabsq $0x3fffffffffffffff, %rdx # imm = 0x3FFFFFFFFFFFFFFF
andq %rax, %rdx
addq $-0x3, %rdx
movq %rdx, 0x10(%rsp)
cmpl $0x2, %ecx
movl $0x1, %ebp
cmovgel %ecx, %ebp
leaq 0x48(%rsp), %r14
xorl %ebx, %ebx
movq 0x61c2(%rip), %r12      # 0x14f60
leaq 0x32be(%rip), %r15      # 0x12063
cmpq $0x2, 0x10(%rsp)
ja 0xede1
xorl %r13d, %r13d
testq %r13, %r13
je 0xedc5
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x5220
movq (%r12), %rax
movq (%rax,%rbx,8), %rax
movq (%rax,%r13,8), %rsi
movq %r14, %rdi
callq 0x50a0
incq %r13
cmpq %r13, %rbp
jne 0xedb0
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x51c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5130
incq %rbx
movq 0x613c(%rip), %rax      # 0x14f50
movslq (%rax), %rax
cmpq %rax, %rbx
jl 0xeda5
leaq 0x50(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x52d0
movq 0x610b(%rip), %rsi      # 0x14f40
leaq 0x38(%rsp), %rdi
callq 0x5160
leaq 0xb8(%rsp), %rdi
callq 0x5080
movq %fs:0x28, %rax
cmpq 0x1c0(%rsp), %rax
jne 0xeed5
movq %rbx, %rax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xee99
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0xeeba
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0xeeba
movq %rax, %rbx
jmp 0xeeba
jmp 0xee99
movq %rax, %rbx
movq 0x609d(%rip), %rsi      # 0x14f40
leaq 0x38(%rsp), %rdi
callq 0x5160
leaq 0xb8(%rsp), %rdi
callq 0x5080
movq %fs:0x28, %rax
cmpq 0x1c0(%rsp), %rax
jne 0xeed5
movq %rbx, %rdi
callq 0x5330
callq 0x5210
// File: /workspace/github_cpp_makefile_star2_O3/qema[P]orca-py/liborca.cpp
// Function: motif_counts_wrap(_object*, _object*)
PyObject * motif_counts_wrap(PyObject *self, PyObject *args) {
    //(const char* orbit_type, int graphlet_size, 
    //    const char* input_filename, const char* output_filename, string &out_str)
    char *orbit_type, *input_filename;//, *output_filename;
	int graphlet_size;

	if(!PyArg_ParseTuple(args, "sis", &orbit_type, &graphlet_size,
                &input_filename))
		return NULL;

	//sprintf(eq, "%d + %d", num1, num2);
    static string out;
    motif_counts(orbit_type, graphlet_size, input_filename, "", out);

	//return Py_BuildValue("is", num1 + num2, eq);
	return PyUnicode_FromString(out.c_str());
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rdi
movq %fs:0x28, %rax
movq %rax, 0x18(%rsp)
leaq 0x27b1(%rip), %rsi      # 0x12188
xorl %ebx, %ebx
leaq 0x10(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x8(%rsp), %r8
xorl %eax, %eax
callq 0x5260
testl %eax, %eax
je 0xfa2d
movb 0x598f(%rip), %al       # 0x15388
testb %al, %al
je 0xfa4b
movq 0x10(%rsp), %rdi
movl 0x4(%rsp), %esi
movq 0x8(%rsp), %rdx
leaq 0x2775(%rip), %rcx      # 0x12187
leaq 0x594f(%rip), %r8       # 0x15368
callq 0xeeda
movq 0x5943(%rip), %rdi      # 0x15368
callq 0x5190
movq %rax, %rbx
movq %fs:0x28, %rax
cmpq 0x18(%rsp), %rax
jne 0xfa46
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
retq
callq 0x5210
callq 0x5370
jmp 0xf9fd
// File: /workspace/github_cpp_makefile_star2_O3/qema[P]orca-py/liborca.cpp
// Function: init(int, char**)
int init(int argc, char *argv[]) {
    if (argc!=5) {
        cerr << "Incorrect number of arguments." << endl;
        cerr << "Usage: orca.exe [orbit type: node|edge] [graphlet size: 4/5] [graph - input file] [graphlets - output file]" << endl;
        return 0;
    }
    int graphlet_size;
    sscanf(argv[2],"%d", &graphlet_size);
    string out;
    motif_counts(argv[1], graphlet_size, argv[3], argv[4], out);

    return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %fs:0x28, %rax
movq %rax, 0x28(%rsp)
cmpl $0x5, %edi
jne 0xfad7
movq %rsi, %rbx
movq 0x10(%rsi), %rdi
leaq 0x279b(%rip), %rsi      # 0x12217
leaq 0x4(%rsp), %r14
movq %r14, %rdx
xorl %eax, %eax
callq 0x51d0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movl (%r14), %esi
movq 0x8(%rbx), %rdi
movq 0x18(%rbx), %rdx
movq 0x20(%rbx), %rcx
leaq 0x8(%rsp), %r8
callq 0xeeda
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xfad0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x51f0
movl $0x1, %eax
jmp 0xfb56
movq 0x5512(%rip), %rbx      # 0x14ff0
leaq 0x26a7(%rip), %rsi      # 0x1218c
movl $0x1e, %edx
movq %rbx, %rdi
callq 0x5220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x51c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5130
leaq 0x268b(%rip), %rsi      # 0x121ab
movl $0x6b, %edx
movq %rbx, %rdi
callq 0x5220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x51c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5130
xorl %eax, %eax
movq %fs:0x28, %rcx
cmpq 0x28(%rsp), %rcx
jne 0xfba2
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xfb8a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x51f0
movq %fs:0x28, %rax
cmpq 0x28(%rsp), %rax
jne 0xfba2
movq %rbx, %rdi
callq 0x5330
callq 0x5210
// File: /workspace/github_cpp_makefile_star2_O3/iZhangHui[P]CppPrimer/CH09_SequentialContainers/examples/stack.cc
// Function: main
int main()
{
    stack<int> intStack;  // empty stack

    // fill up the stack
    for (size_t ix = 0; ix != 10; ++ix)
        intStack.push(ix);   // intStack holds 0 . . . 9 inclusive

    // while there are still values in intStack
    while (!intStack.empty()) {
        int value = intStack.top();
        // code that uses value
        cout << value << endl;
        intStack.pop(); // pop the top element, and repeat
    }

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
xorps %xmm0, %xmm0
leaq -0x70(%rbp), %rbx
movaps %xmm0, 0x40(%rbx)
movaps %xmm0, 0x30(%rbx)
movaps %xmm0, 0x20(%rbx)
movaps %xmm0, 0x10(%rbx)
movaps %xmm0, (%rbx)
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1450
leaq -0x1c(%rbp), %r14
movl %r15d, -0x1c(%rbp)
movq -0x40(%rbp), %rax
movq -0x30(%rbp), %rcx
addq $-0x4, %rcx
cmpq %rcx, %rax
je 0x12e6
movl %r15d, (%rax)
addq $0x4, %rax
movq %rax, -0x40(%rbp)
jmp 0x12f1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15d8
incq %r15
cmpq $0xa, %r15
jne 0x12c4
movq -0x40(%rbp), %rax
cmpq -0x60(%rbp), %rax
je 0x13af
movq -0x38(%rbp), %rdi
movl $0x200, %r15d           # imm = 0x200
movq 0x2cbf(%rip), %rbx      # 0x3fd8
cmpq %rdi, %rax
jne 0x1329
movq -0x28(%rbp), %rax
movq -0x8(%rax), %rax
addq %r15, %rax
movl -0x4(%rax), %esi
movq %rbx, %rdi
callq 0x1120
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x10b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1080
movq -0x40(%rbp), %rax
movq -0x38(%rbp), %rdi
cmpq %rdi, %rax
je 0x1371
addq $-0x4, %rax
jmp 0x13a1
movl $0x200, %esi            # imm = 0x200
callq 0x10d0
movq -0x28(%rbp), %rax
leaq -0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq -0x8(%rax), %rdi
movq %rdi, -0x38(%rbp)
leaq 0x200(%rdi), %rax
movq %rax, -0x30(%rbp)
leaq 0x1fc(%rdi), %rax
movq %rax, -0x40(%rbp)
cmpq -0x60(%rbp), %rax
jne 0x1319
leaq -0x70(%rbp), %rdi
callq 0x13ea
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x13c7
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x13ea
movq %rbx, %rdi
callq 0x1130
// File: /workspace/github_cpp_makefile_star2_O3/zengfenfei[P]codility/src/PermCheck.cpp
// Function: solution(std::vector<int, std::allocator<int>>&)
int solution(vector<int> &A) {
	unsigned int n = A.size();
	vector<bool> occurs(n, false);	// occurrence of 1 ~ n
	for (unsigned int i = 0; i < n; i++) {
		if (A[i] < 1 || A[i] > n) {
			return 0;
		}
		if (occurs[A[i] - 1]) {
			return 0;
		} else {
			occurs[A[i] - 1] = true;
		}
	}
	return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %r15
subq (%rdi), %r15
sarq $0x2, %r15
movl %r15d, %esi
leaq -0x1a(%rbp), %rdx
movb $0x0, (%rdx)
leaq -0x48(%rbp), %r14
leaq -0x19(%rbp), %rcx
movq %r14, %rdi
callq 0x1388
movq (%r14), %rdi
testl %r15d, %r15d
je 0x12d9
movq (%rbx), %rax
movl (%rax), %ecx
xorl %ebx, %ebx
testl %ecx, %ecx
jle 0x12de
cmpl %r15d, %ecx
ja 0x12de
movl %r15d, %edx
movl $0x1, %r8d
xorl %esi, %esi
decl %ecx
movl $0x1, %r9d
shlq %cl, %r9
movl %ecx, %r10d
shrl $0x6, %r10d
movq (%rdi,%r10,8), %r11
btq %rcx, %r11
jb 0x12d0
orq %r9, %r11
movq %r11, (%rdi,%r10,8)
cmpq %rdx, %r8
setae %sil
je 0x12d0
movl (%rax,%r8,4), %ecx
testl %ecx, %ecx
jle 0x12d0
incq %r8
cmpl %r15d, %ecx
jbe 0x1294
movzbl %sil, %ebx
andl $0x1, %ebx
jmp 0x12de
movl $0x1, %ebx
testq %rdi, %rdi
je 0x12ef
movq -0x28(%rbp), %rsi
subq %rdi, %rsi
callq 0x10a0
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/zengfenfei[P]codility/src/PermCheck.cpp
// Function: main
int main() {
	vector<int> A(4);
	A[0] = 4;
	A[1] = 1;
	A[2] = 3;
	A[3] = 2;
	cout << solution(A) << '\n';	// 1
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl $0x10, %edi
callq 0x1090
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
movq %rax, (%rdi)
addq $0x10, %rax
movq %rax, 0x10(%rdi)
movq %rax, 0x8(%rdi)
movaps 0xce2(%rip), %xmm0      # 0x2010
movups %xmm0, (%rbx)
callq 0x123c
movq 0x2c9b(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10d0
leaq -0x11(%rbp), %rsi
movb $0xa, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x10b0
movl $0x10, %esi
movq %rbx, %rdi
callq 0x10a0
xorl %eax, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movl $0x10, %esi
movq %rbx, %rdi
callq 0x10a0
movq %r14, %rdi
callq 0x10e0
// File: /workspace/github_cpp_makefile_star2_O3/ingowald[P]closestSurfacePointQueries/examples/benchmark.cpp
// Function: loadDennis(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void loadDennis(const std::string &fileName)
{
  FILE *file = fopen(fileName.c_str(),"r");
  if (!file) throw std::runtime_error("could not open "+fileName);

  for (int i=0;i<point_x.size();i++) {
    double s;
    if (fscanf(file,"%lf\n",&s) != 1)
      throw std::runtime_error("could not read dennis result from "+fileName);
    dennis_dist.push_back(s);
  }
  std::cout << "loaded " << dennis_dist.size() << " reference distances" << std::endl;
  fclose(file);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
movq (%rdi), %rdi
leaq 0x5d95(%rip), %rsi      # 0x9050
callq 0x2220
testq %rax, %rax
je 0x3428
movq %rax, %rbx
movq 0x8efd(%rip), %rax      # 0xc1d0
cmpq 0x8eee(%rip), %rax      # 0xc1c8
je 0x3353
leaq 0x5e8d(%rip), %r15      # 0x9170
movq %rsp, %r12
leaq 0x9073(%rip), %r13      # 0xc360
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq 0x2310
cmpl $0x1, %eax
jne 0x33dd
movq 0x9059(%rip), %rsi      # 0xc368
cmpq 0x905a(%rip), %rsi      # 0xc370
je 0x332e
movsd (%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x903c(%rip)      # 0xc368
jmp 0x3339
movq %r13, %rdi
movq %r12, %rdx
callq 0x469c
incq %rbp
movq 0x8e8d(%rip), %rax      # 0xc1d0
subq 0x8e7e(%rip), %rax      # 0xc1c8
sarq $0x3, %rax
cmpq %rbp, %rax
ja 0x32ef
movq 0x8c76(%rip), %r14      # 0xbfd0
leaq 0x5da8(%rip), %rsi      # 0x9109
movl $0x7, %edx
movq %r14, %rdi
callq 0x2200
movq 0x8ff3(%rip), %rsi      # 0xc368
subq 0x8fe4(%rip), %rsi      # 0xc360
sarq $0x3, %rsi
movq %r14, %rdi
callq 0x2120
movq %rax, %r14
leaq 0x5e09(%rip), %rsi      # 0x919b
movl $0x14, %edx
movq %rax, %rdi
callq 0x2200
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21b0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq %rbx, %rdi
callq 0x21c0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x20e0
movq %rax, %r15
leaq 0x5dbf(%rip), %rsi      # 0x91b0
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x4336
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x22b0
xorl %ebp, %ebp
movq 0x8bd9(%rip), %rsi      # 0xbff0
movq 0x8baa(%rip), %rdx      # 0xbfc8
movq %r15, %rdi
callq 0x22e0
jmp 0x3471
movl $0x10, %edi
callq 0x20e0
movq %rax, %r15
leaq 0x5c16(%rip), %rsi      # 0x9052
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x4336
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x22b0
xorl %ebp, %ebp
movq 0x8b8e(%rip), %rsi      # 0xbff0
movq 0x8b5f(%rip), %rdx      # 0xbfc8
movq %r15, %rdi
callq 0x22e0
jmp 0x3475
jmp 0x349a
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3493
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21e0
testb %bpl, %bpl
jne 0x349d
jmp 0x34a5
movq %rax, %rbx
movq %r15, %rdi
callq 0x2150
movq %rbx, %rdi
callq 0x22f0