// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
leaq -0x30(%rbp), %rax
movq %rsi, (%rax)
movl 0x5c(%rdx), %edx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x31b9c
testb %al, %al
je 0x2c43c
movq -0x30(%rbp), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8(%r14), %r15
leaq -0x30(%rbp), %r12
movq -0x30(%rbp), %rdi
movzbl (%rdi), %r13d
leaq 0x1(%rdi), %rax
testb %r13b, %r13b
jns 0x2c473
movzbl (%rax), %eax
movl %eax, %ecx
shll $0x7, %ecx
addl %ecx, %r13d
addl $-0x80, %r13d
testb %al, %al
js 0x2c5b0
addq $0x2, %rdi
movq %rdi, %rax
movq %rax, -0x30(%rbp)
movl %r13d, %ecx
shrl $0x3, %ecx
cmpl $0x3, %ecx
je 0x2c517
cmpl $0x2, %ecx
je 0x2c4d9
cmpl $0x1, %ecx
jne 0x2c555
cmpb $0xa, %r13b
jne 0x2c555
orb $0x1, 0x10(%r14)
movq 0x18(%r14), %rsi
testq %rsi, %rsi
jne 0x2c4c9
movq (%r15), %rdi
testb $0x1, %dil
jne 0x2c5f2
callq 0x30b72
movq %rax, %rsi
movq %rax, 0x18(%r14)
movq -0x30(%rbp), %rax
movq %rbx, %rdi
movq %rax, %rdx
callq 0xad52
jmp 0x2c58c
cmpb $0x12, %r13b
jne 0x2c555
orb $0x2, 0x10(%r14)
movq 0x20(%r14), %rsi
testq %rsi, %rsi
jne 0x2c50a
movq (%r15), %rdi
testb $0x1, %dil
jne 0x2c5da
callq 0x30bd4
movq %rax, %rsi
movq %rax, 0x20(%r14)
movq -0x30(%rbp), %rax
movq %rbx, %rdi
movq %rax, %rdx
callq 0xade4
jmp 0x2c58c
cmpb $0x1a, %r13b
jne 0x2c555
orb $0x4, 0x10(%r14)
movq 0x28(%r14), %rsi
testq %rsi, %rsi
jne 0x2c548
movq (%r15), %rdi
testb $0x1, %dil
jne 0x2c5e6
callq 0x30c3a
movq %rax, %rsi
movq %rax, 0x28(%r14)
movq -0x30(%rbp), %rax
movq %rbx, %rdi
movq %rax, %rdx
callq 0xae76
jmp 0x2c58c
testl %r13d, %r13d
je 0x2c5fe
movl %r13d, %ecx
andl $0x7, %ecx
cmpl $0x4, %ecx
je 0x2c5fe
movq (%r15), %rsi
testb $0x1, %sil
je 0x2c5c9
andq $-0x2, %rsi
addq $0x8, %rsi
movl %r13d, %edi
movq %rax, %rdx
movq %rbx, %rcx
callq 0xa2d0
movq %rax, -0x30(%rbp)
testq %rax, %rax
je 0x2c60a
movl 0x5c(%rbx), %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x31b9c
testb %al, %al
je 0x2c444
jmp 0x2c429
movl %r13d, %esi
callq 0xa1e0
movq %rax, -0x30(%rbp)
testq %rax, %rax
je 0x2c60a
movl %edx, %r13d
jmp 0x2c477
movq %r15, %rdi
callq 0x31c54
movq %rax, %rsi
movq -0x30(%rbp), %rax
jmp 0x2c57e
andq $-0x2, %rdi
movq (%rdi), %rdi
jmp 0x2c4fa
andq $-0x2, %rdi
movq (%rdi), %rdi
jmp 0x2c538
andq $-0x2, %rdi
movq (%rdi), %rdi
jmp 0x2c4b9
decl %r13d
movl %r13d, 0x50(%rbx)
jmp 0x2c429
movq $0x0, -0x30(%rbp)
jmp 0x2c429
nop