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

```asm
<MCParse>:
  endbr64
  push   %r15
  push   %r14
  lea    D0(%rip),%r14
  push   %r13
  lea    D42(%rip),%r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  mov    %edi,%ebx
  sub    $0x8,%rsp
  nopl   (%rax)
L94:
  mov    %ebx,%edi
  call   <get_line@plt>
  mov    %rax,%r15
  test   %rax,%rax
  je     L91
L37:
  movzbl (%r15),%edi
  cmp    $0x24,%dil
  je     L130
  test   %dil,%dil
  je     L94
  call   <isdigit@plt>
  test   %rax,%rax
  je     L157
  mov    %r15,%rdi
  call   <atoi@plt>
  mov    %r15,%rdi
  mov    %eax,%ebp
  call   <cskip@plt>
  mov    %rax,%rdi
  call   <wskip@plt>
  cmpb   $0x0,(%rax)
  mov    %rax,%rsi
  jne    L138
  mov    %ebp,%edi
  call   <MCDelMsg@plt>
  mov    %ebx,%edi
  call   <get_line@plt>
  mov    %rax,%r15
  test   %rax,%rax
  jne    L37
L91:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L130:
  lea    0x1(%r15),%rbp
  mov    $0x3,%edx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L0
  lea    0x4(%r15),%rdi
  call   <wskip@plt>
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,%edi
  call   <MCAddSet@plt>
  jmp    L94
  cs nopw 0x0(%rax,%rax,1)
L138:
  mov    %ebx,%edi
  movsbl %r12b,%edx
  call   <getmsg@plt>
  mov    %ebp,%edi
  mov    %rax,%rsi
  call   <MCAddMsg@plt>
  jmp    L94
  nopw   0x0(%rax,%rax,1)
L157:
  mov    %r14,%rsi
  mov    %r15,%rdi
  call   <warning@plt>
  jmp    L94
L0:
  mov    $0x6,%edx
  lea    D14(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L69
  mov    $0x5,%edx
  lea    D5(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L41
  movzbl 0x6(%r15),%r12d
  test   %r12b,%r12b
  je     L94
  lea    0x6(%r15),%rdi
  call   <wskip@plt>
  movzbl (%rax),%r12d
  jmp    L94
  nopw   0x0(%rax,%rax,1)
L69:
  lea    0x7(%r15),%rdi
  call   <wskip@plt>
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,%edi
  call   <MCDelSet@plt>
  jmp    L94
  nopl   (%rax)
L41:
  movzbl 0x1(%r15),%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L94
  cmpb   $0x0,0x1(%r15)
  je     L94
  mov    %rbp,%rdi
  call   <wskip@plt>
  cmpb   $0x0,(%rax)
  mov    %rax,%rdi
  je     L94
  lea    D19(%rip),%rsi
  call   <warning@plt>
  jmp    L94
```

tool_calls: name: parse_data
arguments: data_tag: D0
type_infered: string
name: parse_data
arguments: data_tag: D42
type_infered: string
name: parse_data
arguments: data_tag: D14
type_infered: string
name: parse_data
arguments: data_tag: D5
type_infered: string
name: parse_data
arguments: data_tag: D19
type_infered: string

tool: D0: neither blank line nor start of a message id

tool: D42: set

tool: D14: delset

tool: D5: quote

tool: D19: unrecognized line

assistant: ```c
void MCParse(int fd) {
  char *cptr, *str;
  int setid, msgid = 0;
  char quote = 0;
  while ((cptr = get_line(fd))) {
    if (*cptr == '$') {
      ++cptr;
      if (strncmp(cptr, "set", 3) == 0) {
        cptr += 3;
        cptr = wskip(cptr);
        setid = atoi(cptr);
        MCAddSet(setid);
        msgid = 0;
      } else if (strncmp(cptr, "delset", 6) == 0) {
        cptr += 6;
        cptr = wskip(cptr);
        setid = atoi(cptr);
        MCDelSet(setid);
      } else if (strncmp(cptr, "quote", 5) == 0) {
        cptr += 5;
        if (!*cptr)
          quote = 0;
        else {
          cptr = wskip(cptr);
          if (!*cptr)
            quote = 0;
          else
            quote = *cptr;
        }
      } else if (isspace((unsigned char)*cptr)) {
        ;
      } else {
        if (*cptr) {
          cptr = wskip(cptr);
          if (*cptr)
            warning(cptr, "unrecognized line");
        }
      }
    } else {
      if (!*cptr)
        continue;
      if (isdigit((unsigned char)*cptr)) {
        msgid = atoi(cptr);
        cptr = cskip(cptr);
        cptr = wskip(cptr);
      } else {
        warning(cptr, "neither blank line nor start of a message id");
        continue;
      }
      if (!*cptr) {
        MCDelMsg(msgid);
      } else {
        str = getmsg(fd, cptr, quote);
        MCAddMsg(msgid, str);
      }
    }
  }
}
```