; LLVM IR from LiJiangnanBit/path_optimizer :: src/tools/spline.ll (ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b)

; 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.PathOptimizationNS::tk::band_matrix" = type { %"class.std::vector", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.PathOptimizationNS::tk::spline" = type <{ %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", double, double, i32, i32, double, double, i8, [7 x i8] }>

@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b = external hidden unnamed_addr constant [112 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(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 noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18PathOptimizationNS2tk11band_matrix8lu_solveERKSt6vectorIdSaIdEEb(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b(ptr noundef nonnull align 8 dereferenceable(161) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.PathOptimizationNS::tk::band_matrix", align 8
  %12 = alloca %"class.std::vector.0", align 8
  %13 = alloca %"class.std::allocator.2", align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector.0", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %21 = zext i1 %3 to i8
  store i8 %21, ptr %8, align 1, !tbaa !9
  %22 = load ptr, ptr %5, align 8
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %27 = icmp eq i64 %24, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %4
  br label %31

29:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 163, ptr noundef @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #6
  unreachable

30:                                               ; No predecessors!
  br label %31

31:                                               ; preds = %30, %28
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #5
  %34 = icmp ugt i64 %33, 2
  br i1 %34, label %35, label %36

35:                                               ; preds = %31
  br label %38

36:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 164, ptr noundef @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #6
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %35
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 0
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %39)
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 1
  %44 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %42)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  %47 = trunc i64 %46 to i32
  store i32 %47, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %48

48:                                               ; preds = %71, %38
  %49 = load i32, ptr %10, align 4, !tbaa !11
  %50 = load i32, ptr %9, align 4, !tbaa !11
  %51 = sub nsw i32 %50, 1
  %52 = icmp slt i32 %49, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %74

54:                                               ; preds = %48
  %55 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 0
  %56 = load i32, ptr %10, align 4, !tbaa !11
  %57 = sext i32 %56 to i64
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %57) #5
  %59 = load double, ptr %58, align 8, !tbaa !13
  %60 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 0
  %61 = load i32, ptr %10, align 4, !tbaa !11
  %62 = add nsw i32 %61, 1
  %63 = sext i32 %62 to i64
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %63) #5
  %65 = load double, ptr %64, align 8, !tbaa !13
  %66 = fcmp olt double %59, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %54
  br label %70

68:                                               ; preds = %54
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 170, ptr noundef @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #6
  unreachable

69:                                               ; No predecessors!
  br label %70

70:                                               ; preds = %69, %67
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %10, align 4, !tbaa !11
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %10, align 4, !tbaa !11
  br label %48, !llvm.loop !15

74:                                               ; preds = %53
  %75 = load i8, ptr %8, align 1, !tbaa !9, !range !17, !noundef !18
  %76 = trunc i8 %75 to i1
  %77 = zext i1 %76 to i32
  %78 = icmp eq i32 %77, 1
  br i1 %78, label %79, label %493

79:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #5
  %80 = load i32, ptr %9, align 4, !tbaa !11
  call void @_ZN18PathOptimizationNS2tk11band_matrixC1Eiii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %80, i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  %81 = load i32, ptr %9, align 4, !tbaa !11
  %82 = sext i32 %81 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %82, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %83 unwind label %90

83:                                               ; preds = %79
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 1, ptr %16, align 4, !tbaa !11
  br label %84

84:                                               ; preds = %203, %83
  %85 = load i32, ptr %16, align 4, !tbaa !11
  %86 = load i32, ptr %9, align 4, !tbaa !11
  %87 = sub nsw i32 %86, 1
  %88 = icmp slt i32 %85, %87
  br i1 %88, label %94, label %89

89:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %210

90:                                               ; preds = %79
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %14, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  br label %492

94:                                               ; preds = %84
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = load i32, ptr %16, align 4, !tbaa !11
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %97) #5
  %99 = load double, ptr %98, align 8, !tbaa !13
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = load i32, ptr %16, align 4, !tbaa !11
  %102 = sub nsw i32 %101, 1
  %103 = sext i32 %102 to i64
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %103) #5
  %105 = load double, ptr %104, align 8, !tbaa !13
  %106 = fsub double %99, %105
  %107 = fmul double 0x3FD5555555555555, %106
  %108 = load i32, ptr %16, align 4, !tbaa !11
  %109 = load i32, ptr %16, align 4, !tbaa !11
  %110 = sub nsw i32 %109, 1
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %108, i32 noundef %110)
          to label %112 unwind label %206

112:                                              ; preds = %94
  store double %107, ptr %111, align 8, !tbaa !13
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load i32, ptr %16, align 4, !tbaa !11
  %115 = add nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %116) #5
  %118 = load double, ptr %117, align 8, !tbaa !13
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = load i32, ptr %16, align 4, !tbaa !11
  %121 = sub nsw i32 %120, 1
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef %122) #5
  %124 = load double, ptr %123, align 8, !tbaa !13
  %125 = fsub double %118, %124
  %126 = fmul double 0x3FE5555555555555, %125
  %127 = load i32, ptr %16, align 4, !tbaa !11
  %128 = load i32, ptr %16, align 4, !tbaa !11
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %127, i32 noundef %128)
          to label %130 unwind label %206

130:                                              ; preds = %112
  store double %126, ptr %129, align 8, !tbaa !13
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = load i32, ptr %16, align 4, !tbaa !11
  %133 = add nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef %134) #5
  %136 = load double, ptr %135, align 8, !tbaa !13
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = load i32, ptr %16, align 4, !tbaa !11
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %139) #5
  %141 = load double, ptr %140, align 8, !tbaa !13
  %142 = fsub double %136, %141
  %143 = fmul double 0x3FD5555555555555, %142
  %144 = load i32, ptr %16, align 4, !tbaa !11
  %145 = load i32, ptr %16, align 4, !tbaa !11
  %146 = add nsw i32 %145, 1
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %144, i32 noundef %146)
          to label %148 unwind label %206

148:                                              ; preds = %130
  store double %143, ptr %147, align 8, !tbaa !13
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = load i32, ptr %16, align 4, !tbaa !11
  %151 = add nsw i32 %150, 1
  %152 = sext i32 %151 to i64
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %152) #5
  %154 = load double, ptr %153, align 8, !tbaa !13
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = load i32, ptr %16, align 4, !tbaa !11
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %157) #5
  %159 = load double, ptr %158, align 8, !tbaa !13
  %160 = fsub double %154, %159
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = load i32, ptr %16, align 4, !tbaa !11
  %163 = add nsw i32 %162, 1
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %161, i64 noundef %164) #5
  %166 = load double, ptr %165, align 8, !tbaa !13
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = load i32, ptr %16, align 4, !tbaa !11
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %169) #5
  %171 = load double, ptr %170, align 8, !tbaa !13
  %172 = fsub double %166, %171
  %173 = fdiv double %160, %172
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = load i32, ptr %16, align 4, !tbaa !11
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %176) #5
  %178 = load double, ptr %177, align 8, !tbaa !13
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  %180 = load i32, ptr %16, align 4, !tbaa !11
  %181 = sub nsw i32 %180, 1
  %182 = sext i32 %181 to i64
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef %182) #5
  %184 = load double, ptr %183, align 8, !tbaa !13
  %185 = fsub double %178, %184
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = load i32, ptr %16, align 4, !tbaa !11
  %188 = sext i32 %187 to i64
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %188) #5
  %190 = load double, ptr %189, align 8, !tbaa !13
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = load i32, ptr %16, align 4, !tbaa !11
  %193 = sub nsw i32 %192, 1
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %194) #5
  %196 = load double, ptr %195, align 8, !tbaa !13
  %197 = fsub double %190, %196
  %198 = fdiv double %185, %197
  %199 = fsub double %173, %198
  %200 = load i32, ptr %16, align 4, !tbaa !11
  %201 = sext i32 %200 to i64
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %201) #5
  store double %199, ptr %202, align 8, !tbaa !13
  br label %203

203:                                              ; preds = %148
  %204 = load i32, ptr %16, align 4, !tbaa !11
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %16, align 4, !tbaa !11
  br label %84, !llvm.loop !19

206:                                              ; preds = %130, %112, %94
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %14, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %491

210:                                              ; preds = %89
  %211 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 7
  %212 = load i32, ptr %211, align 8, !tbaa !20
  %213 = icmp eq i32 %212, 2
  br i1 %213, label %214, label %226

214:                                              ; preds = %210
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef 0, i32 noundef 0)
          to label %216 unwind label %222

216:                                              ; preds = %214
  store double 2.000000e+00, ptr %215, align 8, !tbaa !13
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef 0, i32 noundef 1)
          to label %218 unwind label %222

218:                                              ; preds = %216
  store double 0.000000e+00, ptr %217, align 8, !tbaa !13
  %219 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 9
  %220 = load double, ptr %219, align 8, !tbaa !27
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #5
  store double %220, ptr %221, align 8, !tbaa !13
  br label %273

222:                                              ; preds = %385, %379, %320, %300, %283, %277, %240, %230, %216, %214
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %14, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %15, align 4
  br label %491

226:                                              ; preds = %210
  %227 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 7
  %228 = load i32, ptr %227, align 8, !tbaa !20
  %229 = icmp eq i32 %228, 1
  br i1 %229, label %230, label %271

230:                                              ; preds = %226
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef 1) #5
  %233 = load double, ptr %232, align 8, !tbaa !13
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %234, i64 noundef 0) #5
  %236 = load double, ptr %235, align 8, !tbaa !13
  %237 = fsub double %233, %236
  %238 = fmul double 2.000000e+00, %237
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef 0, i32 noundef 0)
          to label %240 unwind label %222

240:                                              ; preds = %230
  store double %238, ptr %239, align 8, !tbaa !13
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %241, i64 noundef 1) #5
  %243 = load double, ptr %242, align 8, !tbaa !13
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %244, i64 noundef 0) #5
  %246 = load double, ptr %245, align 8, !tbaa !13
  %247 = fsub double %243, %246
  %248 = fmul double 1.000000e+00, %247
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef 0, i32 noundef 1)
          to label %250 unwind label %222

250:                                              ; preds = %240
  store double %248, ptr %249, align 8, !tbaa !13
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef 1) #5
  %253 = load double, ptr %252, align 8, !tbaa !13
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef 0) #5
  %256 = load double, ptr %255, align 8, !tbaa !13
  %257 = fsub double %253, %256
  %258 = load ptr, ptr %6, align 8, !tbaa !5
  %259 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %258, i64 noundef 1) #5
  %260 = load double, ptr %259, align 8, !tbaa !13
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %261, i64 noundef 0) #5
  %263 = load double, ptr %262, align 8, !tbaa !13
  %264 = fsub double %260, %263
  %265 = fdiv double %257, %264
  %266 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 9
  %267 = load double, ptr %266, align 8, !tbaa !27
  %268 = fsub double %265, %267
  %269 = fmul double 3.000000e+00, %268
  %270 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #5
  store double %269, ptr %270, align 8, !tbaa !13
  br label %272

271:                                              ; preds = %226
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 197, ptr noundef @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #6
  unreachable

272:                                              ; preds = %250
  br label %273

273:                                              ; preds = %272, %218
  %274 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 8
  %275 = load i32, ptr %274, align 4, !tbaa !28
  %276 = icmp eq i32 %275, 2
  br i1 %276, label %277, label %296

277:                                              ; preds = %273
  %278 = load i32, ptr %9, align 4, !tbaa !11
  %279 = sub nsw i32 %278, 1
  %280 = load i32, ptr %9, align 4, !tbaa !11
  %281 = sub nsw i32 %280, 1
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %279, i32 noundef %281)
          to label %283 unwind label %222

283:                                              ; preds = %277
  store double 2.000000e+00, ptr %282, align 8, !tbaa !13
  %284 = load i32, ptr %9, align 4, !tbaa !11
  %285 = sub nsw i32 %284, 1
  %286 = load i32, ptr %9, align 4, !tbaa !11
  %287 = sub nsw i32 %286, 2
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %285, i32 noundef %287)
          to label %289 unwind label %222

289:                                              ; preds = %283
  store double 0.000000e+00, ptr %288, align 8, !tbaa !13
  %290 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 10
  %291 = load double, ptr %290, align 8, !tbaa !29
  %292 = load i32, ptr %9, align 4, !tbaa !11
  %293 = sub nsw i32 %292, 1
  %294 = sext i32 %293 to i64
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %294) #5
  store double %291, ptr %295, align 8, !tbaa !13
  br label %378

296:                                              ; preds = %273
  %297 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 8
  %298 = load i32, ptr %297, align 4, !tbaa !28
  %299 = icmp eq i32 %298, 1
  br i1 %299, label %300, label %376

300:                                              ; preds = %296
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = load i32, ptr %9, align 4, !tbaa !11
  %303 = sub nsw i32 %302, 1
  %304 = sext i32 %303 to i64
  %305 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %301, i64 noundef %304) #5
  %306 = load double, ptr %305, align 8, !tbaa !13
  %307 = load ptr, ptr %6, align 8, !tbaa !5
  %308 = load i32, ptr %9, align 4, !tbaa !11
  %309 = sub nsw i32 %308, 2
  %310 = sext i32 %309 to i64
  %311 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %307, i64 noundef %310) #5
  %312 = load double, ptr %311, align 8, !tbaa !13
  %313 = fsub double %306, %312
  %314 = fmul double 2.000000e+00, %313
  %315 = load i32, ptr %9, align 4, !tbaa !11
  %316 = sub nsw i32 %315, 1
  %317 = load i32, ptr %9, align 4, !tbaa !11
  %318 = sub nsw i32 %317, 1
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %316, i32 noundef %318)
          to label %320 unwind label %222

320:                                              ; preds = %300
  store double %314, ptr %319, align 8, !tbaa !13
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = load i32, ptr %9, align 4, !tbaa !11
  %323 = sub nsw i32 %322, 1
  %324 = sext i32 %323 to i64
  %325 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %321, i64 noundef %324) #5
  %326 = load double, ptr %325, align 8, !tbaa !13
  %327 = load ptr, ptr %6, align 8, !tbaa !5
  %328 = load i32, ptr %9, align 4, !tbaa !11
  %329 = sub nsw i32 %328, 2
  %330 = sext i32 %329 to i64
  %331 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %327, i64 noundef %330) #5
  %332 = load double, ptr %331, align 8, !tbaa !13
  %333 = fsub double %326, %332
  %334 = fmul double 1.000000e+00, %333
  %335 = load i32, ptr %9, align 4, !tbaa !11
  %336 = sub nsw i32 %335, 1
  %337 = load i32, ptr %9, align 4, !tbaa !11
  %338 = sub nsw i32 %337, 2
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %336, i32 noundef %338)
          to label %340 unwind label %222

340:                                              ; preds = %320
  store double %334, ptr %339, align 8, !tbaa !13
  %341 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 10
  %342 = load double, ptr %341, align 8, !tbaa !29
  %343 = load ptr, ptr %7, align 8, !tbaa !5
  %344 = load i32, ptr %9, align 4, !tbaa !11
  %345 = sub nsw i32 %344, 1
  %346 = sext i32 %345 to i64
  %347 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %343, i64 noundef %346) #5
  %348 = load double, ptr %347, align 8, !tbaa !13
  %349 = load ptr, ptr %7, align 8, !tbaa !5
  %350 = load i32, ptr %9, align 4, !tbaa !11
  %351 = sub nsw i32 %350, 2
  %352 = sext i32 %351 to i64
  %353 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %349, i64 noundef %352) #5
  %354 = load double, ptr %353, align 8, !tbaa !13
  %355 = fsub double %348, %354
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = load i32, ptr %9, align 4, !tbaa !11
  %358 = sub nsw i32 %357, 1
  %359 = sext i32 %358 to i64
  %360 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %356, i64 noundef %359) #5
  %361 = load double, ptr %360, align 8, !tbaa !13
  %362 = load ptr, ptr %6, align 8, !tbaa !5
  %363 = load i32, ptr %9, align 4, !tbaa !11
  %364 = sub nsw i32 %363, 2
  %365 = sext i32 %364 to i64
  %366 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %362, i64 noundef %365) #5
  %367 = load double, ptr %366, align 8, !tbaa !13
  %368 = fsub double %361, %367
  %369 = fdiv double %355, %368
  %370 = fsub double %342, %369
  %371 = fmul double 3.000000e+00, %370
  %372 = load i32, ptr %9, align 4, !tbaa !11
  %373 = sub nsw i32 %372, 1
  %374 = sext i32 %373 to i64
  %375 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %374) #5
  store double %371, ptr %375, align 8, !tbaa !13
  br label %377

376:                                              ; preds = %296
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 212, ptr noundef @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #6
  unreachable

377:                                              ; preds = %340
  br label %378

378:                                              ; preds = %377, %289
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #5
  invoke void @_ZN18PathOptimizationNS2tk11band_matrix8lu_solveERKSt6vectorIdSaIdEEb(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, i1 noundef zeroext false)
          to label %379 unwind label %396

379:                                              ; preds = %378
  %380 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %381 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %380, ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  %382 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 2
  %383 = load i32, ptr %9, align 4, !tbaa !11
  %384 = sext i32 %383 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %382, i64 noundef %384)
          to label %385 unwind label %222

385:                                              ; preds = %379
  %386 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 4
  %387 = load i32, ptr %9, align 4, !tbaa !11
  %388 = sext i32 %387 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %386, i64 noundef %388)
          to label %389 unwind label %222

389:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %390

390:                                              ; preds = %487, %389
  %391 = load i32, ptr %18, align 4, !tbaa !11
  %392 = load i32, ptr %9, align 4, !tbaa !11
  %393 = sub nsw i32 %392, 1
  %394 = icmp slt i32 %391, %393
  br i1 %394, label %400, label %395

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

396:                                              ; preds = %378
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %14, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  br label %491

