user: 这段汇编代码用C语言表示是什么样的?

```asm
<encrypt>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x90,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%r14
  mov    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,-0x48(%rbp)
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,-0x40(%rbp)
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%r13
  mov    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%r12
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%rbx
  mov    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%rsi
  mov    %rbx,%rax
  mov    $0x0,%edx
  div    %rsi
  mov    %rdx,%rcx
  mov    %rcx,%rdx
  mov    %r12,%rax
  sub    %rdx,%rax
  add    %r13,%rax
  mov    %rax,-0x70(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %rax,-0xa0(%rbp)
  movq   $0x0,-0x98(%rbp)
  mov    %rax,-0xb0(%rbp)
  movq   $0x0,-0xa8(%rbp)
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L28:
  cmp    %rdx,%rsp
  je     L20
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L28
L20:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L9
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L9:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x30(%rbp)
  movq   $0x0,-0x70(%rbp)
  movq   $0x0,-0x68(%rbp)
  jmp    L35
L144:
  mov    -0x78(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L33
  mov    -0x78(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    -0x70(%rbp),%rbx
  lea    0x1(%rbx),%rdx
  mov    %rdx,-0x70(%rbp)
  mov    %eax,%edi
  call   <toupper@plt>
  mov    -0x30(%rbp),%rdx
  mov    %al,(%rdx,%rbx,1)
  jmp    L141
L33:
  nop
L141:
  addq   $0x1,-0x68(%rbp)
L35:
  mov    -0x68(%rbp),%rax
  cmp    -0x40(%rbp),%rax
  jb     L144
  mov    -0x70(%rbp),%rax
  mov    $0x0,%edx
  divq   -0x48(%rbp)
  mov    %rdx,%rax
  test   %rax,%rax
  je     L14
  movq   $0x0,-0x60(%rbp)
  jmp    L100
L119:
  mov    -0x70(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x70(%rbp)
  mov    -0x30(%rbp),%rdx
  movb   $0x51,(%rdx,%rax,1)
  addq   $0x1,-0x60(%rbp)
L100:
  mov    -0x70(%rbp),%rax
  mov    $0x0,%edx
  divq   -0x48(%rbp)
  mov    -0x48(%rbp),%rax
  sub    %rdx,%rax
  cmp    %rax,-0x60(%rbp)
  jb     L119
L14:
  mov    -0x30(%rbp),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  movq   $0x0,-0x58(%rbp)
  jmp    L90
L19:
  movq   $0x0,-0x50(%rbp)
  jmp    L91
L118:
  mov    -0x58(%rbp),%rax
  imul   -0x48(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%rax
  movzbl (%rax,%rdx,1),%eax
  movsbl %al,%eax
  lea    -0x41(%rax),%ecx
  mov    -0x80(%rbp),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x41,%eax
  add    %ecx,%eax
  movslq %eax,%rdx
  imul   $0x4ec4ec4f,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x3,%edx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  imul   $0x1a,%edx,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  lea    0x41(%rax),%ecx
  mov    -0x58(%rbp),%rax
  imul   -0x48(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addq   $0x1,-0x50(%rbp)
L91:
  mov    -0x50(%rbp),%rax
  cmp    -0x48(%rbp),%rax
  jb     L118
  addq   $0x1,-0x58(%rbp)
L90:
  mov    -0x70(%rbp),%rax
  mov    $0x0,%edx
  divq   -0x48(%rbp)
  cmp    %rax,-0x58(%rbp)
  jb     L19
  mov    %r14,%rsp
  nop
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L41
  call   <__stack_chk_fail@plt>
L41:
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
```

assistant: ```c
void encrypt(const char *p, const char *key, char *c) {
  size_t klen = strlen(key);
  size_t plen = strlen(p);
  size_t pplen = strlen(p) + (strlen(key) - strlen(p) % strlen(key));
  char pp[pplen];
  pplen = 0;
  for (size_t i = 0; i < plen; i++) {
    if (p[i] == ' ')
      continue;
    pp[pplen++] = toupper(p[i]);
  }
  if (pplen % klen != 0)
    for (size_t i = 0; i < klen - (pplen % klen); i++)
      pp[pplen++] = 'Q';
  pp[pplen] = '\0';
  for (size_t i = 0; i < pplen / klen; i++)
    for (size_t j = 0; j < klen; j++) {
      c[i * klen + j] = (pp[i * klen + j] - 'A' + (key[j] - 'A')) % 26 + 'A';
    }
}
```