; LLVM IR from mkmarek/forex.analytics :: lib/ta-lib/src/ta_func (ta_HT_SINE)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.TA_LibcPriv = type { i32, [3 x %struct.TA_ModuleControl], i32, i32, ptr, ptr, i32, [24 x i32], [11 x %struct.TA_CandleSetting] }
%struct.TA_ModuleControl = type { i32, ptr, ptr }
%struct.TA_CandleSetting = type { i32, i32, i32, double }

@TA_Globals = external global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local i32 @TA_HT_SINE(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  %33 = alloca [3 x double], align 16
  %34 = alloca [3 x double], align 16
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca [3 x double], align 16
  %41 = alloca [3 x double], align 16
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca [3 x double], align 16
  %48 = alloca [3 x double], align 16
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = alloca double, align 8
  %52 = alloca double, align 8
  %53 = alloca double, align 8
  %54 = alloca [3 x double], align 16
  %55 = alloca [3 x double], align 16
  %56 = alloca double, align 8
  %57 = alloca double, align 8
  %58 = alloca double, align 8
  %59 = alloca double, align 8
  %60 = alloca double, align 8
  %61 = alloca double, align 8
  %62 = alloca double, align 8
  %63 = alloca double, align 8
  %64 = alloca double, align 8
  %65 = alloca double, align 8
  %66 = alloca double, align 8
  %67 = alloca double, align 8
  %68 = alloca double, align 8
  %69 = alloca double, align 8
  %70 = alloca double, align 8
  %71 = alloca double, align 8
  %72 = alloca double, align 8
  %73 = alloca double, align 8
  %74 = alloca double, align 8
  %75 = alloca double, align 8
  %76 = alloca [50 x double], align 16
  %77 = alloca i32, align 4
  %78 = alloca ptr, align 8
  %79 = alloca i32, align 4
  %80 = alloca i32, align 4
  %81 = alloca i32, align 4
  %82 = alloca double, align 8
  %83 = alloca double, align 8
  %84 = alloca double, align 8
  %85 = alloca double, align 8
  %86 = alloca i32, align 4
  store i32 %0, ptr %9, align 4, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !9
  store ptr %3, ptr %12, align 8, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !9
  store ptr %6, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  store double 0x3FB8A0902DE00D1B, ptr %29, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  store double 5.769000e-01, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #4
  call void @llvm.lifetime.start.p0(i64 400, ptr %76) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #4
  %87 = load i32, ptr %9, align 4, !tbaa !5
  %88 = icmp slt i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %7
  store i32 12, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %722

90:                                               ; preds = %7
  %91 = load i32, ptr %10, align 4, !tbaa !5
  %92 = icmp slt i32 %91, 0
  br i1 %92, label %97, label %93

93:                                               ; preds = %90
  %94 = load i32, ptr %10, align 4, !tbaa !5
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %97, label %98

97:                                               ; preds = %93, %90
  store i32 13, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %722

98:                                               ; preds = %93
  %99 = load ptr, ptr %11, align 8, !tbaa !9
  %100 = icmp ne ptr %99, null
  br i1 %100, label %102, label %101

101:                                              ; preds = %98
  store i32 2, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %722

102:                                              ; preds = %98
  %103 = load ptr, ptr %14, align 8, !tbaa !9
  %104 = icmp ne ptr %103, null
  br i1 %104, label %106, label %105

105:                                              ; preds = %102
  store i32 2, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %722

106:                                              ; preds = %102
  %107 = load ptr, ptr %15, align 8, !tbaa !9
  %108 = icmp ne ptr %107, null
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  store i32 2, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %722

110:                                              ; preds = %106
  %111 = getelementptr inbounds [50 x double], ptr %76, i64 0, i64 0
  store ptr %111, ptr %78, align 8, !tbaa !9
  store i32 49, ptr %79, align 4, !tbaa !5
  store i32 0, ptr %77, align 4, !tbaa !5
  %112 = call double @atan(double noundef 1.000000e+00) #4
  store double %112, ptr %20, align 8, !tbaa !11
  %113 = load double, ptr %20, align 8, !tbaa !11
  %114 = fdiv double 4.500000e+01, %113
  store double %114, ptr %71, align 8, !tbaa !11
  %115 = load double, ptr %71, align 8, !tbaa !11
  %116 = fdiv double 1.000000e+00, %115
  store double %116, ptr %72, align 8, !tbaa !11
  %117 = load double, ptr %20, align 8, !tbaa !11
  %118 = fmul double %117, 8.000000e+00
  store double %118, ptr %73, align 8, !tbaa !11
  %119 = load ptr, ptr @TA_Globals, align 8, !tbaa !9
  %120 = getelementptr inbounds %struct.TA_LibcPriv, ptr %119, i32 0, i32 7
  %121 = getelementptr inbounds [24 x i32], ptr %120, i64 0, i64 9
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = add i32 63, %122
  store i32 %123, ptr %18, align 4, !tbaa !5
  %124 = load i32, ptr %9, align 4, !tbaa !5
  %125 = load i32, ptr %18, align 4, !tbaa !5
  %126 = icmp slt i32 %124, %125
  br i1 %126, label %127, label %129

127:                                              ; preds = %110
  %128 = load i32, ptr %18, align 4, !tbaa !5
  store i32 %128, ptr %9, align 4, !tbaa !5
  br label %129

129:                                              ; preds = %127, %110
  %130 = load i32, ptr %9, align 4, !tbaa !5
  %131 = load i32, ptr %10, align 4, !tbaa !5
  %132 = icmp sgt i32 %130, %131
  br i1 %132, label %133, label %136

133:                                              ; preds = %129
  %134 = load ptr, ptr %12, align 8, !tbaa !9
  store i32 0, ptr %134, align 4, !tbaa !5
  %135 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %135, align 4, !tbaa !5
  store i32 0, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %722

136:                                              ; preds = %129
  %137 = load i32, ptr %9, align 4, !tbaa !5
  %138 = load ptr, ptr %12, align 8, !tbaa !9
  store i32 %137, ptr %138, align 4, !tbaa !5
  %139 = load i32, ptr %9, align 4, !tbaa !5
  %140 = load i32, ptr %18, align 4, !tbaa !5
  %141 = sub nsw i32 %139, %140
  store i32 %141, ptr %24, align 4, !tbaa !5
  %142 = load i32, ptr %24, align 4, !tbaa !5
  store i32 %142, ptr %19, align 4, !tbaa !5
  %143 = load ptr, ptr %11, align 8, !tbaa !9
  %144 = load i32, ptr %19, align 4, !tbaa !5
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %19, align 4, !tbaa !5
  %146 = sext i32 %144 to i64
  %147 = getelementptr inbounds double, ptr %143, i64 %146
  %148 = load double, ptr %147, align 8, !tbaa !11
  store double %148, ptr %20, align 8, !tbaa !11
  %149 = load double, ptr %20, align 8, !tbaa !11
  store double %149, ptr %26, align 8, !tbaa !11
  %150 = load double, ptr %20, align 8, !tbaa !11
  store double %150, ptr %25, align 8, !tbaa !11
  %151 = load ptr, ptr %11, align 8, !tbaa !9
  %152 = load i32, ptr %19, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %19, align 4, !tbaa !5
  %154 = sext i32 %152 to i64
  %155 = getelementptr inbounds double, ptr %151, i64 %154
  %156 = load double, ptr %155, align 8, !tbaa !11
  store double %156, ptr %20, align 8, !tbaa !11
  %157 = load double, ptr %20, align 8, !tbaa !11
  %158 = load double, ptr %26, align 8, !tbaa !11
  %159 = fadd double %158, %157
  store double %159, ptr %26, align 8, !tbaa !11
  %160 = load double, ptr %20, align 8, !tbaa !11
  %161 = load double, ptr %25, align 8, !tbaa !11
  %162 = call double @llvm.fmuladd.f64(double %160, double 2.000000e+00, double %161)
  store double %162, ptr %25, align 8, !tbaa !11
  %163 = load ptr, ptr %11, align 8, !tbaa !9
  %164 = load i32, ptr %19, align 4, !tbaa !5
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %19, align 4, !tbaa !5
  %166 = sext i32 %164 to i64
  %167 = getelementptr inbounds double, ptr %163, i64 %166
  %168 = load double, ptr %167, align 8, !tbaa !11
  store double %168, ptr %20, align 8, !tbaa !11
  %169 = load double, ptr %20, align 8, !tbaa !11
  %170 = load double, ptr %26, align 8, !tbaa !11
  %171 = fadd double %170, %169
  store double %171, ptr %26, align 8, !tbaa !11
  %172 = load double, ptr %20, align 8, !tbaa !11
  %173 = load double, ptr %25, align 8, !tbaa !11
  %174 = call double @llvm.fmuladd.f64(double %172, double 3.000000e+00, double %173)
  store double %174, ptr %25, align 8, !tbaa !11
  store double 0.000000e+00, ptr %27, align 8, !tbaa !11
  store i32 34, ptr %17, align 4, !tbaa !5
  br label %175

175:                                              ; preds = %202, %136
  %176 = load ptr, ptr %11, align 8, !tbaa !9
  %177 = load i32, ptr %19, align 4, !tbaa !5
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %19, align 4, !tbaa !5
  %179 = sext i32 %177 to i64
  %180 = getelementptr inbounds double, ptr %176, i64 %179
  %181 = load double, ptr %180, align 8, !tbaa !11
  store double %181, ptr %20, align 8, !tbaa !11
  %182 = load double, ptr %20, align 8, !tbaa !11
  %183 = load double, ptr %26, align 8, !tbaa !11
  %184 = fadd double %183, %182
  store double %184, ptr %26, align 8, !tbaa !11
  %185 = load double, ptr %27, align 8, !tbaa !11
  %186 = load double, ptr %26, align 8, !tbaa !11
  %187 = fsub double %186, %185
  store double %187, ptr %26, align 8, !tbaa !11
  %188 = load double, ptr %20, align 8, !tbaa !11
  %189 = load double, ptr %25, align 8, !tbaa !11
  %190 = call double @llvm.fmuladd.f64(double %188, double 4.000000e+00, double %189)
  store double %190, ptr %25, align 8, !tbaa !11
  %191 = load ptr, ptr %11, align 8, !tbaa !9
  %192 = load i32, ptr %24, align 4, !tbaa !5
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %24, align 4, !tbaa !5
  %194 = sext i32 %192 to i64
  %195 = getelementptr inbounds double, ptr %191, i64 %194
  %196 = load double, ptr %195, align 8, !tbaa !11
  store double %196, ptr %27, align 8, !tbaa !11
  %197 = load double, ptr %25, align 8, !tbaa !11
  %198 = fmul double %197, 1.000000e-01
  store double %198, ptr %28, align 8, !tbaa !11
  %199 = load double, ptr %26, align 8, !tbaa !11
  %200 = load double, ptr %25, align 8, !tbaa !11
  %201 = fsub double %200, %199
  store double %201, ptr %25, align 8, !tbaa !11
  br label %202

202:                                              ; preds = %175
  %203 = load i32, ptr %17, align 4, !tbaa !5
  %204 = add nsw i32 %203, -1
  store i32 %204, ptr %17, align 4, !tbaa !5
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %175, label %206, !llvm.loop !13

206:                                              ; preds = %202
  store i32 0, ptr %32, align 4, !tbaa !5
  %207 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
  store double 0.000000e+00, ptr %207, align 16, !tbaa !11
  %208 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 1
  store double 0.000000e+00, ptr %208, align 8, !tbaa !11
  %209 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 2
  store double 0.000000e+00, ptr %209, align 16, !tbaa !11
  %210 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
  store double 0.000000e+00, ptr %210, align 16, !tbaa !11
  %211 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 1
  store double 0.000000e+00, ptr %211, align 8, !tbaa !11
  %212 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 2
  store double 0.000000e+00, ptr %212, align 16, !tbaa !11
  store double 0.000000e+00, ptr %35, align 8, !tbaa !11
  store double 0.000000e+00, ptr %36, align 8, !tbaa !11
  store double 0.000000e+00, ptr %37, align 8, !tbaa !11
  store double 0.000000e+00, ptr %38, align 8, !tbaa !11
  store double 0.000000e+00, ptr %39, align 8, !tbaa !11
  %213 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
  store double 0.000000e+00, ptr %213, align 16, !tbaa !11
  %214 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 1
  store double 0.000000e+00, ptr %214, align 8, !tbaa !11
  %215 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 2
  store double 0.000000e+00, ptr %215, align 16, !tbaa !11
  %216 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
  store double 0.000000e+00, ptr %216, align 16, !tbaa !11
  %217 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 1
  store double 0.000000e+00, ptr %217, align 8, !tbaa !11
  %218 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 2
  store double 0.000000e+00, ptr %218, align 16, !tbaa !11
  store double 0.000000e+00, ptr %42, align 8, !tbaa !11
  store double 0.000000e+00, ptr %43, align 8, !tbaa !11
  store double 0.000000e+00, ptr %44, align 8, !tbaa !11
  store double 0.000000e+00, ptr %45, align 8, !tbaa !11
  store double 0.000000e+00, ptr %46, align 8, !tbaa !11
  %219 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 0
  store double 0.000000e+00, ptr %219, align 16, !tbaa !11
  %220 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 1
  store double 0.000000e+00, ptr %220, align 8, !tbaa !11
  %221 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 2
  store double 0.000000e+00, ptr %221, align 16, !tbaa !11
  %222 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 0
  store double 0.000000e+00, ptr %222, align 16, !tbaa !11
  %223 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 1
  store double 0.000000e+00, ptr %223, align 8, !tbaa !11
  %224 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 2
  store double 0.000000e+00, ptr %224, align 16, !tbaa !11
  store double 0.000000e+00, ptr %49, align 8, !tbaa !11
  store double 0.000000e+00, ptr %50, align 8, !tbaa !11
  store double 0.000000e+00, ptr %51, align 8, !tbaa !11
  store double 0.000000e+00, ptr %52, align 8, !tbaa !11
  store double 0.000000e+00, ptr %53, align 8, !tbaa !11
  %225 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 0
  store double 0.000000e+00, ptr %225, align 16, !tbaa !11
  %226 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 1
  store double 0.000000e+00, ptr %226, align 8, !tbaa !11
  %227 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 2
  store double 0.000000e+00, ptr %227, align 16, !tbaa !11
  %228 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 0
  store double 0.000000e+00, ptr %228, align 16, !tbaa !11
  %229 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 1
  store double 0.000000e+00, ptr %229, align 8, !tbaa !11
  %230 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 2
  store double 0.000000e+00, ptr %230, align 16, !tbaa !11
  store double 0.000000e+00, ptr %56, align 8, !tbaa !11
  store double 0.000000e+00, ptr %57, align 8, !tbaa !11
  store double 0.000000e+00, ptr %58, align 8, !tbaa !11
  store double 0.000000e+00, ptr %59, align 8, !tbaa !11
  store double 0.000000e+00, ptr %60, align 8, !tbaa !11
  store double 0.000000e+00, ptr %23, align 8, !tbaa !11
  store i32 0, ptr %16, align 4, !tbaa !5
  store double 0.000000e+00, ptr %63, align 8, !tbaa !11
  store double 0.000000e+00, ptr %64, align 8, !tbaa !11
  store double 0.000000e+00, ptr %66, align 8, !tbaa !11
  store double 0.000000e+00, ptr %65, align 8, !tbaa !11
  store double 0.000000e+00, ptr %70, align 8, !tbaa !11
  store double 0.000000e+00, ptr %68, align 8, !tbaa !11
  store double 0.000000e+00, ptr %69, align 8, !tbaa !11
  store double 0.000000e+00, ptr %67, align 8, !tbaa !11
  store double 0.000000e+00, ptr %75, align 8, !tbaa !11
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %231

231:                                              ; preds = %239, %206
  %232 = load i32, ptr %17, align 4, !tbaa !5
  %233 = icmp slt i32 %232, 50
  br i1 %233, label %234, label %242

234:                                              ; preds = %231
  %235 = load ptr, ptr %78, align 8, !tbaa !9
  %236 = load i32, ptr %17, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds double, ptr %235, i64 %237
  store double 0.000000e+00, ptr %238, align 8, !tbaa !11
  br label %239

239:                                              ; preds = %234
  %240 = load i32, ptr %17, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %17, align 4, !tbaa !5
  br label %231, !llvm.loop !15

242:                                              ; preds = %231
  store double 0.000000e+00, ptr %82, align 8, !tbaa !11
  br label %243

243:                                              ; preds = %716, %242
  %244 = load i32, ptr %19, align 4, !tbaa !5
  %245 = load i32, ptr %10, align 4, !tbaa !5
  %246 = icmp sle i32 %244, %245
  br i1 %246, label %247, label %719

247:                                              ; preds = %243
  %248 = load double, ptr %23, align 8, !tbaa !11
  %249 = call double @llvm.fmuladd.f64(double 0x3FB3333333333333, double %248, double 5.400000e-01)
  store double %249, ptr %22, align 8, !tbaa !11
  %250 = load ptr, ptr %11, align 8, !tbaa !9
  %251 = load i32, ptr %19, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds double, ptr %250, i64 %252
  %254 = load double, ptr %253, align 8, !tbaa !11
  store double %254, ptr %74, align 8, !tbaa !11
  %255 = load double, ptr %74, align 8, !tbaa !11
  %256 = load double, ptr %26, align 8, !tbaa !11
  %257 = fadd double %256, %255
  store double %257, ptr %26, align 8, !tbaa !11
  %258 = load double, ptr %27, align 8, !tbaa !11
  %259 = load double, ptr %26, align 8, !tbaa !11
  %260 = fsub double %259, %258
  store double %260, ptr %26, align 8, !tbaa !11
  %261 = load double, ptr %74, align 8, !tbaa !11
  %262 = load double, ptr %25, align 8, !tbaa !11
  %263 = call double @llvm.fmuladd.f64(double %261, double 4.000000e+00, double %262)
  store double %263, ptr %25, align 8, !tbaa !11
  %264 = load ptr, ptr %11, align 8, !tbaa !9
  %265 = load i32, ptr %24, align 4, !tbaa !5
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %24, align 4, !tbaa !5
  %267 = sext i32 %265 to i64
  %268 = getelementptr inbounds double, ptr %264, i64 %267
  %269 = load double, ptr %268, align 8, !tbaa !11
  store double %269, ptr %27, align 8, !tbaa !11
  %270 = load double, ptr %25, align 8, !tbaa !11
  %271 = fmul double %270, 1.000000e-01
  store double %271, ptr %28, align 8, !tbaa !11
  %272 = load double, ptr %26, align 8, !tbaa !11
  %273 = load double, ptr %25, align 8, !tbaa !11
  %274 = fsub double %273, %272
  store double %274, ptr %25, align 8, !tbaa !11
  %275 = load double, ptr %28, align 8, !tbaa !11
  %276 = load ptr, ptr %78, align 8, !tbaa !9
  %277 = load i32, ptr %77, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds double, ptr %276, i64 %278
  store double %275, ptr %279, align 8, !tbaa !11
  %280 = load i32, ptr %19, align 4, !tbaa !5
  %281 = srem i32 %280, 2
  %282 = icmp eq i32 %281, 0
  br i1 %282, label %283, label %407

283:                                              ; preds = %247
  %284 = load double, ptr %28, align 8, !tbaa !11
  %285 = fmul double 0x3FB8A0902DE00D1B, %284
  store double %285, ptr %31, align 8, !tbaa !11
  %286 = load i32, ptr %32, align 4, !tbaa !5
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %287
  %289 = load double, ptr %288, align 8, !tbaa !11
  %290 = fneg double %289
  store double %290, ptr %35, align 8, !tbaa !11
  %291 = load double, ptr %31, align 8, !tbaa !11
  %292 = load i32, ptr %32, align 4, !tbaa !5
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %293
  store double %291, ptr %294, align 8, !tbaa !11
  %295 = load double, ptr %31, align 8, !tbaa !11
  %296 = load double, ptr %35, align 8, !tbaa !11
  %297 = fadd double %296, %295
  store double %297, ptr %35, align 8, !tbaa !11
  %298 = load double, ptr %37, align 8, !tbaa !11
  %299 = load double, ptr %35, align 8, !tbaa !11
  %300 = fsub double %299, %298
  store double %300, ptr %35, align 8, !tbaa !11
  %301 = load double, ptr %39, align 8, !tbaa !11
  %302 = fmul double 5.769000e-01, %301
  store double %302, ptr %37, align 8, !tbaa !11
  %303 = load double, ptr %37, align 8, !tbaa !11
  %304 = load double, ptr %35, align 8, !tbaa !11
  %305 = fadd double %304, %303
  store double %305, ptr %35, align 8, !tbaa !11
  %306 = load double, ptr %28, align 8, !tbaa !11
  store double %306, ptr %39, align 8, !tbaa !11
  %307 = load double, ptr %22, align 8, !tbaa !11
  %308 = load double, ptr %35, align 8, !tbaa !11
  %309 = fmul double %308, %307
  store double %309, ptr %35, align 8, !tbaa !11
  %310 = load double, ptr %35, align 8, !tbaa !11
  %311 = fmul double 0x3FB8A0902DE00D1B, %310
  store double %311, ptr %31, align 8, !tbaa !11
  %312 = load i32, ptr %32, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %313
  %315 = load double, ptr %314, align 8, !tbaa !11
  %316 = fneg double %315
  store double %316, ptr %42, align 8, !tbaa !11
  %317 = load double, ptr %31, align 8, !tbaa !11
  %318 = load i32, ptr %32, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %319
  store double %317, ptr %320, align 8, !tbaa !11
  %321 = load double, ptr %31, align 8, !tbaa !11
  %322 = load double, ptr %42, align 8, !tbaa !11
  %323 = fadd double %322, %321
  store double %323, ptr %42, align 8, !tbaa !11
  %324 = load double, ptr %44, align 8, !tbaa !11
  %325 = load double, ptr %42, align 8, !tbaa !11
  %326 = fsub double %325, %324
  store double %326, ptr %42, align 8, !tbaa !11
  %327 = load double, ptr %46, align 8, !tbaa !11
  %328 = fmul double 5.769000e-01, %327
  store double %328, ptr %44, align 8, !tbaa !11
  %329 = load double, ptr %44, align 8, !tbaa !11
  %330 = load double, ptr %42, align 8, !tbaa !11
  %331 = fadd double %330, %329
  store double %331, ptr %42, align 8, !tbaa !11
  %332 = load double, ptr %35, align 8, !tbaa !11
  store double %332, ptr %46, align 8, !tbaa !11
  %333 = load double, ptr %22, align 8, !tbaa !11
  %334 = load double, ptr %42, align 8, !tbaa !11
  %335 = fmul double %334, %333
  store double %335, ptr %42, align 8, !tbaa !11
  %336 = load double, ptr %70, align 8, !tbaa !11
  %337 = fmul double 0x3FB8A0902DE00D1B, %336
  store double %337, ptr %31, align 8, !tbaa !11
  %338 = load i32, ptr %32, align 4, !tbaa !5
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 %339
  %341 = load double, ptr %340, align 8, !tbaa !11
  %342 = fneg double %341
  store double %342, ptr %49, align 8, !tbaa !11
  %343 = load double, ptr %31, align 8, !tbaa !11
  %344 = load i32, ptr %32, align 4, !tbaa !5
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 %345
  store double %343, ptr %346, align 8, !tbaa !11
  %347 = load double, ptr %31, align 8, !tbaa !11
  %348 = load double, ptr %49, align 8, !tbaa !11
  %349 = fadd double %348, %347
  store double %349, ptr %49, align 8, !tbaa !11
  %350 = load double, ptr %51, align 8, !tbaa !11
  %351 = load double, ptr %49, align 8, !tbaa !11
  %352 = fsub double %351, %350
  store double %352, ptr %49, align 8, !tbaa !11
  %353 = load double, ptr %53, align 8, !tbaa !11
  %354 = fmul double 5.769000e-01, %353
  store double %354, ptr %51, align 8, !tbaa !11
  %355 = load double, ptr %51, align 8, !tbaa !11
  %356 = load double, ptr %49, align 8, !tbaa !11
  %357 = fadd double %356, %355
  store double %357, ptr %49, align 8, !tbaa !11
  %358 = load double, ptr %70, align 8, !tbaa !11
  store double %358, ptr %53, align 8, !tbaa !11
  %359 = load double, ptr %22, align 8, !tbaa !11
  %360 = load double, ptr %49, align 8, !tbaa !11
  %361 = fmul double %360, %359
  store double %361, ptr %49, align 8, !tbaa !11
  %362 = load double, ptr %42, align 8, !tbaa !11
  %363 = fmul double 0x3FB8A0902DE00D1B, %362
  store double %363, ptr %31, align 8, !tbaa !11
  %364 = load i32, ptr %32, align 4, !tbaa !5
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 %365
  %367 = load double, ptr %366, align 8, !tbaa !11
  %368 = fneg double %367
  store double %368, ptr %56, align 8, !tbaa !11
  %369 = load double, ptr %31, align 8, !tbaa !11
  %370 = load i32, ptr %32, align 4, !tbaa !5
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 %371
  store double %369, ptr %372, align 8, !tbaa !11
  %373 = load double, ptr %31, align 8, !tbaa !11
  %374 = load double, ptr %56, align 8, !tbaa !11
  %375 = fadd double %374, %373
  store double %375, ptr %56, align 8, !tbaa !11
  %376 = load double, ptr %58, align 8, !tbaa !11
  %377 = load double, ptr %56, align 8, !tbaa !11
  %378 = fsub double %377, %376
  store double %378, ptr %56, align 8, !tbaa !11
  %379 = load double, ptr %60, align 8, !tbaa !11
  %380 = fmul double 5.769000e-01, %379
  store double %380, ptr %58, align 8, !tbaa !11
  %381 = load double, ptr %58, align 8, !tbaa !11
  %382 = load double, ptr %56, align 8, !tbaa !11
  %383 = fadd double %382, %381
  store double %383, ptr %56, align 8, !tbaa !11
  %384 = load double, ptr %42, align 8, !tbaa !11
  store double %384, ptr %60, align 8, !tbaa !11
  %385 = load double, ptr %22, align 8, !tbaa !11
  %386 = load double, ptr %56, align 8, !tbaa !11
  %387 = fmul double %386, %385
  store double %387, ptr %56, align 8, !tbaa !11
  %388 = load i32, ptr %32, align 4, !tbaa !5
  %389 = add nsw i32 %388, 1
  store i32 %389, ptr %32, align 4, !tbaa !5
  %390 = icmp eq i32 %389, 3
  br i1 %390, label %391, label %392

391:                                              ; preds = %283
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %392

392:                                              ; preds = %391, %283
  %393 = load double, ptr %42, align 8, !tbaa !11
  %394 = load double, ptr %49, align 8, !tbaa !11
  %395 = fadd double %393, %394
  %396 = load double, ptr %63, align 8, !tbaa !11
  %397 = fmul double 8.000000e-01, %396
  %398 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %395, double %397)
  store double %398, ptr %61, align 8, !tbaa !11
  %399 = load double, ptr %70, align 8, !tbaa !11
  %400 = load double, ptr %56, align 8, !tbaa !11
  %401 = fsub double %399, %400
  %402 = load double, ptr %64, align 8, !tbaa !11
  %403 = fmul double 8.000000e-01, %402
  %404 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %401, double %403)
  store double %404, ptr %62, align 8, !tbaa !11
  %405 = load double, ptr %67, align 8, !tbaa !11
  store double %405, ptr %68, align 8, !tbaa !11
  %406 = load double, ptr %35, align 8, !tbaa !11
  store double %406, ptr %67, align 8, !tbaa !11
  br label %526

407:                                              ; preds = %247
  %408 = load double, ptr %28, align 8, !tbaa !11
  %409 = fmul double 0x3FB8A0902DE00D1B, %408
  store double %409, ptr %31, align 8, !tbaa !11
  %410 = load i32, ptr %32, align 4, !tbaa !5
  %411 = sext i32 %410 to i64
  %412 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %411
  %413 = load double, ptr %412, align 8, !tbaa !11
  %414 = fneg double %413
  store double %414, ptr %35, align 8, !tbaa !11
  %415 = load double, ptr %31, align 8, !tbaa !11
  %416 = load i32, ptr %32, align 4, !tbaa !5
  %417 = sext i32 %416 to i64
  %418 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %417
  store double %415, ptr %418, align 8, !tbaa !11
  %419 = load double, ptr %31, align 8, !tbaa !11
  %420 = load double, ptr %35, align 8, !tbaa !11
  %421 = fadd double %420, %419
  store double %421, ptr %35, align 8, !tbaa !11
  %422 = load double, ptr %36, align 8, !tbaa !11
  %423 = load double, ptr %35, align 8, !tbaa !11
  %424 = fsub double %423, %422
  store double %424, ptr %35, align 8, !tbaa !11
  %425 = load double, ptr %38, align 8, !tbaa !11
  %426 = fmul double 5.769000e-01, %425
  store double %426, ptr %36, align 8, !tbaa !11
  %427 = load double, ptr %36, align 8, !tbaa !11
  %428 = load double, ptr %35, align 8, !tbaa !11
  %429 = fadd double %428, %427
  store double %429, ptr %35, align 8, !tbaa !11
  %430 = load double, ptr %28, align 8, !tbaa !11
  store double %430, ptr %38, align 8, !tbaa !11
  %431 = load double, ptr %22, align 8, !tbaa !11
  %432 = load double, ptr %35, align 8, !tbaa !11
  %433 = fmul double %432, %431
  store double %433, ptr %35, align 8, !tbaa !11
  %434 = load double, ptr %35, align 8, !tbaa !11
  %435 = fmul double 0x3FB8A0902DE00D1B, %434
  store double %435, ptr %31, align 8, !tbaa !11
  %436 = load i32, ptr %32, align 4, !tbaa !5
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %437
  %439 = load double, ptr %438, align 8, !tbaa !11
  %440 = fneg double %439
  store double %440, ptr %42, align 8, !tbaa !11
  %441 = load double, ptr %31, align 8, !tbaa !11
  %442 = load i32, ptr %32, align 4, !tbaa !5
  %443 = sext i32 %442 to i64
  %444 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 %443
  store double %441, ptr %444, align 8, !tbaa !11
  %445 = load double, ptr %31, align 8, !tbaa !11
  %446 = load double, ptr %42, align 8, !tbaa !11
  %447 = fadd double %446, %445
  store double %447, ptr %42, align 8, !tbaa !11
  %448 = load double, ptr %43, align 8, !tbaa !11
  %449 = load double, ptr %42, align 8, !tbaa !11
  %450 = fsub double %449, %448
  store double %450, ptr %42, align 8, !tbaa !11
  %451 = load double, ptr %45, align 8, !tbaa !11
  %452 = fmul double 5.769000e-01, %451
  store double %452, ptr %43, align 8, !tbaa !11
  %453 = load double, ptr %43, align 8, !tbaa !11
  %454 = load double, ptr %42, align 8, !tbaa !11
  %455 = fadd double %454, %453
  store double %455, ptr %42, align 8, !tbaa !11
  %456 = load double, ptr %35, align 8, !tbaa !11
  store double %456, ptr %45, align 8, !tbaa !11
  %457 = load double, ptr %22, align 8, !tbaa !11
  %458 = load double, ptr %42, align 8, !tbaa !11
  %459 = fmul double %458, %457
  store double %459, ptr %42, align 8, !tbaa !11
  %460 = load double, ptr %68, align 8, !tbaa !11
  %461 = fmul double 0x3FB8A0902DE00D1B, %460
  store double %461, ptr %31, align 8, !tbaa !11
  %462 = load i32, ptr %32, align 4, !tbaa !5
  %463 = sext i32 %462 to i64
  %464 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 %463
  %465 = load double, ptr %464, align 8, !tbaa !11
  %466 = fneg double %465
  store double %466, ptr %49, align 8, !tbaa !11
  %467 = load double, ptr %31, align 8, !tbaa !11
  %468 = load i32, ptr %32, align 4, !tbaa !5
  %469 = sext i32 %468 to i64
  %470 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 %469
  store double %467, ptr %470, align 8, !tbaa !11
  %471 = load double, ptr %31, align 8, !tbaa !11
  %472 = load double, ptr %49, align 8, !tbaa !11
  %473 = fadd double %472, %471
  store double %473, ptr %49, align 8, !tbaa !11
  %474 = load double, ptr %50, align 8, !tbaa !11
  %475 = load double, ptr %49, align 8, !tbaa !11
  %476 = fsub double %475, %474
  store double %476, ptr %49, align 8, !tbaa !11
  %477 = load double, ptr %52, align 8, !tbaa !11
  %478 = fmul double 5.769000e-01, %477
  store double %478, ptr %50, align 8, !tbaa !11
  %479 = load double, ptr %50, align 8, !tbaa !11
  %480 = load double, ptr %49, align 8, !tbaa !11
  %481 = fadd double %480, %479
  store double %481, ptr %49, align 8, !tbaa !11
  %482 = load double, ptr %68, align 8, !tbaa !11
  store double %482, ptr %52, align 8, !tbaa !11
  %483 = load double, ptr %22, align 8, !tbaa !11
  %484 = load double, ptr %49, align 8, !tbaa !11
  %485 = fmul double %484, %483
  store double %485, ptr %49, align 8, !tbaa !11
  %486 = load double, ptr %42, align 8, !tbaa !11
  %487 = fmul double 0x3FB8A0902DE00D1B, %486
  store double %487, ptr %31, align 8, !tbaa !11
  %488 = load i32, ptr %32, align 4, !tbaa !5
  %489 = sext i32 %488 to i64
  %490 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 %489
  %491 = load double, ptr %490, align 8, !tbaa !11
  %492 = fneg double %491
  store double %492, ptr %56, align 8, !tbaa !11
  %493 = load double, ptr %31, align 8, !tbaa !11
  %494 = load i32, ptr %32, align 4, !tbaa !5
  %495 = sext i32 %494 to i64
  %496 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 %495
  store double %493, ptr %496, align 8, !tbaa !11
  %497 = load double, ptr %31, align 8, !tbaa !11
  %498 = load double, ptr %56, align 8, !tbaa !11
  %499 = fadd double %498, %497
  store double %499, ptr %56, align 8, !tbaa !11
  %500 = load double, ptr %57, align 8, !tbaa !11
  %501 = load double, ptr %56, align 8, !tbaa !11
  %502 = fsub double %501, %500
  store double %502, ptr %56, align 8, !tbaa !11
  %503 = load double, ptr %59, align 8, !tbaa !11
  %504 = fmul double 5.769000e-01, %503
  store double %504, ptr %57, align 8, !tbaa !11
  %505 = load double, ptr %57, align 8, !tbaa !11
  %506 = load double, ptr %56, align 8, !tbaa !11
  %507 = fadd double %506, %505
  store double %507, ptr %56, align 8, !tbaa !11
  %508 = load double, ptr %42, align 8, !tbaa !11
  store double %508, ptr %59, align 8, !tbaa !11
  %509 = load double, ptr %22, align 8, !tbaa !11
  %510 = load double, ptr %56, align 8, !tbaa !11
  %511 = fmul double %510, %509
  store double %511, ptr %56, align 8, !tbaa !11
  %512 = load double, ptr %42, align 8, !tbaa !11
  %513 = load double, ptr %49, align 8, !tbaa !11
  %514 = fadd double %512, %513
  %515 = load double, ptr %63, align 8, !tbaa !11
  %516 = fmul double 8.000000e-01, %515
  %517 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %514, double %516)
  store double %517, ptr %61, align 8, !tbaa !11
  %518 = load double, ptr %68, align 8, !tbaa !11
  %519 = load double, ptr %56, align 8, !tbaa !11
  %520 = fsub double %518, %519
  %521 = load double, ptr %64, align 8, !tbaa !11
  %522 = fmul double 8.000000e-01, %521
  %523 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %520, double %522)
  store double %523, ptr %62, align 8, !tbaa !11
  %524 = load double, ptr %69, align 8, !tbaa !11
  store double %524, ptr %70, align 8, !tbaa !11
  %525 = load double, ptr %35, align 8, !tbaa !11
  store double %525, ptr %69, align 8, !tbaa !11
  br label %526

526:                                              ; preds = %407, %392
  %527 = load double, ptr %62, align 8, !tbaa !11
  %528 = load double, ptr %64, align 8, !tbaa !11
  %529 = load double, ptr %61, align 8, !tbaa !11
  %530 = load double, ptr %63, align 8, !tbaa !11
  %531 = fmul double %529, %530
  %532 = call double @llvm.fmuladd.f64(double %527, double %528, double %531)
  %533 = load double, ptr %65, align 8, !tbaa !11
  %534 = fmul double 8.000000e-01, %533
  %535 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %532, double %534)
  store double %535, ptr %65, align 8, !tbaa !11
  %536 = load double, ptr %62, align 8, !tbaa !11
  %537 = load double, ptr %63, align 8, !tbaa !11
  %538 = load double, ptr %61, align 8, !tbaa !11
  %539 = load double, ptr %64, align 8, !tbaa !11
  %540 = fmul double %538, %539
  %541 = fneg double %540
  %542 = call double @llvm.fmuladd.f64(double %536, double %537, double %541)
  %543 = load double, ptr %66, align 8, !tbaa !11
  %544 = fmul double 8.000000e-01, %543
  %545 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %542, double %544)
  store double %545, ptr %66, align 8, !tbaa !11
  %546 = load double, ptr %61, align 8, !tbaa !11
  store double %546, ptr %63, align 8, !tbaa !11
  %547 = load double, ptr %62, align 8, !tbaa !11
  store double %547, ptr %64, align 8, !tbaa !11
  %548 = load double, ptr %23, align 8, !tbaa !11
  store double %548, ptr %20, align 8, !tbaa !11
  %549 = load double, ptr %66, align 8, !tbaa !11
  %550 = fcmp une double %549, 0.000000e+00
  br i1 %550, label %551, label %562

551:                                              ; preds = %526
  %552 = load double, ptr %65, align 8, !tbaa !11
  %553 = fcmp une double %552, 0.000000e+00
  br i1 %553, label %554, label %562

554:                                              ; preds = %551
  %555 = load double, ptr %66, align 8, !tbaa !11
  %556 = load double, ptr %65, align 8, !tbaa !11
  %557 = fdiv double %555, %556
  %558 = call double @atan(double noundef %557) #4
  %559 = load double, ptr %71, align 8, !tbaa !11
  %560 = fmul double %558, %559
  %561 = fdiv double 3.600000e+02, %560
  store double %561, ptr %23, align 8, !tbaa !11
  br label %562

562:                                              ; preds = %554, %551, %526
  %563 = load double, ptr %20, align 8, !tbaa !11
  %564 = fmul double 1.500000e+00, %563
  store double %564, ptr %21, align 8, !tbaa !11
  %565 = load double, ptr %23, align 8, !tbaa !11
  %566 = load double, ptr %21, align 8, !tbaa !11
  %567 = fcmp ogt double %565, %566
  br i1 %567, label %568, label %570

568:                                              ; preds = %562
  %569 = load double, ptr %21, align 8, !tbaa !11
  store double %569, ptr %23, align 8, !tbaa !11
  br label %570

