; LLVM IR from Yinxiaoli/iros2015_folding :: src/folding_planner/src (Registration)

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

%"class.Eigen::CwiseBinaryOp" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::Block" = type { %"class.Eigen::BlockImpl" }
%"class.Eigen::BlockImpl" = type { %"class.Eigen::internal::BlockImpl_dense" }
%"class.Eigen::internal::BlockImpl_dense" = type { %"class.Eigen::MapBase.base", ptr, i64 }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::CwiseBinaryOp.81" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [2 x double] }
%struct.SCurve = type { i8, i32, %"class.Eigen::Matrix.27", %"class.Eigen::Matrix.27", %"class.Eigen::Matrix.37" }
%"class.Eigen::Matrix.27" = type { %"class.Eigen::PlainObjectBase.28" }
%"class.Eigen::PlainObjectBase.28" = type { %"class.Eigen::DenseStorage.36" }
%"class.Eigen::DenseStorage.36" = type { ptr, i64 }
%"class.Eigen::Matrix.37" = type { %"class.Eigen::PlainObjectBase.38" }
%"class.Eigen::PlainObjectBase.38" = type { %"class.Eigen::DenseStorage.46" }
%"class.Eigen::DenseStorage.46" = type { ptr, i64 }
%struct.SParameters = type { double, double, double, double, %"struct._BlueTail::_Image::SImage", %struct.SRegion, i32, double, double, double, double, i32, double }
%"struct._BlueTail::_Image::SImage" = type { i32, i32, ptr }
%struct.SRegion = type { double, double, double, double }

@.str.1 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [43 x i8], align 1
@__PRETTY_FUNCTION__._Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi = external hidden unnamed_addr constant [135 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2IddEERKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2, double noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.Eigen::Matrix", align 16
  %15 = alloca double, align 8
  %16 = alloca %"class.Eigen::Matrix", align 16
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca %"class.Eigen::Matrix", align 16
  %25 = alloca %"class.Eigen::Block", align 8
  %26 = alloca %"class.Eigen::Matrix", align 16
  %27 = alloca %"class.Eigen::Block", align 8
  %28 = alloca %"class.Eigen::Matrix", align 16
  %29 = alloca %"class.Eigen::Block", align 8
  %30 = alloca %"class.Eigen::Matrix", align 16
  %31 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %32 = alloca %"class.Eigen::Matrix", align 16
  %33 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %34 = alloca %"class.Eigen::Matrix", align 16
  %35 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %36 = alloca %"class.Eigen::Matrix", align 16
  %37 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %38 = alloca %"class.Eigen::Matrix", align 16
  %39 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %40 = alloca %"class.Eigen::Matrix", align 16
  %41 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %42 = alloca %"class.Eigen::Matrix", align 16
  %43 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %44 = alloca %"class.Eigen::Matrix", align 16
  %45 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %46 = alloca %"class.Eigen::Matrix", align 16
  %47 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %48 = alloca %"class.Eigen::Matrix", align 16
  %49 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %50 = alloca %"class.Eigen::Matrix", align 16
  %51 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %52 = alloca %"class.Eigen::Matrix", align 16
  %53 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %54 = alloca %"class.Eigen::Matrix", align 16
  %55 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %56 = alloca %"class.Eigen::Matrix", align 16
  %57 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %58 = alloca %"class.Eigen::Matrix", align 16
  %59 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %60 = alloca %"class.Eigen::Matrix", align 16
  %61 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %62 = alloca double, align 8
  %63 = alloca double, align 8
  %64 = alloca double, align 8
  %65 = alloca double, align 8
  %66 = alloca double, align 8
  %67 = alloca double, align 8
  %68 = alloca double, align 8
  %69 = alloca double, align 8
  %70 = alloca double, align 8
  %71 = alloca double, align 8
  %72 = alloca double, align 8
  %73 = alloca double, align 8
  %74 = alloca double, align 8
  %75 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store double %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.SCurve, ptr %76, i32 0, i32 0
  %78 = load i8, ptr %77, align 8, !tbaa !13, !range !23, !noundef !24
  %79 = trunc i8 %78 to i1
  br i1 %79, label %80, label %84

80:                                               ; preds = %6
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.SCurve, ptr %81, i32 0, i32 1
  %83 = load i32, ptr %82, align 4, !tbaa !25
  br label %89

84:                                               ; preds = %6
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.SCurve, ptr %85, i32 0, i32 1
  %87 = load i32, ptr %86, align 4, !tbaa !25
  %88 = sub nsw i32 %87, 2
  br label %89

89:                                               ; preds = %84, %80
  %90 = phi i32 [ %83, %80 ], [ %88, %84 ]
  store i32 %90, ptr %13, align 4, !tbaa !11
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = call noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(24) %91)
  %93 = load i32, ptr %13, align 4, !tbaa !11
  %94 = load i32, ptr %12, align 4, !tbaa !11
  %95 = add nsw i32 %93, %94
  %96 = sext i32 %95 to i64
  %97 = icmp sge i64 %92, %96
  br i1 %97, label %98, label %99

