// File: /workspace/github_cpp_makefile_star2_O2/mindbeast[P]rnes/bin/save.pb.cc
// Function: Rnes::MmcState::_InternalParse(char const*, google::protobuf::internal::ParseContext*)
const char* MmcState::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  _Internal::HasBits has_bits{};
  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
  while (!ctx->Done(&ptr)) {
    ::PROTOBUF_NAMESPACE_ID::uint32 tag;
    ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
    CHK_(ptr);
    switch (tag >> 3) {
      // optional .Rnes.MmcState.MmcNoneState mmcNone = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_mmcnone(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // optional .Rnes.MmcState.Mmc1State mmc1 = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
          ptr = ctx->ParseMessage(_internal_mutable_mmc1(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // optional .Rnes.MmcState.Mmc3State mmc3 = 3;
      case 3:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
          ptr = ctx->ParseMessage(_internal_mutable_mmc3(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      default: {
      handle_unusual:
        if ((tag & 7) == 4 || tag == 0) {
          ctx->SetLastTag(tag);
          goto success;
        }
        ptr = UnknownFieldParse(tag,
            _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
            ptr, ctx);
        CHK_(ptr != nullptr);
        continue;
      }
    }  // switch
  }  // while
success:
  _has_bits_.Or(has_bits);
  return ptr;
failure:
  ptr = nullptr;
  goto success;
#undef CHK_
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rdi, %r14
leaq -0x30(%rbp), %r15
movq %rsi, (%r15)
leaq 0x8(%rdi), %rax
movq %rax, -0x40(%rbp)
leaq -0x34(%rbp), %r13
movq %rbx, %rdi
movq %r15, %rsi
callq 0x26780
testb %al, %al
jne 0x23328
movq -0x30(%rbp), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x2678d
movq %rax, -0x30(%rbp)
testq %rax, %rax
je 0x23344
movl -0x34(%rbp), %r12d
movl %r12d, %ecx
shrl $0x3, %ecx
cmpl $0x3, %ecx
je 0x232b5
cmpl $0x2, %ecx
je 0x23296
cmpl $0x1, %ecx
jne 0x232d4
cmpb $0xa, %r12b
jne 0x232d4
movq %r14, %rdi
callq 0x27832
movq -0x30(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x277b4
jmp 0x23307
cmpb $0x12, %r12b
jne 0x232d4
movq %r14, %rdi
callq 0x1d028
movq -0x30(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2786c
jmp 0x23307
cmpb $0x1a, %r12b
jne 0x232d4
movq %r14, %rdi
callq 0x1d062
movq -0x30(%rbp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x278ea
jmp 0x23307
testq %r12, %r12
je 0x2333b
movl %r12d, %ecx
andl $0x7, %ecx
cmpl $0x4, %ecx
je 0x2333b
movq -0x40(%rbp), %rcx
movq (%rcx), %rsi
testb $0x1, %sil
je 0x23316
andq $-0x2, %rsi
addq $0x8, %rsi
movq %r12, %rdi
movq %rax, %rdx
movq %rbx, %rcx
callq 0xb300
movq %rax, -0x30(%rbp)
testq %rax, %rax
jne 0x23230
jmp 0x23344
movq -0x40(%rbp), %rdi
callq 0x28ff8
movq %rax, %rsi
movq -0x30(%rbp), %rax
jmp 0x232f9
movq -0x30(%rbp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
decl %r12d
movl %r12d, 0x50(%rbx)
jmp 0x2332c
xorl %eax, %eax
jmp 0x2332c