// File: /workspace/github_cpp_makefile_star2_O1/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
leaq 0x8(%rsp), %r15
movq %rsi, (%r15)
leaq 0x8(%rdi), %rax
movq %rax, 0x10(%rsp)
leaq 0x18(%rdi), %r13
leaq 0x30(%rdi), %rbp
movl 0x5c(%rbx), %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x18044
testb %al, %al
jne 0x11806
movq 0x8(%rsp), %rdi
movzbl (%rdi), %r12d
leaq 0x1(%rdi), %rax
testb %r12b, %r12b
jns 0x11676
movzbl (%rax), %eax
movl %eax, %ecx
shll $0x7, %ecx
addl %ecx, %r12d
addl $-0x80, %r12d
testb %al, %al
js 0x1166b
addq $0x2, %rdi
movq %rdi, %rax
jmp 0x11676
movl %r12d, %esi
callq 0x6300
movl %edx, %r12d
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x117e2
movl %r12d, %ecx
shrl $0x3, %ecx
cmpl $0x2, %ecx
je 0x116d1
cmpl $0x1, %ecx
jne 0x11779
cmpb $0xa, %r12b
jne 0x11779
orb $0x1, 0x10(%r14)
cmpq $0x0, 0x30(%r14)
jne 0x116bb
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x6e7e
movq (%rbp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6652
jmp 0x117c3
cmpb $0x12, %r12b
jne 0x11779
decq %rax
movq %rax, 0x8(%rsp)
incq 0x8(%rsp)
movq 0x28(%r14), %rax
testq %rax, %rax
jne 0x11727
movl 0x24(%r14), %esi
incl %esi
movq %r13, %rdi
callq 0x6250
movq 0x28(%r14), %rax
incl (%rax)
movq 0x18(%r14), %rdi
callq 0x16dfe
movq %rax, %rsi
movq 0x28(%r14), %rax
movslq 0x20(%r14), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x20(%r14)
movq %rsi, 0x8(%rax,%rcx,8)
jmp 0x1173d
movslq 0x20(%r14), %rcx
movl (%rax), %edx
cmpl %edx, %ecx
jge 0x1176d
leal 0x1(%rcx), %edx
movl %edx, 0x20(%r14)
movq 0x8(%rax,%rcx,8), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6766
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x117e2
movl $0x2, %ecx
cmpq %rax, (%rbx)
jbe 0x117d7
cmpb $0x12, (%rax)
je 0x116e3
jmp 0x117d7
cmpl 0x24(%r14), %edx
je 0x116f1
jmp 0x116ff
movl %r12d, %eax
andl $0x7, %eax
cmpl $0x4, %eax
setne %al
testl %r12d, %r12d
setne %cl
testb %al, %cl
jne 0x1179d
decl %r12d
movl %r12d, 0x50(%rbx)
movl $0x9, %ecx
jmp 0x117d7
movq 0x10(%rsp), %rax
movq (%rax), %rsi
testb $0x1, %sil
je 0x117e9
andq $-0x2, %rsi
addq $0x8, %rsi
movl %r12d, %edi
movq 0x8(%rsp), %rdx
movq %rbx, %rcx
callq 0x61b0
movq %rax, 0x8(%rsp)
xorl %ecx, %ecx
testq %rax, %rax
sete %cl
leal 0x2(,%rcx,2), %ecx
cmpl $0x2, %ecx
je 0x11627
jmp 0x117f8
movl $0x4, %ecx
jmp 0x117d7
movq 0x10(%rsp), %rdi
callq 0x1839e
movq %rax, %rsi
jmp 0x117b3
cmpl $0x4, %ecx
jne 0x11806
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq