// File: /workspace/github_cpp_makefile_star2_O2/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 0x24989
testb $0x1, %sil
jne 0x24993
xorl %eax, %eax
jmp 0x249b0
testb $0x1, %sil
je 0x24b3a
andq $-0x2, %rsi
addq $0x8, %rsi
movq -0x30(%rbp), %r15
movq %r15, %rdi
callq 0x2920c
movq (%r15), %r12
movl %r12d, %eax
andl $0x1, %eax
movl 0x10(%r14), %ecx
movl 0x10(%rbx), %edx
movl %edx, 0x10(%r14)
movl %ecx, 0x10(%rbx)
leaq 0x18(%r14), %rdi
movq %r12, %r13
testq %rax, %rax
jne 0x24b0f
movq %rbx, -0x38(%rbp)
leaq 0x18(%rbx), %r15
movq (%rdi), %rcx
cmpq 0x1c5f0(%rip), %rcx     # 0x40fd0
jne 0x249ee
movq (%r15), %rcx
cmpq 0x1c5e4(%rip), %rcx     # 0x40fd0
je 0x24a29
movq 0x1c5db(%rip), %r12     # 0x40fd0
movq %r12, %rsi
movq %r13, %rdx
callq 0x28f3c
movq %rax, %rbx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x28f3c
movq %rbx, %rdi
movq %rax, %rsi
callq 0xb930
movq -0x30(%rbp), %rax
movq (%rax), %r12
movl %r12d, %eax
andl $0x1, %eax
leaq 0x20(%r14), %rdi
movq %r12, %r13
testq %rax, %rax
jne 0x24b1e
movq -0x38(%rbp), %rcx
leaq 0x20(%rcx), %r15
movq (%rdi), %rcx
cmpq 0x1c585(%rip), %rcx     # 0x40fd0
jne 0x24a59
movq (%r15), %rcx
cmpq 0x1c579(%rip), %rcx     # 0x40fd0
je 0x24a94
movq 0x1c570(%rip), %rbx     # 0x40fd0
movq %rbx, %rsi
movq %r13, %rdx
callq 0x28f3c
movq %rax, %r12
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x28f3c
movq %r12, %rdi
movq %rax, %rsi
callq 0xb930
movq -0x30(%rbp), %rax
movq (%rax), %r12
movl %r12d, %eax
andl $0x1, %eax
addq $0x28, %r14
testq %rax, %rax
jne 0x24b2d
movq -0x38(%rbp), %r15
addq $0x28, %r15
movq (%r14), %rax
cmpq 0x1c51d(%rip), %rax     # 0x40fd0
jne 0x24ac1
movq (%r15), %rax
cmpq 0x1c511(%rip), %rax     # 0x40fd0
je 0x24b00
movq 0x1c508(%rip), %rbx     # 0x40fd0
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x28f3c
movq %rax, %r14
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x28f3c
movq %r14, %rdi
movq %rax, %rsi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xb930
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rcx
andq $-0x2, %rcx
movq (%rcx), %r13
jmp 0x249ce
movq %r12, %rcx
andq $-0x2, %rcx
movq (%rcx), %r13
jmp 0x24a39
andq $-0x2, %r12
movq (%r12), %r12
jmp 0x24aa1
leaq 0x8(%rbx), %rdi
callq 0x28ff8
movq %rax, %rsi
jmp 0x2499b
nop