user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<crypto_aead_encrypt>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %r8,%r12
  push   %rbp
  mov    %r9,%rbp
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x98,%rsp
  mov    %rdi,0x8(%rsp)
  lea    0x30(%rsp),%r14
  mov    0xe0(%rsp),%rdi
  mov    %rsi,0x18(%rsp)
  mov    0xd8(%rsp),%rsi
  mov    %rdx,0x10(%rsp)
  mov    %r14,%rdx
  mov    %r8,0x20(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  call   <aegis256_initialization@plt>
  cmp    $0xf,%rbp
  jbe    L83
  mov    $0x10,%r15d
  lea    0x60(%rsp),%r13
  sub    $0x10,%r12
  nopl   0x0(%rax,%rax,1)
L73:
  lea    (%r12,%r15,1),%rdi
  mov    %r14,%rdx
  mov    %r13,%rsi
  call   <aegis256_enc_aut_step@plt>
  mov    %r15,%r9
  add    $0x10,%r15
  cmp    %r15,%rbp
  jae    L73
L13:
  mov    %rbp,%r12
  and    $0xf,%r12d
  jne    L90
  cmp    $0xf,%rbx
  jbe    L106
L80:
  mov    0x8(%rsp),%rax
  mov    $0x10,%r15d
  lea    -0x10(%rax),%r13
  mov    0x10(%rsp),%rax
  lea    -0x10(%rax),%r12
  nopw   0x0(%rax,%rax,1)
L84:
  lea    0x0(%r13,%r15,1),%rsi
  lea    (%r12,%r15,1),%rdi
  mov    %r14,%rdx
  call   <aegis256_enc_aut_step@plt>
  mov    %r15,%rcx
  add    $0x10,%r15
  cmp    %rbx,%r15
  jbe    L84
  mov    %rbx,%r12
  and    $0xf,%r12d
  jne    L87
L105:
  lea    0x70(%rsp),%r12
  mov    $0x10,%edx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  mov    %r12,%rcx
  mov    %r14,%r8
  call   <aegis256_tag_generation@plt>
  mov    0x18(%rsp),%rcx
  lea    0x10(%rbx),%rax
  mov    %r12,%rsi
  mov    0x8(%rsp),%rdi
  mov    $0x10,%edx
  mov    %rax,(%rcx)
  add    %rbx,%rdi
  call   <memcpy@plt>
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L108
  add    $0x98,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L90:
  lea    0x50(%rsp),%r13
  xor    %esi,%esi
  mov    $0x10,%edx
  mov    %r9,0x28(%rsp)
  mov    %r13,%rdi
  call   <memset@plt>
  mov    0x20(%rsp),%rsi
  mov    %r12d,%edx
  mov    %r13,%rdi
  mov    0x28(%rsp),%r9
  add    %r9,%rsi
  call   <memcpy@plt>
  lea    0x60(%rsp),%rsi
  mov    %r14,%rdx
  mov    %r13,%rdi
  call   <aegis256_enc_aut_step@plt>
  cmp    $0xf,%rbx
  ja     L80
L106:
  mov    %rbx,%r12
  xor    %ecx,%ecx
  and    $0xf,%r12d
  je     L105
  nopw   0x0(%rax,%rax,1)
L87:
  lea    0x50(%rsp),%r13
  xor    %esi,%esi
  mov    $0x10,%edx
  mov    %rcx,0x20(%rsp)
  mov    %r13,%rdi
  lea    0x60(%rsp),%r15
  call   <memset@plt>
  mov    0x20(%rsp),%rcx
  mov    %r12d,%edx
  mov    %r13,%rdi
  mov    0x10(%rsp),%rsi
  mov    %rcx,0x10(%rsp)
  add    %rcx,%rsi
  call   <memcpy@plt>
  mov    %r14,%rdx
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   <aegis256_enc_aut_step@plt>
  mov    0x8(%rsp),%rax
  mov    %r12d,%edx
  mov    %r15,%rsi
  mov    0x10(%rsp),%rcx
  lea    (%rax,%rcx,1),%rdi
  call   <memcpy@plt>
  jmp    L105
  nop
L83:
  xor    %r9d,%r9d
  jmp    L13
L108:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int crypto_aead_encrypt(unsigned char *c, unsigned long long *clen, const unsigned char *m, unsigned long long mlen, const unsigned char *ad, unsigned long long adlen, const unsigned char *nsec, const unsigned char *npub, const unsigned char *k) {
  unsigned long long i;
  unsigned char plaintextblock[16], ciphertextblock[16], mac[16];
  __m128i aegis256_state[6];
  aegis256_initialization(k, npub, aegis256_state);
  for (i = 0; (i + 16) <= adlen; i += 16) {
    aegis256_enc_aut_step(ad + i, ciphertextblock, aegis256_state);
  }
  if ((adlen & 0xf) != 0) {
    memset(plaintextblock, 0, 16);
    memcpy(plaintextblock, ad + i, adlen & 0xf);
    aegis256_enc_aut_step(plaintextblock, ciphertextblock, aegis256_state);
  }
  for (i = 0; (i + 16) <= mlen; i += 16) {
    aegis256_enc_aut_step(m + i, c + i, aegis256_state);
  }
  if ((mlen & 0xf) != 0) {
    memset(plaintextblock, 0, 16);
    memcpy(plaintextblock, m + i, mlen & 0xf);
    aegis256_enc_aut_step(plaintextblock, ciphertextblock, aegis256_state);
    memcpy(c + i, ciphertextblock, mlen & 0xf);
  }
  aegis256_tag_generation(mlen, adlen, 16, mac, aegis256_state);
  *clen = mlen + 16;
  memcpy(c + mlen, mac, 16);
  return 0;
}
```