// File: /workspace/github_cpp_makefile_star2_O3/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 0x107ca
cmpq %r15, (%rbx)
jbe 0x10b00
movq 0x50(%r14), %rcx
movb $0x8, (%r15)
cmpq $0x7f, %rcx
ja 0x10784
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x107ca
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movq %rcx, %rax
shrq $0x7, %rax
cmpq $0x3fff, %rcx           # imm = 0x3FFF
ja 0x107a6
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x107ca
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 0x107aa
movb %al, -0x1(%r15)
testb $0x8, %bpl
movl %ebp, 0x4(%rsp)
je 0x10834
cmpq %r15, (%rbx)
jbe 0x10b13
movl 0x58(%r14), %ecx
movb $0x10, (%r15)
cmpl $0x7f, %ecx
ja 0x107f4
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10834
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x10813
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x10834
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 0x10817
movb %al, -0x1(%r15)
movl 0x18(%r14), %r13d
testl %r13d, %r13d
jle 0x108c4
leaq 0x18(%r14), %r12
xorl %ebp, %ebp
cmpq %r15, (%rbx)
jbe 0x108b4
movq %r12, %rdi
movl %ebp, %esi
callq 0x6070
movl (%rax), %ecx
movb $0x18, (%r15)
cmpl $0x7f, %ecx
ja 0x1086b
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x108ab
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x1088a
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x108ab
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 0x1088e
movb %al, -0x1(%r15)
incl %ebp
cmpl %r13d, %ebp
jne 0x10847
jmp 0x108c4
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x1084c
movl 0x4(%rsp), %ebp
testb $0x10, %bpl
je 0x1092e
cmpq %r15, (%rbx)
jbe 0x10b26
movl 0x5c(%r14), %ecx
movb $0x20, (%r15)
cmpl $0x7f, %ecx
ja 0x108ee
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x1092e
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x1090d
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x1092e
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 0x10911
movb %al, -0x1(%r15)
testb $0x1, %bpl
je 0x109a5
cmpq %r15, (%rbx)
jbe 0x10b39
movq 0x40(%r14), %rdi
movb $0x2a, (%r15)
movl 0x20(%rdi), %ecx
cmpl $0x7f, %ecx
ja 0x10957
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10997
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x10976
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x10997
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 0x1097a
movb %al, -0x1(%r15)
movq %r15, %rsi
movq %rbx, %rdx
callq 0x946c
movq %rax, %r15
testb $0x2, %bpl
je 0x10a1c
cmpq %r15, (%rbx)
jbe 0x10b4c
movq 0x48(%r14), %rdi
movb $0x32, (%r15)
movl 0x14(%rdi), %ecx
cmpl $0x7f, %ecx
ja 0x109ce
movb %cl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10a0e
movl %ecx, %eax
orb $-0x80, %al
movb %al, 0x1(%r15)
movl %ecx, %eax
shrl $0x7, %eax
cmpl $0x3fff, %ecx           # imm = 0x3FFF
ja 0x109ed
movb %al, 0x2(%r15)
addq $0x3, %r15
jmp 0x10a0e
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 0x109f1
movb %al, -0x1(%r15)
movq %r15, %rsi
movq %rbx, %rdx
callq 0xe030
movq %rax, %r15
movl 0x30(%r14), %r13d
testl %r13d, %r13d
je 0x10ac3
leaq 0x28(%r14), %r12
xorl %ebp, %ebp
cmpq %r15, (%rbx)
jbe 0x10ab0
movq %r12, %rdi
movl %ebp, %esi
callq 0x181b2
movb $0x3a, (%r15)
movl 0x14(%rax), %edx
cmpl $0x7f, %edx
ja 0x10a54
movb %dl, 0x1(%r15)
addq $0x2, %r15
jmp 0x10a96
movl %edx, %ecx
orb $-0x80, %cl
movb %cl, 0x1(%r15)
movl %edx, %ecx
shrl $0x7, %ecx
cmpl $0x3fff, %edx           # imm = 0x3FFF
ja 0x10a74
movb %cl, 0x2(%r15)
addq $0x3, %r15
jmp 0x10a96
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 0x10a78
movb %cl, -0x1(%r15)
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xeb60
movq %rax, %r15
incl %ebp
cmpl %r13d, %ebp
jne 0x10a2f
jmp 0x10ac3
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x10a34
movq 0x8(%r14), %rdi
testb $0x1, %dil
jne 0x10adf
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 0x1076c
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x107dd
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x108d7
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x1093d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6520
movq %rax, %r15
jmp 0x109b4
nop