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

; 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_PHASOR(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 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
  %74 = load i32, ptr %9, align 4, !tbaa !5
  %75 = icmp slt i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %7
  store i32 12, ptr %8, align 4
  store i32 1, ptr %73, align 4
  br label %594

77:                                               ; preds = %7
  %78 = load i32, ptr %10, align 4, !tbaa !5
  %79 = icmp slt i32 %78, 0
  br i1 %79, label %84, label %80

80:                                               ; preds = %77
  %81 = load i32, ptr %10, align 4, !tbaa !5
  %82 = load i32, ptr %9, align 4, !tbaa !5
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %84, label %85

84:                                               ; preds = %80, %77
  store i32 13, ptr %8, align 4
  store i32 1, ptr %73, align 4
  br label %594

85:                                               ; preds = %80
  %86 = load ptr, ptr %11, align 8, !tbaa !9
  %87 = icmp ne ptr %86, null
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  store i32 2, ptr %8, align 4
  store i32 1, ptr %73, align 4
  br label %594

89:                                               ; preds = %85
  %90 = load ptr, ptr %14, align 8, !tbaa !9
  %91 = icmp ne ptr %90, null
  br i1 %91, label %93, label %92

92:                                               ; preds = %89
  store i32 2, ptr %8, align 4
  store i32 1, ptr %73, align 4
  br label %594

93:                                               ; preds = %89
  %94 = load ptr, ptr %15, align 8, !tbaa !9
  %95 = icmp ne ptr %94, null
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  store i32 2, ptr %8, align 4
  store i32 1, ptr %73, align 4
  br label %594

97:                                               ; preds = %93
  %98 = call double @atan(double noundef 1.000000e+00) #4
  %99 = fmul double 4.000000e+00, %98
  %100 = fdiv double 1.800000e+02, %99
  store double %100, ptr %71, align 8, !tbaa !11
  %101 = load ptr, ptr @TA_Globals, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.TA_LibcPriv, ptr %101, i32 0, i32 7
  %103 = getelementptr inbounds [24 x i32], ptr %102, i64 0, i64 8
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = add i32 32, %104
  store i32 %105, ptr %18, align 4, !tbaa !5
  %106 = load i32, ptr %9, align 4, !tbaa !5
  %107 = load i32, ptr %18, align 4, !tbaa !5
  %108 = icmp slt i32 %106, %107
  br i1 %108, label %109, label %111

109:                                              ; preds = %97
  %110 = load i32, ptr %18, align 4, !tbaa !5
  store i32 %110, ptr %9, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %109, %97
  %112 = load i32, ptr %9, align 4, !tbaa !5
  %113 = load i32, ptr %10, align 4, !tbaa !5
  %114 = icmp sgt i32 %112, %113
  br i1 %114, label %115, label %118

115:                                              ; preds = %111
  %116 = load ptr, ptr %12, align 8, !tbaa !9
  store i32 0, ptr %116, align 4, !tbaa !5
  %117 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 0, ptr %117, align 4, !tbaa !5
  store i32 0, ptr %8, align 4
  store i32 1, ptr %73, align 4
  br label %594

118:                                              ; preds = %111
  %119 = load i32, ptr %9, align 4, !tbaa !5
  %120 = load ptr, ptr %12, align 8, !tbaa !9
  store i32 %119, ptr %120, align 4, !tbaa !5
  %121 = load i32, ptr %9, align 4, !tbaa !5
  %122 = load i32, ptr %18, align 4, !tbaa !5
  %123 = sub nsw i32 %121, %122
  store i32 %123, ptr %24, align 4, !tbaa !5
  %124 = load i32, ptr %24, align 4, !tbaa !5
  store i32 %124, ptr %19, align 4, !tbaa !5
  %125 = load ptr, ptr %11, align 8, !tbaa !9
  %126 = load i32, ptr %19, align 4, !tbaa !5
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %19, align 4, !tbaa !5
  %128 = sext i32 %126 to i64
  %129 = getelementptr inbounds double, ptr %125, i64 %128
  %130 = load double, ptr %129, align 8, !tbaa !11
  store double %130, ptr %20, align 8, !tbaa !11
  %131 = load double, ptr %20, align 8, !tbaa !11
  store double %131, ptr %26, align 8, !tbaa !11
  %132 = load double, ptr %20, align 8, !tbaa !11
  store double %132, ptr %25, align 8, !tbaa !11
  %133 = load ptr, ptr %11, align 8, !tbaa !9
  %134 = load i32, ptr %19, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %19, align 4, !tbaa !5
  %136 = sext i32 %134 to i64
  %137 = getelementptr inbounds double, ptr %133, i64 %136
  %138 = load double, ptr %137, align 8, !tbaa !11
  store double %138, ptr %20, align 8, !tbaa !11
  %139 = load double, ptr %20, align 8, !tbaa !11
  %140 = load double, ptr %26, align 8, !tbaa !11
  %141 = fadd double %140, %139
  store double %141, ptr %26, align 8, !tbaa !11
  %142 = load double, ptr %20, align 8, !tbaa !11
  %143 = load double, ptr %25, align 8, !tbaa !11
  %144 = call double @llvm.fmuladd.f64(double %142, double 2.000000e+00, double %143)
  store double %144, ptr %25, align 8, !tbaa !11
  %145 = load ptr, ptr %11, align 8, !tbaa !9
  %146 = load i32, ptr %19, align 4, !tbaa !5
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %19, align 4, !tbaa !5
  %148 = sext i32 %146 to i64
  %149 = getelementptr inbounds double, ptr %145, i64 %148
  %150 = load double, ptr %149, align 8, !tbaa !11
  store double %150, ptr %20, align 8, !tbaa !11
  %151 = load double, ptr %20, align 8, !tbaa !11
  %152 = load double, ptr %26, align 8, !tbaa !11
  %153 = fadd double %152, %151
  store double %153, ptr %26, align 8, !tbaa !11
  %154 = load double, ptr %20, align 8, !tbaa !11
  %155 = load double, ptr %25, align 8, !tbaa !11
  %156 = call double @llvm.fmuladd.f64(double %154, double 3.000000e+00, double %155)
  store double %156, ptr %25, align 8, !tbaa !11
  store double 0.000000e+00, ptr %27, align 8, !tbaa !11
  store i32 9, ptr %17, align 4, !tbaa !5
  br label %157

157:                                              ; preds = %184, %118
  %158 = load ptr, ptr %11, align 8, !tbaa !9
  %159 = load i32, ptr %19, align 4, !tbaa !5
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %19, align 4, !tbaa !5
  %161 = sext i32 %159 to i64
  %162 = getelementptr inbounds double, ptr %158, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !11
  store double %163, ptr %20, align 8, !tbaa !11
  %164 = load double, ptr %20, align 8, !tbaa !11
  %165 = load double, ptr %26, align 8, !tbaa !11
  %166 = fadd double %165, %164
  store double %166, ptr %26, align 8, !tbaa !11
  %167 = load double, ptr %27, align 8, !tbaa !11
  %168 = load double, ptr %26, align 8, !tbaa !11
  %169 = fsub double %168, %167
  store double %169, ptr %26, align 8, !tbaa !11
  %170 = load double, ptr %20, align 8, !tbaa !11
  %171 = load double, ptr %25, align 8, !tbaa !11
  %172 = call double @llvm.fmuladd.f64(double %170, double 4.000000e+00, double %171)
  store double %172, ptr %25, align 8, !tbaa !11
  %173 = load ptr, ptr %11, align 8, !tbaa !9
  %174 = load i32, ptr %24, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %24, align 4, !tbaa !5
  %176 = sext i32 %174 to i64
  %177 = getelementptr inbounds double, ptr %173, i64 %176
  %178 = load double, ptr %177, align 8, !tbaa !11
  store double %178, ptr %27, align 8, !tbaa !11
  %179 = load double, ptr %25, align 8, !tbaa !11
  %180 = fmul double %179, 1.000000e-01
  store double %180, ptr %28, align 8, !tbaa !11
  %181 = load double, ptr %26, align 8, !tbaa !11
  %182 = load double, ptr %25, align 8, !tbaa !11
  %183 = fsub double %182, %181
  store double %183, ptr %25, align 8, !tbaa !11
  br label %184

184:                                              ; preds = %157
  %185 = load i32, ptr %17, align 4, !tbaa !5
  %186 = add nsw i32 %185, -1
  store i32 %186, ptr %17, align 4, !tbaa !5
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %157, label %188, !llvm.loop !13

188:                                              ; preds = %184
  store i32 0, ptr %32, align 4, !tbaa !5
  %189 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 0
  store double 0.000000e+00, ptr %189, align 16, !tbaa !11
  %190 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 1
  store double 0.000000e+00, ptr %190, align 8, !tbaa !11
  %191 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 2
  store double 0.000000e+00, ptr %191, align 16, !tbaa !11
  %192 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
  store double 0.000000e+00, ptr %192, align 16, !tbaa !11
  %193 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 1
  store double 0.000000e+00, ptr %193, align 8, !tbaa !11
  %194 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 2
  store double 0.000000e+00, ptr %194, 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
  %195 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 0
  store double 0.000000e+00, ptr %195, align 16, !tbaa !11
  %196 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 1
  store double 0.000000e+00, ptr %196, align 8, !tbaa !11
  %197 = getelementptr inbounds [3 x double], ptr %40, i64 0, i64 2
  store double 0.000000e+00, ptr %197, align 16, !tbaa !11
  %198 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 0
  store double 0.000000e+00, ptr %198, align 16, !tbaa !11
  %199 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 1
  store double 0.000000e+00, ptr %199, align 8, !tbaa !11
  %200 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 2
  store double 0.000000e+00, ptr %200, 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
  %201 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 0
  store double 0.000000e+00, ptr %201, align 16, !tbaa !11
  %202 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 1
  store double 0.000000e+00, ptr %202, align 8, !tbaa !11
  %203 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 2
  store double 0.000000e+00, ptr %203, align 16, !tbaa !11
  %204 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 0
  store double 0.000000e+00, ptr %204, align 16, !tbaa !11
  %205 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 1
  store double 0.000000e+00, ptr %205, align 8, !tbaa !11
  %206 = getelementptr inbounds [3 x double], ptr %48, i64 0, i64 2
  store double 0.000000e+00, ptr %206, 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
  %207 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 0
  store double 0.000000e+00, ptr %207, align 16, !tbaa !11
  %208 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 1
  store double 0.000000e+00, ptr %208, align 8, !tbaa !11
  %209 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 2
  store double 0.000000e+00, ptr %209, align 16, !tbaa !11
  %210 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 0
  store double 0.000000e+00, ptr %210, align 16, !tbaa !11
  %211 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 1
  store double 0.000000e+00, ptr %211, align 8, !tbaa !11
  %212 = getelementptr inbounds [3 x double], ptr %55, i64 0, i64 2
  store double 0.000000e+00, ptr %212, 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
  br label %213

213:                                              ; preds = %584, %188
  %214 = load i32, ptr %19, align 4, !tbaa !5
  %215 = load i32, ptr %10, align 4, !tbaa !5
  %216 = icmp sle i32 %214, %215
  br i1 %216, label %217, label %591

217:                                              ; preds = %213
  %218 = load double, ptr %23, align 8, !tbaa !11
  %219 = call double @llvm.fmuladd.f64(double 0x3FB3333333333333, double %218, double 5.400000e-01)
  store double %219, ptr %22, align 8, !tbaa !11
  %220 = load ptr, ptr %11, align 8, !tbaa !9
  %221 = load i32, ptr %19, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds double, ptr %220, i64 %222
  %224 = load double, ptr %223, align 8, !tbaa !11
  store double %224, ptr %72, align 8, !tbaa !11
  %225 = load double, ptr %72, align 8, !tbaa !11
  %226 = load double, ptr %26, align 8, !tbaa !11
  %227 = fadd double %226, %225
  store double %227, ptr %26, align 8, !tbaa !11
  %228 = load double, ptr %27, align 8, !tbaa !11
  %229 = load double, ptr %26, align 8, !tbaa !11
  %230 = fsub double %229, %228
  store double %230, ptr %26, align 8, !tbaa !11
  %231 = load double, ptr %72, align 8, !tbaa !11
  %232 = load double, ptr %25, align 8, !tbaa !11
  %233 = call double @llvm.fmuladd.f64(double %231, double 4.000000e+00, double %232)
  store double %233, ptr %25, align 8, !tbaa !11
  %234 = load ptr, ptr %11, align 8, !tbaa !9
  %235 = load i32, ptr %24, align 4, !tbaa !5
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %24, align 4, !tbaa !5
  %237 = sext i32 %235 to i64
  %238 = getelementptr inbounds double, ptr %234, i64 %237
  %239 = load double, ptr %238, align 8, !tbaa !11
  store double %239, ptr %27, align 8, !tbaa !11
  %240 = load double, ptr %25, align 8, !tbaa !11
  %241 = fmul double %240, 1.000000e-01
  store double %241, ptr %28, align 8, !tbaa !11
  %242 = load double, ptr %26, align 8, !tbaa !11
  %243 = load double, ptr %25, align 8, !tbaa !11
  %244 = fsub double %243, %242
  store double %244, ptr %25, align 8, !tbaa !11
  %245 = load i32, ptr %19, align 4, !tbaa !5
  %246 = srem i32 %245, 2
  %247 = icmp eq i32 %246, 0
  br i1 %247, label %248, label %388

248:                                              ; preds = %217
  %249 = load double, ptr %28, align 8, !tbaa !11
  %250 = fmul double 0x3FB8A0902DE00D1B, %249
  store double %250, ptr %31, align 8, !tbaa !11
  %251 = load i32, ptr %32, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %252
  %254 = load double, ptr %253, align 8, !tbaa !11
  %255 = fneg double %254
  store double %255, ptr %35, align 8, !tbaa !11
  %256 = load double, ptr %31, align 8, !tbaa !11
  %257 = load i32, ptr %32, align 4, !tbaa !5
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 %258
  store double %256, ptr %259, align 8, !tbaa !11
  %260 = load double, ptr %31, align 8, !tbaa !11
  %261 = load double, ptr %35, align 8, !tbaa !11
  %262 = fadd double %261, %260
  store double %262, ptr %35, align 8, !tbaa !11
  %263 = load double, ptr %37, align 8, !tbaa !11
  %264 = load double, ptr %35, align 8, !tbaa !11
  %265 = fsub double %264, %263
  store double %265, ptr %35, align 8, !tbaa !11
  %266 = load double, ptr %39, align 8, !tbaa !11
  %267 = fmul double 5.769000e-01, %266
  store double %267, ptr %37, align 8, !tbaa !11
  %268 = load double, ptr %37, align 8, !tbaa !11
  %269 = load double, ptr %35, align 8, !tbaa !11
  %270 = fadd double %269, %268
  store double %270, ptr %35, align 8, !tbaa !11
  %271 = load double, ptr %28, align 8, !tbaa !11
  store double %271, ptr %39, align 8, !tbaa !11
  %272 = load double, ptr %22, align 8, !tbaa !11
  %273 = load double, ptr %35, align 8, !tbaa !11
  %274 = fmul double %273, %272
  store double %274, ptr %35, align 8, !tbaa !11
  %275 = load double, ptr %35, align 8, !tbaa !11
  %276 = fmul double 0x3FB8A0902DE00D1B, %275
  store double %276, ptr %31, align 8, !tbaa !11
  %277 = load i32, ptr %32, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %278
  %280 = load double, ptr %279, align 8, !tbaa !11
  %281 = fneg double %280
  store double %281, ptr %42, align 8, !tbaa !11
  %282 = load double, ptr %31, align 8, !tbaa !11
  %283 = load i32, ptr %32, align 4, !tbaa !5
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 %284
  store double %282, ptr %285, align 8, !tbaa !11
  %286 = load double, ptr %31, align 8, !tbaa !11
  %287 = load double, ptr %42, align 8, !tbaa !11
  %288 = fadd double %287, %286
  store double %288, ptr %42, align 8, !tbaa !11
  %289 = load double, ptr %44, align 8, !tbaa !11
  %290 = load double, ptr %42, align 8, !tbaa !11
  %291 = fsub double %290, %289
  store double %291, ptr %42, align 8, !tbaa !11
  %292 = load double, ptr %46, align 8, !tbaa !11
  %293 = fmul double 5.769000e-01, %292
  store double %293, ptr %44, align 8, !tbaa !11
  %294 = load double, ptr %44, align 8, !tbaa !11
  %295 = load double, ptr %42, align 8, !tbaa !11
  %296 = fadd double %295, %294
  store double %296, ptr %42, align 8, !tbaa !11
  %297 = load double, ptr %35, align 8, !tbaa !11
  store double %297, ptr %46, align 8, !tbaa !11
  %298 = load double, ptr %22, align 8, !tbaa !11
  %299 = load double, ptr %42, align 8, !tbaa !11
  %300 = fmul double %299, %298
  store double %300, ptr %42, align 8, !tbaa !11
  %301 = load i32, ptr %19, align 4, !tbaa !5
  %302 = load i32, ptr %9, align 4, !tbaa !5
  %303 = icmp sge i32 %301, %302
  br i1 %303, label %304, label %316

304:                                              ; preds = %248
  %305 = load double, ptr %42, align 8, !tbaa !11
  %306 = load ptr, ptr %15, align 8, !tbaa !9
  %307 = load i32, ptr %16, align 4, !tbaa !5
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds double, ptr %306, i64 %308
  store double %305, ptr %309, align 8, !tbaa !11
  %310 = load double, ptr %70, align 8, !tbaa !11
  %311 = load ptr, ptr %14, align 8, !tbaa !9
  %312 = load i32, ptr %16, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr %16, align 4, !tbaa !5
  %314 = sext i32 %312 to i64
  %315 = getelementptr inbounds double, ptr %311, i64 %314
  store double %310, ptr %315, align 8, !tbaa !11
  br label %316

316:                                              ; preds = %304, %248
  %317 = load double, ptr %70, 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 %48, i64 0, i64 %320
  %322 = load double, ptr %321, align 8, !tbaa !11
  %323 = fneg double %322
  store double %323, ptr %49, 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 %48, 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 %49, align 8, !tbaa !11
  %330 = fadd double %329, %328
  store double %330, ptr %49, align 8, !tbaa !11
  %331 = load double, ptr %51, align 8, !tbaa !11
  %332 = load double, ptr %49, align 8, !tbaa !11
  %333 = fsub double %332, %331
  store double %333, ptr %49, align 8, !tbaa !11
  %334 = load double, ptr %53, align 8, !tbaa !11
  %335 = fmul double 5.769000e-01, %334
  store double %335, ptr %51, align 8, !tbaa !11
  %336 = load double, ptr %51, align 8, !tbaa !11
  %337 = load double, ptr %49, align 8, !tbaa !11
  %338 = fadd double %337, %336
  store double %338, ptr %49, align 8, !tbaa !11
  %339 = load double, ptr %70, align 8, !tbaa !11
  store double %339, ptr %53, align 8, !tbaa !11
  %340 = load double, ptr %22, align 8, !tbaa !11
  %341 = load double, ptr %49, align 8, !tbaa !11
  %342 = fmul double %341, %340
  store double %342, ptr %49, align 8, !tbaa !11
  %343 = load double, ptr %42, 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 %55, i64 0, i64 %346
  %348 = load double, ptr %347, align 8, !tbaa !11
  %349 = fneg double %348
  store double %349, ptr %56, 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 %55, 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 %56, align 8, !tbaa !11
  %356 = fadd double %355, %354
  store double %356, ptr %56, align 8, !tbaa !11
  %357 = load double, ptr %58, align 8, !tbaa !11
  %358 = load double, ptr %56, align 8, !tbaa !11
  %359 = fsub double %358, %357
  store double %359, ptr %56, align 8, !tbaa !11
  %360 = load double, ptr %60, align 8, !tbaa !11
  %361 = fmul double 5.769000e-01, %360
  store double %361, ptr %58, align 8, !tbaa !11
  %362 = load double, ptr %58, align 8, !tbaa !11
  %363 = load double, ptr %56, align 8, !tbaa !11
  %364 = fadd double %363, %362
  store double %364, ptr %56, align 8, !tbaa !11
  %365 = load double, ptr %42, align 8, !tbaa !11
  store double %365, ptr %60, align 8, !tbaa !11
  %366 = load double, ptr %22, align 8, !tbaa !11
  %367 = load double, ptr %56, align 8, !tbaa !11
  %368 = fmul double %367, %366
  store double %368, ptr %56, align 8, !tbaa !11
  %369 = load i32, ptr %32, align 4, !tbaa !5
  %370 = add nsw i32 %369, 1
  store i32 %370, ptr %32, align 4, !tbaa !5
  %371 = icmp eq i32 %370, 3
  br i1 %371, label %372, label %373

372:                                              ; preds = %316
  store i32 0, ptr %32, align 4, !tbaa !5
  br label %373

373:                                              ; preds = %372, %316
  %374 = load double, ptr %42, align 8, !tbaa !11
  %375 = load double, ptr %49, align 8, !tbaa !11
  %376 = fadd double %374, %375
  %377 = load double, ptr %63, align 8, !tbaa !11
  %378 = fmul double 8.000000e-01, %377
  %379 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %376, double %378)
  store double %379, ptr %61, align 8, !tbaa !11
  %380 = load double, ptr %70, align 8, !tbaa !11
  %381 = load double, ptr %56, align 8, !tbaa !11
  %382 = fsub double %380, %381
  %383 = load double, ptr %64, align 8, !tbaa !11
  %384 = fmul double 8.000000e-01, %383
  %385 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %382, double %384)
  store double %385, ptr %62, align 8, !tbaa !11
  %386 = load double, ptr %67, align 8, !tbaa !11
  store double %386, ptr %68, align 8, !tbaa !11
  %387 = load double, ptr %35, align 8, !tbaa !11
  store double %387, ptr %67, align 8, !tbaa !11
  br label %523

388:                                              ; preds = %217
  %389 = load double, ptr %28, align 8, !tbaa !11
  %390 = fmul double 0x3FB8A0902DE00D1B, %389
  store double %390, ptr %31, align 8, !tbaa !11
  %391 = load i32, ptr %32, align 4, !tbaa !5
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %392
  %394 = load double, ptr %393, align 8, !tbaa !11
  %395 = fneg double %394
  store double %395, ptr %35, align 8, !tbaa !11
  %396 = load double, ptr %31, align 8, !tbaa !11
  %397 = load i32, ptr %32, align 4, !tbaa !5
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds [3 x double], ptr %33, i64 0, i64 %398
  store double %396, ptr %399, align 8, !tbaa !11
  %400 = load double, ptr %31, align 8, !tbaa !11
  %401 = load double, ptr %35, align 8, !tbaa !11
  %402 = fadd double %401, %400
  store double %402, ptr %35, align 8, !tbaa !11
  %403 = load double, ptr %36, align 8, !tbaa !11
  %404 = load double, ptr %35, align 8, !tbaa !11
  %405 = fsub double %404, %403
  store double %405, ptr %35, align 8, !tbaa !11
  %406 = load double, ptr %38, align 8, !tbaa !11
  %407 = fmul double 5.769000e-01, %406
  store double %407, ptr %36, align 8, !tbaa !11
  %408 = load double, ptr %36, align 8, !tbaa !11
  %409 = load double, ptr %35, align 8, !tbaa !11
  %410 = fadd double %409, %408
  store double %410, ptr %35, align 8, !tbaa !11
  %411 = load double, ptr %28, align 8, !tbaa !11
  store double %411, ptr %38, align 8, !tbaa !11
  %412 = load double, ptr %22, align 8, !tbaa !11
  %413 = load double, ptr %35, align 8, !tbaa !11
  %414 = fmul double %413, %412
  store double %414, ptr %35, align 8, !tbaa !11
  %415 = load double, ptr %35, 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 %40, i64 0, i64 %418
  %420 = load double, ptr %419, align 8, !tbaa !11
  %421 = fneg double %420
  store double %421, ptr %42, 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 %40, 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 %42, align 8, !tbaa !11
  %428 = fadd double %427, %426
  store double %428, ptr %42, align 8, !tbaa !11
  %429 = load double, ptr %43, align 8, !tbaa !11
  %430 = load double, ptr %42, align 8, !tbaa !11
  %431 = fsub double %430, %429
  store double %431, ptr %42, align 8, !tbaa !11
  %432 = load double, ptr %45, align 8, !tbaa !11
  %433 = fmul double 5.769000e-01, %432
  store double %433, ptr %43, align 8, !tbaa !11
  %434 = load double, ptr %43, align 8, !tbaa !11
  %435 = load double, ptr %42, align 8, !tbaa !11
  %436 = fadd double %435, %434
  store double %436, ptr %42, align 8, !tbaa !11
  %437 = load double, ptr %35, align 8, !tbaa !11
  store double %437, ptr %45, align 8, !tbaa !11
  %438 = load double, ptr %22, align 8, !tbaa !11
  %439 = load double, ptr %42, align 8, !tbaa !11
  %440 = fmul double %439, %438
  store double %440, ptr %42, align 8, !tbaa !11
  %441 = load i32, ptr %19, align 4, !tbaa !5
  %442 = load i32, ptr %9, align 4, !tbaa !5
  %443 = icmp sge i32 %441, %442
  br i1 %443, label %444, label %456

444:                                              ; preds = %388
  %445 = load double, ptr %42, align 8, !tbaa !11
  %446 = load ptr, ptr %15, align 8, !tbaa !9
  %447 = load i32, ptr %16, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds double, ptr %446, i64 %448
  store double %445, ptr %449, align 8, !tbaa !11
  %450 = load double, ptr %68, align 8, !tbaa !11
  %451 = load ptr, ptr %14, align 8, !tbaa !9
  %452 = load i32, ptr %16, align 4, !tbaa !5
  %453 = add nsw i32 %452, 1
  store i32 %453, ptr %16, align 4, !tbaa !5
  %454 = sext i32 %452 to i64
  %455 = getelementptr inbounds double, ptr %451, i64 %454
  store double %450, ptr %455, align 8, !tbaa !11
  br label %456

456:                                              ; preds = %444, %388
  %457 = load double, ptr %68, align 8, !tbaa !11
  %458 = fmul double 0x3FB8A0902DE00D1B, %457
  store double %458, ptr %31, align 8, !tbaa !11
  %459 = load i32, ptr %32, align 4, !tbaa !5
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 %460
  %462 = load double, ptr %461, align 8, !tbaa !11
  %463 = fneg double %462
  store double %463, ptr %49, align 8, !tbaa !11
  %464 = load double, ptr %31, align 8, !tbaa !11
  %465 = load i32, ptr %32, align 4, !tbaa !5
  %466 = sext i32 %465 to i64
  %467 = getelementptr inbounds [3 x double], ptr %47, i64 0, i64 %466
  store double %464, ptr %467, align 8, !tbaa !11
  %468 = load double, ptr %31, align 8, !tbaa !11
  %469 = load double, ptr %49, align 8, !tbaa !11
  %470 = fadd double %469, %468
  store double %470, ptr %49, align 8, !tbaa !11
  %471 = load double, ptr %50, align 8, !tbaa !11
  %472 = load double, ptr %49, align 8, !tbaa !11
  %473 = fsub double %472, %471
  store double %473, ptr %49, align 8, !tbaa !11
  %474 = load double, ptr %52, align 8, !tbaa !11
  %475 = fmul double 5.769000e-01, %474
  store double %475, ptr %50, align 8, !tbaa !11
  %476 = load double, ptr %50, align 8, !tbaa !11
  %477 = load double, ptr %49, align 8, !tbaa !11
  %478 = fadd double %477, %476
  store double %478, ptr %49, align 8, !tbaa !11
  %479 = load double, ptr %68, align 8, !tbaa !11
  store double %479, ptr %52, align 8, !tbaa !11
  %480 = load double, ptr %22, align 8, !tbaa !11
  %481 = load double, ptr %49, align 8, !tbaa !11
  %482 = fmul double %481, %480
  store double %482, ptr %49, align 8, !tbaa !11
  %483 = load double, ptr %42, align 8, !tbaa !11
  %484 = fmul double 0x3FB8A0902DE00D1B, %483
  store double %484, ptr %31, align 8, !tbaa !11
  %485 = load i32, ptr %32, align 4, !tbaa !5
  %486 = sext i32 %485 to i64
  %487 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 %486
  %488 = load double, ptr %487, align 8, !tbaa !11
  %489 = fneg double %488
  store double %489, ptr %56, align 8, !tbaa !11
  %490 = load double, ptr %31, align 8, !tbaa !11
  %491 = load i32, ptr %32, align 4, !tbaa !5
  %492 = sext i32 %491 to i64
  %493 = getelementptr inbounds [3 x double], ptr %54, i64 0, i64 %492
  store double %490, ptr %493, align 8, !tbaa !11
  %494 = load double, ptr %31, align 8, !tbaa !11
  %495 = load double, ptr %56, align 8, !tbaa !11
  %496 = fadd double %495, %494
  store double %496, ptr %56, align 8, !tbaa !11
  %497 = load double, ptr %57, align 8, !tbaa !11
  %498 = load double, ptr %56, align 8, !tbaa !11
  %499 = fsub double %498, %497
  store double %499, ptr %56, align 8, !tbaa !11
  %500 = load double, ptr %59, align 8, !tbaa !11
  %501 = fmul double 5.769000e-01, %500
  store double %501, ptr %57, align 8, !tbaa !11
  %502 = load double, ptr %57, align 8, !tbaa !11
  %503 = load double, ptr %56, align 8, !tbaa !11
  %504 = fadd double %503, %502
  store double %504, ptr %56, align 8, !tbaa !11
  %505 = load double, ptr %42, align 8, !tbaa !11
  store double %505, ptr %59, align 8, !tbaa !11
  %506 = load double, ptr %22, align 8, !tbaa !11
  %507 = load double, ptr %56, align 8, !tbaa !11
  %508 = fmul double %507, %506
  store double %508, ptr %56, align 8, !tbaa !11
  %509 = load double, ptr %42, align 8, !tbaa !11
  %510 = load double, ptr %49, align 8, !tbaa !11
  %511 = fadd double %509, %510
  %512 = load double, ptr %63, align 8, !tbaa !11
  %513 = fmul double 8.000000e-01, %512
  %514 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %511, double %513)
  store double %514, ptr %61, align 8, !tbaa !11
  %515 = load double, ptr %68, align 8, !tbaa !11
  %516 = load double, ptr %56, align 8, !tbaa !11
  %517 = fsub double %515, %516
  %518 = load double, ptr %64, align 8, !tbaa !11
  %519 = fmul double 8.000000e-01, %518
  %520 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %517, double %519)
  store double %520, ptr %62, align 8, !tbaa !11
  %521 = load double, ptr %69, align 8, !tbaa !11
  store double %521, ptr %70, align 8, !tbaa !11
  %522 = load double, ptr %35, align 8, !tbaa !11
  store double %522, ptr %69, align 8, !tbaa !11
  br label %523