570:                                              ; preds = %568, %562
  %571 = load double, ptr %20, align 8, !tbaa !11
  %572 = fmul double 6.700000e-01, %571
  store double %572, ptr %21, align 8, !tbaa !11
  %573 = load double, ptr %23, align 8, !tbaa !11
  %574 = load double, ptr %21, align 8, !tbaa !11
  %575 = fcmp olt double %573, %574
  br i1 %575, label %576, label %578

576:                                              ; preds = %570
  %577 = load double, ptr %21, align 8, !tbaa !11
  store double %577, ptr %23, align 8, !tbaa !11
  br label %578

578:                                              ; preds = %576, %570
  %579 = load double, ptr %23, align 8, !tbaa !11
  %580 = fcmp olt double %579, 6.000000e+00
  br i1 %580, label %581, label %582

581:                                              ; preds = %578
  store double 6.000000e+00, ptr %23, align 8, !tbaa !11
  br label %587

582:                                              ; preds = %578
  %583 = load double, ptr %23, align 8, !tbaa !11
  %584 = fcmp ogt double %583, 5.000000e+01
  br i1 %584, label %585, label %586

585:                                              ; preds = %582
  store double 5.000000e+01, ptr %23, align 8, !tbaa !11
  br label %586

586:                                              ; preds = %585, %582
  br label %587

587:                                              ; preds = %586, %581
  %588 = load double, ptr %23, align 8, !tbaa !11
  %589 = load double, ptr %20, align 8, !tbaa !11
  %590 = fmul double 8.000000e-01, %589
  %591 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %588, double %590)
  store double %591, ptr %23, align 8, !tbaa !11
  %592 = load double, ptr %23, align 8, !tbaa !11
  %593 = load double, ptr %75, align 8, !tbaa !11
  %594 = fmul double 6.700000e-01, %593
  %595 = call double @llvm.fmuladd.f64(double 3.300000e-01, double %592, double %594)
  store double %595, ptr %75, align 8, !tbaa !11
  %596 = load double, ptr %75, align 8, !tbaa !11
  %597 = fadd double %596, 5.000000e-01
  store double %597, ptr %83, align 8, !tbaa !11
  %598 = load double, ptr %83, align 8, !tbaa !11
  %599 = fptosi double %598 to i32
  store i32 %599, ptr %81, align 4, !tbaa !5
  store double 0.000000e+00, ptr %85, align 8, !tbaa !11
  store double 0.000000e+00, ptr %84, align 8, !tbaa !11
  %600 = load i32, ptr %77, align 4, !tbaa !5
  store i32 %600, ptr %80, align 4, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %601

601:                                              ; preds = %635, %587
  %602 = load i32, ptr %17, align 4, !tbaa !5
  %603 = load i32, ptr %81, align 4, !tbaa !5
  %604 = icmp slt i32 %602, %603
  br i1 %604, label %605, label %638

605:                                              ; preds = %601
  %606 = load i32, ptr %17, align 4, !tbaa !5
  %607 = sitofp i32 %606 to double
  %608 = load double, ptr %73, align 8, !tbaa !11
  %609 = fmul double %607, %608
  %610 = load i32, ptr %81, align 4, !tbaa !5
  %611 = sitofp i32 %610 to double
  %612 = fdiv double %609, %611
  store double %612, ptr %20, align 8, !tbaa !11
  %613 = load ptr, ptr %78, align 8, !tbaa !9
  %614 = load i32, ptr %80, align 4, !tbaa !5
  %615 = sext i32 %614 to i64
  %616 = getelementptr inbounds double, ptr %613, i64 %615
  %617 = load double, ptr %616, align 8, !tbaa !11
  store double %617, ptr %21, align 8, !tbaa !11
  %618 = load double, ptr %20, align 8, !tbaa !11
  %619 = call double @sin(double noundef %618) #4
  %620 = load double, ptr %21, align 8, !tbaa !11
  %621 = load double, ptr %85, align 8, !tbaa !11
  %622 = call double @llvm.fmuladd.f64(double %619, double %620, double %621)
  store double %622, ptr %85, align 8, !tbaa !11
  %623 = load double, ptr %20, align 8, !tbaa !11
  %624 = call double @cos(double noundef %623) #4
  %625 = load double, ptr %21, align 8, !tbaa !11
  %626 = load double, ptr %84, align 8, !tbaa !11
  %627 = call double @llvm.fmuladd.f64(double %624, double %625, double %626)
  store double %627, ptr %84, align 8, !tbaa !11
  %628 = load i32, ptr %80, align 4, !tbaa !5
  %629 = icmp eq i32 %628, 0
  br i1 %629, label %630, label %631

630:                                              ; preds = %605
  store i32 49, ptr %80, align 4, !tbaa !5
  br label %634

631:                                              ; preds = %605
  %632 = load i32, ptr %80, align 4, !tbaa !5
  %633 = add nsw i32 %632, -1
  store i32 %633, ptr %80, align 4, !tbaa !5
  br label %634

634:                                              ; preds = %631, %630
  br label %635

635:                                              ; preds = %634
  %636 = load i32, ptr %17, align 4, !tbaa !5
  %637 = add nsw i32 %636, 1
  store i32 %637, ptr %17, align 4, !tbaa !5
  br label %601, !llvm.loop !16

638:                                              ; preds = %601
  %639 = load double, ptr %84, align 8, !tbaa !11
  %640 = call double @llvm.fabs.f64(double %639)
  store double %640, ptr %20, align 8, !tbaa !11
  %641 = load double, ptr %20, align 8, !tbaa !11
  %642 = fcmp ogt double %641, 0.000000e+00
  br i1 %642, label %643, label %650

643:                                              ; preds = %638
  %644 = load double, ptr %85, align 8, !tbaa !11
  %645 = load double, ptr %84, align 8, !tbaa !11
  %646 = fdiv double %644, %645
  %647 = call double @atan(double noundef %646) #4
  %648 = load double, ptr %71, align 8, !tbaa !11
  %649 = fmul double %647, %648
  store double %649, ptr %82, align 8, !tbaa !11
  br label %668

650:                                              ; preds = %638
  %651 = load double, ptr %20, align 8, !tbaa !11
  %652 = fcmp ole double %651, 1.000000e-02
  br i1 %652, label %653, label %667

653:                                              ; preds = %650
  %654 = load double, ptr %85, align 8, !tbaa !11
  %655 = fcmp olt double %654, 0.000000e+00
  br i1 %655, label %656, label %659

656:                                              ; preds = %653
  %657 = load double, ptr %82, align 8, !tbaa !11
  %658 = fsub double %657, 9.000000e+01
  store double %658, ptr %82, align 8, !tbaa !11
  br label %666

659:                                              ; preds = %653
  %660 = load double, ptr %85, align 8, !tbaa !11
  %661 = fcmp ogt double %660, 0.000000e+00
  br i1 %661, label %662, label %665

662:                                              ; preds = %659
  %663 = load double, ptr %82, align 8, !tbaa !11
  %664 = fadd double %663, 9.000000e+01
  store double %664, ptr %82, align 8, !tbaa !11
  br label %665

665:                                              ; preds = %662, %659
  br label %666

666:                                              ; preds = %665, %656
  br label %667

667:                                              ; preds = %666, %650
  br label %668

668:                                              ; preds = %667, %643
  %669 = load double, ptr %82, align 8, !tbaa !11
  %670 = fadd double %669, 9.000000e+01
  store double %670, ptr %82, align 8, !tbaa !11
  %671 = load double, ptr %75, align 8, !tbaa !11
  %672 = fdiv double 3.600000e+02, %671
  %673 = load double, ptr %82, align 8, !tbaa !11
  %674 = fadd double %673, %672
  store double %674, ptr %82, align 8, !tbaa !11
  %675 = load double, ptr %84, align 8, !tbaa !11
  %676 = fcmp olt double %675, 0.000000e+00
  br i1 %676, label %677, label %680

677:                                              ; preds = %668
  %678 = load double, ptr %82, align 8, !tbaa !11
  %679 = fadd double %678, 1.800000e+02
  store double %679, ptr %82, align 8, !tbaa !11
  br label %680

680:                                              ; preds = %677, %668
  %681 = load double, ptr %82, align 8, !tbaa !11
  %682 = fcmp ogt double %681, 3.150000e+02
  br i1 %682, label %683, label %686

683:                                              ; preds = %680
  %684 = load double, ptr %82, align 8, !tbaa !11
  %685 = fsub double %684, 3.600000e+02
  store double %685, ptr %82, align 8, !tbaa !11
  br label %686

686:                                              ; preds = %683, %680
  %687 = load i32, ptr %19, align 4, !tbaa !5
  %688 = load i32, ptr %9, align 4, !tbaa !5
  %689 = icmp sge i32 %687, %688
  br i1 %689, label %690, label %709

690:                                              ; preds = %686
  %691 = load double, ptr %82, align 8, !tbaa !11
  %692 = load double, ptr %72, align 8, !tbaa !11
  %693 = fmul double %691, %692
  %694 = call double @sin(double noundef %693) #4
  %695 = load ptr, ptr %14, align 8, !tbaa !9
  %696 = load i32, ptr %16, align 4, !tbaa !5
  %697 = sext i32 %696 to i64
  %698 = getelementptr inbounds double, ptr %695, i64 %697
  store double %694, ptr %698, align 8, !tbaa !11
  %699 = load double, ptr %82, align 8, !tbaa !11
  %700 = fadd double %699, 4.500000e+01
  %701 = load double, ptr %72, align 8, !tbaa !11
  %702 = fmul double %700, %701
  %703 = call double @sin(double noundef %702) #4
  %704 = load ptr, ptr %15, align 8, !tbaa !9
  %705 = load i32, ptr %16, align 4, !tbaa !5
  %706 = add nsw i32 %705, 1
  store i32 %706, ptr %16, align 4, !tbaa !5
  %707 = sext i32 %705 to i64
  %708 = getelementptr inbounds double, ptr %704, i64 %707
  store double %703, ptr %708, align 8, !tbaa !11
  br label %709

709:                                              ; preds = %690, %686
  %710 = load i32, ptr %77, align 4, !tbaa !5
  %711 = add nsw i32 %710, 1
  store i32 %711, ptr %77, align 4, !tbaa !5
  %712 = load i32, ptr %77, align 4, !tbaa !5
  %713 = load i32, ptr %79, align 4, !tbaa !5
  %714 = icmp sgt i32 %712, %713
  br i1 %714, label %715, label %716

715:                                              ; preds = %709
  store i32 0, ptr %77, align 4, !tbaa !5
  br label %716

716:                                              ; preds = %715, %709
  %717 = load i32, ptr %19, align 4, !tbaa !5
  %718 = add nsw i32 %717, 1
  store i32 %718, ptr %19, align 4, !tbaa !5
  br label %243, !llvm.loop !17

719:                                              ; preds = %243
  %720 = load i32, ptr %16, align 4, !tbaa !5
  %721 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 %720, ptr %721, align 4, !tbaa !5
  store i32 0, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %722

722:                                              ; preds = %719, %133, %109, %105, %101, %97, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #4
  call void @llvm.lifetime.end.p0(i64 400, ptr %76) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  %723 = load i32, ptr %8, align 4
  ret i32 %723
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind
declare double @atan(double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: nounwind
declare double @sin(double noundef) #2

; Function Attrs: nounwind
declare double @cos(double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@TA_Globals = external local_unnamed_addr global ptr, align 8

; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable
define dso_local range(i32 0, 14) i32 @TA_HT_SINE(i32 noundef %0, i32 noundef %1, ptr noundef readonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr noundef writeonly %5, ptr noundef writeonly %6) local_unnamed_addr #0 {
  %8 = alloca [3 x double], align 16
  %9 = alloca [3 x double], align 16
  %10 = alloca [3 x double], align 16
  %11 = alloca [3 x double], align 16
  %12 = alloca [3 x double], align 16
  %13 = alloca [3 x double], align 16
  %14 = alloca [3 x double], align 16
  %15 = alloca [3 x double], align 16
  %16 = alloca [50 x double], align 16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %16) #6
  %17 = icmp slt i32 %0, 0
  br i1 %17, label %280, label %18

18:                                               ; preds = %7
  %19 = icmp slt i32 %1, %0
  br i1 %19, label %280, label %20

20:                                               ; preds = %18
  %.not = icmp eq ptr %2, null
  %.not378 = icmp eq ptr %5, null
  %or.cond384 = or i1 %.not, %.not378
  %.not379 = icmp eq ptr %6, null
  %or.cond385 = or i1 %or.cond384, %.not379
  br i1 %or.cond385, label %280, label %21

21:                                               ; preds = %20
  %22 = load ptr, ptr @TA_Globals, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %22, i64 144
  %24 = load i32, ptr %23, align 4, !tbaa !9
  %25 = add i32 %24, 63
  %spec.select = tail call i32 @llvm.smax.i32(i32 %25, i32 %0)
  %26 = icmp ugt i32 %spec.select, %1
  br i1 %26, label %27, label %28

27:                                               ; preds = %21
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %.sink.split

28:                                               ; preds = %21
  store i32 %spec.select, ptr %3, align 4, !tbaa !9
  %29 = sub nsw i32 %spec.select, %25
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds double, ptr %2, i64 %30
  %32 = load double, ptr %31, align 8, !tbaa !11
  %33 = getelementptr i8, ptr %31, i64 8
  %34 = load double, ptr %33, align 8, !tbaa !11
  %35 = fadd double %32, %34
  %36 = tail call double @llvm.fmuladd.f64(double %34, double 2.000000e+00, double %32)
  %37 = add i32 %29, 3
  %38 = getelementptr i8, ptr %31, i64 16
  %39 = load double, ptr %38, align 8, !tbaa !11
  %40 = fadd double %35, %39
  %41 = tail call double @llvm.fmuladd.f64(double %39, double 3.000000e+00, double %36)
  %42 = sext i32 %37 to i64
  %43 = add i32 %29, 36
  %44 = zext nneg i32 %0 to i64
  %45 = sext i32 %25 to i64
  %smax = tail call i64 @llvm.smax.i64(i64 %44, i64 %45)
  %46 = trunc nsw i64 %smax to i32
  %47 = add nsw i32 %46, -62
  %48 = sub i32 %47, %24
  %invariant.gep = getelementptr i8, ptr %2, i64 8
  %invariant.gep489 = getelementptr i8, ptr %2, i64 8
  br label %49

49:                                               ; preds = %49, %28
  %indvars.iv449 = phi i32 [ %48, %28 ], [ %indvars.iv.next450.1, %49 ]
  %indvars.iv441 = phi i64 [ %42, %28 ], [ %indvars.iv.next442.1, %49 ]
  %indvars.iv = phi i64 [ %30, %28 ], [ %indvars.iv.next.1, %49 ]
  %.0364 = phi double [ %40, %28 ], [ %60, %49 ]
  %.0362 = phi double [ 0.000000e+00, %28 ], [ %62, %49 ]
  %.0360 = phi double [ %41, %28 ], [ %63, %49 ]
  %.0299 = phi i32 [ 34, %28 ], [ %64, %49 ]
  %50 = getelementptr inbounds double, ptr %2, i64 %indvars.iv441
  %51 = load double, ptr %50, align 8, !tbaa !11
  %52 = fadd double %.0364, %51
  %53 = fsub double %52, %.0362
  %54 = tail call double @llvm.fmuladd.f64(double %51, double 4.000000e+00, double %.0360)
  %55 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %56 = load double, ptr %55, align 8, !tbaa !11
  %57 = fsub double %54, %53
  %indvars.iv.next442.1 = add nsw i64 %indvars.iv441, 2
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv441
  %58 = load double, ptr %gep, align 8, !tbaa !11
  %59 = fadd double %53, %58
  %60 = fsub double %59, %56
  %61 = tail call double @llvm.fmuladd.f64(double %58, double 4.000000e+00, double %57)
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %gep490 = getelementptr double, ptr %invariant.gep489, i64 %indvars.iv
  %62 = load double, ptr %gep490, align 8, !tbaa !11
  %63 = fsub double %61, %60
  %64 = add nsw i32 %.0299, -2
  %.not380.1 = icmp eq i32 %64, 0
  %indvars.iv.next450.1 = add i32 %indvars.iv449, 2
  br i1 %.not380.1, label %.preheader, label %49, !llvm.loop !13

.preheader:                                       ; preds = %49
  %indvars.iv.next450.le = add i32 %indvars.iv449, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %8, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %9, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %10, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %12, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %13, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %14, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %15, i8 0, i64 24, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(400) %16, i8 0, i64 400, i1 false), !tbaa !11
  %.not381396.not = icmp slt i32 %43, %1
  br i1 %.not381396.not, label %.lr.ph432.preheader, label %.sink.split

.lr.ph432.preheader:                              ; preds = %.preheader
  %65 = add i32 %29, 37
  %66 = sext i32 %65 to i64
  %67 = zext nneg i32 %spec.select to i64
  %68 = sext i32 %indvars.iv.next450.le to i64
  %69 = add i32 %1, 1
  br label %.lr.ph432

