user: 下面的汇编指令对应的C源代码是什么：

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x8000(%rsp),%r11
L258:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L258
  sub    $0x2c8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x82b8(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%edi
  jg     L320
L140:
  lea    D325(%rip),%rsi
  lea    D331(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L247
  lea    0x1b0(%rsp),%rsi
  lea    D280(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%r12d
  lea    D172(%rip),%r13
L145:
  lea    0x2b0(%rsp),%rbp
L34:
  mov    %rbx,%rdx
  mov    $0x8000,%esi
  mov    %rbp,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L49
  movzbl 0x2b0(%rsp),%eax
  and    $0xffffffdf,%eax
  cmp    $0xa,%al
  je     L34
  movq   $0x0,0x48(%rsp)
  lea    0x2c(%rsp),%rcx
  lea    0x30(%rsp),%rdx
  lea    0x2b0(%rsp),%rdi
  sub    $0x8,%rsp
  lea    0x44(%rsp),%rax
  push   %rax
  lea    0x48(%rsp),%rax
  push   %rax
  lea    0x3c(%rsp),%rax
  push   %rax
  lea    0x60(%rsp),%rax
  push   %rax
  lea    0x50(%rsp),%rax
  push   %rax
  lea    0x78(%rsp),%r9
  lea    0x64(%rsp),%r8
  mov    %r13,%rsi
  mov    $0x0,%eax
  call   <sscanf@plt>
  add    $0x30,%rsp
  pxor   %xmm7,%xmm7
  ucomisd 0x48(%rsp),%xmm7
  jp     L205
  je     L145
L205:
  movsd  0x40(%rsp),%xmm0
  movapd %xmm0,%xmm1
  andpd  D60(%rip),%xmm1
  movsd  D248(%rip),%xmm6
  comisd %xmm1,%xmm6
  jbe    L145
  movslq %r12d,%rax
  lea    D320(%rip),%rdx
  movsd  %xmm0,(%rdx,%rax,8)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x30(%rsp),%xmm0
  divsd  D108(%rip),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl 0x2c(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  subsd  D130(%rip),%xmm0
  comisd D119(%rip),%xmm0
  ja     L200
  lea    D48(%rip),%rdx
  movsd  %xmm0,(%rdx,%rax,8)
L89:
  add    $0x1,%r12d
  jmp    L145
L320:
  mov    0x8(%rsi),%rdi
  lea    D331(%rip),%rdx
  lea    D323(%rip),%rsi
  call   <sscanf@plt>
  jmp    L140
L247:
  lea    D331(%rip),%rsi
  lea    D73(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L56
L200:
  movslq %r12d,%rax
  subsd  D119(%rip),%xmm0
  lea    D48(%rip),%rdx
  movsd  %xmm0,(%rdx,%rax,8)
  jmp    L89
L49:
  mov    %rbx,%rdi
  call   <fclose@plt>
  mov    $0x0,%ebp
  movsd  D334(%rip),%xmm7
  movsd  %xmm7,0x10(%rsp)
  lea    D320(%rip),%rbx
  jmp    L206
L285:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L197
L305:
  movq   $0x0,(%rcx,%rax,8)
  movsd  (%rsi,%rax,8),%xmm0
  subsd  0x10(%rsp),%xmm0
  andpd  D60(%rip),%xmm0
  comisd %xmm0,%xmm4
  jbe    L285
  addsd  (%rbx,%rax,8),%xmm1
  movsd  %xmm3,(%rcx,%rax,8)
  addsd  %xmm3,%xmm2
  mov    %r8d,%edi
  jmp    L285
L91:
  movsd  (%rbx,%rax,8),%xmm1
  subsd  0x18(%rsp),%xmm1
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm0
  movsd  0x8(%rsp),%xmm6
  addsd  %xmm4,%xmm6
  movsd  %xmm6,0x8(%rsp)
L294:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L161
L80:
  ucomisd (%rcx,%rax,8),%xmm2
  jp     L91
  ucomisd (%rcx,%rax,8),%xmm3
  je     L294
  jmp    L91
L173:
  call   <sqrt@plt>
  jmp    L83
L245:
  call   <sqrt@plt>
  jmp    L125
L204:
  lea    D120(%rip),%rsi
  lea    D124(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%rbp
  lea    0x50(%rsp),%rbx
  lea    0xf8(%rsp),%r13
  lea    D188(%rip),%r12
L279:
  movsd  (%rbx),%xmm0
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <fprintf@plt>
  add    $0x8,%rbx
  cmp    %r13,%rbx
  jne    L279
  mov    %rbp,%rdi
  call   <fclose@plt>
  lea    D120(%rip),%rsi
  lea    D216(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%rbp
  lea    0x100(%rsp),%rbx
  lea    0x1a8(%rsp),%r13
  lea    D188(%rip),%r12
L293:
  movsd  (%rbx),%xmm0
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <fprintf@plt>
  add    $0x8,%rbx
  cmp    %r13,%rbx
  jne    L293
  mov    %rbp,%rdi
  call   <fclose@plt>
L56:
  mov    0x82b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L74
  mov    $0x0,%eax
  add    $0x82c8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L197:
  test   %dil,%dil
  je     L113
  movsd  %xmm1,0x40(%rsp)
L113:
  movsd  0x40(%rsp),%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,0x18(%rsp)
  movsd  %xmm0,0x40(%rsp)
  mov    $0x0,%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,0x8(%rsp)
  lea    D356(%rip),%rcx
  movapd %xmm0,%xmm2
  movsd  D222(%rip),%xmm4
  movapd %xmm0,%xmm3
  jmp    L80
L327:
  pxor   %xmm6,%xmm6
  divsd  %xmm6,%xmm6
  movsd  %xmm6,0x18(%rsp)
  movsd  %xmm6,0x40(%rsp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,0x8(%rsp)
L161:
  divsd  0x8(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L173
  sqrtsd %xmm0,%xmm0
L83:
  mulsd  D219(%rip),%xmm0
  movq   %xmm0,%r13
  movsd  0x8(%rsp),%xmm0
  subsd  D222(%rip),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L245
  sqrtsd %xmm0,%xmm0
L125:
  movq   %r13,%xmm2
  divsd  %xmm0,%xmm2
  movsd  %xmm2,0x48(%rsp)
  movsd  0x8(%rsp),%xmm3
  movsd  0x18(%rsp),%xmm1
  movsd  0x10(%rsp),%xmm0
  lea    D174(%rip),%rdi
  mov    $0x4,%eax
  call   <printf@plt>
  movsd  0x40(%rsp),%xmm0
  movsd  %xmm0,0x50(%rsp,%rbp,1)
  movsd  0x48(%rsp),%xmm0
  movsd  %xmm0,0x100(%rsp,%rbp,1)
  movsd  0x10(%rsp),%xmm7
  addsd  D183(%rip),%xmm7
  movsd  %xmm7,0x10(%rsp)
  add    $0x8,%rbp
  cmp    $0xa8,%rbp
  je     L204
L206:
  movq   $0x0,0x40(%rsp)
  test   %r12d,%r12d
  jle    L327
  mov    %r12d,%edx
  mov    $0x0,%eax
  mov    $0x0,%edi
  pxor   %xmm1,%xmm1
  movapd %xmm1,%xmm2
  lea    D356(%rip),%rcx
  lea    D48(%rip),%rsi
  movsd  D178(%rip),%xmm4
  movsd  D222(%rip),%xmm3
  mov    $0x1,%r8d
  jmp    L305
L74:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D325
datatype: string
name: unpack_data
arguments: data_label: D331
datatype: string
name: unpack_data
arguments: data_label: D280
datatype: string
name: unpack_data
arguments: data_label: D172
datatype: string
name: unpack_data
arguments: data_label: D60
datatype: qword[2]
name: unpack_data
arguments: data_label: D248
datatype: byte[8]
name: unpack_data
arguments: data_label: D108
datatype: f64
name: unpack_data
arguments: data_label: D130
datatype: f64
name: unpack_data
arguments: data_label: D119
datatype: byte[16]
name: unpack_data
arguments: data_label: D323
datatype: string
name: unpack_data
arguments: data_label: D73
datatype: string
name: unpack_data
arguments: data_label: D334
datatype: byte[8]
name: unpack_data
arguments: data_label: D120
datatype: string
name: unpack_data
arguments: data_label: D124
datatype: string
name: unpack_data
arguments: data_label: D188
datatype: string
name: unpack_data
arguments: data_label: D216
datatype: string
name: unpack_data
arguments: data_label: D222
datatype: byte[8]
name: unpack_data
arguments: data_label: D219
datatype: f64
name: unpack_data
arguments: data_label: D174
datatype: string
name: unpack_data
arguments: data_label: D183
datatype: f64
name: unpack_data
arguments: data_label: D178
datatype: byte[8]

tool: D325: r

tool: D331: data.txt

tool: D280: file %s


tool: D172: %d %d %d %lf %d %lf %d %d %d

tool: {"D60": [0x7fffffffffffffff,0x0000000000000000]}

tool: {"D248": [0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x40]}

tool: D108: 60

tool: D130: 4

tool: {"D119": [0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x3f]}

tool: D323: %s

tool: D73: cannot open file:%s


tool: {"D334": [0x00,0x00,0x00,0x00,0x00,0x00,0x14,0xc0]}

tool: D120: wb

tool: D124: out_half.txt

tool: D188: %5.2f


tool: D216: out_err_half.txt

tool: {"D222": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: D219: 3

tool: D174: hr %4.1f vvel %5.2f err %5.2f num %4.0f


tool: D183: 0.5

tool: {"D178": [0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x3f]}

assistant: ```c
int main(int argc, char *argv[]) {
  char buf[32768];
  char fname[256];
  int line, j, np, yr, dy, hr, mn, sc, mon, qual;
  double vvel, velerr, sum1, sum2, h, dt;
  double plotvel[21], ploterr[21];
  static double tim[100000], vel[100000], verr[100000], wt[100000];
  FILE *file1;
  if (argc > 1)
    sscanf(argv[1], "%s", "data.txt");
  if ((file1 = fopen("data.txt", "r")) == NULL) {
    printf("cannot open file:%s\n", "data.txt");
    return 0;
  }
  line = j = np = 0;
  printf("file %s\n", fname);
  while (fgets(buf, 32768, file1) != 0) {
    if (buf[0] != '*' && buf[0] != '\n') {
      velerr = 0;
      sscanf(buf, "%d %d %d %lf %d %lf %d %d %d", &mn, &hr, &sc, &velerr, &dy, &vvel, &yr, &mon, &qual);
      if (velerr && fabs(vvel) < 200) {
        vel[j] = vvel;
        verr[j] = velerr;
        tim[j] = hr + mn / 60.0 - 4.0;
        if (tim[j] > 12)
          tim[j] += -12;
        j++;
      }
      line++;
    }
  }
  np = j;
  fclose(file1);
  dt = 0.5;
  int i = 0;
  for (h = -5; h <= 5; h += dt) {
    vvel = sum1 = 0;
    for (j = 0; j < np; j++) {
      wt[j] = 0;
      if (fabs(tim[j] - h) < dt / 2.0) {
        vvel += vel[j];
        wt[j] = 1;
        sum1++;
      }
    }
    vvel = vvel / sum1;
    sum1 = sum2 = 0;
    for (j = 0; j < np; j++) {
      if (wt[j]) {
        sum2 += (vel[j] - vvel) * (vel[j] - vvel);
        sum1++;
      }
    }
    velerr = 3.0 * sqrt(sum2 / sum1) / sqrt(sum1 - 1);
    printf("hr %4.1f vvel %5.2f err %5.2f num %4.0f\n", h, vvel, velerr, sum1);
    plotvel[i] = vvel;
    ploterr[i] = velerr;
    i++;
  }
  FILE *f = fopen("out_half.txt", "wb");
  for (int k = 0; k < sizeof(plotvel) / sizeof(plotvel[0]); k++) {
    fprintf(f, "%5.2f\n", plotvel[k]);
  }
  fclose(f);
  FILE *f2 = fopen("out_err_half.txt", "wb");
  for (int k = 0; k < sizeof(ploterr) / sizeof(ploterr[0]); k++) {
    fprintf(f2, "%5.2f\n", ploterr[k]);
  }
  fclose(f2);
  return 0;
}
```