user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r15
  lea    D32(%rip),%rsi
  lea    D124(%rip),%rdi
  push   %r14
  xor    %r14d,%r14d
  push   %r13
  push   %r12
  lea    D55(%rip),%r12
  push   %rbp
  lea    D164(%rip),%rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    0x1c(%rsp),%r13
  lea    0x20(%rsp),%rbx
  call   <fopen@plt>
  lea    D172(%rip),%rsi
  lea    D47(%rip),%rdi
  mov    %rax,%r15
  call   <fopen@plt>
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L20:
  mov    %r13,%rcx
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  mov    %r15,%rdi
  call   <fscanf@plt>
  mov    0x20(%rsp),%rcx
  mov    %r14d,%edx
  mov    %r12,%rsi
  movss  0x1c(%rsp),%xmm0
  mov    0x8(%rsp),%rdi
  add    $0x1,%r14d
  call   <fprintf@plt>
  cmp    $0x15,%r14d
  jne    L20
  mov    %r15,%rdi
  xor    %r14d,%r14d
  call   <fclose@plt>
  mov    0x8(%rsp),%rdi
  call   <fclose@plt>
  lea    D32(%rip),%rsi
  lea    D78(%rip),%rdi
  call   <fopen@plt>
  lea    D172(%rip),%rsi
  lea    D171(%rip),%rdi
  mov    %rax,%r15
  call   <fopen@plt>
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax)
L24:
  mov    %r13,%rcx
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  mov    %r15,%rdi
  call   <fscanf@plt>
  mov    0x20(%rsp),%rcx
  mov    %r14d,%edx
  mov    %r12,%rsi
  movss  0x1c(%rsp),%xmm0
  mov    0x8(%rsp),%rdi
  add    $0x1,%r14d
  call   <fprintf@plt>
  cmp    $0x15,%r14d
  jne    L24
  mov    %r15,%rdi
  xor    %r14d,%r14d
  call   <fclose@plt>
  mov    0x8(%rsp),%rdi
  call   <fclose@plt>
  lea    D32(%rip),%rsi
  lea    D102(%rip),%rdi
  call   <fopen@plt>
  lea    D172(%rip),%rsi
  lea    D38(%rip),%rdi
  mov    %rax,%r15
  call   <fopen@plt>
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax)
L42:
  mov    %r13,%rcx
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  mov    %r15,%rdi
  call   <fscanf@plt>
  mov    0x20(%rsp),%rcx
  mov    %r14d,%edx
  mov    %r12,%rsi
  movss  0x1c(%rsp),%xmm0
  mov    0x8(%rsp),%rdi
  add    $0x1,%r14d
  call   <fprintf@plt>
  cmp    $0x15,%r14d
  jne    L42
  mov    %r15,%rdi
  xor    %r14d,%r14d
  call   <fclose@plt>
  mov    0x8(%rsp),%rdi
  call   <fclose@plt>
  lea    D32(%rip),%rsi
  lea    D88(%rip),%rdi
  call   <fopen@plt>
  lea    D172(%rip),%rsi
  lea    D11(%rip),%rdi
  mov    %rax,0x8(%rsp)
  call   <fopen@plt>
  mov    0x8(%rsp),%r8
  mov    %rax,%r15
  xchg   %ax,%ax
L28:
  mov    %r8,%rdi
  mov    %r13,%rcx
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  mov    %r8,0x8(%rsp)
  call   <fscanf@plt>
  mov    0x20(%rsp),%rcx
  mov    %r14d,%edx
  mov    %r12,%rsi
  movss  0x1c(%rsp),%xmm0
  mov    %r15,%rdi
  add    $0x1,%r14d
  call   <fprintf@plt>
  cmp    $0x15,%r14d
  mov    0x8(%rsp),%r8
  jne    L28
  mov    %r8,%rdi
  call   <fclose@plt>
  mov    %r15,%rdi
  call   <fclose@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L2
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L2:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D32
type_infered: string
name: parse_data
arguments: label: D124
type_infered: string
name: parse_data
arguments: label: D55
type_infered: string
name: parse_data
arguments: label: D164
type_infered: string
name: parse_data
arguments: label: D172
type_infered: string
name: parse_data
arguments: label: D47
type_infered: string
name: parse_data
arguments: label: D78
type_infered: string
name: parse_data
arguments: label: D171
type_infered: string
name: parse_data
arguments: label: D102
type_infered: string
name: parse_data
arguments: label: D38
type_infered: string
name: parse_data
arguments: label: D88
type_infered: string
name: parse_data
arguments: label: D11
type_infered: string

tool: D32: r

tool: D124: mc.dat

tool: D55: %d %ld %f


tool: D164: %ld %f

tool: D172: w

tool: D47: mc1.dat

tool: D78: nmc.dat

tool: D171: nmc1.dat

tool: D102: blk.dat

tool: D38: blk1.dat

tool: D88: nblk.dat

tool: D11: nblk1.dat

assistant: ```c
int main(void) {
  FILE *ifile, *ofile;
  int i;
  long size;
  float time;
  ifile = fopen("mc.dat", "r");
  ofile = fopen("mc1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  ifile = fopen("nmc.dat", "r");
  ofile = fopen("nmc1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  ifile = fopen("blk.dat", "r");
  ofile = fopen("blk1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  ifile = fopen("nblk.dat", "r");
  ofile = fopen("nblk1.dat", "w");
  for (i = 0; i < 21; i++) {
    fscanf(ifile, "%ld %f", &size, &time);
    fprintf(ofile, "%d %ld %f\n", i, size, time);
  }
  fclose(ifile);
  fclose(ofile);
  return 0;
}
```