; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @TA_S_HT_SINE(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #3 {
  %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 %729

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 %729

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 %729

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 %729

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 %729

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 %729

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 float, ptr %143, i64 %146
  %148 = load float, ptr %147, align 4, !tbaa !13
  %149 = fpext float %148 to double
  store double %149, ptr %20, align 8, !tbaa !11
  %150 = load double, ptr %20, align 8, !tbaa !11
  store double %150, ptr %26, align 8, !tbaa !11
  %151 = load double, ptr %20, align 8, !tbaa !11
  store double %151, ptr %25, align 8, !tbaa !11
  %152 = load ptr, ptr %11, align 8, !tbaa !9
  %153 = load i32, ptr %19, align 4, !tbaa !5
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %19, align 4, !tbaa !5
  %155 = sext i32 %153 to i64
  %156 = getelementptr inbounds float, ptr %152, i64 %155
  %157 = load float, ptr %156, align 4, !tbaa !13
  %158 = fpext float %157 to double
  store double %158, ptr %20, align 8, !tbaa !11
  %159 = load double, ptr %20, align 8, !tbaa !11
  %160 = load double, ptr %26, align 8, !tbaa !11
  %161 = fadd double %160, %159
  store double %161, ptr %26, align 8, !tbaa !11
  %162 = load double, ptr %20, align 8, !tbaa !11
  %163 = load double, ptr %25, align 8, !tbaa !11
  %164 = call double @llvm.fmuladd.f64(double %162, double 2.000000e+00, double %163)
  store double %164, ptr %25, align 8, !tbaa !11
  %165 = load ptr, ptr %11, align 8, !tbaa !9
  %166 = load i32, ptr %19, align 4, !tbaa !5
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %19, align 4, !tbaa !5
  %168 = sext i32 %166 to i64
  %169 = getelementptr inbounds float, ptr %165, i64 %168
  %170 = load float, ptr %169, align 4, !tbaa !13
  %171 = fpext float %170 to double
  store double %171, ptr %20, align 8, !tbaa !11
  %172 = load double, ptr %20, align 8, !tbaa !11
  %173 = load double, ptr %26, align 8, !tbaa !11
  %174 = fadd double %173, %172
  store double %174, ptr %26, align 8, !tbaa !11
  %175 = load double, ptr %20, align 8, !tbaa !11
  %176 = load double, ptr %25, align 8, !tbaa !11
  %177 = call double @llvm.fmuladd.f64(double %175, double 3.000000e+00, double %176)
  store double %177, 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 %178

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

207:                                              ; preds = %178
  %208 = load i32, ptr %17, align 4, !tbaa !5
  %209 = add nsw i32 %208, -1
  store i32 %209, ptr %17, align 4, !tbaa !5
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %178, label %211, !llvm.loop !15

211:                                              ; preds = %207
  store i32 0, ptr %32, align 4, !tbaa !5
  %212 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
  store double 0.000000e+00, ptr %212, align 16, !tbaa !11
  %213 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 1
  store double 0.000000e+00, ptr %213, align 8, !tbaa !11
  %214 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 2
  store double 0.000000e+00, ptr %214, align 16, !tbaa !11
  %215 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
  store double 0.000000e+00, ptr %215, align 16, !tbaa !11
  %216 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 1
  store double 0.000000e+00, ptr %216, align 8, !tbaa !11
  %217 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 2
  store double 0.000000e+00, ptr %217, 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
  %218 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
  store double 0.000000e+00, ptr %218, align 16, !tbaa !11
  %219 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 1
  store double 0.000000e+00, ptr %219, align 8, !tbaa !11
  %220 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 2
  store double 0.000000e+00, ptr %220, align 16, !tbaa !11
  %221 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
  store double 0.000000e+00, ptr %221, align 16, !tbaa !11
  %222 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 1
  store double 0.000000e+00, ptr %222, align 8, !tbaa !11
  %223 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 2
  store double 0.000000e+00, ptr %223, 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
  %224 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 0
  store double 0.000000e+00, ptr %224, align 16, !tbaa !11
  %225 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 1
  store double 0.000000e+00, ptr %225, align 8, !tbaa !11
  %226 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 2
  store double 0.000000e+00, ptr %226, align 16, !tbaa !11
  %227 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 0
  store double 0.000000e+00, ptr %227, align 16, !tbaa !11
  %228 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 1
  store double 0.000000e+00, ptr %228, align 8, !tbaa !11
  %229 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 2
  store double 0.000000e+00, ptr %229, 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
  %230 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 0
  store double 0.000000e+00, ptr %230, align 16, !tbaa !11
  %231 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 1
  store double 0.000000e+00, ptr %231, align 8, !tbaa !11
  %232 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 2
  store double 0.000000e+00, ptr %232, align 16, !tbaa !11
  %233 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 0
  store double 0.000000e+00, ptr %233, align 16, !tbaa !11
  %234 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 1
  store double 0.000000e+00, ptr %234, align 8, !tbaa !11
  %235 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 2
  store double 0.000000e+00, ptr %235, 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 %236

236:                                              ; preds = %244, %211
  %237 = load i32, ptr %17, align 4, !tbaa !5
  %238 = icmp slt i32 %237, 50
  br i1 %238, label %239, label %247

239:                                              ; preds = %236
  %240 = load ptr, ptr %78, align 8, !tbaa !9
  %241 = load i32, ptr %17, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds double, ptr %240, i64 %242
  store double 0.000000e+00, ptr %243, align 8, !tbaa !11
  br label %244

244:                                              ; preds = %239
  %245 = load i32, ptr %17, align 4, !tbaa !5
  %246 = add nsw i32 %245, 1
  store i32 %246, ptr %17, align 4, !tbaa !5
  br label %236, !llvm.loop !17

247:                                              ; preds = %236
  store double 0.000000e+00, ptr %82, align 8, !tbaa !11
  br label %248

248:                                              ; preds = %723, %247
  %249 = load i32, ptr %19, align 4, !tbaa !5
  %250 = load i32, ptr %10, align 4, !tbaa !5
  %251 = icmp sle i32 %249, %250
  br i1 %251, label %252, label %726

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

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

398:                                              ; preds = %290
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %399

399:                                              ; preds = %398, %290
  %400 = load double, ptr %42, align 8, !tbaa !11
  %401 = load double, ptr %49, align 8, !tbaa !11
  %402 = fadd double %400, %401
  %403 = load double, ptr %63, align 8, !tbaa !11
  %404 = fmul double 8.000000e-01, %403
  %405 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %402, double %404)
  store double %405, ptr %61, align 8, !tbaa !11
  %406 = load double, ptr %70, align 8, !tbaa !11
  %407 = load double, ptr %56, align 8, !tbaa !11
  %408 = fsub double %406, %407
  %409 = load double, ptr %64, align 8, !tbaa !11
  %410 = fmul double 8.000000e-01, %409
  %411 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %408, double %410)
  store double %411, ptr %62, align 8, !tbaa !11
  %412 = load double, ptr %67, align 8, !tbaa !11
  store double %412, ptr %68, align 8, !tbaa !11
  %413 = load double, ptr %35, align 8, !tbaa !11
  store double %413, ptr %67, align 8, !tbaa !11
  br label %533

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

533:                                              ; preds = %414, %399
  %534 = load double, ptr %62, align 8, !tbaa !11
  %535 = load double, ptr %64, align 8, !tbaa !11
  %536 = load double, ptr %61, align 8, !tbaa !11
  %537 = load double, ptr %63, align 8, !tbaa !11
  %538 = fmul double %536, %537
  %539 = call double @llvm.fmuladd.f64(double %534, double %535, double %538)
  %540 = load double, ptr %65, align 8, !tbaa !11
  %541 = fmul double 8.000000e-01, %540
  %542 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %539, double %541)
  store double %542, ptr %65, align 8, !tbaa !11
  %543 = load double, ptr %62, align 8, !tbaa !11
  %544 = load double, ptr %63, align 8, !tbaa !11
  %545 = load double, ptr %61, align 8, !tbaa !11
  %546 = load double, ptr %64, align 8, !tbaa !11
  %547 = fmul double %545, %546
  %548 = fneg double %547
  %549 = call double @llvm.fmuladd.f64(double %543, double %544, double %548)
  %550 = load double, ptr %66, align 8, !tbaa !11
  %551 = fmul double 8.000000e-01, %550
  %552 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %549, double %551)
  store double %552, ptr %66, align 8, !tbaa !11
  %553 = load double, ptr %61, align 8, !tbaa !11
  store double %553, ptr %63, align 8, !tbaa !11
  %554 = load double, ptr %62, align 8, !tbaa !11
  store double %554, ptr %64, align 8, !tbaa !11
  %555 = load double, ptr %23, align 8, !tbaa !11
  store double %555, ptr %20, align 8, !tbaa !11
  %556 = load double, ptr %66, align 8, !tbaa !11
  %557 = fcmp une double %556, 0.000000e+00
  br i1 %557, label %558, label %569

558:                                              ; preds = %533
  %559 = load double, ptr %65, align 8, !tbaa !11
  %560 = fcmp une double %559, 0.000000e+00
  br i1 %560, label %561, label %569

561:                                              ; preds = %558
  %562 = load double, ptr %66, align 8, !tbaa !11
  %563 = load double, ptr %65, align 8, !tbaa !11
  %564 = fdiv double %562, %563
  %565 = call double @atan(double noundef %564) #4
  %566 = load double, ptr %71, align 8, !tbaa !11
  %567 = fmul double %565, %566
  %568 = fdiv double 3.600000e+02, %567
  store double %568, ptr %23, align 8, !tbaa !11
  br label %569

569:                                              ; preds = %561, %558, %533
  %570 = load double, ptr %20, align 8, !tbaa !11
  %571 = fmul double 1.500000e+00, %570
  store double %571, ptr %21, align 8, !tbaa !11
  %572 = load double, ptr %23, align 8, !tbaa !11
  %573 = load double, ptr %21, align 8, !tbaa !11
  %574 = fcmp ogt double %572, %573
  br i1 %574, label %575, label %577

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

577:                                              ; preds = %575, %569
  %578 = load double, ptr %20, align 8, !tbaa !11
  %579 = fmul double 6.700000e-01, %578
  store double %579, ptr %21, align 8, !tbaa !11
  %580 = load double, ptr %23, align 8, !tbaa !11
  %581 = load double, ptr %21, align 8, !tbaa !11
  %582 = fcmp olt double %580, %581
  br i1 %582, label %583, label %585

583:                                              ; preds = %577
  %584 = load double, ptr %21, align 8, !tbaa !11
  store double %584, ptr %23, align 8, !tbaa !11
  br label %585

585:                                              ; preds = %583, %577
  %586 = load double, ptr %23, align 8, !tbaa !11
  %587 = fcmp olt double %586, 6.000000e+00
  br i1 %587, label %588, label %589

588:                                              ; preds = %585
  store double 6.000000e+00, ptr %23, align 8, !tbaa !11
  br label %594

589:                                              ; preds = %585
  %590 = load double, ptr %23, align 8, !tbaa !11
  %591 = fcmp ogt double %590, 5.000000e+01
  br i1 %591, label %592, label %593

592:                                              ; preds = %589
  store double 5.000000e+01, ptr %23, align 8, !tbaa !11
  br label %593

593:                                              ; preds = %592, %589
  br label %594

594:                                              ; preds = %593, %588
  %595 = load double, ptr %23, align 8, !tbaa !11
  %596 = load double, ptr %20, align 8, !tbaa !11
  %597 = fmul double 8.000000e-01, %596
  %598 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %595, double %597)
  store double %598, ptr %23, align 8, !tbaa !11
  %599 = load double, ptr %23, align 8, !tbaa !11
  %600 = load double, ptr %75, align 8, !tbaa !11
  %601 = fmul double 6.700000e-01, %600
  %602 = call double @llvm.fmuladd.f64(double 3.300000e-01, double %599, double %601)
  store double %602, ptr %75, align 8, !tbaa !11
  %603 = load double, ptr %75, align 8, !tbaa !11
  %604 = fadd double %603, 5.000000e-01
  store double %604, ptr %83, align 8, !tbaa !11
  %605 = load double, ptr %83, align 8, !tbaa !11
  %606 = fptosi double %605 to i32
  store i32 %606, 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
  %607 = load i32, ptr %77, align 4, !tbaa !5
  store i32 %607, ptr %80, align 4, !tbaa !5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %608

608:                                              ; preds = %642, %594
  %609 = load i32, ptr %17, align 4, !tbaa !5
  %610 = load i32, ptr %81, align 4, !tbaa !5
  %611 = icmp slt i32 %609, %610
  br i1 %611, label %612, label %645

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

637:                                              ; preds = %612
  store i32 49, ptr %80, align 4, !tbaa !5
  br label %641

638:                                              ; preds = %612
  %639 = load i32, ptr %80, align 4, !tbaa !5
  %640 = add nsw i32 %639, -1
  store i32 %640, ptr %80, align 4, !tbaa !5
  br label %641

641:                                              ; preds = %638, %637
  br label %642

642:                                              ; preds = %641
  %643 = load i32, ptr %17, align 4, !tbaa !5
  %644 = add nsw i32 %643, 1
  store i32 %644, ptr %17, align 4, !tbaa !5
  br label %608, !llvm.loop !18

645:                                              ; preds = %608
  %646 = load double, ptr %84, align 8, !tbaa !11
  %647 = call double @llvm.fabs.f64(double %646)
  store double %647, ptr %20, align 8, !tbaa !11
  %648 = load double, ptr %20, align 8, !tbaa !11
  %649 = fcmp ogt double %648, 0.000000e+00
  br i1 %649, label %650, label %657

650:                                              ; preds = %645
  %651 = load double, ptr %85, align 8, !tbaa !11
  %652 = load double, ptr %84, align 8, !tbaa !11
  %653 = fdiv double %651, %652
  %654 = call double @atan(double noundef %653) #4
  %655 = load double, ptr %71, align 8, !tbaa !11
  %656 = fmul double %654, %655
  store double %656, ptr %82, align 8, !tbaa !11
  br label %675

657:                                              ; preds = %645
  %658 = load double, ptr %20, align 8, !tbaa !11
  %659 = fcmp ole double %658, 1.000000e-02
  br i1 %659, label %660, label %674

660:                                              ; preds = %657
  %661 = load double, ptr %85, align 8, !tbaa !11
  %662 = fcmp olt double %661, 0.000000e+00
  br i1 %662, label %663, label %666

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

666:                                              ; preds = %660
  %667 = load double, ptr %85, align 8, !tbaa !11
  %668 = fcmp ogt double %667, 0.000000e+00
  br i1 %668, label %669, label %672

669:                                              ; preds = %666
  %670 = load double, ptr %82, align 8, !tbaa !11
  %671 = fadd double %670, 9.000000e+01
  store double %671, ptr %82, align 8, !tbaa !11
  br label %672

672:                                              ; preds = %669, %666
  br label %673

673:                                              ; preds = %672, %663
  br label %674

674:                                              ; preds = %673, %657
  br label %675

675:                                              ; preds = %674, %650
  %676 = load double, ptr %82, align 8, !tbaa !11
  %677 = fadd double %676, 9.000000e+01
  store double %677, ptr %82, align 8, !tbaa !11
  %678 = load double, ptr %75, align 8, !tbaa !11
  %679 = fdiv double 3.600000e+02, %678
  %680 = load double, ptr %82, align 8, !tbaa !11
  %681 = fadd double %680, %679
  store double %681, ptr %82, align 8, !tbaa !11
  %682 = load double, ptr %84, align 8, !tbaa !11
  %683 = fcmp olt double %682, 0.000000e+00
  br i1 %683, label %684, label %687

684:                                              ; preds = %675
  %685 = load double, ptr %82, align 8, !tbaa !11
  %686 = fadd double %685, 1.800000e+02
  store double %686, ptr %82, align 8, !tbaa !11
  br label %687

687:                                              ; preds = %684, %675
  %688 = load double, ptr %82, align 8, !tbaa !11
  %689 = fcmp ogt double %688, 3.150000e+02
  br i1 %689, label %690, label %693

690:                                              ; preds = %687
  %691 = load double, ptr %82, align 8, !tbaa !11
  %692 = fsub double %691, 3.600000e+02
  store double %692, ptr %82, align 8, !tbaa !11
  br label %693

693:                                              ; preds = %690, %687
  %694 = load i32, ptr %19, align 4, !tbaa !5
  %695 = load i32, ptr %9, align 4, !tbaa !5
  %696 = icmp sge i32 %694, %695
  br i1 %696, label %697, label %716

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

716:                                              ; preds = %697, %693
  %717 = load i32, ptr %77, align 4, !tbaa !5
  %718 = add nsw i32 %717, 1
  store i32 %718, ptr %77, align 4, !tbaa !5
  %719 = load i32, ptr %77, align 4, !tbaa !5
  %720 = load i32, ptr %79, align 4, !tbaa !5
  %721 = icmp sgt i32 %719, %720
  br i1 %721, label %722, label %723

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

723:                                              ; preds = %722, %716
  %724 = load i32, ptr %19, align 4, !tbaa !5
  %725 = add nsw i32 %724, 1
  store i32 %725, ptr %19, align 4, !tbaa !5
  br label %248, !llvm.loop !19

726:                                              ; preds = %248
  %727 = load i32, ptr %16, align 4, !tbaa !5
  %728 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 %727, ptr %728, align 4, !tbaa !5
  store i32 0, ptr %8, align 4
  store i32 1, ptr %86, align 4
  br label %729

729:                                              ; preds = %726, %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
  %730 = load i32, ptr %8, align 4
  ret i32 %730
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}


; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

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

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

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

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

; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable
define dso_local range(i32 0, 14) i32 @TA_S_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 #3 {
  %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 %288, label %18

18:                                               ; preds = %7
  %19 = icmp slt i32 %1, %0
  br i1 %19, label %288, 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 %288, 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 float, ptr %2, i64 %30
  %32 = load <2 x float>, ptr %31, align 4, !tbaa !11
  %33 = fpext <2 x float> %32 to <2 x double>
  %34 = extractelement <2 x double> %33, i64 0
  %35 = extractelement <2 x double> %33, i64 1
  %36 = fadd double %34, %35
  %37 = tail call double @llvm.fmuladd.f64(double %35, double 2.000000e+00, double %34)
  %38 = add i32 %29, 3
  %39 = getelementptr i8, ptr %31, i64 8
  %40 = load float, ptr %39, align 4, !tbaa !11
  %41 = fpext float %40 to double
  %42 = fadd double %36, %41
  %43 = tail call double @llvm.fmuladd.f64(double %41, double 3.000000e+00, double %37)
  %44 = sext i32 %38 to i64
  %45 = add i32 %29, 36
  %46 = zext nneg i32 %0 to i64
  %47 = sext i32 %25 to i64
  %smax = tail call i64 @llvm.smax.i64(i64 %46, i64 %47)
  %48 = trunc nsw i64 %smax to i32
  %49 = add nsw i32 %48, -62
  %50 = sub i32 %49, %24
  %invariant.gep = getelementptr i8, ptr %2, i64 4
  %invariant.gep489 = getelementptr i8, ptr %2, i64 4
  br label %51

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

.preheader:                                       ; preds = %51
  %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 !15
  %.not381396.not = icmp slt i32 %45, %1
  br i1 %.not381396.not, label %.lr.ph432.preheader, label %.sink.split

.lr.ph432.preheader:                              ; preds = %.preheader
  %71 = add i32 %29, 37
  %72 = sext i32 %71 to i64
  %73 = zext nneg i32 %spec.select to i64
  %74 = sext i32 %indvars.iv.next450.le to i64
  %75 = add i32 %1, 1
  br label %.lr.ph432

.lr.ph432:                                        ; preds = %.lr.ph432.preheader, %284
  %indvars.iv451 = phi i64 [ %74, %.lr.ph432.preheader ], [ %indvars.iv.next452, %284 ]
  %indvars.iv447 = phi i64 [ %72, %.lr.ph432.preheader ], [ %indvars.iv.next448, %284 ]
  %.0293431 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.3, %284 ]
  %.0297430 = phi i32 [ 0, %.lr.ph432.preheader ], [ %.1298, %284 ]
  %.0302429 = phi i32 [ 0, %.lr.ph432.preheader ], [ %spec.store.select2, %284 ]
  %.0303428 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %225, %284 ]
  %.0306426 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %223, %284 ]
  %.0310425 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1311, %284 ]
  %.0312424 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1313, %284 ]
  %.0314423 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1315, %284 ]
  %.0316422 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1317, %284 ]
  %.0324417 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1325, %284 ]
  %.0326416 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1327, %284 ]
  %.0328415 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1329, %284 ]
  %.0330414 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1331, %284 ]
  %.0348405 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1349, %284 ]
  %.0350404 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1351, %284 ]
  %.0352403 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1353, %284 ]
  %.0354402 = phi double [ 0.000000e+00, %.lr.ph432.preheader ], [ %.1355, %284 ]
  %.0356401 = phi i32 [ 0, %.lr.ph432.preheader ], [ %.1357, %284 ]
  %.1361399 = phi double [ %69, %.lr.ph432.preheader ], [ %93, %284 ]
  %.1363398 = phi double [ %68, %.lr.ph432.preheader ], [ %91, %284 ]
  %.1365397 = phi double [ %65, %.lr.ph432.preheader ], [ %87, %284 ]
  %76 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %185, %284 ]
  %77 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %186, %284 ]
  %78 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %187, %284 ]
  %79 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %188, %284 ]
  %80 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %287, %284 ]
  %81 = phi <2 x double> [ zeroinitializer, %.lr.ph432.preheader ], [ %201, %284 ]
  %82 = tail call double @llvm.fmuladd.f64(double %.0306426, double 0x3FB3333333333333, double 5.400000e-01)
  %83 = getelementptr inbounds float, ptr %2, i64 %indvars.iv447
  %84 = load float, ptr %83, align 4, !tbaa !11
  %85 = fpext float %84 to double
  %86 = fadd double %.1365397, %85
  %87 = fsub double %86, %.1363398
  %88 = tail call double @llvm.fmuladd.f64(double %85, double 4.000000e+00, double %.1361399)
  %indvars.iv.next452 = add nsw i64 %indvars.iv451, 1
  %89 = getelementptr inbounds float, ptr %2, i64 %indvars.iv451
  %90 = load float, ptr %89, align 4, !tbaa !11
  %91 = fpext float %90 to double
  %92 = fmul double %88, 1.000000e-01
  %93 = fsub double %88, %87
  %94 = sext i32 %.0302429 to i64
  %95 = getelementptr inbounds double, ptr %16, i64 %94
  store double %92, ptr %95, align 8, !tbaa !15
  %96 = and i64 %indvars.iv447, 1
  %97 = icmp eq i64 %96, 0
  %98 = fmul double %92, 0x3FB8A0902DE00D1B
  %99 = sext i32 %.0356401 to i64
  br i1 %97, label %100, label %143

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

143:                                              ; preds = %.lr.ph432
  %144 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %99
  %145 = load double, ptr %144, align 8, !tbaa !15
  store double %98, ptr %144, align 8, !tbaa !15
  %146 = fsub double %98, %145
  %147 = fsub double %146, %.0354402
  %148 = fmul double %.0350404, 5.769000e-01
  %149 = fadd double %148, %147
  %150 = fmul double %82, %149
  %151 = getelementptr inbounds [3 x double], ptr %10, i64 0, i64 %99
  %152 = load double, ptr %151, align 8, !tbaa !15
  %153 = fmul <2 x double> %76, <double 5.769000e-01, double 5.769000e-01>
  %154 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %99
  %155 = load double, ptr %154, align 8, !tbaa !15
  %156 = insertelement <2 x double> poison, double %.0314423, i64 0
  %157 = insertelement <2 x double> %156, double %150, i64 1
  %158 = fmul <2 x double> %157, <double 0x3FB8A0902DE00D1B, double 0x3FB8A0902DE00D1B>
  %159 = extractelement <2 x double> %158, i64 1
  store double %159, ptr %151, align 8, !tbaa !15
  %160 = extractelement <2 x double> %158, i64 0
  store double %160, ptr %154, align 8, !tbaa !15
  %161 = insertelement <2 x double> poison, double %155, i64 0
  %162 = insertelement <2 x double> %161, double %152, i64 1
  %163 = fsub <2 x double> %158, %162
  %164 = fsub <2 x double> %163, %77
  %165 = fadd <2 x double> %153, %164
  %166 = insertelement <2 x double> poison, double %82, i64 0
  %167 = shufflevector <2 x double> %166, <2 x double> poison, <2 x i32> zeroinitializer
  %168 = fmul <2 x double> %167, %165
  %169 = extractelement <2 x double> %168, i64 1
  %170 = fmul double %169, 0x3FB8A0902DE00D1B
  %171 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %99
  %172 = load double, ptr %171, align 8, !tbaa !15
  store double %170, ptr %171, align 8, !tbaa !15
  %173 = fsub double %170, %172
  %174 = fsub double %173, %.0330414
  %175 = fmul double %.0326416, 5.769000e-01
  %176 = fadd double %175, %174
  %177 = fmul double %82, %176
  %178 = extractelement <2 x double> %168, i64 0
  %179 = fadd double %178, %169
  %180 = extractelement <2 x double> %80, i64 0
  %181 = fmul double %180, 8.000000e-01
  %182 = tail call double @llvm.fmuladd.f64(double %179, double 2.000000e-01, double %181)
  %183 = fsub double %.0314423, %177
  br label %184

184:                                              ; preds = %143, %100
  %.sink = phi double [ %183, %143 ], [ %142, %100 ]
  %.1357 = phi i32 [ %.0356401, %143 ], [ %spec.store.select, %100 ]
  %.1355 = phi double [ %148, %143 ], [ %.0354402, %100 ]
  %.1353 = phi double [ %.0352403, %143 ], [ %105, %100 ]
  %.1351 = phi double [ %92, %143 ], [ %.0350404, %100 ]
  %.1349 = phi double [ %.0348405, %143 ], [ %92, %100 ]
  %.1331 = phi double [ %175, %143 ], [ %.0330414, %100 ]
  %.1329 = phi double [ %.0328415, %143 ], [ %132, %100 ]
  %.1327 = phi double [ %169, %143 ], [ %.0326416, %100 ]
  %.1325 = phi double [ %.0324417, %143 ], [ %126, %100 ]
  %.0323 = phi double [ %182, %143 ], [ %141, %100 ]
  %.1317 = phi double [ %.0316422, %143 ], [ %107, %100 ]
  %.1315 = phi double [ %.0314423, %143 ], [ %.0316422, %100 ]
  %.1313 = phi double [ %150, %143 ], [ %.0312424, %100 ]
  %.1311 = phi double [ %.0312424, %143 ], [ %.0310425, %100 ]
  %185 = phi <2 x double> [ %157, %143 ], [ %76, %100 ]
  %186 = phi <2 x double> [ %153, %143 ], [ %77, %100 ]
  %187 = phi <2 x double> [ %78, %143 ], [ %114, %100 ]
  %188 = phi <2 x double> [ %79, %143 ], [ %110, %100 ]
  %189 = extractelement <2 x double> %80, i64 1
  %190 = fmul double %189, 8.000000e-01
  %191 = tail call double @llvm.fmuladd.f64(double %.sink, double 2.000000e-01, double %190)
  %192 = fmul <2 x double> %81, <double 8.000000e-01, double 8.000000e-01>
  %193 = fneg double %.0323
  %194 = insertelement <2 x double> poison, double %.0323, i64 0
  %195 = insertelement <2 x double> %194, double %193, i64 1
  %196 = fmul <2 x double> %80, %195
  %197 = shufflevector <2 x double> %196, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %198 = insertelement <2 x double> poison, double %191, i64 0
  %199 = shufflevector <2 x double> %198, <2 x double> poison, <2 x i32> zeroinitializer
  %200 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %199, <2 x double> %80, <2 x double> %197)
  %201 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %200, <2 x double> <double 2.000000e-01, double 2.000000e-01>, <2 x double> %192)
  %202 = fcmp une <2 x double> %201, zeroinitializer
  %203 = extractelement <2 x i1> %202, i64 0
  %204 = extractelement <2 x i1> %202, i64 1
  %or.cond = select i1 %203, i1 %204, i1 false
  br i1 %or.cond, label %205, label %212

205:                                              ; preds = %184
  %206 = extractelement <2 x double> %201, i64 0
  %207 = extractelement <2 x double> %201, i64 1
  %208 = fdiv double %206, %207
  %209 = tail call double @atan(double noundef %208) #6
  %210 = fmul double %209, 0x404CA5DC1A63C1F8
  %211 = fdiv double 3.600000e+02, %210
  br label %212

212:                                              ; preds = %205, %184
  %.1307 = phi double [ %211, %205 ], [ %.0306426, %184 ]
  %213 = fmul double %.0306426, 1.500000e+00
  %214 = fcmp ogt double %.1307, %213
  %.2308 = select i1 %214, double %213, double %.1307
  %215 = fmul double %.0306426, 6.700000e-01
  %216 = fcmp olt double %.2308, %215
  %.3309 = select i1 %216, double %215, double %.2308
  %217 = fcmp olt double %.3309, 6.000000e+00
  br i1 %217, label %221, label %218

218:                                              ; preds = %212
  %219 = fcmp ogt double %.3309, 5.000000e+01
  br i1 %219, label %220, label %221

220:                                              ; preds = %218
  br label %221

221:                                              ; preds = %212, %218, %220
  %.4 = phi double [ 5.000000e+01, %220 ], [ %.3309, %218 ], [ 6.000000e+00, %212 ]
  %222 = fmul double %.0306426, 8.000000e-01
  %223 = tail call double @llvm.fmuladd.f64(double %.4, double 2.000000e-01, double %222)
  %224 = fmul double %.0303428, 6.700000e-01
  %225 = tail call double @llvm.fmuladd.f64(double %223, double 3.300000e-01, double %224)
  %226 = fadd double %225, 5.000000e-01
  %227 = fptosi double %226 to i32
  %228 = icmp sgt i32 %227, 0
  br i1 %228, label %.lr.ph, label %.thread471

.lr.ph:                                           ; preds = %221
  %229 = uitofp nneg i32 %227 to double
  br label %230

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

._crit_edge:                                      ; preds = %230
  %248 = extractelement <2 x double> %244, i64 1
  %249 = fcmp ueq double %248, 0.000000e+00
  br i1 %249, label %255, label %250

250:                                              ; preds = %._crit_edge
  %251 = extractelement <2 x double> %244, i64 0
  %252 = fdiv double %251, %248
  %253 = tail call double @atan(double noundef %252) #6
  %254 = fmul double %253, 0x404CA5DC1A63C1F8
  br label %.thread471

255:                                              ; preds = %._crit_edge
  %256 = tail call double @llvm.fabs.f64(double %248)
  %257 = fcmp ugt double %256, 1.000000e-02
  br i1 %257, label %.thread471, label %258

258:                                              ; preds = %255
  %259 = extractelement <2 x double> %244, i64 0
  %260 = fcmp olt double %259, 0.000000e+00
  br i1 %260, label %261, label %263

261:                                              ; preds = %258
  %262 = fadd double %.0293431, -9.000000e+01
  br label %.thread471

263:                                              ; preds = %258
  %264 = fcmp ogt double %259, 0.000000e+00
  br i1 %264, label %265, label %.thread471

265:                                              ; preds = %263
  %266 = fadd double %.0293431, 9.000000e+01
  br label %.thread471

.thread471:                                       ; preds = %221, %255, %263, %265, %261, %250
  %.0291.lcssa459 = phi double [ %248, %250 ], [ %248, %261 ], [ %248, %265 ], [ %248, %263 ], [ %248, %255 ], [ 0.000000e+00, %221 ]
  %.1 = phi double [ %254, %250 ], [ %262, %261 ], [ %266, %265 ], [ %.0293431, %263 ], [ %.0293431, %255 ], [ %.0293431, %221 ]
  %267 = fadd double %.1, 9.000000e+01
  %268 = fdiv double 3.600000e+02, %225
  %269 = fadd double %268, %267
  %270 = fcmp olt double %.0291.lcssa459, 0.000000e+00
  %271 = fadd double %269, 1.800000e+02
  %.2 = select i1 %270, double %271, double %269
  %272 = fcmp ogt double %.2, 3.150000e+02
  %273 = fadd double %.2, -3.600000e+02
  %.3 = select i1 %272, double %273, double %.2
  %.not382 = icmp slt i64 %indvars.iv447, %73
  br i1 %.not382, label %284, label %274

274:                                              ; preds = %.thread471
  %275 = fmul double %.3, 0x3F91DF46A2529D39
  %276 = tail call double @sin(double noundef %275) #6
  %277 = sext i32 %.0297430 to i64
  %278 = getelementptr inbounds double, ptr %5, i64 %277
  store double %276, ptr %278, align 8, !tbaa !15
  %279 = fadd double %.3, 4.500000e+01
  %280 = fmul double %279, 0x3F91DF46A2529D39
  %281 = tail call double @sin(double noundef %280) #6
  %282 = add nsw i32 %.0297430, 1
  %283 = getelementptr inbounds double, ptr %6, i64 %277
  store double %281, ptr %283, align 8, !tbaa !15
  br label %284

284:                                              ; preds = %274, %.thread471
  %.1298 = phi i32 [ %282, %274 ], [ %.0297430, %.thread471 ]
  %285 = add nsw i32 %.0302429, 1
  %286 = icmp sgt i32 %.0302429, 48
  %spec.store.select2 = select i1 %286, i32 0, i32 %285
  %indvars.iv.next448 = add nsw i64 %indvars.iv447, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next448 to i32
  %exitcond456.not = icmp eq i32 %75, %lftr.wideiv
  %287 = insertelement <2 x double> %194, double %191, i64 1
  br i1 %exitcond456.not, label %.sink.split, label %.lr.ph432, !llvm.loop !18

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

288:                                              ; 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: 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !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