#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 celcon_get_inner_normal(int, int, double *);
int celcon_get_lifted_point(int, int, int, double *);
int celcon_length_of_supports(int *, int *);
double inner_product(int, double *, double *);
int /*<<< orphan*/ printf(char *, ...);
int write_inner_products(int n, int r, int k) {
  int fail, i, j, kk;
  int nl[r];
  double normal[n], point[n], prod, minprod;
  fail = celcon_get_inner_normal(n, k, normal);
  if (fail == 1)
    printf("an error happened...\n");
  else {
    printf("inner normal for cell %d :\n", k);
    for (i = 0; i < n; i++)
      printf("%.15le\n", normal[i]);
    printf("\ncomputing the inner products with all points ...\n");
    fail = celcon_length_of_supports(&r, nl);
    for (i = 0; i < r; i++) {
      printf("support %d :\n", i);
      for (j = 0; j < nl[i]; j++) {
        fail = celcon_get_lifted_point(n, i + 1, j + 1, point);
        for (kk = 0; kk < n - 1; kk++)
          printf(" %d", (int)point[kk]);
        prod = inner_product(n, normal, point);
        printf(" : %.15le\n", prod);
        if (j == 0)
          minprod = prod;
        else if (prod < minprod)
          minprod = prod;
      }
      printf("-> support %d has minimal product : %.15le\n", i, minprod);
    }
  }
  return fail;
}


