user: What is the c source code of the assembly code below:

```asm
<read_line>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  jmp    L0
L101:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  jne    L71
  jmp    L0
L71:
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x23,%al
  jne    L175
L0:
  mov    -0x18(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  mov    $0x100,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jne    L101
  jmp    L206
L175:
  nop
L206:
  cmpq   $0x0,-0x8(%rbp)
  jne    L131
  mov    $0xfffffffe,%eax
  jmp    L42
L131:
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0xc(%rbp)
  mov    -0x20(%rbp),%rax
  lea    D26(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  je     L150
  mov    $0x3,%eax
  jmp    L42
L150:
  mov    -0x20(%rbp),%rax
  lea    D8(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  je     L107
  mov    $0x1,%eax
  jmp    L42
L107:
  mov    -0x20(%rbp),%rax
  lea    D34(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  je     L104
  mov    $0x2,%eax
  jmp    L42
L104:
  mov    -0x20(%rbp),%rax
  lea    D11(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  je     L48
  movl   $0x2,-0x10(%rbp)
  jmp    L174
L171:
  addl   $0x1,-0x10(%rbp)
L174:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3d,%al
  jne    L171
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jne    L128
  mov    $0xffffffff,%eax
  jmp    L42
L202:
  mov    -0x10(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x10(%rbp)
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
L128:
  cmpl   $0x0,-0x10(%rbp)
  jns    L202
  mov    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x4,%eax
  jmp    L42
L48:
  mov    $0xffffffff,%eax
L42:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D26
type: string
name: disassemble_data
arguments: data_tag: D8
type: string
name: disassemble_data
arguments: data_tag: D34
type: string
name: disassemble_data
arguments: data_tag: D11
type: string
name: disassemble_data
arguments: data_tag: D12
type: string

tool: D26: uxj

tool: D8: raw

tool: D34: detrend

tool: D11: ms

tool: D12: line=%s


assistant: ```c
int read_line(FILE *file, char *line) {
  char *s;
  int len, i;
  while ((s = fgets(line, (256), file)) != NULL) {
    if (line[0] == '\n')
      continue;
    if (line[0] != '#')
      break;
  }
  if (s == NULL)
    return (-2);
  len = strlen(s);
  if (strstr(line, "uxj") != NULL)
    return (3);
  if (strstr(line, "raw") != NULL)
    return (1);
  if (strstr(line, "detrend") != NULL)
    return (2);
  if (strstr(line, "ms") != NULL) {
    i = 2;
    while (line[i] != '=')
      i++;
    if (i == len)
      return (-1);
    while (i >= 0)
      line[i--] = ' ';
    printf("line=%s\n", line);
    return (4);
  }
  return (-1);
}
```