user: Translate the below assembly code into C programming language:

```asm
<neighbor_solicitation>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %rdx,-0x78(%rbp)
  mov    %rcx,-0x80(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x5c(%rbp)
  movl   $0x0,-0x58(%rbp)
  movl   $0x0,-0x54(%rbp)
  movl   $0x0,-0x60(%rbp)
  jmp    L27
L10:
  mov    -0x60(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x60(%rbp),%eax
  cltq
  mov    %edx,-0x50(%rbp,%rax,4)
  addl   $0x1,-0x60(%rbp)
L27:
  cmpl   $0xf,-0x60(%rbp)
  jle    L10
  mov    -0x68(%rbp),%rax
  movb   $0x60,(%rax)
  mov    -0x68(%rbp),%rax
  add    $0x1,%rax
  movb   $0x0,(%rax)
  mov    -0x68(%rbp),%rax
  add    $0x2,%rax
  movb   $0x0,(%rax)
  mov    -0x68(%rbp),%rax
  add    $0x3,%rax
  movb   $0x0,(%rax)
  addl   $0x4,-0x5c(%rbp)
  addl   $0x2,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x3a,(%rax)
  addl   $0x1,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0xff,(%rax)
  addl   $0x1,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x70(%rbp),%rax
  mov    $0x10,%edx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memcpy@plt>
  addl   $0x10,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x78(%rbp),%rax
  mov    $0x10,%edx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memcpy@plt>
  addl   $0x10,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x87,(%rax)
  addl   $0x1,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  addl   $0x1,-0x5c(%rbp)
  addl   $0x2,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x2(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x3(%rax),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  addl   $0x4,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x50(%rbp),%rax
  mov    $0x10,%edx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memcpy@plt>
  addl   $0x10,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x1,(%rax)
  addl   $0x1,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movb   $0x1,(%rax)
  addl   $0x1,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x80(%rbp),%rax
  mov    $0x6,%edx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memcpy@plt>
  addl   $0x6,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  sub    $0x28,%eax
  mov    %eax,-0x58(%rbp)
  mov    -0x58(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%rax
  add    $0x4,%rax
  mov    %dl,(%rax)
  mov    -0x68(%rbp),%rax
  add    $0x5,%rax
  mov    -0x58(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0x5c(%rbp),%edx
  mov    -0x68(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <checksum_icmpv6@plt>
  mov    %eax,-0x54(%rbp)
  mov    -0x54(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%rax
  add    $0x2a,%rax
  mov    %dl,(%rax)
  mov    -0x68(%rbp),%rax
  add    $0x2b,%rax
  mov    -0x54(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0x68(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L7
  call   <__stack_chk_fail@plt>
L7:
  leave
  ret
```

assistant: ```c
char *neighbor_solicitation(char *buffer, uint8_t *IPv6_address, uint8_t *IPv6_dst, uint8_t *mac_address) {
  int offset = 0;
  uint16_t payload_length = 0;
  uint16_t checksum = 0;
  uint8_t target_addres[16];
  int i;
  for (i = 0; i < 16; i++) {
    target_addres[i] = IPv6_dst[i];
  }
  buffer[0] = 0x60;
  buffer[1] = 0;
  buffer[2] = 0;
  buffer[3] = 0;
  offset += 4;
  offset += 2;
  buffer[offset] = 0x3a;
  offset += 1;
  buffer[offset] = 255;
  offset += 1;
  memcpy(&buffer[offset], &IPv6_address[0], 16);
  offset += 16;
  memcpy(&buffer[offset], &IPv6_dst[0], 16);
  offset += 16;
  buffer[offset] = 0x87;
  offset += 1;
  buffer[offset] = 0;
  offset += 1;
  offset += 2;
  buffer[offset] = 0;
  buffer[offset + 1] = 0;
  buffer[offset + 2] = 0;
  buffer[offset + 3] = 0;
  offset += 4;
  memcpy(&buffer[offset], &target_addres[0], 16);
  offset += 16;
  buffer[offset] = 1;
  offset += 1;
  buffer[offset] = 1;
  offset += 1;
  memcpy(&buffer[offset], &mac_address[0], 6);
  offset += 6;
  payload_length = (offset - 40);
  buffer[4] = (payload_length >> 8) & 255;
  buffer[5] = (payload_length >> 0) & 255;
  checksum = checksum_icmpv6(buffer, (offset));
  buffer[42] = (checksum >> 8) & 255;
  buffer[43] = (checksum >> 0) & 255;
  return buffer;
}
```