// File: mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::MmcState_Mmc3State::InternalSwap(Rnes::MmcState_Mmc3State*)
void MmcState_Mmc3State::InternalSwap(MmcState_Mmc3State* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  bankregister_.Swap(&other->bankregister_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
      PROTOBUF_FIELD_OFFSET(MmcState_Mmc3State, irqpending_)
      + sizeof(MmcState_Mmc3State::irqpending_)
      - PROTOBUF_FIELD_OFFSET(MmcState_Mmc3State, bankselectreg_)>(
          reinterpret_cast<char*>(&bankselectreg_),
          reinterpret_cast<char*>(&other->bankselectreg_));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0xa8(%rbp)
movq %rsi, -0xb0(%rbp)
movq -0xa8(%rbp), %rcx
movq %rcx, -0xc0(%rbp)
addq $0x8, %rcx
movq -0xb0(%rbp), %rax
addq $0x8, %rax
movq %rcx, -0x78(%rbp)
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
je 0x556e5
movq -0x80(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x55751
movq -0x80(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
sete %al
testb $0x1, %al
jne 0x5571b
jmp 0x55731
movq -0xc8(%rbp), %rdi
callq 0x66310
addq $0x8, %rax
movq %rax, -0x68(%rbp)
jmp 0x55741
movq -0xc8(%rbp), %rdi
callq 0x66330
movq %rax, -0x68(%rbp)
movq -0xb8(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x66c30
movq -0xc0(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x88(%rbp)
movl $0x0, -0x8c(%rbp)
movq -0x88(%rbp), %rdi
movslq -0x8c(%rbp), %rax
shlq $0x2, %rax
addq %rax, %rdi
movq -0xb0(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x98(%rbp)
movl $0x0, -0x9c(%rbp)
movq -0x98(%rbp), %rsi
movslq -0x9c(%rbp), %rax
shlq $0x2, %rax
addq %rax, %rsi
callq 0x5f3c0
movq -0xc0(%rbp), %rax
addq $0x18, %rax
movq %rax, -0xe8(%rbp)
movq -0xb0(%rbp), %rax
addq $0x18, %rax
movq %rax, -0xe0(%rbp)
callq 0x442b0
movq -0xc0(%rbp), %rdi
movq %rax, -0xd8(%rbp)
callq 0x284d0
movq -0xe8(%rbp), %rsi
movq -0xe0(%rbp), %rdx
movq -0xd8(%rbp), %rcx
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %rax, -0x38(%rbp)
movq -0x20(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
movq -0x30(%rbp), %rsi
callq 0x66070
testb $0x1, %al
jne 0x55833
jmp 0x55848
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x66070
testb $0x1, %al
jne 0x55846
jmp 0x55848
jmp 0x55882
movq -0xd0(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
callq 0x65ff0
movq %rax, -0x40(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
movq -0x38(%rbp), %rdx
callq 0x65ff0
movq %rax, -0x48(%rbp)
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rsi
callq 0xec90
movq -0xc0(%rbp), %rdi
addq $0x20, %rdi
movq -0xb0(%rbp), %rsi
addq $0x20, %rsi
callq 0x61f50
addq $0xf0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)