// File: mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::VideoMemoryState::MergeFrom(Rnes::VideoMemoryState const&)
void VideoMemoryState::MergeFrom(const VideoMemoryState& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:Rnes.VideoMemoryState)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 0x00000007u) {
    if (cached_has_bits & 0x00000001u) {
      _internal_set_patterntablememory(from._internal_patterntablememory());
    }
    if (cached_has_bits & 0x00000002u) {
      _internal_set_nametablememory(from._internal_nametablememory());
    }
    if (cached_has_bits & 0x00000004u) {
      _internal_set_palettememory(from._internal_palettememory());
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x60(%rbp)
movq %rsi, -0x68(%rbp)
movq -0x60(%rbp), %rcx
movq %rcx, -0xc8(%rbp)
movq -0x68(%rbp), %rax
movb $0x0, -0xa1(%rbp)
cmpq %rcx, %rax
je 0x59b70
jmp 0x59bce
leaq 0x115ba(%rip), %rdx     # 0x6b131
leaq -0xa0(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
movl $0x3, %esi
movl $0x175c, %ecx           # imm = 0x175C
callq 0xe690
movq -0xd8(%rbp), %rdi
movb $0x1, -0xa1(%rbp)
leaq 0x11597(%rip), %rsi     # 0x6b140
callq 0xed00
movq %rax, -0xd0(%rbp)
jmp 0x59bb7
movq -0xd0(%rbp), %rsi
leaq -0xb5(%rbp), %rdi
callq 0xe820
jmp 0x59bcc
jmp 0x59bce
testb $0x1, -0xa1(%rbp)
jne 0x59bd9
jmp 0x59be5
leaq -0xa0(%rbp), %rdi
callq 0xe9d0
movq -0xc8(%rbp), %rcx
addq $0x8, %rcx
movq -0x68(%rbp), %rax
addq $0x8, %rax
movq %rcx, -0x50(%rbp)
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x58(%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
jne 0x59c8f
movq -0x58(%rbp), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xe8(%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 0x59c78
movq -0xe8(%rbp), %rdi
callq 0x66310
addq $0x8, %rax
movq %rax, -0x20(%rbp)
jmp 0x59c7f
callq *-0x30(%rbp)
movq %rax, -0x20(%rbp)
movq -0xe0(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x66b40
movl $0x0, -0xbc(%rbp)
movq -0x68(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x40(%rbp)
movl $0x0, -0x44(%rbp)
movq -0x40(%rbp), %rax
movslq -0x44(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xbc(%rbp)
movl -0xbc(%rbp), %eax
andl $0x7, %eax
cmpl $0x0, %eax
je 0x59d70
movl -0xbc(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x59d22
movq -0x68(%rbp), %rdi
callq 0x45900
movq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x63460
jmp 0x59d22
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
testb $0x1, -0xa1(%rbp)
jne 0x59d14
jmp 0x59d20
leaq -0xa0(%rbp), %rdi
callq 0xe9d0
jmp 0x59d79
movl -0xbc(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x59d48
movq -0x68(%rbp), %rdi
callq 0x45920
movq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x634e0
movl -0xbc(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x59d6e
movq -0x68(%rbp), %rdi
callq 0x45940
movq -0xc8(%rbp), %rdi
movq %rax, %rsi
callq 0x63560
jmp 0x59d70
addq $0xf0, %rsp
popq %rbp
retq
movq -0xb0(%rbp), %rdi
callq 0xe700
nopw %cs:(%rax,%rax)