// File: mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::PpuState::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const
::PROTOBUF_NAMESPACE_ID::uint8* PpuState::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:Rnes.PpuState)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional uint64 cycle = 1;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(1, this->_internal_cycle(), target);
  }

  // optional uint64 frame = 2;
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->_internal_frame(), target);
  }

  // repeated uint32 regs = 3;
  for (int i = 0, n = this->_internal_regs_size(); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_regs(i), target);
  }

  // repeated .Rnes.PpuState.SpriteState spriteRam = 4;
  for (unsigned int i = 0,
      n = static_cast<unsigned int>(this->_internal_spriteram_size()); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(4, this->_internal_spriteram(i), target, stream);
  }

  // optional uint32 vramToggle = 5;
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_vramtoggle(), target);
  }

  // optional uint32 vramFineXScroll = 6;
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_vramfinexscroll(), target);
  }

  // optional uint32 vramCurrentAddr = 7;
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_vramcurrentaddr(), target);
  }

  // optional uint32 vramTempAddr = 8;
  if (cached_has_bits & 0x00000020u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(8, this->_internal_vramtempaddr(), target);
  }

  // optional uint32 vramMachineAddr = 9;
  if (cached_has_bits & 0x00000040u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(9, this->_internal_vrammachineaddr(), target);
  }

  // optional uint32 vramReadLatch = 10;
  if (cached_has_bits & 0x00000080u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_vramreadlatch(), target);
  }

  // optional uint32 scrollingMachineState = 11;
  if (cached_has_bits & 0x00000100u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_scrollingmachinestate(), target);
  }

  // optional uint32 xScrollOrigin = 12;
  if (cached_has_bits & 0x00000200u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_xscrollorigin(), target);
  }

  // optional uint32 yScrollOrigin = 13;
  if (cached_has_bits & 0x00000400u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(13, this->_internal_yscrollorigin(), target);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:Rnes.PpuState)
  return target;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3e0, %rsp            # imm = 0x3E0
