// File: /workspace/github_cpp_makefile_star2_O2/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::SaveState::MergeFrom(Rnes::SaveState const&)
void SaveState::MergeFrom(const SaveState& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Rnes.SaveState)
  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) {
      _internal_set_savedate(from._internal_savedate());
    }
    if (cached_has_bits & 0x00000002u) {
      _internal_mutable_dma()->::Rnes::DmaState::MergeFrom(from._internal_dma());
    }
    if (cached_has_bits & 0x00000004u) {
      _internal_mutable_cpu()->::Rnes::CpuState::MergeFrom(from._internal_cpu());
    }
    if (cached_has_bits & 0x00000008u) {
      _internal_mutable_apu()->::Rnes::ApuState::MergeFrom(from._internal_apu());
    }
    if (cached_has_bits & 0x00000010u) {
      _internal_mutable_ppu()->::Rnes::PpuState::MergeFrom(from._internal_ppu());
    }
    if (cached_has_bits & 0x00000020u) {
      _internal_mutable_controller()->::Rnes::ControllerState::MergeFrom(from._internal_controller());
    }
    if (cached_has_bits & 0x00000040u) {
      _internal_mutable_cpumem()->::Rnes::CpuMemoryState::MergeFrom(from._internal_cpumem());
    }
    if (cached_has_bits & 0x00000080u) {
      _internal_mutable_vidmem()->::Rnes::VideoMemoryState::MergeFrom(from._internal_vidmem());
    }
  }
  if (cached_has_bits & 0x00000100u) {
    _internal_set_gametime(from._internal_gametime());
  }
}

// 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 0x25dbd
leaq 0x6ffc(%rip), %rdx      # 0x2cd81
leaq -0x58(%rbp), %r15
pushq $0x3
popq %rsi
movq %r15, %rdi
movl $0x1aa8, %ecx           # imm = 0x1AA8
callq 0xb460
leaq 0x6ff0(%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 0x25dd8
leaq 0x8(%rbx), %rdi
andq $-0x2, %rsi
addq $0x8, %rsi
callq 0x291a6
movl 0x10(%r14), %r15d
testb %r15b, %r15b
je 0x25f0e
testb $0x1, %r15b
je 0x25df7
movq 0x18(%r14), %rsi
movq %rbx, %rdi
callq 0x289f8
testb $0x2, %r15b
je 0x25e1f
movq %rbx, %rdi
callq 0x1bb98
movq 0x20(%r14), %rcx
testq %rcx, %rcx
leaq 0x1bd05(%rip), %rsi     # 0x41b18
cmovneq %rcx, %rsi
movq %rax, %rdi
callq 0x24f64
testb $0x4, %r15b
je 0x25e47
movq %rbx, %rdi
callq 0x1bbd2
movq 0x28(%r14), %rcx
testq %rcx, %rcx
leaq 0x1b9cd(%rip), %rsi     # 0x41808
cmovneq %rcx, %rsi
movq %rax, %rdi
callq 0x1e15c
testb $0x8, %r15b
je 0x25e6f
movq %rbx, %rdi
callq 0x1bc0c
movq 0x30(%r14), %rcx
testq %rcx, %rcx
leaq 0x1ba7d(%rip), %rsi     # 0x418e0
cmovneq %rcx, %rsi
movq %rax, %rdi
callq 0x206c4
testb $0x10, %r15b
je 0x25e97
movq %rbx, %rdi
callq 0x1bc46
movq 0x38(%r14), %rcx
testq %rcx, %rcx
leaq 0x1baed(%rip), %rsi     # 0x41978
cmovneq %rcx, %rsi
movq %rax, %rdi
callq 0x2198c
testb $0x20, %r15b
je 0x25ebf
movq %rbx, %rdi
callq 0x1bc80
movq 0x40(%r14), %rcx
testq %rcx, %rcx
leaq 0x1bbed(%rip), %rsi     # 0x41aa0
cmovneq %rcx, %rsi
movq %rax, %rdi
callq 0x23afa
testb $0x40, %r15b
je 0x25ee7
movq %rbx, %rdi
callq 0x1bcba
movq 0x48(%r14), %rcx
testq %rcx, %rcx
leaq 0x1bbe5(%rip), %rsi     # 0x41ac0
cmovneq %rcx, %rsi
movq %rax, %rdi
callq 0x240c4
testb %r15b, %r15b
jns 0x25f0e
movq %rbx, %rdi
callq 0x1bcf4
movq 0x50(%r14), %rcx
testq %rcx, %rcx
leaq 0x1bbe6(%rip), %rsi     # 0x41ae8
cmovneq %rcx, %rsi
movq %rax, %rdi
callq 0x24826
btl $0x8, %r15d
jae 0x25f24
movq 0x58(%r14), %rax
orl $0x100, 0x10(%rbx)      # imm = 0x100
movq %rax, 0x58(%rbx)
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x25f31
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0xb730
movq %rbx, %rdi
callq 0xb4e0
nop