user: 请将以下的汇编代码转换成C语言代码：

```asm
<crypto_aead_decrypt>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %rdi,-0xa8(%rbp)
  mov    %rsi,-0xb0(%rbp)
  mov    %rdx,-0xb8(%rbp)
  mov    %rcx,-0xc0(%rbp)
  mov    %r8,-0xc8(%rbp)
  mov    %r9,-0xd0(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0xd8(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0xe0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movb   $0x0,-0x99(%rbp)
  cmpq   $0xf,-0xc8(%rbp)
  ja     L84
  mov    $0xffffffff,%eax
  jmp    L63
L84:
  lea    -0x60(%rbp),%rdx
  mov    -0xd8(%rbp),%rcx
  mov    -0xe0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <aegis128_initialization@plt>
  movq   $0x0,-0x98(%rbp)
  jmp    L41
L32:
  mov    -0xd0(%rbp),%rdx
  mov    -0x98(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x60(%rbp),%rdx
  lea    -0x80(%rbp),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <aegis128_enc_aut_step@plt>
  addq   $0x10,-0x98(%rbp)
L41:
  mov    -0x98(%rbp),%rax
  add    $0x10,%rax
  cmp    %rax,0x10(%rbp)
  jae    L32
  mov    0x10(%rbp),%rax
  and    $0xf,%eax
  test   %rax,%rax
  je     L100
  lea    -0x90(%rbp),%rax
  mov    $0x10,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    0x10(%rbp),%rax
  and    $0xf,%eax
  mov    %rax,%rdx
  mov    -0xd0(%rbp),%rcx
  mov    -0x98(%rbp),%rax
  add    %rax,%rcx
  lea    -0x90(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  lea    -0x60(%rbp),%rdx
  lea    -0x80(%rbp),%rcx
  lea    -0x90(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <aegis128_enc_aut_step@plt>
L100:
  mov    -0xc8(%rbp),%rax
  lea    -0x10(%rax),%rdx
  mov    -0xb0(%rbp),%rax
  mov    %rdx,(%rax)
  movq   $0x0,-0x98(%rbp)
  jmp    L67
L96:
  mov    -0xc0(%rbp),%rdx
  mov    -0x98(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0xa8(%rbp),%rdx
  mov    -0x98(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdx
  mov    %rcx,%rdi
  call   <aegis128_dec_aut_step@plt>
  addq   $0x10,-0x98(%rbp)
L67:
  mov    -0x98(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0xb0(%rbp),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jbe    L96
  mov    -0xb0(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  test   %rax,%rax
  je     L121
  lea    -0x80(%rbp),%rax
  mov    $0x10,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0xb0(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  mov    %rax,%rdx
  mov    -0xc0(%rbp),%rcx
  mov    -0x98(%rbp),%rax
  add    %rax,%rcx
  lea    -0x80(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  lea    -0x60(%rbp),%rdx
  lea    -0x80(%rbp),%rcx
  lea    -0x90(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <aegis128_dec_aut_step@plt>
  mov    -0xb0(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  mov    %rax,%rdx
  mov    -0xa8(%rbp),%rcx
  mov    -0x98(%rbp),%rax
  add    %rax,%rcx
  lea    -0x90(%rbp),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memcpy@plt>
  mov    -0xb0(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  mov    %rax,%rdx
  lea    -0x90(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x60(%rbp),%rax
  mov    (%rax),%rcx
  lea    -0x90(%rbp),%rax
  mov    (%rax),%rdx
  lea    -0x60(%rbp),%rax
  xor    %rcx,%rdx
  mov    %rdx,(%rax)
  lea    -0x60(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rcx
  lea    -0x90(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rdx
  lea    -0x60(%rbp),%rax
  add    $0x8,%rax
  xor    %rcx,%rdx
  mov    %rdx,(%rax)
L121:
  mov    -0xb0(%rbp),%rax
  mov    (%rax),%rax
  lea    -0x60(%rbp),%rcx
  lea    -0x70(%rbp),%rdx
  mov    %rcx,%r8
  mov    %rdx,%rcx
  mov    $0x10,%edx
  mov    0x10(%rbp),%rsi
  mov    %rax,%rdi
  call   <aegis128_tag_generation@plt>
  movq   $0x0,-0x98(%rbp)
  jmp    L27
L34:
  lea    -0x70(%rbp),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0xc8(%rbp),%rcx
  mov    -0x98(%rbp),%rax
  add    %rcx,%rax
  lea    -0x10(%rax),%rcx
  mov    -0xc0(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  xor    %edx,%eax
  or     %al,-0x99(%rbp)
  addq   $0x1,-0x98(%rbp)
L27:
  cmpq   $0xf,-0x98(%rbp)
  jbe    L34
  cmpb   $0x0,-0x99(%rbp)
  jne    L71
  mov    $0x0,%eax
  jmp    L63
L71:
  mov    $0xffffffff,%eax
L63:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L53
  call   <__stack_chk_fail@plt>
L53:
  leave
  ret
```

assistant: ```c
int crypto_aead_decrypt(unsigned char *m, unsigned long long *mlen, unsigned char *nsec, const unsigned char *c, unsigned long long clen, const unsigned char *ad, unsigned long long adlen, const unsigned char *npub, const unsigned char *k) {
  unsigned long i;
  unsigned char plaintextblock[16], ciphertextblock[16];
  unsigned char tag[16];
  unsigned char check = 0;
  unsigned char aegis128_state[80];
  if (clen < 16)
    return -1;
  aegis128_initialization(k, npub, aegis128_state);
  for (i = 0; (i + 16) <= adlen; i += 16) {
    aegis128_enc_aut_step(ad + i, ciphertextblock, aegis128_state);
  }
  if ((adlen & 0xf) != 0) {
    memset(plaintextblock, 0, 16);
    memcpy(plaintextblock, ad + i, adlen & 0xf);
    aegis128_enc_aut_step(plaintextblock, ciphertextblock, aegis128_state);
  }
  *mlen = clen - 16;
  for (i = 0; (i + 16) <= *mlen; i += 16) {
    aegis128_dec_aut_step(m + i, c + i, aegis128_state);
  }
  if ((*mlen & 0xf) != 0) {
    memset(ciphertextblock, 0, 16);
    memcpy(ciphertextblock, c + i, *mlen & 0xf);
    aegis128_dec_aut_step(plaintextblock, ciphertextblock, aegis128_state);
    memcpy(m + i, plaintextblock, *mlen & 0xf);
    memset(plaintextblock, 0, *mlen & 0xf);
    ((unsigned long long *)aegis128_state)[0] ^= ((unsigned long long *)plaintextblock)[0];
    ((unsigned long long *)aegis128_state)[1] ^= ((unsigned long long *)plaintextblock)[1];
  }
  aegis128_tag_generation(*mlen, adlen, 16, tag, aegis128_state);
  for (i = 0; i < 16; i++)
    check |= (tag[i] ^ c[clen - 16 + i]);
  if (check == 0)
    return 0;
  else
    return -1;
}
```