#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ balanc(float **, int);
float **convert_matrix(float *, int, int, int, int);
int /*<<< orphan*/ elmhes(float **, int);
int /*<<< orphan*/ free_convert_matrix(float **, int, int, int, int);
int /*<<< orphan*/ free_vector(float *, int, int);
int /*<<< orphan*/ hqr(float **, int, float *, float *);
int /*<<< orphan*/ printf(char *, ...);
float *vector(int, int);
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;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edi
mov    $0x5,%esi
call   1070 <vector@plt>
mov    %rax,-0x18(%rbp)
mov    $0x1,%edi
mov    $0x5,%esi
call   1070 <vector@plt>
mov    %rax,-0x20(%rbp)
lea    0x2eb4(%rip),%rdi
mov    $0x1,%ecx
mov    $0x5,%r8d
mov    %ecx,%esi
mov    %r8d,%edx
call   1090 <convert_matrix@plt>
mov    %rax,-0x28(%rbp)
lea    0xe24(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jg     1256 <main+0xd6>
movl   $0x1,-0xc(%rbp)
cmpl   $0x5,-0xc(%rbp)
jg     123a <main+0xba>
mov    -0x28(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0xc(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xde4(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11fb <main+0x7b>
lea    0xde7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11ea <main+0x6a>
mov    -0x28(%rbp),%rdi
mov    $0x5,%esi
call   10a0 <balanc@plt>
mov    -0x28(%rbp),%rdi
mov    $0x5,%esi
call   1080 <elmhes@plt>
mov    -0x28(%rbp),%rdi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    $0x5,%esi
call   1060 <hqr@plt>
lea    0xd81(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd81(%rip),%rdi
lea    0xd86(%rip),%rsi
lea    0xd84(%rip),%rdx
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x5,-0x8(%rbp)
jg     1301 <main+0x181>
mov    -0x18(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd49(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    12b9 <main+0x139>
mov    -0x28(%rbp),%rdi
mov    $0x1,%ecx
mov    $0x5,%r8d
mov    %ecx,%esi
mov    %r8d,%edx
call   1030 <free_convert_matrix@plt>
mov    -0x20(%rbp),%rdi
mov    $0x1,%esi
mov    $0x5,%edx
call   1050 <free_vector@plt>
mov    -0x18(%rbp),%rdi
mov    $0x1,%esi
mov    $0x5,%edx
call   1050 <free_vector@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    $0x1,%edi
mov    $0x5,%esi
call   1090 <vector@plt>
mov    %rax,%r14
mov    $0x1,%edi
mov    $0x5,%esi
call   1090 <vector@plt>
mov    %rax,%r15
lea    0x2ead(%rip),%rdi
mov    $0x1,%esi
mov    $0x5,%edx
mov    $0x1,%ecx
mov    $0x5,%r8d
call   10b0 <convert_matrix@plt>
mov    %rax,%rbx
lea    0xe32(%rip),%rdi
call   1050 <puts@plt>
mov    0x8(%rbx),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdf0(%rip),%r12
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x8(%rbx),%rax
movss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x8(%rbx),%rax
movss  0xc(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x8(%rbx),%rax
movss  0x10(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x8(%rbx),%rax
movss  0x14(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x10(%rbx),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x10(%rbx),%rax
movss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x10(%rbx),%rax
movss  0xc(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x10(%rbx),%rax
movss  0x10(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x10(%rbx),%rax
movss  0x14(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x18(%rbx),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x18(%rbx),%rax
movss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x18(%rbx),%rax
movss  0xc(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x18(%rbx),%rax
movss  0x10(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x18(%rbx),%rax
movss  0x14(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x20(%rbx),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x20(%rbx),%rax
movss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x20(%rbx),%rax
movss  0xc(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x20(%rbx),%rax
movss  0x10(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x20(%rbx),%rax
movss  0x14(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x28(%rbx),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x28(%rbx),%rax
movss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x28(%rbx),%rax
movss  0xc(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x28(%rbx),%rax
movss  0x10(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    0x28(%rbx),%rax
movss  0x14(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
call   10c0 <balanc@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
call   10a0 <elmhes@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
mov    %r14,%rdx
mov    %r15,%rcx
call   1080 <hqr@plt>
lea    0xb89(%rip),%rdi
call   1050 <puts@plt>
lea    0xb53(%rip),%rdi
lea    0xb58(%rip),%rsi
lea    0xb56(%rip),%rdx
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x4(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x4(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xb3a(%rip),%r12
mov    %r12,%rdi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x8(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x8(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r12,%rdi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0xc(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0xc(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r12,%rdi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x10(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x10(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r12,%rdi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x14(%r14),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x14(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %r12,%rdi
mov    $0x2,%al
call   1060 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x5,%edx
mov    $0x1,%ecx
mov    $0x5,%r8d
call   1040 <free_convert_matrix@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x5,%edx
call   1070 <free_vector@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x5,%edx
call   1070 <free_vector@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@main.c = internal global [5 x [5 x float]] [[5 x float] [float 1.000000e+00, float 2.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00], [5 x float] [float -2.000000e+00, float 3.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00], [5 x float] [float 3.000000e+00, float 4.000000e+00, float 5.000000e+01, float 0.000000e+00, float 0.000000e+00], [5 x float] [float -4.000000e+00, float 5.000000e+00, float -6.000000e+01, float 7.000000e+00, float 0.000000e+00], [5 x float] [float -5.000000e+00, float 6.000000e+00, float -7.000000e+01, float 8.000000e+00, float -9.000000e+00]]
@.str = [9 x i8] c"matrix:\0A\00"
@.str.1 = [7 x i8] c"%12.2f\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [14 x i8] c"eigenvalues:\0A\00"
@.str.4 = [12 x i8] c"%11s %16s \0A\00"
@.str.5 = [5 x i8] c"real\00"
@.str.6 = [6 x i8] c"imag.\00"
@.str.7 = [11 x i8] c"%15f %14f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca float*
%5 = alloca float*
%6 = alloca float**
store i32 0, i32* %1
%7 = call float* @vector(i32 1, i32 5)
store float* %7, float** %4
%8 = call float* @vector(i32 1, i32 5)
store float* %8, float** %5
%9 = call float** @convert_matrix(float* getelementptr inbounds ([5 x [5 x float]], [5 x [5 x float]]* @main.c, i64 0, i64 0, i64 0), i32 1, i32 5, i32 1, i32 5)
store float** %9, float*** %6
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i32 1, i32* %2
br label %11
11: ; preds = %35, %0
%12 = load i32, i32* %2
%13 = icmp sle i32 %12, 5
br i1 %13, label %14, label %38
14: ; preds = %11
store i32 1, i32* %3
br label %15
15: ; preds = %30, %14
%16 = load i32, i32* %3
%17 = icmp sle i32 %16, 5
br i1 %17, label %18, label %33
18: ; preds = %15
%19 = load float**, float*** %6
%20 = load i32, i32* %2
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds float*, float** %19, i64 %21
%23 = load float*, float** %22
%24 = load i32, i32* %3
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, float* %23, i64 %25
%27 = load float, float* %26
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %28)
br label %30
30: ; preds = %18
%31 = load i32, i32* %3
%32 = add nsw i32 %31, 1
store i32 %32, i32* %3
br label %15
33: ; preds = %15
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %35
35: ; preds = %33
%36 = load i32, i32* %2
%37 = add nsw i32 %36, 1
store i32 %37, i32* %2
br label %11
38: ; preds = %11
%39 = load float**, float*** %6
%40 = call i32 @balanc(float** %39, i32 5)
%41 = load float**, float*** %6
%42 = call i32 @elmhes(float** %41, i32 5)
%43 = load float**, float*** %6
%44 = load float*, float** %4
%45 = load float*, float** %5
%46 = call i32 @hqr(float** %43, i32 5, float* %44, float* %45)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
store i32 1, i32* %2
br label %49
49: ; preds = %66, %38
%50 = load i32, i32* %2
%51 = icmp sle i32 %50, 5
br i1 %51, label %52, label %69
52: ; preds = %49
%53 = load float*, float** %4
%54 = load i32, i32* %2
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds float, float* %53, i64 %55
%57 = load float, float* %56
%58 = fpext float %57 to double
%59 = load float*, float** %5
%60 = load i32, i32* %2
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds float, float* %59, i64 %61
%63 = load float, float* %62
%64 = fpext float %63 to double
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double %58, double %64)
br label %66
66: ; preds = %52
%67 = load i32, i32* %2
%68 = add nsw i32 %67, 1
store i32 %68, i32* %2
br label %49
69: ; preds = %49
%70 = load float**, float*** %6
%71 = call i32 @free_convert_matrix(float** %70, i32 1, i32 5, i32 1, i32 5)
%72 = load float*, float** %5
%73 = call i32 @free_vector(float* %72, i32 1, i32 5)
%74 = load float*, float** %4
%75 = call i32 @free_vector(float* %74, i32 1, i32 5)
ret i32 0
}

LLVM IR (-O2):
@main.c = internal global [5 x [5 x float]] [[5 x float] [float 1.000000e+00, float 2.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00], [5 x float] [float -2.000000e+00, float 3.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00], [5 x float] [float 3.000000e+00, float 4.000000e+00, float 5.000000e+01, float 0.000000e+00, float 0.000000e+00], [5 x float] [float -4.000000e+00, float 5.000000e+00, float -6.000000e+01, float 7.000000e+00, float 0.000000e+00], [5 x float] [float -5.000000e+00, float 6.000000e+00, float -7.000000e+01, float 8.000000e+00, float -9.000000e+00]]
@.str.1 = [7 x i8] c"%12.2f\00"
@.str.4 = [12 x i8] c"%11s %16s \0A\00"
@.str.5 = [5 x i8] c"real\00"
@.str.6 = [6 x i8] c"imag.\00"
@.str.7 = [11 x i8] c"%15f %14f\0A\00"
@str = [8 x i8] c"matrix:\00"
@str.8 = [13 x i8] c"eigenvalues:\00"
define i32 @main() {
%1 = tail call float* @vector(i32 1, i32 5)
%2 = tail call float* @vector(i32 1, i32 5)
%3 = tail call float** @convert_matrix(float* getelementptr inbounds ([5 x [5 x float]], [5 x [5 x float]]* @main.c, i64 0, i64 0, i64 0), i32 1, i32 5, i32 1, i32 5)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%5 = getelementptr inbounds float*, float** %3, i64 1
%6 = load float*, float** %5
%7 = getelementptr inbounds float, float* %6, i64 1
%8 = load float, float* %7
%9 = fpext float %8 to double
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %9)
%11 = load float*, float** %5
%12 = getelementptr inbounds float, float* %11, i64 2
%13 = load float, float* %12
%14 = fpext float %13 to double
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %14)
%16 = load float*, float** %5
%17 = getelementptr inbounds float, float* %16, i64 3
%18 = load float, float* %17
%19 = fpext float %18 to double
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %19)
%21 = load float*, float** %5
%22 = getelementptr inbounds float, float* %21, i64 4
%23 = load float, float* %22
%24 = fpext float %23 to double
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %24)
%26 = load float*, float** %5
%27 = getelementptr inbounds float, float* %26, i64 5
%28 = load float, float* %27
%29 = fpext float %28 to double
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %29)
%31 = tail call i32 @putchar(i32 10)
%32 = getelementptr inbounds float*, float** %3, i64 2
%33 = load float*, float** %32
%34 = getelementptr inbounds float, float* %33, i64 1
%35 = load float, float* %34
%36 = fpext float %35 to double
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %36)
%38 = load float*, float** %32
%39 = getelementptr inbounds float, float* %38, i64 2
%40 = load float, float* %39
%41 = fpext float %40 to double
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %41)
%43 = load float*, float** %32
%44 = getelementptr inbounds float, float* %43, i64 3
%45 = load float, float* %44
%46 = fpext float %45 to double
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %46)
%48 = load float*, float** %32
%49 = getelementptr inbounds float, float* %48, i64 4
%50 = load float, float* %49
%51 = fpext float %50 to double
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %51)
%53 = load float*, float** %32
%54 = getelementptr inbounds float, float* %53, i64 5
%55 = load float, float* %54
%56 = fpext float %55 to double
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %56)
%58 = tail call i32 @putchar(i32 10)
%59 = getelementptr inbounds float*, float** %3, i64 3
%60 = load float*, float** %59
%61 = getelementptr inbounds float, float* %60, i64 1
%62 = load float, float* %61
%63 = fpext float %62 to double
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %63)
%65 = load float*, float** %59
%66 = getelementptr inbounds float, float* %65, i64 2
%67 = load float, float* %66
%68 = fpext float %67 to double
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %68)
%70 = load float*, float** %59
%71 = getelementptr inbounds float, float* %70, i64 3
%72 = load float, float* %71
%73 = fpext float %72 to double
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %73)
%75 = load float*, float** %59
%76 = getelementptr inbounds float, float* %75, i64 4
%77 = load float, float* %76
%78 = fpext float %77 to double
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %78)
%80 = load float*, float** %59
%81 = getelementptr inbounds float, float* %80, i64 5
%82 = load float, float* %81
%83 = fpext float %82 to double
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %83)
%85 = tail call i32 @putchar(i32 10)
%86 = getelementptr inbounds float*, float** %3, i64 4
%87 = load float*, float** %86
%88 = getelementptr inbounds float, float* %87, i64 1
%89 = load float, float* %88
%90 = fpext float %89 to double
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %90)
%92 = load float*, float** %86
%93 = getelementptr inbounds float, float* %92, i64 2
%94 = load float, float* %93
%95 = fpext float %94 to double
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %95)
%97 = load float*, float** %86
%98 = getelementptr inbounds float, float* %97, i64 3
%99 = load float, float* %98
%100 = fpext float %99 to double
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %100)
%102 = load float*, float** %86
%103 = getelementptr inbounds float, float* %102, i64 4
%104 = load float, float* %103
%105 = fpext float %104 to double
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %105)
%107 = load float*, float** %86
%108 = getelementptr inbounds float, float* %107, i64 5
%109 = load float, float* %108
%110 = fpext float %109 to double
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %110)
%112 = tail call i32 @putchar(i32 10)
%113 = getelementptr inbounds float*, float** %3, i64 5
%114 = load float*, float** %113
%115 = getelementptr inbounds float, float* %114, i64 1
%116 = load float, float* %115
%117 = fpext float %116 to double
%118 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %117)
%119 = load float*, float** %113
%120 = getelementptr inbounds float, float* %119, i64 2
%121 = load float, float* %120
%122 = fpext float %121 to double
%123 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %122)
%124 = load float*, float** %113
%125 = getelementptr inbounds float, float* %124, i64 3
%126 = load float, float* %125
%127 = fpext float %126 to double
%128 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %127)
%129 = load float*, float** %113
%130 = getelementptr inbounds float, float* %129, i64 4
%131 = load float, float* %130
%132 = fpext float %131 to double
%133 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %132)
%134 = load float*, float** %113
%135 = getelementptr inbounds float, float* %134, i64 5
%136 = load float, float* %135
%137 = fpext float %136 to double
%138 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), double %137)
%139 = tail call i32 @putchar(i32 10)
%140 = tail call i32 @balanc(float** %3, i32 5)
%141 = tail call i32 @elmhes(float** %3, i32 5)
%142 = tail call i32 @hqr(float** %3, i32 5, float* %1, float* %2)
%143 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.8, i64 0, i64 0))
%144 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%145 = getelementptr inbounds float, float* %1, i64 1
%146 = load float, float* %145
%147 = fpext float %146 to double
%148 = getelementptr inbounds float, float* %2, i64 1
%149 = load float, float* %148
%150 = fpext float %149 to double
%151 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double %147, double %150)
%152 = getelementptr inbounds float, float* %1, i64 2
%153 = load float, float* %152
%154 = fpext float %153 to double
%155 = getelementptr inbounds float, float* %2, i64 2
%156 = load float, float* %155
%157 = fpext float %156 to double
%158 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double %154, double %157)
%159 = getelementptr inbounds float, float* %1, i64 3
%160 = load float, float* %159
%161 = fpext float %160 to double
%162 = getelementptr inbounds float, float* %2, i64 3
%163 = load float, float* %162
%164 = fpext float %163 to double
%165 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double %161, double %164)
%166 = getelementptr inbounds float, float* %1, i64 4
%167 = load float, float* %166
%168 = fpext float %167 to double
%169 = getelementptr inbounds float, float* %2, i64 4
%170 = load float, float* %169
%171 = fpext float %170 to double
%172 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double %168, double %171)
%173 = getelementptr inbounds float, float* %1, i64 5
%174 = load float, float* %173
%175 = fpext float %174 to double
%176 = getelementptr inbounds float, float* %2, i64 5
%177 = load float, float* %176
%178 = fpext float %177 to double
%179 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), double %175, double %178)
%180 = tail call i32 @free_convert_matrix(float** %3, i32 1, i32 5, i32 1, i32 5)
%181 = tail call i32 @free_vector(float* %2, i32 1, i32 5)
%182 = tail call i32 @free_vector(float* %1, i32 1, i32 5)
ret i32 0
}