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

  cached_has_bits = _has_bits_[0];
  // optional bool primary = 1;
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_primary(), target);
  }

  // optional uint32 lengthCounter = 2;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_lengthcounter(), target);
  }

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

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

  // optional bool resetEnvelopeAndDivider = 5;
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_resetenvelopeanddivider(), target);
  }

  // optional bool resetSweepDivider = 6;
  if (cached_has_bits & 0x00000020u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_resetsweepdivider(), target);
  }

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

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

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

  // optional uint32 sequencerOffset = 10;
  if (cached_has_bits & 0x00000200u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_sequenceroffset(), 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.PulseState)
  return target;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp            # imm = 0x300
movq %rdi, -0x2d0(%rbp)
movq %rsi, -0x2d8(%rbp)
movq %rdx, -0x2e0(%rbp)
movq -0x2d0(%rbp), %rax
movq %rax, -0x2f0(%rbp)
movl $0x0, -0x2e4(%rbp)
addq $0x10, %rax
movq %rax, -0x2c0(%rbp)
movl $0x0, -0x2c4(%rbp)
movq -0x2c0(%rbp), %rax
movslq -0x2c4(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x2e4(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x47f9e
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x5f760
movb %al, %cl
movq -0x2d8(%rbp), %rax
movl $0x1, -0x1f4(%rbp)
andb $0x1, %cl
movb %cl, -0x1f5(%rbp)
movq %rax, -0x200(%rbp)
movl -0x1f4(%rbp), %ecx
movq -0x200(%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, -0x44(%rbp)
movq %rax, -0x50(%rbp)
movl -0x44(%rbp), %edi
movq -0x50(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x200(%rbp)
movb -0x1f5(%rbp), %cl
movq -0x200(%rbp), %rax
andb $0x1, %cl
movb %cl, -0x21(%rbp)
movq %rax, -0x30(%rbp)
movb -0x21(%rbp), %cl
xorl %edi, %edi
movl $0x1, %eax
testb $0x1, %cl
cmovnel %eax, %edi
movq -0x30(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x48081
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d6f0
movl %eax, %ecx
movq -0x2d8(%rbp), %rax
movl $0x2, -0x24c(%rbp)
movl %ecx, -0x250(%rbp)
movq %rax, -0x258(%rbp)
movl -0x24c(%rbp), %ecx
movq -0x258(%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, -0x74(%rbp)
movq %rax, -0x80(%rbp)
movl -0x74(%rbp), %edi
movq -0x80(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x258(%rbp)
movl -0x250(%rbp), %ecx
movq -0x258(%rbp), %rax
movl %ecx, -0x144(%rbp)
movq %rax, -0x150(%rbp)
movl -0x144(%rbp), %edi
movq -0x150(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x48170
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d710
movl %eax, %ecx
movq -0x2d8(%rbp), %rax
movl $0x3, -0x25c(%rbp)
movl %ecx, -0x260(%rbp)
movq %rax, -0x268(%rbp)
movl -0x25c(%rbp), %ecx
movq -0x268(%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, -0x84(%rbp)
movq %rax, -0x90(%rbp)
movl -0x84(%rbp), %edi
movq -0x90(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x268(%rbp)
movl -0x260(%rbp), %ecx
movq -0x268(%rbp), %rax
movl %ecx, -0x134(%rbp)
movq %rax, -0x140(%rbp)
movl -0x134(%rbp), %edi
movq -0x140(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x4825f
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d730
movl %eax, %ecx
movq -0x2d8(%rbp), %rax
movl $0x4, -0x26c(%rbp)
movl %ecx, -0x270(%rbp)
movq %rax, -0x278(%rbp)
movl -0x26c(%rbp), %ecx
movq -0x278(%rbp), %rax
movl %ecx, -0x194(%rbp)
movl $0x0, -0x198(%rbp)
movq %rax, -0x1a0(%rbp)
movl -0x194(%rbp), %edi
movl -0x198(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x1a0(%rbp), %rax
movl %ecx, -0x94(%rbp)
movq %rax, -0xa0(%rbp)
movl -0x94(%rbp), %edi
movq -0xa0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x278(%rbp)
movl -0x270(%rbp), %ecx
movq -0x278(%rbp), %rax
movl %ecx, -0x124(%rbp)
movq %rax, -0x130(%rbp)
movl -0x124(%rbp), %edi
movq -0x130(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x48349
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d750
movb %al, %cl
movq -0x2d8(%rbp), %rax
movl $0x5, -0x204(%rbp)
andb $0x1, %cl
movb %cl, -0x205(%rbp)
movq %rax, -0x210(%rbp)
movl -0x204(%rbp), %ecx
movq -0x210(%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, -0x54(%rbp)
movq %rax, -0x60(%rbp)
movl -0x54(%rbp), %edi
movq -0x60(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x210(%rbp)
movb -0x205(%rbp), %cl
movq -0x210(%rbp), %rax
andb $0x1, %cl
movb %cl, -0x11(%rbp)
movq %rax, -0x20(%rbp)
movb -0x11(%rbp), %cl
xorl %edi, %edi
movl $0x1, %eax
testb $0x1, %cl
cmovnel %eax, %edi
movq -0x20(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0x48433
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d770
movb %al, %cl
movq -0x2d8(%rbp), %rax
movl $0x6, -0x214(%rbp)
andb $0x1, %cl
movb %cl, -0x215(%rbp)
movq %rax, -0x220(%rbp)
movl -0x214(%rbp), %ecx
movq -0x220(%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, -0x64(%rbp)
movq %rax, -0x70(%rbp)
movl -0x64(%rbp), %edi
movq -0x70(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x220(%rbp)
movb -0x215(%rbp), %cl
movq -0x220(%rbp), %rax
andb $0x1, %cl
movb %cl, -0x1(%rbp)
movq %rax, -0x10(%rbp)
movb -0x1(%rbp), %cl
xorl %edi, %edi
movl $0x1, %eax
testb $0x1, %cl
cmovnel %eax, %edi
movq -0x10(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
je 0x48522
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d790
movl %eax, %ecx
movq -0x2d8(%rbp), %rax
movl $0x7, -0x27c(%rbp)
movl %ecx, -0x280(%rbp)
movq %rax, -0x288(%rbp)
movl -0x27c(%rbp), %ecx
movq -0x288(%rbp), %rax
movl %ecx, -0x184(%rbp)
movl $0x0, -0x188(%rbp)
movq %rax, -0x190(%rbp)
movl -0x184(%rbp), %edi
movl -0x188(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x190(%rbp), %rax
movl %ecx, -0xa4(%rbp)
movq %rax, -0xb0(%rbp)
movl -0xa4(%rbp), %edi
movq -0xb0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x288(%rbp)
movl -0x280(%rbp), %ecx
movq -0x288(%rbp), %rax
movl %ecx, -0x114(%rbp)
movq %rax, -0x120(%rbp)
movl -0x114(%rbp), %edi
movq -0x120(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x48613
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d7b0
movl %eax, %ecx
movq -0x2d8(%rbp), %rax
movl $0x8, -0x28c(%rbp)
movl %ecx, -0x290(%rbp)
movq %rax, -0x298(%rbp)
movl -0x28c(%rbp), %ecx
movq -0x298(%rbp), %rax
movl %ecx, -0x174(%rbp)
movl $0x0, -0x178(%rbp)
movq %rax, -0x180(%rbp)
movl -0x174(%rbp), %edi
movl -0x178(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x180(%rbp), %rax
movl %ecx, -0xb4(%rbp)
movq %rax, -0xc0(%rbp)
movl -0xb4(%rbp), %edi
movq -0xc0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x298(%rbp)
movl -0x290(%rbp), %ecx
movq -0x298(%rbp), %rax
movl %ecx, -0x104(%rbp)
movq %rax, -0x110(%rbp)
movl -0x104(%rbp), %edi
movq -0x110(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
je 0x48704
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d7d0
movl %eax, %ecx
movq -0x2d8(%rbp), %rax
movl $0x9, -0x29c(%rbp)
movl %ecx, -0x2a0(%rbp)
movq %rax, -0x2a8(%rbp)
movl -0x29c(%rbp), %ecx
movq -0x2a8(%rbp), %rax
movl %ecx, -0x164(%rbp)
movl $0x0, -0x168(%rbp)
movq %rax, -0x170(%rbp)
movl -0x164(%rbp), %edi
movl -0x168(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x170(%rbp), %rax
movl %ecx, -0xc4(%rbp)
movq %rax, -0xd0(%rbp)
movl -0xc4(%rbp), %edi
movq -0xd0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2a8(%rbp)
movl -0x2a0(%rbp), %ecx
movq -0x2a8(%rbp), %rax
movl %ecx, -0xf4(%rbp)
movq %rax, -0x100(%rbp)
movl -0xf4(%rbp), %edi
movq -0x100(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movl -0x2e4(%rbp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x487f5
movq -0x2e0(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0x5f2c0
movq -0x2f0(%rbp), %rdi
movq %rax, -0x2d8(%rbp)
callq 0x2d7f0
movl %eax, %ecx
movq -0x2d8(%rbp), %rax
movl $0xa, -0x2ac(%rbp)
movl %ecx, -0x2b0(%rbp)
movq %rax, -0x2b8(%rbp)
movl -0x2ac(%rbp), %ecx
movq -0x2b8(%rbp), %rax
movl %ecx, -0x154(%rbp)
movl $0x0, -0x158(%rbp)
movq %rax, -0x160(%rbp)
movl -0x154(%rbp), %edi
movl -0x158(%rbp), %esi
callq 0x65ca0
movl %eax, %ecx
movq -0x160(%rbp), %rax
movl %ecx, -0xd4(%rbp)
movq %rax, -0xe0(%rbp)
movl -0xd4(%rbp), %edi
movq -0xe0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2b8(%rbp)
movl -0x2b0(%rbp), %ecx
movq -0x2b8(%rbp), %rax
movl %ecx, -0xe4(%rbp)
movq %rax, -0xf0(%rbp)
movl -0xe4(%rbp), %edi
movq -0xf0(%rbp), %rsi
callq 0x65cc0
movq %rax, -0x2d8(%rbp)
movq -0x2f0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x248(%rbp)
movq -0x248(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x488bd
movq -0x2f0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x238(%rbp)
movq 0x49741(%rip), %rax     # 0x91f80
movq %rax, -0x240(%rbp)
movq -0x238(%rbp), %rax
movq %rax, -0x2f8(%rbp)
movq %rax, -0x228(%rbp)
movq -0x228(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x4888f
movq -0x2f8(%rbp), %rdi
callq 0x66310
addq $0x8, %rax
movq %rax, -0x230(%rbp)
jmp 0x4889c
callq *-0x240(%rbp)
movq %rax, -0x230(%rbp)
movq -0x230(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
movq -0x2e0(%rbp), %rdx
callq 0xe3b0
movq %rax, -0x2d8(%rbp)
movq -0x2d8(%rbp), %rax
addq $0x300, %rsp            # imm = 0x300
popq %rbp
retq
nopl (%rax)