// File: /workspace/github_cpp_makefile_star2_O1/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 0x26237
leaq 0x10a94(%rip), %rdx     # 0x36c91
leaq -0x58(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x603, %ecx            # imm = 0x603
callq 0xb450
leaq 0x10a86(%rip), %rsi     # 0x36ca0
movq %r15, %rdi
callq 0xb980
leaq -0x19(%rbp), %rdi
movq %rax, %rsi
callq 0xb600
leaq -0x58(%rbp), %rdi
callq 0xb730
cmpq %rbx, %r14
movq 0x8(%r14), %rsi
testb $0x1, %sil
je 0x26255
leaq 0x8(%rbx), %rdi
andq $-0x2, %rsi
addq $0x8, %rsi
callq 0x331ee
movl 0x10(%r14), %eax
testb %al, %al
je 0x262b8
testb $0x1, %al
je 0x26268
movl 0x18(%r14), %ecx
movl %ecx, 0x18(%rbx)
testb $0x2, %al
je 0x26273
movl 0x1c(%r14), %ecx
movl %ecx, 0x1c(%rbx)
testb $0x4, %al
je 0x2627e
movl 0x20(%r14), %ecx
movl %ecx, 0x20(%rbx)
testb $0x8, %al
je 0x26289
movb 0x24(%r14), %cl
movb %cl, 0x24(%rbx)
testb $0x10, %al
je 0x26294
movb 0x25(%r14), %cl
movb %cl, 0x25(%rbx)
testb $0x20, %al
je 0x2629f
movb 0x26(%r14), %cl
movb %cl, 0x26(%rbx)
testb $0x40, %al
je 0x262aa
movl 0x28(%r14), %ecx
movl %ecx, 0x28(%rbx)
testb %al, %al
jns 0x262b5
movl 0x2c(%r14), %ecx
movl %ecx, 0x2c(%rbx)
orl %eax, 0x10(%rbx)
testl $0x300, %eax            # imm = 0x300
je 0x262dc
btl $0x8, %eax
jae 0x262cc
movl 0x30(%r14), %ecx
movl %ecx, 0x30(%rbx)
btl $0x9, %eax
jae 0x262d9
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 0x262e9
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xb730
movq %rbx, %rdi
callq 0xb4d0
nop