user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x5,%esi
  mov    $0x1,%edi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  lea    D51(%rip),%rbp
  push   %rbx
  sub    $0x18,%rsp
  call   <vector@plt>
  mov    $0x5,%esi
  mov    $0x1,%edi
  mov    %rax,%r12
  call   <vector@plt>
  mov    $0x5,%r8d
  mov    $0x1,%ecx
  mov    $0x5,%edx
  mov    $0x1,%esi
  lea    D3(%rip),%rdi
  mov    %rax,%r13
  call   <convert_matrix@plt>
  lea    D21(%rip),%rdi
  mov    %rax,%r14
  call   <puts@plt>
  lea    0x30(%r14),%rax
  lea    0x8(%r14),%r15
  mov    %rax,0x8(%rsp)
L28:
  mov    $0x4,%ebx
L16:
  mov    (%r15),%rax
  pxor   %xmm0,%xmm0
  mov    %rbp,%rdi
  cvtss2sd (%rax,%rbx,1),%xmm0
  mov    $0x1,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    $0x18,%rbx
  jne    L16
  mov    $0xa,%edi
  add    $0x8,%r15
  call   <putchar@plt>
  cmp    %r15,0x8(%rsp)
  jne    L28
  mov    $0x5,%esi
  mov    %r14,%rdi
  mov    $0x4,%ebx
  call   <balanc@plt>
  mov    $0x5,%esi
  mov    %r14,%rdi
  lea    D34(%rip),%rbp
  call   <elmhes@plt>
  mov    %r13,%rcx
  mov    %r12,%rdx
  mov    $0x5,%esi
  mov    %r14,%rdi
  call   <hqr@plt>
  lea    D48(%rip),%rdi
  call   <puts@plt>
  lea    D6(%rip),%rdx
  lea    D25(%rip),%rsi
  xor    %eax,%eax
  lea    D17(%rip),%rdi
  call   <printf@plt>
L3:
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  mov    %rbp,%rdi
  mov    $0x2,%eax
  cvtss2sd (%r12,%rbx,1),%xmm0
  cvtss2sd 0x0(%r13,%rbx,1),%xmm1
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    $0x18,%rbx
  jne    L3
  mov    $0x5,%r8d
  mov    $0x1,%ecx
  mov    %r14,%rdi
  mov    $0x5,%edx
  mov    $0x1,%esi
  call   <free_convert_matrix@plt>
  mov    %r13,%rdi
  mov    $0x5,%edx
  mov    $0x1,%esi
  call   <free_vector@plt>
  mov    %r12,%rdi
  mov    $0x5,%edx
  mov    $0x1,%esi
  call   <free_vector@plt>
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: label: D51
data_type: string
name: parse_data
arguments: label: D21
data_type: string
name: parse_data
arguments: label: D34
data_type: string
name: parse_data
arguments: label: D48
data_type: string
name: parse_data
arguments: label: D6
data_type: string
name: parse_data
arguments: label: D25
data_type: string
name: parse_data
arguments: label: D17
data_type: string

tool: D51: %12.2f

tool: D21: matrix:

tool: D34: %15f %14f


tool: D48: eigenvalues:

tool: D6: imag.

tool: D25: real

tool: D17: %11s %16s 


assistant: ```c
int main(void) {
  int i, j;
  static float c[5][5] = {1.0, 2.0, 0.0, 0.0, 0.0, -2.0, 3.0, 0.0, 0.0, 0.0, 3.0, 4.0, 50.0, 0.0, 0.0, -4.0, 5.0, -60.0, 7.0, 0.0, -5.0, 6.0, -70.0, 8.0, -9.0};
  float *wr, *wi, **a;
  wr = vector(1, 5);
  wi = vector(1, 5);
  a = convert_matrix(&c[0][0], 1, 5, 1, 5);
  printf("matrix:\n");
  for (i = 1; i <= 5; i++) {
    for (j = 1; j <= 5; j++)
      printf("%12.2f", a[i][j]);
    printf("\n");
  }
  balanc(a, 5);
  elmhes(a, 5);
  hqr(a, 5, wr, wi);
  printf("eigenvalues:\n");
  printf("%11s %16s \n", "real", "imag.");
  for (i = 1; i <= 5; i++)
    printf("%15f %14f\n", wr[i], wi[i]);
  free_convert_matrix(a, 1, 5, 1, 5);
  free_vector(wi, 1, 5);
  free_vector(wr, 1, 5);
  return 0;
}
```