// File: /workspace/github_cpp_makefile_star2_O3/moyix[P]pandalog_taint_parser/plog.pb.cc
// Function: panda::TaintedBranch::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const
::PROTOBUF_NAMESPACE_ID::uint8* TaintedBranch::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:panda.TaintedBranch)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required .panda.CallStack call_stack = 1;
  if (cached_has_bits & 0x00000001u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        1, _Internal::call_stack(this), target, stream);
  }

  // repeated .panda.TaintQuery taint_query = 2;
  for (unsigned int i = 0,
      n = static_cast<unsigned int>(this->_internal_taint_query_size()); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(2, this->_internal_taint_query(i), target, stream);
  }

  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  }
  // @@protoc_insertion_point(serialize_to_array_end:panda.TaintedBranch)
  return target;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testb $0x1, 0x10(%rdi)
je 0x1178d
cmpq %r15, (%rbx)
jbe 0x11871
movq 0x30(%r14), %rdi
movb $0xa, (%r15)
movl 0x20(%rdi), %ecx
cmpl $0x7f, %ecx
ja 0x1173f
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x1177f
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x1175e
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x1177f
addq $0x3, %r15
movl %eax, %ecx
movl %ecx, %edx
orb $-0x80, %dl
movb %dl, -0x1(%r15)
shrl $0x7, %eax
incq %r15
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x11762
movb %al, -0x1(%r15)
movq %r15, %rsi
movq %rbx, %rdx
callq 0x946c
movq %rax, %r15
movl 0x20(%r14), %r13d
testl %r13d, %r13d
je 0x11834
leaq 0x18(%r14), %r12
xorl %ebp, %ebp
cmpq %r15, (%rbx)
jbe 0x11821
movq %r12, %rdi
movl %ebp, %esi
callq 0x181b2
movb $0x12, (%r15)
movl 0x14(%rax), %edx
cmpl $0x7f, %edx
ja 0x117c5
movb %dl, 0x1(%r15)
addq $0x2, %r15
jmp 0x11807
movl %edx, %ecx
orb $-0x80, %cl
movb %cl, 0x1(%r15)
movl %edx, %ecx
shrl $0x7, %ecx
cmpl $0x3fff, %edx           # imm = 0x3FFF
ja 0x117e5
movb %cl, 0x2(%r15)
addq $0x3, %r15
jmp 0x11807
addq $0x3, %r15
movl %ecx, %edx
movl %edx, %esi
orb $-0x80, %sil
movb %sil, -0x1(%r15)
shrl $0x7, %ecx
incq %r15
cmpl $0x3fff, %edx           # imm = 0x3FFF
ja 0x117e9
movb %cl, -0x1(%r15)
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xeb60
movq %rax, %r15
incl %ebp
cmpl %r13d, %ebp
jne 0x117a0
jmp 0x11834
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x117a5
movq 0x8(%r14), %rdi
testb $0x1, %dil
jne 0x11850
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
andq $-0x2, %rdi
addq $0x8, %rdi
movq %r15, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x61a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x11725