// File: /workspace/github_cpp_makefile_star2_O1/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 %rsi, %r15
movq %rdi, %r14
movl 0x10(%rdi), %ebp
testb $0x4, %bpl
je 0x108e4
cmpq %r15, (%rbx)
jbe 0x10c1a
movq 0x50(%r14), %rcx
movb $0x8, (%r15)
cmpq $0x7f, %rcx
ja 0x1089e
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x108e4
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movq %rcx, %rax
shrq $0x7, %rax
cmpq $0x3fff, %rcx           # imm = 0x3FFF
ja 0x108c0
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x108e4
addq $0x3, %r15
movq %rax, %rcx
movl %ecx, %edx
orb $-0x80, %dl
movb %dl, -0x1(%r15)
shrq $0x7, %rax
incq %r15
cmpq $0x3fff, %rcx           # imm = 0x3FFF
ja 0x108c4
movb %al, -0x1(%r15)
testb $0x8, %bpl
movl %ebp, 0x4(%rsp)
je 0x1094e
cmpq %r15, (%rbx)
jbe 0x10c2d
movl 0x58(%r14), %ecx
movb $0x10, (%r15)
cmpl $0x7f, %ecx
ja 0x1090e
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x1094e
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x1092d
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x1094e
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 0x10931
movb %al, -0x1(%r15)
movl 0x18(%r14), %r13d
testl %r13d, %r13d
jle 0x109de
leaq 0x18(%r14), %r12
xorl %ebp, %ebp
cmpq %r15, (%rbx)
jbe 0x109ce
movq %r12, %rdi
movl %ebp, %esi
callq 0x6070
movl (%rax), %ecx
movb $0x18, (%r15)
cmpl $0x7f, %ecx
ja 0x10985
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x109c5
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x109a4
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x109c5
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 0x109a8
movb %al, -0x1(%r15)
incl %ebp
cmpl %r13d, %ebp
jne 0x10961
jmp 0x109de
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x10966
movl 0x4(%rsp), %ebp
testb $0x10, %bpl
je 0x10a48
cmpq %r15, (%rbx)
jbe 0x10c40
movl 0x5c(%r14), %ecx
movb $0x20, (%r15)
cmpl $0x7f, %ecx
ja 0x10a08
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10a48
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x10a27
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x10a48
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 0x10a2b
movb %al, -0x1(%r15)
testb $0x1, %bpl
je 0x10abf
cmpq %r15, (%rbx)
jbe 0x10c53
movq 0x40(%r14), %rdi
movb $0x2a, (%r15)
movl 0x20(%rdi), %ecx
cmpl $0x7f, %ecx
ja 0x10a71
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10ab1
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x10a90
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x10ab1
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 0x10a94
movb %al, -0x1(%r15)
movq %r15, %rsi
movq %rbx, %rdx
callq 0x9542
movq %rax, %r15
testb $0x2, %bpl
je 0x10b36
cmpq %r15, (%rbx)
jbe 0x10c66
movq 0x48(%r14), %rdi
movb $0x32, (%r15)
movl 0x14(%rdi), %ecx
cmpl $0x7f, %ecx
ja 0x10ae8
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10b28
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x10b07
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x10b28
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 0x10b0b
movb %al, -0x1(%r15)
movq %r15, %rsi
movq %rbx, %rdx
callq 0xe120
movq %rax, %r15
movl 0x30(%r14), %r13d
testl %r13d, %r13d
je 0x10bdd
leaq 0x28(%r14), %r12
xorl %ebp, %ebp
cmpq %r15, (%rbx)
jbe 0x10bca
movq %r12, %rdi
movl %ebp, %esi
callq 0x182bc
movb $0x3a, (%r15)
movl 0x14(%rax), %edx
cmpl $0x7f, %edx
ja 0x10b6e
movb %dl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10bb0
movl %edx, %ecx
orb $-0x80, %cl
movb %cl, 0x1(%r15)
movl %edx, %ecx
shrl $0x7, %ecx
cmpl $0x3fff, %edx           # imm = 0x3FFF
ja 0x10b8e
movb %cl, 0x2(%r15)
addq $0x3, %r15
jmp 0x10bb0
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 0x10b92
movb %cl, -0x1(%r15)
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xec58
movq %rax, %r15
incl %ebp
cmpl %r13d, %ebp
jne 0x10b49
jmp 0x10bdd
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x10b4e
movq 0x8(%r14), %rdi
testb $0x1, %dil
jne 0x10bf9
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 0x10886
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x108f7
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x109f1
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x10a57
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x10ace
nop