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

  cached_has_bits = _has_bits_[0];
  // required uint64 buf = 1;
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(1, this->_internal_buf(), target);
  }

  // required uint32 len = 2;
  if (cached_has_bits & 0x00000008u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_len(), target);
  }

  // repeated uint32 data = 3;
  for (int i = 0, n = this->_internal_data_size(); i < n; i++) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_data(i), target);
  }

  // required uint32 num_tainted = 4;
  if (cached_has_bits & 0x00000010u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_num_tainted(), target);
  }

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

  // required .panda.SrcInfo src_info = 6;
  if (cached_has_bits & 0x00000002u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
      InternalWriteMessage(
        6, _Internal::src_info(this), target, stream);
  }

  // repeated .panda.TaintQuery taint_query = 7;
  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(7, 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.TaintQueryHypercall)
  return target;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r13
movl 0x10(%rdi), %r12d
testb $0x4, %r12b
je 0xd484
movq %rbx, %rdi
callq 0x115ba
movq 0x50(%r13), %rdi
movb $0x8, (%rax)
leaq 0x1(%rax), %rsi
callq 0x1417c
movq %rax, %rsi
testb $0x8, %r12b
je 0xd4a5
movq %rbx, %rdi
callq 0x115ba
movl 0x58(%r13), %edi
movb $0x10, (%rax)
leaq 0x1(%rax), %rsi
callq 0x1412e
movq %rax, %rsi
movl 0x18(%r13), %r14d
xorl %ebp, %ebp
testl %r14d, %r14d
cmovlel %ebp, %r14d
cmpl %ebp, %r14d
je 0xd4e4
movq %rbx, %rdi
callq 0x115ba
movq %rax, %r15
movq %r13, %rdi
movl %ebp, %esi
callq 0x12a72
movb $0x18, (%r15)
incq %r15
movl %eax, %edi
movq %r15, %rsi
callq 0x1412e
movq %rax, %rsi
incl %ebp
jmp 0xd4b2
testb $0x10, %r12b
je 0xd505
movq %rbx, %rdi
callq 0x115ba
movl 0x5c(%r13), %edi
movb $0x20, (%rax)
leaq 0x1(%rax), %rsi
callq 0x1412e
movq %rax, %rsi
testb $0x1, %r12b
je 0xd538
movq %rbx, %rdi
callq 0x115ba
movq 0x40(%r13), %r15
movb $0x2a, (%rax)
leaq 0x1(%rax), %rsi
movl 0x20(%r15), %edi
callq 0x1412e
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x8a26
movq %rax, %rsi
testb $0x2, %r12b
je 0xd56b
movq %rbx, %rdi
callq 0x115ba
movq 0x48(%r13), %r15
movb $0x32, (%rax)
leaq 0x1(%rax), %rsi
movl 0x14(%r15), %edi
callq 0x1412e
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0xbb30
movq %rax, %rsi
movl 0x30(%r13), %r14d
leaq 0x28(%r13), %rax
movq %rax, (%rsp)
xorl %ebp, %ebp
cmpl %ebp, %r14d
je 0xd5cb
movq %rbx, %rdi
callq 0x115ba
movq %rax, %r12
movq (%rsp), %rdi
movl %ebp, %esi
callq 0x1441a
movq %rbx, %r15
movq %r13, %rbx
movq %rax, %r13
movb $0x3a, (%r12)
incq %r12
movl 0x14(%rax), %edi
movq %r12, %rsi
callq 0x1412e
movq %r13, %rdi
movq %rbx, %r13
movq %r15, %rbx
movq %rax, %rsi
movq %r15, %rdx
callq 0xc28e
movq %rax, %rsi
incl %ebp
jmp 0xd579
movq 0x8(%r13), %rdi
testb $0x1, %dil
jne 0xd5e7
movq %rsi, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
andq $-0x2, %rdi
addq $0x8, %rdi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x61b0
nop