user: Translate the below assembly code into C programming language:

```asm
<parse_for_recipients>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  movq   $0x0,-0x8(%rbp)
  movl   $0x0,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  jmp    L162
L433:
  cmpl   $0x7,-0x1c(%rbp)
  ja     L617
  mov    -0x1c(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  lea    D4(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D4(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0xa,%eax
  je     L129
  cmp    $0xa,%eax
  jl     L262
  cmp    $0x74,%eax
  jg     L262
  cmp    $0x42,%eax
  jl     L262
  sub    $0x42,%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    %rdx,%rax
  movabs $0x100000001,%rdx
  and    %rax,%rdx
  test   %rdx,%rdx
  setne  %dl
  test   %dl,%dl
  jne    L470
  movabs $0x200000002,%rdx
  and    %rax,%rdx
  test   %rdx,%rdx
  setne  %dl
  test   %dl,%dl
  jne    L283
  movabs $0x4000000040000,%rdx
  and    %rdx,%rax
  test   %rax,%rax
  setne  %al
  test   %al,%al
  je     L262
  movl   $0x2,-0x1c(%rbp)
  jmp    L476
L283:
  movl   $0x3,-0x1c(%rbp)
  jmp    L476
L470:
  movl   $0x4,-0x1c(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  jmp    L476
L262:
  movl   $0x1,-0x1c(%rbp)
  nop
L476:
  jmp    L617
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0xa,%eax
  jne    L385
  movl   $0x0,-0x1c(%rbp)
  nop
  jmp    L385
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x6f,%eax
  je     L10
  cmp    $0x6f,%eax
  jg     L254
  cmp    $0xa,%eax
  je     L584
  cmp    $0x4f,%eax
  je     L10
  jmp    L254
L584:
  movl   $0x0,-0x1c(%rbp)
  jmp    L497
L10:
  movl   $0x6,-0x1c(%rbp)
  jmp    L497
L254:
  movl   $0x1,-0x1c(%rbp)
  nop
L497:
  jmp    L617
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x63,%eax
  je     L590
  cmp    $0x63,%eax
  jg     L323
  cmp    $0xa,%eax
  je     L369
  cmp    $0x43,%eax
  je     L590
  jmp    L323
L369:
  movl   $0x0,-0x1c(%rbp)
  jmp    L89
L590:
  movl   $0x6,-0x1c(%rbp)
  jmp    L89
L323:
  movl   $0x1,-0x1c(%rbp)
  nop
L89:
  jmp    L617
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x63,%eax
  je     L75
  cmp    $0x63,%eax
  jg     L513
  cmp    $0xa,%eax
  je     L49
  cmp    $0x43,%eax
  je     L75
  jmp    L513
L49:
  movl   $0x0,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  jmp    L43
L75:
  movl   $0x5,-0x1c(%rbp)
  jmp    L43
L513:
  movl   $0x1,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  nop
L43:
  jmp    L617
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0x63,%eax
  je     L120
  cmp    $0x63,%eax
  jg     L456
  cmp    $0xa,%eax
  je     L545
  cmp    $0x43,%eax
  je     L120
  jmp    L456
L545:
  movl   $0x0,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  jmp    L553
L120:
  movl   $0x6,-0x1c(%rbp)
  jmp    L553
L456:
  movl   $0x1,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  nop
L553:
  jmp    L617
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0xa,%eax
  je     L103
  cmp    $0x3a,%eax
  je     L61
  jmp    L292
L103:
  movl   $0x0,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  jmp    L0
L61:
  movl   $0x7,-0x1c(%rbp)
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x8(%rbp)
  jmp    L0
L292:
  movl   $0x1,-0x1c(%rbp)
  movq   $0x0,-0x10(%rbp)
  nop
L0:
  jmp    L617
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    $0xa,%eax
  je     L533
  cmp    $0x2c,%eax
  je     L18
  jmp    L617
L533:
  mov    -0x18(%rbp),%rax
  sub    -0x8(%rbp),%rax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <add_recipient@plt>
  movl   $0x0,-0x1c(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  je     L464
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%edx
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rcx
  mov    -0x10(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memmove@plt>
  mov    -0x10(%rbp),%rax
  sub    $0x1,%rax
  mov    %rax,-0x18(%rbp)
  movq   $0x0,-0x10(%rbp)
  jmp    L464
L18:
  mov    -0x18(%rbp),%rax
  sub    -0x8(%rbp),%rax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <add_recipient@plt>
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x8(%rbp)
  jmp    L472
L464:
  nop
L472:
  jmp    L617
L385:
  nop
L617:
  addq   $0x1,-0x18(%rbp)
L162:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L433
  jmp    L318
L129:
  nop
L318:
  leave
  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;
    }
  }
}
```