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

```asm
<digest_md5_getsubopt>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    (%rdi),%rdi
  mov    %rdx,0x8(%rsp)
  movzbl (%rdi),%eax
  test   %al,%al
  je     L116
  mov    %rsi,%r13
  mov    %rdi,%rbx
  xor    %edx,%edx
  cmp    $0x2c,%al
  je     L156
  nopl   0x0(%rax)
L122:
  mov    %edx,%esi
  xor    $0x1,%esi
  cmp    $0x22,%al
  cmove  %esi,%edx
  movzbl 0x1(%rbx),%eax
  add    $0x1,%rbx
  test   %al,%al
  je     L2
  cmp    $0x2c,%al
  jne    L122
  test   $0x1,%dl
  jne    L122
L2:
  mov    %ebx,%edx
  sub    %edi,%edx
L156:
  mov    $0x3d,%esi
  call   <memchr@plt>
  mov    0x0(%r13),%rsi
  mov    (%r14),%rdi
  mov    %rax,%r12
  test   %rax,%rax
  cmove  %rbx,%r12
  test   %rsi,%rsi
  je     L168
  xor    %ebp,%ebp
  nopl   (%rax)
L113:
  mov    %r12d,%edx
  mov    %ebp,%r15d
  sub    %edi,%edx
  call   <memcmp@plt>
  mov    (%r14),%rdi
  test   %rax,%rax
  jne    L71
  mov    0x0(%r13,%rbp,8),%rdx
  mov    %r12,%rax
  sub    %rdi,%rax
  cmpb   $0x0,(%rdx,%rax,1)
  je     L0
L71:
  add    $0x1,%rbp
  mov    0x0(%r13,%rbp,8),%rsi
  test   %rsi,%rsi
  jne    L113
L168:
  mov    0x8(%rsp),%rax
  mov    %rdi,(%rax)
  cmpb   $0x0,(%rbx)
  je     L102
  movb   $0x0,(%rbx)
  add    $0x1,%rbx
L102:
  mov    %rbx,(%r14)
  movzbl (%rbx),%eax
  cmp    $0x20,%al
  ja     L116
  movabs $0xfffffffeffffd9ff,%rsi
  bt     %rax,%rsi
  jb     L116
  lea    0x1(%rbx),%rax
  cs nopw 0x0(%rax,%rax,1)
L72:
  mov    %rax,(%r14)
  movzbl (%rax),%edx
  cmp    $0x20,%dl
  ja     L116
  add    $0x1,%rax
  bt     %rdx,%rsi
  jae    L72
  nopl   (%rax)
L116:
  mov    $0xffffffff,%r15d
L211:
  add    $0x18,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L0:
  cmp    %rbx,%r12
  je     L296
  mov    0x8(%rsp),%rax
  add    $0x1,%r12
  movabs $0x400002400,%rdx
  mov    %r12,(%rax)
  nop
L68:
  movzbl (%r12),%eax
  cmp    $0x20,%al
  je     L42
  cmp    $0x9,%al
  je     L42
  cmp    $0x22,%al
  ja     L94
  bt     %rax,%rdx
  jb     L42
L94:
  cmpb   $0x0,(%rbx)
  mov    %rbx,%rax
  jne    L291
L310:
  movabs $0x400002400,%rsi
  mov    %rax,(%r14)
  lea    -0x1(%rbx),%rax
L11:
  movzbl (%rax),%edx
  cmp    $0x20,%dl
  je     L105
  cmp    $0x9,%dl
  je     L105
  cmp    $0x22,%dl
  ja     L304
  bt     %rdx,%rsi
  jb     L105
L304:
  mov    (%r14),%rax
  movzbl (%rax),%edx
  cmp    $0x20,%dl
  ja     L211
  movabs $0xfffffffeffffd9ff,%rsi
  nopl   0x0(%rax)
L47:
  bt     %rdx,%rsi
  jb     L211
  add    $0x1,%rax
  mov    %rax,(%r14)
  movzbl (%rax),%edx
  cmp    $0x20,%dl
  ja     L211
  jmp    L47
  nopw   0x0(%rax,%rax,1)
L105:
  sub    $0x1,%rax
  movb   $0x0,0x1(%rax)
  jmp    L11
  nopw   0x0(%rax,%rax,1)
L42:
  mov    0x8(%rsp),%rax
  add    $0x1,%r12
  mov    %r12,(%rax)
  jmp    L68
L291:
  movb   $0x0,(%rbx)
  lea    0x1(%rbx),%rax
  jmp    L310
L296:
  mov    0x8(%rsp),%rax
  movq   $0x0,(%rax)
  jmp    L94
```

assistant: ```c
int digest_md5_getsubopt(char **optionp, const char *const *tokens, char **valuep) {
  char *endp, *vstart;
  int cnt;
  int inside_quote = 0;
  if (**optionp == '\0')
    return -1;
  endp = *optionp;
  while (*endp != '\0' && (inside_quote || (!inside_quote && *endp != ','))) {
    if (*endp == '"')
      inside_quote = !inside_quote;
    endp++;
  }
  vstart = memchr(*optionp, '=', endp - *optionp);
  if (vstart == NULL)
    vstart = endp;
  for (cnt = 0; tokens[cnt] != NULL; ++cnt)
    if (memcmp(*optionp, tokens[cnt], vstart - *optionp) == 0 && tokens[cnt][vstart - *optionp] == '\0') {
      *valuep = vstart != endp ? vstart + 1 : NULL;
      while (*valuep && (**valuep == ' ' || **valuep == '\t' || **valuep == '\r' || **valuep == '\n' || **valuep == '"'))
        (*valuep)++;
      if (*endp != '\0') {
        *endp = '\0';
        *optionp = endp + 1;
      } else
        *optionp = endp;
      endp--;
      while (*endp == ' ' || *endp == '\t' || *endp == '\r' || *endp == '\n' || *endp == '"')
        *endp-- = '\0';
      while (**optionp == ' ' || **optionp == '\t' || **optionp == '\r' || **optionp == '\n')
        (*optionp)++;
      return cnt;
    }
  *valuep = *optionp;
  if (*endp != '\0')
    *endp++ = '\0';
  *optionp = endp;
  while (**optionp == ' ' || **optionp == '\t' || **optionp == '\r' || **optionp == '\n')
    (*optionp)++;
  return -1;
}
```