// File: vgteam[P]stream/cpp/example.pb.cc
// Function: Person::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const
::PROTOBUF_NAMESPACE_ID::uint8* Person::_InternalSerialize(
    ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  // @@protoc_insertion_point(serialize_to_array_start:Person)
  ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // required string name = 1;
  if (cached_has_bits & 0x00000001u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "Person.name");
    target = stream->WriteStringMaybeAliased(
        1, this->_internal_name(), target);
  }

  // required int32 id = 2;
  if (cached_has_bits & 0x00000004u) {
    target = stream->EnsureSpace(target);
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_id(), target);
  }

  // optional string email = 3;
  if (cached_has_bits & 0x00000002u) {
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_internal_email().data(), static_cast<int>(this->_internal_email().length()),
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
      "Person.email");
    target = stream->WriteStringMaybeAliased(
        3, this->_internal_email(), target);
  }

  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:Person)
  return target;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x90(%rbp)
movq %rsi, -0x98(%rbp)
movq %rdx, -0xa0(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xb0(%rbp)
movl $0x0, -0xa4(%rbp)
addq $0x10, %rax
movq %rax, -0x80(%rbp)
movl $0x0, -0x84(%rbp)
movq -0x80(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0xa4(%rbp)
movl -0xa4(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x50f5
movq -0xb0(%rbp), %rdi
callq 0x5f70
movq %rax, %rdi
callq 0x43e0
movq -0xb0(%rbp), %rdi
movq %rax, -0xc0(%rbp)
callq 0x5f70
movq %rax, %rdi
callq 0x44b0
movq -0xc0(%rbp), %rdi
movl %eax, %esi
movl $0x1, %edx
leaq 0x6ffe(%rip), %rcx      # 0xc0b2
callq 0x6660
movq -0xb0(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq %rax, -0xb8(%rbp)
callq 0x5f70
movq -0xb8(%rbp), %rdi
movq %rax, %rdx
movq -0x98(%rbp), %rcx
movl $0x1, %esi
callq 0x6690
movq %rax, -0x98(%rbp)
movl -0xa4(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x51a2
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
callq 0x6850
movq -0xb0(%rbp), %rdi
movq %rax, -0x98(%rbp)
callq 0x68a0
movl %eax, %ecx
movq -0x98(%rbp), %rax
movl $0x2, -0x6c(%rbp)
movl %ecx, -0x70(%rbp)
movq %rax, -0x78(%rbp)
movl -0x6c(%rbp), %ecx
movq -0x78(%rbp), %rax
movl %ecx, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
movq %rax, -0x40(%rbp)
movl -0x34(%rbp), %edi
movl -0x38(%rbp), %esi
callq 0x7550
movl %eax, %ecx
movq -0x40(%rbp), %rax
movl %ecx, -0x14(%rbp)
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %edi
movq -0x20(%rbp), %rsi
callq 0x7570
movq %rax, -0x78(%rbp)
movl -0x70(%rbp), %ecx
movq -0x78(%rbp), %rax
movl %ecx, -0x24(%rbp)
movq %rax, -0x30(%rbp)
movl -0x24(%rbp), %edi
movq -0x30(%rbp), %rsi
callq 0x7650
movq %rax, -0x98(%rbp)
movl -0xa4(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x5239
movq -0xb0(%rbp), %rdi
callq 0x6040
movq %rax, %rdi
callq 0x43e0
movq -0xb0(%rbp), %rdi
movq %rax, -0xd0(%rbp)
callq 0x6040
movq %rax, %rdi
callq 0x44b0
movq -0xd0(%rbp), %rdi
movl %eax, %esi
movl $0x1, %edx
leaq 0x6ec6(%rip), %rcx      # 0xc0be
callq 0x6660
movq -0xb0(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq %rax, -0xc8(%rbp)
callq 0x6040
movq -0xc8(%rbp), %rdi
movq %rax, %rdx
movq -0x98(%rbp), %rcx
movl $0x3, %esi
callq 0x6690
movq %rax, -0x98(%rbp)
movq -0xb0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x52dc
movq -0xb0(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x58(%rbp)
movq 0xbd52(%rip), %rax      # 0x10fc8
movq %rax, -0x60(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
andq $0x1, %rax
cmpl $0x1, %eax
jne 0x52b7
movq -0xd8(%rbp), %rdi
callq 0x78f0
addq $0x8, %rax
movq %rax, -0x50(%rbp)
jmp 0x52be
callq *-0x60(%rbp)
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq -0x98(%rbp), %rsi
movq -0xa0(%rbp), %rdx
callq 0x41b0
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
addq $0xe0, %rsp
popq %rbp
retq
nopl (%rax)