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

; 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: 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_MAMA(i32 noundef %0, i32 noundef %1, ptr noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #3 {
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca i32, align 4
  %37 = alloca [3 x double], align 16
  %38 = alloca [3 x double], align 16
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca [3 x double], align 16
  %45 = alloca [3 x double], align 16
  %46 = alloca double, align 8
  %47 = alloca double, align 8
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = alloca [3 x double], align 16
  %52 = alloca [3 x double], align 16
  %53 = alloca double, align 8
  %54 = alloca double, align 8
  %55 = alloca double, align 8
  %56 = alloca double, align 8
  %57 = alloca double, align 8
  %58 = alloca [3 x double], align 16
  %59 = alloca [3 x double], align 16
  %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 double, align 8
  %77 = alloca double, align 8
  %78 = alloca double, align 8
  %79 = alloca double, align 8
  %80 = alloca i32, align 4
  store i32 %0, ptr %11, align 4, !tbaa !5
  store i32 %1, ptr %12, align 4, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !9
  store double %3, ptr %14, align 8, !tbaa !11
  store double %4, ptr %15, align 8, !tbaa !11
  store ptr %5, ptr %16, align 8, !tbaa !9
  store ptr %6, ptr %17, align 8, !tbaa !9
  store ptr %7, ptr %18, align 8, !tbaa !9
  store ptr %8, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, 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 4, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  store double 0x3FB8A0902DE00D1B, ptr %33, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  store double 5.769000e-01, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.start.p0(i64 8, 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 24, ptr %44) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #4
  call void @llvm.lifetime.start.p0(i64 8, 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 24, ptr %51) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #4
  call void @llvm.lifetime.start.p0(i64 8, 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 24, ptr %58) #4
  call void @llvm.lifetime.start.p0(i64 24, 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 8, ptr %76) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #4
  %81 = load i32, ptr %11, align 4, !tbaa !5
  %82 = icmp slt i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %9
  store i32 12, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

84:                                               ; preds = %9
  %85 = load i32, ptr %12, align 4, !tbaa !5
  %86 = icmp slt i32 %85, 0
  br i1 %86, label %91, label %87

87:                                               ; preds = %84
  %88 = load i32, ptr %12, align 4, !tbaa !5
  %89 = load i32, ptr %11, align 4, !tbaa !5
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %91, label %92

91:                                               ; preds = %87, %84
  store i32 13, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

92:                                               ; preds = %87
  %93 = load ptr, ptr %13, align 8, !tbaa !9
  %94 = icmp ne ptr %93, null
  br i1 %94, label %96, label %95

95:                                               ; preds = %92
  store i32 2, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

96:                                               ; preds = %92
  %97 = load double, ptr %14, align 8, !tbaa !11
  %98 = fcmp oeq double %97, -4.000000e+37
  br i1 %98, label %99, label %100

99:                                               ; preds = %96
  store double 5.000000e-01, ptr %14, align 8, !tbaa !11
  br label %108

100:                                              ; preds = %96
  %101 = load double, ptr %14, align 8, !tbaa !11
  %102 = fcmp olt double %101, 1.000000e-02
  br i1 %102, label %106, label %103

103:                                              ; preds = %100
  %104 = load double, ptr %14, align 8, !tbaa !11
  %105 = fcmp ogt double %104, 0x3FEFAE147AE147AE
  br i1 %105, label %106, label %107

106:                                              ; preds = %103, %100
  store i32 2, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

107:                                              ; preds = %103
  br label %108

108:                                              ; preds = %107, %99
  %109 = load double, ptr %15, align 8, !tbaa !11
  %110 = fcmp oeq double %109, -4.000000e+37
  br i1 %110, label %111, label %112

111:                                              ; preds = %108
  store double 5.000000e-02, ptr %15, align 8, !tbaa !11
  br label %120

112:                                              ; preds = %108
  %113 = load double, ptr %15, align 8, !tbaa !11
  %114 = fcmp olt double %113, 1.000000e-02
  br i1 %114, label %118, label %115

115:                                              ; preds = %112
  %116 = load double, ptr %15, align 8, !tbaa !11
  %117 = fcmp ogt double %116, 0x3FEFAE147AE147AE
  br i1 %117, label %118, label %119

118:                                              ; preds = %115, %112
  store i32 2, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

119:                                              ; preds = %115
  br label %120

120:                                              ; preds = %119, %111
  %121 = load ptr, ptr %18, align 8, !tbaa !9
  %122 = icmp ne ptr %121, null
  br i1 %122, label %124, label %123

123:                                              ; preds = %120
  store i32 2, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

124:                                              ; preds = %120
  %125 = load ptr, ptr %19, align 8, !tbaa !9
  %126 = icmp ne ptr %125, null
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  store i32 2, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

128:                                              ; preds = %124
  %129 = call double @atan(double noundef 1.000000e+00) #4
  %130 = fmul double 4.000000e+00, %129
  %131 = fdiv double 1.800000e+02, %130
  store double %131, ptr %75, align 8, !tbaa !11
  %132 = load ptr, ptr @TA_Globals, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.TA_LibcPriv, ptr %132, i32 0, i32 7
  %134 = getelementptr inbounds [24 x i32], ptr %133, i64 0, i64 14
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = add i32 32, %135
  store i32 %136, ptr %22, align 4, !tbaa !5
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = load i32, ptr %22, align 4, !tbaa !5
  %139 = icmp slt i32 %137, %138
  br i1 %139, label %140, label %142

140:                                              ; preds = %128
  %141 = load i32, ptr %22, align 4, !tbaa !5
  store i32 %141, ptr %11, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %140, %128
  %143 = load i32, ptr %11, align 4, !tbaa !5
  %144 = load i32, ptr %12, align 4, !tbaa !5
  %145 = icmp sgt i32 %143, %144
  br i1 %145, label %146, label %149

146:                                              ; preds = %142
  %147 = load ptr, ptr %16, align 8, !tbaa !9
  store i32 0, ptr %147, align 4, !tbaa !5
  %148 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 0, ptr %148, align 4, !tbaa !5
  store i32 0, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

149:                                              ; preds = %142
  %150 = load i32, ptr %11, align 4, !tbaa !5
  %151 = load ptr, ptr %16, align 8, !tbaa !9
  store i32 %150, ptr %151, align 4, !tbaa !5
  %152 = load i32, ptr %11, align 4, !tbaa !5
  %153 = load i32, ptr %22, align 4, !tbaa !5
  %154 = sub nsw i32 %152, %153
  store i32 %154, ptr %28, align 4, !tbaa !5
  %155 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %155, ptr %23, align 4, !tbaa !5
  %156 = load ptr, ptr %13, align 8, !tbaa !9
  %157 = load i32, ptr %23, align 4, !tbaa !5
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %23, align 4, !tbaa !5
  %159 = sext i32 %157 to i64
  %160 = getelementptr inbounds float, ptr %156, i64 %159
  %161 = load float, ptr %160, align 4, !tbaa !13
  %162 = fpext float %161 to double
  store double %162, ptr %24, align 8, !tbaa !11
  %163 = load double, ptr %24, align 8, !tbaa !11
  store double %163, ptr %30, align 8, !tbaa !11
  %164 = load double, ptr %24, align 8, !tbaa !11
  store double %164, ptr %29, align 8, !tbaa !11
  %165 = load ptr, ptr %13, align 8, !tbaa !9
  %166 = load i32, ptr %23, align 4, !tbaa !5
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %23, 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 %24, align 8, !tbaa !11
  %172 = load double, ptr %24, align 8, !tbaa !11
  %173 = load double, ptr %30, align 8, !tbaa !11
  %174 = fadd double %173, %172
  store double %174, ptr %30, align 8, !tbaa !11
  %175 = load double, ptr %24, align 8, !tbaa !11
  %176 = load double, ptr %29, align 8, !tbaa !11
  %177 = call double @llvm.fmuladd.f64(double %175, double 2.000000e+00, double %176)
  store double %177, ptr %29, align 8, !tbaa !11
  %178 = load ptr, ptr %13, align 8, !tbaa !9
  %179 = load i32, ptr %23, align 4, !tbaa !5
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %23, align 4, !tbaa !5
  %181 = sext i32 %179 to i64
  %182 = getelementptr inbounds float, ptr %178, i64 %181
  %183 = load float, ptr %182, align 4, !tbaa !13
  %184 = fpext float %183 to double
  store double %184, ptr %24, align 8, !tbaa !11
  %185 = load double, ptr %24, align 8, !tbaa !11
  %186 = load double, ptr %30, align 8, !tbaa !11
  %187 = fadd double %186, %185
  store double %187, ptr %30, align 8, !tbaa !11
  %188 = load double, ptr %24, align 8, !tbaa !11
  %189 = load double, ptr %29, align 8, !tbaa !11
  %190 = call double @llvm.fmuladd.f64(double %188, double 3.000000e+00, double %189)
  store double %190, ptr %29, align 8, !tbaa !11
  store double 0.000000e+00, ptr %31, align 8, !tbaa !11
  store i32 9, ptr %21, align 4, !tbaa !5
  br label %191

191:                                              ; preds = %220, %149
  %192 = load ptr, ptr %13, align 8, !tbaa !9
  %193 = load i32, ptr %23, align 4, !tbaa !5
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %23, align 4, !tbaa !5
  %195 = sext i32 %193 to i64
  %196 = getelementptr inbounds float, ptr %192, i64 %195
  %197 = load float, ptr %196, align 4, !tbaa !13
  %198 = fpext float %197 to double
  store double %198, ptr %24, align 8, !tbaa !11
  %199 = load double, ptr %24, align 8, !tbaa !11
  %200 = load double, ptr %30, align 8, !tbaa !11
  %201 = fadd double %200, %199
  store double %201, ptr %30, align 8, !tbaa !11
  %202 = load double, ptr %31, align 8, !tbaa !11
  %203 = load double, ptr %30, align 8, !tbaa !11
  %204 = fsub double %203, %202
  store double %204, ptr %30, align 8, !tbaa !11
  %205 = load double, ptr %24, align 8, !tbaa !11
  %206 = load double, ptr %29, align 8, !tbaa !11
  %207 = call double @llvm.fmuladd.f64(double %205, double 4.000000e+00, double %206)
  store double %207, ptr %29, align 8, !tbaa !11
  %208 = load ptr, ptr %13, align 8, !tbaa !9
  %209 = load i32, ptr %28, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %28, align 4, !tbaa !5
  %211 = sext i32 %209 to i64
  %212 = getelementptr inbounds float, ptr %208, i64 %211
  %213 = load float, ptr %212, align 4, !tbaa !13
  %214 = fpext float %213 to double
  store double %214, ptr %31, align 8, !tbaa !11
  %215 = load double, ptr %29, align 8, !tbaa !11
  %216 = fmul double %215, 1.000000e-01
  store double %216, ptr %32, align 8, !tbaa !11
  %217 = load double, ptr %30, align 8, !tbaa !11
  %218 = load double, ptr %29, align 8, !tbaa !11
  %219 = fsub double %218, %217
  store double %219, ptr %29, align 8, !tbaa !11
  br label %220

220:                                              ; preds = %191
  %221 = load i32, ptr %21, align 4, !tbaa !5
  %222 = add nsw i32 %221, -1
  store i32 %222, ptr %21, align 4, !tbaa !5
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %191, label %224, !llvm.loop !15

224:                                              ; preds = %220
  store i32 0, ptr %36, align 4, !tbaa !5
  %225 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 0
  store double 0.000000e+00, ptr %225, align 16, !tbaa !11
  %226 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 1
  store double 0.000000e+00, ptr %226, align 8, !tbaa !11
  %227 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 2
  store double 0.000000e+00, ptr %227, align 16, !tbaa !11
  %228 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
  store double 0.000000e+00, ptr %228, align 16, !tbaa !11
  %229 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 1
  store double 0.000000e+00, ptr %229, align 8, !tbaa !11
  %230 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 2
  store double 0.000000e+00, ptr %230, align 16, !tbaa !11
  store double 0.000000e+00, ptr %39, align 8, !tbaa !11
  store double 0.000000e+00, ptr %40, align 8, !tbaa !11
  store double 0.000000e+00, ptr %41, align 8, !tbaa !11
  store double 0.000000e+00, ptr %42, align 8, !tbaa !11
  store double 0.000000e+00, ptr %43, align 8, !tbaa !11
  %231 = getelementptr inbounds [3 x double], ptr %44, i64 0, i64 0
  store double 0.000000e+00, ptr %231, align 16, !tbaa !11
  %232 = getelementptr inbounds [3 x double], ptr %44, i64 0, i64 1
  store double 0.000000e+00, ptr %232, align 8, !tbaa !11
  %233 = getelementptr inbounds [3 x double], ptr %44, i64 0, i64 2
  store double 0.000000e+00, ptr %233, align 16, !tbaa !11
  %234 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 0
  store double 0.000000e+00, ptr %234, align 16, !tbaa !11
  %235 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 1
  store double 0.000000e+00, ptr %235, align 8, !tbaa !11
  %236 = getelementptr inbounds [3 x double], ptr %45, i64 0, i64 2
  store double 0.000000e+00, ptr %236, align 16, !tbaa !11
  store double 0.000000e+00, ptr %46, align 8, !tbaa !11
  store double 0.000000e+00, ptr %47, align 8, !tbaa !11
  store double 0.000000e+00, ptr %48, align 8, !tbaa !11
  store double 0.000000e+00, ptr %49, align 8, !tbaa !11
  store double 0.000000e+00, ptr %50, align 8, !tbaa !11
  %237 = getelementptr inbounds [3 x double], ptr %51, i64 0, i64 0
  store double 0.000000e+00, ptr %237, align 16, !tbaa !11
  %238 = getelementptr inbounds [3 x double], ptr %51, i64 0, i64 1
  store double 0.000000e+00, ptr %238, align 8, !tbaa !11
  %239 = getelementptr inbounds [3 x double], ptr %51, i64 0, i64 2
  store double 0.000000e+00, ptr %239, align 16, !tbaa !11
  %240 = getelementptr inbounds [3 x double], ptr %52, i64 0, i64 0
  store double 0.000000e+00, ptr %240, align 16, !tbaa !11
  %241 = getelementptr inbounds [3 x double], ptr %52, i64 0, i64 1
  store double 0.000000e+00, ptr %241, align 8, !tbaa !11
  %242 = getelementptr inbounds [3 x double], ptr %52, i64 0, i64 2
  store double 0.000000e+00, ptr %242, align 16, !tbaa !11
  store double 0.000000e+00, ptr %53, align 8, !tbaa !11
  store double 0.000000e+00, ptr %54, align 8, !tbaa !11
  store double 0.000000e+00, ptr %55, align 8, !tbaa !11
  store double 0.000000e+00, ptr %56, align 8, !tbaa !11
  store double 0.000000e+00, ptr %57, align 8, !tbaa !11
  %243 = getelementptr inbounds [3 x double], ptr %58, i64 0, i64 0
  store double 0.000000e+00, ptr %243, align 16, !tbaa !11
  %244 = getelementptr inbounds [3 x double], ptr %58, i64 0, i64 1
  store double 0.000000e+00, ptr %244, align 8, !tbaa !11
  %245 = getelementptr inbounds [3 x double], ptr %58, i64 0, i64 2
  store double 0.000000e+00, ptr %245, align 16, !tbaa !11
  %246 = getelementptr inbounds [3 x double], ptr %59, i64 0, i64 0
  store double 0.000000e+00, ptr %246, align 16, !tbaa !11
  %247 = getelementptr inbounds [3 x double], ptr %59, i64 0, i64 1
  store double 0.000000e+00, ptr %247, align 8, !tbaa !11
  %248 = getelementptr inbounds [3 x double], ptr %59, i64 0, i64 2
  store double 0.000000e+00, ptr %248, align 16, !tbaa !11
  store double 0.000000e+00, ptr %60, align 8, !tbaa !11
  store double 0.000000e+00, ptr %61, align 8, !tbaa !11
  store double 0.000000e+00, ptr %62, align 8, !tbaa !11
  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 %27, align 8, !tbaa !11
  store i32 0, ptr %20, align 4, !tbaa !5
  store double 0.000000e+00, ptr %67, align 8, !tbaa !11
  store double 0.000000e+00, ptr %68, align 8, !tbaa !11
  store double 0.000000e+00, ptr %70, align 8, !tbaa !11
  store double 0.000000e+00, ptr %69, align 8, !tbaa !11
  store double 0.000000e+00, ptr %77, align 8, !tbaa !11
  store double 0.000000e+00, ptr %76, align 8, !tbaa !11
  store double 0.000000e+00, ptr %74, align 8, !tbaa !11
  store double 0.000000e+00, ptr %72, align 8, !tbaa !11
  store double 0.000000e+00, ptr %73, align 8, !tbaa !11
  store double 0.000000e+00, ptr %71, align 8, !tbaa !11
  store double 0.000000e+00, ptr %79, align 8, !tbaa !11
  br label %249

249:                                              ; preds = %667, %224
  %250 = load i32, ptr %23, align 4, !tbaa !5
  %251 = load i32, ptr %12, align 4, !tbaa !5
  %252 = icmp sle i32 %250, %251
  br i1 %252, label %253, label %674

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

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

394:                                              ; preds = %286
  store i32 0, ptr %36, align 4, !tbaa !5
  br label %395

395:                                              ; preds = %394, %286
  %396 = load double, ptr %46, align 8, !tbaa !11
  %397 = load double, ptr %53, align 8, !tbaa !11
  %398 = fadd double %396, %397
  %399 = load double, ptr %67, align 8, !tbaa !11
  %400 = fmul double 8.000000e-01, %399
  %401 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %398, double %400)
  store double %401, ptr %65, align 8, !tbaa !11
  %402 = load double, ptr %74, align 8, !tbaa !11
  %403 = load double, ptr %60, align 8, !tbaa !11
  %404 = fsub double %402, %403
  %405 = load double, ptr %68, align 8, !tbaa !11
  %406 = fmul double 8.000000e-01, %405
  %407 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %404, double %406)
  store double %407, ptr %66, align 8, !tbaa !11
  %408 = load double, ptr %71, align 8, !tbaa !11
  store double %408, ptr %72, align 8, !tbaa !11
  %409 = load double, ptr %39, align 8, !tbaa !11
  store double %409, ptr %71, align 8, !tbaa !11
  %410 = load double, ptr %74, align 8, !tbaa !11
  %411 = fcmp une double %410, 0.000000e+00
  br i1 %411, label %412, label %419

412:                                              ; preds = %395
  %413 = load double, ptr %46, align 8, !tbaa !11
  %414 = load double, ptr %74, align 8, !tbaa !11
  %415 = fdiv double %413, %414
  %416 = call double @atan(double noundef %415) #4
  %417 = load double, ptr %75, align 8, !tbaa !11
  %418 = fmul double %416, %417
  store double %418, ptr %25, align 8, !tbaa !11
  br label %420

419:                                              ; preds = %395
  store double 0.000000e+00, ptr %25, align 8, !tbaa !11
  br label %420

420:                                              ; preds = %419, %412
  br label %551

421:                                              ; preds = %253
  %422 = load double, ptr %32, align 8, !tbaa !11
  %423 = fmul double 0x3FB8A0902DE00D1B, %422
  store double %423, ptr %35, align 8, !tbaa !11
  %424 = load i32, ptr %36, align 4, !tbaa !5
  %425 = sext i32 %424 to i64
  %426 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 %425
  %427 = load double, ptr %426, align 8, !tbaa !11
  %428 = fneg double %427
  store double %428, ptr %39, align 8, !tbaa !11
  %429 = load double, ptr %35, align 8, !tbaa !11
  %430 = load i32, ptr %36, align 4, !tbaa !5
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds [3 x double], ptr %37, i64 0, i64 %431
  store double %429, ptr %432, align 8, !tbaa !11
  %433 = load double, ptr %35, align 8, !tbaa !11
  %434 = load double, ptr %39, align 8, !tbaa !11
  %435 = fadd double %434, %433
  store double %435, ptr %39, align 8, !tbaa !11
  %436 = load double, ptr %40, align 8, !tbaa !11
  %437 = load double, ptr %39, align 8, !tbaa !11
  %438 = fsub double %437, %436
  store double %438, ptr %39, align 8, !tbaa !11
  %439 = load double, ptr %42, align 8, !tbaa !11
  %440 = fmul double 5.769000e-01, %439
  store double %440, ptr %40, align 8, !tbaa !11
  %441 = load double, ptr %40, align 8, !tbaa !11
  %442 = load double, ptr %39, align 8, !tbaa !11
  %443 = fadd double %442, %441
  store double %443, ptr %39, align 8, !tbaa !11
  %444 = load double, ptr %32, align 8, !tbaa !11
  store double %444, ptr %42, align 8, !tbaa !11
  %445 = load double, ptr %26, align 8, !tbaa !11
  %446 = load double, ptr %39, align 8, !tbaa !11
  %447 = fmul double %446, %445
  store double %447, ptr %39, align 8, !tbaa !11
  %448 = load double, ptr %39, align 8, !tbaa !11
  %449 = fmul double 0x3FB8A0902DE00D1B, %448
  store double %449, ptr %35, align 8, !tbaa !11
  %450 = load i32, ptr %36, align 4, !tbaa !5
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds [3 x double], ptr %44, i64 0, i64 %451
  %453 = load double, ptr %452, align 8, !tbaa !11
  %454 = fneg double %453
  store double %454, ptr %46, align 8, !tbaa !11
  %455 = load double, ptr %35, align 8, !tbaa !11
  %456 = load i32, ptr %36, align 4, !tbaa !5
  %457 = sext i32 %456 to i64
  %458 = getelementptr inbounds [3 x double], ptr %44, i64 0, i64 %457
  store double %455, ptr %458, align 8, !tbaa !11
  %459 = load double, ptr %35, align 8, !tbaa !11
  %460 = load double, ptr %46, align 8, !tbaa !11
  %461 = fadd double %460, %459
  store double %461, ptr %46, align 8, !tbaa !11
  %462 = load double, ptr %47, align 8, !tbaa !11
  %463 = load double, ptr %46, align 8, !tbaa !11
  %464 = fsub double %463, %462
  store double %464, ptr %46, align 8, !tbaa !11
  %465 = load double, ptr %49, align 8, !tbaa !11
  %466 = fmul double 5.769000e-01, %465
  store double %466, ptr %47, align 8, !tbaa !11
  %467 = load double, ptr %47, align 8, !tbaa !11
  %468 = load double, ptr %46, align 8, !tbaa !11
  %469 = fadd double %468, %467
  store double %469, ptr %46, align 8, !tbaa !11
  %470 = load double, ptr %39, align 8, !tbaa !11
  store double %470, ptr %49, align 8, !tbaa !11
  %471 = load double, ptr %26, align 8, !tbaa !11
  %472 = load double, ptr %46, align 8, !tbaa !11
  %473 = fmul double %472, %471
  store double %473, ptr %46, align 8, !tbaa !11
  %474 = load double, ptr %72, align 8, !tbaa !11
  %475 = fmul double 0x3FB8A0902DE00D1B, %474
  store double %475, ptr %35, align 8, !tbaa !11
  %476 = load i32, ptr %36, align 4, !tbaa !5
  %477 = sext i32 %476 to i64
  %478 = getelementptr inbounds [3 x double], ptr %51, i64 0, i64 %477
  %479 = load double, ptr %478, align 8, !tbaa !11
  %480 = fneg double %479
  store double %480, ptr %53, align 8, !tbaa !11
  %481 = load double, ptr %35, align 8, !tbaa !11
  %482 = load i32, ptr %36, align 4, !tbaa !5
  %483 = sext i32 %482 to i64
  %484 = getelementptr inbounds [3 x double], ptr %51, i64 0, i64 %483
  store double %481, ptr %484, align 8, !tbaa !11
  %485 = load double, ptr %35, align 8, !tbaa !11
  %486 = load double, ptr %53, align 8, !tbaa !11
  %487 = fadd double %486, %485
  store double %487, ptr %53, align 8, !tbaa !11
  %488 = load double, ptr %54, align 8, !tbaa !11
  %489 = load double, ptr %53, align 8, !tbaa !11
  %490 = fsub double %489, %488
  store double %490, ptr %53, align 8, !tbaa !11
  %491 = load double, ptr %56, align 8, !tbaa !11
  %492 = fmul double 5.769000e-01, %491
  store double %492, ptr %54, align 8, !tbaa !11
  %493 = load double, ptr %54, align 8, !tbaa !11
  %494 = load double, ptr %53, align 8, !tbaa !11
  %495 = fadd double %494, %493
  store double %495, ptr %53, align 8, !tbaa !11
  %496 = load double, ptr %72, align 8, !tbaa !11
  store double %496, ptr %56, align 8, !tbaa !11
  %497 = load double, ptr %26, align 8, !tbaa !11
  %498 = load double, ptr %53, align 8, !tbaa !11
  %499 = fmul double %498, %497
  store double %499, ptr %53, align 8, !tbaa !11
  %500 = load double, ptr %46, align 8, !tbaa !11
  %501 = fmul double 0x3FB8A0902DE00D1B, %500
  store double %501, ptr %35, align 8, !tbaa !11
  %502 = load i32, ptr %36, align 4, !tbaa !5
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds [3 x double], ptr %58, i64 0, i64 %503
  %505 = load double, ptr %504, align 8, !tbaa !11
  %506 = fneg double %505
  store double %506, ptr %60, align 8, !tbaa !11
  %507 = load double, ptr %35, align 8, !tbaa !11
  %508 = load i32, ptr %36, align 4, !tbaa !5
  %509 = sext i32 %508 to i64
  %510 = getelementptr inbounds [3 x double], ptr %58, i64 0, i64 %509
  store double %507, ptr %510, align 8, !tbaa !11
  %511 = load double, ptr %35, align 8, !tbaa !11
  %512 = load double, ptr %60, align 8, !tbaa !11
  %513 = fadd double %512, %511
  store double %513, ptr %60, align 8, !tbaa !11
  %514 = load double, ptr %61, align 8, !tbaa !11
  %515 = load double, ptr %60, align 8, !tbaa !11
  %516 = fsub double %515, %514
  store double %516, ptr %60, align 8, !tbaa !11
  %517 = load double, ptr %63, align 8, !tbaa !11
  %518 = fmul double 5.769000e-01, %517
  store double %518, ptr %61, align 8, !tbaa !11
  %519 = load double, ptr %61, align 8, !tbaa !11
  %520 = load double, ptr %60, align 8, !tbaa !11
  %521 = fadd double %520, %519
  store double %521, ptr %60, align 8, !tbaa !11
  %522 = load double, ptr %46, align 8, !tbaa !11
  store double %522, ptr %63, align 8, !tbaa !11
  %523 = load double, ptr %26, align 8, !tbaa !11
  %524 = load double, ptr %60, align 8, !tbaa !11
  %525 = fmul double %524, %523
  store double %525, ptr %60, align 8, !tbaa !11
  %526 = load double, ptr %46, align 8, !tbaa !11
  %527 = load double, ptr %53, align 8, !tbaa !11
  %528 = fadd double %526, %527
  %529 = load double, ptr %67, align 8, !tbaa !11
  %530 = fmul double 8.000000e-01, %529
  %531 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %528, double %530)
  store double %531, ptr %65, align 8, !tbaa !11
  %532 = load double, ptr %72, align 8, !tbaa !11
  %533 = load double, ptr %60, align 8, !tbaa !11
  %534 = fsub double %532, %533
  %535 = load double, ptr %68, align 8, !tbaa !11
  %536 = fmul double 8.000000e-01, %535
  %537 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %534, double %536)
  store double %537, ptr %66, align 8, !tbaa !11
  %538 = load double, ptr %73, align 8, !tbaa !11
  store double %538, ptr %74, align 8, !tbaa !11
  %539 = load double, ptr %39, align 8, !tbaa !11
  store double %539, ptr %73, align 8, !tbaa !11
  %540 = load double, ptr %72, align 8, !tbaa !11
  %541 = fcmp une double %540, 0.000000e+00
  br i1 %541, label %542, label %549

