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

```asm
<parse_for_recipients>:
  endbr64
  movzbl (%rdi),%ecx
  test   %cl,%cl
  je     L25
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%rbp
  movq   $0x0,0x8(%rsp)
  mov    $0x0,%r13d
  mov    $0x0,%ebx
  lea    D2(%rip),%r12
  movabs $0x4000000040000,%r14
  movabs $0x200000002,%r15
  jmp    L115
  cmp    $0xa,%cl
  je     L92
  sub    $0x42,%ecx
  cmp    $0x32,%cl
  ja     L103
  mov    $0x1,%eax
  shl    %cl,%rax
  test   %r14,%rax
  jne    L8
  test   %r15,%rax
  jne    L148
  movabs $0x100000001,%rdx
  and    %rax,%rdx
  cmovne %rbp,%r13
  mov    %rbp,%rax
  cmp    $0x1,%rdx
  sbb    %ebx,%ebx
  and    $0xfffffffd,%ebx
  add    $0x4,%ebx
  jmp    L39
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
L39:
  lea    0x1(%rax),%rbp
  movzbl 0x1(%rax),%ecx
  test   %cl,%cl
  je     L92
L115:
  cmp    $0x7,%ebx
  ja     L195
  mov    %ebx,%eax
  movslq (%r12,%rax,4),%rax
  add    %r12,%rax
  notrack jmp *%rax
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x4f,%al
  je     L282
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  jmp    L39
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x43,%al
  je     L106
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  jmp    L39
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x43,%al
  je     L205
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  mov    $0x0,%r13d
  jmp    L39
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x43,%al
  je     L327
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  mov    $0x0,%r13d
  jmp    L39
  cmp    $0xa,%cl
  je     L341
  cmp    $0x3a,%cl
  jne    L117
  lea    0x1(%rbp),%rax
  mov    %rax,0x8(%rsp)
  mov    %rbp,%rax
  mov    $0x7,%ebx
  jmp    L39
  cmp    $0xa,%cl
  je     L185
  mov    %rbp,%rax
  cmp    $0x2c,%cl
  jne    L39
  mov    %ebp,%esi
  mov    0x8(%rsp),%rdi
  sub    %edi,%esi
  call   <add_recipient@plt>
  lea    0x1(%rbp),%rax
  mov    %rax,0x8(%rsp)
  mov    %rbp,%rax
  jmp    L39
L185:
  mov    %ebp,%esi
  mov    0x8(%rsp),%rdi
  sub    %edi,%esi
  call   <add_recipient@plt>
  test   %r13,%r13
  je     L111
  add    $0x1,%rbp
  mov    %rbp,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%edx
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <memmove@plt>
  lea    -0x1(%r13),%rax
  mov    $0x0,%r13d
  mov    $0x0,%ebx
  jmp    L39
L195:
  mov    %rbp,%rax
  jmp    L39
L103:
  mov    %rbp,%rax
  mov    $0x1,%ebx
  jmp    L39
L8:
  mov    %rbp,%rax
  mov    $0x2,%ebx
  jmp    L39
L148:
  mov    %rbp,%rax
  mov    $0x3,%ebx
  jmp    L39
L282:
  mov    %rbp,%rax
  mov    $0x6,%ebx
  jmp    L39
L106:
  mov    %rbp,%rax
  mov    $0x6,%ebx
  jmp    L39
L205:
  mov    %rbp,%rax
  mov    $0x5,%ebx
  jmp    L39
L327:
  mov    %rbp,%rax
  mov    $0x6,%ebx
  jmp    L39
L341:
  mov    %rbp,%rax
  mov    $0x0,%r13d
  mov    $0x0,%ebx
  jmp    L39
L117:
  mov    %rbp,%rax
  mov    $0x0,%r13d
  mov    $0x1,%ebx
  jmp    L39
L111:
  mov    %rbp,%rax
  mov    $0x0,%ebx
  jmp    L39
L92:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L25:
  ret
```

assistant: ```c
void parse_for_recipients(char *message) {
  int state;
  char *cp;
  char *bcc;
  char *recip = (char *)0;
  state = 0;
  bcc = (char *)0;
  for (cp = message; *cp != '\0'; ++cp) {
    switch (state) {
    case 0:
      switch (*cp) {
      case '\n':
        return;
      case 'T':
      case 't':
        state = 2;
        break;
      case 'C':
      case 'c':
        state = 3;
        break;
      case 'B':
      case 'b':
        state = 4;
        bcc = cp;
        break;
      default:
        state = 1;
        break;
      }
      break;
    case 1:
      switch (*cp) {
      case '\n':
        state = 0;
        break;
      }
      break;
    case 2:
      switch (*cp) {
      case '\n':
        state = 0;
        break;
      case 'O':
      case 'o':
        state = 6;
        break;
      default:
        state = 1;
        break;
      }
      break;
    case 3:
      switch (*cp) {
      case '\n':
        state = 0;
        break;
      case 'C':
      case 'c':
        state = 6;
        break;
      default:
        state = 1;
        break;
      }
      break;
    case 4:
      switch (*cp) {
      case '\n':
        state = 0;
        bcc = (char *)0;
        break;
      case 'C':
      case 'c':
        state = 5;
        break;
      default:
        state = 1;
        bcc = (char *)0;
        break;
      }
      break;
    case 5:
      switch (*cp) {
      case '\n':
        state = 0;
        bcc = (char *)0;
        break;
      case 'C':
      case 'c':
        state = 6;
        break;
      default:
        state = 1;
        bcc = (char *)0;
        break;
      }
      break;
    case 6:
      switch (*cp) {
      case '\n':
        state = 0;
        bcc = (char *)0;
        break;
      case ':':
        state = 7;
        recip = cp + 1;
        break;
      default:
        state = 1;
        bcc = (char *)0;
        break;
      }
      break;
    case 7:
      switch (*cp) {
      case '\n':
        add_recipient(recip, (cp - recip));
        state = 0;
        if (bcc != (char *)0) {
          (void)memmove(bcc, cp + 1, strlen(cp + 1) + 1);
          cp = bcc - 1;
          bcc = (char *)0;
        }
        break;
      case ',':
        add_recipient(recip, (cp - recip));
        recip = cp + 1;
        break;
      }
      break;
    }
  }
}
```