523:                                              ; preds = %456, %373
  %524 = load double, ptr %62, align 8, !tbaa !11
  %525 = load double, ptr %64, align 8, !tbaa !11
  %526 = load double, ptr %61, align 8, !tbaa !11
  %527 = load double, ptr %63, align 8, !tbaa !11
  %528 = fmul double %526, %527
  %529 = call double @llvm.fmuladd.f64(double %524, double %525, double %528)
  %530 = load double, ptr %65, align 8, !tbaa !11
  %531 = fmul double 8.000000e-01, %530
  %532 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %529, double %531)
  store double %532, ptr %65, align 8, !tbaa !11
  %533 = load double, ptr %62, align 8, !tbaa !11
  %534 = load double, ptr %63, align 8, !tbaa !11
  %535 = load double, ptr %61, align 8, !tbaa !11
  %536 = load double, ptr %64, align 8, !tbaa !11
  %537 = fmul double %535, %536
  %538 = fneg double %537
  %539 = call double @llvm.fmuladd.f64(double %533, double %534, double %538)
  %540 = load double, ptr %66, 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 %66, align 8, !tbaa !11
  %543 = load double, ptr %61, align 8, !tbaa !11
  store double %543, ptr %63, align 8, !tbaa !11
  %544 = load double, ptr %62, align 8, !tbaa !11
  store double %544, ptr %64, align 8, !tbaa !11
  %545 = load double, ptr %23, align 8, !tbaa !11
  store double %545, ptr %20, align 8, !tbaa !11
  %546 = load double, ptr %66, align 8, !tbaa !11
  %547 = fcmp une double %546, 0.000000e+00
  br i1 %547, label %548, label %559

