#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 f(double);
int fp(double);
scalar_t__ fpp(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ system(char *);
int main() {
  double x[9];
  int i;
  x[0] = 0;
  if ((f(1) == 0) && (fp(1) == 0) && (fpp(1) != 0))
    printf("\ntiene raiz doble en x=1\n");
  printf("\nMetodo de N-R sin modificar\n");
  for (i = 1; i < 9; i++) {
    x[i] = x[i - 1] - (f(x[i - 1]) / fp(x[i - 1]));
    printf("iteracion: %d\n estimacion: %lf\n", i, x[i]);
  }
  printf("\nMetodo de N-R modificado\n");
  for (i = 1; i < 9; i++) {
    x[i] = x[i - 1] - 2 * (f(x[i - 1]) / fp(x[i - 1]));
    printf("iteracion: %d\n estimacion: %lf\n", i, x[i]);
  }
  system("PAUSE");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xe91(%rip),%xmm0
call   1040 <f@plt>
cmp    $0x0,%eax
jne    11b5 <main+0x65>
movsd  0xe7b(%rip),%xmm0
call   1030 <fp@plt>
cmp    $0x0,%eax
jne    11b5 <main+0x65>
mov    $0x1,%edi
call   1070 <fpp@plt>
cmp    $0x0,%rax
je     11b5 <main+0x65>
lea    0xe5a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
lea    0xe66(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x54(%rbp)
cmpl   $0x9,-0x54(%rbp)
jge    1258 <main+0x108>
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x50(%rbp,%rax,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x50(%rbp,%rax,8),%xmm0
call   1040 <f@plt>
mov    %eax,-0x58(%rbp)
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x50(%rbp,%rax,8),%xmm0
call   1030 <fp@plt>
movsd  -0x60(%rbp),%xmm0
mov    %eax,%ecx
mov    -0x58(%rbp),%eax
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm1
subsd  %xmm1,%xmm0
movslq -0x54(%rbp),%rax
movsd  %xmm0,-0x50(%rbp,%rax,8)
mov    -0x54(%rbp),%esi
movslq -0x54(%rbp),%rax
movsd  -0x50(%rbp,%rax,8),%xmm0
lea    0xdfd(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    11ca <main+0x7a>
lea    0xe01(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x54(%rbp)
cmpl   $0x9,-0x54(%rbp)
jge    12fe <main+0x1ae>
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x50(%rbp,%rax,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x50(%rbp,%rax,8),%xmm0
call   1040 <f@plt>
mov    %eax,-0x64(%rbp)
mov    -0x54(%rbp),%eax
sub    $0x1,%eax
cltq
movsd  -0x50(%rbp,%rax,8),%xmm0
call   1030 <fp@plt>
movsd  -0x70(%rbp),%xmm0
mov    %eax,%ecx
mov    -0x64(%rbp),%eax
cltd
idiv   %ecx
shl    $0x1,%eax
cvtsi2sd %eax,%xmm1
subsd  %xmm1,%xmm0
movslq -0x54(%rbp),%rax
movsd  %xmm0,-0x50(%rbp,%rax,8)
mov    -0x54(%rbp),%esi
movslq -0x54(%rbp),%rax
movsd  -0x50(%rbp,%rax,8),%xmm0
lea    0xd57(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    126d <main+0x11d>
lea    0xd76(%rip),%rdi
call   1050 <system@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
push   %rax
movsd  0xe95(%rip),%xmm0
call   1050 <f@plt>
test   %eax,%eax
jne    11a0 <main+0x40>
movsd  0xe84(%rip),%xmm0
call   1030 <fp@plt>
test   %eax,%eax
jne    11a0 <main+0x40>
mov    $0x1,%edi
call   1080 <fpp@plt>
test   %rax,%rax
je     11a0 <main+0x40>
lea    0xeca(%rip),%rdi
call   1040 <puts@plt>
lea    0xe87(%rip),%rdi
call   1040 <puts@plt>
xorpd  %xmm0,%xmm0
call   1050 <f@plt>
mov    %eax,%ebx
xorpd  %xmm0,%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebx,%eax
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm1
xorpd  %xmm0,%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
lea    0xe29(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x5,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x1,%al
call   1070 <printf@plt>
lea    0xc94(%rip),%rdi
call   1040 <puts@plt>
xorpd  %xmm0,%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
xorpd  %xmm0,%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
xorpd  %xmm0,%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x5,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x6,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
mov    %rbx,%rdi
mov    $0x7,%esi
mov    $0x1,%al
call   1070 <printf@plt>
movsd  (%rsp),%xmm0
call   1050 <f@plt>
mov    %eax,%ebp
movsd  (%rsp),%xmm0
call   1030 <fp@plt>
mov    %eax,%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
add    %eax,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
mov    %rbx,%rdi
mov    $0x8,%esi
mov    $0x1,%al
call   1070 <printf@plt>
lea    0xa55(%rip),%rdi
call   1060 <system@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [26 x i8] c"\0Atiene raiz doble en x=1\0A\00"
@.str.1 = [30 x i8] c"\0AMetodo de N-R sin modificar\0A\00"
@.str.2 = [32 x i8] c"iteracion: %d\0A estimacion: %lf\0A\00"
@.str.3 = [27 x i8] c"\0AMetodo de N-R modificado\0A\00"
@.str.4 = [6 x i8] c"PAUSE\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [9 x double]
%3 = alloca i32
store i32 0, i32* %1
%4 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 0
store double 0.000000e+00, double* %4
%5 = call i32 @f(double 1.000000e+00)
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %0
%8 = call i32 @fp(double 1.000000e+00)
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = call i64 @fpp(i32 1)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
br label %15
15: ; preds = %13, %10, %7, %0
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
store i32 1, i32* %3
br label %17
17: ; preds = %50, %15
%18 = load i32, i32* %3
%19 = icmp slt i32 %18, 9
br i1 %19, label %20, label %53
20: ; preds = %17
%21 = load i32, i32* %3
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %23
%25 = load double, double* %24
%26 = load i32, i32* %3
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %28
%30 = load double, double* %29
%31 = call i32 @f(double %30)
%32 = load i32, i32* %3
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %34
%36 = load double, double* %35
%37 = call i32 @fp(double %36)
%38 = sdiv i32 %31, %37
%39 = sitofp i32 %38 to double
%40 = fsub double %25, %39
%41 = load i32, i32* %3
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %42
store double %40, double* %43
%44 = load i32, i32* %3
%45 = load i32, i32* %3
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %46
%48 = load double, double* %47
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 %44, double %48)
br label %50
50: ; preds = %20
%51 = load i32, i32* %3
%52 = add nsw i32 %51, 1
store i32 %52, i32* %3
br label %17
53: ; preds = %17
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
store i32 1, i32* %3
br label %55
55: ; preds = %89, %53
%56 = load i32, i32* %3
%57 = icmp slt i32 %56, 9
br i1 %57, label %58, label %92
58: ; preds = %55
%59 = load i32, i32* %3
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %61
%63 = load double, double* %62
%64 = load i32, i32* %3
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %66
%68 = load double, double* %67
%69 = call i32 @f(double %68)
%70 = load i32, i32* %3
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %72
%74 = load double, double* %73
%75 = call i32 @fp(double %74)
%76 = sdiv i32 %69, %75
%77 = mul nsw i32 2, %76
%78 = sitofp i32 %77 to double
%79 = fsub double %63, %78
%80 = load i32, i32* %3
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %81
store double %79, double* %82
%83 = load i32, i32* %3
%84 = load i32, i32* %3
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [9 x double], [9 x double]* %2, i64 0, i64 %85
%87 = load double, double* %86
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 %83, double %87)
br label %89
89: ; preds = %58
%90 = load i32, i32* %3
%91 = add nsw i32 %90, 1
store i32 %91, i32* %3
br label %55
92: ; preds = %55
%93 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [32 x i8] c"iteracion: %d\0A estimacion: %lf\0A\00"
@.str.4 = [6 x i8] c"PAUSE\00"
@str = [29 x i8] c"\0AMetodo de N-R sin modificar\00"
@str.5 = [26 x i8] c"\0AMetodo de N-R modificado\00"
@str.6 = [25 x i8] c"\0Atiene raiz doble en x=1\00"
define i32 @main() {
%1 = tail call i32 @f(double 1.000000e+00)
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %11
3: ; preds = %0
%4 = tail call i32 @fp(double 1.000000e+00)
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = tail call i64 @fpp(i32 1)
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.6, i64 0, i64 0))
br label %11
11: ; preds = %9, %6, %3, %0
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
%13 = tail call i32 @f(double 0.000000e+00)
%14 = tail call i32 @fp(double 0.000000e+00)
%15 = sdiv i32 %13, %14
%16 = sitofp i32 %15 to double
%17 = fsub double 0.000000e+00, %16
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 1, double %17)
%19 = tail call i32 @f(double %17)
%20 = tail call i32 @fp(double %17)
%21 = sdiv i32 %19, %20
%22 = sitofp i32 %21 to double
%23 = fsub double %17, %22
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 2, double %23)
%25 = tail call i32 @f(double %23)
%26 = tail call i32 @fp(double %23)
%27 = sdiv i32 %25, %26
%28 = sitofp i32 %27 to double
%29 = fsub double %23, %28
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 3, double %29)
%31 = tail call i32 @f(double %29)
%32 = tail call i32 @fp(double %29)
%33 = sdiv i32 %31, %32
%34 = sitofp i32 %33 to double
%35 = fsub double %29, %34
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 4, double %35)
%37 = tail call i32 @f(double %35)
%38 = tail call i32 @fp(double %35)
%39 = sdiv i32 %37, %38
%40 = sitofp i32 %39 to double
%41 = fsub double %35, %40
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 5, double %41)
%43 = tail call i32 @f(double %41)
%44 = tail call i32 @fp(double %41)
%45 = sdiv i32 %43, %44
%46 = sitofp i32 %45 to double
%47 = fsub double %41, %46
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 6, double %47)
%49 = tail call i32 @f(double %47)
%50 = tail call i32 @fp(double %47)
%51 = sdiv i32 %49, %50
%52 = sitofp i32 %51 to double
%53 = fsub double %47, %52
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 7, double %53)
%55 = tail call i32 @f(double %53)
%56 = tail call i32 @fp(double %53)
%57 = sdiv i32 %55, %56
%58 = sitofp i32 %57 to double
%59 = fsub double %53, %58
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 8, double %59)
%61 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.5, i64 0, i64 0))
%62 = tail call i32 @f(double 0.000000e+00)
%63 = tail call i32 @fp(double 0.000000e+00)
%64 = sdiv i32 %62, %63
%65 = shl nsw i32 %64, 1
%66 = sitofp i32 %65 to double
%67 = fsub double 0.000000e+00, %66
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 1, double %67)
%69 = tail call i32 @f(double %67)
%70 = tail call i32 @fp(double %67)
%71 = sdiv i32 %69, %70
%72 = shl nsw i32 %71, 1
%73 = sitofp i32 %72 to double
%74 = fsub double %67, %73
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 2, double %74)
%76 = tail call i32 @f(double %74)
%77 = tail call i32 @fp(double %74)
%78 = sdiv i32 %76, %77
%79 = shl nsw i32 %78, 1
%80 = sitofp i32 %79 to double
%81 = fsub double %74, %80
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 3, double %81)
%83 = tail call i32 @f(double %81)
%84 = tail call i32 @fp(double %81)
%85 = sdiv i32 %83, %84
%86 = shl nsw i32 %85, 1
%87 = sitofp i32 %86 to double
%88 = fsub double %81, %87
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 4, double %88)
%90 = tail call i32 @f(double %88)
%91 = tail call i32 @fp(double %88)
%92 = sdiv i32 %90, %91
%93 = shl nsw i32 %92, 1
%94 = sitofp i32 %93 to double
%95 = fsub double %88, %94
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 5, double %95)
%97 = tail call i32 @f(double %95)
%98 = tail call i32 @fp(double %95)
%99 = sdiv i32 %97, %98
%100 = shl nsw i32 %99, 1
%101 = sitofp i32 %100 to double
%102 = fsub double %95, %101
%103 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 6, double %102)
%104 = tail call i32 @f(double %102)
%105 = tail call i32 @fp(double %102)
%106 = sdiv i32 %104, %105
%107 = shl nsw i32 %106, 1
%108 = sitofp i32 %107 to double
%109 = fsub double %102, %108
%110 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 7, double %109)
%111 = tail call i32 @f(double %109)
%112 = tail call i32 @fp(double %109)
%113 = sdiv i32 %111, %112
%114 = shl nsw i32 %113, 1
%115 = sitofp i32 %114 to double
%116 = fsub double %109, %115
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 8, double %116)
%118 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}