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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    $0x33,%esi
  mov    $0x1,%edi
  call   <lvector@plt>
  mov    %rax,-0x30(%rbp)
  mov    $0x33,%esi
  mov    $0x1,%edi
  call   <lvector@plt>
  mov    %rax,-0x28(%rbp)
  mov    $0x33,%esi
  mov    $0x1,%edi
  call   <vector@plt>
  mov    %rax,-0x20(%rbp)
  mov    $0x33,%esi
  mov    $0x1,%edi
  call   <vector@plt>
  mov    %rax,-0x18(%rbp)
  mov    $0x5,%ecx
  mov    $0x1,%edx
  mov    $0x5,%esi
  mov    $0x1,%edi
  call   <matrix@plt>
  mov    %rax,-0x10(%rbp)
  mov    $0x5,%r8d
  mov    $0x1,%ecx
  mov    $0x5,%edx
  mov    $0x1,%esi
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  call   <convert_matrix@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x30(%rbp),%rcx
  mov    -0x20(%rbp),%rdx
  mov    D57(%rip),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rcx,%r8
  mov    %rdx,%rcx
  mov    $0x33,%edx
  movq   %rsi,%xmm0
  mov    $0x5,%esi
  mov    %rax,%rdi
  call   <sprsin@plt>
  mov    -0x28(%rbp),%rcx
  mov    -0x18(%rbp),%rdx
  mov    -0x30(%rbp),%rsi
  mov    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <sprstp@plt>
  movq   $0x1,-0x40(%rbp)
  jmp    L35
L77:
  movq   $0x1,-0x38(%rbp)
  jmp    L149
L158:
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x38(%rbp),%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addq   $0x1,-0x38(%rbp)
L149:
  cmpq   $0x5,-0x38(%rbp)
  jbe    L158
  addq   $0x1,-0x40(%rbp)
L35:
  cmpq   $0x5,-0x40(%rbp)
  jbe    L77
  movq   $0x1,-0x40(%rbp)
  jmp    L81
L46:
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x40(%rbp),%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x38(%rbp)
  jmp    L136
L41:
  mov    -0x38(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x38(%rbp),%rax
  lea    0x0(,%rax,8),%rsi
  mov    -0x28(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addq   $0x1,-0x38(%rbp)
L136:
  mov    -0x40(%rbp),%rax
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  sub    $0x1,%rax
  cmp    %rax,-0x38(%rbp)
  jbe    L41
  addq   $0x1,-0x40(%rbp)
L81:
  cmpq   $0x5,-0x40(%rbp)
  jbe    L46
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movq   $0x1,-0x40(%rbp)
  jmp    L126
L63:
  movq   $0x1,-0x38(%rbp)
  jmp    L22
L49:
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x38(%rbp),%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  addq   $0x1,-0x38(%rbp)
L22:
  cmpq   $0x5,-0x38(%rbp)
  jbe    L49
  mov    $0xa,%edi
  call   <putchar@plt>
  addq   $0x1,-0x40(%rbp)
L126:
  cmpq   $0x5,-0x40(%rbp)
  jbe    L63
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movq   $0x1,-0x40(%rbp)
  jmp    L156
L59:
  movq   $0x1,-0x38(%rbp)
  jmp    L33
L18:
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x38(%rbp),%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  addq   $0x1,-0x38(%rbp)
L33:
  cmpq   $0x5,-0x38(%rbp)
  jbe    L18
  mov    $0xa,%edi
  call   <putchar@plt>
  addq   $0x1,-0x40(%rbp)
L156:
  cmpq   $0x5,-0x40(%rbp)
  jbe    L59
  mov    -0x8(%rbp),%rax
  mov    $0x5,%r8d
  mov    $0x1,%ecx
  mov    $0x5,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_convert_matrix@plt>
  mov    -0x10(%rbp),%rax
  mov    $0x5,%r8d
  mov    $0x1,%ecx
  mov    $0x5,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_matrix@plt>
  mov    -0x18(%rbp),%rax
  mov    $0x33,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_vector@plt>
  mov    -0x20(%rbp),%rax
  mov    $0x33,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_vector@plt>
  mov    -0x28(%rbp),%rax
  mov    $0x33,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_lvector@plt>
  mov    -0x30(%rbp),%rax
  mov    $0x33,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <free_lvector@plt>
  mov    $0x0,%eax
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D57
datatype: f64
name: unpack_data
arguments: tag: D12
datatype: string
name: unpack_data
arguments: tag: D42
datatype: string
name: unpack_data
arguments: tag: D25
datatype: string

tool: D57: 0.5

tool: D12: Original Matrix

tool: D42: %5.2f	

tool: D25: Transpose

assistant: ```c
int main(void) {
  unsigned long i, j, *ija, *ijat;
  float **a, **at, *sa, *sat;
  static float ainit[5][5] = {3.0, 0.0, 1.0, 0.0, 0.0, 0.0, 4.0, 0.0, 0.0, 0.0, 0.0, 7.0, 5.0, 9.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 0.0, 0.0, 6.0, 5.0};
  ija = lvector(1, (2 * 5 * 5 + 1));
  ijat = lvector(1, (2 * 5 * 5 + 1));
  sa = vector(1, (2 * 5 * 5 + 1));
  sat = vector(1, (2 * 5 * 5 + 1));
  at = matrix(1, 5, 1, 5);
  a = convert_matrix(&ainit[0][0], 1, 5, 1, 5);
  sprsin(a, 5, 0.5, (2 * 5 * 5 + 1), sa, ija);
  sprstp(sa, ija, sat, ijat);
  for (i = 1; i <= 5; i++)
    for (j = 1; j <= 5; j++)
      at[i][j] = 0.0;
  for (i = 1; i <= 5; i++) {
    at[i][i] = sat[i];
    for (j = ijat[i]; j <= ijat[i + 1] - 1; j++)
      at[i][ijat[j]] = sat[j];
  }
  printf("Original Matrix\n");
  for (i = 1; i <= 5; i++) {
    for (j = 1; j <= 5; j++)
      printf("%5.2f\t", a[i][j]);
    printf("\n");
  }
  printf("Transpose\n");
  for (i = 1; i <= 5; i++) {
    for (j = 1; j <= 5; j++)
      printf("%5.2f\t", at[i][j]);
    printf("\n");
  }
  free_convert_matrix(a, 1, 5, 1, 5);
  free_matrix(at, 1, 5, 1, 5);
  free_vector(sat, 1, (2 * 5 * 5 + 1));
  free_vector(sa, 1, (2 * 5 * 5 + 1));
  free_lvector(ijat, 1, (2 * 5 * 5 + 1));
  free_lvector(ija, 1, (2 * 5 * 5 + 1));
  return 0;
}
```