548:                                              ; preds = %523
  %549 = load double, ptr %65, align 8, !tbaa !11
  %550 = fcmp une double %549, 0.000000e+00
  br i1 %550, label %551, label %559

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

559:                                              ; preds = %551, %548, %523
  %560 = load double, ptr %20, align 8, !tbaa !11
  %561 = fmul double 1.500000e+00, %560
  store double %561, ptr %21, align 8, !tbaa !11
  %562 = load double, ptr %23, align 8, !tbaa !11
  %563 = load double, ptr %21, align 8, !tbaa !11
  %564 = fcmp ogt double %562, %563
  br i1 %564, label %565, label %567

565:                                              ; preds = %559
  %566 = load double, ptr %21, align 8, !tbaa !11
  store double %566, ptr %23, align 8, !tbaa !11
  br label %567

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

573:                                              ; preds = %567
  %574 = load double, ptr %21, align 8, !tbaa !11
  store double %574, ptr %23, align 8, !tbaa !11
  br label %575

575:                                              ; preds = %573, %567
  %576 = load double, ptr %23, align 8, !tbaa !11
  %577 = fcmp olt double %576, 6.000000e+00
  br i1 %577, label %578, label %579

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

579:                                              ; preds = %575
  %580 = load double, ptr %23, align 8, !tbaa !11
  %581 = fcmp ogt double %580, 5.000000e+01
  br i1 %581, label %582, label %583

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

583:                                              ; preds = %582, %579
  br label %584

584:                                              ; preds = %583, %578
  %585 = load double, ptr %23, align 8, !tbaa !11
  %586 = load double, ptr %20, align 8, !tbaa !11
  %587 = fmul double 8.000000e-01, %586
  %588 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %585, double %587)
  store double %588, ptr %23, align 8, !tbaa !11
  %589 = load i32, ptr %19, align 4, !tbaa !5
  %590 = add nsw i32 %589, 1
  store i32 %590, ptr %19, align 4, !tbaa !5
  br label %213, !llvm.loop !15

