; LLVM IR from OpenDiS/OpenDiS :: core/pydis/c/calforce (SegmentStress)

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

; Function Attrs: nounwind uwtable
declare dso_local void @xvector(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @xunitvector(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #0

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

; Function Attrs: nounwind
declare double @sqrt(double 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: nounwind uwtable
declare dso_local void @Init3x3(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @Matrix33Mult33(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @SegmentStressHor(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef) #0

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

90:                                               ; preds = %16
  %91 = load ptr, ptr %32, align 8, !tbaa !9
  call void @Init3x3(ptr noundef %91)
  store i32 1, ptr %59, align 4
  br label %275

92:                                               ; preds = %16
  %93 = load double, ptr %36, align 8, !tbaa !5
  %94 = load double, ptr %42, align 8, !tbaa !5
  %95 = fdiv double %93, %94
  store double %95, ptr %43, align 8, !tbaa !5
  %96 = load double, ptr %37, align 8, !tbaa !5
  %97 = load double, ptr %42, align 8, !tbaa !5
  %98 = fdiv double %96, %97
  store double %98, ptr %44, align 8, !tbaa !5
  %99 = load double, ptr %38, align 8, !tbaa !5
  %100 = load double, ptr %42, align 8, !tbaa !5
  %101 = fdiv double %99, %100
  store double %101, ptr %45, align 8, !tbaa !5
  %102 = load double, ptr %43, align 8, !tbaa !5
  %103 = load double, ptr %44, align 8, !tbaa !5
  %104 = load double, ptr %45, align 8, !tbaa !5
  %105 = load double, ptr %39, align 8, !tbaa !5
  %106 = load double, ptr %40, align 8, !tbaa !5
  %107 = load double, ptr %41, align 8, !tbaa !5
  call void @xunitvector(double noundef %102, double noundef %103, double noundef %104, double noundef %105, double noundef %106, double noundef %107, ptr noundef %49, ptr noundef %50, ptr noundef %51)
  %108 = load double, ptr %49, align 8, !tbaa !5
  %109 = load double, ptr %50, align 8, !tbaa !5
  %110 = load double, ptr %51, align 8, !tbaa !5
  %111 = load double, ptr %43, align 8, !tbaa !5
  %112 = load double, ptr %44, align 8, !tbaa !5
  %113 = load double, ptr %45, align 8, !tbaa !5
  call void @xvector(double noundef %108, double noundef %109, double noundef %110, double noundef %111, double noundef %112, double noundef %113, ptr noundef %46, ptr noundef %47, ptr noundef %48)
  %114 = load double, ptr %46, align 8, !tbaa !5
  %115 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 0
  %116 = getelementptr inbounds [3 x double], ptr %115, i64 0, i64 0
  store double %114, ptr %116, align 16, !tbaa !5
  %117 = load double, ptr %49, align 8, !tbaa !5
  %118 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 0
  %119 = getelementptr inbounds [3 x double], ptr %118, i64 0, i64 1
  store double %117, ptr %119, align 8, !tbaa !5
  %120 = load double, ptr %43, align 8, !tbaa !5
  %121 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 0
  %122 = getelementptr inbounds [3 x double], ptr %121, i64 0, i64 2
  store double %120, ptr %122, align 16, !tbaa !5
  %123 = load double, ptr %47, align 8, !tbaa !5
  %124 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 1
  %125 = getelementptr inbounds [3 x double], ptr %124, i64 0, i64 0
  store double %123, ptr %125, align 8, !tbaa !5
  %126 = load double, ptr %50, align 8, !tbaa !5
  %127 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 1
  %128 = getelementptr inbounds [3 x double], ptr %127, i64 0, i64 1
  store double %126, ptr %128, align 8, !tbaa !5
  %129 = load double, ptr %44, align 8, !tbaa !5
  %130 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 1
  %131 = getelementptr inbounds [3 x double], ptr %130, i64 0, i64 2
  store double %129, ptr %131, align 8, !tbaa !5
  %132 = load double, ptr %48, align 8, !tbaa !5
  %133 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 2
  %134 = getelementptr inbounds [3 x double], ptr %133, i64 0, i64 0
  store double %132, ptr %134, align 16, !tbaa !5
  %135 = load double, ptr %51, align 8, !tbaa !5
  %136 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 2
  %137 = getelementptr inbounds [3 x double], ptr %136, i64 0, i64 1
  store double %135, ptr %137, align 8, !tbaa !5
  %138 = load double, ptr %45, align 8, !tbaa !5
  %139 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 2
  %140 = getelementptr inbounds [3 x double], ptr %139, i64 0, i64 2
  store double %138, ptr %140, align 16, !tbaa !5
  %141 = load double, ptr %46, align 8, !tbaa !5
  %142 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %143 = getelementptr inbounds [3 x double], ptr %142, i64 0, i64 0
  store double %141, ptr %143, align 16, !tbaa !5
  %144 = load double, ptr %47, align 8, !tbaa !5
  %145 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %146 = getelementptr inbounds [3 x double], ptr %145, i64 0, i64 1
  store double %144, ptr %146, align 8, !tbaa !5
  %147 = load double, ptr %48, align 8, !tbaa !5
  %148 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %149 = getelementptr inbounds [3 x double], ptr %148, i64 0, i64 2
  store double %147, ptr %149, align 16, !tbaa !5
  %150 = load double, ptr %49, align 8, !tbaa !5
  %151 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 1
  %152 = getelementptr inbounds [3 x double], ptr %151, i64 0, i64 0
  store double %150, ptr %152, align 8, !tbaa !5
  %153 = load double, ptr %50, align 8, !tbaa !5
  %154 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 1
  %155 = getelementptr inbounds [3 x double], ptr %154, i64 0, i64 1
  store double %153, ptr %155, align 8, !tbaa !5
  %156 = load double, ptr %51, align 8, !tbaa !5
  %157 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 1
  %158 = getelementptr inbounds [3 x double], ptr %157, i64 0, i64 2
  store double %156, ptr %158, align 8, !tbaa !5
  %159 = load double, ptr %43, align 8, !tbaa !5
  %160 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %161 = getelementptr inbounds [3 x double], ptr %160, i64 0, i64 0
  store double %159, ptr %161, align 16, !tbaa !5
  %162 = load double, ptr %44, align 8, !tbaa !5
  %163 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %164 = getelementptr inbounds [3 x double], ptr %163, i64 0, i64 1
  store double %162, ptr %164, align 8, !tbaa !5
  %165 = load double, ptr %45, align 8, !tbaa !5
  %166 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %167 = getelementptr inbounds [3 x double], ptr %166, i64 0, i64 2
  store double %165, ptr %167, align 16, !tbaa !5
  store double 0.000000e+00, ptr %52, align 8, !tbaa !5
  %168 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %169 = getelementptr inbounds [3 x double], ptr %168, i64 0, i64 0
  %170 = load double, ptr %169, align 16, !tbaa !5
  %171 = load double, ptr %36, align 8, !tbaa !5
  %172 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %173 = getelementptr inbounds [3 x double], ptr %172, i64 0, i64 1
  %174 = load double, ptr %173, align 8, !tbaa !5
  %175 = load double, ptr %37, align 8, !tbaa !5
  %176 = fmul double %174, %175
  %177 = call double @llvm.fmuladd.f64(double %170, double %171, double %176)
  %178 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %179 = getelementptr inbounds [3 x double], ptr %178, i64 0, i64 2
  %180 = load double, ptr %179, align 16, !tbaa !5
  %181 = load double, ptr %38, align 8, !tbaa !5
  %182 = call double @llvm.fmuladd.f64(double %180, double %181, double %177)
  store double %182, ptr %53, align 8, !tbaa !5
  %183 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %184 = getelementptr inbounds [3 x double], ptr %183, i64 0, i64 0
  %185 = load double, ptr %184, align 16, !tbaa !5
  %186 = load double, ptr %39, align 8, !tbaa !5
  %187 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %188 = getelementptr inbounds [3 x double], ptr %187, i64 0, i64 1
  %189 = load double, ptr %188, align 8, !tbaa !5
  %190 = load double, ptr %40, align 8, !tbaa !5
  %191 = fmul double %189, %190
  %192 = call double @llvm.fmuladd.f64(double %185, double %186, double %191)
  %193 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %194 = getelementptr inbounds [3 x double], ptr %193, i64 0, i64 2
  %195 = load double, ptr %194, align 16, !tbaa !5
  %196 = load double, ptr %41, align 8, !tbaa !5
  %197 = call double @llvm.fmuladd.f64(double %195, double %196, double %192)
  store double %197, ptr %54, align 8, !tbaa !5
  %198 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %199 = getelementptr inbounds [3 x double], ptr %198, i64 0, i64 0
  %200 = load double, ptr %199, align 16, !tbaa !5
  %201 = load double, ptr %39, align 8, !tbaa !5
  %202 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %203 = getelementptr inbounds [3 x double], ptr %202, i64 0, i64 1
  %204 = load double, ptr %203, align 8, !tbaa !5
  %205 = load double, ptr %40, align 8, !tbaa !5
  %206 = fmul double %204, %205
  %207 = call double @llvm.fmuladd.f64(double %200, double %201, double %206)
  %208 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %209 = getelementptr inbounds [3 x double], ptr %208, i64 0, i64 2
  %210 = load double, ptr %209, align 16, !tbaa !5
  %211 = load double, ptr %41, align 8, !tbaa !5
  %212 = call double @llvm.fmuladd.f64(double %210, double %211, double %207)
  store double %212, ptr %55, align 8, !tbaa !5
  %213 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %214 = getelementptr inbounds [3 x double], ptr %213, i64 0, i64 0
  %215 = load double, ptr %214, align 16, !tbaa !5
  %216 = load double, ptr %19, align 8, !tbaa !5
  %217 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %218 = getelementptr inbounds [3 x double], ptr %217, i64 0, i64 1
  %219 = load double, ptr %218, align 8, !tbaa !5
  %220 = load double, ptr %20, align 8, !tbaa !5
  %221 = fmul double %219, %220
  %222 = call double @llvm.fmuladd.f64(double %215, double %216, double %221)
  %223 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %224 = getelementptr inbounds [3 x double], ptr %223, i64 0, i64 2
  %225 = load double, ptr %224, align 16, !tbaa !5
  %226 = load double, ptr %21, align 8, !tbaa !5
  %227 = call double @llvm.fmuladd.f64(double %225, double %226, double %222)
  store double %227, ptr %56, align 8, !tbaa !5
  %228 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 1
  %229 = getelementptr inbounds [3 x double], ptr %228, i64 0, i64 0
  %230 = load double, ptr %229, align 8, !tbaa !5
  %231 = load double, ptr %19, align 8, !tbaa !5
  %232 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 1
  %233 = getelementptr inbounds [3 x double], ptr %232, i64 0, i64 1
  %234 = load double, ptr %233, align 8, !tbaa !5
  %235 = load double, ptr %20, align 8, !tbaa !5
  %236 = fmul double %234, %235
  %237 = call double @llvm.fmuladd.f64(double %230, double %231, double %236)
  %238 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 1
  %239 = getelementptr inbounds [3 x double], ptr %238, i64 0, i64 2
  %240 = load double, ptr %239, align 8, !tbaa !5
  %241 = load double, ptr %21, align 8, !tbaa !5
  %242 = call double @llvm.fmuladd.f64(double %240, double %241, double %237)
  store double %242, ptr %57, align 8, !tbaa !5
  %243 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %244 = getelementptr inbounds [3 x double], ptr %243, i64 0, i64 0
  %245 = load double, ptr %244, align 16, !tbaa !5
  %246 = load double, ptr %19, align 8, !tbaa !5
  %247 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %248 = getelementptr inbounds [3 x double], ptr %247, i64 0, i64 1
  %249 = load double, ptr %248, align 8, !tbaa !5
  %250 = load double, ptr %20, align 8, !tbaa !5
  %251 = fmul double %249, %250
  %252 = call double @llvm.fmuladd.f64(double %245, double %246, double %251)
  %253 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 2
  %254 = getelementptr inbounds [3 x double], ptr %253, i64 0, i64 2
  %255 = load double, ptr %254, align 16, !tbaa !5
  %256 = load double, ptr %21, align 8, !tbaa !5
  %257 = call double @llvm.fmuladd.f64(double %255, double %256, double %252)
  store double %257, ptr %58, align 8, !tbaa !5
  %258 = load double, ptr %17, align 8, !tbaa !5
  %259 = load double, ptr %18, align 8, !tbaa !5
  %260 = load double, ptr %56, align 8, !tbaa !5
  %261 = load double, ptr %57, align 8, !tbaa !5
  %262 = load double, ptr %58, align 8, !tbaa !5
  %263 = load double, ptr %52, align 8, !tbaa !5
  %264 = load double, ptr %53, align 8, !tbaa !5
  %265 = load double, ptr %54, align 8, !tbaa !5
  %266 = load double, ptr %55, align 8, !tbaa !5
  %267 = load double, ptr %31, align 8, !tbaa !5
  %268 = load ptr, ptr %32, align 8, !tbaa !9
  call void @SegmentStressHor(double noundef %258, double noundef %259, double noundef %260, double noundef %261, double noundef %262, double noundef %263, double noundef %264, double noundef %265, double noundef %266, double noundef %267, ptr noundef %268)
  %269 = getelementptr inbounds [3 x [3 x double]], ptr %34, i64 0, i64 0
  %270 = load ptr, ptr %32, align 8, !tbaa !9
  %271 = getelementptr inbounds [3 x [3 x double]], ptr %33, i64 0, i64 0
  call void @Matrix33Mult33(ptr noundef %269, ptr noundef %270, ptr noundef %271)
  %272 = getelementptr inbounds [3 x [3 x double]], ptr %33, i64 0, i64 0
  %273 = getelementptr inbounds [3 x [3 x double]], ptr %35, i64 0, i64 0
  %274 = load ptr, ptr %32, align 8, !tbaa !9
  call void @Matrix33Mult33(ptr noundef %272, ptr noundef %273, ptr noundef %274)
  store i32 1, ptr %59, align 4
  br label %275

275:                                              ; preds = %92, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #4
  call void @llvm.lifetime.end.p0(i64 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 8, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 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 8, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 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 8, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr %33) #4
  ret void
}

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


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

; Function Attrs: nounwind uwtable
declare dso_local void @xvector(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @xunitvector(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @Init3x3(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @Matrix33Mult33(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @SegmentStressHor(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @SegmentStress(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, double noundef %11, double noundef %12, double noundef %13, double noundef %14, ptr noundef %15) local_unnamed_addr #0 {
  %17 = alloca [3 x [3 x double]], align 16
  %18 = alloca [3 x [3 x double]], align 16
  %19 = alloca [3 x [3 x double]], align 16
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  %26 = insertelement <2 x double> poison, double %8, i64 0
  %27 = insertelement <2 x double> %26, double %9, i64 1
  %28 = insertelement <2 x double> poison, double %5, i64 0
  %29 = insertelement <2 x double> %28, double %6, i64 1
  %30 = fsub <2 x double> %27, %29
  %31 = fsub double %10, %7
  %32 = extractelement <2 x double> %30, i64 1
  %33 = fmul double %32, %32
  %34 = extractelement <2 x double> %30, i64 0
  %35 = tail call double @llvm.fmuladd.f64(double %34, double %34, double %33)
  %36 = tail call double @llvm.fmuladd.f64(double %31, double %31, double %35)
  %sqrt = tail call double @llvm.sqrt.f64(double %36)
  %37 = fcmp olt double %sqrt, 1.000000e-08
  br i1 %37, label %38, label %39

38:                                               ; preds = %16
  tail call void @Init3x3(ptr noundef %15)
  br label %91

39:                                               ; preds = %16
  %40 = fsub double %13, %7
  %41 = fsub double %12, %6
  %42 = fsub double %11, %5
  %43 = insertelement <2 x double> poison, double %sqrt, i64 0
  %44 = shufflevector <2 x double> %43, <2 x double> poison, <2 x i32> zeroinitializer
  %45 = fdiv <2 x double> %30, %44
  %46 = fdiv double %31, %sqrt
  %47 = extractelement <2 x double> %45, i64 0
  %48 = extractelement <2 x double> %45, i64 1
  call void @xunitvector(double noundef %47, double noundef %48, double noundef %46, double noundef %42, double noundef %41, double noundef %40, ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef nonnull %25)
  %49 = load double, ptr %23, align 8, !tbaa !5
  %50 = load double, ptr %24, align 8, !tbaa !5
  %51 = load double, ptr %25, align 8, !tbaa !5
  call void @xvector(double noundef %49, double noundef %50, double noundef %51, double noundef %47, double noundef %48, double noundef %46, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull %22)
  %52 = load double, ptr %20, align 8, !tbaa !5
  store double %52, ptr %18, align 16, !tbaa !5
  %53 = load double, ptr %23, align 8, !tbaa !5
  %54 = getelementptr inbounds i8, ptr %18, i64 8
  store double %53, ptr %54, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %18, i64 16
  store double %47, ptr %55, align 16, !tbaa !5
  %56 = load double, ptr %21, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %18, i64 24
  store double %56, ptr %57, align 8, !tbaa !5
  %58 = load double, ptr %24, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %18, i64 32
  store double %58, ptr %59, align 16, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %18, i64 40
  store double %48, ptr %60, align 8, !tbaa !5
  %61 = load double, ptr %22, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %18, i64 48
  store double %61, ptr %62, align 16, !tbaa !5
  %63 = load double, ptr %25, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %18, i64 56
  store double %63, ptr %64, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %18, i64 64
  store double %46, ptr %65, align 16, !tbaa !5
  store double %52, ptr %19, align 16, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %19, i64 8
  store double %56, ptr %66, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %19, i64 16
  store double %61, ptr %67, align 16, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %19, i64 24
  store double %53, ptr %68, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %19, i64 32
  store double %58, ptr %69, align 16, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %19, i64 40
  store double %63, ptr %70, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %19, i64 48
  store <2 x double> %45, ptr %71, align 16, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %19, i64 64
  store double %46, ptr %72, align 16, !tbaa !5
  %73 = fmul double %32, %48
  %74 = call double @llvm.fmuladd.f64(double %47, double %34, double %73)
  %75 = call double @llvm.fmuladd.f64(double %46, double %31, double %74)
  %76 = fmul double %41, %56
  %77 = call double @llvm.fmuladd.f64(double %52, double %42, double %76)
  %78 = call double @llvm.fmuladd.f64(double %61, double %40, double %77)
  %79 = fmul double %41, %48
  %80 = call double @llvm.fmuladd.f64(double %47, double %42, double %79)
  %81 = call double @llvm.fmuladd.f64(double %46, double %40, double %80)
  %82 = fmul double %56, %3
  %83 = call double @llvm.fmuladd.f64(double %52, double %2, double %82)
  %84 = call double @llvm.fmuladd.f64(double %61, double %4, double %83)
  %85 = fmul double %58, %3
  %86 = call double @llvm.fmuladd.f64(double %53, double %2, double %85)
  %87 = call double @llvm.fmuladd.f64(double %63, double %4, double %86)
  %88 = fmul double %48, %3
  %89 = call double @llvm.fmuladd.f64(double %47, double %2, double %88)
  %90 = call double @llvm.fmuladd.f64(double %46, double %4, double %89)
  call void @SegmentStressHor(double noundef %0, double noundef %1, double noundef %84, double noundef %87, double noundef %90, double noundef 0.000000e+00, double noundef %75, double noundef %78, double noundef %81, double noundef %14, ptr noundef %15)
  call void @Matrix33Mult33(ptr noundef nonnull %18, ptr noundef %15, ptr noundef nonnull %17)
  call void @Matrix33Mult33(ptr noundef nonnull %17, ptr noundef nonnull %19, ptr noundef %15)
  br label %91

91:                                               ; preds = %39, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %17) #4
  ret void
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass