// File: /workspace/github_cpp_makefile_star2_O3/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::VideoMemoryState::InternalSwap(Rnes::VideoMemoryState*)
void VideoMemoryState::InternalSwap(VideoMemoryState* other) {
  using std::swap;
  _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
  swap(_has_bits_[0], other->_has_bits_[0]);
  patterntablememory_.Swap(&other->patterntablememory_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  nametablememory_.Swap(&other->nametablememory_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  palettememory_.Swap(&other->palettememory_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %rax
movq %rax, -0x30(%rbp)
movq 0x8(%rdi), %r12
movq 0x8(%rsi), %rsi
testb $0x1, %r12b
jne 0x2e41d
testb $0x1, %sil
jne 0x2e427
movl 0x10(%r14), %eax
movl 0x10(%rbx), %ecx
movl %ecx, 0x10(%r14)
movl %eax, 0x10(%rbx)
jmp 0x2e454
testb $0x1, %sil
je 0x2e60a
andq $-0x2, %rsi
addq $0x8, %rsi
movq -0x30(%rbp), %rdi
callq 0x31e36
movq 0x8(%r14), %r12
movl 0x10(%r14), %eax
movl 0x10(%rbx), %ecx
movl %ecx, 0x10(%r14)
movl %eax, 0x10(%rbx)
testb $0x1, %r12b
jne 0x2e5da
xorl %eax, %eax
movq %r12, %r8
movq %rbx, -0x38(%rbp)
leaq 0x18(%rbx), %r15
movq 0x18(%r14), %r13
cmpq 0x18b54(%rip), %r13     # 0x46fc0
jne 0x2e499
movq (%r15), %rcx
cmpq 0x18b48(%rip), %rcx     # 0x46fc0
je 0x2e4cf
leaq 0x18(%r14), %rbx
movq 0x18b3b(%rip), %rdx     # 0x46fc0
movq %rbx, %rdi
movq %r8, %rsi
movq %r8, %r12
callq 0x22bf0
movq %r12, %r8
movq (%rbx), %r13
movq (%r15), %rsi
cmpq 0x18b1d(%rip), %rsi     # 0x46fc0
jne 0x2e4ba
movq 0x18b14(%rip), %rdx     # 0x46fc0
movq %r15, %rdi
movq %r8, %rsi
callq 0x22bf0
movq (%r15), %rsi
movq %r13, %rdi
callq 0xa940
movq -0x30(%rbp), %rax
movq (%rax), %r12
movl %r12d, %eax
andl $0x1, %eax
leaq 0x20(%r14), %r13
movq %r12, %r8
testq %rax, %rax
jne 0x2e5ee
movq -0x38(%rbp), %rcx
leaq 0x20(%rcx), %r15
movq (%r13), %rbx
cmpq 0x18ace(%rip), %rbx     # 0x46fc0
jne 0x2e51c
movq (%r15), %rcx
cmpq 0x18ac2(%rip), %rcx     # 0x46fc0
je 0x2e552
movq 0x18ab9(%rip), %rdx     # 0x46fc0
movq %r13, %rdi
movq %r8, %rsi
movq %r8, %rbx
callq 0x22bf0
movq %rbx, %r8
movq (%r13), %rbx
movq (%r15), %rsi
cmpq 0x18a9a(%rip), %rsi     # 0x46fc0
jne 0x2e53d
movq 0x18a91(%rip), %rdx     # 0x46fc0
movq %r15, %rdi
movq %r8, %rsi
callq 0x22bf0
movq (%r15), %rsi
movq %rbx, %rdi
callq 0xa940
movq -0x30(%rbp), %rax
movq (%rax), %r12
movl %r12d, %eax
andl $0x1, %eax
addq $0x28, %r14
testq %rax, %rax
jne 0x2e5fd
movq -0x38(%rbp), %r15
addq $0x28, %r15
movq (%r14), %rbx
cmpq 0x18a4f(%rip), %rbx     # 0x46fc0
jne 0x2e594
movq (%r15), %rax
cmpq 0x18a43(%rip), %rax     # 0x46fc0
je 0x2e5cb
movq 0x18a3a(%rip), %rdx     # 0x46fc0
movq %r14, %rdi
movq %r12, %rsi
callq 0x22bf0
movq (%r14), %rbx
movq (%r15), %rsi
cmpq 0x18a22(%rip), %rsi     # 0x46fc0
jne 0x2e5b5
movq 0x18a19(%rip), %rdx     # 0x46fc0
movq %r15, %rdi
movq %r12, %rsi
callq 0x22bf0
movq (%r15), %rsi
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa940
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rax
andq $-0x2, %rax
movq (%rax), %r8
movl $0x1, %eax
jmp 0x2e459
movq %r12, %rcx
andq $-0x2, %rcx
movq (%rcx), %r8
jmp 0x2e4df
andq $-0x2, %r12
movq (%r12), %r12
jmp 0x2e55f
leaq 0x8(%rbx), %rdi
callq 0x31c54
movq %rax, %rsi
jmp 0x2e42f
nop