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

```asm
<_hash_sha1>:
  endbr64
  push   %r15
  mov    $0x2431,%ecx
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x88,%rsp
  movdqa D80(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  movl   $0x61687324,0x9(%rsp)
  movabs $0x605f5e5d5c5b403f,%rax
  movaps %xmm0,0x10(%rsp)
  movdqa D32(%rip),%xmm0
  mov    %cx,0xd(%rsp)
  movaps %xmm0,0x20(%rsp)
  movdqa D15(%rip),%xmm0
  movb   $0x0,0xf(%rsp)
  movaps %xmm0,0x30(%rsp)
  movdqa D34(%rip),%xmm0
  mov    %rax,0x60(%rsp)
  movaps %xmm0,0x40(%rsp)
  movdqa D11(%rip),%xmm0
  movb   $0x0,0x68(%rsp)
  movaps %xmm0,0x50(%rsp)
  test   %edx,%edx
  jle    L41
L55:
  xor    %r13d,%r13d
  test   %rbx,%rbx
  je     L4
L84:
  mov    %rbx,%rdi
  call   <strlen@plt>
  movslq %eax,%rbp
  add    $0x13,%rbp
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    %rax,%r15
  test   %rax,%rax
  je     L3
  lea    0x9(%rsp),%rcx
  sub    $0x8,%rsp
  mov    %r12d,%r8d
  mov    %rbp,%rsi
  push   %rbx
  lea    D76(%rip),%rdx
  mov    $0x24,%r9d
  mov    %rax,%rdi
  call   <snprintf@plt>
  mov    %r15,%rsi
  mov    %r14,%rdi
  call   <crypt@plt>
  mov    %r13,%rdi
  mov    %rax,%r12
  call   <free@plt>
  mov    %r15,%rdi
  call   <free@plt>
  pop    %rax
  pop    %rdx
  test   %r12,%r12
  je     L53
  mov    %r12,%rdi
  call   <strdup@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L77
L70:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L31
  add    $0x88,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L4:
  lea    0x10(%rsp),%rdi
  mov    $0x40,%edx
  mov    $0x8,%esi
  call   <_makepasswd_password@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L68
  mov    %rax,%r13
  jmp    L84
  nopl   0x0(%rax)
L41:
  xor    %eax,%eax
  call   <rand@plt>
  cltd
  shr    $0xe,%edx
  lea    (%rax,%rdx,1),%r12d
  and    $0x3ffff,%r12d
  sub    %edx,%r12d
  jmp    L55
  cs nopw 0x0(%rax,%rax,1)
L53:
  mov    $0x1,%esi
  lea    D59(%rip),%rdi
  call   <_error@plt>
  jmp    L70
  cs nopw 0x0(%rax,%rax,1)
L68:
  xor    %r12d,%r12d
  jmp    L70
L3:
  mov    $0x1,%esi
  lea    D42(%rip),%rdi
  xor    %r12d,%r12d
  call   <_error@plt>
  mov    %r13,%rdi
  call   <free@plt>
  jmp    L70
L31:
  call   <__stack_chk_fail@plt>
L77:
  mov    $0x1,%esi
  lea    D42(%rip),%rdi
  call   <_error@plt>
  jmp    L70
```

tool_calls: name: unpack_data
arguments: tag: D80
type: byte[16]
name: unpack_data
arguments: tag: D32
type: byte[16]
name: unpack_data
arguments: tag: D15
type: byte[16]
name: unpack_data
arguments: tag: D34
type: byte[16]
name: unpack_data
arguments: tag: D11
type: byte[16]
name: unpack_data
arguments: tag: D76
type: string
name: unpack_data
arguments: tag: D59
type: string
name: unpack_data
arguments: tag: D42
type: string

tool: {"D80": [0x21,0x22,0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,0x41,0x42,0x43]}

tool: {"D32": [0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53]}

tool: {"D15": [0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69]}

tool: {"D34": [0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79]}

tool: {"D11": [0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e]}

tool: D76: %s%u%c%s

tool: D59: crypt

tool: D42: malloc

assistant: ```c
char *_hash_sha1(char const *password, char const *salt, int iterations) {
  const char prefix[] = "$sha1$";
  const char characters[] = "!\"%&'()*+,-./ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                            "abcdefghijklmnopqrstuvwxyz0123456789:;<=>?@[\\]^_`";
  char *ret;
  char *p = NULL;
  size_t len;
  char *s;
  if (iterations <= 0)
    iterations = rand() % (1 << 18);
  if (salt == NULL) {
    if ((p = _makepasswd_password(characters, 8, 64)) == NULL)
      return NULL;
    salt = p;
  }
  len = sizeof(prefix) + 11 + strlen(salt) + 1;
  if ((s = malloc(len)) == NULL) {
    _error("malloc", 1);
    free(p);
    return NULL;
  }
  snprintf(s, len, "%s%u%c%s", prefix, iterations, '$', salt);
  ret = crypt(password, s);
  free(p);
  free(s);
  if (ret == NULL)
    _error("crypt", 1);
  else if ((ret = strdup(ret)) == NULL)
    _error("malloc", 1);
  return ret;
}
```