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    $0x9d8,%rsp
  mov    %edi,%ebp
  mov    %fs:0x28,%rax
  mov    %rax,0x9c8(%rsp)
  xor    %eax,%eax
  mov    0x8(%rsi),%rbx
  movw   $0x20,0x8be(%rsp)
  lea    D54(%rip),%rsi
  mov    %rbx,%rdi
  call   <fopen@plt>
  test   %rax,%rax
  je     L147
  mov    %rax,%r13
  cmp    $0x1,%ebp
  je     L133
  mov    %rbx,%rsi
  lea    D38(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L104:
  mov    $0x0,%r14d
  mov    $0x0,%r12d
  lea    D52(%rip),%rbp
L91:
  lea    0x8c0(%rsp),%rdi
  mov    %r13,%rdx
  mov    $0x100,%esi
  call   <fgets@plt>
  test   %rax,%rax
  je     L204
  lea    0x8be(%rsp),%rsi
  lea    0x8c0(%rsp),%rdi
  call   <strtok@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  jne    L131
  jmp    L91
L147:
  mov    %rbx,%rsi
  lea    D6(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L35:
  mov    0x9c8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  mov    $0x0,%eax
  add    $0x9d8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L133:
  lea    D5(%rip),%rdi
  call   <puts@plt>
  jmp    L104
L221:
  mov    %rbx,%rdi
  call   <atoi@plt>
  mov    %eax,%edx
  movslq %r14d,%rcx
  movslq %r12d,%rax
  lea    (%rax,%rax,4),%rax
  lea    (%rcx,%rax,2),%rax
  mov    %edx,0x190(%rsp,%rax,4)
  add    $0x1,%r14d
  cmp    $0x9,%r14d
  jle    L80
  add    $0x1,%r12d
  mov    $0x0,%r14d
L80:
  lea    0x8be(%rsp),%rsi
  mov    $0x0,%edi
  call   <strtok@plt>
  mov    %rax,%rbx
L112:
  test   %rbx,%rbx
  je     L91
L131:
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L221
  lea    0x8be(%rsp),%rsi
  mov    $0x0,%edi
  call   <strtok@plt>
  mov    %rax,%rbx
  mov    $0x0,%r14d
  jmp    L112
L204:
  lea    0x4b0(%rsp),%rbp
  lea    0x190(%rsp),%r12
  mov    %rbp,%r14
  mov    %r12,%rbx
  mov    $0x0,%r13d
  jmp    L33
L220:
  mov    %esi,%ecx
  add    (%rbx,%rax,4),%ecx
  mov    %ecx,%esi
  mov    %ecx,0x0(%rbp)
L125:
  add    $0x1,%rax
  add    $0x1,%edx
L76:
  cmp    $0x2,%eax
  jle    L220
  cmp    $0x9,%edx
  jle    L125
  mov    0x0(%rbp),%edi
  call   <addToHeap@plt>
  add    $0x4,%rbp
  add    $0x28,%rbx
  cmp    %r14,%rbx
  je     L132
L33:
  mov    $0x1,%edx
  mov    $0x0,%eax
  mov    %r13d,%esi
  jmp    L76
L132:
  mov    %rsp,%r13
  lea    0x50(%rsp),%r14
  mov    %r13,%rbx
L74:
  mov    $0x0,%eax
  call   <removeMin@plt>
  mov    %eax,(%rbx)
  add    $0x4,%rbx
  cmp    %r14,%rbx
  jne    L74
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D22(%rip),%rbp
  jmp    L36
L152:
  mov    %eax,%edx
  add    $0x1,%rax
  cmp    %ecx,-0x4(%rsi,%rax,4)
  jne    L152
L32:
  movslq %edx,%rdx
  lea    (%rdx,%rdx,4),%rax
  shl    $0x3,%rax
  lea    0x190(%rsp,%rax,1),%rbx
  lea    0x28(%r12,%rax,1),%r15
L164:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %r15,%rbx
  jne    L164
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x4,%r13
  cmp    %r14,%r13
  je     L35
L36:
  mov    0x0(%r13),%ecx
  mov    $0x1,%eax
  lea    0x4b0(%rsp),%rsi
  mov    $0x0,%edx
  cmp    %ecx,0x4b0(%rsp)
  jne    L152
  jmp    L32
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D54
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D38
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D52
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D6
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D5
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D22
type_guessed: string

tool: D54: r

tool: D38: %s loaded


tool: D52: 


tool: D6: Could not open %s


tool: D5: wrong numbah hoe

tool: D22: %02d 

assistant: ```c
int main(int argc, char *argv[]) {
  char *file = argv[1];
  char line[256];
  int keyArray[256];
  int numArray[20][10];
  int i = 0;
  int j = 0;
  int heapFindNum = 0;
  int xAmount = 0;
  int numCount = 0;
  int newHigh[100];
  char *token;
  const char space[2] = " ";
  FILE *openFile;
  openFile = fopen(file, "r");
  if (openFile == NULL) {
    printf("Could not open %s\n", file);
    return 0;
  }
  if (argc != 1) {
    printf("%s loaded\n", file);
  } else {
    printf("wrong numbah hoe\n");
  }
  while (fgets(line, 256, openFile)) {
    token = strtok(line, space);
    while (token != NULL) {
      if (strcmp(token, "\n") == 0) {
        j = 0;
        token = strtok(NULL, space);
      } else {
        numArray[i][j] = atoi(token);
        j++;
        if (j > 9) {
          i++;
          j = 0;
        }
        token = strtok(NULL, space);
      }
    }
  }
  for (int i = 0; i < 20; i++) {
    for (int j = 0; j < 10; j++) {
      if (j < 3) {
        numCount += numArray[i][j];
        keyArray[i] = numCount;
      }
    }
    addToHeap(keyArray[i]);
    numCount = 0;
  }
  for (int i = 0; i < 20; i++) {
    newHigh[i] = removeMin();
  }
  printf("\n");
  for (int i = 0; i < 20; i++) {
    xAmount = numArray[i][0] + numArray[i][1] + numArray[i][2];
    heapFindNum = 0;
    while (keyArray[heapFindNum] != newHigh[i]) {
      heapFindNum++;
    }
    for (int k = 0; k < 10; k++) {
      printf("%02d ", numArray[heapFindNum][k]);
    }
    printf("\n");
  }
  return 0;
}
```