#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 /*<<< orphan*/ blackscholes(int const, int const, float *, float *,
                                float *);
int /*<<< orphan*/ blackscholes_sc(int const, int const, float *, float *,
                                   float *);
int /*<<< orphan*/ exit(int);
float fabsf(float);
scalar_t__ posix_memalign(void **, int, int);
int /*<<< orphan*/ printf(char *);
int main(int argc, char *argv[]) {
  const int width = 40;
  const int height = 40;
  float *input, *output1, *output2;
  float *input_sc, *output1_sc, *output2_sc;
  if (posix_memalign((void **)&input, 64, 4 * width * height * sizeof(float)) !=
      0) {
    exit(1);
  }
  if (posix_memalign((void **)&output1, 64,
                     4 * width * height * sizeof(float)) != 0) {
    exit(1);
  }
  if (posix_memalign((void **)&output2, 64,
                     4 * width * height * sizeof(float)) != 0) {
    exit(1);
  }
  if (posix_memalign((void **)&input_sc, 64,
                     4 * width * height * sizeof(float)) != 0) {
    exit(1);
  }
  if (posix_memalign((void **)&output1_sc, 64,
                     4 * width * height * sizeof(float)) != 0) {
    exit(1);
  }
  if (posix_memalign((void **)&output2_sc, 64,
                     4 * width * height * sizeof(float)) != 0) {
    exit(1);
  }
  int i;
  for (i = 0; i < (width * height * 4); i++) {
    input[i] = (i * 0.9f) / (i + 1);
    input_sc[i] = (i * 0.9f) / (i + 1);
  }
  blackscholes(width, height, input, output1, output2);
  blackscholes_sc(width, height, input_sc, output1_sc, output2_sc);
  for (i = 0; i < (width * height * 4); i++) {
    if (fabsf(input_sc[i] - input[i]) > 0.01f) {
      printf("ERROR\n");
      exit(1);
    }
    if (fabsf(output1_sc[i] - output1[i]) > 0.01f) {
      printf("ERROR\n");
      exit(1);
    }
    if (fabsf(output2_sc[i] - output2[i]) > 0.01f) {
      printf("ERROR\n");
      exit(1);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x28,-0x14(%rbp)
movl   $0x28,-0x18(%rbp)
lea    -0x20(%rbp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
cmp    $0x0,%rax
je     119b <main+0x4b>
mov    $0x1,%edi
call   1060 <exit@plt>
lea    -0x28(%rbp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
cmp    $0x0,%rax
je     11c2 <main+0x72>
mov    $0x1,%edi
call   1060 <exit@plt>
lea    -0x30(%rbp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
cmp    $0x0,%rax
je     11e9 <main+0x99>
mov    $0x1,%edi
call   1060 <exit@plt>
lea    -0x38(%rbp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
cmp    $0x0,%rax
je     1210 <main+0xc0>
mov    $0x1,%edi
call   1060 <exit@plt>
lea    -0x40(%rbp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
cmp    $0x0,%rax
je     1237 <main+0xe7>
mov    $0x1,%edi
call   1060 <exit@plt>
lea    -0x48(%rbp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
cmp    $0x0,%rax
je     125e <main+0x10e>
mov    $0x1,%edi
call   1060 <exit@plt>
movl   $0x0,-0x4c(%rbp)
cmpl   $0x1900,-0x4c(%rbp)
jge    12d8 <main+0x188>
cvtsi2ssl -0x4c(%rbp),%xmm0
movss  0xd85(%rip),%xmm1
mulss  %xmm1,%xmm0
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm1
divss  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
cvtsi2ssl -0x4c(%rbp),%xmm0
movss  0xd59(%rip),%xmm1
mulss  %xmm1,%xmm0
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm1
divss  %xmm1,%xmm0
mov    -0x38(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1265 <main+0x115>
mov    -0x20(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    -0x30(%rbp),%r8
mov    $0x28,%esi
mov    %esi,%edi
call   1030 <blackscholes@plt>
mov    -0x38(%rbp),%rdx
mov    -0x40(%rbp),%rcx
mov    -0x48(%rbp),%r8
mov    $0x28,%esi
mov    %esi,%edi
call   1040 <blackscholes_sc@plt>
movl   $0x0,-0x4c(%rbp)
cmpl   $0x1900,-0x4c(%rbp)
jge    1413 <main+0x2c3>
mov    -0x38(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x4c(%rbp),%rcx
subss  (%rax,%rcx,4),%xmm0
movaps 0xcd3(%rip),%xmm1
pand   %xmm1,%xmm0
movss  0xcb7(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    1368 <main+0x218>
lea    0xcc7(%rip),%rdi
call   1050 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    -0x40(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x4c(%rbp),%rcx
subss  (%rax,%rcx,4),%xmm0
movaps 0xc87(%rip),%xmm1
pand   %xmm1,%xmm0
movss  0xc6b(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    13b4 <main+0x264>
lea    0xc7b(%rip),%rdi
call   1050 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    -0x48(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
subss  (%rax,%rcx,4),%xmm0
movaps 0xc3b(%rip),%xmm1
pand   %xmm1,%xmm0
movss  0xc1f(%rip),%xmm1
ucomiss %xmm1,%xmm0
jbe    1400 <main+0x2b0>
lea    0xc2f(%rip),%rdi
call   1050 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
jmp    1405 <main+0x2b5>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    130f <main+0x1bf>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x38,%rsp
lea    0x30(%rsp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
test   %rax,%rax
jne    13b7 <main+0x267>
lea    0x28(%rsp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
test   %rax,%rax
jne    13b7 <main+0x267>
lea    0x20(%rsp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
test   %rax,%rax
jne    13b7 <main+0x267>
lea    0x8(%rsp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
test   %rax,%rax
jne    13b7 <main+0x267>
lea    0x18(%rsp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
test   %rax,%rax
jne    13b7 <main+0x267>
lea    0x10(%rsp),%rdi
mov    $0x40,%esi
mov    $0x6400,%edx
call   1070 <posix_memalign@plt>
test   %rax,%rax
jne    13b7 <main+0x267>
mov    0x30(%rsp),%rdx
mov    0x8(%rsp),%rax
lea    0x6400(%rax),%rcx
cmp    %rcx,%rdx
jae    1280 <main+0x130>
lea    0x6400(%rdx),%rcx
cmp    %rcx,%rax
jae    1280 <main+0x130>
xor    %ecx,%ecx
movss  0xe42(%rip),%xmm0
xchg   %ax,%ax
xorps  %xmm1,%xmm1
cvtsi2ss %ecx,%xmm1
mulss  %xmm0,%xmm1
lea    0x1(%rcx),%esi
xorps  %xmm2,%xmm2
cvtsi2ss %esi,%xmm2
divss  %xmm2,%xmm1
movss  %xmm1,(%rdx,%rcx,4)
movss  %xmm1,(%rax,%rcx,4)
mulss  %xmm0,%xmm2
lea    0x2(%rcx),%rsi
xorps  %xmm1,%xmm1
cvtsi2ss %esi,%xmm1
divss  %xmm1,%xmm2
movss  %xmm2,0x4(%rdx,%rcx,4)
movss  %xmm2,0x4(%rax,%rcx,4)
mov    %rsi,%rcx
cmp    $0x1900,%rsi
jne    1230 <main+0xe0>
jmp    12f9 <main+0x1a9>
movaps 0xd79(%rip),%xmm0
movaps 0xd82(%rip),%xmm3
movaps 0xd8b(%rip),%xmm2
xor    %ecx,%ecx
movaps 0xd91(%rip),%xmm8
pcmpeqd %xmm4,%xmm4
movdqa 0xd95(%rip),%xmm5
movdqa 0xd9d(%rip),%xmm6
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cvtdq2ps %xmm2,%xmm7
mulps  %xmm8,%xmm7
movaps %xmm3,%xmm1
shufps $0x88,%xmm0,%xmm1
psubd  %xmm4,%xmm1
cvtdq2ps %xmm1,%xmm1
divps  %xmm1,%xmm7
movups %xmm7,(%rdx,%rcx,4)
movups %xmm7,(%rax,%rcx,4)
add    $0x4,%rcx
paddq  %xmm5,%xmm3
paddq  %xmm5,%xmm0
paddd  %xmm6,%xmm2
cmp    $0x1900,%rcx
jne    12c0 <main+0x170>
mov    0x28(%rsp),%rcx
mov    0x20(%rsp),%r8
mov    $0x28,%edi
mov    $0x28,%esi
call   1030 <blackscholes@plt>
mov    0x8(%rsp),%rdx
mov    0x18(%rsp),%rcx
mov    0x10(%rsp),%r8
mov    $0x28,%edi
mov    $0x28,%esi
call   1050 <blackscholes_sc@plt>
mov    0x8(%rsp),%r8
mov    0x30(%rsp),%r9
mov    0x18(%rsp),%rdx
mov    0x28(%rsp),%rsi
mov    0x10(%rsp),%rdi
xor    %eax,%eax
mov    0x20(%rsp),%rcx
movaps 0xd09(%rip),%xmm0
movss  0xd15(%rip),%xmm1
nop
movss  (%r8,%rax,1),%xmm2
subss  (%r9,%rax,1),%xmm2
andps  %xmm0,%xmm2
ucomiss %xmm1,%xmm2
ja     13ab <main+0x25b>
movss  (%rdx,%rax,1),%xmm2
subss  (%rsi,%rax,1),%xmm2
andps  %xmm0,%xmm2
ucomiss %xmm1,%xmm2
ja     13ab <main+0x25b>
movss  (%rdi,%rax,1),%xmm2
subss  (%rcx,%rax,1),%xmm2
andps  %xmm0,%xmm2
ucomiss %xmm1,%xmm2
ja     13ab <main+0x25b>
add    $0x4,%rax
cmp    $0x6400,%rax
jne    1360 <main+0x210>
xor    %eax,%eax
add    $0x38,%rsp
ret
lea    0xcc6(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@.str = [7 x i8] c"ERROR\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca float*
%9 = alloca float*
%10 = alloca float*
%11 = alloca float*
%12 = alloca float*
%13 = alloca float*
%14 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 40, i32* %6
store i32 40, i32* %7
%15 = bitcast float** %8 to i8**
%16 = call i64 @posix_memalign(i8** %15, i32 64, i32 25600)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %2
%19 = call i32 @exit(i32 1)
unreachable
20: ; preds = %2
%21 = bitcast float** %9 to i8**
%22 = call i64 @posix_memalign(i8** %21, i32 64, i32 25600)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @exit(i32 1)
unreachable
26: ; preds = %20
%27 = bitcast float** %10 to i8**
%28 = call i64 @posix_memalign(i8** %27, i32 64, i32 25600)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @exit(i32 1)
unreachable
32: ; preds = %26
%33 = bitcast float** %11 to i8**
%34 = call i64 @posix_memalign(i8** %33, i32 64, i32 25600)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @exit(i32 1)
unreachable
38: ; preds = %32
%39 = bitcast float** %12 to i8**
%40 = call i64 @posix_memalign(i8** %39, i32 64, i32 25600)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @exit(i32 1)
unreachable
44: ; preds = %38
%45 = bitcast float** %13 to i8**
%46 = call i64 @posix_memalign(i8** %45, i32 64, i32 25600)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @exit(i32 1)
unreachable
50: ; preds = %44
store i32 0, i32* %14
br label %51
51: ; preds = %77, %50
%52 = load i32, i32* %14
%53 = icmp slt i32 %52, 6400
br i1 %53, label %54, label %80
54: ; preds = %51
%55 = load i32, i32* %14
%56 = sitofp i32 %55 to float
%57 = fmul float %56, 0x3FECCCCCC0000000
%58 = load i32, i32* %14
%59 = add nsw i32 %58, 1
%60 = sitofp i32 %59 to float
%61 = fdiv float %57, %60
%62 = load float*, float** %8
%63 = load i32, i32* %14
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds float, float* %62, i64 %64
store float %61, float* %65
%66 = load i32, i32* %14
%67 = sitofp i32 %66 to float
%68 = fmul float %67, 0x3FECCCCCC0000000
%69 = load i32, i32* %14
%70 = add nsw i32 %69, 1
%71 = sitofp i32 %70 to float
%72 = fdiv float %68, %71
%73 = load float*, float** %11
%74 = load i32, i32* %14
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds float, float* %73, i64 %75
store float %72, float* %76
br label %77
77: ; preds = %54
%78 = load i32, i32* %14
%79 = add nsw i32 %78, 1
store i32 %79, i32* %14
br label %51
80: ; preds = %51
%81 = load float*, float** %8
%82 = load float*, float** %9
%83 = load float*, float** %10
%84 = call i32 @blackscholes(i32 40, i32 40, float* %81, float* %82, float* %83)
%85 = load float*, float** %11
%86 = load float*, float** %12
%87 = load float*, float** %13
%88 = call i32 @blackscholes_sc(i32 40, i32 40, float* %85, float* %86, float* %87)
store i32 0, i32* %14
br label %89
89: ; preds = %144, %80
%90 = load i32, i32* %14
%91 = icmp slt i32 %90, 6400
br i1 %91, label %92, label %147
92: ; preds = %89
%93 = load float*, float** %11
%94 = load i32, i32* %14
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, float* %93, i64 %95
%97 = load float, float* %96
%98 = load float*, float** %8
%99 = load i32, i32* %14
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds float, float* %98, i64 %100
%102 = load float, float* %101
%103 = fsub float %97, %102
%104 = call float @llvm.fabs.f32(float %103)
%105 = fcmp ogt float %104, 0x3F847AE140000000
br i1 %105, label %106, label %109
106: ; preds = %92
%107 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%108 = call i32 @exit(i32 1)
unreachable
109: ; preds = %92
%110 = load float*, float** %12
%111 = load i32, i32* %14
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds float, float* %110, i64 %112
%114 = load float, float* %113
%115 = load float*, float** %9
%116 = load i32, i32* %14
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds float, float* %115, i64 %117
%119 = load float, float* %118
%120 = fsub float %114, %119
%121 = call float @llvm.fabs.f32(float %120)
%122 = fcmp ogt float %121, 0x3F847AE140000000
br i1 %122, label %123, label %126
123: ; preds = %109
%124 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%125 = call i32 @exit(i32 1)
unreachable
126: ; preds = %109
%127 = load float*, float** %13
%128 = load i32, i32* %14
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds float, float* %127, i64 %129
%131 = load float, float* %130
%132 = load float*, float** %10
%133 = load i32, i32* %14
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds float, float* %132, i64 %134
%136 = load float, float* %135
%137 = fsub float %131, %136
%138 = call float @llvm.fabs.f32(float %137)
%139 = fcmp ogt float %138, 0x3F847AE140000000
br i1 %139, label %140, label %143
140: ; preds = %126
%141 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%142 = call i32 @exit(i32 1)
unreachable
143: ; preds = %126
br label %144
144: ; preds = %143
%145 = load i32, i32* %14
%146 = add nsw i32 %145, 1
store i32 %146, i32* %14
br label %89
147: ; preds = %89
ret i32 0
}

LLVM IR (-O2):
@str.2 = [6 x i8] c"ERROR\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca float*
%4 = alloca float*
%5 = alloca float*
%6 = alloca float*
%7 = alloca float*
%8 = alloca float*
%9 = bitcast float** %3 to i8*
%10 = bitcast float** %4 to i8*
%11 = bitcast float** %5 to i8*
%12 = bitcast float** %6 to i8*
%13 = bitcast float** %7 to i8*
%14 = bitcast float** %8 to i8*
%15 = bitcast float** %3 to i8**
%16 = call i64 @posix_memalign(i8** %15, i32 64, i32 25600)
%17 = icmp eq i64 %16, 0
br i1 %17, label %20, label %18
18: ; preds = %2
%19 = call i32 @exit(i32 1)
unreachable
20: ; preds = %2
%21 = bitcast float** %4 to i8**
%22 = call i64 @posix_memalign(i8** %21, i32 64, i32 25600)
%23 = icmp eq i64 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %20
%25 = call i32 @exit(i32 1)
unreachable
26: ; preds = %20
%27 = bitcast float** %5 to i8**
%28 = call i64 @posix_memalign(i8** %27, i32 64, i32 25600)
%29 = icmp eq i64 %28, 0
br i1 %29, label %32, label %30
30: ; preds = %26
%31 = call i32 @exit(i32 1)
unreachable
32: ; preds = %26
%33 = bitcast float** %6 to i8**
%34 = call i64 @posix_memalign(i8** %33, i32 64, i32 25600)
%35 = icmp eq i64 %34, 0
br i1 %35, label %38, label %36
36: ; preds = %32
%37 = call i32 @exit(i32 1)
unreachable
38: ; preds = %32
%39 = bitcast float** %7 to i8**
%40 = call i64 @posix_memalign(i8** %39, i32 64, i32 25600)
%41 = icmp eq i64 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %38
%43 = call i32 @exit(i32 1)
unreachable
44: ; preds = %38
%45 = bitcast float** %8 to i8**
%46 = call i64 @posix_memalign(i8** %45, i32 64, i32 25600)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %74
48: ; preds = %44
%49 = load float*, float** %3
%50 = load float*, float** %6
%51 = getelementptr float, float* %49, i64 6400
%52 = getelementptr float, float* %50, i64 6400
%53 = icmp ult float* %49, %52
%54 = icmp ult float* %50, %51
%55 = and i1 %53, %54
br i1 %55, label %76, label %56
56: ; preds = %48, %56
%57 = phi i64 [ %70, %56 ], [ 0, %48 ]
%58 = phi <4 x i64> [ %71, %56 ], [ <i64 0, i64 1, i64 2, i64 3>, %48 ]
%59 = phi <4 x i32> [ %72, %56 ], [ <i32 0, i32 1, i32 2, i32 3>, %48 ]
%60 = sitofp <4 x i32> %59 to <4 x float>
%61 = fmul <4 x float> %60, <float 0x3FECCCCCC0000000, float 0x3FECCCCCC0000000, float 0x3FECCCCCC0000000, float 0x3FECCCCCC0000000>
%62 = trunc <4 x i64> %58 to <4 x i32>
%63 = add <4 x i32> %62, <i32 1, i32 1, i32 1, i32 1>
%64 = sitofp <4 x i32> %63 to <4 x float>
%65 = fdiv <4 x float> %61, %64
%66 = getelementptr inbounds float, float* %49, i64 %57
%67 = bitcast float* %66 to <4 x float>*
store <4 x float> %65, <4 x float>* %67
%68 = getelementptr inbounds float, float* %50, i64 %57
%69 = bitcast float* %68 to <4 x float>*
store <4 x float> %65, <4 x float>* %69
%70 = add nuw i64 %57, 4
%71 = add <4 x i64> %58, <i64 4, i64 4, i64 4, i64 4>
%72 = add <4 x i32> %59, <i32 4, i32 4, i32 4, i32 4>
%73 = icmp eq i64 %70, 6400
br i1 %73, label %97, label %56
74: ; preds = %44
%75 = call i32 @exit(i32 1)
unreachable
76: ; preds = %48, %76
%77 = phi i64 [ %90, %76 ], [ 0, %48 ]
%78 = trunc i64 %77 to i32
%79 = sitofp i32 %78 to float
%80 = fmul float %79, 0x3FECCCCCC0000000
%81 = or i64 %77, 1
%82 = trunc i64 %81 to i32
%83 = sitofp i32 %82 to float
%84 = fdiv float %80, %83
%85 = getelementptr inbounds float, float* %49, i64 %77
store float %84, float* %85
%86 = getelementptr inbounds float, float* %50, i64 %77
store float %84, float* %86
%87 = trunc i64 %81 to i32
%88 = sitofp i32 %87 to float
%89 = fmul float %88, 0x3FECCCCCC0000000
%90 = add nuw nsw i64 %77, 2
%91 = trunc i64 %90 to i32
%92 = sitofp i32 %91 to float
%93 = fdiv float %89, %92
%94 = getelementptr inbounds float, float* %49, i64 %81
store float %93, float* %94
%95 = getelementptr inbounds float, float* %50, i64 %81
store float %93, float* %95
%96 = icmp eq i64 %90, 6400
br i1 %96, label %97, label %76
97: ; preds = %56, %76
%98 = load float*, float** %4
%99 = load float*, float** %5
%100 = call i32 @blackscholes(i32 40, i32 40, float* %49, float* %98, float* %99)
%101 = load float*, float** %6
%102 = load float*, float** %7
%103 = load float*, float** %8
%104 = call i32 @blackscholes_sc(i32 40, i32 40, float* %101, float* %102, float* %103)
%105 = load float*, float** %6
%106 = load float*, float** %3
%107 = load float*, float** %7
%108 = load float*, float** %4
%109 = load float*, float** %8
%110 = load float*, float** %5
br label %114
111: ; preds = %137
%112 = add nuw nsw i64 %115, 1
%113 = icmp eq i64 %112, 6400
br i1 %113, label %148, label %114
114: ; preds = %97, %111
%115 = phi i64 [ 0, %97 ], [ %112, %111 ]
%116 = getelementptr inbounds float, float* %105, i64 %115
%117 = load float, float* %116
%118 = getelementptr inbounds float, float* %106, i64 %115
%119 = load float, float* %118
%120 = fsub float %117, %119
%121 = call float @llvm.fabs.f32(float %120)
%122 = fcmp ogt float %121, 0x3F847AE140000000
br i1 %122, label %123, label %126
123: ; preds = %114
%124 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.2, i64 0, i64 0))
%125 = call i32 @exit(i32 1)
unreachable
126: ; preds = %114
%127 = getelementptr inbounds float, float* %107, i64 %115
%128 = load float, float* %127
%129 = getelementptr inbounds float, float* %108, i64 %115
%130 = load float, float* %129
%131 = fsub float %128, %130
%132 = call float @llvm.fabs.f32(float %131)
%133 = fcmp ogt float %132, 0x3F847AE140000000
br i1 %133, label %134, label %137
134: ; preds = %126
%135 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.2, i64 0, i64 0))
%136 = call i32 @exit(i32 1)
unreachable
137: ; preds = %126
%138 = getelementptr inbounds float, float* %109, i64 %115
%139 = load float, float* %138
%140 = getelementptr inbounds float, float* %110, i64 %115
%141 = load float, float* %140
%142 = fsub float %139, %141
%143 = call float @llvm.fabs.f32(float %142)
%144 = fcmp ogt float %143, 0x3F847AE140000000
br i1 %144, label %145, label %111
145: ; preds = %137
%146 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.2, i64 0, i64 0))
%147 = call i32 @exit(i32 1)
unreachable
148: ; preds = %111
ret i32 0
}