; LLVM IR from chromia/lichtenberg :: src/model/dlamodel.ll (ZN11lichtenberg5model13DLABreakModelC2Eiii)

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

%"struct.lichtenberg::model::DLABreakModel::DLAParticle" = type <{ ptr, ptr, %"class.std::tuple", i8, [7 x i8] }>
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { double }
%"struct.std::_Head_base.1" = type { double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.lichtenberg::model::DLABreakModel" = type { %"class.lichtenberg::model::BreakModel", i32, i32, %"class.std::vector", %"class.std::vector.2" }
%"class.lichtenberg::model::BreakModel" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>, std::allocator<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>, std::allocator<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>, std::allocator<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>, std::allocator<std::vector<lichtenberg::model::DLABreakModel::DLAParticle *>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<lichtenberg::model::DLABreakModel::DLAParticle, std::allocator<lichtenberg::model::DLABreakModel::DLAParticle>>::_Vector_impl" }
%"struct.std::_Vector_base<lichtenberg::model::DLABreakModel::DLAParticle, std::allocator<lichtenberg::model::DLABreakModel::DLAParticle>>::_Vector_impl" = type { %"struct.std::_Vector_base<lichtenberg::model::DLABreakModel::DLAParticle, std::allocator<lichtenberg::model::DLABreakModel::DLAParticle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<lichtenberg::model::DLABreakModel::DLAParticle, std::allocator<lichtenberg::model::DLABreakModel::DLAParticle>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTVN11lichtenberg5model13DLABreakModelE = external dso_local unnamed_addr constant { [7 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11lichtenberg5model13DLABreakModelC2Eiii(ptr noundef nonnull align 8 dereferenceable(64) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca %"struct.lichtenberg::model::DLABreakModel::DLAParticle", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::tuple", align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  %26 = load ptr, ptr %5, align 8
  call void @_ZN11lichtenberg5model10BreakModelC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  store ptr getelementptr inbounds inrange(-16, 40) ({ [7 x ptr] }, ptr @_ZTVN11lichtenberg5model13DLABreakModelE, i32 0, i32 0, i32 2), ptr %26, align 8, !tbaa !11
  %27 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 1
  %28 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %28, ptr %27, align 8, !tbaa !13
  %29 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 2
  %30 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %30, ptr %29, align 4, !tbaa !24
  %31 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 3
  call void @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  %32 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 4
  call void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %33 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 3
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = sext i32 %34 to i64
  invoke void @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35)
          to label %36 unwind label %42

36:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %54, %36
  %38 = load i32, ptr %11, align 4, !tbaa !9
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %46, label %41

41:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %61

42:                                               ; preds = %61, %4
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %9, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %10, align 4
  br label %173

46:                                               ; preds = %37
  %47 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 3
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %49) #6
  %51 = load i32, ptr %6, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store ptr null, ptr %12, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EE6resizeEmRKS4_(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %52, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %53 unwind label %57

53:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %54

54:                                               ; preds = %53
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %11, align 4, !tbaa !9
  br label %37, !llvm.loop !25

57:                                               ; preds = %46
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %173

61:                                               ; preds = %41
  %62 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 4
  %63 = load i32, ptr %8, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  invoke void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %64)
          to label %65 unwind label %42

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %89, %65
  %67 = load i32, ptr %13, align 4, !tbaa !9
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %106

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %72 = invoke noundef double @_ZN11lichtenberg5modelL6randomEv()
          to label %73 unwind label %92

73:                                               ; preds = %71
  %74 = load i32, ptr %6, align 4, !tbaa !9
  %75 = sub nsw i32 %74, 1
  %76 = sitofp i32 %75 to double
  %77 = fmul double %72, %76
  store double %77, ptr %14, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %78 = invoke noundef double @_ZN11lichtenberg5modelL6randomEv()
          to label %79 unwind label %96

79:                                               ; preds = %73
  %80 = load i32, ptr %7, align 4, !tbaa !9
  %81 = sub nsw i32 %80, 1
  %82 = sitofp i32 %81 to double
  %83 = fmul double %78, %82
  store double %83, ptr %15, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #6
  %84 = load double, ptr %14, align 8, !tbaa !27
  %85 = load double, ptr %15, align 8, !tbaa !27
  invoke void @_ZN11lichtenberg5model13DLABreakModel11DLAParticleC1Edd(ptr noundef nonnull align 8 dereferenceable(33) %16, double noundef %84, double noundef %85)
          to label %86 unwind label %100

86:                                               ; preds = %79
  %87 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 4
  invoke void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef nonnull align 8 dereferenceable(33) %16)
          to label %88 unwind label %100

88:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %13, align 4, !tbaa !9
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %13, align 4, !tbaa !9
  br label %66, !llvm.loop !29

92:                                               ; preds = %71
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %9, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %10, align 4
  br label %105

96:                                               ; preds = %73
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  br label %104

100:                                              ; preds = %86, %79
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %9, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #6
  br label %104

104:                                              ; preds = %100, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %105

105:                                              ; preds = %104, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %173

106:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %107 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 4
  store ptr %107, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %108 = load ptr, ptr %17, align 8, !tbaa !5
  %109 = call ptr @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #6
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %111 = load ptr, ptr %17, align 8, !tbaa !5
  %112 = call ptr @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #6
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  br label %114

114:                                              ; preds = %170, %106
  %115 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %115, label %117, label %116

116:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %172

117:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %118 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  store ptr %118, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %119 = load ptr, ptr %20, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.lichtenberg::model::DLABreakModel::DLAParticle", ptr %119, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %120, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  store ptr %121, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  store ptr %122, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %123 = load ptr, ptr %22, align 8, !tbaa !5
  %124 = load double, ptr %123, align 8, !tbaa !27
  %125 = fadd double %124, 5.000000e-01
  %126 = fptosi double %125 to i32
  store i32 %126, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %127 = load ptr, ptr %23, align 8, !tbaa !5
  %128 = load double, ptr %127, align 8, !tbaa !27
  %129 = fadd double %128, 5.000000e-01
  %130 = fptosi double %129 to i32
  store i32 %130, ptr %25, align 4, !tbaa !9
  %131 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 3
  %132 = load i32, ptr %25, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef %133) #6
  %135 = load i32, ptr %24, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %136) #6
  %138 = load ptr, ptr %137, align 8, !tbaa !5
  %139 = load ptr, ptr %20, align 8, !tbaa !5
  %140 = getelementptr inbounds %"struct.lichtenberg::model::DLABreakModel::DLAParticle", ptr %139, i32 0, i32 1
  store ptr %138, ptr %140, align 8, !tbaa !30
  %141 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 3
  %142 = load i32, ptr %25, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %143) #6
  %145 = load i32, ptr %24, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %146) #6
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %161

150:                                              ; preds = %117
  %151 = load ptr, ptr %20, align 8, !tbaa !5
  %152 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 3
  %153 = load i32, ptr %25, align 4, !tbaa !9
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %154) #6
  %156 = load i32, ptr %24, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %157) #6
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.lichtenberg::model::DLABreakModel::DLAParticle", ptr %159, i32 0, i32 0
  store ptr %151, ptr %160, align 8, !tbaa !38
  br label %161

161:                                              ; preds = %150, %117
  %162 = load ptr, ptr %20, align 8, !tbaa !5
  %163 = getelementptr inbounds %"class.lichtenberg::model::DLABreakModel", ptr %26, i32 0, i32 3
  %164 = load i32, ptr %25, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %165) #6
  %167 = load i32, ptr %24, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %168) #6
  store ptr %162, ptr %169, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %170

170:                                              ; preds = %161
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %114

172:                                              ; preds = %116
  ret void

173:                                              ; preds = %105, %57, %42
  call void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  call void @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  call void @_ZN11lichtenberg5model10BreakModelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  br label %174

