; LLVM IR from HRI-EU/Rcs :: src/RcsCore/ViaPointSequence.ll (ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct._MatNd = type { ptr, i32, i32, i32, i8 }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [77 x i8], align 1
@__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_ = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_(ptr noundef %0, ptr noundef %1) #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca double, align 8
  %24 = alloca i64, align 8
  %25 = alloca double, align 8
  %26 = alloca i64, align 8
  %27 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._MatNd, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct._MatNd, ptr %31, i32 0, i32 2
  %33 = load i32, ptr %32, align 4, !tbaa !13
  %34 = mul i32 0, %33
  %35 = add i32 %34, 0
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds double, ptr %30, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !14
  store double %38, ptr %5, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._MatNd, ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._MatNd, ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 8, !tbaa !16
  %45 = sub i32 %44, 1
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._MatNd, ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 4, !tbaa !13
  %49 = mul i32 %45, %48
  %50 = add i32 %49, 0
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds double, ptr %41, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !14
  store double %53, ptr %6, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %54 = load double, ptr %6, align 8, !tbaa !14
  %55 = load double, ptr %5, align 8, !tbaa !14
  %56 = fsub double %54, %55
  store double %56, ptr %7, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %57 = load double, ptr %5, align 8, !tbaa !14
  %58 = load double, ptr %7, align 8, !tbaa !14
  %59 = fdiv double %58, 3.000000e+00
  %60 = fadd double %57, %59
  store double %60, ptr %8, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %61 = load double, ptr %5, align 8, !tbaa !14
  %62 = load double, ptr %7, align 8, !tbaa !14
  %63 = fmul double 2.000000e+00, %62
  %64 = fdiv double %63, 3.000000e+00
  %65 = fadd double %61, %64
  store double %65, ptr %9, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZL23computeDependentIndicesPK6_MatNdRSt6vectorIiSaIiEES5_S5_(ptr noundef %66, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %67 unwind label %76

67:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store i64 0, ptr %15, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store i64 0, ptr %16, align 8, !tbaa !17
  br label %68

68:                                               ; preds = %572, %67
  %69 = load i64, ptr %16, align 8, !tbaa !17
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct._MatNd, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 8, !tbaa !16
  %73 = zext i32 %72 to i64
  %74 = icmp ult i64 %69, %73
  br i1 %74, label %80, label %75

75:                                               ; preds = %68
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %576

76:                                               ; preds = %2
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %13, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %14, align 4
  br label %577

80:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct._MatNd, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = load i64, ptr %16, align 8, !tbaa !17
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct._MatNd, ptr %85, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !13
  %88 = zext i32 %87 to i64
  %89 = mul i64 %84, %88
  %90 = add i64 %89, 0
  %91 = getelementptr inbounds double, ptr %83, i64 %90
  %92 = load double, ptr %91, align 8, !tbaa !14
  store double %92, ptr %18, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %93 = load double, ptr %18, align 8, !tbaa !14
  %94 = load double, ptr %18, align 8, !tbaa !14
  %95 = fmul double %93, %94
  store double %95, ptr %19, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %96 = load double, ptr %19, align 8, !tbaa !14
  %97 = load double, ptr %18, align 8, !tbaa !14
  %98 = fmul double %96, %97
  store double %98, ptr %20, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = load i64, ptr %16, align 8, !tbaa !17
  %101 = trunc i64 %100 to i32
  %102 = invoke double @MatNd_get(ptr noundef %99, i32 noundef %101, i32 noundef 4)
          to label %103 unwind label %170

103:                                              ; preds = %80
  %104 = call i64 @lround(double noundef %102) #7
  %105 = trunc i64 %104 to i32
  store i32 %105, ptr %21, align 4, !tbaa !19
  %106 = load i32, ptr %21, align 4, !tbaa !19
  %107 = invoke zeroext i1 @Math_isBitSet(i32 noundef %106, i32 noundef 0)
          to label %108 unwind label %170

108:                                              ; preds = %103
  br i1 %107, label %109, label %273

109:                                              ; preds = %108
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = load i64, ptr %15, align 8, !tbaa !17
  %112 = trunc i64 %111 to i32
  %113 = load double, ptr %19, align 8, !tbaa !14
  %114 = fmul double 5.000000e-01, %113
  invoke void @MatNd_set(ptr noundef %110, i32 noundef %112, i32 noundef 0, double noundef %114)
          to label %115 unwind label %170

115:                                              ; preds = %109
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = load i64, ptr %15, align 8, !tbaa !17
  %118 = trunc i64 %117 to i32
  %119 = load double, ptr %20, align 8, !tbaa !14
  %120 = fdiv double %119, 6.000000e+00
  invoke void @MatNd_set(ptr noundef %116, i32 noundef %118, i32 noundef 1, double noundef %120)
          to label %121 unwind label %170

121:                                              ; preds = %115
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = load i64, ptr %15, align 8, !tbaa !17
  %124 = trunc i64 %123 to i32
  %125 = load double, ptr %18, align 8, !tbaa !14
  %126 = load double, ptr %8, align 8, !tbaa !14
  %127 = fcmp ogt double %125, %126
  br i1 %127, label %128, label %135

128:                                              ; preds = %121
  %129 = load double, ptr %18, align 8, !tbaa !14
  %130 = load double, ptr %8, align 8, !tbaa !14
  %131 = fsub double %129, %130
  %132 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %131, i32 noundef 3)
          to label %133 unwind label %170

133:                                              ; preds = %128
  %134 = fdiv double %132, 6.000000e+00
  br label %136

135:                                              ; preds = %121
  br label %136

136:                                              ; preds = %135, %133
  %137 = phi double [ %134, %133 ], [ 0.000000e+00, %135 ]
  invoke void @MatNd_set(ptr noundef %122, i32 noundef %124, i32 noundef 2, double noundef %137)
          to label %138 unwind label %170

138:                                              ; preds = %136
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = load i64, ptr %15, align 8, !tbaa !17
  %141 = trunc i64 %140 to i32
  %142 = load double, ptr %18, align 8, !tbaa !14
  %143 = load double, ptr %9, align 8, !tbaa !14
  %144 = fcmp ogt double %142, %143
  br i1 %144, label %145, label %152

145:                                              ; preds = %138
  %146 = load double, ptr %18, align 8, !tbaa !14
  %147 = load double, ptr %9, align 8, !tbaa !14
  %148 = fsub double %146, %147
  %149 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %148, i32 noundef 3)
          to label %150 unwind label %170

150:                                              ; preds = %145
  %151 = fdiv double %149, 6.000000e+00
  br label %153

152:                                              ; preds = %138
  br label %153

153:                                              ; preds = %152, %150
  %154 = phi double [ %151, %150 ], [ 0.000000e+00, %152 ]
  invoke void @MatNd_set(ptr noundef %139, i32 noundef %141, i32 noundef 3, double noundef %154)
          to label %155 unwind label %170

155:                                              ; preds = %153
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = load i64, ptr %15, align 8, !tbaa !17
  %158 = trunc i64 %157 to i32
  %159 = load double, ptr %18, align 8, !tbaa !14
  invoke void @MatNd_set(ptr noundef %156, i32 noundef %158, i32 noundef 4, double noundef %159)
          to label %160 unwind label %170

160:                                              ; preds = %155
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = load i64, ptr %15, align 8, !tbaa !17
  %163 = trunc i64 %162 to i32
  invoke void @MatNd_set(ptr noundef %161, i32 noundef %163, i32 noundef 5, double noundef 1.000000e+00)
          to label %164 unwind label %170

164:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store i64 1, ptr %22, align 8, !tbaa !17
  br label %165

165:                                              ; preds = %267, %164
  %166 = load i64, ptr %22, align 8, !tbaa !17
  %167 = load i64, ptr %16, align 8, !tbaa !17
  %168 = icmp ult i64 %166, %167
  br i1 %168, label %174, label %169

169:                                              ; preds = %165
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %270

170:                                              ; preds = %474, %470, %468, %454, %437, %433, %429, %326, %322, %320, %312, %303, %295, %282, %277, %273, %160, %155, %153, %145, %136, %128, %115, %109, %103, %80
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %13, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %14, align 4
  br label %575

174:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %175 = load ptr, ptr %4, align 8, !tbaa !5
  %176 = load i64, ptr %22, align 8, !tbaa !17
  %177 = trunc i64 %176 to i32
  %178 = invoke double @MatNd_get(ptr noundef %175, i32 noundef %177, i32 noundef 0)
          to label %179 unwind label %200

179:                                              ; preds = %174
  store double %178, ptr %23, align 8, !tbaa !14
  %180 = load double, ptr %23, align 8, !tbaa !14
  %181 = load double, ptr %18, align 8, !tbaa !14
  %182 = fcmp oge double %180, %181
  br i1 %182, label %183, label %206

183:                                              ; preds = %179
  %184 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @MatNd_printCommentDigits(ptr noundef @.str, ptr noundef %184, i32 noundef 5)
          to label %185 unwind label %200

185:                                              ; preds = %183
  br label %186

186:                                              ; preds = %185
  %187 = load ptr, ptr @stderr, align 8, !tbaa !5
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_, i32 noundef 204) #7
  %189 = load ptr, ptr @stderr, align 8, !tbaa !5
  %190 = load i64, ptr %16, align 8, !tbaa !17
  %191 = trunc i64 %190 to i32
  %192 = load i64, ptr %22, align 8, !tbaa !17
  %193 = trunc i64 %192 to i32
  %194 = load double, ptr %23, align 8, !tbaa !14
  %195 = load double, ptr %18, align 8, !tbaa !14
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str.3, i32 noundef %191, i32 noundef %193, double noundef %194, double noundef %195) #7
  %197 = load ptr, ptr @stderr, align 8, !tbaa !5
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.4) #7
  invoke void @print_trace()
          to label %199 unwind label %200

199:                                              ; preds = %186
  call void @exit(i32 noundef 1) #8
  unreachable

200:                                              ; preds = %263, %251, %242, %230, %212, %186, %183, %174
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %13, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %575

204:                                              ; No predecessors!
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205, %179
  %207 = load i64, ptr %22, align 8, !tbaa !17
  %208 = sub i64 %207, 1
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %208) #7
  %210 = load i32, ptr %209, align 4, !tbaa !19
  %211 = icmp ne i32 %210, -1
  br i1 %211, label %212, label %224

212:                                              ; preds = %206
  %213 = load ptr, ptr %3, align 8, !tbaa !5
  %214 = load i64, ptr %15, align 8, !tbaa !17
  %215 = trunc i64 %214 to i32
  %216 = load i64, ptr %22, align 8, !tbaa !17
  %217 = sub i64 %216, 1
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %217) #7
  %219 = load i32, ptr %218, align 4, !tbaa !19
  %220 = load double, ptr %18, align 8, !tbaa !14
  %221 = load double, ptr %23, align 8, !tbaa !14
  %222 = fsub double %220, %221
  invoke void @MatNd_set(ptr noundef %213, i32 noundef %215, i32 noundef %219, double noundef %222)
          to label %223 unwind label %200

223:                                              ; preds = %212
  br label %224

224:                                              ; preds = %223, %206
  %225 = load i64, ptr %22, align 8, !tbaa !17
  %226 = sub i64 %225, 1
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %226) #7
  %228 = load i32, ptr %227, align 4, !tbaa !19
  %229 = icmp ne i32 %228, -1
  br i1 %229, label %230, label %245

230:                                              ; preds = %224
  %231 = load ptr, ptr %3, align 8, !tbaa !5
  %232 = load i64, ptr %15, align 8, !tbaa !17
  %233 = trunc i64 %232 to i32
  %234 = load i64, ptr %22, align 8, !tbaa !17
  %235 = sub i64 %234, 1
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %235) #7
  %237 = load i32, ptr %236, align 4, !tbaa !19
  %238 = load double, ptr %18, align 8, !tbaa !14
  %239 = load double, ptr %23, align 8, !tbaa !14
  %240 = fsub double %238, %239
  %241 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %240, i32 noundef 2)
          to label %242 unwind label %200

242:                                              ; preds = %230
  %243 = fdiv double %241, 2.000000e+00
  invoke void @MatNd_set(ptr noundef %231, i32 noundef %233, i32 noundef %237, double noundef %243)
          to label %244 unwind label %200

244:                                              ; preds = %242
  br label %245

245:                                              ; preds = %244, %224
  %246 = load i64, ptr %22, align 8, !tbaa !17
  %247 = sub i64 %246, 1
  %248 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %247) #7
  %249 = load i32, ptr %248, align 4, !tbaa !19
  %250 = icmp ne i32 %249, -1
  br i1 %250, label %251, label %266

251:                                              ; preds = %245
  %252 = load ptr, ptr %3, align 8, !tbaa !5
  %253 = load i64, ptr %15, align 8, !tbaa !17
  %254 = trunc i64 %253 to i32
  %255 = load i64, ptr %22, align 8, !tbaa !17
  %256 = sub i64 %255, 1
  %257 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %256) #7
  %258 = load i32, ptr %257, align 4, !tbaa !19
  %259 = load double, ptr %18, align 8, !tbaa !14
  %260 = load double, ptr %23, align 8, !tbaa !14
  %261 = fsub double %259, %260
  %262 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %261, i32 noundef 3)
          to label %263 unwind label %200

263:                                              ; preds = %251
  %264 = fdiv double %262, 6.000000e+00
  invoke void @MatNd_set(ptr noundef %252, i32 noundef %254, i32 noundef %258, double noundef %264)
          to label %265 unwind label %200

265:                                              ; preds = %263
  br label %266

266:                                              ; preds = %265, %245
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %267

267:                                              ; preds = %266
  %268 = load i64, ptr %22, align 8, !tbaa !17
  %269 = add i64 %268, 1
  store i64 %269, ptr %22, align 8, !tbaa !17
  br label %165, !llvm.loop !20

270:                                              ; preds = %169
  %271 = load i64, ptr %15, align 8, !tbaa !17
  %272 = add i64 %271, 1
  store i64 %272, ptr %15, align 8, !tbaa !17
  br label %273

273:                                              ; preds = %270, %108
  %274 = load i32, ptr %21, align 4, !tbaa !19
  %275 = invoke zeroext i1 @Math_isBitSet(i32 noundef %274, i32 noundef 1)
          to label %276 unwind label %170

276:                                              ; preds = %273
  br i1 %275, label %277, label %429

277:                                              ; preds = %276
  %278 = load ptr, ptr %3, align 8, !tbaa !5
  %279 = load i64, ptr %15, align 8, !tbaa !17
  %280 = trunc i64 %279 to i32
  %281 = load double, ptr %18, align 8, !tbaa !14
  invoke void @MatNd_set(ptr noundef %278, i32 noundef %280, i32 noundef 0, double noundef %281)
          to label %282 unwind label %170

282:                                              ; preds = %277
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = load i64, ptr %15, align 8, !tbaa !17
  %285 = trunc i64 %284 to i32
  %286 = load double, ptr %19, align 8, !tbaa !14
  %287 = fmul double 5.000000e-01, %286
  invoke void @MatNd_set(ptr noundef %283, i32 noundef %285, i32 noundef 1, double noundef %287)
          to label %288 unwind label %170

288:                                              ; preds = %282
  %289 = load ptr, ptr %3, align 8, !tbaa !5
  %290 = load i64, ptr %15, align 8, !tbaa !17
  %291 = trunc i64 %290 to i32
  %292 = load double, ptr %18, align 8, !tbaa !14
  %293 = load double, ptr %8, align 8, !tbaa !14
  %294 = fcmp ogt double %292, %293
  br i1 %294, label %295, label %302

295:                                              ; preds = %288
  %296 = load double, ptr %18, align 8, !tbaa !14
  %297 = load double, ptr %8, align 8, !tbaa !14
  %298 = fsub double %296, %297
  %299 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %298, i32 noundef 2)
          to label %300 unwind label %170

300:                                              ; preds = %295
  %301 = fdiv double %299, 2.000000e+00
  br label %303

302:                                              ; preds = %288
  br label %303

303:                                              ; preds = %302, %300
  %304 = phi double [ %301, %300 ], [ 0.000000e+00, %302 ]
  invoke void @MatNd_set(ptr noundef %289, i32 noundef %291, i32 noundef 2, double noundef %304)
          to label %305 unwind label %170

305:                                              ; preds = %303
  %306 = load ptr, ptr %3, align 8, !tbaa !5
  %307 = load i64, ptr %15, align 8, !tbaa !17
  %308 = trunc i64 %307 to i32
  %309 = load double, ptr %18, align 8, !tbaa !14
  %310 = load double, ptr %9, align 8, !tbaa !14
  %311 = fcmp ogt double %309, %310
  br i1 %311, label %312, label %319

312:                                              ; preds = %305
  %313 = load double, ptr %18, align 8, !tbaa !14
  %314 = load double, ptr %9, align 8, !tbaa !14
  %315 = fsub double %313, %314
  %316 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %315, i32 noundef 2)
          to label %317 unwind label %170

317:                                              ; preds = %312
  %318 = fdiv double %316, 2.000000e+00
  br label %320

319:                                              ; preds = %305
  br label %320

320:                                              ; preds = %319, %317
  %321 = phi double [ %318, %317 ], [ 0.000000e+00, %319 ]
  invoke void @MatNd_set(ptr noundef %306, i32 noundef %308, i32 noundef 3, double noundef %321)
          to label %322 unwind label %170

322:                                              ; preds = %320
  %323 = load ptr, ptr %3, align 8, !tbaa !5
  %324 = load i64, ptr %15, align 8, !tbaa !17
  %325 = trunc i64 %324 to i32
  invoke void @MatNd_set(ptr noundef %323, i32 noundef %325, i32 noundef 4, double noundef 1.000000e+00)
          to label %326 unwind label %170

326:                                              ; preds = %322
  %327 = load ptr, ptr %3, align 8, !tbaa !5
  %328 = load i64, ptr %15, align 8, !tbaa !17
  %329 = trunc i64 %328 to i32
  invoke void @MatNd_set(ptr noundef %327, i32 noundef %329, i32 noundef 5, double noundef 0.000000e+00)
          to label %330 unwind label %170

330:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  store i64 1, ptr %24, align 8, !tbaa !17
  br label %331

331:                                              ; preds = %423, %330
  %332 = load i64, ptr %24, align 8, !tbaa !17
  %333 = load i64, ptr %16, align 8, !tbaa !17
  %334 = icmp ult i64 %332, %333
  br i1 %334, label %336, label %335

335:                                              ; preds = %331
  store i32 10, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %426

336:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %337 = load ptr, ptr %4, align 8, !tbaa !5
  %338 = load i64, ptr %24, align 8, !tbaa !17
  %339 = trunc i64 %338 to i32
  %340 = invoke double @MatNd_get(ptr noundef %337, i32 noundef %339, i32 noundef 0)
          to label %341 unwind label %362

341:                                              ; preds = %336
  store double %340, ptr %25, align 8, !tbaa !14
  %342 = load double, ptr %25, align 8, !tbaa !14
  %343 = load double, ptr %18, align 8, !tbaa !14
  %344 = fcmp oge double %342, %343
  br i1 %344, label %345, label %368

345:                                              ; preds = %341
  %346 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @MatNd_printCommentDigits(ptr noundef @.str, ptr noundef %346, i32 noundef 5)
          to label %347 unwind label %362

347:                                              ; preds = %345
  br label %348

348:                                              ; preds = %347
  %349 = load ptr, ptr @stderr, align 8, !tbaa !5
  %350 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %349, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_, i32 noundef 247) #7
  %351 = load ptr, ptr @stderr, align 8, !tbaa !5
  %352 = load i64, ptr %16, align 8, !tbaa !17
  %353 = trunc i64 %352 to i32
  %354 = load i64, ptr %24, align 8, !tbaa !17
  %355 = trunc i64 %354 to i32
  %356 = load double, ptr %25, align 8, !tbaa !14
  %357 = load double, ptr %18, align 8, !tbaa !14
  %358 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %351, ptr noundef @.str.3, i32 noundef %353, i32 noundef %355, double noundef %356, double noundef %357) #7
  %359 = load ptr, ptr @stderr, align 8, !tbaa !5
  %360 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %359, ptr noundef @.str.4) #7
  invoke void @print_trace()
          to label %361 unwind label %362

361:                                              ; preds = %348
  call void @exit(i32 noundef 1) #8
  unreachable

362:                                              ; preds = %419, %407, %392, %374, %348, %345, %336
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %13, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %575

366:                                              ; No predecessors!
  br label %367

367:                                              ; preds = %366
  br label %368

368:                                              ; preds = %367, %341
  %369 = load i64, ptr %24, align 8, !tbaa !17
  %370 = sub i64 %369, 1
  %371 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %370) #7
  %372 = load i32, ptr %371, align 4, !tbaa !19
  %373 = icmp ne i32 %372, -1
  br i1 %373, label %374, label %386

374:                                              ; preds = %368
  %375 = load ptr, ptr %3, align 8, !tbaa !5
  %376 = load i64, ptr %15, align 8, !tbaa !17
  %377 = trunc i64 %376 to i32
  %378 = load i64, ptr %24, align 8, !tbaa !17
  %379 = sub i64 %378, 1
  %380 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %379) #7
  %381 = load i32, ptr %380, align 4, !tbaa !19
  %382 = load double, ptr %18, align 8, !tbaa !14
  %383 = load double, ptr %25, align 8, !tbaa !14
  %384 = fsub double %382, %383
  invoke void @MatNd_set(ptr noundef %375, i32 noundef %377, i32 noundef %381, double noundef %384)
          to label %385 unwind label %362

385:                                              ; preds = %374
  br label %386

386:                                              ; preds = %385, %368
  %387 = load i64, ptr %24, align 8, !tbaa !17
  %388 = sub i64 %387, 1
  %389 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %388) #7
  %390 = load i32, ptr %389, align 4, !tbaa !19
  %391 = icmp ne i32 %390, -1
  br i1 %391, label %392, label %401

392:                                              ; preds = %386
  %393 = load ptr, ptr %3, align 8, !tbaa !5
  %394 = load i64, ptr %15, align 8, !tbaa !17
  %395 = trunc i64 %394 to i32
  %396 = load i64, ptr %24, align 8, !tbaa !17
  %397 = sub i64 %396, 1
  %398 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %397) #7
  %399 = load i32, ptr %398, align 4, !tbaa !19
  invoke void @MatNd_set(ptr noundef %393, i32 noundef %395, i32 noundef %399, double noundef 0.000000e+00)
          to label %400 unwind label %362

400:                                              ; preds = %392
  br label %401

401:                                              ; preds = %400, %386
  %402 = load i64, ptr %24, align 8, !tbaa !17
  %403 = sub i64 %402, 1
  %404 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %403) #7
  %405 = load i32, ptr %404, align 4, !tbaa !19
  %406 = icmp ne i32 %405, -1
  br i1 %406, label %407, label %422

407:                                              ; preds = %401
  %408 = load ptr, ptr %3, align 8, !tbaa !5
  %409 = load i64, ptr %15, align 8, !tbaa !17
  %410 = trunc i64 %409 to i32
  %411 = load i64, ptr %24, align 8, !tbaa !17
  %412 = sub i64 %411, 1
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %412) #7
  %414 = load i32, ptr %413, align 4, !tbaa !19
  %415 = load double, ptr %18, align 8, !tbaa !14
  %416 = load double, ptr %25, align 8, !tbaa !14
  %417 = fsub double %415, %416
  %418 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %417, i32 noundef 2)
          to label %419 unwind label %362

419:                                              ; preds = %407
  %420 = fdiv double %418, 2.000000e+00
  invoke void @MatNd_set(ptr noundef %408, i32 noundef %410, i32 noundef %414, double noundef %420)
          to label %421 unwind label %362

421:                                              ; preds = %419
  br label %422

422:                                              ; preds = %421, %401
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %423

423:                                              ; preds = %422
  %424 = load i64, ptr %24, align 8, !tbaa !17
  %425 = add i64 %424, 1
  store i64 %425, ptr %24, align 8, !tbaa !17
  br label %331, !llvm.loop !22

426:                                              ; preds = %335
  %427 = load i64, ptr %15, align 8, !tbaa !17
  %428 = add i64 %427, 1
  store i64 %428, ptr %15, align 8, !tbaa !17
  br label %429

429:                                              ; preds = %426, %276
  %430 = load i32, ptr %21, align 4, !tbaa !19
  %431 = invoke zeroext i1 @Math_isBitSet(i32 noundef %430, i32 noundef 2)
          to label %432 unwind label %170

432:                                              ; preds = %429
  br i1 %431, label %433, label %571

433:                                              ; preds = %432
  %434 = load ptr, ptr %3, align 8, !tbaa !5
  %435 = load i64, ptr %15, align 8, !tbaa !17
  %436 = trunc i64 %435 to i32
  invoke void @MatNd_set(ptr noundef %434, i32 noundef %436, i32 noundef 0, double noundef 1.000000e+00)
          to label %437 unwind label %170

437:                                              ; preds = %433
  %438 = load ptr, ptr %3, align 8, !tbaa !5
  %439 = load i64, ptr %15, align 8, !tbaa !17
  %440 = trunc i64 %439 to i32
  %441 = load double, ptr %18, align 8, !tbaa !14
  invoke void @MatNd_set(ptr noundef %438, i32 noundef %440, i32 noundef 1, double noundef %441)
          to label %442 unwind label %170

442:                                              ; preds = %437
  %443 = load ptr, ptr %3, align 8, !tbaa !5
  %444 = load i64, ptr %15, align 8, !tbaa !17
  %445 = trunc i64 %444 to i32
  %446 = load double, ptr %18, align 8, !tbaa !14
  %447 = load double, ptr %8, align 8, !tbaa !14
  %448 = fcmp ogt double %446, %447
  br i1 %448, label %449, label %453

449:                                              ; preds = %442
  %450 = load double, ptr %18, align 8, !tbaa !14
  %451 = load double, ptr %8, align 8, !tbaa !14
  %452 = fsub double %450, %451
  br label %454

453:                                              ; preds = %442
  br label %454

454:                                              ; preds = %453, %449
  %455 = phi double [ %452, %449 ], [ 0.000000e+00, %453 ]
  invoke void @MatNd_set(ptr noundef %443, i32 noundef %445, i32 noundef 2, double noundef %455)
          to label %456 unwind label %170

456:                                              ; preds = %454
  %457 = load ptr, ptr %3, align 8, !tbaa !5
  %458 = load i64, ptr %15, align 8, !tbaa !17
  %459 = trunc i64 %458 to i32
  %460 = load double, ptr %18, align 8, !tbaa !14
  %461 = load double, ptr %9, align 8, !tbaa !14
  %462 = fcmp ogt double %460, %461
  br i1 %462, label %463, label %467

463:                                              ; preds = %456
  %464 = load double, ptr %18, align 8, !tbaa !14
  %465 = load double, ptr %9, align 8, !tbaa !14
  %466 = fsub double %464, %465
  br label %468

467:                                              ; preds = %456
  br label %468

468:                                              ; preds = %467, %463
  %469 = phi double [ %466, %463 ], [ 0.000000e+00, %467 ]
  invoke void @MatNd_set(ptr noundef %457, i32 noundef %459, i32 noundef 3, double noundef %469)
          to label %470 unwind label %170

470:                                              ; preds = %468
  %471 = load ptr, ptr %3, align 8, !tbaa !5
  %472 = load i64, ptr %15, align 8, !tbaa !17
  %473 = trunc i64 %472 to i32
  invoke void @MatNd_set(ptr noundef %471, i32 noundef %473, i32 noundef 4, double noundef 0.000000e+00)
          to label %474 unwind label %170

474:                                              ; preds = %470
  %475 = load ptr, ptr %3, align 8, !tbaa !5
  %476 = load i64, ptr %15, align 8, !tbaa !17
  %477 = trunc i64 %476 to i32
  invoke void @MatNd_set(ptr noundef %475, i32 noundef %477, i32 noundef 5, double noundef 0.000000e+00)
          to label %478 unwind label %170

478:                                              ; preds = %474
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  store i64 1, ptr %26, align 8, !tbaa !17
  br label %479

479:                                              ; preds = %565, %478
  %480 = load i64, ptr %26, align 8, !tbaa !17
  %481 = load i64, ptr %16, align 8, !tbaa !17
  %482 = icmp ult i64 %480, %481
  br i1 %482, label %484, label %483

483:                                              ; preds = %479
  store i32 15, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %568

484:                                              ; preds = %479
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %485 = load ptr, ptr %4, align 8, !tbaa !5
  %486 = load i64, ptr %26, align 8, !tbaa !17
  %487 = trunc i64 %486 to i32
  %488 = invoke double @MatNd_get(ptr noundef %485, i32 noundef %487, i32 noundef 0)
          to label %489 unwind label %510

489:                                              ; preds = %484
  store double %488, ptr %27, align 8, !tbaa !14
  %490 = load double, ptr %27, align 8, !tbaa !14
  %491 = load double, ptr %18, align 8, !tbaa !14
  %492 = fcmp oge double %490, %491
  br i1 %492, label %493, label %516

493:                                              ; preds = %489
  %494 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @MatNd_printCommentDigits(ptr noundef @.str, ptr noundef %494, i32 noundef 5)
          to label %495 unwind label %510

495:                                              ; preds = %493
  br label %496

496:                                              ; preds = %495
  %497 = load ptr, ptr @stderr, align 8, !tbaa !5
  %498 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %497, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_, i32 noundef 291) #7
  %499 = load ptr, ptr @stderr, align 8, !tbaa !5
  %500 = load i64, ptr %16, align 8, !tbaa !17
  %501 = trunc i64 %500 to i32
  %502 = load i64, ptr %26, align 8, !tbaa !17
  %503 = trunc i64 %502 to i32
  %504 = load double, ptr %27, align 8, !tbaa !14
  %505 = load double, ptr %18, align 8, !tbaa !14
  %506 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %499, ptr noundef @.str.3, i32 noundef %501, i32 noundef %503, double noundef %504, double noundef %505) #7
  %507 = load ptr, ptr @stderr, align 8, !tbaa !5
  %508 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %507, ptr noundef @.str.4) #7
  invoke void @print_trace()
          to label %509 unwind label %510

509:                                              ; preds = %496
  call void @exit(i32 noundef 1) #8
  unreachable

510:                                              ; preds = %555, %540, %522, %496, %493, %484
  %511 = landingpad { ptr, i32 }
          cleanup
  %512 = extractvalue { ptr, i32 } %511, 0
  store ptr %512, ptr %13, align 8
  %513 = extractvalue { ptr, i32 } %511, 1
  store i32 %513, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %575

514:                                              ; No predecessors!
  br label %515

515:                                              ; preds = %514
  br label %516

516:                                              ; preds = %515, %489
  %517 = load i64, ptr %26, align 8, !tbaa !17
  %518 = sub i64 %517, 1
  %519 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %518) #7
  %520 = load i32, ptr %519, align 4, !tbaa !19
  %521 = icmp ne i32 %520, -1
  br i1 %521, label %522, label %534

522:                                              ; preds = %516
  %523 = load ptr, ptr %3, align 8, !tbaa !5
  %524 = load i64, ptr %15, align 8, !tbaa !17
  %525 = trunc i64 %524 to i32
  %526 = load i64, ptr %26, align 8, !tbaa !17
  %527 = sub i64 %526, 1
  %528 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %527) #7
  %529 = load i32, ptr %528, align 4, !tbaa !19
  %530 = load double, ptr %18, align 8, !tbaa !14
  %531 = load double, ptr %27, align 8, !tbaa !14
  %532 = fsub double %530, %531
  invoke void @MatNd_set(ptr noundef %523, i32 noundef %525, i32 noundef %529, double noundef %532)
          to label %533 unwind label %510

533:                                              ; preds = %522
  br label %534

534:                                              ; preds = %533, %516
  %535 = load i64, ptr %26, align 8, !tbaa !17
  %536 = sub i64 %535, 1
  %537 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %536) #7
  %538 = load i32, ptr %537, align 4, !tbaa !19
  %539 = icmp ne i32 %538, -1
  br i1 %539, label %540, label %549

540:                                              ; preds = %534
  %541 = load ptr, ptr %3, align 8, !tbaa !5
  %542 = load i64, ptr %15, align 8, !tbaa !17
  %543 = trunc i64 %542 to i32
  %544 = load i64, ptr %26, align 8, !tbaa !17
  %545 = sub i64 %544, 1
  %546 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %545) #7
  %547 = load i32, ptr %546, align 4, !tbaa !19
  invoke void @MatNd_set(ptr noundef %541, i32 noundef %543, i32 noundef %547, double noundef 0.000000e+00)
          to label %548 unwind label %510

548:                                              ; preds = %540
  br label %549

549:                                              ; preds = %548, %534
  %550 = load i64, ptr %26, align 8, !tbaa !17
  %551 = sub i64 %550, 1
  %552 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %551) #7
  %553 = load i32, ptr %552, align 4, !tbaa !19
  %554 = icmp ne i32 %553, -1
  br i1 %554, label %555, label %564

555:                                              ; preds = %549
  %556 = load ptr, ptr %3, align 8, !tbaa !5
  %557 = load i64, ptr %15, align 8, !tbaa !17
  %558 = trunc i64 %557 to i32
  %559 = load i64, ptr %26, align 8, !tbaa !17
  %560 = sub i64 %559, 1
  %561 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %560) #7
  %562 = load i32, ptr %561, align 4, !tbaa !19
  invoke void @MatNd_set(ptr noundef %556, i32 noundef %558, i32 noundef %562, double noundef 0.000000e+00)
          to label %563 unwind label %510

563:                                              ; preds = %555
  br label %564

564:                                              ; preds = %563, %549
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %565

565:                                              ; preds = %564
  %566 = load i64, ptr %26, align 8, !tbaa !17
  %567 = add i64 %566, 1
  store i64 %567, ptr %26, align 8, !tbaa !17
  br label %479, !llvm.loop !23

568:                                              ; preds = %483
  %569 = load i64, ptr %15, align 8, !tbaa !17
  %570 = add i64 %569, 1
  store i64 %570, ptr %15, align 8, !tbaa !17
  br label %571

571:                                              ; preds = %568, %432
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %572

572:                                              ; preds = %571
  %573 = load i64, ptr %16, align 8, !tbaa !17
  %574 = add i64 %573, 1
  store i64 %574, ptr %16, align 8, !tbaa !17
  br label %68, !llvm.loop !24

575:                                              ; preds = %510, %362, %200, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %577

576:                                              ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  ret void

577:                                              ; preds = %575, %76
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %578