98:                                               ; preds = %89
  br label %101

99:                                               ; preds = %89
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 328, ptr noundef @__PRETTY_FUNCTION__._Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi) #6
  unreachable

100:                                              ; No predecessors!
  br label %101

101:                                              ; preds = %100, %98
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = call noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24) %102)
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.SCurve, ptr %104, i32 0, i32 1
  %106 = load i32, ptr %105, align 4, !tbaa !25
  %107 = mul nsw i32 %106, 2
  %108 = sext i32 %107 to i64
  %109 = icmp eq i64 %103, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %101
  br label %113

111:                                              ; preds = %101
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 329, ptr noundef @__PRETTY_FUNCTION__._Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi) #6
  unreachable

112:                                              ; No predecessors!
  br label %113

113:                                              ; preds = %112, %110
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store double 0.000000e+00, ptr %15, align 8, !tbaa !9
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2IddEERKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2IddEERKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %114

114:                                              ; preds = %354, %113
  %115 = load i32, ptr %18, align 4, !tbaa !11
  %116 = load i32, ptr %13, align 4, !tbaa !11
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %119, label %118

118:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %357

119:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.SCurve, ptr %120, i32 0, i32 0
  %122 = load i8, ptr %121, align 8, !tbaa !13, !range !23, !noundef !24
  %123 = trunc i8 %122 to i1
  br i1 %123, label %124, label %135

124:                                              ; preds = %119
  %125 = load i32, ptr %18, align 4, !tbaa !11
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.SCurve, ptr %126, i32 0, i32 1
  %128 = load i32, ptr %127, align 4, !tbaa !25
  %129 = add nsw i32 %125, %128
  %130 = sub nsw i32 %129, 1
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.SCurve, ptr %131, i32 0, i32 1
  %133 = load i32, ptr %132, align 4, !tbaa !25
  %134 = srem i32 %130, %133
  br label %137

135:                                              ; preds = %119
  %136 = load i32, ptr %18, align 4, !tbaa !11
  br label %137

137:                                              ; preds = %135, %124
  %138 = phi i32 [ %134, %124 ], [ %136, %135 ]
  store i32 %138, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.SCurve, ptr %139, i32 0, i32 0
  %141 = load i8, ptr %140, align 8, !tbaa !13, !range !23, !noundef !24
  %142 = trunc i8 %141 to i1
  br i1 %142, label %143, label %145

143:                                              ; preds = %137
  %144 = load i32, ptr %18, align 4, !tbaa !11
  br label %148

145:                                              ; preds = %137
  %146 = load i32, ptr %18, align 4, !tbaa !11
  %147 = add nsw i32 %146, 1
  br label %148

148:                                              ; preds = %145, %143
  %149 = phi i32 [ %144, %143 ], [ %147, %145 ]
  store i32 %149, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.SCurve, ptr %150, i32 0, i32 0
  %152 = load i8, ptr %151, align 8, !tbaa !13, !range !23, !noundef !24
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %161

154:                                              ; preds = %148
  %155 = load i32, ptr %18, align 4, !tbaa !11
  %156 = add nsw i32 %155, 1
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.SCurve, ptr %157, i32 0, i32 1
  %159 = load i32, ptr %158, align 4, !tbaa !25
  %160 = srem i32 %156, %159
  br label %164

161:                                              ; preds = %148
  %162 = load i32, ptr %18, align 4, !tbaa !11
  %163 = add nsw i32 %162, 2
  br label %164

