// File: /workspace/github_cpp_makefile_star2_O2/moyix[P]pandalog_taint_parser/plog.pb.cc
// Function: panda::TaintedBranch::_InternalParse(char const*, google::protobuf::internal::ParseContext*)
const char* TaintedBranch::_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) {
      // required .panda.CallStack call_stack = 1;
      case 1:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
          ptr = ctx->ParseMessage(_internal_mutable_call_stack(), ptr);
          CHK_(ptr);
        } else goto handle_unusual;
        continue;
      // repeated .panda.TaintQuery taint_query = 2;
      case 2:
        if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
          ptr -= 1;
          do {
            ptr += 1;
            ptr = ctx->ParseMessage(_internal_add_taint_query(), ptr);
            CHK_(ptr);
            if (!ctx->DataAvailable(ptr)) break;
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movq %rsp, %r15
movq %rsi, (%r15)
leaq 0x8(%rdi), %rax
movq %rax, 0x10(%rsp)
leaq 0x18(%rdi), %r13
leaq 0xc(%rsp), %rbp
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1153e
testb %al, %al
jne 0xddd1
movq (%rsp), %rdi
movq %rbp, %rsi
xorl %edx, %edx
callq 0x11546
movq %rax, (%rsp)
testq %rax, %rax
je 0xdde0
movl 0xc(%rsp), %r12d
movl %r12d, %ecx
shrl $0x3, %ecx
cmpl $0x2, %ecx
je 0xdd38
cmpl $0x1, %ecx
jne 0xdd7b
cmpb $0xa, %r12b
jne 0xdd7b
movq %r14, %rdi
callq 0x12be4
movq (%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x11cd0
jmp 0xddaf
cmpb $0x12, %r12b
jne 0xdd7b
decq %rax
incq %rax
movq %rax, (%rsp)
movq %r13, %rdi
callq 0x143b2
movq (%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1211e
movq %rax, (%rsp)
testq %rax, %rax
je 0xdde0
cmpq %rax, (%rbx)
jbe 0xdcd6
cmpb $0x12, (%rax)
je 0xdd41
jmp 0xdcd6
testq %r12, %r12
je 0xddd7
movl %r12d, %ecx
andl $0x7, %ecx
cmpl $0x4, %ecx
je 0xddd7
movq 0x10(%rsp), %rcx
movq (%rcx), %rsi
testb $0x1, %sil
je 0xddbe
andq $-0x2, %rsi
addq $0x8, %rsi
movq %r12, %rdi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x61c0
movq %rax, (%rsp)
testq %rax, %rax
jne 0xdcd6
jmp 0xdde0
movq 0x10(%rsp), %rdi
callq 0x144e8
movq %rax, %rsi
movq (%rsp), %rax
jmp 0xdda1
movq (%rsp), %rax
jmp 0xdde2
decl %r12d
movl %r12d, 0x50(%rbx)
jmp 0xdde2
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop