// File: /workspace/github_cpp_makefile_star2_O3/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 %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rdi), %r15
movq $0x0, 0x8(%rdi)
leaq 0x17b3a(%rip), %rax     # 0x46ac0
movq %rax, (%rdi)
movl 0x10(%rsi), %eax
movl %eax, 0x10(%rdi)
movl $0x0, 0x14(%rdi)
movq 0x8(%rsi), %rsi
testb $0x1, %sil
je 0x2efb0
andq $-0x2, %rsi
addq $0x8, %rsi
movq %r15, %rdi
callq 0x31dc8
movq 0x18009(%rip), %rax     # 0x46fc0
movq %rax, 0x18(%rbx)
movl 0x10(%r14), %eax
testb $0x1, %al
je 0x2efe1
leaq 0x18(%rbx), %rdi
movq 0x18(%r14), %rdx
movq (%r15), %rsi
testb $0x1, %sil
jne 0x2f3b9
callq 0x22bf0
movl 0x10(%r14), %eax
movl %eax, %ecx
shrb %cl
movq 0x20(%r14), %r15
testq %r15, %r15
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f03d
leaq 0x6f25(%rip), %rdx      # 0x35f22
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1ceb, %ecx           # imm = 0x1CEB
callq 0xa450
leaq 0x704f(%rip), %rsi      # 0x36069
movq %r15, %rdi
callq 0xa980
leaq -0x21(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x60(%rbp), %rdi
callq 0xa730
movq 0x20(%r14), %r15
jmp 0x2f041
testb $0x2, %al
je 0x2f063
movl $0x28, %edi
callq 0xa130
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x2e66e
movq %r12, 0x20(%rbx)
movl 0x10(%r14), %eax
jmp 0x2f06b
movq $0x0, 0x20(%rbx)
movl %eax, %ecx
shrb $0x2, %cl
movq 0x28(%r14), %r15
testq %r15, %r15
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f0c8
leaq 0x6e9a(%rip), %rdx      # 0x35f22
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1d3c, %ecx           # imm = 0x1D3C
callq 0xa450
leaq 0x6fee(%rip), %rsi      # 0x36093
movq %r15, %rdi
callq 0xa980
leaq -0x21(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x60(%rbp), %rdi
callq 0xa730
movq 0x28(%r14), %r15
jmp 0x2f0cc
testb $0x4, %al
je 0x2f0ee
movl $0x38, %edi
callq 0xa130
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x23980
movq %r12, 0x28(%rbx)
movl 0x10(%r14), %eax
jmp 0x2f0f6
movq $0x0, 0x28(%rbx)
movl %eax, %ecx
shrb $0x3, %cl
movq 0x30(%r14), %r15
testq %r15, %r15
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f153
leaq 0x6e0f(%rip), %rdx      # 0x35f22
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1d8d, %ecx           # imm = 0x1D8D
callq 0xa450
leaq 0x6f8d(%rip), %rsi      # 0x360bd
movq %r15, %rdi
callq 0xa980
leaq -0x21(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x60(%rbp), %rdi
callq 0xa730
movq 0x30(%r14), %r15
jmp 0x2f157
testb $0x8, %al
je 0x2f179
movl $0x70, %edi
callq 0xa130
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x26b2e
movq %r12, 0x30(%rbx)
movl 0x10(%r14), %eax
jmp 0x2f181
movq $0x0, 0x30(%rbx)
movl %eax, %ecx
shrb $0x4, %cl
movq 0x38(%r14), %r15
testq %r15, %r15
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f1de
leaq 0x6d84(%rip), %rdx      # 0x35f22
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1dde, %ecx           # imm = 0x1DDE
callq 0xa450
leaq 0x6f2c(%rip), %rsi      # 0x360e7
movq %r15, %rdi
callq 0xa980
leaq -0x21(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x60(%rbp), %rdi
callq 0xa730
movq 0x38(%r14), %r15
jmp 0x2f1e2
testb $0x10, %al
je 0x2f204
movl $0x78, %edi
callq 0xa130
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x28eaa
movq %r12, 0x38(%rbx)
movl 0x10(%r14), %eax
jmp 0x2f20c
movq $0x0, 0x38(%rbx)
movl %eax, %ecx
shrb $0x5, %cl
movq 0x40(%r14), %r15
testq %r15, %r15
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f269
leaq 0x6cf9(%rip), %rdx      # 0x35f22
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1e2f, %ecx           # imm = 0x1E2F
callq 0xa450
leaq 0x6ecb(%rip), %rsi      # 0x36111
movq %r15, %rdi
callq 0xa980
leaq -0x21(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x60(%rbp), %rdi
callq 0xa730
movq 0x40(%r14), %r15
jmp 0x2f26d
testb $0x20, %al
je 0x2f28f
movl $0x20, %edi
callq 0xa130
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x2cc32
movq %r12, 0x40(%rbx)
movl 0x10(%r14), %eax
jmp 0x2f297
movq $0x0, 0x40(%rbx)
movl %eax, %ecx
shrb $0x6, %cl
movq 0x48(%r14), %r15
testq %r15, %r15
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f2f4
leaq 0x6c6e(%rip), %rdx      # 0x35f22
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1e80, %ecx           # imm = 0x1E80
callq 0xa450
leaq 0x6e71(%rip), %rsi      # 0x36142
movq %r15, %rdi
callq 0xa980
leaq -0x21(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x60(%rbp), %rdi
callq 0xa730
movq 0x48(%r14), %r15
jmp 0x2f2f8
testb $0x40, %al
je 0x2f31a
movl $0x28, %edi
callq 0xa130
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x2d394
movq %r12, 0x48(%rbx)
movl 0x10(%r14), %eax
jmp 0x2f322
movq $0x0, 0x48(%rbx)
testb %al, %al
sets %cl
movq 0x50(%r14), %r15
testq %r15, %r15
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x2f37f
leaq 0x6be3(%rip), %rdx      # 0x35f22
leaq -0x60(%rbp), %r15
movq %r15, %rdi
movl $0x3, %esi
movl $0x1ed1, %ecx           # imm = 0x1ED1
callq 0xa450
leaq 0x6e13(%rip), %rsi      # 0x3616f
movq %r15, %rdi
callq 0xa980
leaq -0x21(%rbp), %rdi
movq %rax, %rsi
callq 0xa600
leaq -0x60(%rbp), %rdi
callq 0xa730
movq 0x50(%r14), %r15
jmp 0x2f383
testb %al, %al
jns 0x2f39d
movl $0x30, %edi
callq 0xa130
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x2dc3e
jmp 0x2f3a0
xorl %r12d, %r12d
movq %r12, 0x50(%rbx)
movq 0x58(%r14), %rax
movq %rax, 0x58(%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
andq $-0x2, %rsi
movq (%rsi), %rsi
jmp 0x2efd8
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
jmp 0x2f3df
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0xa730
jmp 0x2f431
movq %rax, %rbx
movl $0x30, %esi
jmp 0x2f429
jmp 0x2f421
movq %rax, %rbx
movl $0x20, %esi
jmp 0x2f429
movq %rax, %rbx
movl $0x78, %esi
jmp 0x2f429
movq %rax, %rbx
movl $0x70, %esi
jmp 0x2f429
movq %rax, %rbx
movl $0x38, %esi
jmp 0x2f429
movq %rax, %rbx
movl $0x28, %esi
movq %r12, %rdi
callq 0xa0e0
movq %rbx, %rdi
callq 0xa4d0
nop