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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x4ce000(%rsp),%r11
L11:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L11
  sub    $0x7a8,%rsp
  lea    D48(%rip),%rbp
  lea    D78(%rip),%rdi
  mov    %rbp,%rsi
  mov    %fs:0x28,%rax
  mov    %rax,0x4ce798(%rsp)
  xor    %eax,%eax
  lea    0x9c50(%rsp),%rbx
  lea    0x10(%rsp),%r15
  call   <fopen@plt>
  mov    %rbp,%rsi
  lea    D38(%rip),%rdi
  mov    %rax,%r14
  call   <fopen@plt>
  mov    %rbp,%rsi
  lea    D13(%rip),%rdi
  mov    %rax,%r13
  call   <fopen@plt>
  mov    %rbp,%rsi
  lea    D32(%rip),%rdi
  mov    $0x1,%ebp
  mov    %rax,%r12
  call   <fopen@plt>
  mov    %rbx,%rdx
  mov    %r15,%rsi
  mov    %rax,0x8(%rsp)
  lea    -0x1(%rbp),%eax
  cmp    $0x3,%ebp
  je     L65
L62:
  cmp    $0x3,%eax
  je     L86
  cmp    $0x1,%eax
  je     L32
  mov    %r14,%rdi
  call   <average_time@plt>
  lea    D50(%rip),%rdi
  call   <printf@plt>
  cmp    $0x4,%ebp
  je     L42
L26:
  add    $0x1,%ebp
  mov    %rbx,%rdx
  mov    %r15,%rsi
  lea    -0x1(%rbp),%eax
  cmp    $0x3,%ebp
  jne    L62
L65:
  mov    %r12,%rdi
  call   <average_time@plt>
  lea    D66(%rip),%rdi
  call   <printf@plt>
  jmp    L26
L86:
  mov    0x8(%rsp),%rdi
  call   <average_time@plt>
  lea    D24(%rip),%rdi
  call   <printf@plt>
L42:
  mov    %r14,%rdi
  call   <fclose@plt>
  mov    %r13,%rdi
  call   <fclose@plt>
  mov    %r12,%rdi
  call   <fclose@plt>
  mov    0x8(%rsp),%rdi
  call   <fclose@plt>
  mov    0x4ce798(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L43
  add    $0x4ce7a8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L32:
  mov    %r13,%rdi
  call   <average_time@plt>
  lea    D42(%rip),%rdi
  call   <printf@plt>
  jmp    L26
L43:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D48
type_infered: string
name: unpack_data
arguments: data_label: D78
type_infered: string
name: unpack_data
arguments: data_label: D38
type_infered: string
name: unpack_data
arguments: data_label: D13
type_infered: string
name: unpack_data
arguments: data_label: D32
type_infered: string
name: unpack_data
arguments: data_label: D50
type_infered: string
name: unpack_data
arguments: data_label: D66
type_infered: string
name: unpack_data
arguments: data_label: D24
type_infered: string
name: unpack_data
arguments: data_label: D42
type_infered: string

tool: D48: r

tool: D78: test_few_small_lines.asc

tool: D38: test_few_large_lines.asc

tool: D13: test_many_small_lines.asc

tool: D32: test_many_large_lines.asc

tool: D50: FEW_SMALL_LINES = [%f]


tool: D66: MANY_SMALL_LINES = [%f]


tool: D24: MANY_LARGE_LINES = [%f]


tool: D42: FEW_LARGE_LINES = [%f]


assistant: ```c
int main(void) {
  char *line_pointer_array[5000];
  char lines_buffer[5000 * 1000];
  FILE *test_array[4];
  test_array[0] = fopen("test_few_small_lines.asc", "r");
  test_array[1] = fopen("test_few_large_lines.asc", "r");
  test_array[2] = fopen("test_many_small_lines.asc", "r");
  test_array[3] = fopen("test_many_large_lines.asc", "r");
  int element;
  for (element = 0; element <= 3; ++element) {
    switch (element) {
    case 0:
      printf("FEW_SMALL"
             "_LINES = [%f]\n",
             average_time(test_array[(0)], line_pointer_array, lines_buffer));
      break;
    case 1:
      printf("FEW_LARGE"
             "_LINES = [%f]\n",
             average_time(test_array[(1)], line_pointer_array, lines_buffer));
      break;
    case 2:
      printf("MANY_SMALL"
             "_LINES = [%f]\n",
             average_time(test_array[(2)], line_pointer_array, lines_buffer));
      break;
    case 3:
      printf("MANY_LARGE"
             "_LINES = [%f]\n",
             average_time(test_array[(3)], line_pointer_array, lines_buffer));
      break;
    }
  }
  fclose(test_array[0]);
  fclose(test_array[1]);
  fclose(test_array[2]);
  fclose(test_array[3]);
  return 0;
}
```