542:                                              ; preds = %421
  %543 = load double, ptr %46, align 8, !tbaa !11
  %544 = load double, ptr %72, align 8, !tbaa !11
  %545 = fdiv double %543, %544
  %546 = call double @atan(double noundef %545) #4
  %547 = load double, ptr %75, align 8, !tbaa !11
  %548 = fmul double %546, %547
  store double %548, ptr %25, align 8, !tbaa !11
  br label %550

549:                                              ; preds = %421
  store double 0.000000e+00, ptr %25, align 8, !tbaa !11
  br label %550

550:                                              ; preds = %549, %542
  br label %551

551:                                              ; preds = %550, %420
  %552 = load double, ptr %79, align 8, !tbaa !11
  %553 = load double, ptr %25, align 8, !tbaa !11
  %554 = fsub double %552, %553
  store double %554, ptr %24, align 8, !tbaa !11
  %555 = load double, ptr %25, align 8, !tbaa !11
  store double %555, ptr %79, align 8, !tbaa !11
  %556 = load double, ptr %24, align 8, !tbaa !11
  %557 = fcmp olt double %556, 1.000000e+00
  br i1 %557, label %558, label %559

558:                                              ; preds = %551
  store double 1.000000e+00, ptr %24, align 8, !tbaa !11
  br label %559

