// File: /workspace/github_cpp_makefile_star2_O2/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::SaveState::SaveState(Rnes::SaveState const&)
SaveState::SaveState(const SaveState& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  savedate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  if (from._internal_has_savedate()) {
    savedate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_savedate(),
      GetArena());
  }
  if (from._internal_has_dma()) {
    dma_ = new ::Rnes::DmaState(*from.dma_);
  } else {
    dma_ = nullptr;
  }
  if (from._internal_has_cpu()) {
    cpu_ = new ::Rnes::CpuState(*from.cpu_);
  } else {
    cpu_ = nullptr;
  }
  if (from._internal_has_apu()) {
    apu_ = new ::Rnes::ApuState(*from.apu_);
  } else {
    apu_ = nullptr;
  }
  if (from._internal_has_ppu()) {
    ppu_ = new ::Rnes::PpuState(*from.ppu_);
  } else {
    ppu_ = nullptr;
  }
  if (from._internal_has_controller()) {
    controller_ = new ::Rnes::ControllerState(*from.controller_);
  } else {
    controller_ = nullptr;
  }
  if (from._internal_has_cpumem()) {
    cpumem_ = new ::Rnes::CpuMemoryState(*from.cpumem_);
  } else {
    cpumem_ = nullptr;
  }
  if (from._internal_has_vidmem()) {
    vidmem_ = new ::Rnes::VideoMemoryState(*from.vidmem_);
  } else {
    vidmem_ = nullptr;
  }
  gametime_ = from.gametime_;
  // @@protoc_insertion_point(copy_constructor:Rnes.SaveState)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
andq $0x0, 0x8(%rdi)
movq %rsi, %r14
leaq 0x1b8ec(%rip), %rax     # 0x40ad0
movq %rax, (%rdi)
movl 0x10(%rsi), %eax
movl %eax, 0x10(%rdi)
andl $0x0, 0x14(%rdi)
leaq 0x8(%rdi), %r15
movq 0x8(%rsi), %rsi
testb $0x1, %sil
je 0x2520f
andq $-0x2, %rsi
addq $0x8, %rsi
movq %r15, %rdi
callq 0x291a6
movq 0x1bdba(%rip), %rax     # 0x40fd0
movq %rax, 0x18(%rbx)
testb $0x1, 0x10(%r14)
je 0x25241
leaq 0x18(%rbx), %rdi
movq 0x18(%r14), %rdx
movq (%r15), %rcx
testb $0x1, %cl
jne 0x25388
movq 0x1bd94(%rip), %rsi     # 0x40fd0
callq 0x1d09c
movq %r14, %rdi
callq 0x27f42
testb %al, %al
je 0x25266
pushq $0x28
popq %rdi
callq 0xb140
movq %rax, %r15
movq 0x20(%r14), %rsi
movq %rax, %rdi
callq 0x24b7c
jmp 0x25269
xorl %r15d, %r15d
movq %r15, 0x20(%rbx)
movq %r14, %rdi
callq 0x27fc2
testb %al, %al
je 0x25292
pushq $0x38
popq %rdi
callq 0xb140
movq %rax, %r15
movq 0x28(%r14), %rsi
movq %rax, %rdi
callq 0x1dbc4
jmp 0x25295
xorl %r15d, %r15d
movq %r15, 0x28(%rbx)
movq %r14, %rdi
callq 0x28042
testb %al, %al
je 0x252be
pushq $0x70
popq %rdi
callq 0xb140
movq %rax, %r15
movq 0x30(%r14), %rsi
movq %rax, %rdi
callq 0x1fad2
jmp 0x252c1
xorl %r15d, %r15d
movq %r15, 0x30(%rbx)
movq %r14, %rdi
callq 0x280c2
testb %al, %al
je 0x252ea
pushq $0x78
popq %rdi
callq 0xb140
movq %rax, %r15
movq 0x38(%r14), %rsi
movq %rax, %rdi
callq 0x21014
jmp 0x252ed
xorl %r15d, %r15d
movq %r15, 0x38(%rbx)
movq %r14, %rdi
callq 0x28142
testb %al, %al
je 0x25316
pushq $0x20
popq %rdi
callq 0xb140
movq %rax, %r15
movq 0x40(%r14), %rsi
movq %rax, %rdi
callq 0x2376a
jmp 0x25319
xorl %r15d, %r15d
movq %r15, 0x40(%rbx)
movq %r14, %rdi
callq 0x281c2
testb %al, %al
je 0x25342
pushq $0x28
popq %rdi
callq 0xb140
movq %rax, %r15
movq 0x48(%r14), %rsi
movq %rax, %rdi
callq 0x23c9c
jmp 0x25345
xorl %r15d, %r15d
movq %r15, 0x48(%rbx)
movq %r14, %rdi
callq 0x28242
testb %al, %al
je 0x2536e
pushq $0x30
popq %rdi
callq 0xb140
movq %rax, %r15
movq 0x50(%r14), %rsi
movq %rax, %rdi
callq 0x2437a
jmp 0x25371
xorl %r15d, %r15d
movq %r15, 0x50(%rbx)
movq 0x58(%r14), %rax
movq %rax, 0x58(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
andq $-0x2, %rcx
movq (%rcx), %rcx
jmp 0x25235
movq %rax, %rbx
pushq $0x30
jmp 0x253be
jmp 0x253b9
movq %rax, %rbx
pushq $0x20
jmp 0x253be
movq %rax, %rbx
pushq $0x78
jmp 0x253be
movq %rax, %rbx
pushq $0x70
jmp 0x253be
movq %rax, %rbx
pushq $0x38
jmp 0x253be
movq %rax, %rbx
pushq $0x28
popq %rsi
movq %r15, %rdi
callq 0xb0f0
movq %rbx, %rdi
callq 0xb4e0
nop