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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x61000(%rsp),%r11
L43:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L43
  sub    $0xad8,%rsp
  lea    D75(%rip),%r14
  lea    D57(%rip),%r13
  mov    %fs:0x28,%rax
  mov    %rax,0x61ac8(%rsp)
  xor    %eax,%eax
  lea    0x2c(%rsp),%rax
  lea    0x40(%rsp),%rbx
  mov    %rax,0x10(%rsp)
  lea    0x28(%rsp),%rax
  lea    0x30(%rsp),%rbp
  mov    %rax,0x18(%rsp)
  nopl   (%rax)
L71:
  lea    D54(%rip),%rdi
  call   <printf@plt>
  lea    D58(%rip),%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%rsi
  mov    %r14,%rdi
  call   <scanf@plt>
  mov    0x2c(%rsp),%eax
  cmp    $0x2,%eax
  je     L54
  cmp    $0x3,%eax
  je     L41
  cmp    $0x1,%eax
  jne    L71
  lea    D71(%rip),%rsi
  lea    D102(%rip),%rdi
  mov    $0x64,%r15d
  call   <fopen@plt>
  mov    %rax,%r12
  nopl   0x0(%rax)
L17:
  mov    %r15d,%esi
  mov    %rbx,%rdi
  call   <fnGenRandInput@plt>
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <gettimeofday@plt>
  pxor   %xmm1,%xmm1
  mov    %r15d,%esi
  mov    %rbx,%rdi
  cvtsi2sdl 0x38(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm0
  divsd  D95(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rsp)
  call   <fnInsertionSort@plt>
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <gettimeofday@plt>
  pxor   %xmm0,%xmm0
  mov    %r15d,%edx
  mov    %r13,%rsi
  cvtsi2sdl 0x38(%rsp),%xmm0
  movsd  0x30(%rsp),%xmm1
  mov    %r12,%rdi
  add    $0x64,%r15d
  divsd  D95(%rip),%xmm1
  addsd  %xmm1,%xmm0
  subsd  0x8(%rsp),%xmm0
  call   <fprintf@plt>
  cmp    $0x2710,%r15d
  jne    L17
  mov    %r12,%rdi
  call   <fclose@plt>
  lea    D17(%rip),%rdi
  call   <printf@plt>
  jmp    L71
  cs nopw 0x0(%rax,%rax,1)
L41:
  xor    %edi,%edi
  call   <exit@plt>
  jmp    L71
L54:
  lea    D64(%rip),%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%rsi
  mov    %r14,%rdi
  call   <scanf@plt>
  lea    D11(%rip),%rdi
  call   <printf@plt>
  mov    0x28(%rsp),%esi
  mov    %rbx,%rdi
  call   <fnGenRandInput@plt>
  mov    0x28(%rsp),%esi
  mov    %rbx,%rdi
  call   <fnDispArray@plt>
  mov    0x28(%rsp),%esi
  mov    %rbx,%rdi
  call   <fnInsertionSort@plt>
  lea    D76(%rip),%rdi
  call   <printf@plt>
  mov    0x28(%rsp),%esi
  mov    %rbx,%rdi
  call   <fnDispArray@plt>
  jmp    L71
```

tool_calls: name: unpack_data
arguments: tag: D75
type_infered: string
name: unpack_data
arguments: tag: D57
type_infered: string
name: unpack_data
arguments: tag: D54
type_infered: string
name: unpack_data
arguments: tag: D58
type_infered: string
name: unpack_data
arguments: tag: D71
type_infered: string
name: unpack_data
arguments: tag: D102
type_infered: string
name: unpack_data
arguments: tag: D95
type_infered: f64
name: unpack_data
arguments: tag: D17
type_infered: string
name: unpack_data
arguments: tag: D64
type_infered: string
name: unpack_data
arguments: tag: D11
type_infered: string
name: unpack_data
arguments: tag: D76
type_infered: string

tool: D75: %d

tool: D57: %d	%lf


tool: D54: 
1.Plot the Graph
2.InsertionSort
3.Exit

tool: D58: 
Enter your choice


tool: D71: w

tool: D102: InsertionPlot.dat

tool: D95: 1000000

tool: D17: 
Data File generated and stored in file < InsertionPlot.dat >.
 Use a plotting utility


tool: D64: 
Enter the number of elements to sort


tool: D11: 
Unsorted Array


tool: D76: 
Sorted Array


assistant: ```c
int main(void) {
  FILE *fp;
  struct timeval tv;
  double dStart, dEnd;
  int iaArr[100000], iNum, iPos, iKey, i, iChoice;
  for (;;) {
    printf("\n1.Plot the Graph\n2.InsertionSort\n3.Exit");
    printf("\nEnter your choice\n");
    scanf("%d", &iChoice);
    switch (iChoice) {
    case 1:
      fp = fopen("InsertionPlot.dat", "w");
      for (i = 100; i < 10000; i += 100) {
        fnGenRandInput(iaArr, i);
        gettimeofday(&tv, NULL);
        dStart = tv.tv_sec + (tv.tv_usec / 1000000.0);
        fnInsertionSort(iaArr, i);
        gettimeofday(&tv, NULL);
        dEnd = tv.tv_sec + (tv.tv_usec / 1000000.0);
        fprintf(fp, "%d\t%lf\n", i, dEnd - dStart);
      }
      fclose(fp);
      printf("\nData File generated and stored in file < InsertionPlot.dat >.\n Use a plotting utility\n");
      break;
    case 2:
      printf("\nEnter the number of elements to sort\n");
      scanf("%d", &iNum);
      printf("\nUnsorted Array\n");
      fnGenRandInput(iaArr, iNum);
      fnDispArray(iaArr, iNum);
      fnInsertionSort(iaArr, iNum);
      printf("\nSorted Array\n");
      fnDispArray(iaArr, iNum);
      break;
    case 3:
      exit(0);
    }
  }
  return 0;
}
```