164:                                              ; preds = %161, %154
  %165 = phi i32 [ %160, %154 ], [ %163, %161 ]
  store i32 %165, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.SCurve, ptr %166, i32 0, i32 3
  %168 = load i32, ptr %19, align 4, !tbaa !11
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %167, i64 noundef %169)
  %171 = load double, ptr %170, align 8, !tbaa !9
  store double %171, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.SCurve, ptr %172, i32 0, i32 3
  %174 = load i32, ptr %20, align 4, !tbaa !11
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %173, i64 noundef %175)
  %177 = load double, ptr %176, align 8, !tbaa !9
  store double %177, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #5
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = load i32, ptr %19, align 4, !tbaa !11
  %180 = sext i32 %179 to i64
  call void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %25, ptr noundef nonnull align 1 dereferenceable(1) %178, i64 noundef %180)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %24, ptr noundef nonnull align 1 dereferenceable(1) %25)
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #5
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = load i32, ptr %20, align 4, !tbaa !11
  %183 = sext i32 %182 to i64
  call void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %27, ptr noundef nonnull align 1 dereferenceable(1) %181, i64 noundef %183)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %26, ptr noundef nonnull align 1 dereferenceable(1) %27)
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #5
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = load i32, ptr %21, align 4, !tbaa !11
  %186 = sext i32 %185 to i64
  call void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind writable sret(%"class.Eigen::Block") align 8 %29, ptr noundef nonnull align 1 dereferenceable(1) %184, i64 noundef %186)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %31, ptr noundef nonnull align 1 dereferenceable(1) %24, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %30, ptr noundef nonnull align 1 dereferenceable(1) %31)
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %33, ptr noundef nonnull align 1 dereferenceable(1) %24, ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %35, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %34, ptr noundef nonnull align 1 dereferenceable(1) %35)
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %37, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %36, ptr noundef nonnull align 1 dereferenceable(1) %37)
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %39, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %38, ptr noundef nonnull align 1 dereferenceable(1) %39)
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %41, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %40, ptr noundef nonnull align 1 dereferenceable(1) %41)
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %43, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %42, ptr noundef nonnull align 1 dereferenceable(1) %43)
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %45, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %44, ptr noundef nonnull align 1 dereferenceable(1) %45)
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %47, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %30)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %46, ptr noundef nonnull align 1 dereferenceable(1) %47)
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %49, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %32)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %48, ptr noundef nonnull align 1 dereferenceable(1) %49)
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %51, ptr noundef nonnull align 1 dereferenceable(1) %34, ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %50, ptr noundef nonnull align 1 dereferenceable(1) %51)
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %53, ptr noundef nonnull align 1 dereferenceable(1) %36, ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %52, ptr noundef nonnull align 1 dereferenceable(1) %53)
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %55, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %34)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %54, ptr noundef nonnull align 1 dereferenceable(1) %55)
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %57, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %36)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %56, ptr noundef nonnull align 1 dereferenceable(1) %57)
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %59) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %59, ptr noundef nonnull align 1 dereferenceable(1) %38, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %58, ptr noundef nonnull align 1 dereferenceable(1) %59)
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %61) #5
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %61, ptr noundef nonnull align 1 dereferenceable(1) %40, ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %60, ptr noundef nonnull align 1 dereferenceable(1) %61)
  call void @llvm.lifetime.end.p0(i64 24, ptr %61) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #5
  %187 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %42, ptr noundef nonnull align 16 dereferenceable(16) %44)
  store double %187, ptr %62, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #5
  %188 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %46, ptr noundef nonnull align 16 dereferenceable(16) %44)
  store double %188, ptr %63, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #5
  %189 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %48, ptr noundef nonnull align 16 dereferenceable(16) %44)
  store double %189, ptr %64, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #5
  %190 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %50, ptr noundef nonnull align 16 dereferenceable(16) %54)
  store double %190, ptr %65, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #5
  %191 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %52, ptr noundef nonnull align 16 dereferenceable(16) %56)
  store double %191, ptr %66, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #5
  %192 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %42, ptr noundef nonnull align 16 dereferenceable(16) %58)
  store double %192, ptr %67, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #5
  %193 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %42, ptr noundef nonnull align 16 dereferenceable(16) %60)
  store double %193, ptr %68, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #5
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.SParameters, ptr %194, i32 0, i32 1
  %196 = load double, ptr %195, align 8, !tbaa !26
  %197 = load double, ptr %22, align 8, !tbaa !9
  %198 = load double, ptr %23, align 8, !tbaa !9
  %199 = fadd double %197, %198
  %200 = fdiv double %196, %199
  %201 = call double @sqrt(double noundef %200) #5
  %202 = load double, ptr %62, align 8, !tbaa !9
  %203 = fmul double %201, %202
  store double %203, ptr %69, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #5
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.SParameters, ptr %204, i32 0, i32 1
  %206 = load double, ptr %205, align 8, !tbaa !26
  %207 = load double, ptr %22, align 8, !tbaa !9
  %208 = load double, ptr %23, align 8, !tbaa !9
  %209 = fadd double %207, %208
  %210 = fdiv double %206, %209
  %211 = call double @sqrt(double noundef %210) #5
  %212 = load double, ptr %63, align 8, !tbaa !9
  %213 = fmul double %211, %212
  store double %213, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #5
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.SParameters, ptr %214, i32 0, i32 1
  %216 = load double, ptr %215, align 8, !tbaa !26
  %217 = load double, ptr %22, align 8, !tbaa !9
  %218 = load double, ptr %23, align 8, !tbaa !9
  %219 = fadd double %217, %218
  %220 = fdiv double %216, %219
  %221 = call double @sqrt(double noundef %220) #5
  %222 = load double, ptr %64, align 8, !tbaa !9
  %223 = fmul double %221, %222
  store double %223, ptr %71, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #5
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.SParameters, ptr %224, i32 0, i32 1
  %226 = load double, ptr %225, align 8, !tbaa !26
  %227 = load double, ptr %22, align 8, !tbaa !9
  %228 = load double, ptr %23, align 8, !tbaa !9
  %229 = fadd double %227, %228
  %230 = fdiv double %226, %229
  %231 = call double @sqrt(double noundef %230) #5
  %232 = load double, ptr %65, align 8, !tbaa !9
  %233 = fmul double %231, %232
  store double %233, ptr %72, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #5
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.SParameters, ptr %234, i32 0, i32 1
  %236 = load double, ptr %235, align 8, !tbaa !26
  %237 = load double, ptr %22, align 8, !tbaa !9
  %238 = load double, ptr %23, align 8, !tbaa !9
  %239 = fadd double %237, %238
  %240 = fdiv double %236, %239
  %241 = call double @sqrt(double noundef %240) #5
  %242 = load double, ptr %66, align 8, !tbaa !9
  %243 = fmul double %241, %242
  store double %243, ptr %73, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #5
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.SParameters, ptr %244, i32 0, i32 1
  %246 = load double, ptr %245, align 8, !tbaa !26
  %247 = load double, ptr %22, align 8, !tbaa !9
  %248 = load double, ptr %23, align 8, !tbaa !9
  %249 = fadd double %247, %248
  %250 = fdiv double %246, %249
  %251 = call double @sqrt(double noundef %250) #5
  %252 = load double, ptr %67, align 8, !tbaa !9
  %253 = fmul double %251, %252
  store double %253, ptr %74, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #5
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.SParameters, ptr %254, i32 0, i32 1
  %256 = load double, ptr %255, align 8, !tbaa !26
  %257 = load double, ptr %22, align 8, !tbaa !9
  %258 = load double, ptr %23, align 8, !tbaa !9
  %259 = fadd double %257, %258
  %260 = fdiv double %256, %259
  %261 = call double @sqrt(double noundef %260) #5
  %262 = load double, ptr %68, align 8, !tbaa !9
  %263 = fmul double %261, %262
  store double %263, ptr %75, align 8, !tbaa !9
  %264 = load double, ptr %70, align 8, !tbaa !9
  %265 = load double, ptr %69, align 8, !tbaa !9
  %266 = fsub double %264, %265
  %267 = load double, ptr %10, align 8, !tbaa !9
  %268 = fdiv double %266, %267
  %269 = load ptr, ptr %11, align 8, !tbaa !5
  %270 = load i32, ptr %18, align 4, !tbaa !11
  %271 = load i32, ptr %12, align 4, !tbaa !11
  %272 = add nsw i32 %270, %271
  %273 = sext i32 %272 to i64
  %274 = load i32, ptr %19, align 4, !tbaa !11
  %275 = sext i32 %274 to i64
  %276 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %269, i64 noundef %273, i64 noundef %275)
  store double %268, ptr %276, align 8, !tbaa !9
  %277 = load double, ptr %71, align 8, !tbaa !9
  %278 = load double, ptr %69, align 8, !tbaa !9
  %279 = fsub double %277, %278
  %280 = load double, ptr %10, align 8, !tbaa !9
  %281 = fdiv double %279, %280
  %282 = load ptr, ptr %11, align 8, !tbaa !5
  %283 = load i32, ptr %18, align 4, !tbaa !11
  %284 = load i32, ptr %12, align 4, !tbaa !11
  %285 = add nsw i32 %283, %284
  %286 = sext i32 %285 to i64
  %287 = load i32, ptr %19, align 4, !tbaa !11
  %288 = load ptr, ptr %8, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.SCurve, ptr %288, i32 0, i32 1
  %290 = load i32, ptr %289, align 4, !tbaa !25
  %291 = add nsw i32 %287, %290
  %292 = sext i32 %291 to i64
  %293 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %282, i64 noundef %286, i64 noundef %292)
  store double %281, ptr %293, align 8, !tbaa !9
  %294 = load double, ptr %72, align 8, !tbaa !9
  %295 = load double, ptr %69, align 8, !tbaa !9
  %296 = fsub double %294, %295
  %297 = load double, ptr %10, align 8, !tbaa !9
  %298 = fdiv double %296, %297
  %299 = load ptr, ptr %11, align 8, !tbaa !5
  %300 = load i32, ptr %18, align 4, !tbaa !11
  %301 = load i32, ptr %12, align 4, !tbaa !11
  %302 = add nsw i32 %300, %301
  %303 = sext i32 %302 to i64
  %304 = load i32, ptr %20, align 4, !tbaa !11
  %305 = sext i32 %304 to i64
  %306 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %299, i64 noundef %303, i64 noundef %305)
  store double %298, ptr %306, align 8, !tbaa !9
  %307 = load double, ptr %73, align 8, !tbaa !9
  %308 = load double, ptr %69, align 8, !tbaa !9
  %309 = fsub double %307, %308
  %310 = load double, ptr %10, align 8, !tbaa !9
  %311 = fdiv double %309, %310
  %312 = load ptr, ptr %11, align 8, !tbaa !5
  %313 = load i32, ptr %18, align 4, !tbaa !11
  %314 = load i32, ptr %12, align 4, !tbaa !11
  %315 = add nsw i32 %313, %314
  %316 = sext i32 %315 to i64
  %317 = load i32, ptr %20, align 4, !tbaa !11
  %318 = load ptr, ptr %8, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.SCurve, ptr %318, i32 0, i32 1
  %320 = load i32, ptr %319, align 4, !tbaa !25
  %321 = add nsw i32 %317, %320
  %322 = sext i32 %321 to i64
  %323 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %312, i64 noundef %316, i64 noundef %322)
  store double %311, ptr %323, align 8, !tbaa !9
  %324 = load double, ptr %74, align 8, !tbaa !9
  %325 = load double, ptr %69, align 8, !tbaa !9
  %326 = fsub double %324, %325
  %327 = load double, ptr %10, align 8, !tbaa !9
  %328 = fdiv double %326, %327
  %329 = load ptr, ptr %11, align 8, !tbaa !5
  %330 = load i32, ptr %18, align 4, !tbaa !11
  %331 = load i32, ptr %12, align 4, !tbaa !11
  %332 = add nsw i32 %330, %331
  %333 = sext i32 %332 to i64
  %334 = load i32, ptr %21, align 4, !tbaa !11
  %335 = sext i32 %334 to i64
  %336 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %329, i64 noundef %333, i64 noundef %335)
  store double %328, ptr %336, align 8, !tbaa !9
  %337 = load double, ptr %75, align 8, !tbaa !9
  %338 = load double, ptr %69, align 8, !tbaa !9
  %339 = fsub double %337, %338
  %340 = load double, ptr %10, align 8, !tbaa !9
  %341 = fdiv double %339, %340
  %342 = load ptr, ptr %11, align 8, !tbaa !5
  %343 = load i32, ptr %18, align 4, !tbaa !11
  %344 = load i32, ptr %12, align 4, !tbaa !11
  %345 = add nsw i32 %343, %344
  %346 = sext i32 %345 to i64
  %347 = load i32, ptr %21, align 4, !tbaa !11
  %348 = load ptr, ptr %8, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.SCurve, ptr %348, i32 0, i32 1
  %350 = load i32, ptr %349, align 4, !tbaa !25
  %351 = add nsw i32 %347, %350
  %352 = sext i32 %351 to i64
  %353 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %342, i64 noundef %346, i64 noundef %352)
  store double %341, ptr %353, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %354