400:                                              ; preds = %390
  %401 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %402 = load i32, ptr %18, align 4, !tbaa !11
  %403 = add nsw i32 %402, 1
  %404 = sext i32 %403 to i64
  %405 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %401, i64 noundef %404) #5
  %406 = load double, ptr %405, align 8, !tbaa !13
  %407 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %408 = load i32, ptr %18, align 4, !tbaa !11
  %409 = sext i32 %408 to i64
  %410 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %407, i64 noundef %409) #5
  %411 = load double, ptr %410, align 8, !tbaa !13
  %412 = fsub double %406, %411
  %413 = fmul double 0x3FD5555555555555, %412
  %414 = load ptr, ptr %6, align 8, !tbaa !5
  %415 = load i32, ptr %18, align 4, !tbaa !11
  %416 = add nsw i32 %415, 1
  %417 = sext i32 %416 to i64
  %418 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %414, i64 noundef %417) #5
  %419 = load double, ptr %418, align 8, !tbaa !13
  %420 = load ptr, ptr %6, align 8, !tbaa !5
  %421 = load i32, ptr %18, align 4, !tbaa !11
  %422 = sext i32 %421 to i64
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %420, i64 noundef %422) #5
  %424 = load double, ptr %423, align 8, !tbaa !13
  %425 = fsub double %419, %424
  %426 = fdiv double %413, %425
  %427 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 2
  %428 = load i32, ptr %18, align 4, !tbaa !11
  %429 = sext i32 %428 to i64
  %430 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %427, i64 noundef %429) #5
  store double %426, ptr %430, align 8, !tbaa !13
  %431 = load ptr, ptr %7, align 8, !tbaa !5
  %432 = load i32, ptr %18, align 4, !tbaa !11
  %433 = add nsw i32 %432, 1
  %434 = sext i32 %433 to i64
  %435 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %431, i64 noundef %434) #5
  %436 = load double, ptr %435, align 8, !tbaa !13
  %437 = load ptr, ptr %7, align 8, !tbaa !5
  %438 = load i32, ptr %18, align 4, !tbaa !11
  %439 = sext i32 %438 to i64
  %440 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %437, i64 noundef %439) #5
  %441 = load double, ptr %440, align 8, !tbaa !13
  %442 = fsub double %436, %441
  %443 = load ptr, ptr %6, align 8, !tbaa !5
  %444 = load i32, ptr %18, align 4, !tbaa !11
  %445 = add nsw i32 %444, 1
  %446 = sext i32 %445 to i64
  %447 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %443, i64 noundef %446) #5
  %448 = load double, ptr %447, align 8, !tbaa !13
  %449 = load ptr, ptr %6, align 8, !tbaa !5
  %450 = load i32, ptr %18, align 4, !tbaa !11
  %451 = sext i32 %450 to i64
  %452 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %449, i64 noundef %451) #5
  %453 = load double, ptr %452, align 8, !tbaa !13
  %454 = fsub double %448, %453
  %455 = fdiv double %442, %454
  %456 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %457 = load i32, ptr %18, align 4, !tbaa !11
  %458 = sext i32 %457 to i64
  %459 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %456, i64 noundef %458) #5
  %460 = load double, ptr %459, align 8, !tbaa !13
  %461 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %462 = load i32, ptr %18, align 4, !tbaa !11
  %463 = add nsw i32 %462, 1
  %464 = sext i32 %463 to i64
  %465 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %461, i64 noundef %464) #5
  %466 = load double, ptr %465, align 8, !tbaa !13
  %467 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %460, double %466)
  %468 = fmul double 0x3FD5555555555555, %467
  %469 = load ptr, ptr %6, align 8, !tbaa !5
  %470 = load i32, ptr %18, align 4, !tbaa !11
  %471 = add nsw i32 %470, 1
  %472 = sext i32 %471 to i64
  %473 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %469, i64 noundef %472) #5
  %474 = load double, ptr %473, align 8, !tbaa !13
  %475 = load ptr, ptr %6, align 8, !tbaa !5
  %476 = load i32, ptr %18, align 4, !tbaa !11
  %477 = sext i32 %476 to i64
  %478 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %475, i64 noundef %477) #5
  %479 = load double, ptr %478, align 8, !tbaa !13
  %480 = fsub double %474, %479
  %481 = fneg double %468
  %482 = call double @llvm.fmuladd.f64(double %481, double %480, double %455)
  %483 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 4
  %484 = load i32, ptr %18, align 4, !tbaa !11
  %485 = sext i32 %484 to i64
  %486 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %483, i64 noundef %485) #5
  store double %482, ptr %486, align 8, !tbaa !13
  br label %487

487:                                              ; preds = %400
  %488 = load i32, ptr %18, align 4, !tbaa !11
  %489 = add nsw i32 %488, 1
  store i32 %489, ptr %18, align 4, !tbaa !11
  br label %390, !llvm.loop !30

490:                                              ; preds = %395
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @_ZN18PathOptimizationNS2tk11band_matrixD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  br label %551

491:                                              ; preds = %396, %222, %206
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %492

492:                                              ; preds = %491, %90
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @_ZN18PathOptimizationNS2tk11band_matrixD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %631

493:                                              ; preds = %74
  %494 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 2
  %495 = load i32, ptr %9, align 4, !tbaa !11
  %496 = sext i32 %495 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %494, i64 noundef %496)
  %497 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %498 = load i32, ptr %9, align 4, !tbaa !11
  %499 = sext i32 %498 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %497, i64 noundef %499)
  %500 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 4
  %501 = load i32, ptr %9, align 4, !tbaa !11
  %502 = sext i32 %501 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %500, i64 noundef %502)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !11
  br label %503

503:                                              ; preds = %547, %493
  %504 = load i32, ptr %19, align 4, !tbaa !11
  %505 = load i32, ptr %9, align 4, !tbaa !11
  %506 = sub nsw i32 %505, 1
  %507 = icmp slt i32 %504, %506
  br i1 %507, label %509, label %508

508:                                              ; preds = %503
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %550

509:                                              ; preds = %503
  %510 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 2
  %511 = load i32, ptr %19, align 4, !tbaa !11
  %512 = sext i32 %511 to i64
  %513 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %510, i64 noundef %512) #5
  store double 0.000000e+00, ptr %513, align 8, !tbaa !13
  %514 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %515 = load i32, ptr %19, align 4, !tbaa !11
  %516 = sext i32 %515 to i64
  %517 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %514, i64 noundef %516) #5
  store double 0.000000e+00, ptr %517, align 8, !tbaa !13
  %518 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 1
  %519 = load i32, ptr %19, align 4, !tbaa !11
  %520 = add nsw i32 %519, 1
  %521 = sext i32 %520 to i64
  %522 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %518, i64 noundef %521) #5
  %523 = load double, ptr %522, align 8, !tbaa !13
  %524 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 1
  %525 = load i32, ptr %19, align 4, !tbaa !11
  %526 = sext i32 %525 to i64
  %527 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %524, i64 noundef %526) #5
  %528 = load double, ptr %527, align 8, !tbaa !13
  %529 = fsub double %523, %528
  %530 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 0
  %531 = load i32, ptr %19, align 4, !tbaa !11
  %532 = add nsw i32 %531, 1
  %533 = sext i32 %532 to i64
  %534 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %530, i64 noundef %533) #5
  %535 = load double, ptr %534, align 8, !tbaa !13
  %536 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 0
  %537 = load i32, ptr %19, align 4, !tbaa !11
  %538 = sext i32 %537 to i64
  %539 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %536, i64 noundef %538) #5
  %540 = load double, ptr %539, align 8, !tbaa !13
  %541 = fsub double %535, %540
  %542 = fdiv double %529, %541
  %543 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 4
  %544 = load i32, ptr %19, align 4, !tbaa !11
  %545 = sext i32 %544 to i64
  %546 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %543, i64 noundef %545) #5
  store double %542, ptr %546, align 8, !tbaa !13
  br label %547

547:                                              ; preds = %509
  %548 = load i32, ptr %19, align 4, !tbaa !11
  %549 = add nsw i32 %548, 1
  store i32 %549, ptr %19, align 4, !tbaa !11
  br label %503, !llvm.loop !31

550:                                              ; preds = %508
  br label %551