559:                                              ; preds = %558, %551
  %560 = load double, ptr %24, align 8, !tbaa !11
  %561 = fcmp ogt double %560, 1.000000e+00
  br i1 %561, label %562, label %572

562:                                              ; preds = %559
  %563 = load double, ptr %14, align 8, !tbaa !11
  %564 = load double, ptr %24, align 8, !tbaa !11
  %565 = fdiv double %563, %564
  store double %565, ptr %24, align 8, !tbaa !11
  %566 = load double, ptr %24, align 8, !tbaa !11
  %567 = load double, ptr %15, align 8, !tbaa !11
  %568 = fcmp olt double %566, %567
  br i1 %568, label %569, label %571

569:                                              ; preds = %562
  %570 = load double, ptr %15, align 8, !tbaa !11
  store double %570, ptr %24, align 8, !tbaa !11
  br label %571

571:                                              ; preds = %569, %562
  br label %574

572:                                              ; preds = %559
  %573 = load double, ptr %14, align 8, !tbaa !11
  store double %573, ptr %24, align 8, !tbaa !11
  br label %574

574:                                              ; preds = %572, %571
  %575 = load double, ptr %24, align 8, !tbaa !11
  %576 = load double, ptr %78, align 8, !tbaa !11
  %577 = load double, ptr %24, align 8, !tbaa !11
  %578 = fsub double 1.000000e+00, %577
  %579 = load double, ptr %76, align 8, !tbaa !11
  %580 = fmul double %578, %579
  %581 = call double @llvm.fmuladd.f64(double %575, double %576, double %580)
  store double %581, ptr %76, align 8, !tbaa !11
  %582 = load double, ptr %24, align 8, !tbaa !11
  %583 = fmul double %582, 5.000000e-01
  store double %583, ptr %24, align 8, !tbaa !11
  %584 = load double, ptr %24, align 8, !tbaa !11
  %585 = load double, ptr %76, align 8, !tbaa !11
  %586 = load double, ptr %24, align 8, !tbaa !11
  %587 = fsub double 1.000000e+00, %586
  %588 = load double, ptr %77, align 8, !tbaa !11
  %589 = fmul double %587, %588
  %590 = call double @llvm.fmuladd.f64(double %584, double %585, double %589)
  store double %590, ptr %77, align 8, !tbaa !11
  %591 = load i32, ptr %23, align 4, !tbaa !5
  %592 = load i32, ptr %11, align 4, !tbaa !5
  %593 = icmp sge i32 %591, %592
  br i1 %593, label %594, label %606

594:                                              ; preds = %574
  %595 = load double, ptr %76, align 8, !tbaa !11
  %596 = load ptr, ptr %18, align 8, !tbaa !9
  %597 = load i32, ptr %20, align 4, !tbaa !5
  %598 = sext i32 %597 to i64
  %599 = getelementptr inbounds double, ptr %596, i64 %598
  store double %595, ptr %599, align 8, !tbaa !11
  %600 = load double, ptr %77, align 8, !tbaa !11
  %601 = load ptr, ptr %19, align 8, !tbaa !9
  %602 = load i32, ptr %20, align 4, !tbaa !5
  %603 = add nsw i32 %602, 1
  store i32 %603, ptr %20, align 4, !tbaa !5
  %604 = sext i32 %602 to i64
  %605 = getelementptr inbounds double, ptr %601, i64 %604
  store double %600, ptr %605, align 8, !tbaa !11
  br label %606

606:                                              ; preds = %594, %574
  %607 = load double, ptr %66, align 8, !tbaa !11
  %608 = load double, ptr %68, align 8, !tbaa !11
  %609 = load double, ptr %65, align 8, !tbaa !11
  %610 = load double, ptr %67, align 8, !tbaa !11
  %611 = fmul double %609, %610
  %612 = call double @llvm.fmuladd.f64(double %607, double %608, double %611)
  %613 = load double, ptr %69, align 8, !tbaa !11
  %614 = fmul double 8.000000e-01, %613
  %615 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %612, double %614)
  store double %615, ptr %69, align 8, !tbaa !11
  %616 = load double, ptr %66, align 8, !tbaa !11
  %617 = load double, ptr %67, align 8, !tbaa !11
  %618 = load double, ptr %65, align 8, !tbaa !11
  %619 = load double, ptr %68, align 8, !tbaa !11
  %620 = fmul double %618, %619
  %621 = fneg double %620
  %622 = call double @llvm.fmuladd.f64(double %616, double %617, double %621)
  %623 = load double, ptr %70, align 8, !tbaa !11
  %624 = fmul double 8.000000e-01, %623
  %625 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %622, double %624)
  store double %625, ptr %70, align 8, !tbaa !11
  %626 = load double, ptr %65, align 8, !tbaa !11
  store double %626, ptr %67, align 8, !tbaa !11
  %627 = load double, ptr %66, align 8, !tbaa !11
  store double %627, ptr %68, align 8, !tbaa !11
  %628 = load double, ptr %27, align 8, !tbaa !11
  store double %628, ptr %24, align 8, !tbaa !11
  %629 = load double, ptr %70, align 8, !tbaa !11
  %630 = fcmp une double %629, 0.000000e+00
  br i1 %630, label %631, label %642

631:                                              ; preds = %606
  %632 = load double, ptr %69, align 8, !tbaa !11
  %633 = fcmp une double %632, 0.000000e+00
  br i1 %633, label %634, label %642

634:                                              ; preds = %631
  %635 = load double, ptr %70, align 8, !tbaa !11
  %636 = load double, ptr %69, align 8, !tbaa !11
  %637 = fdiv double %635, %636
  %638 = call double @atan(double noundef %637) #4
  %639 = load double, ptr %75, align 8, !tbaa !11
  %640 = fmul double %638, %639
  %641 = fdiv double 3.600000e+02, %640
  store double %641, ptr %27, align 8, !tbaa !11
  br label %642

642:                                              ; preds = %634, %631, %606
  %643 = load double, ptr %24, align 8, !tbaa !11
  %644 = fmul double 1.500000e+00, %643
  store double %644, ptr %25, align 8, !tbaa !11
  %645 = load double, ptr %27, align 8, !tbaa !11
  %646 = load double, ptr %25, align 8, !tbaa !11
  %647 = fcmp ogt double %645, %646
  br i1 %647, label %648, label %650

648:                                              ; preds = %642
  %649 = load double, ptr %25, align 8, !tbaa !11
  store double %649, ptr %27, align 8, !tbaa !11
  br label %650

650:                                              ; preds = %648, %642
  %651 = load double, ptr %24, align 8, !tbaa !11
  %652 = fmul double 6.700000e-01, %651
  store double %652, ptr %25, align 8, !tbaa !11
  %653 = load double, ptr %27, align 8, !tbaa !11
  %654 = load double, ptr %25, align 8, !tbaa !11
  %655 = fcmp olt double %653, %654
  br i1 %655, label %656, label %658

656:                                              ; preds = %650
  %657 = load double, ptr %25, align 8, !tbaa !11
  store double %657, ptr %27, align 8, !tbaa !11
  br label %658

658:                                              ; preds = %656, %650
  %659 = load double, ptr %27, align 8, !tbaa !11
  %660 = fcmp olt double %659, 6.000000e+00
  br i1 %660, label %661, label %662

661:                                              ; preds = %658
  store double 6.000000e+00, ptr %27, align 8, !tbaa !11
  br label %667

662:                                              ; preds = %658
  %663 = load double, ptr %27, align 8, !tbaa !11
  %664 = fcmp ogt double %663, 5.000000e+01
  br i1 %664, label %665, label %666

665:                                              ; preds = %662
  store double 5.000000e+01, ptr %27, align 8, !tbaa !11
  br label %666

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

667:                                              ; preds = %666, %661
  %668 = load double, ptr %27, align 8, !tbaa !11
  %669 = load double, ptr %24, align 8, !tbaa !11
  %670 = fmul double 8.000000e-01, %669
  %671 = call double @llvm.fmuladd.f64(double 2.000000e-01, double %668, double %670)
  store double %671, ptr %27, align 8, !tbaa !11
  %672 = load i32, ptr %23, align 4, !tbaa !5
  %673 = add nsw i32 %672, 1
  store i32 %673, ptr %23, align 4, !tbaa !5
  br label %249, !llvm.loop !17

674:                                              ; preds = %249
  %675 = load i32, ptr %20, align 4, !tbaa !5
  %676 = load ptr, ptr %17, align 8, !tbaa !9
  store i32 %675, ptr %676, align 4, !tbaa !5
  store i32 0, ptr %10, align 4
  store i32 1, ptr %80, align 4
  br label %677

677:                                              ; preds = %674, %146, %127, %123, %118, %106, %95, %91, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 24, ptr %59) #4
  call void @llvm.lifetime.end.p0(i64 24, 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 8, ptr %55) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 24, 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 8, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 24, 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 8, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, 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 4, 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 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  %678 = load i32, ptr %10, align 4
  ret i32 %678
}

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}


; 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 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_MAMA(i32 noundef %0, i32 noundef %1, ptr noundef readonly %2, double noundef %3, double noundef %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef writeonly %6, ptr noundef writeonly %7, ptr noundef writeonly %8) local_unnamed_addr #3 {
  %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 [3 x double], align 16
  %17 = alloca [3 x double], align 16
  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 24, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  %18 = icmp slt i32 %0, 0
  br i1 %18, label %331, label %19

19:                                               ; preds = %9
  %20 = icmp slt i32 %1, %0
  br i1 %20, label %331, label %21

21:                                               ; preds = %19
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %331, label %22

22:                                               ; preds = %21
  %23 = fcmp oeq double %3, -4.000000e+37
  br i1 %23, label %27, label %24

24:                                               ; preds = %22
  %25 = fcmp olt double %3, 1.000000e-02
  %26 = fcmp ogt double %3, 0x3FEFAE147AE147AE
  %or.cond = or i1 %25, %26
  br i1 %or.cond, label %331, label %27

27:                                               ; preds = %22, %24
  %.0326 = phi double [ %3, %24 ], [ 5.000000e-01, %22 ]
  %28 = fcmp oeq double %4, -4.000000e+37
  br i1 %28, label %32, label %29

29:                                               ; preds = %27
  %30 = fcmp olt double %4, 1.000000e-02
  %31 = fcmp ogt double %4, 0x3FEFAE147AE147AE
  %or.cond3 = or i1 %30, %31
  br i1 %or.cond3, label %331, label %32

32:                                               ; preds = %27, %29
  %.0327 = phi double [ %4, %29 ], [ 5.000000e-02, %27 ]
  %.not360 = icmp eq ptr %7, null
  %.not361 = icmp eq ptr %8, null
  %or.cond366 = or i1 %.not360, %.not361
  br i1 %or.cond366, label %331, label %33

33:                                               ; preds = %32
  %34 = load ptr, ptr @TA_Globals, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 164
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = add i32 %36, 32
  %spec.select = tail call i32 @llvm.smax.i32(i32 %37, i32 %0)
  %38 = icmp ugt i32 %spec.select, %1
  br i1 %38, label %39, label %40

39:                                               ; preds = %33
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %.sink.split421

40:                                               ; preds = %33
  store i32 %spec.select, ptr %5, align 4, !tbaa !9
  %41 = sub nsw i32 %spec.select, %37
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds float, ptr %2, i64 %42
  %44 = load float, ptr %43, align 4, !tbaa !11
  %45 = getelementptr i8, ptr %43, i64 4
  %46 = load float, ptr %45, align 4, !tbaa !11
  %47 = add i32 %41, 3
  %48 = getelementptr i8, ptr %43, i64 8
  %49 = load float, ptr %48, align 4, !tbaa !11
  %50 = sext i32 %47 to i64
  %51 = add nsw i64 %50, 8
  %52 = getelementptr inbounds float, ptr %2, i64 %50
  %53 = load float, ptr %52, align 4, !tbaa !11
  %54 = getelementptr float, ptr %2, i64 %50
  %55 = getelementptr i8, ptr %54, i64 4
  %56 = load float, ptr %55, align 4, !tbaa !11
  %57 = getelementptr float, ptr %2, i64 %50
  %58 = getelementptr i8, ptr %57, i64 8
  %59 = load float, ptr %58, align 4, !tbaa !11
  %60 = getelementptr float, ptr %2, i64 %50
  %61 = getelementptr i8, ptr %60, i64 12
  %62 = load float, ptr %61, align 4, !tbaa !11
  %63 = getelementptr float, ptr %2, i64 %42
  %64 = getelementptr i8, ptr %63, i64 12
  %65 = load float, ptr %64, align 4, !tbaa !11
  %66 = getelementptr float, ptr %2, i64 %50
  %67 = getelementptr i8, ptr %66, i64 16
  %68 = load float, ptr %67, align 4, !tbaa !11
  %69 = getelementptr float, ptr %2, i64 %42
  %70 = getelementptr i8, ptr %69, i64 16
  %71 = load float, ptr %70, align 4, !tbaa !11
  %72 = getelementptr float, ptr %2, i64 %50
  %73 = getelementptr i8, ptr %72, i64 20
  %74 = load float, ptr %73, align 4, !tbaa !11
  %75 = getelementptr float, ptr %2, i64 %42
  %76 = getelementptr i8, ptr %75, i64 20
  %77 = load float, ptr %76, align 4, !tbaa !11
  %78 = getelementptr float, ptr %2, i64 %50
  %79 = getelementptr i8, ptr %78, i64 24
  %80 = load float, ptr %79, align 4, !tbaa !11
  %81 = getelementptr float, ptr %2, i64 %42
  %82 = getelementptr i8, ptr %81, i64 24
  %83 = load float, ptr %82, align 4, !tbaa !11
  %84 = getelementptr float, ptr %2, i64 %50
  %85 = getelementptr i8, ptr %84, i64 28
  %86 = load float, ptr %85, align 4, !tbaa !11
  %87 = getelementptr float, ptr %2, i64 %42
  %88 = getelementptr i8, ptr %87, i64 28
  %89 = load float, ptr %88, align 4, !tbaa !11
  %90 = getelementptr inbounds float, ptr %2, i64 %51
  %91 = load float, ptr %90, align 4, !tbaa !11
  %92 = getelementptr float, ptr %2, i64 %42
  %93 = getelementptr i8, ptr %92, i64 32
  %94 = load float, ptr %93, align 4, !tbaa !11
  %95 = trunc nsw i64 %51 to i32
  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(24) %16, i8 0, i64 24, i1 false)
  %.not363371.not = icmp slt i32 %95, %1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %17, i8 0, i64 24, i1 false)
  br i1 %.not363371.not, label %.lr.ph.preheader, label %.sink.split421

.lr.ph.preheader:                                 ; preds = %40
  %96 = add i32 %41, 12
  %indvars.iv.next412.8 = add i32 %41, 9
  %97 = fpext float %91 to double
  %98 = fpext float %86 to double
  %99 = fpext float %80 to double
  %100 = fpext float %74 to double
  %101 = fpext float %68 to double
  %102 = fpext float %62 to double
  %103 = fpext float %59 to double
  %104 = fpext float %56 to double
  %105 = fpext float %53 to double
  %106 = fpext float %49 to double
  %107 = fpext float %46 to double
  %108 = fpext float %44 to double
  %109 = tail call double @llvm.fmuladd.f64(double %107, double 2.000000e+00, double %108)
  %110 = tail call double @llvm.fmuladd.f64(double %106, double 3.000000e+00, double %109)
  %111 = tail call double @llvm.fmuladd.f64(double %105, double 4.000000e+00, double %110)
  %112 = fadd double %108, %107
  %113 = fadd double %112, %106
  %114 = fadd double %113, %105
  %115 = fsub double %111, %114
  %116 = tail call double @llvm.fmuladd.f64(double %104, double 4.000000e+00, double %115)
  %117 = fadd double %114, %104
  %118 = fsub double %117, %108
  %119 = fsub double %116, %118
  %120 = tail call double @llvm.fmuladd.f64(double %103, double 4.000000e+00, double %119)
  %121 = fadd double %118, %103
  %122 = fsub double %121, %107
  %123 = fsub double %120, %122
  %124 = tail call double @llvm.fmuladd.f64(double %102, double 4.000000e+00, double %123)
  %125 = fadd double %122, %102
  %126 = fsub double %125, %106
  %127 = fsub double %124, %126
  %128 = tail call double @llvm.fmuladd.f64(double %101, double 4.000000e+00, double %127)
  %129 = fadd double %126, %101
  %130 = fpext float %65 to double
  %131 = fsub double %129, %130
  %132 = fsub double %128, %131
  %133 = tail call double @llvm.fmuladd.f64(double %100, double 4.000000e+00, double %132)
  %134 = fadd double %131, %100
  %135 = fpext float %71 to double
  %136 = fsub double %134, %135
  %137 = fsub double %133, %136
  %138 = tail call double @llvm.fmuladd.f64(double %99, double 4.000000e+00, double %137)
  %139 = fadd double %136, %99
  %140 = fpext float %77 to double
  %141 = fsub double %139, %140
  %142 = fsub double %138, %141
  %143 = tail call double @llvm.fmuladd.f64(double %98, double 4.000000e+00, double %142)
  %144 = fadd double %141, %98
  %145 = fpext float %83 to double
  %146 = fsub double %144, %145
  %147 = fsub double %143, %146
  %148 = tail call double @llvm.fmuladd.f64(double %97, double 4.000000e+00, double %147)
  %149 = fadd double %146, %97
  %150 = fpext float %89 to double
  %151 = fsub double %149, %150
  %152 = fsub double %148, %151
  %153 = sext i32 %indvars.iv.next412.8 to i64
  %154 = sext i32 %96 to i64
  %155 = zext nneg i32 %spec.select to i64
  %156 = add nuw i32 %1, 1
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %328
  %indvars.iv415 = phi i64 [ %154, %.lr.ph.preheader ], [ %indvars.iv.next416, %328 ]
  %indvars.iv = phi i64 [ %153, %.lr.ph.preheader ], [ %indvars.iv.next414, %328 ]
  %.0406 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.0340, %328 ]
  %.0276405 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %293, %328 ]
  %.0277404 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %289, %328 ]
  %.0279403 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1, %328 ]
  %.0280402 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1281, %328 ]
  %.0282401 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1283, %328 ]
  %.0284400 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1285, %328 ]
  %.0308387 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1309, %328 ]
  %.0310386 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1311, %328 ]
  %.0312385 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1313, %328 ]
  %.0314384 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1315, %328 ]
  %.0316383 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1317, %328 ]
  %.0318382 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1319, %328 ]
  %.0320381 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1321, %328 ]
  %.0322380 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %.1323, %328 ]
  %.0324379 = phi i32 [ 0, %.lr.ph.preheader ], [ %.1325, %328 ]
  %.1329378.in = phi float [ %94, %.lr.ph.preheader ], [ %171, %328 ]
  %.1331377 = phi double [ %151, %.lr.ph.preheader ], [ %168, %328 ]
  %.1333376 = phi double [ %152, %.lr.ph.preheader ], [ %173, %328 ]
  %.0336374 = phi double [ 0.000000e+00, %.lr.ph.preheader ], [ %330, %328 ]
  %.0338373 = phi i32 [ 0, %.lr.ph.preheader ], [ %.1339, %328 ]
  %157 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %274, %328 ]
  %158 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %308, %328 ]
  %159 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %275, %328 ]
  %160 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %276, %328 ]
  %161 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %277, %328 ]
  %162 = phi <2 x double> [ zeroinitializer, %.lr.ph.preheader ], [ %278, %328 ]
  %.1329378 = fpext float %.1329378.in to double
  %163 = tail call double @llvm.fmuladd.f64(double %.0336374, double 0x3FB3333333333333, double 5.400000e-01)
  %164 = getelementptr inbounds float, ptr %2, i64 %indvars.iv415
  %165 = load float, ptr %164, align 4, !tbaa !11
  %166 = fpext float %165 to double
  %167 = fadd double %.1331377, %166
  %168 = fsub double %167, %.1329378
  %169 = tail call double @llvm.fmuladd.f64(double %166, double 4.000000e+00, double %.1333376)
  %indvars.iv.next414 = add nsw i64 %indvars.iv, 1
  %170 = getelementptr inbounds float, ptr %2, i64 %indvars.iv
  %171 = load float, ptr %170, align 4, !tbaa !11
  %172 = fmul double %169, 1.000000e-01
  %173 = fsub double %169, %168
  %174 = and i64 %indvars.iv415, 1
  %175 = icmp eq i64 %174, 0
  %176 = fmul double %172, 0x3FB8A0902DE00D1B
  %177 = sext i32 %.0324379 to i64
  br i1 %175, label %178, label %223

178:                                              ; preds = %.lr.ph
  %179 = getelementptr inbounds [3 x double], ptr %11, i64 0, i64 %177
  %180 = load double, ptr %179, align 8, !tbaa !13
  store double %176, ptr %179, align 8, !tbaa !13
  %181 = fsub double %176, %180
  %182 = fsub double %181, %.0320381
  %183 = fmul double %.0316383, 5.769000e-01
  %184 = fadd double %183, %182
  %185 = fmul double %163, %184
  %186 = fmul double %185, 0x3FB8A0902DE00D1B
  %187 = getelementptr inbounds [3 x double], ptr %13, i64 0, i64 %177
  %188 = load double, ptr %187, align 8, !tbaa !13
  store double %186, ptr %187, align 8, !tbaa !13
  %189 = fsub double %186, %188
  %190 = fsub double %189, %.0312385
  %191 = fmul double %.0308387, 5.769000e-01
  %192 = fadd double %191, %190
  %193 = fmul double %163, %192
  %194 = getelementptr inbounds [3 x double], ptr %15, i64 0, i64 %177
  %195 = load double, ptr %194, align 8, !tbaa !13
  %196 = fmul <2 x double> %159, <double 5.769000e-01, double 5.769000e-01>
  %197 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 %177
  %198 = load double, ptr %197, align 8, !tbaa !13
  %199 = add nsw i32 %.0324379, 1
  %200 = icmp eq i32 %199, 3
  %spec.store.select = select i1 %200, i32 0, i32 %199
  %201 = fmul <2 x double> %157, <double 8.000000e-01, double 8.000000e-01>
  %202 = insertelement <2 x double> poison, double %.0279403, i64 0
  %203 = insertelement <2 x double> %202, double %193, i64 1
  %204 = fmul <2 x double> %203, <double 0x3FB8A0902DE00D1B, double 0x3FB8A0902DE00D1B>
  %205 = extractelement <2 x double> %204, i64 0
  store double %205, ptr %194, align 8, !tbaa !13
  %206 = extractelement <2 x double> %204, i64 1
  store double %206, ptr %197, align 8, !tbaa !13
  %207 = insertelement <2 x double> poison, double %195, i64 0
  %208 = insertelement <2 x double> %207, double %198, i64 1
  %209 = fsub <2 x double> %204, %208
  %210 = fsub <2 x double> %209, %160
  %211 = fadd <2 x double> %196, %210
  %212 = insertelement <2 x double> poison, double %163, i64 0
  %213 = shufflevector <2 x double> %212, <2 x double> poison, <2 x i32> zeroinitializer
  %214 = fmul <2 x double> %213, %211
  %215 = shufflevector <2 x double> %203, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %216 = fsub <2 x double> %215, %214
  %217 = fadd <2 x double> %215, %214
  %218 = shufflevector <2 x double> %217, <2 x double> %216, <2 x i32> <i32 0, i32 3>
  %219 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %218, <2 x double> <double 2.000000e-01, double 2.000000e-01>, <2 x double> %201)
  %220 = fcmp une double %.0279403, 0.000000e+00
  br i1 %220, label %221, label %273

221:                                              ; preds = %178
  %222 = fdiv double %193, %.0279403
  br label %.sink.split

223:                                              ; preds = %.lr.ph
  %224 = getelementptr inbounds [3 x double], ptr %10, i64 0, i64 %177
  %225 = load double, ptr %224, align 8, !tbaa !13
  store double %176, ptr %224, align 8, !tbaa !13
  %226 = fsub double %176, %225
  %227 = fsub double %226, %.0322380
  %228 = fmul double %.0318382, 5.769000e-01
  %229 = fadd double %228, %227
  %230 = fmul double %163, %229
  %231 = fmul double %230, 0x3FB8A0902DE00D1B
  %232 = getelementptr inbounds [3 x double], ptr %12, i64 0, i64 %177
  %233 = load double, ptr %232, align 8, !tbaa !13
  store double %231, ptr %232, align 8, !tbaa !13
  %234 = fsub double %231, %233
  %235 = fsub double %234, %.0314384
  %236 = fmul double %.0310386, 5.769000e-01
  %237 = fadd double %236, %235
  %238 = fmul double %163, %237
  %239 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 %177
  %240 = load double, ptr %239, align 8, !tbaa !13
  %241 = fmul <2 x double> %161, <double 5.769000e-01, double 5.769000e-01>
  %242 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 %177
  %243 = load double, ptr %242, align 8, !tbaa !13
  %244 = fmul <2 x double> %157, <double 8.000000e-01, double 8.000000e-01>
  %245 = insertelement <2 x double> poison, double %.0282401, i64 0
  %246 = insertelement <2 x double> %245, double %238, i64 1
  %247 = fmul <2 x double> %246, <double 0x3FB8A0902DE00D1B, double 0x3FB8A0902DE00D1B>
  %248 = extractelement <2 x double> %247, i64 0
  store double %248, ptr %239, align 8, !tbaa !13
  %249 = extractelement <2 x double> %247, i64 1
  store double %249, ptr %242, align 8, !tbaa !13
  %250 = insertelement <2 x double> poison, double %240, i64 0
  %251 = insertelement <2 x double> %250, double %243, i64 1
  %252 = fsub <2 x double> %247, %251
  %253 = fsub <2 x double> %252, %162
  %254 = fadd <2 x double> %241, %253
  %255 = insertelement <2 x double> poison, double %163, i64 0
  %256 = shufflevector <2 x double> %255, <2 x double> poison, <2 x i32> zeroinitializer
  %257 = fmul <2 x double> %256, %254
  %258 = shufflevector <2 x double> %246, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %259 = fsub <2 x double> %258, %257
  %260 = fadd <2 x double> %258, %257
  %261 = shufflevector <2 x double> %260, <2 x double> %259, <2 x i32> <i32 0, i32 3>
  %262 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %261, <2 x double> <double 2.000000e-01, double 2.000000e-01>, <2 x double> %244)
  %263 = fcmp une double %.0282401, 0.000000e+00
  br i1 %263, label %264, label %273

264:                                              ; preds = %223
  %265 = fdiv double %238, %.0282401
  br label %.sink.split

.sink.split:                                      ; preds = %221, %264
  %.sink420 = phi double [ %265, %264 ], [ %222, %221 ]
  %.1325.ph = phi i32 [ %.0324379, %264 ], [ %spec.store.select, %221 ]
  %.1323.ph = phi double [ %228, %264 ], [ %.0322380, %221 ]
  %.1321.ph = phi double [ %.0320381, %264 ], [ %183, %221 ]
  %.1319.ph = phi double [ %172, %264 ], [ %.0318382, %221 ]
  %.1317.ph = phi double [ %.0316383, %264 ], [ %172, %221 ]
  %.1315.ph = phi double [ %236, %264 ], [ %.0314384, %221 ]
  %.1313.ph = phi double [ %.0312385, %264 ], [ %191, %221 ]
  %.1311.ph = phi double [ %230, %264 ], [ %.0310386, %221 ]
  %.1309.ph = phi double [ %.0308387, %264 ], [ %185, %221 ]
  %.1285.ph = phi double [ %.0284400, %264 ], [ %185, %221 ]
  %.1283.ph = phi double [ %.0282401, %264 ], [ %.0284400, %221 ]
  %.1281.ph = phi double [ %230, %264 ], [ %.0280402, %221 ]
  %.1.ph = phi double [ %.0280402, %264 ], [ %.0279403, %221 ]
  %266 = phi <2 x double> [ %262, %264 ], [ %219, %221 ]
  %267 = phi <2 x double> [ %241, %264 ], [ %162, %221 ]
  %268 = phi <2 x double> [ %246, %264 ], [ %161, %221 ]
  %269 = phi <2 x double> [ %160, %264 ], [ %196, %221 ]
  %270 = phi <2 x double> [ %159, %264 ], [ %203, %221 ]
  %271 = tail call double @atan(double noundef %.sink420) #6
  %272 = fmul double %271, 0x404CA5DC1A63C1F8
  br label %273

273:                                              ; preds = %.sink.split, %223, %178
  %.0340 = phi double [ 0.000000e+00, %178 ], [ 0.000000e+00, %223 ], [ %272, %.sink.split ]
  %.1325 = phi i32 [ %spec.store.select, %178 ], [ %.0324379, %223 ], [ %.1325.ph, %.sink.split ]
  %.1323 = phi double [ %.0322380, %178 ], [ %228, %223 ], [ %.1323.ph, %.sink.split ]
  %.1321 = phi double [ %183, %178 ], [ %.0320381, %223 ], [ %.1321.ph, %.sink.split ]
  %.1319 = phi double [ %.0318382, %178 ], [ %172, %223 ], [ %.1319.ph, %.sink.split ]
  %.1317 = phi double [ %172, %178 ], [ %.0316383, %223 ], [ %.1317.ph, %.sink.split ]
  %.1315 = phi double [ %.0314384, %178 ], [ %236, %223 ], [ %.1315.ph, %.sink.split ]
  %.1313 = phi double [ %191, %178 ], [ %.0312385, %223 ], [ %.1313.ph, %.sink.split ]
  %.1311 = phi double [ %.0310386, %178 ], [ %230, %223 ], [ %.1311.ph, %.sink.split ]
  %.1309 = phi double [ %185, %178 ], [ %.0308387, %223 ], [ %.1309.ph, %.sink.split ]
  %.1285 = phi double [ %185, %178 ], [ %.0284400, %223 ], [ %.1285.ph, %.sink.split ]
  %.1283 = phi double [ %.0284400, %178 ], [ %.0282401, %223 ], [ %.1283.ph, %.sink.split ]
  %.1281 = phi double [ %.0280402, %178 ], [ %230, %223 ], [ %.1281.ph, %.sink.split ]
  %.1 = phi double [ %.0279403, %178 ], [ %.0280402, %223 ], [ %.1.ph, %.sink.split ]
  %274 = phi <2 x double> [ %219, %178 ], [ %262, %223 ], [ %266, %.sink.split ]
  %275 = phi <2 x double> [ %203, %178 ], [ %159, %223 ], [ %270, %.sink.split ]
  %276 = phi <2 x double> [ %196, %178 ], [ %160, %223 ], [ %269, %.sink.split ]
  %277 = phi <2 x double> [ %161, %178 ], [ %246, %223 ], [ %268, %.sink.split ]
  %278 = phi <2 x double> [ %162, %178 ], [ %241, %223 ], [ %267, %.sink.split ]
  %279 = fsub double %.0406, %.0340
  %280 = fcmp olt double %279, 1.000000e+00
  %.0341 = select i1 %280, double 1.000000e+00, double %279
  %281 = fcmp ogt double %.0341, 1.000000e+00
  br i1 %281, label %282, label %286

282:                                              ; preds = %273
  %283 = fdiv double %.0326, %.0341
  %284 = fcmp olt double %283, %.0327
  br i1 %284, label %285, label %286

285:                                              ; preds = %282
  br label %286

286:                                              ; preds = %273, %282, %285
  %.1342 = phi double [ %.0327, %285 ], [ %283, %282 ], [ %.0326, %273 ]
  %287 = fsub double 1.000000e+00, %.1342
  %288 = fmul double %.0277404, %287
  %289 = tail call double @llvm.fmuladd.f64(double %.1342, double %166, double %288)
  %290 = fmul double %.1342, 5.000000e-01
  %291 = fsub double 1.000000e+00, %290
  %292 = fmul double %.0276405, %291
  %293 = tail call double @llvm.fmuladd.f64(double %290, double %289, double %292)
  %.not364 = icmp slt i64 %indvars.iv415, %155
  br i1 %.not364, label %299, label %294

294:                                              ; preds = %286
  %295 = sext i32 %.0338373 to i64
  %296 = getelementptr inbounds double, ptr %7, i64 %295
  store double %289, ptr %296, align 8, !tbaa !13
  %297 = add nsw i32 %.0338373, 1
  %298 = getelementptr inbounds double, ptr %8, i64 %295
  store double %293, ptr %298, align 8, !tbaa !13
  br label %299

299:                                              ; preds = %294, %286
  %.1339 = phi i32 [ %297, %294 ], [ %.0338373, %286 ]
  %300 = fmul <2 x double> %158, <double 8.000000e-01, double 8.000000e-01>
  %301 = extractelement <2 x double> %274, i64 0
  %302 = fneg double %301
  %303 = insertelement <2 x double> %274, double %302, i64 1
  %304 = fmul <2 x double> %157, %303
  %305 = shufflevector <2 x double> %304, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %306 = shufflevector <2 x double> %274, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %307 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %306, <2 x double> %157, <2 x double> %305)
  %308 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %307, <2 x double> <double 2.000000e-01, double 2.000000e-01>, <2 x double> %300)
  %309 = fcmp une <2 x double> %308, zeroinitializer
  %310 = extractelement <2 x i1> %309, i64 0
  %311 = extractelement <2 x i1> %309, i64 1
  %or.cond5 = select i1 %310, i1 %311, i1 false
  br i1 %or.cond5, label %312, label %319

312:                                              ; preds = %299
  %313 = extractelement <2 x double> %308, i64 0
  %314 = extractelement <2 x double> %308, i64 1
  %315 = fdiv double %313, %314
  %316 = tail call double @atan(double noundef %315) #6
  %317 = fmul double %316, 0x404CA5DC1A63C1F8
  %318 = fdiv double 3.600000e+02, %317
  br label %319

319:                                              ; preds = %312, %299
  %.1337 = phi double [ %318, %312 ], [ %.0336374, %299 ]
  %320 = fmul double %.0336374, 1.500000e+00
  %321 = fcmp ogt double %.1337, %320
  %.2 = select i1 %321, double %320, double %.1337
  %322 = fmul double %.0336374, 6.700000e-01
  %323 = fcmp olt double %.2, %322
  %.3 = select i1 %323, double %322, double %.2
  %324 = fcmp olt double %.3, 6.000000e+00
  br i1 %324, label %328, label %325

325:                                              ; preds = %319
  %326 = fcmp ogt double %.3, 5.000000e+01
  br i1 %326, label %327, label %328

327:                                              ; preds = %325
  br label %328

328:                                              ; preds = %319, %325, %327
  %.4 = phi double [ 5.000000e+01, %327 ], [ %.3, %325 ], [ 6.000000e+00, %319 ]
  %329 = fmul double %.0336374, 8.000000e-01
  %330 = tail call double @llvm.fmuladd.f64(double %.4, double 2.000000e-01, double %329)
  %indvars.iv.next416 = add nsw i64 %indvars.iv415, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next416 to i32
  %exitcond.not = icmp eq i32 %156, %lftr.wideiv
  br i1 %exitcond.not, label %.sink.split421, label %.lr.ph, !llvm.loop !15

.sink.split421:                                   ; preds = %328, %40, %39
  %.0338.lcssa.sink = phi i32 [ 0, %39 ], [ 0, %40 ], [ %.1339, %328 ]
  store i32 %.0338.lcssa.sink, ptr %6, align 4, !tbaa !9
  br label %331

331:                                              ; preds = %.sink.split421, %32, %29, %24, %21, %19, %9
  %.0275 = phi i32 [ 12, %9 ], [ 13, %19 ], [ 2, %21 ], [ 2, %24 ], [ 2, %29 ], [ 2, %32 ], [ 0, %.sink.split421 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 24, 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
  ret i32 %.0275
}

; 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 = { 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 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"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