// File: mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::MmcState_Mmc3State::MmcState_Mmc3State(Rnes::MmcState_Mmc3State const&)
MmcState_Mmc3State::MmcState_Mmc3State(const MmcState_Mmc3State& from)
  : ::PROTOBUF_NAMESPACE_ID::Message(),
      _has_bits_(from._has_bits_) {
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  bankregister_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
  if (from._internal_has_bankregister()) {
    bankregister_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_bankregister(),
      GetArena());
  }
  ::memcpy(&bankselectreg_, &from.bankselectreg_,
    static_cast<size_t>(reinterpret_cast<char*>(&irqpending_) -
    reinterpret_cast<char*>(&bankselectreg_)) + sizeof(irqpending_));
  // @@protoc_insertion_point(copy_constructor:Rnes.MmcState.Mmc3State)
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x50(%rbp)
movq %rsi, -0x58(%rbp)
movq -0x50(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x5ecc0
movq -0x78(%rbp), %rdi
leaq 0x3d675(%rip), %rax     # 0x91670
addq $0x10, %rax
movq %rax, (%rdi)
movq -0x58(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, 0x10(%rdi)
addq $0x14, %rdi
callq 0x5ec30
movq -0x78(%rbp), %rcx
addq $0x8, %rcx
movq -0x58(%rbp), %rax
addq $0x8, %rax
movq %rcx, -0x40(%rbp)
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
sete %al
movb %al, -0x65(%rbp)
movb -0x65(%rbp), %al
testb $0x1, %al
jne 0x54065
jmp 0x540e5
movq -0x48(%rbp), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x80(%rbp)
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x540ac
movq -0x80(%rbp), %rdi
callq 0x66310
addq $0x8, %rax
movq %rax, -0x20(%rbp)
jmp 0x540c6
movq -0x30(%rbp), %rax
callq *%rax
movq %rax, -0x88(%rbp)
jmp 0x540bb
movq -0x88(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rsi
movq -0x70(%rbp), %rdi
callq 0x66b40
jmp 0x540e3
jmp 0x540e5
jmp 0x540e7
movq -0x78(%rbp), %rax
addq $0x18, %rax
movq %rax, -0xa0(%rbp)
callq 0x442b0
movq %rax, -0x98(%rbp)
jmp 0x54104
movq -0x98(%rbp), %rsi
movq -0xa0(%rbp), %rdi
callq 0x61ae0
jmp 0x54119
movq -0x58(%rbp), %rdi
callq 0x61b00
movb %al, -0xa1(%rbp)
jmp 0x5412a
movb -0xa1(%rbp), %al
testb $0x1, %al
jne 0x54136
jmp 0x541b3
movq -0x78(%rbp), %rax
addq $0x18, %rax
movq %rax, -0xb8(%rbp)
callq 0x442b0
movq %rax, -0xb0(%rbp)
jmp 0x54153
movq -0x58(%rbp), %rdi
callq 0x447c0
movq %rax, -0xc0(%rbp)
jmp 0x54165
movq -0x78(%rbp), %rdi
callq 0x284d0
movq %rax, -0xc8(%rbp)
jmp 0x54177
movq -0xc8(%rbp), %rcx
movq -0xc0(%rbp), %rdx
movq -0xb0(%rbp), %rsi
movq -0xb8(%rbp), %rdi
callq 0x44250
jmp 0x5419a
jmp 0x541b3
movq -0x78(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
callq 0x5eca0
jmp 0x541e6
movq -0x78(%rbp), %rax
movq %rax, %rdi
addq $0x20, %rdi
movq -0x58(%rbp), %rsi
addq $0x20, %rsi
movq %rax, %rdx
addq $0x35, %rdx
addq $0x20, %rax
subq %rax, %rdx
addq $0x1, %rdx
callq 0xe0b0
addq $0xd0, %rsp
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0xe700
nop