551:                                              ; preds = %550, %490
  %552 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 11
  %553 = load i8, ptr %552, align 8, !tbaa !32, !range !17, !noundef !18
  %554 = trunc i8 %553 to i1
  %555 = zext i1 %554 to i32
  %556 = icmp eq i32 %555, 0
  br i1 %556, label %557, label %561

557:                                              ; preds = %551
  %558 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %559 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %558, i64 noundef 0) #5
  %560 = load double, ptr %559, align 8, !tbaa !13
  br label %562

561:                                              ; preds = %551
  br label %562

562:                                              ; preds = %561, %557
  %563 = phi double [ %560, %557 ], [ 0.000000e+00, %561 ]
  %564 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 5
  store double %563, ptr %564, align 8, !tbaa !33
  %565 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 4
  %566 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %565, i64 noundef 0) #5
  %567 = load double, ptr %566, align 8, !tbaa !13
  %568 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 6
  store double %567, ptr %568, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %569 = load ptr, ptr %6, align 8, !tbaa !5
  %570 = load i32, ptr %9, align 4, !tbaa !11
  %571 = sub nsw i32 %570, 1
  %572 = sext i32 %571 to i64
  %573 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %569, i64 noundef %572) #5
  %574 = load double, ptr %573, align 8, !tbaa !13
  %575 = load ptr, ptr %6, align 8, !tbaa !5
  %576 = load i32, ptr %9, align 4, !tbaa !11
  %577 = sub nsw i32 %576, 2
  %578 = sext i32 %577 to i64
  %579 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %575, i64 noundef %578) #5
  %580 = load double, ptr %579, align 8, !tbaa !13
  %581 = fsub double %574, %580
  store double %581, ptr %20, align 8, !tbaa !13
  %582 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 2
  %583 = load i32, ptr %9, align 4, !tbaa !11
  %584 = sub nsw i32 %583, 1
  %585 = sext i32 %584 to i64
  %586 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %582, i64 noundef %585) #5
  store double 0.000000e+00, ptr %586, align 8, !tbaa !13
  %587 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 2
  %588 = load i32, ptr %9, align 4, !tbaa !11
  %589 = sub nsw i32 %588, 2
  %590 = sext i32 %589 to i64
  %591 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %587, i64 noundef %590) #5
  %592 = load double, ptr %591, align 8, !tbaa !13
  %593 = fmul double 3.000000e+00, %592
  %594 = load double, ptr %20, align 8, !tbaa !13
  %595 = fmul double %593, %594
  %596 = load double, ptr %20, align 8, !tbaa !13
  %597 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %598 = load i32, ptr %9, align 4, !tbaa !11
  %599 = sub nsw i32 %598, 2
  %600 = sext i32 %599 to i64
  %601 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %597, i64 noundef %600) #5
  %602 = load double, ptr %601, align 8, !tbaa !13
  %603 = fmul double 2.000000e+00, %602
  %604 = load double, ptr %20, align 8, !tbaa !13
  %605 = fmul double %603, %604
  %606 = call double @llvm.fmuladd.f64(double %595, double %596, double %605)
  %607 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 4
  %608 = load i32, ptr %9, align 4, !tbaa !11
  %609 = sub nsw i32 %608, 2
  %610 = sext i32 %609 to i64
  %611 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %607, i64 noundef %610) #5
  %612 = load double, ptr %611, align 8, !tbaa !13
  %613 = fadd double %606, %612
  %614 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 4
  %615 = load i32, ptr %9, align 4, !tbaa !11
  %616 = sub nsw i32 %615, 1
  %617 = sext i32 %616 to i64
  %618 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %614, i64 noundef %617) #5
  store double %613, ptr %618, align 8, !tbaa !13
  %619 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 11
  %620 = load i8, ptr %619, align 8, !tbaa !32, !range !17, !noundef !18
  %621 = trunc i8 %620 to i1
  %622 = zext i1 %621 to i32
  %623 = icmp eq i32 %622, 1
  br i1 %623, label %624, label %630

624:                                              ; preds = %562
  %625 = getelementptr inbounds %"class.PathOptimizationNS::tk::spline", ptr %22, i32 0, i32 3
  %626 = load i32, ptr %9, align 4, !tbaa !11
  %627 = sub nsw i32 %626, 1
  %628 = sext i32 %627 to i64
  %629 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %625, i64 noundef %628) #5
  store double 0.000000e+00, ptr %629, align 8, !tbaa !13
  br label %630

630:                                              ; preds = %624, %562
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void

631:                                              ; preds = %492
  %632 = load ptr, ptr %14, align 8
  %633 = load i32, ptr %15, align 4
  %634 = insertvalue { ptr, i32 } poison, ptr %632, 0
  %635 = insertvalue { ptr, i32 } %634, i32 %633, 1
  resume { ptr, i32 } %635
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare void @_ZN18PathOptimizationNS2tk11band_matrixC1Eiii(ptr, i32, i32, i32)

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !16}
!20 = !{!21, !26, i64 136}
!21 = !{!"_ZTSN18PathOptimizationNS2tk6splineE", !22, i64 0, !22, i64 24, !22, i64 48, !22, i64 72, !22, i64 96, !14, i64 120, !14, i64 128, !26, i64 136, !26, i64 140, !14, i64 144, !14, i64 152, !10, i64 160}
!22 = !{!"_ZTSSt6vectorIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSN18PathOptimizationNS2tk6spline7bd_typeE", !7, i64 0}
!27 = !{!21, !14, i64 144}
!28 = !{!21, !26, i64 140}
!29 = !{!21, !14, i64 152}
!30 = distinct !{!30, !16}
!31 = distinct !{!31, !16}
!32 = !{!21, !10, i64 160}
!33 = !{!21, !14, i64 120}
!34 = !{!21, !14, i64 128}


; 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.PathOptimizationNS::tk::band_matrix" = type { %"class.std::vector", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }

@.str.1 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b = external hidden unnamed_addr constant [112 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [6 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(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 noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18PathOptimizationNS2tk11band_matrix8lu_solveERKSt6vectorIdSaIdEEb(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b(ptr noundef nonnull align 8 dereferenceable(161) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.PathOptimizationNS::tk::band_matrix", align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca %"class.std::allocator.2", align 1
  %8 = alloca %"class.std::vector.0", align 8
  %9 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %10 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %11 = icmp eq i64 %9, %10
  br i1 %11, label %13, label %12

12:                                               ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 163, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #7
  unreachable

13:                                               ; preds = %4
  %14 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %15 = icmp ugt i64 %14, 2
  br i1 %15, label %17, label %16

16:                                               ; preds = %13
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 164, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #7
  unreachable

17:                                               ; preds = %13
  %18 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1)
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %2)
  %21 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %22 = trunc i64 %21 to i32
  %23 = add nsw i32 %22, -1
  %smax = tail call i32 @llvm.smax.i32(i32 %23, i32 0)
  %wide.trip.count = zext nneg i32 %smax to i64
  br label %24

24:                                               ; preds = %26, %17
  %indvars.iv = phi i64 [ %indvars.iv.next, %26 ], [ 0, %17 ]
  %exitcond.not = icmp eq i64 %indvars.iv, %wide.trip.count
  br i1 %exitcond.not, label %25, label %26

25:                                               ; preds = %24
  br i1 %3, label %33, label %238

26:                                               ; preds = %24
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #6
  %28 = load double, ptr %27, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv.next) #6
  %30 = load double, ptr %29, align 8, !tbaa !5
  %31 = fcmp olt double %28, %30
  br i1 %31, label %24, label %32, !llvm.loop !9

32:                                               ; preds = %26
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 170, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #7
  unreachable

33:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #6
  call void @_ZN18PathOptimizationNS2tk11band_matrixC1Eiii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %22, i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  %sext150 = shl i64 %21, 32
  %34 = ashr exact i64 %sext150, 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %34, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %35 unwind label %39

35:                                               ; preds = %33
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  %36 = icmp sgt i32 %22, 2
  br i1 %36, label %.lr.ph157.preheader, label %._crit_edge

.lr.ph157.preheader:                              ; preds = %35
  %wide.trip.count170 = zext nneg i32 %23 to i64
  br label %.lr.ph157

._crit_edge:                                      ; preds = %64, %35
  %37 = getelementptr inbounds i8, ptr %0, i64 136
  %38 = load i32, ptr %37, align 8, !tbaa !11
  switch i32 %38, label %139 [
    i32 2, label %99
    i32 1, label %108
  ]

39:                                               ; preds = %33
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %237

.lr.ph157:                                        ; preds = %.lr.ph157.preheader, %64
  %indvars.iv167 = phi i64 [ 1, %.lr.ph157.preheader ], [ %indvars.iv.next168, %64 ]
  %indvars169 = trunc i64 %indvars.iv167 to i32
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv167) #6
  %42 = load double, ptr %41, align 8, !tbaa !5
  %43 = add nsw i64 %indvars.iv167, -1
  %44 = add nsw i32 %indvars169, -1
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %43) #6
  %46 = load double, ptr %45, align 8, !tbaa !5
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %indvars169, i32 noundef %44)
          to label %48 unwind label %97

48:                                               ; preds = %.lr.ph157
  %49 = fsub double %42, %46
  %50 = fmul double %49, 0x3FD5555555555555
  store double %50, ptr %47, align 8, !tbaa !5
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next168) #6
  %52 = load double, ptr %51, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %43) #6
  %54 = load double, ptr %53, align 8, !tbaa !5
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %indvars169, i32 noundef %indvars169)
          to label %56 unwind label %97

56:                                               ; preds = %48
  %indvars = trunc i64 %indvars.iv.next168 to i32
  %57 = fsub double %52, %54
  %58 = fmul double %57, 0x3FE5555555555555
  store double %58, ptr %55, align 8, !tbaa !5
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next168) #6
  %60 = load double, ptr %59, align 8, !tbaa !5
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv167) #6
  %62 = load double, ptr %61, align 8, !tbaa !5
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %indvars169, i32 noundef %indvars)
          to label %64 unwind label %97

64:                                               ; preds = %56
  %65 = fsub double %60, %62
  %66 = fmul double %65, 0x3FD5555555555555
  store double %66, ptr %63, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv.next168) #6
  %68 = load double, ptr %67, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv167) #6
  %70 = load double, ptr %69, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next168) #6
  %72 = load double, ptr %71, align 8, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv167) #6
  %74 = load double, ptr %73, align 8, !tbaa !5
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv167) #6
  %76 = load double, ptr %75, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %43) #6
  %78 = load double, ptr %77, align 8, !tbaa !5
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv167) #6
  %80 = load double, ptr %79, align 8, !tbaa !5
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %43) #6
  %82 = load double, ptr %81, align 8, !tbaa !5
  %83 = insertelement <2 x double> poison, double %68, i64 0
  %84 = insertelement <2 x double> %83, double %76, i64 1
  %85 = insertelement <2 x double> poison, double %70, i64 0
  %86 = insertelement <2 x double> %85, double %78, i64 1
  %87 = fsub <2 x double> %84, %86
  %88 = insertelement <2 x double> poison, double %72, i64 0
  %89 = insertelement <2 x double> %88, double %80, i64 1
  %90 = insertelement <2 x double> poison, double %74, i64 0
  %91 = insertelement <2 x double> %90, double %82, i64 1
  %92 = fsub <2 x double> %89, %91
  %93 = fdiv <2 x double> %87, %92
  %shift = shufflevector <2 x double> %93, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %94 = fsub <2 x double> %93, %shift
  %95 = extractelement <2 x double> %94, i64 0
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv167) #6
  store double %95, ptr %96, align 8, !tbaa !5
  %exitcond171.not = icmp eq i64 %indvars.iv.next168, %wide.trip.count170
  br i1 %exitcond171.not, label %._crit_edge, label %.lr.ph157, !llvm.loop !20

97:                                               ; preds = %56, %48, %.lr.ph157
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %236

99:                                               ; preds = %._crit_edge
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef 0, i32 noundef 0)
          to label %101 unwind label %106

101:                                              ; preds = %99
  store double 2.000000e+00, ptr %100, align 8, !tbaa !5
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef 0, i32 noundef 1)
          to label %103 unwind label %106

103:                                              ; preds = %101
  store double 0.000000e+00, ptr %102, align 8, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %0, i64 144
  %105 = load double, ptr %104, align 8, !tbaa !21
  br label %140

106:                                              ; preds = %194, %190, %162, %153, %146, %144, %114, %108, %101, %99
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %236

108:                                              ; preds = %._crit_edge
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1) #6
  %110 = load double, ptr %109, align 8, !tbaa !5
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %112 = load double, ptr %111, align 8, !tbaa !5
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef 0, i32 noundef 0)
          to label %114 unwind label %106

114:                                              ; preds = %108
  %115 = fsub double %110, %112
  %116 = fmul double %115, 2.000000e+00
  store double %116, ptr %113, align 8, !tbaa !5
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1) #6
  %118 = load double, ptr %117, align 8, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %120 = load double, ptr %119, align 8, !tbaa !5
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef 0, i32 noundef 1)
          to label %122 unwind label %106

