user: 下面的汇编指令对应的C源代码是什么：

```asm
<ContentDispositionParse>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  mov    $0x1,%edi
  push   %r14
  push   %r13
  push   %r12
  mov    %rcx,%r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %r8,%rbx
  sub    $0x838,%rsp
  mov    %rdx,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x828(%rsp)
  xor    %eax,%eax
  test   %rsi,%rsi
  je     L6
  xor    %edi,%edi
  cmpq   $0x0,(%rsi)
  sete   %dil
L6:
  call   <assert@plt>
  xor    %r14d,%r14d
  test   %rbx,%rbx
  je     L110
  nopl   0x0(%rax)
L183:
  mov    (%rsp),%rax
  xor    %edi,%edi
  cmpq   $0x0,(%rax,%r14,8)
  sete   %dil
  add    $0x1,%r14
  call   <assert@plt>
  cmp    %r14,%rbx
  jne    L183
L110:
  mov    %r15,%rdi
  call   <strlen@plt>
  cmp    $0x3ff,%eax
  jg     L13
  lea    0x10(%rsp),%rdi
  lea    0x18(%rsp),%rsi
  mov    %r15,0x10(%rsp)
  lea    0x420(%rsp),%r14
  mov    %rdi,0x8(%rsp)
  mov    %r14,0x18(%rsp)
  call   <read_token@plt>
  test   %eax,%eax
  je     L13
  test   %rbp,%rbp
  je     L14
  mov    0x18(%rsp),%esi
  mov    %r14,%rdi
  sub    %r14d,%esi
  call   <strndup@plt>
  mov    %rax,0x0(%rbp)
  test   %rax,%rax
  je     L13
L14:
  mov    0x10(%rsp),%rdx
  lea    0x1(%rdx),%rax
  mov    %rax,0x10(%rsp)
  cmpb   $0x3b,(%rdx)
  jne    L44
  lea    0x20(%rsp),%rbp
  jmp    L152
  nopl   (%rax)
L73:
  mov    0x10(%rsp),%rax
  add    $0x1,%rax
  mov    %rax,0x10(%rsp)
L152:
  movsbl (%rax),%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L73
  mov    0x8(%rsp),%rdi
  mov    %r14,%rdx
  mov    %rbp,%rsi
  call   <read_parm@plt>
  test   %eax,%eax
  je     L44
  mov    (%rsp),%r13
  xor    %r15d,%r15d
  test   %rbx,%rbx
  je     L10
L154:
  mov    (%r12,%r15,8),%rsi
  mov    %rbp,%rdi
  call   <strcasecmp@plt>
  test   %rax,%rax
  jne    L113
  cmpq   $0x0,0x0(%r13)
  je     L2
L113:
  add    $0x1,%r15
  add    $0x8,%r13
  cmp    %r15,%rbx
  jne    L154
L10:
  mov    0x10(%rsp),%rdx
  lea    0x1(%rdx),%rax
  mov    %rax,0x10(%rsp)
  cmpb   $0x3b,(%rdx)
  je     L152
L44:
  xor    %eax,%eax
L85:
  mov    0x828(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L177
  add    $0x838,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L2:
  mov    %r14,%rdi
  call   <strdup@plt>
  mov    %rax,0x0(%r13)
  jmp    L10
L13:
  mov    $0xffffffff,%eax
  jmp    L85
L177:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int ContentDispositionParse(char const *const str, char **const type, char *values[], char const *const fields[], size_t const count) {
  assert(!type || !*type);
  for (size_t i = 0; i < count; i++)
    assert(!values[i]);
  if (strlen(str) >= 1024)
    return -1;
  char const *s = str;
  {
    char buf[1024];
    char *d = buf;
    if (!read_token(&s, &d))
      return -1;
    if (type)
      *type = strndup(buf, d - buf);
    if (type && !*type)
      return -1;
  }
  for (;;) {
    if (';' != *s++)
      break;
    while (isspace(*s))
      s++;
    char field[1024];
    char value[1024];
    if (!read_parm(&s, field, value))
      break;
    for (size_t i = 0; i < count; i++) {
      if (0 != strcasecmp(field, fields[i]))
        continue;
      if (values[i])
        continue;
      values[i] = strdup(value);
      break;
    }
  }
  return 0;
}
```