174:                                              ; preds = %173
  %175 = load ptr, ptr %9, align 8
  %176 = load i32, ptr %10, align 4
  %177 = insertvalue { ptr, i32 } poison, ptr %175, 0
  %178 = insertvalue { ptr, i32 } %177, i32 %176, 1
  resume { ptr, i32 } %178
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN11lichtenberg5modelL6randomEv() #2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16)) #2

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN11lichtenberg5model10BreakModelD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare void @_ZN11lichtenberg5model13DLABreakModel11DLAParticleC1Edd(ptr, double, double)

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"_ZTSN11lichtenberg5model13DLABreakModelE", !15, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !20, i64 40}
!15 = !{!"_ZTSN11lichtenberg5model10BreakModelE"}
!16 = !{!"_ZTSSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseISt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS5_EESaIS7_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS5_EESaIS7_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS5_EESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!14, !10, i64 12}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!28, !28, i64 0}
!28 = !{!"double", !7, i64 0}
!29 = distinct !{!29, !26}
!30 = !{!31, !6, i64 8}
!31 = !{!"_ZTSN11lichtenberg5model13DLABreakModel11DLAParticleE", !6, i64 0, !6, i64 8, !32, i64 16, !37, i64 32}
!32 = !{!"_ZTSSt5tupleIJddEE", !33, i64 0}
!33 = !{!"_ZTSSt11_Tuple_implILm0EJddEE", !34, i64 0, !36, i64 8}
!34 = !{!"_ZTSSt11_Tuple_implILm1EJdEE", !35, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm1EdLb0EE", !28, i64 0}
!36 = !{!"_ZTSSt10_Head_baseILm0EdLb0EE", !28, i64 0}
!37 = !{!"bool", !7, i64 0}
!38 = !{!31, !6, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.lichtenberg::model::DLABreakModel::DLAParticle" = type <{ ptr, ptr, %"class.std::tuple", i8, [7 x i8] }>
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { double }
%"struct.std::_Head_base.1" = type { double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZTVN11lichtenberg5model13DLABreakModelE = external dso_local unnamed_addr constant { [7 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11lichtenberg5model13DLABreakModelC2Eiii(ptr noundef nonnull align 8 dereferenceable(64) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.lichtenberg::model::DLABreakModel::DLAParticle", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.std::tuple", align 8
  tail call void @_ZN11lichtenberg5model10BreakModelC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  store ptr getelementptr inbounds inrange(-16, 40) (i8, ptr @_ZTVN11lichtenberg5model13DLABreakModelE, i64 16), ptr %0, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %1, ptr %10, align 8, !tbaa !8
  %11 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %2, ptr %11, align 4, !tbaa !22
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %14 = sext i32 %2 to i64
  invoke void @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %14)
          to label %.preheader39 unwind label %23

.preheader39:                                     ; preds = %4
  %15 = icmp sgt i32 %2, 0
  br i1 %15, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader39
  %16 = sext i32 %1 to i64
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %25

._crit_edge:                                      ; preds = %27, %.preheader39
  %17 = sext i32 %3 to i64
  invoke void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %17)
          to label %.preheader unwind label %23

.preheader:                                       ; preds = %._crit_edge
  %18 = icmp sgt i32 %3, 0
  br i1 %18, label %.lr.ph42, label %._crit_edge43

.lr.ph42:                                         ; preds = %.preheader
  %19 = add nsw i32 %1, -1
  %20 = sitofp i32 %19 to double
  %21 = add nsw i32 %2, -1
  %22 = sitofp i32 %21 to double
  br label %33

23:                                               ; preds = %._crit_edge, %4
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %71

25:                                               ; preds = %.lr.ph, %27
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %27 ]
  %26 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store ptr null, ptr %5, align 8, !tbaa !23
  invoke void @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EE6resizeEmRKS4_(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %16, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %27 unwind label %28

27:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %25, !llvm.loop !24

28:                                               ; preds = %25
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %71

._crit_edge43:                                    ; preds = %39, %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %30 = call ptr @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %30, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %31 = call ptr @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  store ptr %31, ptr %8, align 8
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %32, label %.lr.ph45, label %._crit_edge46

33:                                               ; preds = %.lr.ph42, %39
  %.03641 = phi i32 [ 0, %.lr.ph42 ], [ %40, %39 ]
  %34 = call noundef double @_ZN11lichtenberg5modelL6randomEv()
  %35 = fmul double %34, %20
  %36 = call noundef double @_ZN11lichtenberg5modelL6randomEv()
  %37 = fmul double %36, %22
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #6
  invoke void @_ZN11lichtenberg5model13DLABreakModel11DLAParticleC1Edd(ptr noundef nonnull align 8 dereferenceable(33) %6, double noundef %35, double noundef %37)
          to label %38 unwind label %41

38:                                               ; preds = %33
  invoke void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(33) %6)
          to label %39 unwind label %41

39:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #6
  %40 = add nuw nsw i32 %.03641, 1
  %exitcond48.not = icmp eq i32 %40, %3
  br i1 %exitcond48.not, label %._crit_edge43, label %33, !llvm.loop !26

41:                                               ; preds = %38, %33
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #6
  br label %71

._crit_edge46:                                    ; preds = %66, %._crit_edge43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  ret void

.lr.ph45:                                         ; preds = %._crit_edge43, %66
  %43 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %44, i64 16, i1 false)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  %47 = load double, ptr %45, align 8, !tbaa !27
  %48 = fadd double %47, 5.000000e-01
  %49 = fptosi double %48 to i32
  %50 = load double, ptr %46, align 8, !tbaa !27
  %51 = fadd double %50, 5.000000e-01
  %52 = fptosi double %51 to i32
  %53 = sext i32 %52 to i64
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %53) #6
  %55 = sext i32 %49 to i64
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %55) #6
  %57 = load ptr, ptr %56, align 8, !tbaa !23
  %58 = getelementptr inbounds i8, ptr %43, i64 8
  store ptr %57, ptr %58, align 8, !tbaa !29
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %53) #6
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %55) #6
  %61 = load ptr, ptr %60, align 8, !tbaa !23
  %.not = icmp eq ptr %61, null
  br i1 %.not, label %66, label %62