354:                                              ; preds = %164
  %355 = load i32, ptr %18, align 4, !tbaa !11
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %18, align 4, !tbaa !11
  br label %114, !llvm.loop !30

357:                                              ; preds = %118
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 #3 = { noreturn 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 = { inlinehint mustprogress 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 }
attributes #6 = { noreturn 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS6SCurve", !15, i64 0, !12, i64 4, !16, i64 8, !16, i64 24, !20, i64 40}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE", !17, i64 0}
!17 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEE", !18, i64 0}
!18 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELin1ELi1ELi0EEE", !6, i64 0, !19, i64 8}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSN5Eigen6MatrixIiLin1ELi1ELi0ELin1ELi1EEE", !21, i64 0}
!21 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIiLin1ELi1ELi0ELin1ELi1EEEEE", !22, i64 0}
!22 = !{!"_ZTSN5Eigen12DenseStorageIiLin1ELin1ELi1ELi0EEE", !6, i64 0, !19, i64 8}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!14, !12, i64 4}
!26 = !{!27, !10, i64 8}
!27 = !{!"_ZTS11SParameters", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !28, i64 32, !29, i64 48, !12, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !12, i64 120, !10, i64 128}
!28 = !{!"_ZTSN9_BlueTail6_Image6SImageIdLi1EEE", !12, i64 0, !12, i64 4, !6, i64 8}
!29 = !{!"_ZTS7SRegion", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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

%"class.Eigen::CwiseBinaryOp" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::Block" = type { %"class.Eigen::BlockImpl" }
%"class.Eigen::BlockImpl" = type { %"class.Eigen::internal::BlockImpl_dense" }
%"class.Eigen::internal::BlockImpl_dense" = type { %"class.Eigen::MapBase.base", ptr, i64 }
%"class.Eigen::MapBase.base" = type <{ ptr, [2 x i8] }>
%"class.Eigen::CwiseBinaryOp.81" = type <{ ptr, ptr, [8 x i8] }>
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [2 x double] }

@.str.1 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [43 x i8], align 1
@__PRETTY_FUNCTION__._Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi = external hidden unnamed_addr constant [135 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Block") align 8, ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0EEclEl(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2IddEERKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind noalias writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1), i64 noundef, i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2, double noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = alloca double, align 8
  %8 = alloca %"class.Eigen::Matrix", align 16
  %9 = alloca double, align 8
  %10 = alloca %"class.Eigen::Matrix", align 16
  %11 = alloca double, align 8
  %12 = alloca %"class.Eigen::Matrix", align 16
  %13 = alloca %"class.Eigen::Block", align 8
  %14 = alloca %"class.Eigen::Matrix", align 16
  %15 = alloca %"class.Eigen::Block", align 8
  %16 = alloca %"class.Eigen::Matrix", align 16
  %17 = alloca %"class.Eigen::Block", align 8
  %18 = alloca %"class.Eigen::Matrix", align 16
  %19 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %20 = alloca %"class.Eigen::Matrix", align 16
  %21 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %22 = alloca %"class.Eigen::Matrix", align 16
  %23 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %24 = alloca %"class.Eigen::Matrix", align 16
  %25 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %26 = alloca %"class.Eigen::Matrix", align 16
  %27 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %28 = alloca %"class.Eigen::Matrix", align 16
  %29 = alloca %"class.Eigen::CwiseBinaryOp.81", align 8
  %30 = alloca %"class.Eigen::Matrix", align 16
  %31 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %32 = alloca %"class.Eigen::Matrix", align 16
  %33 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %34 = alloca %"class.Eigen::Matrix", align 16
  %35 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %36 = alloca %"class.Eigen::Matrix", align 16
  %37 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %38 = alloca %"class.Eigen::Matrix", align 16
  %39 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %40 = alloca %"class.Eigen::Matrix", align 16
  %41 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %42 = alloca %"class.Eigen::Matrix", align 16
  %43 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %44 = alloca %"class.Eigen::Matrix", align 16
  %45 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %46 = alloca %"class.Eigen::Matrix", align 16
  %47 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  %48 = alloca %"class.Eigen::Matrix", align 16
  %49 = alloca %"class.Eigen::CwiseBinaryOp", align 8
  store double %3, ptr %7, align 8, !tbaa !5
  %50 = load i8, ptr %1, align 8, !tbaa !9, !range !21, !noundef !22
  %51 = trunc nuw i8 %50 to i1
  %52 = getelementptr inbounds i8, ptr %1, i64 4
  %53 = load i32, ptr %52, align 4, !tbaa !23
  %54 = add nsw i32 %53, -2
  %55 = select i1 %51, i32 %53, i32 %54
  %56 = tail call noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %57 = add nsw i32 %55, %5
  %58 = sext i32 %57 to i64
  %.not = icmp slt i64 %56, %58
  br i1 %.not, label %59, label %60

59:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 328, ptr noundef nonnull @__PRETTY_FUNCTION__._Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi) #5
  unreachable

60:                                               ; preds = %6
  %61 = tail call noundef i64 @_ZNK5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEEE4colsEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %62 = getelementptr inbounds i8, ptr %1, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !23
  %64 = shl nsw i32 %63, 1
  %65 = sext i32 %64 to i64
  %66 = icmp eq i64 %61, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %60
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 329, ptr noundef nonnull @__PRETTY_FUNCTION__._Z34computeNumericalDerivative_bendingPK11SParametersPK6SCurveRKN5Eigen6MatrixIdLi2ELin1ELi0ELi2ELin1EEEdRNS6_IdLin1ELin1ELi0ELin1ELin1EEEi) #5
  unreachable

68:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  store double 0.000000e+00, ptr %9, align 8, !tbaa !5
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2IddEERKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  store double 0.000000e+00, ptr %11, align 8, !tbaa !5
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2IddEERKT_RKT0_(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %69 = icmp sgt i32 %55, 0
  br i1 %69, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %68
  %70 = getelementptr inbounds i8, ptr %1, i64 24
  %71 = getelementptr inbounds i8, ptr %0, i64 8
  br label %72

._crit_edge:                                      ; preds = %85, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  ret void

72:                                               ; preds = %.lr.ph, %85
  %.099 = phi i32 [ 0, %.lr.ph ], [ %87, %85 ]
  %73 = load i8, ptr %1, align 8, !tbaa !9, !range !21, !noundef !22
  %74 = trunc nuw i8 %73 to i1
  br i1 %74, label %75, label %82

75:                                               ; preds = %72
  %76 = load i32, ptr %62, align 4, !tbaa !23
  %77 = add i32 %.099, -1
  %78 = add i32 %77, %76
  %79 = srem i32 %78, %76
  %80 = add nuw nsw i32 %.099, 1
  %81 = srem i32 %80, %76
  br label %85

82:                                               ; preds = %72
  %83 = add nuw nsw i32 %.099, 1
  %84 = add nuw nsw i32 %.099, 2
  br label %85

85:                                               ; preds = %82, %75
  %86 = phi i32 [ %.099, %75 ], [ %83, %82 ]
  %87 = phi i32 [ %80, %75 ], [ %83, %82 ]
  %88 = phi i32 [ %79, %75 ], [ %.099, %82 ]
  %89 = phi i32 [ %81, %75 ], [ %84, %82 ]
  %90 = sext i32 %88 to i64
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %70, i64 noundef %90)
  %92 = load double, ptr %91, align 8, !tbaa !5
  %93 = zext nneg i32 %86 to i64
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEELi0EEclEl(ptr noundef nonnull align 1 dereferenceable(1) %70, i64 noundef %93)
  %95 = load double, ptr %94, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %13, ptr noundef nonnull align 1 dereferenceable(1) %2, i64 noundef %90)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  call void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %15, ptr noundef nonnull align 1 dereferenceable(1) %2, i64 noundef %93)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #6
  %96 = sext i32 %89 to i64
  call void @_ZNK5Eigen9DenseBaseINS_6MatrixIdLi2ELin1ELi0ELi2ELin1EEEE3colEl(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Block") align 8 %17, ptr noundef nonnull align 1 dereferenceable(1) %2, i64 noundef %96)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_5BlockIKNS0_IdLi2ELin1ELi0ELi2ELin1EEELi2ELi1ELb1EEEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %19, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %21, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %23, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %25, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %24, ptr noundef nonnull align 1 dereferenceable(1) %25)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %27, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %26, ptr noundef nonnull align 1 dereferenceable(1) %27)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEplIS2_EEKNS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp.81") align 8 %29, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal13scalar_sum_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %31, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %30, ptr noundef nonnull align 1 dereferenceable(1) %31)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %33, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %35) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %35, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %18)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %34, ptr noundef nonnull align 1 dereferenceable(1) %35)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %36) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %37, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %20)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %36, ptr noundef nonnull align 1 dereferenceable(1) %37)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %39, ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %38, ptr noundef nonnull align 1 dereferenceable(1) %39)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %41, ptr noundef nonnull align 1 dereferenceable(1) %24, ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %40, ptr noundef nonnull align 1 dereferenceable(1) %41)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %43) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %43, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %22)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %42, ptr noundef nonnull align 1 dereferenceable(1) %43)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %43) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %45) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %45, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %44, ptr noundef nonnull align 1 dereferenceable(1) %45)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %46) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %47) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %47, ptr noundef nonnull align 1 dereferenceable(1) %26, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %46, ptr noundef nonnull align 1 dereferenceable(1) %47)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %47) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %48) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #6
  call void @_ZNK5Eigen10MatrixBaseINS_6MatrixIdLi2ELi1ELi0ELi2ELi1EEEEmiIS2_EEKNS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS2_KT_EERKNS0_ISA_EE(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::CwiseBinaryOp") align 8 %49, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @_ZN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEC2INS_13CwiseBinaryOpINS_8internal20scalar_difference_opIdEEKS1_S7_EEEERKNS_10MatrixBaseIT_EE(ptr noundef nonnull align 16 dereferenceable(16) %48, ptr noundef nonnull align 1 dereferenceable(1) %49)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #6
  %97 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %30, ptr noundef nonnull align 16 dereferenceable(16) %32)
  %98 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %34, ptr noundef nonnull align 16 dereferenceable(16) %32)
  %99 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %36, ptr noundef nonnull align 16 dereferenceable(16) %32)
  %100 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %38, ptr noundef nonnull align 16 dereferenceable(16) %42)
  %101 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %40, ptr noundef nonnull align 16 dereferenceable(16) %44)
  %102 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %30, ptr noundef nonnull align 16 dereferenceable(16) %46)
  %103 = call noundef double @_Z12computeOmegaRKN5Eigen6MatrixIdLi2ELi1ELi0ELi2ELi1EEES3_(ptr noundef nonnull align 16 dereferenceable(16) %30, ptr noundef nonnull align 16 dereferenceable(16) %48)
  %104 = load double, ptr %71, align 8, !tbaa !24
  %105 = fadd double %92, %95
  %106 = fdiv double %104, %105
  %107 = call double @sqrt(double noundef %106) #6
  %108 = fmul double %97, %107
  %109 = load double, ptr %71, align 8, !tbaa !24
  %110 = fdiv double %109, %105
  %111 = call double @sqrt(double noundef %110) #6
  %112 = fmul double %98, %111
  %113 = load double, ptr %71, align 8, !tbaa !24
  %114 = fdiv double %113, %105
  %115 = call double @sqrt(double noundef %114) #6
  %116 = fmul double %99, %115
  %117 = load double, ptr %71, align 8, !tbaa !24
  %118 = fdiv double %117, %105
  %119 = call double @sqrt(double noundef %118) #6
  %120 = fmul double %100, %119
  %121 = load double, ptr %71, align 8, !tbaa !24
  %122 = fdiv double %121, %105
  %123 = call double @sqrt(double noundef %122) #6
  %124 = fmul double %101, %123
  %125 = load double, ptr %71, align 8, !tbaa !24
  %126 = fdiv double %125, %105
  %127 = call double @sqrt(double noundef %126) #6
  %128 = fmul double %102, %127
  %129 = load double, ptr %71, align 8, !tbaa !24
  %130 = fdiv double %129, %105
  %131 = call double @sqrt(double noundef %130) #6
  %132 = fmul double %103, %131
  %133 = fsub double %112, %108
  %134 = load double, ptr %7, align 8, !tbaa !5
  %135 = fdiv double %133, %134
  %136 = add nsw i32 %.099, %5
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %137, i64 noundef %90)
  store double %135, ptr %138, align 8, !tbaa !5
  %139 = fsub double %116, %108
  %140 = load double, ptr %7, align 8, !tbaa !5
  %141 = fdiv double %139, %140
  %142 = load i32, ptr %62, align 4, !tbaa !23
  %143 = add nsw i32 %142, %88
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %137, i64 noundef %144)
  store double %141, ptr %145, align 8, !tbaa !5
  %146 = fsub double %120, %108
  %147 = load double, ptr %7, align 8, !tbaa !5
  %148 = fdiv double %146, %147
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %137, i64 noundef %93)
  store double %148, ptr %149, align 8, !tbaa !5
  %150 = fsub double %124, %108
  %151 = load double, ptr %7, align 8, !tbaa !5
  %152 = fdiv double %150, %151
  %153 = load i32, ptr %62, align 4, !tbaa !23
  %154 = add nsw i32 %153, %86
  %155 = sext i32 %154 to i64
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %137, i64 noundef %155)
  store double %152, ptr %156, align 8, !tbaa !5
  %157 = fsub double %128, %108
  %158 = load double, ptr %7, align 8, !tbaa !5
  %159 = fdiv double %157, %158
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %137, i64 noundef %96)
  store double %159, ptr %160, align 8, !tbaa !5
  %161 = fsub double %132, %108
  %162 = load double, ptr %7, align 8, !tbaa !5
  %163 = fdiv double %161, %162
  %164 = load i32, ptr %62, align 4, !tbaa !23
  %165 = add nsw i32 %164, %89
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi1EEclEll(ptr noundef nonnull align 1 dereferenceable(1) %4, i64 noundef %137, i64 noundef %166)
  store double %163, ptr %167, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %48) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %46) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %36) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %168 = icmp slt i32 %87, %55
  br i1 %168, label %72, label %._crit_edge, !llvm.loop !28
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS6SCurve", !11, i64 0, !12, i64 4, !13, i64 8, !13, i64 24, !18, i64 40}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSN5Eigen6MatrixIdLin1ELi1ELi0ELin1ELi1EEE", !14, i64 0}
!14 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIdLin1ELi1ELi0ELin1ELi1EEEEE", !15, i64 0}
!15 = !{!"_ZTSN5Eigen12DenseStorageIdLin1ELin1ELi1ELi0EEE", !16, i64 0, !17, i64 8}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN5Eigen6MatrixIiLin1ELi1ELi0ELin1ELi1EEE", !19, i64 0}
!19 = !{!"_ZTSN5Eigen15PlainObjectBaseINS_6MatrixIiLin1ELi1ELi0ELin1ELi1EEEEE", !20, i64 0}
!20 = !{!"_ZTSN5Eigen12DenseStorageIiLin1ELin1ELi1ELi0EEE", !16, i64 0, !17, i64 8}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!10, !12, i64 4}
!24 = !{!25, !6, i64 8}
!25 = !{!"_ZTS11SParameters", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !26, i64 32, !27, i64 48, !12, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !12, i64 120, !6, i64 128}
!26 = !{!"_ZTSN9_BlueTail6_Image6SImageIdLi1EEE", !12, i64 0, !12, i64 4, !16, i64 8}
!27 = !{!"_ZTS7SRegion", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass