// File: /workspace/github_cpp_makefile_star2_O2/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::PulseState::MergeFrom(Rnes::PulseState const&)
void PulseState::MergeFrom(const PulseState& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Rnes.PulseState)
  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 & 0x000000ffu) {
    if (cached_has_bits & 0x00000001u) {
      lengthcounter_ = from.lengthcounter_;
    }
    if (cached_has_bits & 0x00000002u) {
      envelope_ = from.envelope_;
    }
    if (cached_has_bits & 0x00000004u) {
      envelopedivider_ = from.envelopedivider_;
    }
    if (cached_has_bits & 0x00000008u) {
      primary_ = from.primary_;
    }
    if (cached_has_bits & 0x00000010u) {
      resetenvelopeanddivider_ = from.resetenvelopeanddivider_;
    }
    if (cached_has_bits & 0x00000020u) {
      resetsweepdivider_ = from.resetsweepdivider_;
    }
    if (cached_has_bits & 0x00000040u) {
      sweepdivider_ = from.sweepdivider_;
    }
    if (cached_has_bits & 0x00000080u) {
      currentsample_ = from.currentsample_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
  if (cached_has_bits & 0x00000300u) {
    if (cached_has_bits & 0x00000100u) {
      timerdivider_ = from.timerdivider_;
    }
    if (cached_has_bits & 0x00000200u) {
      sequenceroffset_ = from.sequenceroffset_;
    }
    _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 0x1ea1f
leaq 0xe39a(%rip), %rdx      # 0x2cd81
leaq -0x58(%rbp), %r15
pushq $0x3
popq %rsi
movq %r15, %rdi
movl $0x603, %ecx            # imm = 0x603
callq 0xb460
leaq 0xe38e(%rip), %rsi      # 0x2cd90
movq %r15, %rdi
callq 0xb980
leaq -0x19(%rbp), %rdi
movq %rax, %rsi
callq 0xb5e0
leaq -0x58(%rbp), %rdi
callq 0xb730
movq 0x8(%r14), %rsi
testb $0x1, %sil
je 0x1ea3a
leaq 0x8(%rbx), %rdi
andq $-0x2, %rsi
addq $0x8, %rsi
callq 0x291a6
movl 0x10(%r14), %eax
testb %al, %al
je 0x1ea9d
testb $0x1, %al
je 0x1ea4d
movl 0x18(%r14), %ecx
movl %ecx, 0x18(%rbx)
testb $0x2, %al
je 0x1ea58
movl 0x1c(%r14), %ecx
movl %ecx, 0x1c(%rbx)
testb $0x4, %al
je 0x1ea63
movl 0x20(%r14), %ecx
movl %ecx, 0x20(%rbx)
testb $0x8, %al
je 0x1ea6e
movb 0x24(%r14), %cl
movb %cl, 0x24(%rbx)
testb $0x10, %al
je 0x1ea79
movb 0x25(%r14), %cl
movb %cl, 0x25(%rbx)
testb $0x20, %al
je 0x1ea84
movb 0x26(%r14), %cl
movb %cl, 0x26(%rbx)
testb $0x40, %al
je 0x1ea8f
movl 0x28(%r14), %ecx
movl %ecx, 0x28(%rbx)
testb %al, %al
jns 0x1ea9a
movl 0x2c(%r14), %ecx
movl %ecx, 0x2c(%rbx)
orl %eax, 0x10(%rbx)
testw $0x300, %ax             # imm = 0x300
je 0x1eac0
btl $0x8, %eax
jae 0x1eab0
movl 0x30(%r14), %ecx
movl %ecx, 0x30(%rbx)
btl $0x9, %eax
jae 0x1eabd
movl 0x34(%r14), %ecx
movl %ecx, 0x34(%rbx)
orl %eax, 0x10(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1eacd
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xb730
movq %rbx, %rdi
callq 0xb4e0
nop