578:                                              ; preds = %577
  %579 = load ptr, ptr %13, align 8
  %580 = load i32, ptr %14, align 4
  %581 = insertvalue { ptr, i32 } poison, ptr %579, 0
  %582 = insertvalue { ptr, i32 } %581, i32 %580, 1
  resume { ptr, i32 } %582
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23computeDependentIndicesPK6_MatNdRSt6vectorIiSaIiEES5_S5_(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare i64 @lround(double noundef) #3

declare double @MatNd_get(ptr noundef, i32 noundef, i32 noundef) #4

declare zeroext i1 @Math_isBitSet(i32 noundef, i32 noundef) #4

declare void @MatNd_set(ptr noundef, i32 noundef, i32 noundef, double noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #5

declare void @MatNd_printCommentDigits(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

declare void @print_trace() #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 #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 = { "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 = { inlinehint mustprogress 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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, !6, i64 0}
!10 = !{!"_ZTS6_MatNd", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 20}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!10, !11, i64 12}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!10, !11, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !21}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [77 x i8], align 1
@__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_ = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = load ptr, ptr %1, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %1, i64 12
  %8 = load i32, ptr %7, align 4, !tbaa !12
  %9 = load double, ptr %6, align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  %11 = load i32, ptr %10, align 8, !tbaa !15
  %12 = add i32 %11, -1
  %13 = mul i32 %12, %8
  %14 = zext i32 %13 to i64
  %15 = getelementptr inbounds double, ptr %6, i64 %14
  %16 = load double, ptr %15, align 8, !tbaa !13
  %17 = fsub double %16, %9
  %18 = fdiv double %17, 3.000000e+00
  %19 = fadd double %9, %18
  %20 = fmul double %17, 2.000000e+00
  %21 = fdiv double %20, 3.000000e+00
  %22 = fadd double %9, %21
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  invoke void @_ZL23computeDependentIndicesPK6_MatNdRSt6vectorIiSaIiEES5_S5_(ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %.preheader225 unwind label %24

.preheader225:                                    ; preds = %2
  %23 = load i32, ptr %10, align 8, !tbaa !15
  %.not260 = icmp eq i32 %23, 0
  br i1 %.not260, label %._crit_edge259, label %.lr.ph258

._crit_edge259:                                   ; preds = %227, %.preheader225
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  ret void

24:                                               ; preds = %2
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %232

.lr.ph258:                                        ; preds = %.preheader225, %227
  %.0185257 = phi i64 [ %.3, %227 ], [ 0, %.preheader225 ]
  %.0188255 = phi i64 [ %228, %227 ], [ 0, %.preheader225 ]
  %26 = load ptr, ptr %1, align 8, !tbaa !5
  %27 = load i32, ptr %7, align 4, !tbaa !12
  %28 = zext i32 %27 to i64
  %29 = mul nuw i64 %.0188255, %28
  %30 = getelementptr inbounds double, ptr %26, i64 %29
  %31 = load double, ptr %30, align 8, !tbaa !13
  %32 = fmul double %31, %31
  %33 = fmul double %31, %32
  %34 = trunc nuw i64 %.0188255 to i32
  %35 = invoke double @MatNd_get(ptr noundef nonnull %1, i32 noundef %34, i32 noundef 4)
          to label %36 unwind label %66

36:                                               ; preds = %.lr.ph258
  %37 = call i64 @lround(double noundef %35) #8
  %38 = trunc i64 %37 to i32
  %39 = invoke zeroext i1 @Math_isBitSet(i32 noundef %38, i32 noundef 0)
          to label %40 unwind label %66

40:                                               ; preds = %36
  br i1 %39, label %41, label %109

41:                                               ; preds = %40
  %42 = trunc i64 %.0185257 to i32
  %43 = fmul double %32, 5.000000e-01
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef 0, double noundef %43)
          to label %44 unwind label %66

44:                                               ; preds = %41
  %45 = fdiv double %33, 6.000000e+00
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef 1, double noundef %45)
          to label %46 unwind label %66

46:                                               ; preds = %44
  %47 = fcmp ogt double %31, %19
  br i1 %47, label %48, label %52

48:                                               ; preds = %46
  %49 = fsub double %31, %19
  %50 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %49, i32 noundef 3)
  %51 = fdiv double %50, 6.000000e+00
  br label %52

52:                                               ; preds = %46, %48
  %53 = phi double [ %51, %48 ], [ 0.000000e+00, %46 ]
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef 2, double noundef %53)
          to label %54 unwind label %66

54:                                               ; preds = %52
  %55 = fcmp ogt double %31, %22
  br i1 %55, label %56, label %60

56:                                               ; preds = %54
  %57 = fsub double %31, %22
  %58 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %57, i32 noundef 3)
  %59 = fdiv double %58, 6.000000e+00
  br label %60

60:                                               ; preds = %54, %56
  %61 = phi double [ %59, %56 ], [ 0.000000e+00, %54 ]
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef 3, double noundef %61)
          to label %62 unwind label %66

62:                                               ; preds = %60
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef 4, double noundef %31)
          to label %63 unwind label %66

63:                                               ; preds = %62
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef 5, double noundef 1.000000e+00)
          to label %.preheader219 unwind label %66

.preheader219:                                    ; preds = %63
  %64 = icmp ugt i64 %.0188255, 1
  br i1 %64, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %107, %.preheader219
  %65 = add i64 %.0185257, 1
  br label %109

66:                                               ; preds = %189, %188, %184, %180, %179, %177, %174, %133, %132, %130, %122, %114, %112, %109, %63, %62, %60, %52, %44, %41, %36, %.lr.ph258
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %232

.lr.ph:                                           ; preds = %.preheader219, %107
  %.0187248 = phi i64 [ %108, %107 ], [ 1, %.preheader219 ]
  %68 = trunc nuw i64 %.0187248 to i32
  %69 = invoke double @MatNd_get(ptr noundef nonnull %1, i32 noundef %68, i32 noundef 0)
          to label %70 unwind label %.loopexit220

70:                                               ; preds = %.lr.ph
  %71 = fcmp ult double %69, %31
  br i1 %71, label %81, label %72

72:                                               ; preds = %70
  invoke void @MatNd_printCommentDigits(ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef 5)
          to label %73 unwind label %.loopexit.split-lp221

73:                                               ; preds = %72
  %74 = load ptr, ptr @stderr, align 8, !tbaa !16
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_, i32 noundef 204) #9
  %76 = load ptr, ptr @stderr, align 8, !tbaa !16
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef nonnull @.str.3, i32 noundef %34, i32 noundef %68, double noundef %69, double noundef %31) #9
  %78 = load ptr, ptr @stderr, align 8, !tbaa !16
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.4) #9
  invoke void @print_trace()
          to label %80 unwind label %.loopexit.split-lp221

80:                                               ; preds = %73
  call void @exit(i32 noundef 1) #10
  unreachable

.loopexit220:                                     ; preds = %.lr.ph, %85, %92, %101
  %lpad.loopexit222 = landingpad { ptr, i32 }
          cleanup
  br label %232

.loopexit.split-lp221:                            ; preds = %72, %73
  %lpad.loopexit.split-lp223 = landingpad { ptr, i32 }
          cleanup
  br label %232

81:                                               ; preds = %70
  %82 = add nsw i64 %.0187248, -1
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %82) #8
  %84 = load i32, ptr %83, align 4, !tbaa !17
  %.not208 = icmp eq i32 %84, -1
  br i1 %.not208, label %89, label %85

85:                                               ; preds = %81
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %82) #8
  %87 = load i32, ptr %86, align 4, !tbaa !17
  %88 = fsub double %31, %69
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef %87, double noundef %88)
          to label %89 unwind label %.loopexit220

89:                                               ; preds = %85, %81
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %82) #8
  %91 = load i32, ptr %90, align 4, !tbaa !17
  %.not209 = icmp eq i32 %91, -1
  br i1 %.not209, label %98, label %92

92:                                               ; preds = %89
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %82) #8
  %94 = load i32, ptr %93, align 4, !tbaa !17
  %95 = fsub double %31, %69
  %96 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %95, i32 noundef 2)
  %97 = fmul double %96, 5.000000e-01
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef %94, double noundef %97)
          to label %98 unwind label %.loopexit220

98:                                               ; preds = %92, %89
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %82) #8
  %100 = load i32, ptr %99, align 4, !tbaa !17
  %.not210 = icmp eq i32 %100, -1
  br i1 %.not210, label %107, label %101

101:                                              ; preds = %98
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %82) #8
  %103 = load i32, ptr %102, align 4, !tbaa !17
  %104 = fsub double %31, %69
  %105 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %104, i32 noundef 3)
  %106 = fdiv double %105, 6.000000e+00
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %42, i32 noundef %103, double noundef %106)
          to label %107 unwind label %.loopexit220

107:                                              ; preds = %101, %98
  %108 = add nuw nsw i64 %.0187248, 1
  %exitcond.not = icmp eq i64 %108, %.0188255
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !18

109:                                              ; preds = %._crit_edge, %40
  %.1186 = phi i64 [ %65, %._crit_edge ], [ %.0185257, %40 ]
  %110 = invoke zeroext i1 @Math_isBitSet(i32 noundef %38, i32 noundef 1)
          to label %111 unwind label %66

111:                                              ; preds = %109
  br i1 %110, label %112, label %174

112:                                              ; preds = %111
  %113 = trunc i64 %.1186 to i32
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef 0, double noundef %31)
          to label %114 unwind label %66

114:                                              ; preds = %112
  %115 = fmul double %32, 5.000000e-01
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef 1, double noundef %115)
          to label %116 unwind label %66

116:                                              ; preds = %114
  %117 = fcmp ogt double %31, %19
  br i1 %117, label %118, label %122

118:                                              ; preds = %116
  %119 = fsub double %31, %19
  %120 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %119, i32 noundef 2)
  %121 = fmul double %120, 5.000000e-01
  br label %122

122:                                              ; preds = %116, %118
  %123 = phi double [ %121, %118 ], [ 0.000000e+00, %116 ]
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef 2, double noundef %123)
          to label %124 unwind label %66

124:                                              ; preds = %122
  %125 = fcmp ogt double %31, %22
  br i1 %125, label %126, label %130

126:                                              ; preds = %124
  %127 = fsub double %31, %22
  %128 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %127, i32 noundef 2)
  %129 = fmul double %128, 5.000000e-01
  br label %130

130:                                              ; preds = %124, %126
  %131 = phi double [ %129, %126 ], [ 0.000000e+00, %124 ]
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef 3, double noundef %131)
          to label %132 unwind label %66

132:                                              ; preds = %130
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef 4, double noundef 1.000000e+00)
          to label %133 unwind label %66

133:                                              ; preds = %132
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef 5, double noundef 0.000000e+00)
          to label %.preheader213 unwind label %66

.preheader213:                                    ; preds = %133
  %134 = icmp ugt i64 %.0188255, 1
  br i1 %134, label %.lr.ph250, label %._crit_edge251

._crit_edge251:                                   ; preds = %172, %.preheader213
  %135 = add i64 %.1186, 1
  br label %174

.lr.ph250:                                        ; preds = %.preheader213, %172
  %.0184249 = phi i64 [ %173, %172 ], [ 1, %.preheader213 ]
  %136 = trunc nuw i64 %.0184249 to i32
  %137 = invoke double @MatNd_get(ptr noundef nonnull %1, i32 noundef %136, i32 noundef 0)
          to label %138 unwind label %.loopexit214

138:                                              ; preds = %.lr.ph250
  %139 = fcmp ult double %137, %31
  br i1 %139, label %149, label %140

140:                                              ; preds = %138
  invoke void @MatNd_printCommentDigits(ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef 5)
          to label %141 unwind label %.loopexit.split-lp215

141:                                              ; preds = %140
  %142 = load ptr, ptr @stderr, align 8, !tbaa !16
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %142, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_, i32 noundef 247) #9
  %144 = load ptr, ptr @stderr, align 8, !tbaa !16
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef nonnull @.str.3, i32 noundef %34, i32 noundef %136, double noundef %137, double noundef %31) #9
  %146 = load ptr, ptr @stderr, align 8, !tbaa !16
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef nonnull @.str.4) #9
  invoke void @print_trace()
          to label %148 unwind label %.loopexit.split-lp215

148:                                              ; preds = %141
  call void @exit(i32 noundef 1) #10
  unreachable

.loopexit214:                                     ; preds = %.lr.ph250, %153, %160, %166
  %lpad.loopexit216 = landingpad { ptr, i32 }
          cleanup
  br label %232

.loopexit.split-lp215:                            ; preds = %140, %141
  %lpad.loopexit.split-lp217 = landingpad { ptr, i32 }
          cleanup
  br label %232

149:                                              ; preds = %138
  %150 = add nsw i64 %.0184249, -1
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %150) #8
  %152 = load i32, ptr %151, align 4, !tbaa !17
  %.not205 = icmp eq i32 %152, -1
  br i1 %.not205, label %157, label %153

153:                                              ; preds = %149
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %150) #8
  %155 = load i32, ptr %154, align 4, !tbaa !17
  %156 = fsub double %31, %137
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef %155, double noundef %156)
          to label %157 unwind label %.loopexit214

157:                                              ; preds = %153, %149
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %150) #8
  %159 = load i32, ptr %158, align 4, !tbaa !17
  %.not206 = icmp eq i32 %159, -1
  br i1 %.not206, label %163, label %160

160:                                              ; preds = %157
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %150) #8
  %162 = load i32, ptr %161, align 4, !tbaa !17
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef %162, double noundef 0.000000e+00)
          to label %163 unwind label %.loopexit214

163:                                              ; preds = %160, %157
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %150) #8
  %165 = load i32, ptr %164, align 4, !tbaa !17
  %.not207 = icmp eq i32 %165, -1
  br i1 %.not207, label %172, label %166

166:                                              ; preds = %163
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %150) #8
  %168 = load i32, ptr %167, align 4, !tbaa !17
  %169 = fsub double %31, %137
  %170 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %169, i32 noundef 2)
  %171 = fmul double %170, 5.000000e-01
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %113, i32 noundef %168, double noundef %171)
          to label %172 unwind label %.loopexit214

172:                                              ; preds = %166, %163
  %173 = add nuw nsw i64 %.0184249, 1
  %exitcond291.not = icmp eq i64 %173, %.0188255
  br i1 %exitcond291.not, label %._crit_edge251, label %.lr.ph250, !llvm.loop !20

174:                                              ; preds = %._crit_edge251, %111
  %.2 = phi i64 [ %135, %._crit_edge251 ], [ %.1186, %111 ]
  %175 = invoke zeroext i1 @Math_isBitSet(i32 noundef %38, i32 noundef 2)
          to label %176 unwind label %66

176:                                              ; preds = %174
  br i1 %175, label %177, label %227

177:                                              ; preds = %176
  %178 = trunc i64 %.2 to i32
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef 0, double noundef 1.000000e+00)
          to label %179 unwind label %66

179:                                              ; preds = %177
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef 1, double noundef %31)
          to label %180 unwind label %66

180:                                              ; preds = %179
  %181 = fcmp ogt double %31, %19
  %182 = fsub double %31, %19
  %183 = select i1 %181, double %182, double 0.000000e+00
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef 2, double noundef %183)
          to label %184 unwind label %66

184:                                              ; preds = %180
  %185 = fcmp ogt double %31, %22
  %186 = fsub double %31, %22
  %187 = select i1 %185, double %186, double 0.000000e+00
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef 3, double noundef %187)
          to label %188 unwind label %66

188:                                              ; preds = %184
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef 4, double noundef 0.000000e+00)
          to label %189 unwind label %66

189:                                              ; preds = %188
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef 5, double noundef 0.000000e+00)
          to label %.preheader unwind label %66

.preheader:                                       ; preds = %189
  %190 = icmp ugt i64 %.0188255, 1
  br i1 %190, label %.lr.ph253, label %._crit_edge254

._crit_edge254:                                   ; preds = %225, %.preheader
  %191 = add i64 %.2, 1
  br label %227

.lr.ph253:                                        ; preds = %.preheader, %225
  %.0181252 = phi i64 [ %226, %225 ], [ 1, %.preheader ]
  %192 = trunc nuw i64 %.0181252 to i32
  %193 = invoke double @MatNd_get(ptr noundef nonnull %1, i32 noundef %192, i32 noundef 0)
          to label %194 unwind label %.loopexit

194:                                              ; preds = %.lr.ph253
  %195 = fcmp ult double %193, %31
  br i1 %195, label %205, label %196

196:                                              ; preds = %194
  invoke void @MatNd_printCommentDigits(ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef 5)
          to label %197 unwind label %.loopexit.split-lp

197:                                              ; preds = %196
  %198 = load ptr, ptr @stderr, align 8, !tbaa !16
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %198, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN3Rcs16ViaPointSequence15computeB_linAccEP6_MatNdPKS1_, i32 noundef 291) #9
  %200 = load ptr, ptr @stderr, align 8, !tbaa !16
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.3, i32 noundef %34, i32 noundef %192, double noundef %193, double noundef %31) #9
  %202 = load ptr, ptr @stderr, align 8, !tbaa !16
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef nonnull @.str.4) #9
  invoke void @print_trace()
          to label %204 unwind label %.loopexit.split-lp

204:                                              ; preds = %197
  call void @exit(i32 noundef 1) #10
  unreachable

.loopexit:                                        ; preds = %.lr.ph253, %209, %216, %222
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %232

.loopexit.split-lp:                               ; preds = %196, %197
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %232

205:                                              ; preds = %194
  %206 = add nsw i64 %.0181252, -1
  %207 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %206) #8
  %208 = load i32, ptr %207, align 4, !tbaa !17
  %.not = icmp eq i32 %208, -1
  br i1 %.not, label %213, label %209

209:                                              ; preds = %205
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %206) #8
  %211 = load i32, ptr %210, align 4, !tbaa !17
  %212 = fsub double %31, %193
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef %211, double noundef %212)
          to label %213 unwind label %.loopexit

213:                                              ; preds = %209, %205
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %206) #8
  %215 = load i32, ptr %214, align 4, !tbaa !17
  %.not203 = icmp eq i32 %215, -1
  br i1 %.not203, label %219, label %216

216:                                              ; preds = %213
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %206) #8
  %218 = load i32, ptr %217, align 4, !tbaa !17
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef %218, double noundef 0.000000e+00)
          to label %219 unwind label %.loopexit

219:                                              ; preds = %216, %213
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %206) #8
  %221 = load i32, ptr %220, align 4, !tbaa !17
  %.not204 = icmp eq i32 %221, -1
  br i1 %.not204, label %225, label %222

222:                                              ; preds = %219
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %206) #8
  %224 = load i32, ptr %223, align 4, !tbaa !17
  invoke void @MatNd_set(ptr noundef %0, i32 noundef %178, i32 noundef %224, double noundef 0.000000e+00)
          to label %225 unwind label %.loopexit

225:                                              ; preds = %222, %219
  %226 = add nuw nsw i64 %.0181252, 1
  %exitcond292.not = icmp eq i64 %226, %.0188255
  br i1 %exitcond292.not, label %._crit_edge254, label %.lr.ph253, !llvm.loop !21

227:                                              ; preds = %._crit_edge254, %176
  %.3 = phi i64 [ %191, %._crit_edge254 ], [ %.2, %176 ]
  %228 = add nuw nsw i64 %.0188255, 1
  %229 = load i32, ptr %10, align 8, !tbaa !15
  %230 = zext i32 %229 to i64
  %231 = icmp ult i64 %228, %230
  br i1 %231, label %.lr.ph258, label %._crit_edge259, !llvm.loop !22

232:                                              ; preds = %.loopexit, %.loopexit.split-lp, %.loopexit214, %.loopexit.split-lp215, %.loopexit220, %.loopexit.split-lp221, %66, %24
  %.pn.pn = phi { ptr, i32 } [ %25, %24 ], [ %67, %66 ], [ %lpad.loopexit222, %.loopexit220 ], [ %lpad.loopexit.split-lp223, %.loopexit.split-lp221 ], [ %lpad.loopexit216, %.loopexit214 ], [ %lpad.loopexit.split-lp217, %.loopexit.split-lp215 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23computeDependentIndicesPK6_MatNdRSt6vectorIiSaIiEES5_S5_(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare i64 @lround(double noundef) local_unnamed_addr #3

declare double @MatNd_get(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare zeroext i1 @Math_isBitSet(i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @MatNd_set(ptr noundef, i32 noundef, i32 noundef, double noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #5

declare void @MatNd_printCommentDigits(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

declare void @print_trace() local_unnamed_addr #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #7

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 #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 = { "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 = { inlinehint mustprogress 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 #6 = { nofree 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { cold nounwind }
attributes #10 = { 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, !7, i64 0}
!6 = !{!"_ZTS6_MatNd", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!6, !10, i64 12}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = !{!6, !10, i64 8}
!16 = !{!7, !7, i64 0}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass