// File: /workspace/github_cpp_makefile_star2_O1/moyix[P]pandalog_taint_parser/plog.pb.cc
// Function: panda::TaintedInstr::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const
::PROTOBUF_NAMESPACE_ID::uint8* TaintedInstr::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:panda.TaintedInstr)
  ::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.TaintedInstr)
  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 0x12a99
cmpq %r15, (%rbx)
jbe 0x12b7d
movq 0x30(%r14), %rdi
movb $0xa, (%r15)
movl 0x20(%rdi), %ecx
cmpl $0x7f, %ecx
ja 0x12a4b
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x12a8b
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x12a6a
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x12a8b
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 0x12a6e
movb %al, -0x1(%r15)
movq %r15, %rsi
movq %rbx, %rdx
callq 0x9542
movq %rax, %r15
movl 0x20(%r14), %r13d
testl %r13d, %r13d
je 0x12b40
leaq 0x18(%r14), %r12
xorl %ebp, %ebp
cmpq %r15, (%rbx)
jbe 0x12b2d
movq %r12, %rdi
movl %ebp, %esi
callq 0x182bc
movb $0x12, (%r15)
movl 0x14(%rax), %edx
cmpl $0x7f, %edx
ja 0x12ad1
movb %dl, 0x1(%r15)
addq $0x2, %r15
jmp 0x12b13
movl %edx, %ecx
orb $-0x80, %cl
movb %cl, 0x1(%r15)
movl %edx, %ecx
shrl $0x7, %ecx
cmpl $0x3fff, %edx           # imm = 0x3FFF
ja 0x12af1
movb %cl, 0x2(%r15)
addq $0x3, %r15
jmp 0x12b13
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 0x12af5
movb %cl, -0x1(%r15)
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xec58
movq %rax, %r15
incl %ebp
cmpl %r13d, %ebp
jne 0x12aac
jmp 0x12b40
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x12ab1
movq 0x8(%r14), %rdi
testb $0x1, %dil
jne 0x12b5c
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 0x12a31