user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0xfffffffffffffffb,-0x28(%rbp)
  mov    $0x1f4,%esi
  mov    $0x1,%edi
  call   <vector@plt>
  mov    %rax,-0x20(%rbp)
  mov    $0x1f4,%esi
  mov    $0x1,%edi
  call   <vector@plt>
  mov    %rax,-0x18(%rbp)
  mov    $0x1f4,%esi
  mov    $0x1,%edi
  call   <vector@plt>
  mov    %rax,-0x10(%rbp)
  lea    D87(%rip),%rax
  mov    %rax,%rdx
  lea    D101(%rip),%rax
  mov    %rax,%rsi
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D73(%rip),%r9
  lea    D10(%rip),%r8
  lea    D73(%rip),%rax
  mov    %rax,%rcx
  lea    D10(%rip),%rax
  mov    %rax,%rdx
  lea    D56(%rip),%rax
  mov    %rax,%rsi
  lea    D93(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movss  D49(%rip),%xmm0
  movss  %xmm0,-0x30(%rbp)
  movl   $0x1,-0x34(%rbp)
  jmp    L58
L0:
  lea    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <gasdev@plt>
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  pxor   %xmm5,%xmm5
  cvtss2sd %xmm0,%xmm5
  movsd  %xmm5,-0x68(%rbp)
  lea    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <gasdev@plt>
  movsd  D44(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  addsd  -0x68(%rbp),%xmm0
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  lea    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <gasdev@plt>
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  lea    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <gasdev@plt>
  movsd  D44(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x34(%rbp)
L58:
  cmpl   $0x1f4,-0x34(%rbp)
  jle    L0
  lea    -0x44(%rbp),%rcx
  lea    -0x60(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  mov    $0x1f4,%esi
  mov    %rax,%rdi
  call   <avevar@plt>
  lea    -0x40(%rbp),%rcx
  lea    -0x5c(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  mov    $0x1f4,%esi
  mov    %rax,%rdi
  call   <avevar@plt>
  lea    -0x3c(%rbp),%rcx
  lea    -0x58(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  mov    $0x1f4,%esi
  mov    %rax,%rdi
  call   <avevar@plt>
  movl   $0x1,-0x34(%rbp)
  jmp    L32
L75:
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  -0x60(%rbp),%xmm1
  subss  -0x30(%rbp),%xmm1
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  subss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  -0x5c(%rbp),%xmm1
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  subss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  -0x58(%rbp),%xmm1
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  subss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x34(%rbp)
L32:
  cmpl   $0x1f4,-0x34(%rbp)
  jle    L75
  movl   $0x1,-0x38(%rbp)
  jmp    L64
L21:
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x38(%rbp),%xmm1
  movsd  D40(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movl   $0x1,-0x34(%rbp)
  jmp    L19
L49:
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D40(%rip),%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D40(%rip),%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x34(%rbp)
L19:
  cmpl   $0x1f4,-0x34(%rbp)
  jle    L49
  lea    -0x54(%rbp),%rcx
  lea    -0x4c(%rbp),%rdx
  mov    -0x18(%rbp),%rsi
  mov    -0x20(%rbp),%rax
  mov    %rcx,%r8
  mov    %rdx,%rcx
  mov    $0x1f4,%edx
  mov    %rax,%rdi
  call   <tptest@plt>
  lea    -0x50(%rbp),%rcx
  lea    -0x48(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x20(%rbp),%rax
  mov    %rcx,%r8
  mov    %rdx,%rcx
  mov    $0x1f4,%edx
  mov    %rax,%rdi
  call   <tptest@plt>
  movss  -0x50(%rbp),%xmm0
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm0,%xmm3
  movss  -0x48(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movss  -0x54(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm0
  cvtss2sd %xmm0,%xmm0
  pxor   %xmm6,%xmm6
  cvtss2sd -0x2c(%rbp),%xmm6
  movq   %xmm6,%rax
  movapd %xmm3,%xmm4
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D123(%rip),%rax
  mov    %rax,%rdi
  mov    $0x5,%eax
  call   <printf@plt>
  addl   $0x1,-0x38(%rbp)
L64:
  cmpl   $0xb,-0x38(%rbp)
  jle    L21
  mov    -0x10(%rbp),%rax
  mov    $0x1f4,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_vector@plt>
  mov    -0x18(%rbp),%rax
  mov    $0x1f4,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_vector@plt>
  mov    -0x20(%rbp),%rax
  mov    $0x1f4,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_vector@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L79
  call   <__stack_chk_fail@plt>
L79:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D87
type_infered: string
name: disassemble_data
arguments: data_tag: D101
type_infered: string
name: disassemble_data
arguments: data_tag: D23
type_infered: string
name: disassemble_data
arguments: data_tag: D73
type_infered: string
name: disassemble_data
arguments: data_tag: D10
type_infered: string
name: disassemble_data
arguments: data_tag: D56
type_infered: string
name: disassemble_data
arguments: data_tag: D93
type_infered: string
name: disassemble_data
arguments: data_tag: D49
type_infered: byte[4]
name: disassemble_data
arguments: data_tag: D44
type_infered: f64
name: disassemble_data
arguments: data_tag: D40
type_infered: f64
name: disassemble_data
arguments: data_tag: D123
type_infered: string

tool: D87: Uncorrelated:

tool: D101: Correlated:

tool: D23: %29s %31s


tool: D73: Probability

tool: D10: t

tool: D56: Shift

tool: D93: %7s %11s %17s %11s %17s


tool: {"D49": [0xcd,0xcc,0x4c,0x3d]}

tool: D44: 0.3

tool: D40: 0.01

tool: D123: %6.2f %14.4f %12.4f %16.4f %12.4f


assistant: ```c
int main(void) {
  long idum = (-5);
  int i, j;
  float ave1, ave2, ave3;
  float offset, prob1, prob2, shift, t1, t2;
  float var1, var2, var3, *data1, *data2, *data3;
  data1 = vector(1, 500);
  data2 = vector(1, 500);
  data3 = vector(1, 500);
  printf("%29s %31s\n", "Correlated:", "Uncorrelated:");
  printf("%7s %11s %17s %11s %17s\n", "Shift", "t", "Probability", "t", "Probability");
  offset = (11 / 2) * 0.01;
  for (j = 1; j <= 500; j++) {
    data1[j] = gasdev(&idum);
    data2[j] = data1[j] + 0.3 * gasdev(&idum);
    data3[j] = gasdev(&idum);
    data3[j] += 0.3 * gasdev(&idum);
  }
  avevar(data1, 500, &ave1, &var1);
  avevar(data2, 500, &ave2, &var2);
  avevar(data3, 500, &ave3, &var3);
  for (j = 1; j <= 500; j++) {
    data1[j] -= ave1 - offset;
    data2[j] -= ave2;
    data3[j] -= ave3;
  }
  for (i = 1; i <= 11; i++) {
    shift = i * 0.01;
    for (j = 1; j <= 500; j++) {
      data2[j] += 0.01;
      data3[j] += 0.01;
    }
    tptest(data1, data2, 500, &t1, &prob1);
    tptest(data1, data3, 500, &t2, &prob2);
    printf("%6.2f %14.4f %12.4f %16.4f %12.4f\n", shift, t1, prob1, t2, prob2);
  }
  free_vector(data3, 1, 500);
  free_vector(data2, 1, 500);
  free_vector(data1, 1, 500);
  return 0;
}
```