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

```asm
<docsNormFromSeqFile>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %esi,-0x5c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  movl   $0x3e8,-0x4c(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  sub    $0x1,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  mov    %rax,%r10
  mov    $0x0,%r11d
  mov    -0x4c(%rbp),%eax
  cltq
  mov    %rax,%r8
  mov    $0x0,%r9d
  mov    -0x4c(%rbp),%eax
  cltq
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L49:
  cmp    %rdx,%rsp
  je     L27
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L49
L27:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L26
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L26:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x30(%rbp)
  movl   $0x0,-0x50(%rbp)
  mov    -0x5c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x28(%rbp)
  jmp    L11
L59:
  mov    -0x30(%rbp),%rax
  lea    D25(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strtok@plt>
  mov    -0x30(%rbp),%rax
  lea    D20(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strtok@plt>
  mov    %rax,-0x20(%rbp)
  lea    -0x40(%rbp),%rcx
  mov    -0x20(%rbp),%rax
  mov    $0xa,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strtol@plt>
  mov    %eax,-0x48(%rbp)
  lea    D20(%rip),%rax
  mov    %rax,%rsi
  mov    $0x0,%edi
  call   <strtok@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <atof@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x44(%rbp)
  mov    -0x48(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movss  -0x44(%rbp),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x50(%rbp)
L11:
  mov    -0x58(%rbp),%rdx
  mov    -0x4c(%rbp),%ecx
  mov    -0x30(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L63
  mov    -0x50(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L59
L63:
  mov    -0x28(%rbp),%rax
  mov    %rbx,%rsp
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L55
  call   <__stack_chk_fail@plt>
L55:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D25
type: string
name: parse_data
arguments: data_label: D20
type: string

tool: D25: 


tool: D20: :

assistant: ```c
float *docsNormFromSeqFile(FILE *docsNormFile, int totalDocs) {
  const int MAX_BYTES_READ_PER_LINE = 1000;
  char line[MAX_BYTES_READ_PER_LINE];
  int docsCount = 0;
  float *docsNorm = (float *)malloc(sizeof(float) * totalDocs);
  int docId;
  float docNorm;
  char *tokens;
  while (fgets(line, MAX_BYTES_READ_PER_LINE, docsNormFile) != NULL && docsCount < totalDocs) {
    strtok(line, "\n");
    tokens = strtok(line, ":");
    char *ptr;
    docId = strtol(tokens, &ptr, 10);
    tokens = strtok(NULL, ":");
    docNorm = atof(tokens);
    docsNorm[docId] = docNorm;
    docsCount++;
  }
  return docsNorm;
}
```