122:                                              ; preds = %114
  %123 = fsub double %118, %120
  store double %123, ptr %121, align 8, !tbaa !5
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 1) #6
  %125 = load double, ptr %124, align 8, !tbaa !5
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #6
  %127 = load double, ptr %126, align 8, !tbaa !5
  %128 = fsub double %125, %127
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 1) #6
  %130 = load double, ptr %129, align 8, !tbaa !5
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %132 = load double, ptr %131, align 8, !tbaa !5
  %133 = fsub double %130, %132
  %134 = fdiv double %128, %133
  %135 = getelementptr inbounds i8, ptr %0, i64 144
  %136 = load double, ptr %135, align 8, !tbaa !21
  %137 = fsub double %134, %136
  %138 = fmul double %137, 3.000000e+00
  br label %140

139:                                              ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 197, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #7
  unreachable

140:                                              ; preds = %122, %103
  %.sink = phi double [ %138, %122 ], [ %105, %103 ]
  %141 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #6
  store double %.sink, ptr %141, align 8, !tbaa !5
  %142 = getelementptr inbounds i8, ptr %0, i64 140
  %143 = load i32, ptr %142, align 4, !tbaa !22
  switch i32 %143, label %187 [
    i32 2, label %144
    i32 1, label %153
  ]

144:                                              ; preds = %140
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %23, i32 noundef %23)
          to label %146 unwind label %106

146:                                              ; preds = %144
  store double 2.000000e+00, ptr %145, align 8, !tbaa !5
  %147 = add nsw i32 %22, -2
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %23, i32 noundef %147)
          to label %149 unwind label %106

149:                                              ; preds = %146
  store double 0.000000e+00, ptr %148, align 8, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %0, i64 152
  %151 = load double, ptr %150, align 8, !tbaa !23
  %152 = sext i32 %23 to i64
  br label %188

153:                                              ; preds = %140
  %154 = sext i32 %23 to i64
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %154) #6
  %156 = load double, ptr %155, align 8, !tbaa !5
  %157 = add nsw i32 %22, -2
  %158 = sext i32 %157 to i64
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %158) #6
  %160 = load double, ptr %159, align 8, !tbaa !5
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %23, i32 noundef %23)
          to label %162 unwind label %106

162:                                              ; preds = %153
  %163 = fsub double %156, %160
  %164 = fmul double %163, 2.000000e+00
  store double %164, ptr %161, align 8, !tbaa !5
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %154) #6
  %166 = load double, ptr %165, align 8, !tbaa !5
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %158) #6
  %168 = load double, ptr %167, align 8, !tbaa !5
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN18PathOptimizationNS2tk11band_matrixclEii(ptr noundef nonnull align 8 dereferenceable(48) %5, i32 noundef %23, i32 noundef %157)
          to label %170 unwind label %106

170:                                              ; preds = %162
  %171 = fsub double %166, %168
  store double %171, ptr %169, align 8, !tbaa !5
  %172 = getelementptr inbounds i8, ptr %0, i64 152
  %173 = load double, ptr %172, align 8, !tbaa !23
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %154) #6
  %175 = load double, ptr %174, align 8, !tbaa !5
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %158) #6
  %177 = load double, ptr %176, align 8, !tbaa !5
  %178 = fsub double %175, %177
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %154) #6
  %180 = load double, ptr %179, align 8, !tbaa !5
  %181 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %158) #6
  %182 = load double, ptr %181, align 8, !tbaa !5
  %183 = fsub double %180, %182
  %184 = fdiv double %178, %183
  %185 = fsub double %173, %184
  %186 = fmul double %185, 3.000000e+00
  br label %188

187:                                              ; preds = %140
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 212, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN18PathOptimizationNS2tk6spline10set_pointsERKSt6vectorIdSaIdEES6_b) #7
  unreachable

188:                                              ; preds = %170, %149
  %.sink181 = phi i64 [ %154, %170 ], [ %152, %149 ]
  %.sink179 = phi double [ %186, %170 ], [ %151, %149 ]
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.sink181) #6
  store double %.sink179, ptr %189, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  invoke void @_ZN18PathOptimizationNS2tk11band_matrix8lu_solveERKSt6vectorIdSaIdEEb(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %8, ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, i1 noundef zeroext false)
          to label %190 unwind label %197

190:                                              ; preds = %188
  %191 = getelementptr inbounds i8, ptr %0, i64 72
  %192 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %191, ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  %193 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %34)
          to label %194 unwind label %106

194:                                              ; preds = %190
  %195 = getelementptr inbounds i8, ptr %0, i64 96
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %195, i64 noundef %34)
          to label %.preheader unwind label %106

.preheader:                                       ; preds = %194
  %196 = icmp sgt i32 %22, 1
  br i1 %196, label %.lr.ph159.preheader, label %._crit_edge160

.lr.ph159.preheader:                              ; preds = %.preheader
  %wide.trip.count176 = zext nneg i32 %23 to i64
  br label %.lr.ph159

._crit_edge160:                                   ; preds = %.lr.ph159, %.preheader
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN18PathOptimizationNS2tk11band_matrixD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  br label %.loopexit

197:                                              ; preds = %188
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %236

.lr.ph159:                                        ; preds = %.lr.ph159.preheader, %.lr.ph159
  %indvars.iv172 = phi i64 [ 0, %.lr.ph159.preheader ], [ %indvars.iv.next173, %.lr.ph159 ]
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %indvars.iv.next173) #6
  %200 = load double, ptr %199, align 8, !tbaa !5
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %indvars.iv172) #6
  %202 = load double, ptr %201, align 8, !tbaa !5
  %203 = fsub double %200, %202
  %204 = fmul double %203, 0x3FD5555555555555
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next173) #6
  %206 = load double, ptr %205, align 8, !tbaa !5
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv172) #6
  %208 = load double, ptr %207, align 8, !tbaa !5
  %209 = fsub double %206, %208
  %210 = fdiv double %204, %209
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %indvars.iv172) #6
  store double %210, ptr %211, align 8, !tbaa !5
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv.next173) #6
  %213 = load double, ptr %212, align 8, !tbaa !5
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv172) #6
  %215 = load double, ptr %214, align 8, !tbaa !5
  %216 = fsub double %213, %215
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next173) #6
  %218 = load double, ptr %217, align 8, !tbaa !5
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv172) #6
  %220 = load double, ptr %219, align 8, !tbaa !5
  %221 = fsub double %218, %220
  %222 = fdiv double %216, %221
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %indvars.iv172) #6
  %224 = load double, ptr %223, align 8, !tbaa !5
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %indvars.iv.next173) #6
  %226 = load double, ptr %225, align 8, !tbaa !5
  %227 = call double @llvm.fmuladd.f64(double %224, double 2.000000e+00, double %226)
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next173) #6
  %229 = load double, ptr %228, align 8, !tbaa !5
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv172) #6
  %231 = load double, ptr %230, align 8, !tbaa !5
  %232 = fsub double %229, %231
  %233 = fmul double %227, 0xBFD5555555555555
  %234 = call double @llvm.fmuladd.f64(double %233, double %232, double %222)
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %195, i64 noundef %indvars.iv172) #6
  store double %234, ptr %235, align 8, !tbaa !5
  %exitcond177.not = icmp eq i64 %indvars.iv.next173, %wide.trip.count176
  br i1 %exitcond177.not, label %._crit_edge160, label %.lr.ph159, !llvm.loop !24

236:                                              ; preds = %197, %106, %97
  %.pn = phi { ptr, i32 } [ %98, %97 ], [ %107, %106 ], [ %198, %197 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %237

237:                                              ; preds = %236, %39
  %.pn.pn = phi { ptr, i32 } [ %.pn, %236 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN18PathOptimizationNS2tk11band_matrixD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn.pn

238:                                              ; preds = %25
  %239 = getelementptr inbounds i8, ptr %0, i64 48
  %sext = shl i64 %21, 32
  %240 = ashr exact i64 %sext, 32
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef %240)
  %241 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %241, i64 noundef %240)
  %242 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %240)
  %243 = icmp sgt i32 %22, 1
  br i1 %243, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %238
  %wide.trip.count165 = zext nneg i32 %23 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv162 = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next163, %.lr.ph ]
  %244 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef %indvars.iv162) #6
  store double 0.000000e+00, ptr %244, align 8, !tbaa !5
  %245 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %241, i64 noundef %indvars.iv162) #6
  store double 0.000000e+00, ptr %245, align 8, !tbaa !5
  %indvars.iv.next163 = add nuw nsw i64 %indvars.iv162, 1
  %246 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv.next163) #6
  %247 = load double, ptr %246, align 8, !tbaa !5
  %248 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %indvars.iv162) #6
  %249 = load double, ptr %248, align 8, !tbaa !5
  %250 = fsub double %247, %249
  %251 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv.next163) #6
  %252 = load double, ptr %251, align 8, !tbaa !5
  %253 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv162) #6
  %254 = load double, ptr %253, align 8, !tbaa !5
  %255 = fsub double %252, %254
  %256 = fdiv double %250, %255
  %257 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %indvars.iv162) #6
  store double %256, ptr %257, align 8, !tbaa !5
  %exitcond166.not = icmp eq i64 %indvars.iv.next163, %wide.trip.count165
  br i1 %exitcond166.not, label %.loopexit, label %.lr.ph, !llvm.loop !25

.loopexit:                                        ; preds = %.lr.ph, %238, %._crit_edge160
  %258 = getelementptr inbounds i8, ptr %0, i64 160
  %259 = load i8, ptr %258, align 8, !tbaa !26, !range !27, !noundef !28
  %260 = icmp eq i8 %259, 0
  br i1 %260, label %261, label %265

261:                                              ; preds = %.loopexit
  %262 = getelementptr inbounds i8, ptr %0, i64 72
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %262, i64 noundef 0) #6
  %264 = load double, ptr %263, align 8, !tbaa !5
  br label %265

265:                                              ; preds = %.loopexit, %261
  %266 = phi double [ %264, %261 ], [ 0.000000e+00, %.loopexit ]
  %267 = getelementptr inbounds i8, ptr %0, i64 120
  store double %266, ptr %267, align 8, !tbaa !29
  %268 = getelementptr inbounds i8, ptr %0, i64 96
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef 0) #6
  %270 = load double, ptr %269, align 8, !tbaa !5
  %271 = getelementptr inbounds i8, ptr %0, i64 128
  store double %270, ptr %271, align 8, !tbaa !30
  %272 = sext i32 %23 to i64
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %272) #6
  %274 = load double, ptr %273, align 8, !tbaa !5
  %275 = shl i64 %21, 32
  %sext151 = add i64 %275, -8589934592
  %276 = ashr exact i64 %sext151, 32
  %277 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %276) #6
  %278 = load double, ptr %277, align 8, !tbaa !5
  %279 = fsub double %274, %278
  %280 = getelementptr inbounds i8, ptr %0, i64 48
  %281 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %280, i64 noundef %272) #6
  store double 0.000000e+00, ptr %281, align 8, !tbaa !5
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %280, i64 noundef %276) #6
  %283 = load double, ptr %282, align 8, !tbaa !5
  %284 = fmul double %283, 3.000000e+00
  %285 = fmul double %279, %284
  %286 = getelementptr inbounds i8, ptr %0, i64 72
  %287 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %286, i64 noundef %276) #6
  %288 = load double, ptr %287, align 8, !tbaa !5
  %289 = fmul double %288, 2.000000e+00
  %290 = fmul double %279, %289
  %291 = call double @llvm.fmuladd.f64(double %285, double %279, double %290)
  %292 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef %276) #6
  %293 = load double, ptr %292, align 8, !tbaa !5
  %294 = fadd double %293, %291
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %268, i64 noundef %272) #6
  store double %294, ptr %295, align 8, !tbaa !5
  %296 = load i8, ptr %258, align 8, !tbaa !26, !range !27, !noundef !28
  %297 = trunc nuw i8 %296 to i1
  br i1 %297, label %298, label %300

298:                                              ; preds = %265
  %299 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %286, i64 noundef %272) #6
  store double 0.000000e+00, ptr %299, align 8, !tbaa !5
  br label %300

300:                                              ; preds = %298, %265
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare void @_ZN18PathOptimizationNS2tk11band_matrixC1Eiii(ptr, i32, i32, i32) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !18, i64 136}
!12 = !{!"_ZTSN18PathOptimizationNS2tk6splineE", !13, i64 0, !13, i64 24, !13, i64 48, !13, i64 72, !13, i64 96, !6, i64 120, !6, i64 128, !18, i64 136, !18, i64 140, !6, i64 144, !6, i64 152, !19, i64 160}
!13 = !{!"_ZTSSt6vectorIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"_ZTSN18PathOptimizationNS2tk6spline7bd_typeE", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = distinct !{!20, !10}
!21 = !{!12, !6, i64 144}
!22 = !{!12, !18, i64 140}
!23 = !{!12, !6, i64 152}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = !{!12, !19, i64 160}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!12, !6, i64 120}
!30 = !{!12, !6, i64 128}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass