int main(void) {
  int i, j, k, kk;
  float xx, *x, *fvec, **fjac;
  fjac = matrix(1, 4, 1, 4);
  fvec = vector(1, 4);
  x = vector(1, 4);
  for (kk = 1; kk <= 2; kk++) {
    for (k = 1; k <= 3; k++) {
      xx = 0.2001 * k * (2 * kk - 3);
      printf("Starting vector number %2d\n", k);
      for (i = 1; i <= 4; i++) {
        x[i] = xx + 0.2 * i;
        printf("%7s%1d%s %5.2f\n", "x[", i, "] = ", x[i]);
      }
      printf("\n");
      for (j = 1; j <= 5; j++) {
        mnewt(1, x, 4, 1.0e-6, 1.0e-6);
        usrfun(x, 4, fvec, fjac);
        printf("%5s %13s %13s\n", "i", "x[i]", "f");
        for (i = 1; i <= 4; i++)
          printf("%5d %14.6f %15.6f\n", i, x[i], fvec[i]);
        printf("\npress RETURN to continue...\n");
        (void)getchar();
      }
    }
  }
  free_vector(x, 1, 4);
  free_vector(fvec, 1, 4);
  free_matrix(fjac, 1, 4, 1, 4);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edx
mov    $0x4,%ecx
mov    %edx,%edi
mov    %ecx,%esi
mov    $0x0,%al
call   1090 <matrix@plt>
cltq
mov    %rax,-0x30(%rbp)
mov    $0x1,%edi
mov    $0x4,%esi
mov    $0x0,%al
call   10a0 <vector@plt>
cltq
mov    %rax,-0x28(%rbp)
mov    $0x1,%edi
mov    $0x4,%esi
mov    $0x0,%al
call   10a0 <vector@plt>
cltq
mov    %rax,-0x20(%rbp)
movl   $0x1,-0x14(%rbp)
cmpl   $0x2,-0x14(%rbp)
jg     13c9 <main+0x249>
movl   $0x1,-0x10(%rbp)
cmpl   $0x3,-0x10(%rbp)
jg     13b6 <main+0x236>
cvtsi2sdl -0x10(%rbp),%xmm1
movsd  0xdf9(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x14(%rbp),%eax
shl    $0x1,%eax
sub    $0x3,%eax
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x18(%rbp)
mov    -0x10(%rbp),%esi
lea    0xde9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x4,-0x8(%rbp)
jg     12b4 <main+0x134>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
cvtsi2sdl -0x8(%rbp),%xmm0
movsd  0xdb3(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x8(%rbp),%edx
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xda3(%rip),%rdi
lea    0xdac(%rip),%rsi
lea    0xda8(%rip),%rcx
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    123d <main+0xbd>
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0xc(%rbp)
cmpl   $0x5,-0xc(%rbp)
jg     13a3 <main+0x223>
mov    -0x20(%rbp),%rsi
mov    $0x1,%edi
mov    $0x4,%edx
movsd  0xd1f(%rip),%xmm1
movaps %xmm1,%xmm0
mov    $0x2,%al
call   1060 <mnewt@plt>
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    $0x4,%esi
mov    $0x0,%al
call   1080 <usrfun@plt>
lea    0xd3a(%rip),%rdi
lea    0xd42(%rip),%rsi
lea    0xd3d(%rip),%rdx
lea    0xd3b(%rip),%rcx
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x4,-0x8(%rbp)
jg     1380 <main+0x200>
mov    -0x8(%rbp),%esi
mov    -0x20(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    -0x28(%rbp),%rax
movslq -0x8(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xcf9(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1335 <main+0x1b5>
lea    0xcf0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12c9 <main+0x149>
jmp    13a8 <main+0x228>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11f0 <main+0x70>
jmp    13bb <main+0x23b>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11df <main+0x5f>
mov    -0x20(%rbp),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x0,%al
call   1050 <free_vector@plt>
mov    -0x28(%rbp),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x0,%al
call   1050 <free_vector@plt>
mov    -0x30(%rbp),%rdi
mov    $0x1,%ecx
mov    $0x4,%r8d
mov    %ecx,%esi
mov    %r8d,%edx
mov    $0x0,%al
call   1030 <free_matrix@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    $0x1,%r13d
mov    $0x1,%edi
mov    $0x4,%esi
mov    $0x1,%edx
mov    $0x4,%ecx
xor    %eax,%eax
call   10b0 <matrix@plt>
cltq
mov    %rax,0x18(%rsp)
mov    $0x1,%edi
mov    $0x4,%esi
xor    %eax,%eax
call   10c0 <vector@plt>
movslq %eax,%r15
mov    $0x1,%edi
mov    $0x4,%esi
xor    %eax,%eax
call   10c0 <vector@plt>
movslq %eax,%rbx
lea    0xe7f(%rip),%rbp
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r13,0x20(%rsp)
lea    -0x3(%r13,%r13,1),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xdd1(%rip),%xmm0
mov    $0x1,%esi
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  %xmm0,0x30(%rsp)
mulsd  0xdba(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x8(%rsp)
lea    0xdd3(%rip),%rdi
mov    %esi,0x14(%rsp)
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
addsd  0xd88(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x4(%rbx)
cvtss2sd %xmm0,%xmm0
lea    0xdb8(%rip),%r13
mov    %r13,%rdi
lea    0xdbe(%rip),%r14
mov    %r14,%rsi
mov    $0x1,%edx
lea    0xdb2(%rip),%r12
mov    %r12,%rcx
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0x8(%rsp),%xmm0
addsd  0xd4b(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x8(%rbx)
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    %r14,%rsi
mov    $0x2,%edx
mov    %r12,%rcx
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0x8(%rsp),%xmm0
addsd  0xd23(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0xc(%rbx)
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    %r14,%rsi
mov    $0x3,%edx
mov    %r12,%rcx
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0x8(%rsp),%xmm0
addsd  0xcfb(%rip),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x10(%rbx)
cvtss2sd %xmm0,%xmm0
mov    %r13,%rdi
mov    %r14,%rsi
mov    $0x4,%edx
mov    %r12,%rcx
mov    $0x1,%al
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x5,%r13d
mov    0x18(%rsp),%r12
lea    0xd2c(%rip),%r14
nopl   0x0(%rax,%rax,1)
mov    $0x1,%edi
mov    %rbx,%rsi
mov    $0x4,%edx
movsd  0xcab(%rip),%xmm0
movaps %xmm0,%xmm1
mov    $0x2,%al
call   1080 <mnewt@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    %r15,%rdx
mov    %r12,%rcx
xor    %eax,%eax
call   10a0 <usrfun@plt>
lea    0xcc1(%rip),%rdi
lea    0xcc9(%rip),%rsi
lea    0xcc4(%rip),%rdx
lea    0xcc2(%rip),%rcx
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x4(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x4(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %rbp,%rdi
mov    $0x1,%esi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x8(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x8(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %rbp,%rdi
mov    $0x2,%esi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0xc(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0xc(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %rbp,%rdi
mov    $0x3,%esi
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x10(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x10(%r15),%xmm1
cvtss2sd %xmm1,%xmm1
mov    %rbp,%rdi
mov    $0x4,%esi
mov    $0x2,%al
call   1060 <printf@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1090 <getchar@plt>
add    $0xffffffff,%r13d
jne    1370 <main+0x1d0>
movsd  0x30(%rsp),%xmm0
addsd  0xb8a(%rip),%xmm0
mov    0x14(%rsp),%esi
add    $0x1,%esi
cmp    $0x4,%esi
jne    1240 <main+0xa0>
mov    0x20(%rsp),%r13
add    $0x1,%r13d
cmp    $0x3,%r13d
jne    1210 <main+0x70>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1070 <free_vector@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1070 <free_vector@plt>
mov    0x18(%rsp),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x1,%ecx
mov    $0x4,%r8d
xor    %eax,%eax
call   1050 <free_matrix@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [28 x i8] c"Starting vector number %2d\0A\00"
@.str.1 = [16 x i8] c"%7s%1d%s %5.2f\0A\00"
@.str.2 = [3 x i8] c"x[\00"
@.str.3 = [5 x i8] c"] = \00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [15 x i8] c"%5s %13s %13s\0A\00"
@.str.6 = [2 x i8] c"i\00"
@.str.7 = [5 x i8] c"x[i]\00"
@.str.8 = [2 x i8] c"f\00"
@.str.9 = [19 x i8] c"%5d %14.6f %15.6f\0A\00"
@.str.10 = [30 x i8] c"\0Apress RETURN to continue...\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca float
%7 = alloca float*
%8 = alloca float*
%9 = alloca float**
store i32 0, i32* %1
%10 = call i32 (i32, i32, i32, i32, ...) bitcast (i32 (...)* @matrix to i32 (i32, i32, i32, i32, ...)*)(i32 1, i32 4, i32 1, i32 4)
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to float**
store float** %12, float*** %9
%13 = call i32 (i32, i32, ...) bitcast (i32 (...)* @vector to i32 (i32, i32, ...)*)(i32 1, i32 4)
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to float*
store float* %15, float** %8
%16 = call i32 (i32, i32, ...) bitcast (i32 (...)* @vector to i32 (i32, i32, ...)*)(i32 1, i32 4)
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to float*
store float* %18, float** %7
store i32 1, i32* %5
br label %19
19: ; preds = %108, %0
%20 = load i32, i32* %5
%21 = icmp sle i32 %20, 2
br i1 %21, label %22, label %111
22: ; preds = %19
store i32 1, i32* %4
br label %23
23: ; preds = %104, %22
%24 = load i32, i32* %4
%25 = icmp sle i32 %24, 3
br i1 %25, label %26, label %107
26: ; preds = %23
%27 = load i32, i32* %4
%28 = sitofp i32 %27 to double
%29 = fmul double 2.001000e-01, %28
%30 = load i32, i32* %5
%31 = mul nsw i32 2, %30
%32 = sub nsw i32 %31, 3
%33 = sitofp i32 %32 to double
%34 = fmul double %29, %33
%35 = fptrunc double %34 to float
store float %35, float* %6
%36 = load i32, i32* %4
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i32 %36)
store i32 1, i32* %2
br label %38
38: ; preds = %60, %26
%39 = load i32, i32* %2
%40 = icmp sle i32 %39, 4
br i1 %40, label %41, label %63
41: ; preds = %38
%42 = load float, float* %6
%43 = fpext float %42 to double
%44 = load i32, i32* %2
%45 = sitofp i32 %44 to double
%46 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %45, double %43)
%47 = fptrunc double %46 to float
%48 = load float*, float** %7
%49 = load i32, i32* %2
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds float, float* %48, i64 %50
store float %47, float* %51
%52 = load i32, i32* %2
%53 = load float*, float** %7
%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 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %52, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %58)
br label %60
60: ; preds = %41
%61 = load i32, i32* %2
%62 = add nsw i32 %61, 1
store i32 %62, i32* %2
br label %38
63: ; preds = %38
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32 1, i32* %3
br label %65
65: ; preds = %100, %63
%66 = load i32, i32* %3
%67 = icmp sle i32 %66, 5
br i1 %67, label %68, label %103
68: ; preds = %65
%69 = load float*, float** %7
%70 = call i32 (i32, float*, i32, double, double, ...) bitcast (i32 (...)* @mnewt to i32 (i32, float*, i32, double, double, ...)*)(i32 1, float* %69, i32 4, double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D)
%71 = load float*, float** %7
%72 = load float*, float** %8
%73 = load float**, float*** %9
%74 = call i32 (float*, i32, float*, float**, ...) bitcast (i32 (...)* @usrfun to i32 (float*, i32, float*, float**, ...)*)(float* %71, i32 4, float* %72, float** %73)
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
store i32 1, i32* %2
br label %76
76: ; preds = %94, %68
%77 = load i32, i32* %2
%78 = icmp sle i32 %77, 4
br i1 %78, label %79, label %97
79: ; preds = %76
%80 = load i32, i32* %2
%81 = load float*, float** %7
%82 = load i32, i32* %2
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, float* %81, i64 %83
%85 = load float, float* %84
%86 = fpext float %85 to double
%87 = load float*, float** %8
%88 = load i32, i32* %2
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds float, float* %87, i64 %89
%91 = load float, float* %90
%92 = fpext float %91 to double
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 %80, double %86, double %92)
br label %94
94: ; preds = %79
%95 = load i32, i32* %2
%96 = add nsw i32 %95, 1
store i32 %96, i32* %2
br label %76
97: ; preds = %76
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.10, i64 0, i64 0))
%99 = call i32 (...) @getchar()
br label %100
100: ; preds = %97
%101 = load i32, i32* %3
%102 = add nsw i32 %101, 1
store i32 %102, i32* %3
br label %65
103: ; preds = %65
br label %104
104: ; preds = %103
%105 = load i32, i32* %4
%106 = add nsw i32 %105, 1
store i32 %106, i32* %4
br label %23
107: ; preds = %23
br label %108
108: ; preds = %107
%109 = load i32, i32* %5
%110 = add nsw i32 %109, 1
store i32 %110, i32* %5
br label %19
111: ; preds = %19
%112 = load float*, float** %7
%113 = call i32 (float*, i32, i32, ...) bitcast (i32 (...)* @free_vector to i32 (float*, i32, i32, ...)*)(float* %112, i32 1, i32 4)
%114 = load float*, float** %8
%115 = call i32 (float*, i32, i32, ...) bitcast (i32 (...)* @free_vector to i32 (float*, i32, i32, ...)*)(float* %114, i32 1, i32 4)
%116 = load float**, float*** %9
%117 = call i32 (float**, i32, i32, i32, i32, ...) bitcast (i32 (...)* @free_matrix to i32 (float**, i32, i32, i32, i32, ...)*)(float** %116, i32 1, i32 4, i32 1, i32 4)
ret i32 0
}

LLVM IR (-O2):
@.str = [28 x i8] c"Starting vector number %2d\0A\00"
@.str.1 = [16 x i8] c"%7s%1d%s %5.2f\0A\00"
@.str.2 = [3 x i8] c"x[\00"
@.str.3 = [5 x i8] c"] = \00"
@.str.5 = [15 x i8] c"%5s %13s %13s\0A\00"
@.str.6 = [2 x i8] c"i\00"
@.str.7 = [5 x i8] c"x[i]\00"
@.str.8 = [2 x i8] c"f\00"
@.str.9 = [19 x i8] c"%5d %14.6f %15.6f\0A\00"
@str = [29 x i8] c"\0Apress RETURN to continue...\00"
define i32 @main() {
%1 = tail call i32 (i32, i32, i32, i32, ...) bitcast (i32 (...)* @matrix to i32 (i32, i32, i32, i32, ...)*)(i32 1, i32 4, i32 1, i32 4)
%2 = sext i32 %1 to i64
%3 = inttoptr i64 %2 to float**
%4 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @vector to i32 (i32, i32, ...)*)(i32 1, i32 4)
%5 = sext i32 %4 to i64
%6 = inttoptr i64 %5 to float*
%7 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @vector to i32 (i32, i32, ...)*)(i32 1, i32 4)
%8 = sext i32 %7 to i64
%9 = inttoptr i64 %8 to float*
%10 = getelementptr inbounds float, float* %9, i64 1
%11 = getelementptr inbounds float, float* %9, i64 2
%12 = getelementptr inbounds float, float* %9, i64 3
%13 = getelementptr inbounds float, float* %9, i64 4
%14 = getelementptr inbounds float, float* %6, i64 1
%15 = getelementptr inbounds float, float* %6, i64 2
%16 = getelementptr inbounds float, float* %6, i64 3
%17 = getelementptr inbounds float, float* %6, i64 4
br label %18
18: ; preds = %0, %80
%19 = phi i32 [ 1, %0 ], [ %81, %80 ]
%20 = shl nuw nsw i32 %19, 1
%21 = add nsw i32 %20, -3
%22 = sitofp i32 %21 to double
br label %23
23: ; preds = %18, %77
%24 = phi i32 [ 1, %18 ], [ %78, %77 ]
%25 = sitofp i32 %24 to double
%26 = fmul double %25, 2.001000e-01
%27 = fmul double %26, %22
%28 = fptrunc double %27 to float
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i32 %24)
%30 = fpext float %28 to double
%31 = fadd double %30, 2.000000e-01
%32 = fptrunc double %31 to float
store float %32, float* %10
%33 = fpext float %32 to double
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %33)
%35 = fadd double %30, 4.000000e-01
%36 = fptrunc double %35 to float
store float %36, float* %11
%37 = fpext float %36 to double
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %37)
%39 = fadd double %30, 0x3FE3333333333334
%40 = fptrunc double %39 to float
store float %40, float* %12
%41 = fpext float %40 to double
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 3, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %41)
%43 = fadd double %30, 8.000000e-01
%44 = fptrunc double %43 to float
store float %44, float* %13
%45 = fpext float %44 to double
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double %45)
%47 = tail call i32 @putchar(i32 10)
br label %48
48: ; preds = %23, %48
%49 = phi i32 [ 1, %23 ], [ %75, %48 ]
%50 = tail call i32 (i32, float*, i32, double, double, ...) bitcast (i32 (...)* @mnewt to i32 (i32, float*, i32, double, double, ...)*)(i32 1, float* %9, i32 4, double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D)
%51 = tail call i32 (float*, i32, float*, float**, ...) bitcast (i32 (...)* @usrfun to i32 (float*, i32, float*, float**, ...)*)(float* %9, i32 4, float* %6, float** %3)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%53 = load float, float* %10
%54 = fpext float %53 to double
%55 = load float, float* %14
%56 = fpext float %55 to double
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 1, double %54, double %56)
%58 = load float, float* %11
%59 = fpext float %58 to double
%60 = load float, float* %15
%61 = fpext float %60 to double
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 2, double %59, double %61)
%63 = load float, float* %12
%64 = fpext float %63 to double
%65 = load float, float* %16
%66 = fpext float %65 to double
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 3, double %64, double %66)
%68 = load float, float* %13
%69 = fpext float %68 to double
%70 = load float, float* %17
%71 = fpext float %70 to double
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 4, double %69, double %71)
%73 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
%74 = tail call i32 (...) @getchar()
%75 = add nuw nsw i32 %49, 1
%76 = icmp eq i32 %75, 6
br i1 %76, label %77, label %48
77: ; preds = %48
%78 = add nuw nsw i32 %24, 1
%79 = icmp eq i32 %78, 4
br i1 %79, label %80, label %23
80: ; preds = %77
%81 = add nuw nsw i32 %19, 1
%82 = icmp eq i32 %81, 3
br i1 %82, label %83, label %18
83: ; preds = %80
%84 = tail call i32 (float*, i32, i32, ...) bitcast (i32 (...)* @free_vector to i32 (float*, i32, i32, ...)*)(float* %9, i32 1, i32 4)
%85 = tail call i32 (float*, i32, i32, ...) bitcast (i32 (...)* @free_vector to i32 (float*, i32, i32, ...)*)(float* %6, i32 1, i32 4)
%86 = tail call i32 (float**, i32, i32, i32, i32, ...) bitcast (i32 (...)* @free_matrix to i32 (float**, i32, i32, i32, i32, ...)*)(float** %3, i32 1, i32 4, i32 1, i32 4)
ret i32 0
}