591:                                              ; preds = %213
  %592 = load i32, ptr %16, align 4, !tbaa !5
  %593 = load ptr, ptr %13, align 8, !tbaa !9
  store i32 %592, ptr %593, align 4, !tbaa !5
  store i32 0, ptr %8, align 4
  store i32 1, ptr %73, align 4
  br label %594

594:                                              ; preds = %591, %115, %96, %92, %88, %84, %76
  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
  %595 = load i32, ptr %8, align 4
  ret i32 %595
}

; 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: 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}


; 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_PHASOR(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
  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
  %16 = icmp slt i32 %0, 0
  br i1 %16, label %268, label %17

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

19:                                               ; preds = %17
  %.not = icmp eq ptr %2, null
  %.not320 = icmp eq ptr %5, null
  %or.cond327 = or i1 %.not, %.not320
  %.not321 = icmp eq ptr %6, null
  %or.cond328 = or i1 %or.cond327, %.not321
  br i1 %or.cond328, label %268, label %20

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

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

27:                                               ; preds = %20
  store i32 %spec.select, ptr %3, align 4, !tbaa !9
  %28 = sub nsw i32 %spec.select, %24
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds double, ptr %2, i64 %29
  %31 = load double, ptr %30, align 8, !tbaa !11
  %32 = getelementptr i8, ptr %30, i64 8
  %33 = load double, ptr %32, align 8, !tbaa !11
  %34 = add i32 %28, 3
  %35 = getelementptr i8, ptr %30, i64 16
  %36 = load double, ptr %35, align 8, !tbaa !11
  %37 = sext i32 %34 to i64
  %38 = add nsw i64 %37, 8
  %39 = getelementptr inbounds double, ptr %2, i64 %37
  %40 = load double, ptr %39, align 8, !tbaa !11
  %41 = getelementptr double, ptr %2, i64 %37
  %42 = getelementptr i8, ptr %41, i64 8
  %43 = load double, ptr %42, align 8, !tbaa !11
  %44 = getelementptr double, ptr %2, i64 %37
  %45 = getelementptr i8, ptr %44, i64 16
  %46 = load double, ptr %45, align 8, !tbaa !11
  %47 = getelementptr double, ptr %2, i64 %37
  %48 = getelementptr i8, ptr %47, i64 24
  %49 = load double, ptr %48, align 8, !tbaa !11
  %50 = getelementptr double, ptr %2, i64 %29
  %51 = getelementptr i8, ptr %50, i64 24
  %52 = load double, ptr %51, align 8, !tbaa !11
  %53 = getelementptr double, ptr %2, i64 %37
  %54 = getelementptr i8, ptr %53, i64 32
  %55 = load double, ptr %54, align 8, !tbaa !11
  %56 = getelementptr double, ptr %2, i64 %29
  %57 = getelementptr i8, ptr %56, i64 32
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = getelementptr double, ptr %2, i64 %37
  %60 = getelementptr i8, ptr %59, i64 40
  %61 = load double, ptr %60, align 8, !tbaa !11
  %62 = getelementptr double, ptr %2, i64 %29
  %63 = getelementptr i8, ptr %62, i64 40
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = getelementptr double, ptr %2, i64 %37
  %66 = getelementptr i8, ptr %65, i64 48
  %67 = load double, ptr %66, align 8, !tbaa !11
  %68 = getelementptr double, ptr %2, i64 %29
  %69 = getelementptr i8, ptr %68, i64 48
  %70 = load double, ptr %69, align 8, !tbaa !11
  %71 = getelementptr double, ptr %2, i64 %37
  %72 = getelementptr i8, ptr %71, i64 56
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = getelementptr double, ptr %2, i64 %29
  %75 = getelementptr i8, ptr %74, i64 56
  %76 = load double, ptr %75, align 8, !tbaa !11
  %77 = getelementptr inbounds double, ptr %2, i64 %38
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = getelementptr double, ptr %2, i64 %29
  %80 = getelementptr i8, ptr %79, i64 64
  %81 = load double, ptr %80, align 8, !tbaa !11
  %82 = trunc nsw i64 %38 to i32
  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)
  %.not323333.not = icmp slt i32 %82, %1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %15, i8 0, i64 24, i1 false)
  br i1 %.not323333.not, label %.lr.ph.preheader, label %.sink.split