.lr.ph432:                                        ; preds = %.lr.ph432.preheader, %276
  %indvars.iv451 = phi i64 [ %68, %.lr.ph432.preheader ], [ %indvars.iv.next452, %276 ]
  %indvars.iv447 = phi i64 [ %66, %.lr.ph432.preheader ], [ %indvars.iv.next448, %276 ]
  %.0293431 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.3, %276 ]
  %.0297430 = phi i32 [ 0, %.lr.ph432.preheader ], [ %.1298, %276 ]
  %.0302429 = phi i32 [ 0, %.lr.ph432.preheader ], [ %spec.store.select2, %276 ]
  %.0303428 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %217, %276 ]
  %.0306426 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %215, %276 ]
  %.0310425 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1311, %276 ]
  %.0312424 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1313, %276 ]
  %.0314423 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1315, %276 ]
  %.0316422 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1317, %276 ]
  %.0324417 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1325, %276 ]
  %.0326416 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1327, %276 ]
  %.0328415 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1329, %276 ]
  %.0330414 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1331, %276 ]
  %.0348405 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1349, %276 ]
  %.0350404 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1351, %276 ]
  %.0352403 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1353, %276 ]
  %.0354402 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1355, %276 ]
  %.0356401 = phi i32 [ 0, %.lr.ph432.preheader ], [ %.1357, %276 ]
  %.1361399 = phi double [ %63, %.lr.ph432.preheader ], [ %85, %276 ]
  %.1363398 = phi double [ %62, %.lr.ph432.preheader ], [ %83, %276 ]
  %.1365397 = phi double [ %60, %.lr.ph432.preheader ], [ %80, %276 ]
  %70 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %177, %276 ]
  %71 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %178, %276 ]
  %72 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %179, %276 ]
  %73 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %180, %276 ]
  %74 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %279, %276 ]
  %75 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %193, %276 ]
  %76 = tail call double @llvm.fmuladd.f64(double %.0306426, double 0x3FB3333333333333, double 5.400000e-01)
  %77 = getelementptr inbounds double, ptr %2, i64 %indvars.iv447
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = fadd double %.1365397, %78
  %80 = fsub double %79, %.1363398
  %81 = tail call double @llvm.fmuladd.f64(double %78, double 4.000000e+00, double %.1361399)
  %indvars.iv.next452 = add nsw i64 %indvars.iv451, 1
  %82 = getelementptr inbounds double, ptr %2, i64 %indvars.iv451
  %83 = load double, ptr %82, align 8, !tbaa !11
  %84 = fmul double %81, 1.000000e-01
  %85 = fsub double %81, %80
  %86 = sext i32 %.0302429 to i64
  %87 = getelementptr inbounds double, ptr %16, i64 %86
  store double %84, ptr %87, align 8, !tbaa !11
  %88 = and i64 %indvars.iv447, 1
  %89 = icmp eq i64 %88, 0
  %90 = fmul double %84, 0x3FB8A0902DE00D1B
  %91 = sext i32 %.0356401 to i64
  br i1 %89, label %92, label %135

92:                                               ; preds = %.lr.ph432
  %93 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 %91
  %94 = load double, ptr %93, align 8, !tbaa !11
  store double %90, ptr %93, align 8, !tbaa !11
  %95 = fsub double %90, %94
  %96 = fsub double %95, %.0352403
  %97 = fmul double %.0348405, 5.769000e-01
  %98 = fadd double %97, %96
  %99 = fmul double %76, %98
  %100 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 %91
  %101 = load double, ptr %100, align 8, !tbaa !11
  %102 = fmul <2 x double> %72, <double 5.769000e-01, double 5.769000e-01>
  %103 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %91
  %104 = load double, ptr %103, align 8, !tbaa !11
  %105 = insertelement <2 x double> poison, double %.0310425, i64 0
  %106 = insertelement <2 x double> %105, double %99, i64 1
  %107 = fmul <2 x double> %106, <double 0x3FB8A0902DE00D1B, double 0x3FB8A0902DE00D1B>
  %108 = extractelement <2 x double> %107, i64 1
  store double %108, ptr %100, align 8, !tbaa !11
  %109 = extractelement <2 x double> %107, i64 0
  store double %109, ptr %103, align 8, !tbaa !11
  %110 = insertelement <2 x double> poison, double %104, i64 0
  %111 = insertelement <2 x double> %110, double %101, i64 1
  %112 = fsub <2 x double> %107, %111
  %113 = fsub <2 x double> %112, %73
  %114 = fadd <2 x double> %102, %113
  %115 = insertelement <2 x double> poison, double %76, i64 0
  %116 = shufflevector <2 x double> %115, <2 x double> poison, <2 x i32> zeroinitializer
  %117 = fmul <2 x double> %116, %114
  %118 = extractelement <2 x double> %117, i64 1
  %119 = fmul double %118, 0x3FB8A0902DE00D1B
  %120 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %91
  %121 = load double, ptr %120, align 8, !tbaa !11
  store double %119, ptr %120, align 8, !tbaa !11
  %122 = fsub double %119, %121
  %123 = fsub double %122, %.0328415
  %124 = fmul double %.0324417, 5.769000e-01
  %125 = fadd double %124, %123
  %126 = fmul double %76, %125
  %127 = add nsw i32 %.0356401, 1
  %128 = icmp eq i32 %127, 3
  %spec.store.select = select i1 %128, i32 0, i32 %127
  %129 = extractelement <2 x double> %117, i64 0
  %130 = fadd double %129, %118
  %131 = extractelement <2 x double> %74, i64 0
  %132 = fmul double %131, 8.000000e-01
  %133 = tail call double @llvm.fmuladd.f64(double %130, double 2.000000e-01, double %132)
  %134 = fsub double %.0310425, %126
  br label %176

135:                                              ; preds = %.lr.ph432
  %136 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %91
  %137 = load double, ptr %136, align 8, !tbaa !11
  store double %90, ptr %136, align 8, !tbaa !11
  %138 = fsub double %90, %137
  %139 = fsub double %138, %.0354402
  %140 = fmul double %.0350404, 5.769000e-01
  %141 = fadd double %140, %139
  %142 = fmul double %76, %141
  %143 = getelementptr inbounds [3 x double], ptr %10, i64 0, i64 %91
  %144 = load double, ptr %143, align 8, !tbaa !11
  %145 = fmul <2 x double> %70, <double 5.769000e-01, double 5.769000e-01>
  %146 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %91
  %147 = load double, ptr %146, align 8, !tbaa !11
  %148 = insertelement <2 x double> poison, double %.0314423, i64 0
  %149 = insertelement <2 x double> %148, double %142, i64 1
  %150 = fmul <2 x double> %149, <double 0x3FB8A0902DE00D1B, double 0x3FB8A0902DE00D1B>
  %151 = extractelement <2 x double> %150, i64 1
  store double %151, ptr %143, align 8, !tbaa !11
  %152 = extractelement <2 x double> %150, i64 0
  store double %152, ptr %146, align 8, !tbaa !11
  %153 = insertelement <2 x double> poison, double %147, i64 0
  %154 = insertelement <2 x double> %153, double %144, i64 1
  %155 = fsub <2 x double> %150, %154
  %156 = fsub <2 x double> %155, %71
  %157 = fadd <2 x double> %145, %156
  %158 = insertelement <2 x double> poison, double %76, i64 0
  %159 = shufflevector <2 x double> %158, <2 x double> poison, <2 x i32> zeroinitializer
  %160 = fmul <2 x double> %159, %157
  %161 = extractelement <2 x double> %160, i64 1
  %162 = fmul double %161, 0x3FB8A0902DE00D1B
  %163 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %91
  %164 = load double, ptr %163, align 8, !tbaa !11
  store double %162, ptr %163, align 8, !tbaa !11
  %165 = fsub double %162, %164
  %166 = fsub double %165, %.0330414
  %167 = fmul double %.0326416, 5.769000e-01
  %168 = fadd double %167, %166
  %169 = fmul double %76, %168
  %170 = extractelement <2 x double> %160, i64 0
  %171 = fadd double %170, %161
  %172 = extractelement <2 x double> %74, i64 0
  %173 = fmul double %172, 8.000000e-01
  %174 = tail call double @llvm.fmuladd.f64(double %171, double 2.000000e-01, double %173)
  %175 = fsub double %.0314423, %169
  br label %176

176:                                              ; preds = %135, %92
  %.sink = phi double [ %175, %135 ], [ %134, %92 ]
  %.1357 = phi i32 [ %.0356401, %135 ], [ %spec.store.select, %92 ]
  %.1355 = phi double [ %140, %135 ], [ %.0354402, %92 ]
  %.1353 = phi double [ %.0352403, %135 ], [ %97, %92 ]
  %.1351 = phi double [ %84, %135 ], [ %.0350404, %92 ]
  %.1349 = phi double [ %.0348405, %135 ], [ %84, %92 ]
  %.1331 = phi double [ %167, %135 ], [ %.0330414, %92 ]
  %.1329 = phi double [ %.0328415, %135 ], [ %124, %92 ]
  %.1327 = phi double [ %161, %135 ], [ %.0326416, %92 ]
  %.1325 = phi double [ %.0324417, %135 ], [ %118, %92 ]
  %.0323 = phi double [ %174, %135 ], [ %133, %92 ]
  %.1317 = phi double [ %.0316422, %135 ], [ %99, %92 ]
  %.1315 = phi double [ %.0314423, %135 ], [ %.0316422, %92 ]
  %.1313 = phi double [ %142, %135 ], [ %.0312424, %92 ]
  %.1311 = phi double [ %.0312424, %135 ], [ %.0310425, %92 ]
  %177 = phi <2 x double> [ %149, %135 ], [ %70, %92 ]
  %178 = phi <2 x double> [ %145, %135 ], [ %71, %92 ]
  %179 = phi <2 x double> [ %72, %135 ], [ %106, %92 ]
  %180 = phi <2 x double> [ %73, %135 ], [ %102, %92 ]
  %181 = extractelement <2 x double> %74, i64 1
  %182 = fmul double %181, 8.000000e-01
  %183 = tail call double @llvm.fmuladd.f64(double %.sink, double 2.000000e-01, double %182)
  %184 = fmul <2 x double> %75, <double 8.000000e-01, double 8.000000e-01>
  %185 = fneg double %.0323
  %186 = insertelement <2 x double> poison, double %.0323, i64 0
  %187 = insertelement <2 x double> %186, double %185, i64 1
  %188 = fmul <2 x double> %74, %187
  %189 = shufflevector <2 x double> %188, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %190 = insertelement <2 x double> poison, double %183, i64 0
  %191 = shufflevector <2 x double> %190, <2 x double> poison, <2 x i32> zeroinitializer
  %192 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %191, <2 x double> %74, <2 x double> %189)
  %193 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %192, <2 x double> <double 2.000000e-01, double 2.000000e-01>, <2 x double> %184)
  %194 = fcmp une <2 x double> %193, zeroinitializer
  %195 = extractelement <2 x i1> %194, i64 0
  %196 = extractelement <2 x i1> %194, i64 1
  %or.cond = select i1 %195, i1 %196, i1 false
  br i1 %or.cond, label %197, label %204

197:                                              ; preds = %176
  %198 = extractelement <2 x double> %193, i64 0
  %199 = extractelement <2 x double> %193, i64 1
  %200 = fdiv double %198, %199
  %201 = tail call double @atan(double noundef %200) #6
  %202 = fmul double %201, 0x404CA5DC1A63C1F8
  %203 = fdiv double 3.600000e+02, %202
  br label %204

204:                                              ; preds = %197, %176
  %.1307 = phi double [ %203, %197 ], [ %.0306426, %176 ]
  %205 = fmul double %.0306426, 1.500000e+00
  %206 = fcmp ogt double %.1307, %205
  %.2308 = select i1 %206, double %205, double %.1307
  %207 = fmul double %.0306426, 6.700000e-01
  %208 = fcmp olt double %.2308, %207
  %.3309 = select i1 %208, double %207, double %.2308
  %209 = fcmp olt double %.3309, 6.000000e+00
  br i1 %209, label %213, label %210

210:                                              ; preds = %204
  %211 = fcmp ogt double %.3309, 5.000000e+01
  br i1 %211, label %212, label %213

212:                                              ; preds = %210
  br label %213

213:                                              ; preds = %204, %210, %212
  %.4 = phi double [ 5.000000e+01, %212 ], [ %.3309, %210 ], [ 6.000000e+00, %204 ]
  %214 = fmul double %.0306426, 8.000000e-01
  %215 = tail call double @llvm.fmuladd.f64(double %.4, double 2.000000e-01, double %214)
  %216 = fmul double %.0303428, 6.700000e-01
  %217 = tail call double @llvm.fmuladd.f64(double %215, double 3.300000e-01, double %216)
  %218 = fadd double %217, 5.000000e-01
  %219 = fptosi double %218 to i32
  %220 = icmp sgt i32 %219, 0
  br i1 %220, label %.lr.ph, label %.thread471

.lr.ph:                                           ; preds = %213
  %221 = uitofp nneg i32 %219 to double
  br label %222

222:                                              ; preds = %.lr.ph, %222
  %.0295392 = phi i32 [ %.0302429, %.lr.ph ], [ %.1296, %222 ]
  %.2301391 = phi i32 [ 0, %.lr.ph ], [ %239, %222 ]
  %223 = phi <2 x double> [ zeroinitializer, %.lr.ph ], [ %236, %222 ]
  %224 = uitofp nneg i32 %.2301391 to double
  %225 = fmul double %224, 0x401921FB54442D18
  %226 = fdiv double %225, %221
  %227 = sext i32 %.0295392 to i64
  %228 = getelementptr inbounds double, ptr %16, i64 %227
  %229 = load double, ptr %228, align 8, !tbaa !11
  %230 = tail call double @sin(double noundef %226) #6
  %231 = tail call double @cos(double noundef %226) #6
  %232 = insertelement <2 x double> poison, double %230, i64 0
  %233 = insertelement <2 x double> %232, double %231, i64 1
  %234 = insertelement <2 x double> poison, double %229, i64 0
  %235 = shufflevector <2 x double> %234, <2 x double> poison, <2 x i32> zeroinitializer
  %236 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %233, <2 x double> %235, <2 x double> %223)
  %237 = icmp eq i32 %.0295392, 0
  %238 = add nsw i32 %.0295392, -1
  %.1296 = select i1 %237, i32 49, i32 %238
  %239 = add nuw nsw i32 %.2301391, 1
  %exitcond.not = icmp eq i32 %239, %219
  br i1 %exitcond.not, label %._crit_edge, label %222, !llvm.loop !15

._crit_edge:                                      ; preds = %222
  %240 = extractelement <2 x double> %236, i64 1
  %241 = fcmp ueq double %240, 0.000000e+00
  br i1 %241, label %247, label %242

242:                                              ; preds = %._crit_edge
  %243 = extractelement <2 x double> %236, i64 0
  %244 = fdiv double %243, %240
  %245 = tail call double @atan(double noundef %244) #6
  %246 = fmul double %245, 0x404CA5DC1A63C1F8
  br label %.thread471

247:                                              ; preds = %._crit_edge
  %248 = tail call double @llvm.fabs.f64(double %240)
  %249 = fcmp ugt double %248, 1.000000e-02
  br i1 %249, label %.thread471, label %250

250:                                              ; preds = %247
  %251 = extractelement <2 x double> %236, i64 0
  %252 = fcmp olt double %251, 0.000000e+00
  br i1 %252, label %253, label %255

253:                                              ; preds = %250
  %254 = fadd double %.0293431, -9.000000e+01
  br label %.thread471

255:                                              ; preds = %250
  %256 = fcmp ogt double %251, 0.000000e+00
  br i1 %256, label %257, label %.thread471

257:                                              ; preds = %255
  %258 = fadd double %.0293431, 9.000000e+01
  br label %.thread471

.thread471:                                       ; preds = %213, %247, %255, %257, %253, %242
  %.0291.lcssa459 = phi double [ %240, %242 ], [ %240, %253 ], [ %240, %257 ], [ %240, %255 ], [ %240, %247 ], [ 0.000000e+00, %213 ]
  %.1 = phi double [ %246, %242 ], [ %254, %253 ], [ %258, %257 ], [ %.0293431, %255 ], [ %.0293431, %247 ], [ %.0293431, %213 ]
  %259 = fadd double %.1, 9.000000e+01
  %260 = fdiv double 3.600000e+02, %217
  %261 = fadd double %260, %259
  %262 = fcmp olt double %.0291.lcssa459, 0.000000e+00
  %263 = fadd double %261, 1.800000e+02
  %.2 = select i1 %262, double %263, double %261
  %264 = fcmp ogt double %.2, 3.150000e+02
  %265 = fadd double %.2, -3.600000e+02
  %.3 = select i1 %264, double %265, double %.2
  %.not382 = icmp slt i64 %indvars.iv447, %67
  br i1 %.not382, label %276, label %266

266:                                              ; preds = %.thread471
  %267 = fmul double %.3, 0x3F91DF46A2529D39
  %268 = tail call double @sin(double noundef %267) #6
  %269 = sext i32 %.0297430 to i64
  %270 = getelementptr inbounds double, ptr %5, i64 %269
  store double %268, ptr %270, align 8, !tbaa !11
  %271 = fadd double %.3, 4.500000e+01
  %272 = fmul double %271, 0x3F91DF46A2529D39
  %273 = tail call double @sin(double noundef %272) #6
  %274 = add nsw i32 %.0297430, 1
  %275 = getelementptr inbounds double, ptr %6, i64 %269
  store double %273, ptr %275, align 8, !tbaa !11
  br label %276

276:                                              ; preds = %266, %.thread471
  %.1298 = phi i32 [ %274, %266 ], [ %.0297430, %.thread471 ]
  %277 = add nsw i32 %.0302429, 1
  %278 = icmp sgt i32 %.0302429, 48
  %spec.store.select2 = select i1 %278, i32 0, i32 %277
  %indvars.iv.next448 = add nsw i64 %indvars.iv447, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next448 to i32
  %exitcond456.not = icmp eq i32 %69, %lftr.wideiv
  %279 = insertelement <2 x double> %186, double %183, i64 1
  br i1 %exitcond456.not, label %.sink.split, label %.lr.ph432, !llvm.loop !16

.sink.split:                                      ; preds = %276, %.preheader, %27
  %.0297.lcssa.sink = phi i32 [ 0, %27 ], [ 0, %.preheader ], [ %.1298, %276 ]
  store i32 %.0297.lcssa.sink, ptr %4, align 4, !tbaa !9
  br label %280

280:                                              ; preds = %.sink.split, %20, %18, %7
  %.0292 = phi i32 [ 12, %7 ], [ 13, %18 ], [ 2, %20 ], [ 0, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  ret i32 %.0292
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #4

attributes #0 = { nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass