#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 /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
double log(long double);
double pow(long double, int);
int /*<<< orphan*/ printf(char *, char *);
int /*<<< orphan*/ scanf(char *, long double *);
long double z_partition(long double, long double, long double);
int main(int argc, char *argv[]) {
  char prompt1[] = "please enter the first energy level";
  char prompt2[] = "please enter the second energy level";
  long double energy1;
  long double energy2;
  long double partition_function;
  long double delta_z;
  long double expectation_energy;
  long double delta_energy;
  long double heat_capacity;
  long double entropy;
  long double temp;
  long double temp_step;
  long double energy_ratio;
  FILE *output_file = fopen("partition_func.dat", "w");
  printf("%s\n", prompt1);
  scanf("%Lf", &energy1);
  printf("%s\n", prompt2);
  scanf("%Lf", &energy2);
  temp_step = (energy2 - energy1) / 100;
  temp = temp_step;
  fprintf(output_file, "%s\n", "Z    <E>  S    C");
  while (temp < 500 * temp_step) {
    energy_ratio = 1.380648813e-23 * temp / energy2;
    partition_function = z_partition(energy1, energy2, temp);
    delta_z =
        z_partition(energy1, energy2, temp + temp_step) - partition_function;
    expectation_energy = 1.380648813e-23 * pow(temp, 2) * delta_z /
                         (partition_function * temp_step);
    delta_energy = 1.380648813e-23 * pow(temp, 2) * delta_z /
                   (partition_function * temp_step);
    entropy =
        expectation_energy / temp + 1.380648813e-23 * log(partition_function);
    heat_capacity = delta_energy / temp_step;
    fprintf(output_file, "%Lf    %Lf    %Lf    %Lf    %Lf\n",
            partition_function, expectation_energy, entropy, heat_capacity);
    temp += temp_step;
  }
  fprintf(output_file, "End of File");
  return 0;
  fclose(output_file);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1b0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movaps 0xe90(%rip),%xmm0
movaps %xmm0,-0x30(%rbp)
movaps 0xe75(%rip),%xmm0
movaps %xmm0,-0x40(%rbp)
movl   $0x6c6576,-0x20(%rbp)
movabs $0x6c6576656c2079,%rax
mov    %rax,-0x53(%rbp)
movaps 0xe95(%rip),%xmm0
movaps %xmm0,-0x60(%rbp)
movaps 0xe7a(%rip),%xmm0
movaps %xmm0,-0x70(%rbp)
lea    0xe94(%rip),%rdi
lea    0xea0(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x128(%rbp)
lea    0xe8f(%rip),%rdi
mov    %rdi,-0x150(%rbp)
lea    -0x40(%rbp),%rsi
call   1030 <printf@plt>
lea    0xe7c(%rip),%rdi
mov    %rdi,-0x148(%rbp)
lea    -0x80(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x150(%rbp),%rdi
lea    -0x70(%rbp),%rsi
call   1030 <printf@plt>
mov    -0x148(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1060 <scanf@plt>
fldt   -0x90(%rbp)
fldt   -0x80(%rbp)
fsubrp %st,%st(1)
flds   0xdba(%rip)
fdivrp %st,%st(1)
fstpt  -0x110(%rbp)
fldt   -0x110(%rbp)
fstpt  -0x100(%rbp)
mov    -0x128(%rbp),%rdi
lea    0xe12(%rip),%rsi
lea    0xe13(%rip),%rdx
mov    $0x0,%al
call   1050 <fprintf@plt>
fldt   -0x100(%rbp)
fldt   -0x110(%rbp)
flds   0xd7c(%rip)
fmulp  %st,%st(1)
fucomip %st(1),%st
fstp   %st(0)
jbe    146c <main+0x2fc>
jmp    1299 <main+0x129>
fldt   -0x100(%rbp)
fldl   0xd63(%rip)
fmulp  %st,%st(1)
fldt   -0x90(%rbp)
fdivrp %st,%st(1)
fstpt  -0x120(%rbp)
fldt   -0x80(%rbp)
fldt   -0x90(%rbp)
fldt   -0x100(%rbp)
mov    %rsp,%rax
fstpt  0x20(%rax)
fstpt  0x10(%rax)
fstpt  (%rax)
call   1040 <z_partition@plt>
fstpt  -0xa0(%rbp)
fldt   -0x80(%rbp)
fldt   -0x90(%rbp)
fldt   -0x100(%rbp)
fldt   -0x110(%rbp)
faddp  %st,%st(1)
mov    %rsp,%rax
fstpt  0x20(%rax)
fstpt  0x10(%rax)
fstpt  (%rax)
call   1040 <z_partition@plt>
fldt   -0xa0(%rbp)
fsubrp %st,%st(1)
fstpt  -0xb0(%rbp)
fldt   -0x100(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
mov    $0x2,%edi
mov    %edi,-0x16c(%rbp)
call   1090 <pow@plt>
mov    -0x16c(%rbp),%edi
movsd  0xcd0(%rip),%xmm1
movsd  %xmm1,-0x168(%rbp)
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
fldl   -0x130(%rbp)
fldt   -0xb0(%rbp)
fmulp  %st,%st(1)
fldt   -0xa0(%rbp)
fldt   -0x110(%rbp)
fmulp  %st,%st(1)
fdivrp %st,%st(1)
fstpt  -0xc0(%rbp)
fldt   -0x100(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
call   1090 <pow@plt>
movsd  -0x168(%rbp),%xmm1
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
fldl   -0x138(%rbp)
fldt   -0xb0(%rbp)
fmulp  %st,%st(1)
fldt   -0xa0(%rbp)
fldt   -0x110(%rbp)
fmulp  %st,%st(1)
fdivrp %st,%st(1)
fstpt  -0xd0(%rbp)
fldt   -0xc0(%rbp)
fldt   -0x100(%rbp)
fdivrp %st,%st(1)
fstpt  -0x15c(%rbp)
fldt   -0xa0(%rbp)
mov    %rsp,%rax
fstpt  (%rax)
call   1070 <log@plt>
movsd  -0x168(%rbp),%xmm1
ff
fldt   -0x15c(%rbp)
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
fldl   -0x140(%rbp)
faddp  %st,%st(1)
fstpt  -0xf0(%rbp)
fldt   -0xd0(%rbp)
fldt   -0x110(%rbp)
fdivrp %st,%st(1)
fstpt  -0xe0(%rbp)
mov    -0x128(%rbp),%rdi
fldt   -0xa0(%rbp)
fldt   -0xc0(%rbp)
fldt   -0xf0(%rbp)
fldt   -0xe0(%rbp)
mov    %rsp,%rax
fstpt  0x30(%rax)
fstpt  0x20(%rax)
fstpt  0x10(%rax)
fstpt  (%rax)
lea    0xc47(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
fldt   -0x110(%rbp)
fldt   -0x100(%rbp)
faddp  %st,%st(1)
fstpt  -0x100(%rbp)
jmp    1276 <main+0x106>
mov    -0x128(%rbp),%rdi
lea    0xc3a(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
xor    %eax,%eax
add    $0x1b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x140,%rsp
movaps 0xe8d(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xe6e(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movl   $0x6c6576,0x100(%rsp)
movaps 0xe94(%rip),%xmm0
movaps %xmm0,0x120(%rsp)
movapd 0xe74(%rip),%xmm0
movapd %xmm0,0x110(%rsp)
movabs $0x6c6576656c2079,%rax
mov    %rax,0x12d(%rsp)
lea    0xe77(%rip),%rdi
lea    0xe83(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,%rbx
lea    0xe76(%rip),%r14
lea    0xe0(%rsp),%rsi
mov    %r14,%rdi
call   1030 <printf@plt>
lea    0xe63(%rip),%r15
lea    0x90(%rsp),%rsi
mov    %r15,%rdi
call   1060 <scanf@plt>
lea    0x110(%rsp),%rsi
mov    %r14,%rdi
call   1030 <printf@plt>
lea    0x80(%rsp),%rsi
mov    %r15,%rdi
call   1060 <scanf@plt>
fldt   0x80(%rsp)
fldt   0x90(%rsp)
fsubrp %st,%st(1)
fdivs  0xd9f(%rip)
fstpt  0x50(%rsp)
lea    0xe16(%rip),%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
fldt   0x50(%rsp)
fld    %st(0)
fmuls  0xd7f(%rip)
fucomi %st(1),%st
fstp   %st(1)
fldz
jbe    141b <main+0x29b>
fstp   %st(0)
lea    0xdf9(%rip),%r14
fldt   0x50(%rsp)
fxch   %st(1)
fstpt  0xbc(%rsp)
fldz
fxch   %st(1)
nopl   0x0(%rax,%rax,1)
fstp   %st(1)
fld    %st(0)
fstpt  0x44(%rsp)
fldt   0x80(%rsp)
fldt   0x90(%rsp)
fxch   %st(2)
fstpt  0x20(%rsp)
fstpt  0x10(%rsp)
fstpt  (%rsp)
call   1040 <z_partition@plt>
fstpt  0x68(%rsp)
fldt   0x90(%rsp)
fldt   0x80(%rsp)
fldt   0x50(%rsp)
fldt   0x44(%rsp)
faddp  %st,%st(1)
fld    %st(0)
fstpt  0xd4(%rsp)
fstpt  0x20(%rsp)
fstpt  0x10(%rsp)
fstpt  (%rsp)
call   1040 <z_partition@plt>
fldt   0x68(%rsp)
fsubrp %st,%st(1)
fstpt  0x5c(%rsp)
fldt   0x44(%rsp)
fstpt  (%rsp)
mov    $0x2,%edi
call   1090 <pow@plt>
movsd  0xcd8(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,0xb0(%rsp)
fldt   0x5c(%rsp)
fmull  0xb0(%rsp)
fldt   0x68(%rsp)
fldt   0x50(%rsp)
fmulp  %st,%st(1)
fld    %st(0)
fstpt  0xc8(%rsp)
fdivrp %st,%st(1)
fstpt  0x74(%rsp)
fldt   0x44(%rsp)
fstpt  (%rsp)
mov    $0x2,%edi
call   1090 <pow@plt>
mulsd  0xc8e(%rip),%xmm0
movsd  %xmm0,0xa8(%rsp)
fldt   0x5c(%rsp)
fmull  0xa8(%rsp)
fldt   0xc8(%rsp)
fdivrp %st,%st(1)
fstpt  0x5c(%rsp)
fldt   0x44(%rsp)
fldt   0x74(%rsp)
fdivp  %st,%st(1)
fstpt  0x44(%rsp)
fldt   0x68(%rsp)
fstpt  (%rsp)
call   1070 <log@plt>
mulsd  0xc4b(%rip),%xmm0
movsd  %xmm0,0xa0(%rsp)
fldt   0x44(%rsp)
faddl  0xa0(%rsp)
fldt   0x50(%rsp)
fldt   0x5c(%rsp)
fdivp  %st,%st(1)
fstpt  0x30(%rsp)
fldt   0x74(%rsp)
fstpt  0x10(%rsp)
fldt   0x68(%rsp)
fstpt  (%rsp)
fstpt  0x20(%rsp)
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
fldt   0xbc(%rsp)
fldt   0xd4(%rsp)
fxch   %st(1)
fucomip %st(1),%st
fldz
fxch   %st(1)
ja     12b0 <main+0x130>
fstp   %st(1)
fstp   %st(0)
lea    0xc8e(%rip),%rdi
mov    $0xb,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   10a0 <fwrite@plt>
xor    %eax,%eax
add    $0x140,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.prompt1 = [36 x i8] c"please enter the first energy level\00"
@__const.main.prompt2 = [37 x i8] c"please enter the second energy level\00"
@.str = [19 x i8] c"partition_func.dat\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [4 x i8] c"%s\0A\00"
@.str.3 = [4 x i8] c"%Lf\00"
@.str.4 = [17 x i8] c"Z <E> S C\00"
@.str.5 = [33 x i8] c"%Lf %Lf %Lf %Lf %Lf\0A\00"
@.str.6 = [12 x i8] c"End of File\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [36 x i8]
%7 = alloca [37 x i8]
%8 = alloca x86_fp80
%9 = alloca x86_fp80
%10 = alloca x86_fp80
%11 = alloca x86_fp80
%12 = alloca x86_fp80
%13 = alloca x86_fp80
%14 = alloca x86_fp80
%15 = alloca x86_fp80
%16 = alloca x86_fp80
%17 = alloca x86_fp80
%18 = alloca x86_fp80
%19 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%20 = bitcast [36 x i8]* %6 to i8*
%21 = bitcast [37 x i8]* %7 to i8*
%22 = call i32* @fopen(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %22, i32** %19
%23 = getelementptr inbounds [36 x i8], [36 x i8]* %6, i64 0, i64 0
%24 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* %23)
%25 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), x86_fp80* %8)
%26 = getelementptr inbounds [37 x i8], [37 x i8]* %7, i64 0, i64 0
%27 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* %26)
%28 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), x86_fp80* %9)
%29 = load x86_fp80, x86_fp80* %9
%30 = load x86_fp80, x86_fp80* %8
%31 = fsub x86_fp80 %29, %30
%32 = fdiv x86_fp80 %31, 0xK4005C800000000000000
store x86_fp80 %32, x86_fp80* %17
%33 = load x86_fp80, x86_fp80* %17
store x86_fp80 %33, x86_fp80* %16
%34 = load i32*, i32** %19
%35 = call i32 (i32*, i8*, ...) @fprintf(i32* %34, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
br label %36
36: ; preds = %41, %2
%37 = load x86_fp80, x86_fp80* %16
%38 = load x86_fp80, x86_fp80* %17
%39 = fmul x86_fp80 0xK4007FA00000000000000, %38
%40 = fcmp olt x86_fp80 %37, %39
br i1 %40, label %41, label %98
41: ; preds = %36
%42 = load x86_fp80, x86_fp80* %16
%43 = fmul x86_fp80 0xK3FB38587357B86611000, %42
%44 = load x86_fp80, x86_fp80* %9
%45 = fdiv x86_fp80 %43, %44
store x86_fp80 %45, x86_fp80* %18
%46 = load x86_fp80, x86_fp80* %8
%47 = load x86_fp80, x86_fp80* %9
%48 = load x86_fp80, x86_fp80* %16
%49 = call x86_fp80 @z_partition(x86_fp80 %46, x86_fp80 %47, x86_fp80 %48)
store x86_fp80 %49, x86_fp80* %10
%50 = load x86_fp80, x86_fp80* %8
%51 = load x86_fp80, x86_fp80* %9
%52 = load x86_fp80, x86_fp80* %16
%53 = load x86_fp80, x86_fp80* %17
%54 = fadd x86_fp80 %52, %53
%55 = call x86_fp80 @z_partition(x86_fp80 %50, x86_fp80 %51, x86_fp80 %54)
%56 = load x86_fp80, x86_fp80* %10
%57 = fsub x86_fp80 %55, %56
store x86_fp80 %57, x86_fp80* %11
%58 = load x86_fp80, x86_fp80* %16
%59 = call double @pow(x86_fp80 %58, i32 2)
%60 = fmul double 0x3B30B0E6AF70CC22, %59
%61 = fpext double %60 to x86_fp80
%62 = load x86_fp80, x86_fp80* %11
%63 = fmul x86_fp80 %61, %62
%64 = load x86_fp80, x86_fp80* %10
%65 = load x86_fp80, x86_fp80* %17
%66 = fmul x86_fp80 %64, %65
%67 = fdiv x86_fp80 %63, %66
store x86_fp80 %67, x86_fp80* %12
%68 = load x86_fp80, x86_fp80* %16
%69 = call double @pow(x86_fp80 %68, i32 2)
%70 = fmul double 0x3B30B0E6AF70CC22, %69
%71 = fpext double %70 to x86_fp80
%72 = load x86_fp80, x86_fp80* %11
%73 = fmul x86_fp80 %71, %72
%74 = load x86_fp80, x86_fp80* %10
%75 = load x86_fp80, x86_fp80* %17
%76 = fmul x86_fp80 %74, %75
%77 = fdiv x86_fp80 %73, %76
store x86_fp80 %77, x86_fp80* %13
%78 = load x86_fp80, x86_fp80* %12
%79 = load x86_fp80, x86_fp80* %16
%80 = fdiv x86_fp80 %78, %79
%81 = load x86_fp80, x86_fp80* %10
%82 = call double @log(x86_fp80 %81)
%83 = fmul double 0x3B30B0E6AF70CC22, %82
%84 = fpext double %83 to x86_fp80
%85 = fadd x86_fp80 %80, %84
store x86_fp80 %85, x86_fp80* %15
%86 = load x86_fp80, x86_fp80* %13
%87 = load x86_fp80, x86_fp80* %17
%88 = fdiv x86_fp80 %86, %87
store x86_fp80 %88, x86_fp80* %14
%89 = load i32*, i32** %19
%90 = load x86_fp80, x86_fp80* %10
%91 = load x86_fp80, x86_fp80* %12
%92 = load x86_fp80, x86_fp80* %15
%93 = load x86_fp80, x86_fp80* %14
%94 = call i32 (i32*, i8*, ...) @fprintf(i32* %89, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), x86_fp80 %90, x86_fp80 %91, x86_fp80 %92, x86_fp80 %93)
%95 = load x86_fp80, x86_fp80* %17
%96 = load x86_fp80, x86_fp80* %16
%97 = fadd x86_fp80 %96, %95
store x86_fp80 %97, x86_fp80* %16
br label %36
98: ; preds = %36
%99 = load i32*, i32** %19
%100 = call i32 (i32*, i8*, ...) @fprintf(i32* %99, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@__const.main.prompt1 = [36 x i8] c"please enter the first energy level\00"
@__const.main.prompt2 = [37 x i8] c"please enter the second energy level\00"
@.str = [19 x i8] c"partition_func.dat\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [4 x i8] c"%s\0A\00"
@.str.3 = [4 x i8] c"%Lf\00"
@.str.4 = [17 x i8] c"Z <E> S C\00"
@.str.5 = [33 x i8] c"%Lf %Lf %Lf %Lf %Lf\0A\00"
@.str.6 = [12 x i8] c"End of File\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [36 x i8]
%4 = alloca [37 x i8]
%5 = alloca x86_fp80
%6 = alloca x86_fp80
%7 = getelementptr inbounds [36 x i8], [36 x i8]* %3, i64 0, i64 0
%8 = getelementptr inbounds [37 x i8], [37 x i8]* %4, i64 0, i64 0
%9 = bitcast x86_fp80* %5 to i8*
%10 = bitcast x86_fp80* %6 to i8*
%11 = tail call i32* @fopen(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* %7)
%13 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), x86_fp80* %5)
%14 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* %8)
%15 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), x86_fp80* %6)
%16 = load x86_fp80, x86_fp80* %6
%17 = load x86_fp80, x86_fp80* %5
%18 = fsub x86_fp80 %16, %17
%19 = fdiv x86_fp80 %18, 0xK4005C800000000000000
%20 = call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%21 = fmul x86_fp80 %19, 0xK4007FA00000000000000
%22 = fcmp olt x86_fp80 %19, %21
br i1 %22, label %23, label %52
23: ; preds = %2, %23
%24 = phi x86_fp80 [ %30, %23 ], [ %19, %2 ]
%25 = load x86_fp80, x86_fp80* %6
%26 = load x86_fp80, x86_fp80* %5
%27 = call x86_fp80 @z_partition(x86_fp80 %26, x86_fp80 %25, x86_fp80 %24)
%28 = load x86_fp80, x86_fp80* %5
%29 = load x86_fp80, x86_fp80* %6
%30 = fadd x86_fp80 %19, %24
%31 = call x86_fp80 @z_partition(x86_fp80 %28, x86_fp80 %29, x86_fp80 %30)
%32 = fsub x86_fp80 %31, %27
%33 = call double @pow(x86_fp80 %24, i32 2)
%34 = fmul double %33, 0x3B30B0E6AF70CC22
%35 = fpext double %34 to x86_fp80
%36 = fmul x86_fp80 %32, %35
%37 = fmul x86_fp80 %19, %27
%38 = fdiv x86_fp80 %36, %37
%39 = call double @pow(x86_fp80 %24, i32 2)
%40 = fmul double %39, 0x3B30B0E6AF70CC22
%41 = fpext double %40 to x86_fp80
%42 = fmul x86_fp80 %32, %41
%43 = fdiv x86_fp80 %42, %37
%44 = fdiv x86_fp80 %38, %24
%45 = call double @log(x86_fp80 %27)
%46 = fmul double %45, 0x3B30B0E6AF70CC22
%47 = fpext double %46 to x86_fp80
%48 = fadd x86_fp80 %44, %47
%49 = fdiv x86_fp80 %43, %19
%50 = call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), x86_fp80 %27, x86_fp80 %38, x86_fp80 %48, x86_fp80 %49)
%51 = fcmp olt x86_fp80 %30, %21
br i1 %51, label %23, label %52
52: ; preds = %23, %2
%53 = call i64 @fwrite(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i64 11, i64 1, i32* %11)
ret i32 0
}