; LLVM IR from sourceryinstitute/MORFEUS-Source :: src/FV/src/mesh_optimize/OptMS (SMfunc3d)

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

@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #3

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

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

declare i32 @SMfrobenius_norm_squared3x3(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @SMcreateWeightedJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @SMdeterminant3x3(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare i32 @SMadjoint3x3(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @SMcreateJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @vGradCondition(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #4 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca [3 x double], align 16
  %18 = alloca [3 x double], align 16
  %19 = alloca [3 x double], align 16
  %20 = alloca [3 x double], align 16
  %21 = alloca [3 x double], align 16
  %22 = alloca [3 x double], align 16
  %23 = alloca [3 x double], align 16
  %24 = alloca [3 x double], align 16
  %25 = alloca [3 x double], align 16
  %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 double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %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 double, align 8
  %41 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %42 = call double @sqrt(double noundef 3.000000e+00) #5
  %43 = fdiv double 1.000000e+00, %42
  store double %43, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %44 = call double @sqrt(double noundef 6.000000e+00) #5
  %45 = fdiv double 1.000000e+00, %44
  store double %45, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %46 = load double, ptr %26, align 8, !tbaa !9
  %47 = load double, ptr %27, align 8, !tbaa !9
  %48 = fmul double %46, %47
  store double %48, ptr %28, align 8, !tbaa !9
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %54 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
  %55 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
  %56 = call i32 @SMcreateJacobian(ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55)
  store i32 %56, ptr %14, align 4, !tbaa !11
  %57 = load i32, ptr %14, align 4, !tbaa !11
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %62

59:                                               ; preds = %6
  %60 = load i32, ptr %14, align 4, !tbaa !11
  %61 = call i32 @SMerror(i32 noundef 829, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %60, i32 noundef 0, ptr noundef null)
  store i32 %61, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

62:                                               ; preds = %6
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  %65 = load ptr, ptr %11, align 8, !tbaa !5
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %68 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %69 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %70 = call i32 @SMcreateWeightedJacobian(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69)
  store i32 %70, ptr %14, align 4, !tbaa !11
  %71 = load i32, ptr %14, align 4, !tbaa !11
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %76

73:                                               ; preds = %62
  %74 = load i32, ptr %14, align 4, !tbaa !11
  %75 = call i32 @SMerror(i32 noundef 831, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %74, i32 noundef 0, ptr noundef null)
  store i32 %75, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

76:                                               ; preds = %62
  %77 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %78 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %79 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %80 = call i32 @SMdeterminant3x3(ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %16)
  store i32 %80, ptr %14, align 4, !tbaa !11
  %81 = load i32, ptr %14, align 4, !tbaa !11
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %86

83:                                               ; preds = %76
  %84 = load i32, ptr %14, align 4, !tbaa !11
  %85 = call i32 @SMerror(i32 noundef 832, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %84, i32 noundef 0, ptr noundef null)
  store i32 %85, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

86:                                               ; preds = %76
  %87 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %88 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %89 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %90 = call i32 @SMfrobenius_norm_squared3x3(ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %15)
  store i32 %90, ptr %14, align 4, !tbaa !11
  %91 = load i32, ptr %14, align 4, !tbaa !11
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %96

93:                                               ; preds = %86
  %94 = load i32, ptr %14, align 4, !tbaa !11
  %95 = call i32 @SMerror(i32 noundef 834, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %94, i32 noundef 0, ptr noundef null)
  store i32 %95, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

96:                                               ; preds = %86
  %97 = load double, ptr %15, align 8, !tbaa !9
  %98 = call double @sqrt(double noundef %97) #5
  store double %98, ptr %38, align 8, !tbaa !9
  %99 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %100 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %101 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %102 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
  %103 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
  %104 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
  %105 = call i32 @SMadjoint3x3(ptr noundef %99, ptr noundef %100, ptr noundef %101, ptr noundef %102, ptr noundef %103, ptr noundef %104)
  store i32 %105, ptr %14, align 4, !tbaa !11
  %106 = load i32, ptr %14, align 4, !tbaa !11
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %111

108:                                              ; preds = %96
  %109 = load i32, ptr %14, align 4, !tbaa !11
  %110 = call i32 @SMerror(i32 noundef 837, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %109, i32 noundef 0, ptr noundef null)
  store i32 %110, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

111:                                              ; preds = %96
  %112 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
  %113 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
  %114 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
  %115 = call i32 @SMfrobenius_norm_squared3x3(ptr noundef %112, ptr noundef %113, ptr noundef %114, ptr noundef %40)
  store i32 %115, ptr %14, align 4, !tbaa !11
  %116 = load i32, ptr %14, align 4, !tbaa !11
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %121

118:                                              ; preds = %111
  %119 = load i32, ptr %14, align 4, !tbaa !11
  %120 = call i32 @SMerror(i32 noundef 839, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef %119, i32 noundef 0, ptr noundef null)
  store i32 %120, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

121:                                              ; preds = %111
  %122 = load double, ptr %40, align 8, !tbaa !9
  %123 = call double @sqrt(double noundef %122) #5
  store double %123, ptr %39, align 8, !tbaa !9
  %124 = load double, ptr %28, align 8, !tbaa !9
  %125 = fmul double 6.000000e+00, %124
  %126 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  %127 = load double, ptr %126, align 8, !tbaa !9
  %128 = fneg double %127
  %129 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 2
  %130 = load double, ptr %129, align 16, !tbaa !9
  %131 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  %132 = load double, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2
  %134 = load double, ptr %133, align 16, !tbaa !9
  %135 = fmul double %132, %134
  %136 = call double @llvm.fmuladd.f64(double %128, double %130, double %135)
  %137 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 1
  %138 = load double, ptr %137, align 8, !tbaa !9
  %139 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2
  %140 = load double, ptr %139, align 16, !tbaa !9
  %141 = fneg double %138
  %142 = call double @llvm.fmuladd.f64(double %141, double %140, double %136)
  %143 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 1
  %144 = load double, ptr %143, align 8, !tbaa !9
  %145 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 2
  %146 = load double, ptr %145, align 16, !tbaa !9
  %147 = call double @llvm.fmuladd.f64(double %144, double %146, double %142)
  %148 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  %149 = load double, ptr %148, align 16, !tbaa !9
  %150 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 1
  %151 = load double, ptr %150, align 8, !tbaa !9
  %152 = call double @llvm.fmuladd.f64(double %149, double %151, double %147)
  %153 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 1
  %154 = load double, ptr %153, align 8, !tbaa !9
  %155 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  %156 = load double, ptr %155, align 16, !tbaa !9
  %157 = fneg double %154
  %158 = call double @llvm.fmuladd.f64(double %157, double %156, double %152)
  %159 = fmul double %125, %158
  store double %159, ptr %32, align 8, !tbaa !9
  %160 = load double, ptr %28, align 8, !tbaa !9
  %161 = fmul double 6.000000e+00, %160
  %162 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %163 = load double, ptr %162, align 16, !tbaa !9
  %164 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 2
  %165 = load double, ptr %164, align 16, !tbaa !9
  %166 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %167 = load double, ptr %166, align 16, !tbaa !9
  %168 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2
  %169 = load double, ptr %168, align 16, !tbaa !9
  %170 = fmul double %167, %169
  %171 = fneg double %170
  %172 = call double @llvm.fmuladd.f64(double %163, double %165, double %171)
  %173 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
  %174 = load double, ptr %173, align 16, !tbaa !9
  %175 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  %176 = load double, ptr %175, align 16, !tbaa !9
  %177 = fneg double %174
  %178 = call double @llvm.fmuladd.f64(double %177, double %176, double %172)
  %179 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
  %180 = load double, ptr %179, align 16, !tbaa !9
  %181 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2
  %182 = load double, ptr %181, align 16, !tbaa !9
  %183 = call double @llvm.fmuladd.f64(double %180, double %182, double %178)
  %184 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
  %185 = load double, ptr %184, align 16, !tbaa !9
  %186 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 2
  %187 = load double, ptr %186, align 16, !tbaa !9
  %188 = fneg double %185
  %189 = call double @llvm.fmuladd.f64(double %188, double %187, double %183)
  %190 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 2
  %191 = load double, ptr %190, align 16, !tbaa !9
  %192 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
  %193 = load double, ptr %192, align 16, !tbaa !9
  %194 = call double @llvm.fmuladd.f64(double %191, double %193, double %189)
  %195 = fmul double %161, %194
  store double %195, ptr %33, align 8, !tbaa !9
  %196 = load double, ptr %28, align 8, !tbaa !9
  %197 = fmul double 6.000000e+00, %196
  %198 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %199 = load double, ptr %198, align 16, !tbaa !9
  %200 = fneg double %199
  %201 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 1
  %202 = load double, ptr %201, align 8, !tbaa !9
  %203 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
  %204 = load double, ptr %203, align 16, !tbaa !9
  %205 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  %206 = load double, ptr %205, align 8, !tbaa !9
  %207 = fmul double %204, %206
  %208 = call double @llvm.fmuladd.f64(double %200, double %202, double %207)
  %209 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 1
  %210 = load double, ptr %209, align 8, !tbaa !9
  %211 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
  %212 = load double, ptr %211, align 16, !tbaa !9
  %213 = fneg double %210
  %214 = call double @llvm.fmuladd.f64(double %213, double %212, double %208)
  %215 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0
  %216 = load double, ptr %215, align 16, !tbaa !9
  %217 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 1
  %218 = load double, ptr %217, align 8, !tbaa !9
  %219 = call double @llvm.fmuladd.f64(double %216, double %218, double %214)
  %220 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0
  %221 = load double, ptr %220, align 16, !tbaa !9
  %222 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 1
  %223 = load double, ptr %222, align 8, !tbaa !9
  %224 = fneg double %221
  %225 = call double @llvm.fmuladd.f64(double %224, double %223, double %219)
  %226 = getelementptr inbounds [3 x double], ptr %23, i64 0, i64 0
  %227 = load double, ptr %226, align 16, !tbaa !9
  %228 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 1
  %229 = load double, ptr %228, align 8, !tbaa !9
  %230 = call double @llvm.fmuladd.f64(double %227, double %229, double %225)
  %231 = fmul double %197, %230
  store double %231, ptr %34, align 8, !tbaa !9
  %232 = load double, ptr %38, align 8, !tbaa !9
  %233 = fcmp olt double %232, 1.000000e-15
  br i1 %233, label %234, label %236

234:                                              ; preds = %121
  %235 = call i32 @SMerror(i32 noundef 852, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 62, i32 noundef 0, ptr noundef null)
  store i32 %235, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

236:                                              ; preds = %121
  %237 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %238 = load double, ptr %237, align 16, !tbaa !9
  %239 = fneg double %238
  %240 = load double, ptr %26, align 8, !tbaa !9
  %241 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %242 = load double, ptr %241, align 16, !tbaa !9
  %243 = fneg double %240
  %244 = call double @llvm.fmuladd.f64(double %243, double %242, double %239)
  %245 = load double, ptr %27, align 8, !tbaa !9
  %246 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %247 = load double, ptr %246, align 16, !tbaa !9
  %248 = fneg double %245
  %249 = call double @llvm.fmuladd.f64(double %248, double %247, double %244)
  %250 = load double, ptr %38, align 8, !tbaa !9
  %251 = fdiv double %249, %250
  store double %251, ptr %29, align 8, !tbaa !9
  %252 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %253 = load double, ptr %252, align 8, !tbaa !9
  %254 = fneg double %253
  %255 = load double, ptr %26, align 8, !tbaa !9
  %256 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 1
  %257 = load double, ptr %256, align 8, !tbaa !9
  %258 = fneg double %255
  %259 = call double @llvm.fmuladd.f64(double %258, double %257, double %254)
  %260 = load double, ptr %27, align 8, !tbaa !9
  %261 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  %262 = load double, ptr %261, align 8, !tbaa !9
  %263 = fneg double %260
  %264 = call double @llvm.fmuladd.f64(double %263, double %262, double %259)
  %265 = load double, ptr %38, align 8, !tbaa !9
  %266 = fdiv double %264, %265
  store double %266, ptr %30, align 8, !tbaa !9
  %267 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %268 = load double, ptr %267, align 16, !tbaa !9
  %269 = fneg double %268
  %270 = load double, ptr %26, align 8, !tbaa !9
  %271 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2
  %272 = load double, ptr %271, align 16, !tbaa !9
  %273 = fneg double %270
  %274 = call double @llvm.fmuladd.f64(double %273, double %272, double %269)
  %275 = load double, ptr %27, align 8, !tbaa !9
  %276 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  %277 = load double, ptr %276, align 16, !tbaa !9
  %278 = fneg double %275
  %279 = call double @llvm.fmuladd.f64(double %278, double %277, double %274)
  %280 = load double, ptr %38, align 8, !tbaa !9
  %281 = fdiv double %279, %280
  store double %281, ptr %31, align 8, !tbaa !9
  %282 = load double, ptr %39, align 8, !tbaa !9
  %283 = fcmp olt double %282, 1.000000e-15
  br i1 %283, label %284, label %286

284:                                              ; preds = %236
  %285 = call i32 @SMerror(i32 noundef 860, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 62, i32 noundef 0, ptr noundef null)
  store i32 %285, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

286:                                              ; preds = %236
  %287 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
  %288 = load double, ptr %287, align 16, !tbaa !9
  %289 = load double, ptr %26, align 8, !tbaa !9
  %290 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  %291 = load double, ptr %290, align 16, !tbaa !9
  %292 = load double, ptr %27, align 8, !tbaa !9
  %293 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2
  %294 = load double, ptr %293, align 16, !tbaa !9
  %295 = fmul double %292, %294
  %296 = fneg double %295
  %297 = call double @llvm.fmuladd.f64(double %289, double %291, double %296)
  %298 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
  %299 = load double, ptr %298, align 8, !tbaa !9
  %300 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  %301 = load double, ptr %300, align 16, !tbaa !9
  %302 = fneg double %301
  %303 = load double, ptr %27, align 8, !tbaa !9
  %304 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %305 = load double, ptr %304, align 16, !tbaa !9
  %306 = call double @llvm.fmuladd.f64(double %303, double %305, double %302)
  %307 = fmul double %299, %306
  %308 = call double @llvm.fmuladd.f64(double %288, double %297, double %307)
  %309 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 2
  %310 = load double, ptr %309, align 16, !tbaa !9
  %311 = load double, ptr %26, align 8, !tbaa !9
  %312 = fneg double %311
  %313 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %314 = load double, ptr %313, align 16, !tbaa !9
  %315 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2
  %316 = load double, ptr %315, align 16, !tbaa !9
  %317 = call double @llvm.fmuladd.f64(double %312, double %314, double %316)
  %318 = call double @llvm.fmuladd.f64(double %310, double %317, double %308)
  %319 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
  %320 = load double, ptr %319, align 16, !tbaa !9
  %321 = load double, ptr %26, align 8, !tbaa !9
  %322 = fneg double %321
  %323 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  %324 = load double, ptr %323, align 8, !tbaa !9
  %325 = load double, ptr %27, align 8, !tbaa !9
  %326 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 1
  %327 = load double, ptr %326, align 8, !tbaa !9
  %328 = fmul double %325, %327
  %329 = call double @llvm.fmuladd.f64(double %322, double %324, double %328)
  %330 = call double @llvm.fmuladd.f64(double %320, double %329, double %318)
  %331 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 1
  %332 = load double, ptr %331, align 8, !tbaa !9
  %333 = load double, ptr %27, align 8, !tbaa !9
  %334 = fneg double %333
  %335 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %336 = load double, ptr %335, align 8, !tbaa !9
  %337 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  %338 = load double, ptr %337, align 8, !tbaa !9
  %339 = call double @llvm.fmuladd.f64(double %334, double %336, double %338)
  %340 = call double @llvm.fmuladd.f64(double %332, double %339, double %330)
  %341 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 2
  %342 = load double, ptr %341, align 16, !tbaa !9
  %343 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 1
  %344 = load double, ptr %343, align 8, !tbaa !9
  %345 = fneg double %344
  %346 = load double, ptr %26, align 8, !tbaa !9
  %347 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %348 = load double, ptr %347, align 8, !tbaa !9
  %349 = call double @llvm.fmuladd.f64(double %346, double %348, double %345)
  %350 = call double @llvm.fmuladd.f64(double %342, double %349, double %340)
  %351 = load double, ptr %39, align 8, !tbaa !9
  %352 = fdiv double %350, %351
  store double %352, ptr %35, align 8, !tbaa !9
  %353 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
  %354 = load double, ptr %353, align 16, !tbaa !9
  %355 = load double, ptr %26, align 8, !tbaa !9
  %356 = fneg double %355
  %357 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  %358 = load double, ptr %357, align 16, !tbaa !9
  %359 = load double, ptr %27, align 8, !tbaa !9
  %360 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2
  %361 = load double, ptr %360, align 16, !tbaa !9
  %362 = fmul double %359, %361
  %363 = call double @llvm.fmuladd.f64(double %356, double %358, double %362)
  %364 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
  %365 = load double, ptr %364, align 8, !tbaa !9
  %366 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 2
  %367 = load double, ptr %366, align 16, !tbaa !9
  %368 = load double, ptr %27, align 8, !tbaa !9
  %369 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %370 = load double, ptr %369, align 16, !tbaa !9
  %371 = fneg double %368
  %372 = call double @llvm.fmuladd.f64(double %371, double %370, double %367)
  %373 = fmul double %365, %372
  %374 = call double @llvm.fmuladd.f64(double %354, double %363, double %373)
  %375 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
  %376 = load double, ptr %375, align 16, !tbaa !9
  %377 = load double, ptr %26, align 8, !tbaa !9
  %378 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 2
  %379 = load double, ptr %378, align 16, !tbaa !9
  %380 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 2
  %381 = load double, ptr %380, align 16, !tbaa !9
  %382 = fneg double %381
  %383 = call double @llvm.fmuladd.f64(double %377, double %379, double %382)
  %384 = call double @llvm.fmuladd.f64(double %376, double %383, double %374)
  %385 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 0
  %386 = load double, ptr %385, align 16, !tbaa !9
  %387 = load double, ptr %26, align 8, !tbaa !9
  %388 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %389 = load double, ptr %388, align 16, !tbaa !9
  %390 = load double, ptr %27, align 8, !tbaa !9
  %391 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %392 = load double, ptr %391, align 16, !tbaa !9
  %393 = fmul double %390, %392
  %394 = fneg double %393
  %395 = call double @llvm.fmuladd.f64(double %387, double %389, double %394)
  %396 = call double @llvm.fmuladd.f64(double %386, double %395, double %384)
  %397 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 1
  %398 = load double, ptr %397, align 8, !tbaa !9
  %399 = load double, ptr %27, align 8, !tbaa !9
  %400 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %401 = load double, ptr %400, align 16, !tbaa !9
  %402 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %403 = load double, ptr %402, align 16, !tbaa !9
  %404 = fneg double %403
  %405 = call double @llvm.fmuladd.f64(double %399, double %401, double %404)
  %406 = call double @llvm.fmuladd.f64(double %398, double %405, double %396)
  %407 = getelementptr inbounds [3 x double], ptr %19, i64 0, i64 2
  %408 = load double, ptr %407, align 16, !tbaa !9
  %409 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %410 = load double, ptr %409, align 16, !tbaa !9
  %411 = load double, ptr %26, align 8, !tbaa !9
  %412 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %413 = load double, ptr %412, align 16, !tbaa !9
  %414 = fneg double %411
  %415 = call double @llvm.fmuladd.f64(double %414, double %413, double %410)
  %416 = call double @llvm.fmuladd.f64(double %408, double %415, double %406)
  %417 = load double, ptr %39, align 8, !tbaa !9
  %418 = fdiv double %416, %417
  store double %418, ptr %36, align 8, !tbaa !9
  %419 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 0
  %420 = load double, ptr %419, align 16, !tbaa !9
  %421 = load double, ptr %27, align 8, !tbaa !9
  %422 = fneg double %421
  %423 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 1
  %424 = load double, ptr %423, align 8, !tbaa !9
  %425 = load double, ptr %26, align 8, !tbaa !9
  %426 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  %427 = load double, ptr %426, align 8, !tbaa !9
  %428 = fmul double %425, %427
  %429 = call double @llvm.fmuladd.f64(double %422, double %424, double %428)
  %430 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 1
  %431 = load double, ptr %430, align 8, !tbaa !9
  %432 = load double, ptr %27, align 8, !tbaa !9
  %433 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %434 = load double, ptr %433, align 8, !tbaa !9
  %435 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 1
  %436 = load double, ptr %435, align 8, !tbaa !9
  %437 = fneg double %436
  %438 = call double @llvm.fmuladd.f64(double %432, double %434, double %437)
  %439 = fmul double %431, %438
  %440 = call double @llvm.fmuladd.f64(double %420, double %429, double %439)
  %441 = getelementptr inbounds [3 x double], ptr %17, i64 0, i64 2
  %442 = load double, ptr %441, align 16, !tbaa !9
  %443 = load double, ptr %26, align 8, !tbaa !9
  %444 = fneg double %443
  %445 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 1
  %446 = load double, ptr %445, align 8, !tbaa !9
  %447 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 1
  %448 = load double, ptr %447, align 8, !tbaa !9
  %449 = call double @llvm.fmuladd.f64(double %444, double %446, double %448)
  %450 = call double @llvm.fmuladd.f64(double %442, double %449, double %440)
  %451 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 0
  %452 = load double, ptr %451, align 16, !tbaa !9
  %453 = load double, ptr %26, align 8, !tbaa !9
  %454 = fneg double %453
  %455 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %456 = load double, ptr %455, align 16, !tbaa !9
  %457 = load double, ptr %27, align 8, !tbaa !9
  %458 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %459 = load double, ptr %458, align 16, !tbaa !9
  %460 = fmul double %457, %459
  %461 = call double @llvm.fmuladd.f64(double %454, double %456, double %460)
  %462 = call double @llvm.fmuladd.f64(double %452, double %461, double %450)
  %463 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 1
  %464 = load double, ptr %463, align 8, !tbaa !9
  %465 = load double, ptr %27, align 8, !tbaa !9
  %466 = fneg double %465
  %467 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %468 = load double, ptr %467, align 16, !tbaa !9
  %469 = getelementptr inbounds [3 x double], ptr %22, i64 0, i64 0
  %470 = load double, ptr %469, align 16, !tbaa !9
  %471 = call double @llvm.fmuladd.f64(double %466, double %468, double %470)
  %472 = call double @llvm.fmuladd.f64(double %464, double %471, double %462)
  %473 = getelementptr inbounds [3 x double], ptr %18, i64 0, i64 2
  %474 = load double, ptr %473, align 16, !tbaa !9
  %475 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0
  %476 = load double, ptr %475, align 16, !tbaa !9
  %477 = fneg double %476
  %478 = load double, ptr %26, align 8, !tbaa !9
  %479 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 0
  %480 = load double, ptr %479, align 16, !tbaa !9
  %481 = call double @llvm.fmuladd.f64(double %478, double %480, double %477)
  %482 = call double @llvm.fmuladd.f64(double %474, double %481, double %472)
  %483 = load double, ptr %39, align 8, !tbaa !9
  %484 = fdiv double %482, %483
  store double %484, ptr %37, align 8, !tbaa !9
  %485 = load double, ptr %16, align 8, !tbaa !9
  %486 = call double @llvm.fabs.f64(double %485)
  %487 = fcmp olt double %486, 1.000000e-15
  br i1 %487, label %488, label %490

488:                                              ; preds = %286
  %489 = call i32 @SMerror(i32 noundef 884, ptr noundef @.str.25, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 62, i32 noundef 0, ptr noundef null)
  store i32 %489, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

490:                                              ; preds = %286
  %491 = load double, ptr %39, align 8, !tbaa !9
  %492 = load double, ptr %29, align 8, !tbaa !9
  %493 = fmul double %491, %492
  %494 = load double, ptr %16, align 8, !tbaa !9
  %495 = fdiv double %493, %494
  %496 = load double, ptr %38, align 8, !tbaa !9
  %497 = load double, ptr %35, align 8, !tbaa !9
  %498 = fmul double %496, %497
  %499 = load double, ptr %16, align 8, !tbaa !9
  %500 = fdiv double %498, %499
  %501 = fadd double %495, %500
  %502 = load double, ptr %38, align 8, !tbaa !9
  %503 = load double, ptr %39, align 8, !tbaa !9
  %504 = fmul double %502, %503
  %505 = load double, ptr %32, align 8, !tbaa !9
  %506 = fmul double %504, %505
  %507 = load double, ptr %16, align 8, !tbaa !9
  %508 = load double, ptr %16, align 8, !tbaa !9
  %509 = fmul double %507, %508
  %510 = fdiv double %506, %509
  %511 = fsub double %501, %510
  %512 = load ptr, ptr %12, align 8, !tbaa !5
  %513 = getelementptr inbounds ptr, ptr %512, i64 0
  %514 = load ptr, ptr %513, align 8, !tbaa !5
  %515 = getelementptr inbounds double, ptr %514, i64 0
  store double %511, ptr %515, align 8, !tbaa !9
  %516 = load double, ptr %39, align 8, !tbaa !9
  %517 = load double, ptr %30, align 8, !tbaa !9
  %518 = fmul double %516, %517
  %519 = load double, ptr %16, align 8, !tbaa !9
  %520 = fdiv double %518, %519
  %521 = load double, ptr %38, align 8, !tbaa !9
  %522 = load double, ptr %36, align 8, !tbaa !9
  %523 = fmul double %521, %522
  %524 = load double, ptr %16, align 8, !tbaa !9
  %525 = fdiv double %523, %524
  %526 = fadd double %520, %525
  %527 = load double, ptr %38, align 8, !tbaa !9
  %528 = load double, ptr %39, align 8, !tbaa !9
  %529 = fmul double %527, %528
  %530 = load double, ptr %33, align 8, !tbaa !9
  %531 = fmul double %529, %530
  %532 = load double, ptr %16, align 8, !tbaa !9
  %533 = load double, ptr %16, align 8, !tbaa !9
  %534 = fmul double %532, %533
  %535 = fdiv double %531, %534
  %536 = fsub double %526, %535
  %537 = load ptr, ptr %12, align 8, !tbaa !5
  %538 = getelementptr inbounds ptr, ptr %537, i64 0
  %539 = load ptr, ptr %538, align 8, !tbaa !5
  %540 = getelementptr inbounds double, ptr %539, i64 1
  store double %536, ptr %540, align 8, !tbaa !9
  %541 = load double, ptr %39, align 8, !tbaa !9
  %542 = load double, ptr %31, align 8, !tbaa !9
  %543 = fmul double %541, %542
  %544 = load double, ptr %16, align 8, !tbaa !9
  %545 = fdiv double %543, %544
  %546 = load double, ptr %38, align 8, !tbaa !9
  %547 = load double, ptr %37, align 8, !tbaa !9
  %548 = fmul double %546, %547
  %549 = load double, ptr %16, align 8, !tbaa !9
  %550 = fdiv double %548, %549
  %551 = fadd double %545, %550
  %552 = load double, ptr %38, align 8, !tbaa !9
  %553 = load double, ptr %39, align 8, !tbaa !9
  %554 = fmul double %552, %553
  %555 = load double, ptr %34, align 8, !tbaa !9
  %556 = fmul double %554, %555
  %557 = load double, ptr %16, align 8, !tbaa !9
  %558 = load double, ptr %16, align 8, !tbaa !9
  %559 = fmul double %557, %558
  %560 = fdiv double %556, %559
  %561 = fsub double %551, %560
  %562 = load ptr, ptr %12, align 8, !tbaa !5
  %563 = getelementptr inbounds ptr, ptr %562, i64 0
  %564 = load ptr, ptr %563, align 8, !tbaa !5
  %565 = getelementptr inbounds double, ptr %564, i64 2
  store double %561, ptr %565, align 8, !tbaa !9
  %566 = load ptr, ptr %12, align 8, !tbaa !5
  %567 = getelementptr inbounds ptr, ptr %566, i64 0
  %568 = load ptr, ptr %567, align 8, !tbaa !5
  %569 = getelementptr inbounds double, ptr %568, i64 0
  %570 = load double, ptr %569, align 8, !tbaa !9
  %571 = fmul double %570, 0xBFD5555554F9B516
  store double %571, ptr %569, align 8, !tbaa !9
  %572 = load ptr, ptr %12, align 8, !tbaa !5
  %573 = getelementptr inbounds ptr, ptr %572, i64 0
  %574 = load ptr, ptr %573, align 8, !tbaa !5
  %575 = getelementptr inbounds double, ptr %574, i64 1
  %576 = load double, ptr %575, align 8, !tbaa !9
  %577 = fmul double %576, 0xBFD5555554F9B516
  store double %577, ptr %575, align 8, !tbaa !9
  %578 = load ptr, ptr %12, align 8, !tbaa !5
  %579 = getelementptr inbounds ptr, ptr %578, i64 0
  %580 = load ptr, ptr %579, align 8, !tbaa !5
  %581 = getelementptr inbounds double, ptr %580, i64 2
  %582 = load double, ptr %581, align 8, !tbaa !9
  %583 = fmul double %582, 0xBFD5555554F9B516
  store double %583, ptr %581, align 8, !tbaa !9
  %584 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 1, ptr %584, align 4, !tbaa !11
  store i32 0, ptr %14, align 4, !tbaa !11
  store i32 0, ptr %7, align 4
  store i32 1, ptr %41, align 4
  br label %585

585:                                              ; preds = %490, %488, %284, %234, %118, %108, %93, %83, %73, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %586 = load i32, ptr %7, align 4
  ret i32 %586
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 willreturn memory(argmem: readwrite) }
attributes #3 = { "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 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 #5 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


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

@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

declare i32 @SMfrobenius_norm_squared3x3(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @SMcreateWeightedJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @SMdeterminant3x3(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @SMadjoint3x3(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @SMcreateJacobian(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local i32 @vGradCondition(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #4 {
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca [3 x double], align 16
  %10 = alloca [3 x double], align 16
  %11 = alloca [3 x double], align 16
  %12 = alloca [3 x double], align 16
  %13 = alloca [3 x double], align 16
  %14 = alloca [3 x double], align 16
  %15 = alloca [3 x double], align 16
  %16 = alloca [3 x double], align 16
  %17 = alloca [3 x double], align 16
  %18 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %19 = call i32 @SMcreateJacobian(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %0, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17)
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %22, label %20

20:                                               ; preds = %6
  %21 = call i32 @SMerror(i32 noundef 829, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %19, i32 noundef 0, ptr noundef null) #5
  br label %240

22:                                               ; preds = %6
  %23 = call i32 @SMcreateWeightedJacobian(ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %0, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14)
  %.not99 = icmp eq i32 %23, 0
  br i1 %.not99, label %26, label %24

24:                                               ; preds = %22
  %25 = call i32 @SMerror(i32 noundef 831, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %23, i32 noundef 0, ptr noundef null) #5
  br label %240

26:                                               ; preds = %22
  %27 = call i32 @SMdeterminant3x3(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %8) #5
  %.not100 = icmp eq i32 %27, 0
  br i1 %.not100, label %30, label %28

28:                                               ; preds = %26
  %29 = call i32 @SMerror(i32 noundef 832, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %27, i32 noundef 0, ptr noundef null) #5
  br label %240

30:                                               ; preds = %26
  %31 = call i32 @SMfrobenius_norm_squared3x3(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %7) #5
  %.not101 = icmp eq i32 %31, 0
  br i1 %.not101, label %34, label %32

32:                                               ; preds = %30
  %33 = call i32 @SMerror(i32 noundef 834, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %31, i32 noundef 0, ptr noundef null) #5
  br label %240

34:                                               ; preds = %30
  %35 = load double, ptr %7, align 8, !tbaa !5
  %36 = call double @sqrt(double noundef %35) #5
  %37 = call i32 @SMadjoint3x3(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11) #5
  %.not102 = icmp eq i32 %37, 0
  br i1 %.not102, label %40, label %38

38:                                               ; preds = %34
  %39 = call i32 @SMerror(i32 noundef 837, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %37, i32 noundef 0, ptr noundef null) #5
  br label %240

40:                                               ; preds = %34
  %41 = call i32 @SMfrobenius_norm_squared3x3(ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %18) #5
  %.not103 = icmp eq i32 %41, 0
  br i1 %.not103, label %44, label %42

42:                                               ; preds = %40
  %43 = call i32 @SMerror(i32 noundef 839, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef %41, i32 noundef 0, ptr noundef null) #5
  br label %240

44:                                               ; preds = %40
  %45 = load double, ptr %18, align 8, !tbaa !5
  %46 = call double @sqrt(double noundef %45) #5
  %47 = getelementptr inbounds i8, ptr %15, i64 8
  %48 = load double, ptr %47, align 8, !tbaa !5
  %49 = fneg double %48
  %50 = getelementptr inbounds i8, ptr %16, i64 16
  %51 = load double, ptr %50, align 16, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %17, i64 16
  %53 = load double, ptr %52, align 16, !tbaa !5
  %54 = fmul double %48, %53
  %55 = call double @llvm.fmuladd.f64(double %49, double %51, double %54)
  %56 = getelementptr inbounds i8, ptr %16, i64 8
  %57 = load double, ptr %56, align 8, !tbaa !5
  %58 = fneg double %57
  %59 = call double @llvm.fmuladd.f64(double %58, double %53, double %55)
  %60 = getelementptr inbounds i8, ptr %17, i64 8
  %61 = load double, ptr %60, align 8, !tbaa !5
  %62 = call double @llvm.fmuladd.f64(double %61, double %51, double %59)
  %63 = getelementptr inbounds i8, ptr %15, i64 16
  %64 = load double, ptr %63, align 16, !tbaa !5
  %65 = call double @llvm.fmuladd.f64(double %64, double %57, double %62)
  %66 = fneg double %61
  %67 = call double @llvm.fmuladd.f64(double %66, double %64, double %65)
  %68 = fmul double %67, 0x3FF6A09E667F3BCE
  %69 = load double, ptr %15, align 16, !tbaa !5
  %70 = fneg double %69
  %71 = fmul double %53, %70
  %72 = call double @llvm.fmuladd.f64(double %69, double %51, double %71)
  %73 = load double, ptr %16, align 16, !tbaa !5
  %74 = fneg double %73
  %75 = call double @llvm.fmuladd.f64(double %74, double %64, double %72)
  %76 = call double @llvm.fmuladd.f64(double %73, double %53, double %75)
  %77 = load double, ptr %17, align 16, !tbaa !5
  %78 = fneg double %77
  %79 = call double @llvm.fmuladd.f64(double %78, double %51, double %76)
  %80 = call double @llvm.fmuladd.f64(double %64, double %77, double %79)
  %81 = fmul double %80, 0x3FF6A09E667F3BCE
  %82 = fmul double %48, %73
  %83 = call double @llvm.fmuladd.f64(double %70, double %57, double %82)
  %84 = call double @llvm.fmuladd.f64(double %49, double %77, double %83)
  %85 = call double @llvm.fmuladd.f64(double %77, double %57, double %84)
  %86 = call double @llvm.fmuladd.f64(double %74, double %61, double %85)
  %87 = call double @llvm.fmuladd.f64(double %69, double %61, double %86)
  %88 = fmul double %87, 0x3FF6A09E667F3BCE
  %89 = fcmp olt double %36, 1.000000e-15
  br i1 %89, label %90, label %92

90:                                               ; preds = %44
  %91 = call i32 @SMerror(i32 noundef 852, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 62, i32 noundef 0, ptr noundef null) #5
  br label %240

92:                                               ; preds = %44
  %93 = load double, ptr %12, align 16, !tbaa !5
  %94 = fneg double %93
  %95 = load double, ptr %13, align 16, !tbaa !5
  %96 = call double @llvm.fmuladd.f64(double %95, double 0xBFE279A74590331D, double %94)
  %97 = load double, ptr %14, align 16, !tbaa !5
  %98 = call double @llvm.fmuladd.f64(double %97, double 0xBFDA20BD700C2C3F, double %96)
  %99 = fdiv double %98, %36
  %100 = getelementptr inbounds i8, ptr %12, i64 8
  %101 = load double, ptr %100, align 8, !tbaa !5
  %102 = fneg double %101
  %103 = getelementptr inbounds i8, ptr %13, i64 8
  %104 = load double, ptr %103, align 8, !tbaa !5
  %105 = call double @llvm.fmuladd.f64(double %104, double 0xBFE279A74590331D, double %102)
  %106 = getelementptr inbounds i8, ptr %14, i64 8
  %107 = load double, ptr %106, align 8, !tbaa !5
  %108 = call double @llvm.fmuladd.f64(double %107, double 0xBFDA20BD700C2C3F, double %105)
  %109 = fdiv double %108, %36
  %110 = getelementptr inbounds i8, ptr %12, i64 16
  %111 = load double, ptr %110, align 16, !tbaa !5
  %112 = fneg double %111
  %113 = getelementptr inbounds i8, ptr %13, i64 16
  %114 = load double, ptr %113, align 16, !tbaa !5
  %115 = call double @llvm.fmuladd.f64(double %114, double 0xBFE279A74590331D, double %112)
  %116 = getelementptr inbounds i8, ptr %14, i64 16
  %117 = load double, ptr %116, align 16, !tbaa !5
  %118 = call double @llvm.fmuladd.f64(double %117, double 0xBFDA20BD700C2C3F, double %115)
  %119 = fdiv double %118, %36
  %120 = fcmp olt double %46, 1.000000e-15
  br i1 %120, label %121, label %123

121:                                              ; preds = %92
  %122 = call i32 @SMerror(i32 noundef 860, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 62, i32 noundef 0, ptr noundef null) #5
  br label %240

123:                                              ; preds = %92
  %124 = load double, ptr %8, align 8, !tbaa !5
  %125 = call double @llvm.fabs.f64(double %124)
  %126 = fcmp olt double %125, 1.000000e-15
  br i1 %126, label %127, label %129

127:                                              ; preds = %123
  %128 = call i32 @SMerror(i32 noundef 884, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 62, i32 noundef 0, ptr noundef null) #5
  br label %240

129:                                              ; preds = %123
  %130 = getelementptr inbounds i8, ptr %10, i64 16
  %131 = load double, ptr %130, align 16, !tbaa !5
  %132 = fneg double %95
  %133 = call double @llvm.fmuladd.f64(double %93, double 0x3FE279A74590331D, double %132)
  %134 = getelementptr inbounds i8, ptr %10, i64 8
  %135 = load double, ptr %134, align 8, !tbaa !5
  %136 = call double @llvm.fmuladd.f64(double %93, double 0xBFDA20BD700C2C3F, double %97)
  %137 = load double, ptr %10, align 16, !tbaa !5
  %138 = fmul double %95, 0x3FDA20BD700C2C3F
  %139 = call double @llvm.fmuladd.f64(double %97, double 0xBFE279A74590331D, double %138)
  %140 = getelementptr inbounds i8, ptr %9, i64 16
  %141 = load double, ptr %140, align 16, !tbaa !5
  %142 = call double @llvm.fmuladd.f64(double %101, double 0xBFE279A74590331D, double %104)
  %143 = load double, ptr %9, align 16, !tbaa !5
  %144 = fmul double %107, 0x3FE279A74590331D
  %145 = call double @llvm.fmuladd.f64(double %104, double 0xBFDA20BD700C2C3F, double %144)
  %146 = getelementptr inbounds i8, ptr %9, i64 8
  %147 = load double, ptr %146, align 8, !tbaa !5
  %148 = fneg double %107
  %149 = call double @llvm.fmuladd.f64(double %101, double 0x3FDA20BD700C2C3F, double %148)
  %150 = fmul double %149, %147
  %151 = call double @llvm.fmuladd.f64(double %143, double %145, double %150)
  %152 = call double @llvm.fmuladd.f64(double %141, double %142, double %151)
  %153 = call double @llvm.fmuladd.f64(double %137, double %139, double %152)
  %154 = call double @llvm.fmuladd.f64(double %135, double %136, double %153)
  %155 = call double @llvm.fmuladd.f64(double %131, double %133, double %154)
  %156 = fdiv double %155, %46
  %157 = getelementptr inbounds i8, ptr %11, i64 16
  %158 = load double, ptr %157, align 16, !tbaa !5
  %159 = call double @llvm.fmuladd.f64(double %93, double 0xBFE279A74590331D, double %95)
  %160 = getelementptr inbounds i8, ptr %11, i64 8
  %161 = load double, ptr %160, align 8, !tbaa !5
  %162 = fneg double %97
  %163 = call double @llvm.fmuladd.f64(double %93, double 0x3FDA20BD700C2C3F, double %162)
  %164 = load double, ptr %11, align 16, !tbaa !5
  %165 = fneg double %138
  %166 = call double @llvm.fmuladd.f64(double %97, double 0x3FE279A74590331D, double %165)
  %167 = fneg double %114
  %168 = call double @llvm.fmuladd.f64(double %111, double 0x3FE279A74590331D, double %167)
  %169 = fmul double %114, 0x3FDA20BD700C2C3F
  %170 = call double @llvm.fmuladd.f64(double %117, double 0xBFE279A74590331D, double %169)
  %171 = call double @llvm.fmuladd.f64(double %111, double 0xBFDA20BD700C2C3F, double %117)
  %172 = fmul double %171, %147
  %173 = call double @llvm.fmuladd.f64(double %143, double %170, double %172)
  %174 = call double @llvm.fmuladd.f64(double %141, double %168, double %173)
  %175 = call double @llvm.fmuladd.f64(double %164, double %166, double %174)
  %176 = call double @llvm.fmuladd.f64(double %161, double %163, double %175)
  %177 = call double @llvm.fmuladd.f64(double %158, double %159, double %176)
  %178 = fdiv double %177, %46
  %179 = fneg double %104
  %180 = call double @llvm.fmuladd.f64(double %101, double 0x3FE279A74590331D, double %179)
  %181 = call double @llvm.fmuladd.f64(double %101, double 0xBFDA20BD700C2C3F, double %107)
  %182 = fmul double %104, 0x3FDA20BD700C2C3F
  %183 = call double @llvm.fmuladd.f64(double %107, double 0xBFE279A74590331D, double %182)
  %184 = call double @llvm.fmuladd.f64(double %111, double 0xBFE279A74590331D, double %114)
  %185 = fneg double %169
  %186 = call double @llvm.fmuladd.f64(double %117, double 0x3FE279A74590331D, double %185)
  %187 = fneg double %117
  %188 = call double @llvm.fmuladd.f64(double %111, double 0x3FDA20BD700C2C3F, double %187)
  %189 = fmul double %188, %135
  %190 = call double @llvm.fmuladd.f64(double %137, double %186, double %189)
  %191 = call double @llvm.fmuladd.f64(double %131, double %184, double %190)
  %192 = call double @llvm.fmuladd.f64(double %164, double %183, double %191)
  %193 = call double @llvm.fmuladd.f64(double %161, double %181, double %192)
  %194 = call double @llvm.fmuladd.f64(double %158, double %180, double %193)
  %195 = fdiv double %194, %46
  %196 = fmul double %36, %195
  %197 = fdiv double %196, %124
  %198 = fmul double %36, %46
  %199 = fmul double %124, %124
  %200 = insertelement <2 x double> poison, double %46, i64 0
  %201 = insertelement <2 x double> %200, double %198, i64 1
  %202 = insertelement <2 x double> poison, double %99, i64 0
  %203 = insertelement <2 x double> %202, double %68, i64 1
  %204 = fmul <2 x double> %201, %203
  %205 = insertelement <2 x double> poison, double %124, i64 0
  %206 = insertelement <2 x double> %205, double %199, i64 1
  %207 = fdiv <2 x double> %204, %206
  %208 = extractelement <2 x double> %207, i64 0
  %209 = fadd double %208, %197
  %210 = load ptr, ptr %4, align 8, !tbaa !9
  %211 = fmul double %36, %178
  %212 = fmul double %46, %119
  %213 = fmul double %36, %156
  %214 = fmul double %198, %88
  %215 = getelementptr inbounds i8, ptr %210, i64 16
  %216 = extractelement <2 x double> %207, i64 1
  %217 = fsub double %209, %216
  store double %217, ptr %210, align 8, !tbaa !5
  %218 = load double, ptr %8, align 8, !tbaa !5
  %219 = fdiv double %211, %218
  %220 = fmul double %218, %218
  %221 = insertelement <2 x double> poison, double %109, i64 0
  %222 = insertelement <2 x double> %221, double %81, i64 1
  %223 = fmul <2 x double> %201, %222
  %224 = insertelement <2 x double> poison, double %218, i64 0
  %225 = insertelement <2 x double> %224, double %220, i64 1
  %226 = fdiv <2 x double> %223, %225
  %227 = extractelement <2 x double> %226, i64 0
  %228 = fadd double %227, %219
  %229 = extractelement <2 x double> %226, i64 1
  %230 = fsub double %228, %229
  %231 = fdiv double %212, %218
  %232 = fdiv double %213, %218
  %233 = fadd double %231, %232
  %234 = fdiv double %214, %220
  %235 = fsub double %233, %234
  %236 = insertelement <2 x double> poison, double %217, i64 0
  %237 = insertelement <2 x double> %236, double %230, i64 1
  %238 = fmul <2 x double> %237, <double 0xBFD5555554F9B516, double 0xBFD5555554F9B516>
  store <2 x double> %238, ptr %210, align 8, !tbaa !5
  %239 = fmul double %235, 0xBFD5555554F9B516
  store double %239, ptr %215, align 8, !tbaa !5
  store i32 1, ptr %5, align 4, !tbaa !11
  br label %240

240:                                              ; preds = %129, %127, %121, %90, %42, %38, %32, %28, %24, %20
  %.0 = phi i32 [ %21, %20 ], [ %25, %24 ], [ %29, %28 ], [ %33, %32 ], [ %39, %38 ], [ %43, %42 ], [ %91, %90 ], [ %122, %121 ], [ %128, %127 ], [ 0, %129 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  ret i32 %.0
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 willreturn memory(argmem: readwrite) }
attributes #3 = { "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 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 #5 = { 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 = !{!"double", !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 = !{!"int", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass