user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  mov    $0x64,%esi
  mov    $0x1,%edi
  call   <vector@plt>
  mov    %rax,%r12
  lea    D74(%rip),%rsi
  lea    D0(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L6
L29:
  mov    %rsp,%rdi
  mov    %rbp,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  lea    0x4(%r12),%rbx
  lea    0x194(%r12),%r14
  lea    D45(%rip),%r13
L8:
  mov    %rbx,%rdx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <fscanf@plt>
  add    $0x4,%rbx
  cmp    %r14,%rbx
  jne    L8
  mov    %rbp,%rdi
  call   <fclose@plt>
  lea    D18(%rip),%rdi
  call   <puts@plt>
  lea    0x28(%r12),%rbp
  lea    0x1b8(%r12),%r13
  mov    %rbp,%r14
  lea    D14(%rip),%r15
L69:
  lea    -0x28(%r14),%rbx
L52:
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rbx),%xmm0
  mov    %r15,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %r14,%rbx
  jne    L52
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x28,%r14
  cmp    %r13,%r14
  jne    L69
  mov    %r12,%rsi
  mov    $0x64,%edi
  call   <piksrt@plt>
  lea    D55(%rip),%rdi
  call   <puts@plt>
  lea    D14(%rip),%r14
L54:
  lea    -0x28(%rbp),%rbx
L30:
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rbx),%xmm0
  mov    %r14,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %rbx,%rbp
  jne    L30
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x28,%rbp
  cmp    %r13,%rbp
  jne    L54
  mov    $0x64,%edx
  mov    $0x1,%esi
  mov    %r12,%rdi
  call   <free_vector@plt>
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L59
  mov    $0x0,%eax
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L6:
  lea    D32(%rip),%rdi
  call   <nrerror@plt>
  jmp    L29
L59:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D74
type: string
name: unpack_data
arguments: data_label: D0
type: string
name: unpack_data
arguments: data_label: D45
type: string
name: unpack_data
arguments: data_label: D18
type: string
name: unpack_data
arguments: data_label: D14
type: string
name: unpack_data
arguments: data_label: D55
type: string
name: unpack_data
arguments: data_label: D32
type: string

tool: D74: r

tool: D0: tarray.dat

tool: D45: %f

tool: D18: original array:

tool: D14: %7.2f

tool: D55: sorted array:

tool: D32: 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;
}
```