movq %rdi, -0x3a0(%rbp)
movq %rsi, -0x3a8(%rbp)
movq %rdx, -0x3b0(%rbp)
movq -0x3a0(%rbp), %rax
movq %rax, -0x3d0(%rbp)
movl $0x0, -0x3b4(%rbp)
addq $0x10, %rax
movq %rax, -0x390(%rbp)
movl $0x0, -0x394(%rbp)
movq -0x390(%rbp), %rax
movslq -0x394(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x3b4(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x50a70
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25930
movq %rax, %rcx
movq -0x3a8(%rbp), %rax
movl $0x1, -0x2bc(%rbp)
movq %rcx, -0x2c8(%rbp)
movq %rax, -0x2d0(%rbp)
movl -0x2bc(%rbp), %ecx
movq -0x2d0(%rbp), %rax
movl %ecx, -0x254(%rbp)
movl $0x0, -0x258(%rbp)
movq %rax, -0x260(%rbp)
movl -0x254(%rbp), %edi
movl -0x258(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x260(%rbp), %rax
movl %ecx, -0x44(%rbp)
movq %rax, -0x50(%rbp)
movl -0x44(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d0(%rbp)
movq -0x2c8(%rbp), %rcx
movq -0x2d0(%rbp), %rax
movq %rcx, -0x28(%rbp)
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x65da0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x50b4c
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25950
movq %rax, %rcx
movq -0x3a8(%rbp), %rax
movl $0x2, -0x2d4(%rbp)
movq %rcx, -0x2e0(%rbp)
movq %rax, -0x2e8(%rbp)
movl -0x2d4(%rbp), %ecx
movq -0x2e8(%rbp), %rax
movl %ecx, -0x244(%rbp)
movl $0x0, -0x248(%rbp)
movq %rax, -0x250(%rbp)
movl -0x244(%rbp), %edi
movl -0x248(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x250(%rbp), %rax
movl %ecx, -0x54(%rbp)
movq %rax, -0x60(%rbp)
movl -0x54(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2e8(%rbp)
movq -0x2e0(%rbp), %rcx
movq -0x2e8(%rbp), %rax
movq %rcx, -0x18(%rbp)
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x65da0
movq %rax, -0x3a8(%rbp)
movq -0x3d0(%rbp), %rdi
movl $0x0, -0x3b8(%rbp)
callq 0x25970
movl %eax, -0x3bc(%rbp)
movl -0x3b8(%rbp), %eax
cmpl -0x3bc(%rbp), %eax
jge 0x50c65
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
movl -0x3b8(%rbp), %esi
callq 0x25990
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0x3, -0x2ec(%rbp)
movl %ecx, -0x2f0(%rbp)
movq %rax, -0x2f8(%rbp)
movl -0x2ec(%rbp), %ecx
movq -0x2f8(%rbp), %rax
movl %ecx, -0x234(%rbp)
movl $0x0, -0x238(%rbp)
movq %rax, -0x240(%rbp)
movl -0x234(%rbp), %edi
movl -0x238(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x240(%rbp), %rax
movl %ecx, -0x64(%rbp)
movq %rax, -0x70(%rbp)
movl -0x64(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2f8(%rbp)
movl -0x2f0(%rbp), %ecx
movq -0x2f8(%rbp), %rax
movl %ecx, -0x194(%rbp)
movq %rax, -0x1a0(%rbp)
movl -0x194(%rbp), %edi
movq -0x1a0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3b8(%rbp)
jmp 0x50b68
movq -0x3d0(%rbp), %rdi
movl $0x0, -0x3c0(%rbp)
callq 0x259c0
movl %eax, -0x3c4(%rbp)
movl -0x3c0(%rbp), %eax
cmpl -0x3c4(%rbp), %eax
jae 0x50d9d
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
movl -0x3c0(%rbp), %esi
callq 0x25a20
movq %rax, %rdx
movq -0x3a8(%rbp), %rcx
movq -0x3b0(%rbp), %rax
movl $0x4, -0x274(%rbp)
movq %rdx, -0x280(%rbp)
movq %rcx, -0x288(%rbp)
movq %rax, -0x290(%rbp)
movl -0x274(%rbp), %ecx
movq -0x288(%rbp), %rax
movl %ecx, -0x264(%rbp)
movl $0x2, -0x268(%rbp)
movq %rax, -0x270(%rbp)
movl -0x264(%rbp), %edi
movl -0x268(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x270(%rbp), %rax
movl %ecx, -0x34(%rbp)
movq %rax, -0x40(%rbp)
movl -0x34(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x288(%rbp)
movq -0x280(%rbp), %rdi
callq 0x65220
movl %eax, %edi
movq -0x288(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x288(%rbp)
movq -0x280(%rbp), %rdi
movq -0x288(%rbp), %rsi
movq -0x290(%rbp), %rdx
callq 0x4f210
movq %rax, -0x3a8(%rbp)
movl -0x3c0(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c0(%rbp)
jmp 0x50c81
movl -0x3b4(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x50e80
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25c90
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0x5, -0x2fc(%rbp)
movl %ecx, -0x300(%rbp)
movq %rax, -0x308(%rbp)
movl -0x2fc(%rbp), %ecx
movq -0x308(%rbp), %rax
movl %ecx, -0x224(%rbp)
movl $0x0, -0x228(%rbp)
movq %rax, -0x230(%rbp)
movl -0x224(%rbp), %edi
movl -0x228(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x230(%rbp), %rax
movl %ecx, -0x74(%rbp)
movq %rax, -0x80(%rbp)
movl -0x74(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x308(%rbp)
movl -0x300(%rbp), %ecx
movq -0x308(%rbp), %rax
movl %ecx, -0x184(%rbp)
movq %rax, -0x190(%rbp)
movl -0x184(%rbp), %edi
movq -0x190(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x50f6f
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25cb0
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0x6, -0x30c(%rbp)
movl %ecx, -0x310(%rbp)
movq %rax, -0x318(%rbp)
movl -0x30c(%rbp), %ecx
movq -0x318(%rbp), %rax
movl %ecx, -0x214(%rbp)
movl $0x0, -0x218(%rbp)
movq %rax, -0x220(%rbp)
movl -0x214(%rbp), %edi
movl -0x218(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x220(%rbp), %rax
movl %ecx, -0x84(%rbp)
movq %rax, -0x90(%rbp)
movl -0x84(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x318(%rbp)
movl -0x310(%rbp), %ecx
movq -0x318(%rbp), %rax
movl %ecx, -0x174(%rbp)
movq %rax, -0x180(%rbp)
movl -0x174(%rbp), %edi
movq -0x180(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x5105e
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25cd0
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0x7, -0x31c(%rbp)
movl %ecx, -0x320(%rbp)
movq %rax, -0x328(%rbp)
movl -0x31c(%rbp), %ecx
movq -0x328(%rbp), %rax
movl %ecx, -0x204(%rbp)
movl $0x0, -0x208(%rbp)
movq %rax, -0x210(%rbp)
movl -0x204(%rbp), %edi
movl -0x208(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x210(%rbp), %rax
movl %ecx, -0x94(%rbp)
movq %rax, -0xa0(%rbp)
movl -0x94(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x328(%rbp)
movl -0x320(%rbp), %ecx
movq -0x328(%rbp), %rax
movl %ecx, -0x164(%rbp)
movq %rax, -0x170(%rbp)
movl -0x164(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0x5114d
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25cf0
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0x8, -0x32c(%rbp)
movl %ecx, -0x330(%rbp)
movq %rax, -0x338(%rbp)
movl -0x32c(%rbp), %ecx
movq -0x338(%rbp), %rax
movl %ecx, -0x1f4(%rbp)
movl $0x0, -0x1f8(%rbp)
movq %rax, -0x200(%rbp)
movl -0x1f4(%rbp), %edi
movl -0x1f8(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x200(%rbp), %rax
movl %ecx, -0xa4(%rbp)
movq %rax, -0xb0(%rbp)
movl -0xa4(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x338(%rbp)
movl -0x330(%rbp), %ecx
movq -0x338(%rbp), %rax
movl %ecx, -0x154(%rbp)
movq %rax, -0x160(%rbp)
movl -0x154(%rbp), %edi
movq -0x160(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
je 0x5123c
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25d10
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0x9, -0x33c(%rbp)
movl %ecx, -0x340(%rbp)
movq %rax, -0x348(%rbp)
movl -0x33c(%rbp), %ecx
movq -0x348(%rbp), %rax
movl %ecx, -0x1e4(%rbp)
movl $0x0, -0x1e8(%rbp)
movq %rax, -0x1f0(%rbp)
movl -0x1e4(%rbp), %edi
movl -0x1e8(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x1f0(%rbp), %rax
movl %ecx, -0xb4(%rbp)
movq %rax, -0xc0(%rbp)
movl -0xb4(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x348(%rbp)
movl -0x340(%rbp), %ecx
movq -0x348(%rbp), %rax
movl %ecx, -0x144(%rbp)
movq %rax, -0x150(%rbp)
movl -0x144(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x5132d
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25d30
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0xa, -0x34c(%rbp)
movl %ecx, -0x350(%rbp)
movq %rax, -0x358(%rbp)
movl -0x34c(%rbp), %ecx
movq -0x358(%rbp), %rax
movl %ecx, -0x1d4(%rbp)
movl $0x0, -0x1d8(%rbp)
movq %rax, -0x1e0(%rbp)
movl -0x1d4(%rbp), %edi
movl -0x1d8(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x1e0(%rbp), %rax
movl %ecx, -0xc4(%rbp)
movq %rax, -0xd0(%rbp)
movl -0xc4(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x358(%rbp)
movl -0x350(%rbp), %ecx
movq -0x358(%rbp), %rax
movl %ecx, -0x134(%rbp)
movq %rax, -0x140(%rbp)
movl -0x134(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
je 0x5141e
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25d50
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0xb, -0x35c(%rbp)
movl %ecx, -0x360(%rbp)
movq %rax, -0x368(%rbp)
movl -0x35c(%rbp), %ecx
movq -0x368(%rbp), %rax
movl %ecx, -0x1c4(%rbp)
movl $0x0, -0x1c8(%rbp)
movq %rax, -0x1d0(%rbp)
movl -0x1c4(%rbp), %edi
movl -0x1c8(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x1d0(%rbp), %rax
movl %ecx, -0xd4(%rbp)
movq %rax, -0xe0(%rbp)
movl -0xd4(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x368(%rbp)
movl -0x360(%rbp), %ecx
movq -0x368(%rbp), %rax
movl %ecx, -0x124(%rbp)
movq %rax, -0x130(%rbp)
movl -0x124(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x5150f
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25d70
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0xc, -0x36c(%rbp)
movl %ecx, -0x370(%rbp)
movq %rax, -0x378(%rbp)
movl -0x36c(%rbp), %ecx
movq -0x378(%rbp), %rax
movl %ecx, -0x1b4(%rbp)
movl $0x0, -0x1b8(%rbp)
movq %rax, -0x1c0(%rbp)
movl -0x1b4(%rbp), %edi
movl -0x1b8(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x1c0(%rbp), %rax
movl %ecx, -0xe4(%rbp)
movq %rax, -0xf0(%rbp)
movl -0xe4(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x378(%rbp)
movl -0x370(%rbp), %ecx
movq -0x378(%rbp), %rax
movl %ecx, -0x114(%rbp)
movq %rax, -0x120(%rbp)
movl -0x114(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3b4(%rbp), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x51600
movq -0x3b0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
callq 0x5f2c0
movq -0x3d0(%rbp), %rdi
movq %rax, -0x3a8(%rbp)
callq 0x25d90
movl %eax, %ecx
movq -0x3a8(%rbp), %rax
movl $0xd, -0x37c(%rbp)
movl %ecx, -0x380(%rbp)
movq %rax, -0x388(%rbp)
movl -0x37c(%rbp), %ecx
movq -0x388(%rbp), %rax
movl %ecx, -0x1a4(%rbp)
movl $0x0, -0x1a8(%rbp)
movq %rax, -0x1b0(%rbp)
movl -0x1a4(%rbp), %edi
movl -0x1a8(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x1b0(%rbp), %rax
movl %ecx, -0xf4(%rbp)
movq %rax, -0x100(%rbp)
movl -0xf4(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x388(%rbp)
movl -0x380(%rbp), %ecx
movq -0x388(%rbp), %rax
movl %ecx, -0x104(%rbp)
movq %rax, -0x110(%rbp)
movl -0x104(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movq -0x3d0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x2b8(%rbp)
movq -0x2b8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x516c8
movq -0x3d0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x2a8(%rbp)
movq 0x40936(%rip), %rax     # 0x91f80
movq %rax, -0x2b0(%rbp)
movq -0x2a8(%rbp), %rax
movq %rax, -0x3d8(%rbp)
movq %rax, -0x298(%rbp)
movq -0x298(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x5169a
movq -0x3d8(%rbp), %rdi
callq 0x66310
addq $0x8, %rax
movq %rax, -0x2a0(%rbp)
jmp 0x516a7
callq *-0x2b0(%rbp)
movq %rax, -0x2a0(%rbp)
movq -0x2a0(%rbp), %rdi
movq -0x3a8(%rbp), %rsi
movq -0x3b0(%rbp), %rdx
callq 0xe3b0
movq %rax, -0x3a8(%rbp)
movq -0x3a8(%rbp), %rax
addq $0x3e0, %rsp            # imm = 0x3E0
popq %rbp
retq
nopl (%rax,%rax)