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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x418,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x408(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%edi
  je     L5
  lea    D37(%rip),%rsi
  lea    D59(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%r14
  test   %rax,%rax
  je     L118
L145:
  mov    $0x1,%r12d
  lea    D4(%rip),%r15
  lea    D6(%rip),%r13
  jmp    L96
L5:
  lea    D37(%rip),%rsi
  lea    D47(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L67
L110:
  lea    D36(%rip),%rbp
  jmp    L3
L67:
  lea    D18(%rip),%rdi
  call   <puts@plt>
  jmp    L110
L129:
  mov    %rsp,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L3:
  mov    %rsp,%rdi
  mov    %rbx,%rdx
  mov    $0x400,%esi
  call   <fgets@plt>
  test   %rax,%rax
  jne    L129
  mov    %rbx,%rdi
  call   <fclose@plt>
  jmp    L26
L118:
  lea    D18(%rip),%rdi
  call   <puts@plt>
  jmp    L145
L15:
  mov    %rbp,%rsi
  lea    D14(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L96
L43:
  mov    $0xa,%edi
  call   <putchar@plt>
L96:
  mov    %rsp,%rdi
  mov    %r14,%rdx
  mov    $0x400,%esi
  call   <fgets@plt>
  test   %rax,%rax
  je     L85
  mov    %rsp,%rbx
  mov    %rbx,%rdx
  mov    %r12d,%esi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%r12d
  mov    %r13,%rsi
  mov    %rbx,%rdi
  call   <mystrtok@plt>
  mov    %rax,%rbp
  mov    %r13,%rsi
  mov    $0x0,%edi
  call   <mystrtok@plt>
  mov    %rax,%rdi
  mov    %rbx,%rsi
  call   <str_funcs@plt>
  cmp    $0x1,%eax
  je     L15
  test   %eax,%eax
  jne    L43
  mov    %rbp,%rsi
  lea    D65(%rip),%rdi
  call   <printf@plt>
  jmp    L96
L85:
  mov    %r14,%rdi
  call   <fclose@plt>
L26:
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L55
  mov    $0x0,%eax
  add    $0x418,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L55:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D37
data_type: string
name: read_data
arguments: tag: D59
data_type: string
name: read_data
arguments: tag: D4
data_type: string
name: read_data
arguments: tag: D6
data_type: string
name: read_data
arguments: tag: D47
data_type: string
name: read_data
arguments: tag: D36
data_type: string
name: read_data
arguments: tag: D18
data_type: string
name: read_data
arguments: tag: D14
data_type: string
name: read_data
arguments: tag: D65
data_type: string

tool: D37: r

tool: D59: Test.txt

tool: D4: %d) %s

tool: D6:  	

tool: D47: -h.txt

tool: D36: %s

tool: D18: File error.

tool: D14: %s has SUCCEEDED.



tool: D65: %s has FAILED.



assistant: ```c
int main(int argc, char *argv[]) {
  char line[1024];
  char *count, *func;
  int i, j = 1;
  if (argc == 2) {
    FILE *fh = fopen("-h.txt", "r");
    if (fh == NULL)
      printf("File error.\n");
    while (fgets(line, 1024, fh))
      printf("%s", line);
    fclose(fh);
    return 0;
  }
  FILE *fp = fopen("Test.txt", "r");
  if (fp == NULL)
    printf("File error.\n");
  while (fgets(line, 1024, fp)) {
    printf("%d) %s", j, line);
    j++;
    count = mystrtok(line, " \t");
    func = mystrtok(NULL, " \t");
    i = str_funcs(func, line);
    if (i == 1)
      printf("%s has SUCCEEDED.\n\n", count);
    else if (i == 0)
      printf("%s has FAILED.\n\n", count);
    else
      printf("\n");
  }
  fclose(fp);
  return 0;
}
```