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

  // repeated uint32 reg = 1;
  for (int i = 0, n = this->_internal_reg_size(); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_reg(i), target);
  }

  cached_has_bits = _has_bits_[0];
  // optional uint32 sampleRate = 2;
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_samplerate(), target);
  }

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

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

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

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

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

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

  // optional float clksPerSample = 9;
  if (cached_has_bits & 0x00000800u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(9, this->_internal_clkspersample(), target);
  }

  // optional float currentSampleClk = 10;
  if (cached_has_bits & 0x00001000u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(10, this->_internal_currentsampleclk(), target);
  }

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

  // optional .Rnes.PulseState pulseA = 20;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        20, _Internal::pulsea(this), target, stream);
  }

  // optional .Rnes.PulseState pulseB = 21;
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        21, _Internal::pulseb(this), target, stream);
  }

  // optional .Rnes.TriangleState triangle = 22;
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        22, _Internal::triangle(this), target, stream);
  }

  // optional .Rnes.NoiseState noise = 23;
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        23, _Internal::noise(this), target, stream);
  }

  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.ApuState)
  return target;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x440, %rsp            # imm = 0x440
movq %rdi, -0x410(%rbp)
movq %rsi, -0x418(%rbp)
movq %rdx, -0x420(%rbp)
movq -0x410(%rbp), %rdi
movq %rdi, -0x438(%rbp)
movl $0x0, -0x424(%rbp)
movl $0x0, -0x428(%rbp)
callq 0x28ae0
movl %eax, -0x42c(%rbp)
movl -0x428(%rbp), %eax
cmpl -0x42c(%rbp), %eax
jge 0x4d1d6
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
movl -0x428(%rbp), %esi
callq 0x28b00
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x1, -0x36c(%rbp)
movl %ecx, -0x370(%rbp)
movq %rax, -0x378(%rbp)
movl -0x36c(%rbp), %ecx
movq -0x378(%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, -0x94(%rbp)
movq %rax, -0xa0(%rbp)
movl -0x94(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x378(%rbp)
movl -0x370(%rbp), %ecx
movq -0x378(%rbp), %rax
movl %ecx, -0x1a4(%rbp)
movq %rax, -0x1b0(%rbp)
movl -0x1a4(%rbp), %edi
movq -0x1b0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x428(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x428(%rbp)
jmp 0x4d0cd
movq -0x438(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x400(%rbp)
movl $0x0, -0x404(%rbp)
movq -0x400(%rbp), %rax
movslq -0x404(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x424(%rbp)
movl -0x424(%rbp), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x4d2f8
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28b30
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x2, -0x37c(%rbp)
movl %ecx, -0x380(%rbp)
movq %rax, -0x388(%rbp)
movl -0x37c(%rbp), %ecx
movq -0x388(%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, -0xa4(%rbp)
movq %rax, -0xb0(%rbp)
movl -0xa4(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x388(%rbp)
movl -0x380(%rbp), %ecx
movq -0x388(%rbp), %rax
movl %ecx, -0x194(%rbp)
movq %rax, -0x1a0(%rbp)
movl -0x194(%rbp), %edi
movq -0x1a0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0x4d3e7
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28b50
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x3, -0x38c(%rbp)
movl %ecx, -0x390(%rbp)
movq %rax, -0x398(%rbp)
movl -0x38c(%rbp), %ecx
movq -0x398(%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, -0xb4(%rbp)
movq %rax, -0xc0(%rbp)
movl -0xb4(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x398(%rbp)
movl -0x390(%rbp), %ecx
movq -0x398(%rbp), %rax
movl %ecx, -0x184(%rbp)
movq %rax, -0x190(%rbp)
movl -0x184(%rbp), %edi
movq -0x190(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
je 0x4d4d6
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28b70
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x4, -0x39c(%rbp)
movl %ecx, -0x3a0(%rbp)
movq %rax, -0x3a8(%rbp)
movl -0x39c(%rbp), %ecx
movq -0x3a8(%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, -0xc4(%rbp)
movq %rax, -0xd0(%rbp)
movl -0xc4(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3a8(%rbp)
movl -0x3a0(%rbp), %ecx
movq -0x3a8(%rbp), %rax
movl %ecx, -0x174(%rbp)
movq %rax, -0x180(%rbp)
movl -0x174(%rbp), %edi
movq -0x180(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x4d5c7
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28b90
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x5, -0x3ac(%rbp)
movl %ecx, -0x3b0(%rbp)
movq %rax, -0x3b8(%rbp)
movl -0x3ac(%rbp), %ecx
movq -0x3b8(%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, -0xd4(%rbp)
movq %rax, -0xe0(%rbp)
movl -0xd4(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3b8(%rbp)
movl -0x3b0(%rbp), %ecx
movq -0x3b8(%rbp), %rax
movl %ecx, -0x164(%rbp)
movq %rax, -0x170(%rbp)
movl -0x164(%rbp), %edi
movq -0x170(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
je 0x4d6b8
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28bb0
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x6, -0x3bc(%rbp)
movl %ecx, -0x3c0(%rbp)
movq %rax, -0x3c8(%rbp)
movl -0x3bc(%rbp), %ecx
movq -0x3c8(%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, -0xe4(%rbp)
movq %rax, -0xf0(%rbp)
movl -0xe4(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3c8(%rbp)
movl -0x3c0(%rbp), %ecx
movq -0x3c8(%rbp), %rax
movl %ecx, -0x154(%rbp)
movq %rax, -0x160(%rbp)
movl -0x154(%rbp), %edi
movq -0x160(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x4d7a9
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28bd0
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x7, -0x3cc(%rbp)
movl %ecx, -0x3d0(%rbp)
movq %rax, -0x3d8(%rbp)
movl -0x3cc(%rbp), %ecx
movq -0x3d8(%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, -0xf4(%rbp)
movq %rax, -0x100(%rbp)
movl -0xf4(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3d8(%rbp)
movl -0x3d0(%rbp), %ecx
movq -0x3d8(%rbp), %rax
movl %ecx, -0x144(%rbp)
movq %rax, -0x150(%rbp)
movl -0x144(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x4d89a
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28bf0
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0x8, -0x3dc(%rbp)
movl %ecx, -0x3e0(%rbp)
movq %rax, -0x3e8(%rbp)
movl -0x3dc(%rbp), %ecx
movq -0x3e8(%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, -0x104(%rbp)
movq %rax, -0x110(%rbp)
movl -0x104(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3e8(%rbp)
movl -0x3e0(%rbp), %ecx
movq -0x3e8(%rbp), %rax
movl %ecx, -0x134(%rbp)
movq %rax, -0x140(%rbp)
movl -0x134(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x4d980
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28c10
movq -0x418(%rbp), %rax
movl $0x9, -0x324(%rbp)
movss %xmm0, -0x328(%rbp)
movq %rax, -0x330(%rbp)
movl -0x324(%rbp), %ecx
movq -0x330(%rbp), %rax
movl %ecx, -0x254(%rbp)
movl $0x5, -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, -0x74(%rbp)
movq %rax, -0x80(%rbp)
movl -0x74(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x330(%rbp)
movss -0x328(%rbp), %xmm0
movq -0x330(%rbp), %rax
movss %xmm0, -0x14(%rbp)
movq %rax, -0x20(%rbp)
movss -0x14(%rbp), %xmm0
callq 0x65f50
movl %eax, %edi
movq -0x20(%rbp), %rsi
callq 0x65f30
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0x4da72
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28c30
movq -0x418(%rbp), %rax
movl $0xa, -0x334(%rbp)
movss %xmm0, -0x338(%rbp)
movq %rax, -0x340(%rbp)
movl -0x334(%rbp), %ecx
movq -0x340(%rbp), %rax
movl %ecx, -0x244(%rbp)
movl $0x5, -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, -0x84(%rbp)
movq %rax, -0x90(%rbp)
movl -0x84(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x340(%rbp)
movss -0x338(%rbp), %xmm0
movq -0x340(%rbp), %rax
movss %xmm0, -0x4(%rbp)
movq %rax, -0x10(%rbp)
movss -0x4(%rbp), %xmm0
callq 0x65f50
movl %eax, %edi
movq -0x10(%rbp), %rsi
callq 0x65f30
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
je 0x4db63
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x28c50
movl %eax, %ecx
movq -0x418(%rbp), %rax
movl $0xb, -0x3ec(%rbp)
movl %ecx, -0x3f0(%rbp)
movq %rax, -0x3f8(%rbp)
movl -0x3ec(%rbp), %ecx
movq -0x3f8(%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, -0x114(%rbp)
movq %rax, -0x120(%rbp)
movl -0x114(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x3f8(%rbp)
movl -0x3f0(%rbp), %ecx
movq -0x3f8(%rbp), %rax
movl %ecx, -0x124(%rbp)
movq %rax, -0x130(%rbp)
movl -0x124(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x4dc65
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x4bed0
movq %rax, %rdx
movq -0x418(%rbp), %rcx
movq -0x420(%rbp), %rax
movl $0x14, -0x2e4(%rbp)
movq %rdx, -0x2f0(%rbp)
movq %rcx, -0x2f8(%rbp)
movq %rax, -0x300(%rbp)
movl -0x2e4(%rbp), %ecx
movq -0x2f8(%rbp), %rax
movl %ecx, -0x274(%rbp)
movl $0x2, -0x278(%rbp)
movq %rax, -0x280(%rbp)
movl -0x274(%rbp), %edi
movl -0x278(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x280(%rbp), %rax
movl %ecx, -0x54(%rbp)
movq %rax, -0x60(%rbp)
movl -0x54(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2f8(%rbp)
movq -0x2f0(%rbp), %rdi
callq 0x650a0
movl %eax, %edi
movq -0x2f8(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2f8(%rbp)
movq -0x2f0(%rbp), %rdi
movq -0x2f8(%rbp), %rsi
movq -0x300(%rbp), %rdx
callq 0x47e50
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x4dd67
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x4bef0
movq %rax, %rdx
movq -0x418(%rbp), %rcx
movq -0x420(%rbp), %rax
movl $0x15, -0x304(%rbp)
movq %rdx, -0x310(%rbp)
movq %rcx, -0x318(%rbp)
movq %rax, -0x320(%rbp)
movl -0x304(%rbp), %ecx
movq -0x318(%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, -0x64(%rbp)
movq %rax, -0x70(%rbp)
movl -0x64(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x318(%rbp)
movq -0x310(%rbp), %rdi
callq 0x650a0
movl %eax, %edi
movq -0x318(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x318(%rbp)
movq -0x310(%rbp), %rdi
movq -0x318(%rbp), %rsi
movq -0x320(%rbp), %rdx
callq 0x47e50
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x4de69
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x4bf10
movq %rax, %rdx
movq -0x418(%rbp), %rcx
movq -0x420(%rbp), %rax
movl $0x16, -0x2c4(%rbp)
movq %rdx, -0x2d0(%rbp)
movq %rcx, -0x2d8(%rbp)
movq %rax, -0x2e0(%rbp)
movl -0x2c4(%rbp), %ecx
movq -0x2d8(%rbp), %rax
movl %ecx, -0x284(%rbp)
movl $0x2, -0x288(%rbp)
movq %rax, -0x290(%rbp)
movl -0x284(%rbp), %edi
movl -0x288(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x290(%rbp), %rax
movl %ecx, -0x44(%rbp)
movq %rax, -0x50(%rbp)
movl -0x44(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movq -0x2d0(%rbp), %rdi
callq 0x65100
movl %eax, %edi
movq -0x2d8(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movq -0x2d0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
movq -0x2e0(%rbp), %rdx
callq 0x49930
movq %rax, -0x418(%rbp)
movl -0x424(%rbp), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x4df6b
movq -0x420(%rbp), %rdi
movq -0x418(%rbp), %rsi
callq 0x5f2c0
movq -0x438(%rbp), %rdi
movq %rax, -0x418(%rbp)
callq 0x4bf30
movq %rax, %rdx
movq -0x418(%rbp), %rcx
movq -0x420(%rbp), %rax
movl $0x17, -0x2a4(%rbp)
movq %rdx, -0x2b0(%rbp)
movq %rcx, -0x2b8(%rbp)
movq %rax, -0x2c0(%rbp)
movl -0x2a4(%rbp), %ecx
movq -0x2b8(%rbp), %rax
movl %ecx, -0x294(%rbp)
movl $0x2, -0x298(%rbp)
movq %rax, -0x2a0(%rbp)
movl -0x294(%rbp), %edi
movl -0x298(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x2a0(%rbp), %rax
movl %ecx, -0x34(%rbp)
movq %rax, -0x40(%rbp)
movl -0x34(%rbp), %edi
movq -0x40(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2b8(%rbp)
movq -0x2b0(%rbp), %rdi
callq 0x65160
movl %eax, %edi
movq -0x2b8(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2b8(%rbp)
movq -0x2b0(%rbp), %rdi
movq -0x2b8(%rbp), %rsi
movq -0x2c0(%rbp), %rdx
callq 0x4af00
movq %rax, -0x418(%rbp)
movq -0x438(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x368(%rbp)
movq -0x368(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x4e033
movq -0x438(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x358(%rbp)
movq 0x43fcb(%rip), %rax     # 0x91f80
movq %rax, -0x360(%rbp)
movq -0x358(%rbp), %rax
movq %rax, -0x440(%rbp)
movq %rax, -0x348(%rbp)
movq -0x348(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x4e005
movq -0x440(%rbp), %rdi
callq 0x66310
addq $0x8, %rax
movq %rax, -0x350(%rbp)
jmp 0x4e012
callq *-0x360(%rbp)
movq %rax, -0x350(%rbp)
movq -0x350(%rbp), %rdi
movq -0x418(%rbp), %rsi
movq -0x420(%rbp), %rdx
callq 0xe3b0
movq %rax, -0x418(%rbp)
movq -0x418(%rbp), %rax
addq $0x440, %rsp            # imm = 0x440
popq %rbp
retq
nopw %cs:(%rax,%rax)