.lr.ph.preheader:                                 ; preds = %27
  %83 = add i32 %28, 12
  %indvars.iv.next371.8 = add i32 %28, 9
  %84 = tail call double @llvm.fmuladd.f64(double %33, double 2.000000e+00, double %31)
  %85 = tail call double @llvm.fmuladd.f64(double %36, double 3.000000e+00, double %84)
  %86 = tail call double @llvm.fmuladd.f64(double %40, double 4.000000e+00, double %85)
  %87 = fadd double %31, %33
  %88 = fadd double %87, %36
  %89 = fadd double %88, %40
  %90 = fsub double %86, %89
  %91 = tail call double @llvm.fmuladd.f64(double %43, double 4.000000e+00, double %90)
  %92 = fadd double %89, %43
  %93 = fsub double %92, %31
  %94 = fsub double %91, %93
  %95 = tail call double @llvm.fmuladd.f64(double %46, double 4.000000e+00, double %94)
  %96 = fadd double %93, %46
  %97 = fsub double %96, %33
  %98 = fsub double %95, %97
  %99 = tail call double @llvm.fmuladd.f64(double %49, double 4.000000e+00, double %98)
  %100 = fadd double %97, %49
  %101 = fsub double %100, %36
  %102 = fsub double %99, %101
  %103 = tail call double @llvm.fmuladd.f64(double %55, double 4.000000e+00, double %102)
  %104 = fadd double %101, %55
  %105 = fsub double %104, %52
  %106 = fsub double %103, %105
  %107 = tail call double @llvm.fmuladd.f64(double %61, double 4.000000e+00, double %106)
  %108 = fadd double %105, %61
  %109 = fsub double %108, %58
  %110 = fsub double %107, %109
  %111 = tail call double @llvm.fmuladd.f64(double %67, double 4.000000e+00, double %110)
  %112 = fadd double %109, %67
  %113 = fsub double %112, %64
  %114 = fsub double %111, %113
  %115 = tail call double @llvm.fmuladd.f64(double %73, double 4.000000e+00, double %114)
  %116 = fadd double %113, %73
  %117 = fsub double %116, %70
  %118 = fsub double %115, %117
  %119 = tail call double @llvm.fmuladd.f64(double %78, double 4.000000e+00, double %118)
  %120 = fadd double %117, %78
  %121 = fsub double %120, %76
  %122 = fsub double %119, %121
  %123 = sext i32 %indvars.iv.next371.8 to i64
  %124 = sext i32 %83 to i64
  %125 = zext nneg i32 %spec.select to i64
  %126 = add nuw i32 %1, 1
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %264
  %indvars.iv374 = phi i64 [ %124, %.lr.ph.preheader ], [ %indvars.iv.next375, %264 ]
  %indvars.iv = phi i64 [ %123, %.lr.ph.preheader ], [ %indvars.iv.next373, %264 ]
  %.0246365 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1, %264 ]
  %.0247364 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1248, %264 ]
  %.0249363 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1250, %264 ]
  %.0251362 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1252, %264 ]
  %.0259357 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1260, %264 ]
  %.0261356 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1262, %264 ]
  %.0263355 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1264, %264 ]
  %.0265354 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1266, %264 ]
  %.0267353 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1268, %264 ]
  %.0269352 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1270, %264 ]
  %.0271351 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1272, %264 ]
  %.0273350 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1274, %264 ]
  %.0275349 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1276, %264 ]
  %.0277348 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1278, %264 ]
  %.0279347 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1280, %264 ]
  %.0281346 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1282, %264 ]
  %.0283345 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1284, %264 ]
  %.0285344 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1286, %264 ]
  %.0287343 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1288, %264 ]
  %.0289342 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1290, %264 ]
  %.0291341 = phi i32 [ 0, %.lr.ph.preheader ], [ %.1292, %264 ]
  %.0293340 = phi i32 [ 0, %.lr.ph.preheader ], [ %.3, %264 ]
  %.1297339 = phi double [ %81, %.lr.ph.preheader ], [ %136, %264 ]
  %.1299338 = phi double [ %121, %.lr.ph.preheader ], [ %133, %264 ]
  %.1301337 = phi double [ %122, %.lr.ph.preheader ], [ %138, %264 ]
  %.0304335 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %266, %264 ]
  %127 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %267, %264 ]
  %128 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %244, %264 ]
  %129 = tail call double @llvm.fmuladd.f64(double %.0304335, double 0x3FB3333333333333, double 5.400000e-01)
  %130 = getelementptr inbounds double, ptr %2, i64 %indvars.iv374
  %131 = load double, ptr %130, align 8, !tbaa !11
  %132 = fadd double %.1299338, %131
  %133 = fsub double %132, %.1297339
  %134 = tail call double @llvm.fmuladd.f64(double %131, double 4.000000e+00, double %.1301337)
  %indvars.iv.next373 = add nsw i64 %indvars.iv, 1
  %135 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %136 = load double, ptr %135, align 8, !tbaa !11
  %137 = fmul double %134, 1.000000e-01
  %138 = fsub double %134, %133
  %139 = and i64 %indvars.iv374, 1
  %140 = icmp eq i64 %139, 0
  %141 = fmul double %137, 0x3FB8A0902DE00D1B
  %142 = sext i32 %.0291341 to i64
  %.not325 = icmp slt i64 %indvars.iv374, %125
  br i1 %140, label %143, label %188

143:                                              ; preds = %.lr.ph
  %144 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 %142
  %145 = load double, ptr %144, align 8, !tbaa !11
  store double %141, ptr %144, align 8, !tbaa !11
  %146 = fsub double %141, %145
  %147 = fsub double %146, %.0287343
  %148 = fmul double %.0283345, 5.769000e-01
  %149 = fadd double %148, %147
  %150 = fmul double %129, %149
  %151 = fmul double %150, 0x3FB8A0902DE00D1B
  %152 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 %142
  %153 = load double, ptr %152, align 8, !tbaa !11
  store double %151, ptr %152, align 8, !tbaa !11
  %154 = fsub double %151, %153
  %155 = fsub double %154, %.0279347
  %156 = fmul double %.0275349, 5.769000e-01
  %157 = fadd double %156, %155
  %158 = fmul double %129, %157
  br i1 %.not325, label %164, label %159

159:                                              ; preds = %143
  %160 = sext i32 %.0293340 to i64
  %161 = getelementptr inbounds double, ptr %6, i64 %160
  store double %158, ptr %161, align 8, !tbaa !11
  %162 = add nsw i32 %.0293340, 1
  %163 = getelementptr inbounds double, ptr %5, i64 %160
  store double %.0246365, ptr %163, align 8, !tbaa !11
  br label %164

164:                                              ; preds = %159, %143
  %.1294 = phi i32 [ %162, %159 ], [ %.0293340, %143 ]
  %165 = fmul double %.0246365, 0x3FB8A0902DE00D1B
  %166 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %142
  %167 = load double, ptr %166, align 8, !tbaa !11
  store double %165, ptr %166, align 8, !tbaa !11
  %168 = fsub double %165, %167
  %169 = fsub double %168, %.0271351
  %170 = fmul double %.0267353, 5.769000e-01
  %171 = fadd double %170, %169
  %172 = fmul double %129, %171
  %173 = fmul double %158, 0x3FB8A0902DE00D1B
  %174 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %142
  %175 = load double, ptr %174, align 8, !tbaa !11
  store double %173, ptr %174, align 8, !tbaa !11
  %176 = fsub double %173, %175
  %177 = fsub double %176, %.0263355
  %178 = fmul double %.0259357, 5.769000e-01
  %179 = fadd double %178, %177
  %180 = fmul double %129, %179
  %181 = add nsw i32 %.0291341, 1
  %182 = icmp eq i32 %181, 3
  %spec.store.select = select i1 %182, i32 0, i32 %181
  %183 = fadd double %158, %172
  %184 = extractelement <2 x double> %127, i64 0
  %185 = fmul double %184, 8.000000e-01
  %186 = tail call double @llvm.fmuladd.f64(double %183, double 2.000000e-01, double %185)
  %187 = fsub double %.0246365, %180
  br label %231

188:                                              ; preds = %.lr.ph
  %189 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %142
  %190 = load double, ptr %189, align 8, !tbaa !11
  store double %141, ptr %189, align 8, !tbaa !11
  %191 = fsub double %141, %190
  %192 = fsub double %191, %.0289342
  %193 = fmul double %.0285344, 5.769000e-01
  %194 = fadd double %193, %192
  %195 = fmul double %129, %194
  %196 = fmul double %195, 0x3FB8A0902DE00D1B
  %197 = getelementptr inbounds [3 x double], ptr %10, i64 0, i64 %142
  %198 = load double, ptr %197, align 8, !tbaa !11
  store double %196, ptr %197, align 8, !tbaa !11
  %199 = fsub double %196, %198
  %200 = fsub double %199, %.0281346
  %201 = fmul double %.0277348, 5.769000e-01
  %202 = fadd double %201, %200
  %203 = fmul double %129, %202
  br i1 %.not325, label %209, label %204

204:                                              ; preds = %188
  %205 = sext i32 %.0293340 to i64
  %206 = getelementptr inbounds double, ptr %6, i64 %205
  store double %203, ptr %206, align 8, !tbaa !11
  %207 = add nsw i32 %.0293340, 1
  %208 = getelementptr inbounds double, ptr %5, i64 %205
  store double %.0249363, ptr %208, align 8, !tbaa !11
  br label %209

