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

```asm
<readMicFile>:
  endbr64
  push   %r15
  mov    %r9,%r15
  push   %r14
  mov    %r8,%r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  lea    D78(%rip),%rsi
  push   %rbx
  sub    $0x88,%rsp
  mov    %rdi,0x8(%rsp)
  mov    %rdx,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  call   <fopen@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L88
L152:
  lea    0x20(%rsp),%rbx
  jmp    L48
  nopl   0x0(%rax)
L136:
  lea    0x18(%rsp),%rcx
  lea    0x14(%rsp),%rdx
  mov    %rbx,%rdi
  lea    0x1c(%rsp),%r8
  lea    D60(%rip),%rsi
  call   <sscanf@plt>
  addl   $0x1,0x0(%rbp)
L48:
  mov    %r12,%rdx
  mov    $0x50,%esi
  mov    %rbx,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  jne    L136
  mov    0x14(%rsp),%eax
  mov    (%rsp),%rsi
  mov    %eax,(%rsi)
  mov    0x0(%rbp),%edi
  test   %edi,%edi
  jle    L131
L20:
  shl    $0x2,%edi
  call   <malloc@plt>
  mov    %rax,0x0(%r13)
  test   %rax,%rax
  je     L163
L137:
  mov    0x0(%rbp),%eax
  lea    0x0(,%rax,4),%edi
  call   <malloc@plt>
  mov    %rax,(%r14)
  test   %rax,%rax
  je     L8
L164:
  mov    0x0(%rbp),%eax
  lea    0x0(,%rax,4),%edi
  call   <malloc@plt>
  mov    %rax,(%r15)
  test   %rax,%rax
  je     L168
L1:
  mov    0x0(%rbp),%eax
  test   %eax,%eax
  jle    L49
  mov    0x0(%r13),%rsi
  mov    (%r14),%rcx
  xor    %eax,%eax
  mov    (%r15),%rdx
  nopw   0x0(%rax,%rax,1)
L64:
  movl   $0x0,(%rsi,%rax,4)
  movl   $0x0,(%rcx,%rax,4)
  movl   $0x0,(%rdx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,0x0(%rbp)
  jg     L64
L49:
  mov    %r12,%rdi
  xor    %ebp,%ebp
  call   <rewind@plt>
  jmp    L166
  nopw   0x0(%rax,%rax,1)
L135:
  lea    0x14(%rsp),%rdx
  lea    0x18(%rsp),%rcx
  mov    %rbx,%rdi
  lea    0x1c(%rsp),%r8
  lea    D60(%rip),%rsi
  call   <sscanf@plt>
  mov    0x0(%r13),%rax
  mov    0x14(%rsp),%edx
  movss  0x1c(%rsp),%xmm0
  mov    %edx,(%rax,%rbp,1)
  mov    (%r14),%rax
  mov    0x18(%rsp),%edx
  mov    %edx,(%rax,%rbp,1)
  mov    (%r15),%rax
  movss  %xmm0,(%rax,%rbp,1)
  add    $0x4,%rbp
L166:
  mov    %r12,%rdx
  mov    $0x50,%esi
  mov    %rbx,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  jne    L135
  mov    %r12,%rdi
  call   <fclose@plt>
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L45
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L131:
  mov    0x8(%rsp),%rsi
  lea    D11(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
  mov    0x0(%rbp),%edi
  jmp    L20
  nopl   (%rax)
L88:
  mov    0x8(%rsp),%rsi
  lea    D40(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
  jmp    L152
  nopw   0x0(%rax,%rax,1)
L163:
  lea    D79(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
  jmp    L137
  nopl   0x0(%rax,%rax,1)
L8:
  lea    D39(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
  jmp    L164
  nopl   0x0(%rax,%rax,1)
L168:
  lea    D37(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%edi
  call   <exit@plt>
  jmp    L1
L45:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D78
type_guessed: string
name: parse_data
arguments: tag: D60
type_guessed: string
name: parse_data
arguments: tag: D11
type_guessed: string
name: parse_data
arguments: tag: D40
type_guessed: string
name: parse_data
arguments: tag: D79
type_guessed: string
name: parse_data
arguments: tag: D39
type_guessed: string
name: parse_data
arguments: tag: D37
type_guessed: string

tool: D78: rt

tool: D60: %d %d %e

tool: D11: Input file %s is empty


tool: D40: Can't read input file: %s


tool: D79: Can't allocate in_step[]

tool: D39: Can't allocate in_level[]

tool: D37: Can't allocate in_pressure[]

assistant: ```c
void readMicFile(const char *input_mic_file, int *input_line_count, int *wav_sample_count, int **in_step, int **in_level, float **in_pressure) {
  FILE *fr;
  int val1;
  int val2;
  float val3;
  char line[80];
  fr = fopen(input_mic_file, "rt");
  if (fr == NULL) {
    printf("Can't read input file: %s\n", input_mic_file);
    exit(-1);
  }
  while (fgets(line, 80, fr) != NULL) {
    sscanf(line, "%d %d %e", &val1, &val2, &val3);
    *input_line_count = *input_line_count + 1;
  }
  *wav_sample_count = val1;
  if (*input_line_count < 1) {
    printf("Input file %s is empty\n", input_mic_file);
    exit(-1);
  }
  *in_step = (int *)malloc(*input_line_count * sizeof(int));
  if (*in_step == NULL) {
    printf("Can't allocate in_step[]\n");
    exit(-1);
  }
  *in_level = (int *)malloc(*input_line_count * sizeof(int));
  if (*in_level == NULL) {
    printf("Can't allocate in_level[]\n");
    exit(-1);
  }
  *in_pressure = (float *)malloc(*input_line_count * sizeof(float));
  if (*in_pressure == NULL) {
    printf("Can't allocate in_pressure[]\n");
    exit(-1);
  }
  for (int i = 0; i < *input_line_count; i++) {
    (*in_step)[i] = 0;
    (*in_level)[i] = 0;
    (*in_pressure)[i] = 0.0f;
  }
  rewind(fr);
  int j = 0;
  while (fgets(line, 80, fr) != NULL) {
    sscanf(line, "%d %d %e", &val1, &val2, &val3);
    (*in_step)[j] = val1;
    (*in_level)[j] = val2;
    (*in_pressure)[j] = val3;
    j++;
  }
  fclose(fr);
}
```