user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<parse_for_recipients>:
  endbr64
  movzbl (%rdi),%ecx
  test   %cl,%cl
  je     L29
  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    D3(%rip),%r12
  movabs $0x4000000040000,%r14
  movabs $0x200000002,%r15
  jmp    L42
  cmp    $0xa,%cl
  je     L167
  sub    $0x42,%ecx
  cmp    $0x32,%cl
  ja     L141
  mov    $0x1,%eax
  shl    %cl,%rax
  test   %r14,%rax
  jne    L136
  test   %r15,%rax
  jne    L286
  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    L33
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
L33:
  lea    0x1(%rax),%rbp
  movzbl 0x1(%rax),%ecx
  test   %cl,%cl
  je     L167
L42:
  cmp    $0x7,%ebx
  ja     L262
  mov    %ebx,%eax
  movslq (%r12,%rax,4),%rax
  add    %r12,%rax
  notrack jmp *%rax
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x4f,%al
  je     L56
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  jmp    L33
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x43,%al
  je     L208
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  jmp    L33
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x43,%al
  je     L217
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  mov    $0x0,%r13d
  jmp    L33
  mov    %ecx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x43,%al
  je     L239
  cmp    $0xa,%cl
  setne  %bl
  movzbl %bl,%ebx
  mov    %rbp,%rax
  mov    $0x0,%r13d
  jmp    L33
  cmp    $0xa,%cl
  je     L340
  cmp    $0x3a,%cl
  jne    L127
  lea    0x1(%rbp),%rax
  mov    %rax,0x8(%rsp)
  mov    %rbp,%rax
  mov    $0x7,%ebx
  jmp    L33
  cmp    $0xa,%cl
  je     L38
  mov    %rbp,%rax
  cmp    $0x2c,%cl
  jne    L33
  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    L33
L38:
  mov    %ebp,%esi
  mov    0x8(%rsp),%rdi
  sub    %edi,%esi
  call   <add_recipient@plt>
  test   %r13,%r13
  je     L321
  lea    0x1(%rbp),%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  lea    -0x1(%r13),%rax
  mov    $0x0,%r13d
  mov    $0x0,%ebx
  jmp    L33
L262:
  mov    %rbp,%rax
  jmp    L33
L141:
  mov    %rbp,%rax
  mov    $0x1,%ebx
  jmp    L33
L136:
  mov    %rbp,%rax
  mov    $0x2,%ebx
  jmp    L33
L286:
  mov    %rbp,%rax
  mov    $0x3,%ebx
  jmp    L33
L56:
  mov    %rbp,%rax
  mov    $0x6,%ebx
  jmp    L33
L208:
  mov    %rbp,%rax
  mov    $0x6,%ebx
  jmp    L33
L217:
  mov    %rbp,%rax
  mov    $0x5,%ebx
  jmp    L33
L239:
  mov    %rbp,%rax
  mov    $0x6,%ebx
  jmp    L33
L340:
  mov    %rbp,%rax
  mov    $0x0,%r13d
  mov    $0x0,%ebx
  jmp    L33
L127:
  mov    %rbp,%rax
  mov    $0x0,%r13d
  mov    $0x1,%ebx
  jmp    L33
L321:
  mov    %rbp,%rax
  mov    $0x0,%ebx
  jmp    L33
L167:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L29:
  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)strcpy(bcc, cp + 1);
          cp = bcc - 1;
          bcc = (char *)0;
        }
        break;
      case ',':
        add_recipient(recip, (cp - recip));
        recip = cp + 1;
        break;
      }
      break;
    }
  }
}
```