209:                                              ; preds = %204, %188
  %.2 = phi i32 [ %207, %204 ], [ %.0293340, %188 ]
  %210 = fmul double %.0249363, 0x3FB8A0902DE00D1B
  %211 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %142
  %212 = load double, ptr %211, align 8, !tbaa !11
  store double %210, ptr %211, align 8, !tbaa !11
  %213 = fsub double %210, %212
  %214 = fsub double %213, %.0273350
  %215 = fmul double %.0269352, 5.769000e-01
  %216 = fadd double %215, %214
  %217 = fmul double %129, %216
  %218 = fmul double %203, 0x3FB8A0902DE00D1B
  %219 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %142
  %220 = load double, ptr %219, align 8, !tbaa !11
  store double %218, ptr %219, align 8, !tbaa !11
  %221 = fsub double %218, %220
  %222 = fsub double %221, %.0265354
  %223 = fmul double %.0261356, 5.769000e-01
  %224 = fadd double %223, %222
  %225 = fmul double %129, %224
  %226 = fadd double %203, %217
  %227 = extractelement <2 x double> %127, i64 0
  %228 = fmul double %227, 8.000000e-01
  %229 = tail call double @llvm.fmuladd.f64(double %226, double 2.000000e-01, double %228)
  %230 = fsub double %.0249363, %225
  br label %231

231:                                              ; preds = %209, %164
  %.sink = phi double [ %230, %209 ], [ %187, %164 ]
  %.3 = phi i32 [ %.2, %209 ], [ %.1294, %164 ]
  %.1292 = phi i32 [ %.0291341, %209 ], [ %spec.store.select, %164 ]
  %.1290 = phi double [ %193, %209 ], [ %.0289342, %164 ]
  %.1288 = phi double [ %.0287343, %209 ], [ %148, %164 ]
  %.1286 = phi double [ %137, %209 ], [ %.0285344, %164 ]
  %.1284 = phi double [ %.0283345, %209 ], [ %137, %164 ]
  %.1282 = phi double [ %201, %209 ], [ %.0281346, %164 ]
  %.1280 = phi double [ %.0279347, %209 ], [ %156, %164 ]
  %.1278 = phi double [ %195, %209 ], [ %.0277348, %164 ]
  %.1276 = phi double [ %.0275349, %209 ], [ %150, %164 ]
  %.1274 = phi double [ %215, %209 ], [ %.0273350, %164 ]
  %.1272 = phi double [ %.0271351, %209 ], [ %170, %164 ]
  %.1270 = phi double [ %.0249363, %209 ], [ %.0269352, %164 ]
  %.1268 = phi double [ %.0267353, %209 ], [ %.0246365, %164 ]
  %.1266 = phi double [ %223, %209 ], [ %.0265354, %164 ]
  %.1264 = phi double [ %.0263355, %209 ], [ %178, %164 ]
  %.1262 = phi double [ %203, %209 ], [ %.0261356, %164 ]
  %.1260 = phi double [ %.0259357, %209 ], [ %158, %164 ]
  %.0258 = phi double [ %229, %209 ], [ %186, %164 ]
  %.1252 = phi double [ %.0251362, %209 ], [ %150, %164 ]
  %.1250 = phi double [ %.0249363, %209 ], [ %.0251362, %164 ]
  %.1248 = phi double [ %195, %209 ], [ %.0247364, %164 ]
  %.1 = phi double [ %.0247364, %209 ], [ %.0246365, %164 ]
  %232 = extractelement <2 x double> %127, i64 1
  %233 = fmul double %232, 8.000000e-01
  %234 = tail call double @llvm.fmuladd.f64(double %.sink, double 2.000000e-01, double %233)
  %235 = fmul <2 x double> %128, <double 8.000000e-01, double 8.000000e-01>
  %236 = fneg double %.0258
  %237 = insertelement <2 x double> poison, double %.0258, i64 0
  %238 = insertelement <2 x double> %237, double %236, i64 1
  %239 = fmul <2 x double> %127, %238
  %240 = shufflevector <2 x double> %239, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %241 = insertelement <2 x double> poison, double %234, i64 0
  %242 = shufflevector <2 x double> %241, <2 x double> poison, <2 x i32> zeroinitializer
  %243 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %242, <2 x double> %127, <2 x double> %240)
  %244 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %243, <2 x double> <double 2.000000e-01, double 2.000000e-01>, <2 x double> %235)
  %245 = fcmp une <2 x double> %244, zeroinitializer
  %246 = extractelement <2 x i1> %245, i64 0
  %247 = extractelement <2 x i1> %245, i64 1
  %or.cond = select i1 %246, i1 %247, i1 false
  br i1 %or.cond, label %248, label %255

248:                                              ; preds = %231
  %249 = extractelement <2 x double> %244, i64 0
  %250 = extractelement <2 x double> %244, i64 1
  %251 = fdiv double %249, %250
  %252 = tail call double @atan(double noundef %251) #6
  %253 = fmul double %252, 0x404CA5DC1A63C1F8
  %254 = fdiv double 3.600000e+02, %253
  br label %255

255:                                              ; preds = %248, %231
  %.1305 = phi double [ %254, %248 ], [ %.0304335, %231 ]
  %256 = fmul double %.0304335, 1.500000e+00
  %257 = fcmp ogt double %.1305, %256
  %.2306 = select i1 %257, double %256, double %.1305
  %258 = fmul double %.0304335, 6.700000e-01
  %259 = fcmp olt double %.2306, %258
  %.3307 = select i1 %259, double %258, double %.2306
  %260 = fcmp olt double %.3307, 6.000000e+00
  br i1 %260, label %264, label %261

261:                                              ; preds = %255
  %262 = fcmp ogt double %.3307, 5.000000e+01
  br i1 %262, label %263, label %264

263:                                              ; preds = %261
  br label %264

264:                                              ; preds = %255, %261, %263
  %.4 = phi double [ 5.000000e+01, %263 ], [ %.3307, %261 ], [ 6.000000e+00, %255 ]
  %265 = fmul double %.0304335, 8.000000e-01
  %266 = tail call double @llvm.fmuladd.f64(double %.4, double 2.000000e-01, double %265)
  %indvars.iv.next375 = add nsw i64 %indvars.iv374, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next375 to i32
  %exitcond.not = icmp eq i32 %126, %lftr.wideiv
  %267 = insertelement <2 x double> %237, double %234, i64 1
  br i1 %exitcond.not, label %.sink.split, label %.lr.ph, !llvm.loop !13

.sink.split:                                      ; preds = %264, %27, %26
  %.0293.lcssa.sink = phi i32 [ 0, %26 ], [ 0, %27 ], [ %.3, %264 ]
  store i32 %.0293.lcssa.sink, ptr %4, align 4, !tbaa !9
  br label %268

268:                                              ; preds = %.sink.split, %19, %17, %7
  %.0 = phi i32 [ 12, %7 ], [ 13, %17 ], [ 2, %19 ], [ 0, %.sink.split ]
  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 %.0
}

; 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 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 <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"}


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