user: What would the C source look like for the assembly code provided here?

```asm
<loadfile>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%rbx
  mov    $0x4,%edi
  call   <malloc@plt>
  mov    %rax,%r14
  mov    %rax,0x8(%rsp)
  mov    %rax,%rsi
  mov    %rbx,%rdi
  call   <readfile@plt>
  mov    %rax,%r15
  mov    (%r14),%esi
  mov    %rax,%rdi
  call   <analyze@plt>
  mov    (%r14),%esi
  mov    %esi,%ecx
  mov    $0x0,%eax
  test   %esi,%esi
  je     L12
L102:
  mov    %eax,0x4(%rsp)
  mov    (%r15,%rax,8),%rdx
  cmpb   $0x40,(%rdx)
  je     L93
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L102
L12:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L93:
  cmp    %esi,0x4(%rsp)
  jb     L33
  jmp    L12
L2:
  mov    (%r14),%rdx
  mov    %ebp,%eax
  movzbl (%rdx,%rax,1),%eax
  cmp    $0x29,%al
  setne  %r12b
  movzbl %r12b,%r12d
  test   %al,%al
  je     L97
L168:
  cmp    $0x2c,%al
  sete   %al
  movzbl %al,%eax
  add    %eax,%r12d
  add    $0x1,%ebp
  mov    %ebp,%eax
  movzbl (%rdx,%rax,1),%eax
  test   %al,%al
  jne    L168
L97:
  mov    %r12d,%ecx
  mov    %ebx,%edx
  mov    0x4(%rsp),%esi
  mov    %r15,%rdi
  call   <loadframe@plt>
  mov    %rax,%rdi
  mov    %r12d,%edx
  mov    %r13,%rsi
  call   <addframe@plt>
  mov    0x8(%rsp),%rax
  cmp    %ebx,(%rax)
  jbe    L12
  mov    %ebx,0x4(%rsp)
L33:
  mov    0x4(%rsp),%eax
  lea    (%r15,%rax,8),%r14
  mov    (%r14),%rax
  mov    $0x0,%ebx
  cmpb   $0x28,(%rax)
  je     L39
L122:
  mov    %ebx,(%rsp)
  add    $0x1,%ebx
  mov    %ebx,%r12d
  cmpb   $0x28,(%rax,%r12,1)
  jne    L122
  mov    (%rsp),%eax
  lea    0x2(%rax),%ebp
  mov    %ebp,%edi
  call   <malloc@plt>
  mov    %rax,%r13
  test   %ebx,%ebx
  je     L164
  mov    (%rsp),%edx
  mov    $0x0,%eax
L128:
  mov    (%r14),%rcx
  movzbl (%rcx,%rax,1),%ecx
  mov    %cl,0x0(%r13,%rax,1)
  mov    %rax,%rcx
  add    $0x1,%rax
  cmp    %rcx,%rdx
  jne    L128
L164:
  movb   $0x0,0x0(%r13,%r12,1)
  mov    0x4(%rsp),%eax
  lea    0x1(%rax),%ebx
  mov    0x8(%rsp),%rax
  mov    (%rax),%ecx
  cmp    %ecx,%ebx
  jae    L2
  mov    %ebx,%eax
  lea    (%r15,%rax,8),%rax
L105:
  mov    (%rax),%rdx
  cmpb   $0x40,(%rdx)
  je     L2
  add    $0x1,%ebx
  add    $0x8,%rax
  cmp    %ecx,%ebx
  jb     L105
  jmp    L2
L39:
  mov    $0x1,%edi
  call   <malloc@plt>
  mov    %rax,%r13
  mov    $0x0,%r12d
  mov    $0x1,%ebp
  jmp    L164
```

assistant: ```c
void loadfile(FILE *fin) {
  unsigned int *len = malloc(sizeof(unsigned int));
  char **lines = readfile(fin, len);
  analyze(lines, *len);
  unsigned int i, ii, iii;
  for (i = 0; i < *len && lines[i][0] != '@'; i++)
    ;
  while (i < *len) {
    for (ii = 0; lines[i][ii] != '('; ii++)
      ;
    char *fname = malloc((ii + 1) * sizeof(char));
    for (iii = 0; iii < ii; iii++) {
      fname[iii] = lines[i][iii];
    }
    fname[ii] = '\0';
    unsigned int start = i;
    for (i = start + 1; i < *len && lines[i][0] != '@'; i++)
      ;
    int argnum = lines[start][ii + 1] != ')';
    for (ii = ii + 1; lines[start][ii] != '\0'; ii++) {
      if (lines[start][ii] == ',') {
        argnum++;
      }
    }
    struct frame *f = loadframe(lines, start, i, argnum);
    addframe(f, fname, argnum);
  }
}
```