#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 EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  double c0, c1, c2;
  double detla_t, k, x, q1, I1, I2, q2;
  int n, i;
  printf("Enter value of delta t: ");
  scanf("%lf", &detla_t);
  printf("Enter value of k:");
  scanf("%lf", &k);
  printf("Enter value of x:");
  scanf("%lf", &x);
  printf("Enter value of Q1:");
  scanf("%lf", &q1);
  printf("Enter value of I1:");
  scanf("%lf", &I1);
  printf("Enter value of I2:");
  scanf("%lf", &I2);
  printf("Enter value of 'n' upto which you want to calculate value of Q:");
  scanf("%d", &n);
  c0 = -((k * x - 0.5 * detla_t) / (k - k * x + 0.5 * detla_t));
  c1 = ((k * x + 0.5 * detla_t) / (k - k * x + 0.5 * detla_t));
  c2 = ((k - k * x - 0.5 * detla_t) / (k - k * x + 0.5 * detla_t));
  for (i = 1; i <= n; i++) {
    q2 = c0 * I2 + c1 * I1 + c2 * q1;
    q1 = q2;
  }
  printf("Q%d is %.2lf", n, q2);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee5(%rip),%rdi
lea    -0x28(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec5(%rip),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xec9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xea5(%rip),%rdi
lea    -0x38(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xebb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe85(%rip),%rdi
lea    -0x40(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe65(%rip),%rdi
lea    -0x48(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xea1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe45(%rip),%rdi
lea    -0x50(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe94(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec6(%rip),%rdi
lea    -0x5c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movsd  0xddf(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x30(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x28(%rbp),%xmm1
movsd  0xd80(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movsd  0xd46(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x30(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x28(%rbp),%xmm1
movsd  0xcfe(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
movsd  0xcba(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x30(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x28(%rbp),%xmm1
movsd  0xc6f(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movl   $0x1,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x5c(%rbp),%eax
jg     1400 <main+0x2e0>
movsd  -0x10(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    13a9 <main+0x289>
mov    -0x5c(%rbp),%esi
movsd  -0x58(%rbp),%xmm0
lea    0xcbe(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x2bc3(%rip),%rax
mov    (%rax),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x40,%rsp
lea    0xee4(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeef(%rip),%rbx
lea    0x38(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xedd(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xed2(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x28(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xec7(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xebd(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xeb3(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xea9(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xedb(%rip),%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
movsd  0x30(%rsp),%xmm0
movsd  0x38(%rsp),%xmm1
movsd  0xdf1(%rip),%xmm3
mulsd  %xmm1,%xmm3
movsd  0x28(%rsp),%xmm2
mulsd  %xmm0,%xmm2
movapd %xmm2,%xmm4
subsd  %xmm3,%xmm4
subsd  %xmm2,%xmm0
addsd  %xmm3,%xmm2
addsd  %xmm0,%xmm3
divsd  %xmm3,%xmm4
divsd  %xmm3,%xmm2
mulsd  0xdc7(%rip),%xmm1
addsd  %xmm0,%xmm1
divsd  %xmm3,%xmm1
mov    0xc(%rsp),%esi
movsd  0x10(%rsp),%xmm0
mulsd  0x20(%rsp),%xmm2
mulsd  0x18(%rsp),%xmm4
subsd  %xmm4,%xmm2
lea    -0x1(%rsi),%ecx
mov    %esi,%eax
and    $0x7,%eax
cmp    $0x7,%ecx
jb     12c5 <main+0x1a5>
mov    %esi,%ecx
and    $0x7ffffff8,%ecx
nopl   0x0(%rax,%rax,1)
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
add    $0xfffffff8,%ecx
jne    1280 <main+0x160>
test   %eax,%eax
je     12dd <main+0x1bd>
nopl   0x0(%rax)
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
add    $0xffffffff,%eax
jne    12d0 <main+0x1b0>
movsd  %xmm0,0x10(%rsp)
lea    0xde3(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    0x2ce8(%rip),%rax
mov    (%rax),%eax
add    $0x40,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [25 x i8] c"Enter value of delta t: \00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.2 = [18 x i8] c"Enter value of k:\00"
@.str.3 = [18 x i8] c"Enter value of x:\00"
@.str.4 = [19 x i8] c"Enter value of Q1:\00"
@.str.5 = [19 x i8] c"Enter value of I1:\00"
@.str.6 = [19 x i8] c"Enter value of I2:\00"
@.str.7 = [64 x i8] c"Enter value of 'n' upto which you want to calculate value of Q:\00"
@.str.8 = [3 x i8] c"%d\00"
@.str.9 = [13 x i8] c"Q%d is %.2lf\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca i32
%13 = alloca i32
store i32 0, i32* %1
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %5)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%17 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %6)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%19 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %7)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0))
%21 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %8)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %9)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0))
%25 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %10)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.7, i64 0, i64 0))
%27 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32* %12)
%28 = load double, double* %6
%29 = load double, double* %7
%30 = load double, double* %5
%31 = fmul double 5.000000e-01, %30
%32 = fneg double %31
%33 = call double @llvm.fmuladd.f64(double %28, double %29, double %32)
%34 = load double, double* %6
%35 = load double, double* %6
%36 = load double, double* %7
%37 = fneg double %35
%38 = call double @llvm.fmuladd.f64(double %37, double %36, double %34)
%39 = load double, double* %5
%40 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %39, double %38)
%41 = fdiv double %33, %40
%42 = fneg double %41
store double %42, double* %2
%43 = load double, double* %6
%44 = load double, double* %7
%45 = load double, double* %5
%46 = fmul double 5.000000e-01, %45
%47 = call double @llvm.fmuladd.f64(double %43, double %44, double %46)
%48 = load double, double* %6
%49 = load double, double* %6
%50 = load double, double* %7
%51 = fneg double %49
%52 = call double @llvm.fmuladd.f64(double %51, double %50, double %48)
%53 = load double, double* %5
%54 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %53, double %52)
%55 = fdiv double %47, %54
store double %55, double* %3
%56 = load double, double* %6
%57 = load double, double* %6
%58 = load double, double* %7
%59 = fneg double %57
%60 = call double @llvm.fmuladd.f64(double %59, double %58, double %56)
%61 = load double, double* %5
%62 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %61, double %60)
%63 = load double, double* %6
%64 = load double, double* %6
%65 = load double, double* %7
%66 = fneg double %64
%67 = call double @llvm.fmuladd.f64(double %66, double %65, double %63)
%68 = load double, double* %5
%69 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %68, double %67)
%70 = fdiv double %62, %69
store double %70, double* %4
store i32 1, i32* %13
br label %71
71: ; preds = %86, %0
%72 = load i32, i32* %13
%73 = load i32, i32* %12
%74 = icmp sle i32 %72, %73
br i1 %74, label %75, label %89
75: ; preds = %71
%76 = load double, double* %2
%77 = load double, double* %10
%78 = load double, double* %3
%79 = load double, double* %9
%80 = fmul double %78, %79
%81 = call double @llvm.fmuladd.f64(double %76, double %77, double %80)
%82 = load double, double* %4
%83 = load double, double* %8
%84 = call double @llvm.fmuladd.f64(double %82, double %83, double %81)
store double %84, double* %11
%85 = load double, double* %11
store double %85, double* %8
br label %86
86: ; preds = %75
%87 = load i32, i32* %13
%88 = add nsw i32 %87, 1
store i32 %88, i32* %13
br label %71
89: ; preds = %71
%90 = load i32, i32* %12
%91 = load double, double* %11
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i32 %90, double %91)
%93 = load i32, i32* @EXIT_SUCCESS
ret i32 %93
}

LLVM IR (-O2):
@.str = [25 x i8] c"Enter value of delta t: \00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.2 = [18 x i8] c"Enter value of k:\00"
@.str.3 = [18 x i8] c"Enter value of x:\00"
@.str.4 = [19 x i8] c"Enter value of Q1:\00"
@.str.5 = [19 x i8] c"Enter value of I1:\00"
@.str.6 = [19 x i8] c"Enter value of I2:\00"
@.str.7 = [64 x i8] c"Enter value of 'n' upto which you want to calculate value of Q:\00"
@.str.8 = [3 x i8] c"%d\00"
@.str.9 = [13 x i8] c"Q%d is %.2lf\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca i32
%8 = bitcast double* %1 to i8*
%9 = bitcast double* %2 to i8*
%10 = bitcast double* %3 to i8*
%11 = bitcast double* %4 to i8*
%12 = bitcast double* %5 to i8*
%13 = bitcast double* %6 to i8*
%14 = bitcast i32* %7 to i8*
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %1)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %2)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %3)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0))
%22 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %4)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
%24 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %5)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.6, i64 0, i64 0))
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %6)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @.str.7, i64 0, i64 0))
%28 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32* %7)
%29 = load double, double* %2
%30 = load double, double* %3
%31 = load double, double* %1
%32 = fmul double %31, 5.000000e-01
%33 = fneg double %32
%34 = call double @llvm.fmuladd.f64(double %29, double %30, double %33)
%35 = fneg double %29
%36 = call double @llvm.fmuladd.f64(double %35, double %30, double %29)
%37 = call double @llvm.fmuladd.f64(double %31, double 5.000000e-01, double %36)
%38 = fneg double %34
%39 = fdiv double %38, %37
%40 = call double @llvm.fmuladd.f64(double %29, double %30, double %32)
%41 = fdiv double %40, %37
%42 = call double @llvm.fmuladd.f64(double %31, double -5.000000e-01, double %36)
%43 = fdiv double %42, %37
%44 = load i32, i32* %7
%45 = load double, double* %4
%46 = icmp sgt i32 %44, 0
%47 = load double, double* %6
%48 = load double, double* %5
%49 = fmul double %41, %48
%50 = call double @llvm.fmuladd.f64(double %39, double %47, double %49)
%51 = add nsw i32 %44, -1
%52 = and i32 %44, 7
%53 = icmp ult i32 %51, 7
br i1 %53, label %69, label %54
54: ; preds = %0
%55 = and i32 %44, 2147483640
br label %56
56: ; preds = %56, %54
%57 = phi double [ %45, %54 ], [ %66, %56 ]
%58 = phi i32 [ 0, %54 ], [ %67, %56 ]
%59 = call double @llvm.fmuladd.f64(double %43, double %57, double %50)
%60 = call double @llvm.fmuladd.f64(double %43, double %59, double %50)
%61 = call double @llvm.fmuladd.f64(double %43, double %60, double %50)
%62 = call double @llvm.fmuladd.f64(double %43, double %61, double %50)
%63 = call double @llvm.fmuladd.f64(double %43, double %62, double %50)
%64 = call double @llvm.fmuladd.f64(double %43, double %63, double %50)
%65 = call double @llvm.fmuladd.f64(double %43, double %64, double %50)
%66 = call double @llvm.fmuladd.f64(double %43, double %65, double %50)
%67 = add i32 %58, 8
%68 = icmp eq i32 %67, %55
br i1 %68, label %69, label %56
69: ; preds = %56, %0
%70 = phi double [ undef, %0 ], [ %66, %56 ]
%71 = phi double [ %45, %0 ], [ %66, %56 ]
%72 = icmp eq i32 %52, 0
br i1 %72, label %79, label %73
73: ; preds = %69, %73
%74 = phi double [ %76, %73 ], [ %71, %69 ]
%75 = phi i32 [ %77, %73 ], [ 0, %69 ]
%76 = call double @llvm.fmuladd.f64(double %43, double %74, double %50)
%77 = add i32 %75, 1
%78 = icmp eq i32 %77, %52
br i1 %78, label %79, label %73
79: ; preds = %73, %69
%80 = phi double [ %70, %69 ], [ %76, %73 ]
store double %80, double* %4
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i32 %44, double %80)
%82 = load i32, i32* @EXIT_SUCCESS
ret i32 %82
}