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

```asm
<crypto_aead_decrypt>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xb0,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %rcx,-0x90(%rbp)
  mov    %r8,-0x98(%rbp)
  mov    %r9,-0xa0(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0xa8(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0xb0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movb   $0x0,-0x69(%rbp)
  cmpq   $0xf,-0x98(%rbp)
  ja     L58
  mov    $0xffffffff,%eax
  jmp    L66
L58:
  lea    -0x60(%rbp),%rdx
  mov    -0xa8(%rbp),%rcx
  mov    -0xb0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <aegis256_initialization@plt>
  movq   $0x0,-0x68(%rbp)
  jmp    L109
L29:
  mov    -0xa0(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x60(%rbp),%rdx
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <aegis256_enc_aut_step@plt>
  addq   $0x10,-0x68(%rbp)
L109:
  mov    -0x68(%rbp),%rax
  add    $0x10,%rax
  cmp    %rax,0x10(%rbp)
  jae    L29
  mov    0x10(%rbp),%rax
  and    $0xf,%eax
  test   %rax,%rax
  je     L79
  lea    -0x40(%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    -0xa0(%rbp),%rcx
  mov    -0x68(%rbp),%rax
  add    %rax,%rcx
  lea    -0x40(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  lea    -0x60(%rbp),%rdx
  lea    -0x30(%rbp),%rcx
  lea    -0x40(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <aegis256_enc_aut_step@plt>
L79:
  mov    -0x98(%rbp),%rax
  lea    -0x10(%rax),%rdx
  mov    -0x80(%rbp),%rax
  mov    %rdx,(%rax)
  movq   $0x0,-0x68(%rbp)
  jmp    L77
L34:
  mov    -0x90(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x78(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  lea    -0x60(%rbp),%rax
  mov    %rax,%rdx
  mov    %rcx,%rdi
  call   <aegis256_dec_aut_step@plt>
  addq   $0x10,-0x68(%rbp)
L77:
  mov    -0x68(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jbe    L34
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  test   %rax,%rax
  je     L102
  lea    -0x30(%rbp),%rax
  mov    $0x10,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  mov    %rax,%rdx
  mov    -0x90(%rbp),%rcx
  mov    -0x68(%rbp),%rax
  add    %rax,%rcx
  lea    -0x30(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  lea    -0x60(%rbp),%rdx
  lea    -0x30(%rbp),%rcx
  lea    -0x40(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <aegis256_dec_aut_step@plt>
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  mov    %rax,%rdx
  mov    -0x78(%rbp),%rcx
  mov    -0x68(%rbp),%rax
  add    %rax,%rcx
  lea    -0x40(%rbp),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memcpy@plt>
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rax
  and    $0xf,%eax
  mov    %rax,%rdx
  lea    -0x40(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <_mm_load_si128@plt>
  mov    %eax,%edx
  mov    -0x60(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <_mm_xor_si128@plt>
  mov    %eax,-0x60(%rbp)
L102:
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rax
  lea    -0x60(%rbp),%rcx
  lea    -0x20(%rbp),%rdx
  mov    %rcx,%r8
  mov    %rdx,%rcx
  mov    $0x10,%edx
  mov    0x10(%rbp),%rsi
  mov    %rax,%rdi
  call   <aegis256_tag_generation@plt>
  movq   $0x0,-0x68(%rbp)
  jmp    L9
L60:
  lea    -0x20(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x80(%rbp),%rax
  mov    (%rax),%rcx
  mov    -0x68(%rbp),%rax
  add    %rax,%rcx
  mov    -0x90(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  xor    %edx,%eax
  or     %al,-0x69(%rbp)
  addq   $0x1,-0x68(%rbp)
L9:
  cmpq   $0xf,-0x68(%rbp)
  jbe    L60
  cmpb   $0x0,-0x69(%rbp)
  jne    L28
  mov    $0x0,%eax
  jmp    L66
L28:
  mov    $0xffffffff,%eax
L66:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L92
  call   <__stack_chk_fail@plt>
L92:
  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 long i;
  unsigned char plaintextblock[16], ciphertextblock[16];
  unsigned char tag[16];
  unsigned char check = 0;
  __m128i aegis256_state[6];
  if (clen < 16)
    return -1;
  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);
  }
  *mlen = clen - 16;
  for (i = 0; (i + 16) <= *mlen; i += 16) {
    aegis256_dec_aut_step(m + i, c + i, aegis256_state);
  }
  if ((*mlen & 0xf) != 0) {
    memset(ciphertextblock, 0, 16);
    memcpy(ciphertextblock, c + i, *mlen & 0xf);
    aegis256_dec_aut_step(plaintextblock, ciphertextblock, aegis256_state);
    memcpy(m + i, plaintextblock, *mlen & 0xf);
    memset(plaintextblock, 0, *mlen & 0xf);
    aegis256_state[0] = _mm_xor_si128(aegis256_state[0], _mm_load_si128((__m128i *)plaintextblock));
  }
  aegis256_tag_generation(*mlen, adlen, 16, tag, aegis256_state);
  for (i = 0; i < 16; i++)
    check |= (tag[i] ^ c[i + *mlen]);
  if (check == 0)
    return 0;
  else
    return -1;
}
```