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

```asm
<parseLine>:
  endbr64
  push   %r15
  push   %r14
  movabs $0xdffffffcfffffbff,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x4a8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x498(%rsp)
  xor    %eax,%eax
  lea    0x410(%rsp),%r15
  call   <getc@plt>
  movl   $0x0,0x8(%rsp)
  mov    %eax,%ecx
  mov    D7(%rip),%rax
  cmp    %cl,(%rax)
  je     L117
  nopl   0x0(%rax,%rax,1)
L27:
  mov    $0x1,%r13d
  cmp    $0x3d,%cl
  ja     L12
  xor    %ebp,%ebp
  bt     %rcx,%r14
  jae    L6
L12:
  lea    0x40f(%rsp),%r12
  nopl   0x0(%rax,%rax,1)
L76:
  mov    %cl,(%r12,%r13,1)
  mov    %rbx,%rdi
  movslq %r13d,%rbp
  add    $0x1,%r13
  call   <getc@plt>
  mov    %eax,%ecx
  cmp    $0x3d,%al
  ja     L76
  bt     %rcx,%r14
  jb     L76
L6:
  mov    0x8(%rsp),%eax
  lea    0x1(%rax),%r12d
  cmp    $0x21,%cl
  je     L141
  mov    %r15,%rdi
  mov    %cl,0xf(%rsp)
  movb   $0x0,0x410(%rsp,%rbp,1)
  call   <strdup@plt>
  movslq 0x8(%rsp),%r13
  xor    %esi,%esi
  mov    %r15,%rdi
  mov    $0x80,%edx
  mov    %rax,0x10(%rsp,%r13,8)
  call   <memset@plt>
  movzbl 0xf(%rsp),%ecx
L50:
  cmp    $0x3d,%cl
  je     L51
  cmp    $0x20,%cl
  jne    L90
  nopl   0x0(%rax)
L51:
  mov    %rbx,%rdi
  call   <getc@plt>
  mov    %eax,%ecx
  cmp    $0x20,%al
  je     L51
  cmp    $0x3d,%al
  je     L51
L90:
  cmp    $0xa,%cl
  jne    L170
  movslq %r12d,%r12
  lea    0x10(%rsp),%rdi
  movq   $0x0,0x10(%rsp,%r12,8)
  call   <sysCall@plt>
  mov    D19(%rip),%rax
  cmp    %rbx,(%rax)
  je     L117
  nopl   (%rax)
L145:
  mov    %rbx,%rdi
  call   <getc@plt>
  mov    %eax,%ecx
  cmp    $0xa,%al
  je     L145
  cmp    $0x20,%al
  je     L145
  movl   $0x0,0x8(%rsp)
L113:
  mov    D7(%rip),%rax
  cmp    %cl,(%rax)
  jne    L27
L117:
  mov    0x498(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L59
  add    $0x4a8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L141:
  movslq %ebp,%rax
  add    $0x1,%ebp
  mov    %r15,%rdi
  movslq %ebp,%rbp
  movb   $0x21,0x410(%rsp,%rax,1)
  movb   $0x0,0x410(%rsp,%rbp,1)
  call   <strdup@plt>
  movslq 0x8(%rsp),%r13
  xor    %esi,%esi
  mov    %r15,%rdi
  mov    $0x80,%edx
  mov    %rax,0x10(%rsp,%r13,8)
  call   <memset@plt>
  mov    %rbx,%rdi
  call   <getc@plt>
  mov    %eax,%ecx
  jmp    L50
  nopl   0x0(%rax)
L170:
  mov    %r12d,0x8(%rsp)
  jmp    L113
L59:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void parseLine(FILE *stream) {
  char *args[128];
  char buffer[128];
  int argc = 0;
  int i = 0;
  char c = getc(stream);
  while (c != EOF) {
    while (c != ' ' && c != '\n' && c != '=' && c != '!') {
      buffer[i] = c;
      i++;
      c = getc(stream);
    }
    if (c == '!') {
      buffer[i] = c;
      i++;
    }
    buffer[i] = '\0';
    args[argc] = strdup(buffer);
    argc++;
    memset(&buffer[0], 0, sizeof(buffer));
    i = 0;
    if (c == '!')
      c = getc(stream);
    while (c == ' ' || c == '=')
      c = getc(stream);
    if (c == '\n') {
      args[argc] = NULL;
      sysCall(args);
      argc = 0;
      int j = 0;
      while (j <= (argc - 1)) {
        free(args[j]);
        args[j] = NULL;
        j++;
      }
    }
    if (c == '\n' && stream == stdin)
      return;
    while (c == '\n' || c == ' ')
      c = getc(stream);
    if (c == EOF && stream != stdin)
      return;
  }
}
```