x86 assembly (clang, -O0):
<write_inner_products>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x28(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x68(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x30(%rbp)
mov    -0x4(%rbp),%eax
lea    0xf(,%rax,8),%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rdx
sub    %rcx,%rdx
mov    %rdx,-0x60(%rbp)
mov    %rdx,%rsp
mov    %rax,-0x38(%rbp)
mov    -0x4(%rbp),%eax
lea    0xf(,%rax,8),%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rcx
sub    %rsi,%rcx
mov    %rcx,-0x58(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x40(%rbp)
mov    -0x4(%rbp),%edi
mov    -0xc(%rbp),%esi
call   1030 <celcon_get_inner_normal@plt>
mov    %eax,-0x10(%rbp)
cmpl   $0x1,-0x10(%rbp)
jne    11f3 <write_inner_products+0xa3>
lea    0xe19(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1399 <write_inner_products+0x249>
mov    -0xc(%rbp),%esi
lea    0xe19(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1240 <write_inner_products+0xf0>
mov    -0x60(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xe70(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    120b <write_inner_products+0xbb>
lea    0xdeb(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x68(%rbp),%rsi
lea    -0x8(%rbp),%rdi
call   1060 <celcon_length_of_supports@plt>
mov    %eax,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1394 <write_inner_products+0x244>
mov    -0x14(%rbp),%esi
lea    0xdea(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x68(%rbp),%rcx
mov    -0x18(%rbp),%eax
movslq -0x14(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jge    1370 <write_inner_products+0x220>
mov    -0x58(%rbp),%rcx
mov    -0x4(%rbp),%edi
mov    -0x14(%rbp),%esi
add    $0x1,%esi
mov    -0x18(%rbp),%edx
add    $0x1,%edx
call   1070 <celcon_get_lifted_point@plt>
mov    %eax,-0x10(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    12f9 <write_inner_products+0x1a9>
mov    -0x58(%rbp),%rax
movslq -0x1c(%rbp),%rcx
cvttsd2si (%rax,%rcx,8),%esi
lea    0xd8f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12bf <write_inner_products+0x16f>
mov    -0x58(%rbp),%rdx
mov    -0x60(%rbp),%rsi
mov    -0x4(%rbp),%edi
call   1040 <inner_product@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
lea    0xd7e(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
cmpl   $0x0,-0x18(%rbp)
jne    133a <write_inner_products+0x1ea>
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
jmp    135d <write_inner_products+0x20d>
movsd  -0x48(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1358 <write_inner_products+0x208>
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
jmp    135d <write_inner_products+0x20d>
jmp    1362 <write_inner_products+0x212>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1289 <write_inner_products+0x139>
mov    -0x14(%rbp),%esi
movsd  -0x50(%rbp),%xmm0
lea    0xcf8(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1265 <write_inner_products+0x115>
jmp    1399 <write_inner_products+0x249>
mov    -0x10(%rbp),%eax
mov    -0x28(%rbp),%rcx
mov    %rcx,%rsp
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<write_inner_products>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %edx,%r14d
mov    %edi,%r12d
mov    %esi,-0x30(%rbp)
mov    %esi,%eax
mov    %rsp,%rcx
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rcx
mov    %rcx,-0x40(%rbp)
mov    %rcx,%rsp
mov    %edi,%r15d
mov    %rsp,%r13
lea    0xf(,%r15,8),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r13
mov    %r13,%rsp
mov    %rsp,%rbx
sub    %rax,%rbx
mov    %rbx,%rsp
mov    %edx,%esi
mov    %r13,%rdx
call   1040 <celcon_get_inner_normal@plt>
cmp    $0x1,%eax
jne    11dd <write_inner_products+0x7d>
lea    0xec0(%rip),%rdi
call   1030 <puts@plt>
movl   $0x1,-0x2c(%rbp)
jmp    138f <write_inner_products+0x22f>
lea    0xe1c(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,-0x50(%rbp)
test   %r12d,%r12d
jle    122a <write_inner_products+0xca>
xor    %r12d,%r12d
lea    0xe51(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  0x0(%r13,%r12,8),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
add    $0x1,%r12
cmp    %r12,%r15
jne    1210 <write_inner_products+0xb0>
lea    0xe29(%rip),%rdi
call   1030 <puts@plt>
lea    -0x30(%rbp),%rdi
mov    -0x40(%rbp),%rsi
call   1070 <celcon_length_of_supports@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x30(%rbp)
jle    138f <write_inner_products+0x22f>
mov    -0x50(%rbp),%r12
lea    -0x1(%r12),%r15d
lea    0xdca(%rip),%r14
xor    %ecx,%ecx
mov    %r13,-0x68(%rbp)
jmp    1297 <write_inner_products+0x137>
nopl   0x0(%rax,%rax,1)
lea    0xdb7(%rip),%rdi
movsd  -0x48(%rbp),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
movslq -0x30(%rbp),%rax
mov    -0x58(%rbp),%rdx
mov    %rdx,%rcx
cmp    %rax,%rdx
jge    138f <write_inner_products+0x22f>
mov    %rcx,-0x38(%rbp)
lea    0xd7a(%rip),%rdi
mov    -0x38(%rbp),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    -0x38(%rbp),%rsi
lea    0x1(%rsi),%rax
mov    %rax,-0x58(%rbp)
mov    -0x40(%rbp),%rax
cmpl   $0x0,(%rax,%rsi,4)
jle    1270 <write_inner_products+0x110>
xor    %r13d,%r13d
jmp    12e8 <write_inner_products+0x188>
nopl   0x0(%rax,%rax,1)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rax
cmp    (%rax,%rsi,4),%r13d
jge    1270 <write_inner_products+0x110>
mov    %r13d,%ecx
mov    %rcx,-0x70(%rbp)
lea    0x1(%rcx),%r13d
mov    %r12d,%edi
mov    -0x58(%rbp),%rsi
mov    %r13d,%edx
mov    %rbx,%rcx
call   1080 <celcon_get_lifted_point@plt>
mov    %eax,-0x2c(%rbp)
cmp    $0x2,%r12d
jl     1339 <write_inner_products+0x1d9>
xor    %r12d,%r12d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
cvttsd2si (%rbx,%r12,8),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%r12
cmp    %r12,%r15
jne    1320 <write_inner_products+0x1c0>
mov    -0x50(%rbp),%r12
mov    %r12d,%edi
mov    -0x68(%rbp),%rsi
mov    %rbx,%rdx
call   1050 <inner_product@plt>
lea    0xcfc(%rip),%rdi
movsd  %xmm0,-0x60(%rbp)
mov    $0x1,%al
call   1060 <printf@plt>
cmpl   $0x0,-0x70(%rbp)
je     12d0 <write_inner_products+0x170>
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
ucomisd %xmm1,%xmm0
mov    -0x38(%rbp),%rsi
jbe    12de <write_inner_products+0x17e>
movapd %xmm1,%xmm0
movsd  %xmm1,-0x48(%rbp)
jmp    12de <write_inner_products+0x17e>
mov    -0x2c(%rbp),%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [22 x i8] c"an error happened...\0A\00"
@.str.1 = [28 x i8] c"inner normal for cell %d :\0A\00"
@.str.2 = [8 x i8] c"%.15le\0A\00"
@.str.3 = [51 x i8] c"\0Acomputing the inner products with all points ...\0A\00"
@.str.4 = [14 x i8] c"support %d :\0A\00"
@.str.5 = [4 x i8] c" %d\00"
@.str.6 = [11 x i8] c" : %.15le\0A\00"
@.str.7 = [44 x i8] c"-> support %d has minimal product : %.15le\0A\00"
define i32 @write_inner_products(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i8*
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
%15 = alloca double
%16 = alloca double
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%17 = load i32, i32* %5
%18 = zext i32 %17 to i64
%19 = call i8* @llvm.stacksave()
store i8* %19, i8** %11
%20 = alloca i32, i64 %18
store i64 %18, i64* %12
%21 = load i32, i32* %4
%22 = zext i32 %21 to i64
%23 = alloca double, i64 %22
store i64 %22, i64* %13
%24 = load i32, i32* %4
%25 = zext i32 %24 to i64
%26 = alloca double, i64 %25
store i64 %25, i64* %14
%27 = load i32, i32* %4
%28 = load i32, i32* %6
%29 = call i32 @celcon_get_inner_normal(i32 %27, i32 %28, double* %23)
store i32 %29, i32* %7
%30 = load i32, i32* %7
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %34
32: ; preds = %3
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
br label %117
34: ; preds = %3
%35 = load i32, i32* %6
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 %35)
store i32 0, i32* %8
br label %37
37: ; preds = %47, %34
%38 = load i32, i32* %8
%39 = load i32, i32* %4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %50
41: ; preds = %37
%42 = load i32, i32* %8
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, double* %23, i64 %43
%45 = load double, double* %44
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), double %45)
br label %47
47: ; preds = %41
%48 = load i32, i32* %8
%49 = add nsw i32 %48, 1
store i32 %49, i32* %8
br label %37
50: ; preds = %37
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%52 = call i32 @celcon_length_of_supports(i32* %5, i32* %20)
store i32 %52, i32* %7
store i32 0, i32* %8
br label %53
53: ; preds = %113, %50
%54 = load i32, i32* %8
%55 = load i32, i32* %5
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %116
57: ; preds = %53
%58 = load i32, i32* %8
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %58)
store i32 0, i32* %9
br label %60
60: ; preds = %106, %57
%61 = load i32, i32* %9
%62 = load i32, i32* %8
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, i32* %20, i64 %63
%65 = load i32, i32* %64
%66 = icmp slt i32 %61, %65
br i1 %66, label %67, label %109
67: ; preds = %60
%68 = load i32, i32* %4
%69 = load i32, i32* %8
%70 = add nsw i32 %69, 1
%71 = load i32, i32* %9
%72 = add nsw i32 %71, 1
%73 = call i32 @celcon_get_lifted_point(i32 %68, i32 %70, i32 %72, double* %26)
store i32 %73, i32* %7
store i32 0, i32* %10
br label %74
74: ; preds = %86, %67
%75 = load i32, i32* %10
%76 = load i32, i32* %4
%77 = sub nsw i32 %76, 1
%78 = icmp slt i32 %75, %77
br i1 %78, label %79, label %89
79: ; preds = %74
%80 = load i32, i32* %10
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, double* %26, i64 %81
%83 = load double, double* %82
%84 = fptosi double %83 to i32
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %84)
br label %86
86: ; preds = %79
%87 = load i32, i32* %10
%88 = add nsw i32 %87, 1
store i32 %88, i32* %10
br label %74
89: ; preds = %74
%90 = load i32, i32* %4
%91 = call double @inner_product(i32 %90, double* %23, double* %26)
store double %91, double* %15
%92 = load double, double* %15
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), double %92)
%94 = load i32, i32* %9
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %98
96: ; preds = %89
%97 = load double, double* %15
store double %97, double* %16
br label %105
98: ; preds = %89
%99 = load double, double* %15
%100 = load double, double* %16
%101 = fcmp olt double %99, %100
br i1 %101, label %102, label %104
102: ; preds = %98
%103 = load double, double* %15
store double %103, double* %16
br label %104
104: ; preds = %102, %98
br label %105
105: ; preds = %104, %96
br label %106
106: ; preds = %105
%107 = load i32, i32* %9
%108 = add nsw i32 %107, 1
store i32 %108, i32* %9
br label %60
109: ; preds = %60
%110 = load i32, i32* %8
%111 = load double, double* %16
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0), i32 %110, double %111)
br label %113
113: ; preds = %109
%114 = load i32, i32* %8
%115 = add nsw i32 %114, 1
store i32 %115, i32* %8
br label %53
116: ; preds = %53
br label %117
117: ; preds = %116, %32
%118 = load i32, i32* %7
%119 = load i8*, i8** %11
ret i32 %118
}

LLVM IR (-O2):
@.str.1 = [28 x i8] c"inner normal for cell %d :\0A\00"
@.str.2 = [8 x i8] c"%.15le\0A\00"
@.str.4 = [14 x i8] c"support %d :\0A\00"
@.str.5 = [4 x i8] c" %d\00"
@.str.6 = [11 x i8] c" : %.15le\0A\00"
@.str.7 = [44 x i8] c"-> support %d has minimal product : %.15le\0A\00"
@str = [50 x i8] c"\0Acomputing the inner products with all points ...\00"
@str.8 = [21 x i8] c"an error happened...\00"
define i32 @write_inner_products(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
store i32 %1, i32* %4
%5 = zext i32 %1 to i64
%6 = alloca i32, i64 %5
%7 = zext i32 %0 to i64
%8 = alloca double, i64 %7
%9 = alloca double, i64 %7
%10 = call i32 @celcon_get_inner_normal(i32 %0, i32 %2, double* %8)
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.8, i64 0, i64 0))
br label %76
14: ; preds = %3
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0), i32 %2)
%16 = icmp sgt i32 %0, 0
br i1 %16, label %17, label %24
17: ; preds = %14, %17
%18 = phi i64 [ %22, %17 ], [ 0, %14 ]
%19 = getelementptr inbounds double, double* %8, i64 %18
%20 = load double, double* %19
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), double %20)
%22 = add nuw nsw i64 %18, 1
%23 = icmp eq i64 %22, %7
br i1 %23, label %24, label %17
24: ; preds = %17, %14
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str, i64 0, i64 0))
%26 = call i32 @celcon_length_of_supports(i32* %4, i32* %6)
%27 = load i32, i32* %4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %76
29: ; preds = %24
%30 = add i32 %0, -1
%31 = icmp sgt i32 %0, 1
%32 = zext i32 %30 to i64
br label %33
33: ; preds = %29, %69
%34 = phi i64 [ 0, %29 ], [ %42, %69 ]
%35 = phi double [ undef, %29 ], [ %71, %69 ]
%36 = phi i32 [ %26, %29 ], [ %70, %69 ]
%37 = trunc i64 %34 to i32
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %37)
%39 = getelementptr inbounds i32, i32* %6, i64 %34
%40 = load i32, i32* %39
%41 = icmp sgt i32 %40, 0
%42 = add nuw nsw i64 %34, 1
br i1 %41, label %43, label %69
43: ; preds = %33
%44 = trunc i64 %42 to i32
br label %45
45: ; preds = %43, %65
%46 = phi double [ %35, %43 ], [ %66, %65 ]
%47 = phi i32 [ 0, %43 ], [ %48, %65 ]
%48 = add nuw nsw i32 %47, 1
%49 = call i32 @celcon_get_lifted_point(i32 %0, i32 %44, i32 %48, double* %9)
br i1 %31, label %50, label %58
50: ; preds = %45, %50
%51 = phi i64 [ %56, %50 ], [ 0, %45 ]
%52 = getelementptr inbounds double, double* %9, i64 %51
%53 = load double, double* %52
%54 = fptosi double %53 to i32
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i32 %54)
%56 = add nuw nsw i64 %51, 1
%57 = icmp eq i64 %56, %32
br i1 %57, label %58, label %50
58: ; preds = %50, %45
%59 = call double @inner_product(i32 %0, double* %8, double* %9)
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), double %59)
%61 = icmp eq i32 %47, 0
br i1 %61, label %65, label %62
62: ; preds = %58
%63 = fcmp olt double %59, %46
br i1 %63, label %64, label %65
64: ; preds = %62
br label %65
65: ; preds = %58, %64, %62
%66 = phi double [ %59, %64 ], [ %46, %62 ], [ %59, %58 ]
%67 = load i32, i32* %39
%68 = icmp slt i32 %48, %67
br i1 %68, label %45, label %69
69: ; preds = %65, %33
%70 = phi i32 [ %36, %33 ], [ %49, %65 ]
%71 = phi double [ %35, %33 ], [ %66, %65 ]
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0), i32 %37, double %71)
%73 = load i32, i32* %4
%74 = sext i32 %73 to i64
%75 = icmp slt i64 %42, %74
br i1 %75, label %33, label %76
76: ; preds = %69, %24, %12
%77 = phi i32 [ 1, %12 ], [ %26, %24 ], [ %70, %69 ]
ret i32 %77
}