62:                                               ; preds = %.lr.ph45
  %63 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %53) #6
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %55) #6
  %65 = load ptr, ptr %64, align 8, !tbaa !23
  store ptr %43, ptr %65, align 8, !tbaa !37
  br label %66

66:                                               ; preds = %62, %.lr.ph45
  %67 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %53) #6
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %55) #6
  store ptr %43, ptr %68, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %70 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br i1 %70, label %.lr.ph45, label %._crit_edge46

71:                                               ; preds = %41, %28, %23
  %.pn = phi { ptr, i32 } [ %29, %28 ], [ %42, %41 ], [ %24, %23 ]
  call void @_ZNSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @_ZNSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @_ZN11lichtenberg5model10BreakModelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #6
  resume { ptr, i32 } %.pn
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN11lichtenberg5modelL6randomEv() local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(33) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN11lichtenberg5model13DLABreakModel11DLAParticleESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm1EJddEEONSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeEOS4_(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN11lichtenberg5model10BreakModelD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

declare void @_ZN11lichtenberg5model13DLABreakModel11DLAParticleC1Edd(ptr, double, double) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 8}
!9 = !{!"_ZTSN11lichtenberg5model13DLABreakModelE", !10, i64 0, !11, i64 8, !11, i64 12, !13, i64 16, !18, i64 40}
!10 = !{!"_ZTSN11lichtenberg5model10BreakModelE"}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIS_IPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS4_EESaIS6_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseISt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS5_EESaIS7_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS5_EESaIS7_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseISt6vectorIPN11lichtenberg5model13DLABreakModel11DLAParticleESaIS5_EESaIS7_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !12, i64 0}
!18 = !{!"_ZTSSt6vectorIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN11lichtenberg5model13DLABreakModel11DLAParticleESaIS3_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!22 = !{!9, !11, i64 12}
!23 = !{!17, !17, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!28, !28, i64 0}
!28 = !{!"double", !12, i64 0}
!29 = !{!30, !17, i64 8}
!30 = !{!"_ZTSN11lichtenberg5model13DLABreakModel11DLAParticleE", !17, i64 0, !17, i64 8, !31, i64 16, !36, i64 32}
!31 = !{!"_ZTSSt5tupleIJddEE", !32, i64 0}
!32 = !{!"_ZTSSt11_Tuple_implILm0EJddEE", !33, i64 0, !35, i64 8}
!33 = !{!"_ZTSSt11_Tuple_implILm1EJdEE", !34, i64 0}
!34 = !{!"_ZTSSt10_Head_baseILm1EdLb0EE", !28, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm0EdLb0EE", !28, i64 0}
!36 = !{!"bool", !12, i64 0}
!37 = !{!30, !17, i64 0}


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