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

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x64,%esi
  mov    $0x1,%edi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  call   <vector@plt>
  lea    D24(%rip),%rsi
  lea    D26(%rip),%rdi
  mov    %rax,%r13
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L58
L29:
  mov    %rsp,%rdi
  mov    %rbp,%rdx
  lea    0x4(%r13),%rbx
  mov    $0x50,%esi
  call   <fgets@plt>
  lea    0x194(%r13),%r14
  lea    D30(%rip),%r12
  nopl   (%rax)
L48:
  mov    %rbx,%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  add    $0x4,%rbx
  call   <fscanf@plt>
  cmp    %r14,%rbx
  jne    L48
  mov    %rbp,%rdi
  lea    0x28(%r13),%r12
  lea    0x1b8(%r13),%r14
  call   <fclose@plt>
  lea    D48(%rip),%rdi
  mov    %r12,%r15
  lea    D65(%rip),%rbp
  call   <puts@plt>
  nopl   0x0(%rax,%rax,1)
L6:
  lea    -0x28(%r15),%rbx
  nopl   0x0(%rax)
L31:
  pxor   %xmm0,%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  add    $0x4,%rbx
  cvtss2sd (%rbx),%xmm0
  call   <printf@plt>
  cmp    %rbx,%r15
  jne    L31
  mov    $0xa,%edi
  add    $0x28,%r15
  call   <putchar@plt>
  cmp    %r14,%r15
  jne    L6
  mov    $0x64,%edi
  mov    %r13,%rsi
  call   <piksrt@plt>
  lea    D6(%rip),%rdi
  call   <puts@plt>
  nopw   0x0(%rax,%rax,1)
L47:
  lea    -0x28(%r12),%rbx
  nopl   (%rax)
L16:
  pxor   %xmm0,%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  add    $0x4,%rbx
  cvtss2sd (%rbx),%xmm0
  call   <printf@plt>
  cmp    %rbx,%r12
  jne    L16
  mov    $0xa,%edi
  add    $0x28,%r12
  call   <putchar@plt>
  cmp    %r14,%r12
  jne    L47
  mov    $0x64,%edx
  mov    $0x1,%esi
  mov    %r13,%rdi
  call   <free_vector@plt>
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L10
  add    $0x68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L58:
  lea    D42(%rip),%rdi
  call   <nrerror@plt>
  jmp    L29
L10:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D24
data_type: string
name: disassemble_data
arguments: label: D26
data_type: string
name: disassemble_data
arguments: label: D30
data_type: string
name: disassemble_data
arguments: label: D48
data_type: string
name: disassemble_data
arguments: label: D65
data_type: string
name: disassemble_data
arguments: label: D6
data_type: string
name: disassemble_data
arguments: label: D42
data_type: string

tool: D24: r

tool: D26: tarray.dat

tool: D30: %f

tool: D48: original array:

tool: D65: %7.2f

tool: D6: sorted array:

tool: D42: Data file tarray.dat not found


assistant: ```c
int main(void) {
  char txt[80];
  int i, j;
  float *a;
  FILE *fp;
  a = vector(1, 100);
  if ((fp = fopen("tarray.dat", "r")) == NULL)
    nrerror("Data file tarray.dat not found\n");
  fgets(txt, 80, fp);
  for (i = 1; i <= 100; i++)
    fscanf(fp, "%f", &a[i]);
  fclose(fp);
  printf("original array:\n");
  for (i = 0; i <= 9; i++) {
    for (j = 1; j <= 10; j++)
      printf("%7.2f", a[10 * i + j]);
    printf("\n");
  }
  piksrt(100, a);
  printf("sorted array:\n");
  for (i = 0; i <= 9; i++) {
    for (j = 1; j <= 10; j++)
      printf("%7.2f", a[10 * i + j]);
    printf("\n");
  }
  free_vector(a, 1, 100);
  return 0;
}
```