#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int EXIT_SUCCESS;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, double, double);
int /*<<< orphan*/ printf(char *, ...);
double sin(double);
int /*<<< orphan*/ sscanf(char *, char *, double *);
int main(int argc, char *argv[]) {
  double upper_limit, below_limit = 0.00000000001;
  ;
  double x[100], f[100];
  double I;
  char file_name[] = "in.dat";
  FILE *file;
  sscanf(argv[1], "%lf", &upper_limit);
  double h = upper_limit / 100;
  file = fopen(file_name, "w");
  if (file == NULL)
    printf("Erro, nao foi possivel abrir o arquivo\n");
  else {
    for (int i = 1; i <= 100 + 1; i++) {
      x[i] = below_limit;
      below_limit += h;
      f[i] = sin(x[i]) / x[i];
      fprintf(file, "%lf %lf\n", x[i], f[i]);
    }
    fclose(file);
  }
  double even_sum = 0.0;
  for (int i = 2; i < 100 + 1; i += 2) {
    even_sum += f[i];
  }
  double odd_sum = 0.0;
  for (int i = 3; i < 100 + 1; i += 2) {
    odd_sum += f[i];
  }
  I = (h / 2) * (f[1] + (2 * (odd_sum + even_sum) + f[100 + 1]));
  printf("I=%lf\n", I);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x6b0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  0xe87(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    0xe8c(%rip),%eax
mov    %eax,-0x66f(%rbp)
mov    0xe83(%rip),%ax
mov    %ax,-0x66b(%rbp)
mov    0xe78(%rip),%al
mov    %al,-0x669(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe64(%rip),%rsi
lea    -0x18(%rbp),%rdx
call   1070 <sscanf@plt>
movsd  -0x18(%rbp),%xmm0
movsd  0xe2f(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x680(%rbp)
ff
lea    -0x66f(%rbp),%rdi
lea    0xe38(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x678(%rbp)
cmpq   $0x0,-0x678(%rbp)
jne    1218 <main+0xb8>
lea    0xe19(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12de <main+0x17e>
movl   $0x1,-0x684(%rbp)
cmpl   $0x65,-0x684(%rbp)
jg     12d2 <main+0x172>
movsd  -0x20(%rbp),%xmm0
movslq -0x684(%rbp),%rax
movsd  %xmm0,-0x340(%rbp,%rax,8)
ff ff
movsd  -0x680(%rbp),%xmm0
ff
addsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movslq -0x684(%rbp),%rax
movsd  -0x340(%rbp,%rax,8),%xmm0
ff ff
call   1060 <sin@plt>
movslq -0x684(%rbp),%rax
divsd  -0x340(%rbp,%rax,8),%xmm0
ff ff
movslq -0x684(%rbp),%rax
movsd  %xmm0,-0x660(%rbp,%rax,8)
ff ff
mov    -0x678(%rbp),%rdi
movslq -0x684(%rbp),%rax
movsd  -0x340(%rbp,%rax,8),%xmm0
ff ff
movslq -0x684(%rbp),%rax
movsd  -0x660(%rbp,%rax,8),%xmm1
ff ff
lea    0xd94(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x684(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x684(%rbp)
jmp    1222 <main+0xc2>
mov    -0x678(%rbp),%rdi
call   1030 <fclose@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x690(%rbp)
ff
movl   $0x2,-0x694(%rbp)
cmpl   $0x65,-0x694(%rbp)
jge    1334 <main+0x1d4>
movslq -0x694(%rbp),%rax
movsd  -0x660(%rbp,%rax,8),%xmm0
ff ff
addsd  -0x690(%rbp),%xmm0
ff
movsd  %xmm0,-0x690(%rbp)
ff
mov    -0x694(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x694(%rbp)
jmp    12f3 <main+0x193>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x6a0(%rbp)
ff
movl   $0x3,-0x6a4(%rbp)
cmpl   $0x65,-0x6a4(%rbp)
jge    138a <main+0x22a>
movslq -0x6a4(%rbp),%rax
movsd  -0x660(%rbp,%rax,8),%xmm0
ff ff
addsd  -0x6a0(%rbp),%xmm0
ff
movsd  %xmm0,-0x6a0(%rbp)
ff
mov    -0x6a4(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x6a4(%rbp)
jmp    1349 <main+0x1e9>
movsd  -0x680(%rbp),%xmm0
ff
movsd  0xc76(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  -0x658(%rbp),%xmm1
ff
movsd  -0x6a0(%rbp),%xmm2
ff
addsd  -0x690(%rbp),%xmm2
ff
movsd  -0x338(%rbp),%xmm3
ff
addsd  %xmm2,%xmm2
addsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x668(%rbp)
ff
movsd  -0x668(%rbp),%xmm0
ff
lea    0xc71(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    0x2bed(%rip),%rax
mov    (%rax),%eax
add    $0x6b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x350,%rsp
movl   $0x746164,0xb(%rsp)
movl   $0x642e6e69,0x8(%rsp)
64
mov    0x8(%rsi),%rdi
lea    0xe88(%rip),%rsi
lea    0x28(%rsp),%rdx
call   1080 <sscanf@plt>
movsd  0x28(%rsp),%xmm0
divsd  0xe51(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
lea    0xe67(%rip),%rsi
lea    0x8(%rsp),%rdi
call   1090 <fopen@plt>
test   %rax,%rax
je     1244 <main+0xd4>
mov    %rax,%r15
movsd  0xe32(%rip),%xmm0
mov    $0x1,%ebx
lea    0xe43(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x10(%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  %xmm0,0x18(%rsp)
call   1070 <sin@plt>
movapd %xmm0,%xmm1
movsd  0x18(%rsp),%xmm0
divsd  %xmm0,%xmm1
movsd  %xmm1,0x30(%rsp,%rbx,8)
mov    %r15,%rdi
mov    %r14,%rsi
call   1060 <fprintf@plt>
add    $0x1,%rbx
movsd  0x20(%rsp),%xmm0
cmp    $0x66,%rbx
jne    11f0 <main+0x80>
mov    %r15,%rdi
call   1040 <fclose@plt>
jmp    1250 <main+0xe0>
lea    0xdea(%rip),%rdi
call   1030 <puts@plt>
xorpd  %xmm0,%xmm0
mov    $0xfffffffffffffff8,%rax
movsd  0x10(%rsp),%xmm2
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
addsd  0x80(%rsp,%rax,8),%xmm0
addsd  0x90(%rsp,%rax,8),%xmm0
addsd  0xa0(%rsp,%rax,8),%xmm0
addsd  0xb0(%rsp,%rax,8),%xmm0
addsd  0xc0(%rsp,%rax,8),%xmm0
add    $0xa,%rax
cmp    $0x5b,%rax
jb     1270 <main+0x100>
xorpd  %xmm1,%xmm1
addsd  0x48(%rsp),%xmm1
addsd  0x58(%rsp),%xmm1
addsd  0x68(%rsp),%xmm1
addsd  0x78(%rsp),%xmm1
addsd  0x88(%rsp),%xmm1
addsd  0x98(%rsp),%xmm1
addsd  0xa8(%rsp),%xmm1
addsd  0xb8(%rsp),%xmm1
addsd  0xc8(%rsp),%xmm1
addsd  0xd8(%rsp),%xmm1
addsd  0xe8(%rsp),%xmm1
addsd  0xf8(%rsp),%xmm1
addsd  0x108(%rsp),%xmm1
addsd  0x118(%rsp),%xmm1
addsd  0x128(%rsp),%xmm1
addsd  0x138(%rsp),%xmm1
addsd  0x148(%rsp),%xmm1
addsd  0x158(%rsp),%xmm1
addsd  0x168(%rsp),%xmm1
addsd  0x178(%rsp),%xmm1
addsd  0x188(%rsp),%xmm1
addsd  0x198(%rsp),%xmm1
addsd  0x1a8(%rsp),%xmm1
addsd  0x1b8(%rsp),%xmm1
addsd  0x1c8(%rsp),%xmm1
addsd  0x1d8(%rsp),%xmm1
addsd  0x1e8(%rsp),%xmm1
addsd  0x1f8(%rsp),%xmm1
addsd  0x208(%rsp),%xmm1
addsd  0x218(%rsp),%xmm1
addsd  0x228(%rsp),%xmm1
addsd  0x238(%rsp),%xmm1
addsd  0x248(%rsp),%xmm1
addsd  0x258(%rsp),%xmm1
addsd  0x268(%rsp),%xmm1
addsd  0x278(%rsp),%xmm1
addsd  0x288(%rsp),%xmm1
addsd  0x298(%rsp),%xmm1
addsd  0x2a8(%rsp),%xmm1
addsd  0x2b8(%rsp),%xmm1
addsd  0x2c8(%rsp),%xmm1
addsd  0x2d8(%rsp),%xmm1
addsd  0x2e8(%rsp),%xmm1
addsd  0x2f8(%rsp),%xmm1
addsd  0x308(%rsp),%xmm1
addsd  0x318(%rsp),%xmm1
addsd  0x328(%rsp),%xmm1
addsd  0x338(%rsp),%xmm1
addsd  0x348(%rsp),%xmm1
mulsd  0xbb0(%rip),%xmm2
addsd  %xmm1,%xmm0
addsd  %xmm0,%xmm0
addsd  0x358(%rsp),%xmm0
addsd  0x38(%rsp),%xmm0
mulsd  %xmm2,%xmm0
lea    0xbac(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    0x2b50(%rip),%rax
mov    (%rax),%eax
add    $0x350,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.file_name = [7 x i8] c"in.dat\00"
@.str = [4 x i8] c"%lf\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [40 x i8] c"Erro, nao foi possivel abrir o arquivo\0A\00"
@.str.3 = [9 x i8] c"%lf %lf\0A\00"
@.str.4 = [7 x i8] c"I=%lf\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca double
%7 = alloca double
%8 = alloca [100 x double]
%9 = alloca [100 x double]
%10 = alloca double
%11 = alloca [7 x i8]
%12 = alloca i32*
%13 = alloca double
%14 = alloca i32
%15 = alloca double
%16 = alloca i32
%17 = alloca double
%18 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store double 0x3DA5FD7FE1796495, double* %7
%19 = bitcast [7 x i8]* %11 to i8*
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 1
%22 = load i8*, i8** %21
%23 = call i32 @sscanf(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %6)
%24 = load double, double* %6
%25 = fdiv double %24, 1.000000e+02
store double %25, double* %13
%26 = getelementptr inbounds [7 x i8], [7 x i8]* %11, i64 0, i64 0
%27 = call i32* @fopen(i8* %26, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %27, i32** %12
%28 = load i32*, i32** %12
%29 = icmp eq i32* %28, null
br i1 %29, label %30, label %32
30: ; preds = %2
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
br label %73
32: ; preds = %2
store i32 1, i32* %14
br label %33
33: ; preds = %67, %32
%34 = load i32, i32* %14
%35 = icmp sle i32 %34, 101
br i1 %35, label %36, label %70
36: ; preds = %33
%37 = load double, double* %7
%38 = load i32, i32* %14
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [100 x double], [100 x double]* %8, i64 0, i64 %39
store double %37, double* %40
%41 = load double, double* %13
%42 = load double, double* %7
%43 = fadd double %42, %41
store double %43, double* %7
%44 = load i32, i32* %14
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100 x double], [100 x double]* %8, i64 0, i64 %45
%47 = load double, double* %46
%48 = call double @sin(double %47)
%49 = load i32, i32* %14
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [100 x double], [100 x double]* %8, i64 0, i64 %50
%52 = load double, double* %51
%53 = fdiv double %48, %52
%54 = load i32, i32* %14
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [100 x double], [100 x double]* %9, i64 0, i64 %55
store double %53, double* %56
%57 = load i32*, i32** %12
%58 = load i32, i32* %14
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [100 x double], [100 x double]* %8, i64 0, i64 %59
%61 = load double, double* %60
%62 = load i32, i32* %14
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [100 x double], [100 x double]* %9, i64 0, i64 %63
%65 = load double, double* %64
%66 = call i32 @fprintf(i32* %57, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), double %61, double %65)
br label %67
67: ; preds = %36
%68 = load i32, i32* %14
%69 = add nsw i32 %68, 1
store i32 %69, i32* %14
br label %33
70: ; preds = %33
%71 = load i32*, i32** %12
%72 = call i32 @fclose(i32* %71)
br label %73
73: ; preds = %70, %30
store double 0.000000e+00, double* %15
store i32 2, i32* %16
br label %74
74: ; preds = %84, %73
%75 = load i32, i32* %16
%76 = icmp slt i32 %75, 101
br i1 %76, label %77, label %87
77: ; preds = %74
%78 = load i32, i32* %16
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [100 x double], [100 x double]* %9, i64 0, i64 %79
%81 = load double, double* %80
%82 = load double, double* %15
%83 = fadd double %82, %81
store double %83, double* %15
br label %84
84: ; preds = %77
%85 = load i32, i32* %16
%86 = add nsw i32 %85, 2
store i32 %86, i32* %16
br label %74
87: ; preds = %74
store double 0.000000e+00, double* %17
store i32 3, i32* %18
br label %88
88: ; preds = %98, %87
%89 = load i32, i32* %18
%90 = icmp slt i32 %89, 101
br i1 %90, label %91, label %101
91: ; preds = %88
%92 = load i32, i32* %18
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [100 x double], [100 x double]* %9, i64 0, i64 %93
%95 = load double, double* %94
%96 = load double, double* %17
%97 = fadd double %96, %95
store double %97, double* %17
br label %98
98: ; preds = %91
%99 = load i32, i32* %18
%100 = add nsw i32 %99, 2
store i32 %100, i32* %18
br label %88
101: ; preds = %88
%102 = load double, double* %13
%103 = fdiv double %102, 2.000000e+00
%104 = getelementptr inbounds [100 x double], [100 x double]* %9, i64 0, i64 1
%105 = load double, double* %104
%106 = load double, double* %17
%107 = load double, double* %15
%108 = fadd double %106, %107
%109 = getelementptr inbounds [100 x double], [100 x double]* %9, i64 0, i64 101
%110 = load double, double* %109
%111 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %108, double %110)
%112 = fadd double %105, %111
%113 = fmul double %103, %112
store double %113, double* %10
%114 = load double, double* %10
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), double %114)
%116 = load i32, i32* @EXIT_SUCCESS
ret i32 %116
}

LLVM IR (-O2):
@__const.main.file_name = [7 x i8] c"in.dat\00"
@.str = [4 x i8] c"%lf\00"
@.str.1 = [2 x i8] c"w\00"
@.str.3 = [9 x i8] c"%lf %lf\0A\00"
@.str.4 = [7 x i8] c"I=%lf\0A\00"
@EXIT_SUCCESS = global i32 0
@str = [39 x i8] c"Erro, nao foi possivel abrir o arquivo\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca double
%4 = alloca [100 x double]
%5 = alloca [7 x i8]
%6 = bitcast double* %3 to i8*
%7 = bitcast [100 x double]* %4 to i8*
%8 = getelementptr inbounds [7 x i8], [7 x i8]* %5, i64 0, i64 0
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = call i32 @sscanf(i8* %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %3)
%12 = load double, double* %3
%13 = fdiv double %12, 1.000000e+02
%14 = call i32* @fopen(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%15 = icmp eq i32* %14, null
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str, i64 0, i64 0))
br label %18
18: ; preds = %19, %16
br label %190
19: ; preds = %21
%20 = call i32 @fclose(i32* %14)
br label %18
21: ; preds = %2, %21
%22 = phi i64 [ %29, %21 ], [ 1, %2 ]
%23 = phi double [ %24, %21 ], [ 0x3DA5FD7FE1796495, %2 ]
%24 = fadd double %13, %23
%25 = call double @sin(double %23)
%26 = fdiv double %25, %23
%27 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 %22
store double %26, double* %27
%28 = call i32 @fprintf(i32* %14, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), double %23, double %26)
%29 = add nuw nsw i64 %22, 1
%30 = icmp eq i64 %29, 102
br i1 %30, label %19, label %21
31: ; preds = %190
%32 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 3
%33 = load double, double* %32
%34 = fadd double %33, 0.000000e+00
%35 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 5
%36 = load double, double* %35
%37 = fadd double %34, %36
%38 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 7
%39 = load double, double* %38
%40 = fadd double %37, %39
%41 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 9
%42 = load double, double* %41
%43 = fadd double %40, %42
%44 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 11
%45 = load double, double* %44
%46 = fadd double %43, %45
%47 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 13
%48 = load double, double* %47
%49 = fadd double %46, %48
%50 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 15
%51 = load double, double* %50
%52 = fadd double %49, %51
%53 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 17
%54 = load double, double* %53
%55 = fadd double %52, %54
%56 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 19
%57 = load double, double* %56
%58 = fadd double %55, %57
%59 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 21
%60 = load double, double* %59
%61 = fadd double %58, %60
%62 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 23
%63 = load double, double* %62
%64 = fadd double %61, %63
%65 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 25
%66 = load double, double* %65
%67 = fadd double %64, %66
%68 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 27
%69 = load double, double* %68
%70 = fadd double %67, %69
%71 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 29
%72 = load double, double* %71
%73 = fadd double %70, %72
%74 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 31
%75 = load double, double* %74
%76 = fadd double %73, %75
%77 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 33
%78 = load double, double* %77
%79 = fadd double %76, %78
%80 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 35
%81 = load double, double* %80
%82 = fadd double %79, %81
%83 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 37
%84 = load double, double* %83
%85 = fadd double %82, %84
%86 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 39
%87 = load double, double* %86
%88 = fadd double %85, %87
%89 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 41
%90 = load double, double* %89
%91 = fadd double %88, %90
%92 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 43
%93 = load double, double* %92
%94 = fadd double %91, %93
%95 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 45
%96 = load double, double* %95
%97 = fadd double %94, %96
%98 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 47
%99 = load double, double* %98
%100 = fadd double %97, %99
%101 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 49
%102 = load double, double* %101
%103 = fadd double %100, %102
%104 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 51
%105 = load double, double* %104
%106 = fadd double %103, %105
%107 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 53
%108 = load double, double* %107
%109 = fadd double %106, %108
%110 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 55
%111 = load double, double* %110
%112 = fadd double %109, %111
%113 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 57
%114 = load double, double* %113
%115 = fadd double %112, %114
%116 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 59
%117 = load double, double* %116
%118 = fadd double %115, %117
%119 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 61
%120 = load double, double* %119
%121 = fadd double %118, %120
%122 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 63
%123 = load double, double* %122
%124 = fadd double %121, %123
%125 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 65
%126 = load double, double* %125
%127 = fadd double %124, %126
%128 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 67
%129 = load double, double* %128
%130 = fadd double %127, %129
%131 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 69
%132 = load double, double* %131
%133 = fadd double %130, %132
%134 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 71
%135 = load double, double* %134
%136 = fadd double %133, %135
%137 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 73
%138 = load double, double* %137
%139 = fadd double %136, %138
%140 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 75
%141 = load double, double* %140
%142 = fadd double %139, %141
%143 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 77
%144 = load double, double* %143
%145 = fadd double %142, %144
%146 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 79
%147 = load double, double* %146
%148 = fadd double %145, %147
%149 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 81
%150 = load double, double* %149
%151 = fadd double %148, %150
%152 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 83
%153 = load double, double* %152
%154 = fadd double %151, %153
%155 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 85
%156 = load double, double* %155
%157 = fadd double %154, %156
%158 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 87
%159 = load double, double* %158
%160 = fadd double %157, %159
%161 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 89
%162 = load double, double* %161
%163 = fadd double %160, %162
%164 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 91
%165 = load double, double* %164
%166 = fadd double %163, %165
%167 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 93
%168 = load double, double* %167
%169 = fadd double %166, %168
%170 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 95
%171 = load double, double* %170
%172 = fadd double %169, %171
%173 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 97
%174 = load double, double* %173
%175 = fadd double %172, %174
%176 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 99
%177 = load double, double* %176
%178 = fadd double %175, %177
%179 = fmul double %13, 5.000000e-01
%180 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 1
%181 = load double, double* %180
%182 = fadd double %211, %178
%183 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 101
%184 = load double, double* %183
%185 = call double @llvm.fmuladd.f64(double %182, double 2.000000e+00, double %184)
%186 = fadd double %181, %185
%187 = fmul double %179, %186
%188 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), double %187)
%189 = load i32, i32* @EXIT_SUCCESS
ret i32 %189
190: ; preds = %190, %18
%191 = phi i64 [ 2, %18 ], [ %212, %190 ]
%192 = phi double [ 0.000000e+00, %18 ], [ %211, %190 ]
%193 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 %191
%194 = load double, double* %193
%195 = fadd double %192, %194
%196 = add nuw nsw i64 %191, 2
%197 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 %196
%198 = load double, double* %197
%199 = fadd double %195, %198
%200 = add nuw nsw i64 %191, 4
%201 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 %200
%202 = load double, double* %201
%203 = fadd double %199, %202
%204 = add nuw nsw i64 %191, 6
%205 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 %204
%206 = load double, double* %205
%207 = fadd double %203, %206
%208 = add nuw nsw i64 %191, 8
%209 = getelementptr inbounds [100 x double], [100 x double]* %4, i64 0, i64 %208
%210 = load double, double* %209
%211 = fadd double %207, %210
%212 = add nuw nsw i64 %191, 10
%213 = icmp ult i64 %191, 91
br i1 %213, label %190, label %31
}