; LLVM IR from Eaglegor/SchedulerEngine :: Engine/Algorithms/Validation/Run/Overload (OverloadRunValidationAlgorithm)

; 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.boost::optional" = type { ptr }
%"class.Scheduler::Capacity" = type { [4 x float] }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.Scheduler::VehicleCapacityViolation" = type { %"class.Scheduler::ConstraintViolation", ptr, %"class.Scheduler::Capacity", %"class.boost::intrusive::list_iterator.74" }
%"class.Scheduler::ConstraintViolation" = type { ptr }
%"class.boost::intrusive::list_iterator.74" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator" = type { [8 x i8], %"class.boost::intrusive::list_iterator.74" }

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) #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK9Scheduler30OverloadRunValidationAlgorithm8validateERKNS_3RunERNS_18ViolationsConsumerE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(609) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.boost::optional", align 8
  %8 = alloca %"class.boost::optional", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.boost::optional", align 8
  %11 = alloca %"class.Scheduler::Capacity", align 4
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %14 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.Scheduler::VehicleCapacityViolation", align 8
  %18 = alloca %"class.Scheduler::Capacity", align 4
  %19 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  %26 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.Scheduler::VehicleCapacityViolation", align 8
  %30 = alloca %"class.Scheduler::Capacity", align 4
  %31 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %34 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca %"class.Scheduler::VehicleCapacityViolation", align 8
  %38 = alloca %"class.Scheduler::Capacity", align 4
  %39 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  %40 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = getelementptr inbounds ptr, ptr %43, i64 15
  %45 = load ptr, ptr %44, align 8
  %46 = call noundef zeroext i1 %45(ptr noundef nonnull align 8 dereferenceable(8) %42, i32 noundef 7)
  br i1 %46, label %48, label %47

47:                                               ; preds = %3
  br label %238

48:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind writable sret(%"class.boost::optional") align 8 %7, ptr noundef nonnull align 8 dereferenceable(609) %49)
  %50 = call noundef zeroext i1 @_ZNK5boost8optionalIRKN9Scheduler7VehicleEEntEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  br label %238

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind writable sret(%"class.boost::optional") align 8 %8, ptr noundef nonnull align 8 dereferenceable(609) %53)
  %54 = call noundef ptr @_ZNK5boost8optionalIRKN9Scheduler7VehicleEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %55 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9Scheduler7Vehicle11constraintsEv(ptr noundef nonnull align 8 dereferenceable(152) %54)
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler18VehicleConstraints8capacityEv(ptr noundef nonnull align 8 dereferenceable(40) %55)
  %57 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %56)
  %58 = xor i1 %57, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br i1 %58, label %59, label %60

59:                                               ; preds = %52
  br label %238

60:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind writable sret(%"class.boost::optional") align 8 %10, ptr noundef nonnull align 8 dereferenceable(609) %61)
  %62 = call noundef ptr @_ZNK5boost8optionalIRKN9Scheduler7VehicleEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
  %63 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9Scheduler7Vehicle11constraintsEv(ptr noundef nonnull align 8 dereferenceable(152) %62)
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler18VehicleConstraints8capacityEv(ptr noundef nonnull align 8 dereferenceable(40) %63)
  %65 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %64)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  store ptr %65, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @_ZN9Scheduler8CapacityC1Ev(ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609) %66)
  %68 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %67)
  store ptr %68, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %69) #5
  %71 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %13, i32 0, i32 0
  %72 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %71, i32 0, i32 0
  store ptr %70, ptr %72, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %73 = load ptr, ptr %12, align 8, !tbaa !5
  %74 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %73) #5
  %75 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %14, i32 0, i32 0
  %76 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %75, i32 0, i32 0
  store ptr %74, ptr %76, align 8
  br label %77

77:                                               ; preds = %94, %60
  %78 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %78, label %80, label %79

79:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %96

80:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %82 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #5
  store ptr %82, ptr %15, align 8, !tbaa !5
  %83 = load ptr, ptr %15, align 8, !tbaa !5
  %84 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %83)
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %84)
  %86 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %85)
  br i1 %86, label %87, label %93

87:                                               ; preds = %80
  %88 = load ptr, ptr %15, align 8, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %88)
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %89)
  %91 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %90)
  %92 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %91)
  br label %93

93:                                               ; preds = %87, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %94

94:                                               ; preds = %93
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %77

96:                                               ; preds = %79
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = call noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %97)
  br i1 %98, label %99, label %121

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #5
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Capacity") align 4 %18, ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %102)
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %103)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %19, ptr noundef nonnull align 8 dereferenceable(32) %104)
  call void @_ZN9Scheduler24VehicleCapacityViolationC2ERKNS_3RunERKNS_8CapacityEN5boost9intrusive13list_iteratorINS_4Stop20IntrusiveValueTraitsELb1EEE(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(609) %101, ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef %19)
  %105 = load ptr, ptr %100, align 8, !tbaa !9
  %106 = getelementptr inbounds ptr, ptr %105, i64 7
  %107 = load ptr, ptr %106, align 8
  %108 = invoke noundef i32 %107(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %109 unwind label %113

109:                                              ; preds = %99
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #5
  store i32 %108, ptr %16, align 4, !tbaa !11
  %110 = load i32, ptr %16, align 4, !tbaa !11
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %117

112:                                              ; preds = %109
  store i32 1, ptr %22, align 4
  br label %118

113:                                              ; preds = %99
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %20, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %21, align 4
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %240

117:                                              ; preds = %109
  store i32 0, ptr %22, align 4
  br label %118

118:                                              ; preds = %117, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  %119 = load i32, ptr %22, align 4
  switch i32 %119, label %236 [
    i32 0, label %120
  ]

120:                                              ; preds = %118
  br label %121

121:                                              ; preds = %120, %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %122)
  store ptr %123, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %124)
  store ptr %125, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  %126 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(8) %126)
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  %127 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8 %26, ptr noundef nonnull align 8 dereferenceable(8) %127)
  br label %128

128:                                              ; preds = %174, %121
  %129 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %26)
  br i1 %129, label %131, label %130

130:                                              ; preds = %128
  store i32 4, ptr %22, align 4
  br label %176

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %132 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  store ptr %132, ptr %27, align 8, !tbaa !5
  %133 = load ptr, ptr %27, align 8, !tbaa !5
  %134 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %133)
  %135 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %134)
  %136 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %135)
  %137 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %136)
  br i1 %137, label %139, label %138

138:                                              ; preds = %131
  store i32 5, ptr %22, align 4
  br label %171

139:                                              ; preds = %131
  %140 = load ptr, ptr %27, align 8, !tbaa !5
  %141 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %140)
  %142 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %141)
  %143 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %142)
  %144 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEEcvRKS1_Ev(ptr noundef nonnull align 8 dereferenceable(16) %143)
  %145 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %144)
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = call noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %146)
  br i1 %147, label %148, label %170

148:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #5
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Capacity") align 4 %30, ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %151)
  %152 = load ptr, ptr %5, align 8, !tbaa !5
  %153 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZNK9Scheduler3Run8findStopERKNS_4StopE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %31, ptr noundef nonnull align 8 dereferenceable(609) %152, ptr noundef nonnull align 8 dereferenceable(152) %153)
  call void @_ZN9Scheduler24VehicleCapacityViolationC2ERKNS_3RunERKNS_8CapacityEN5boost9intrusive13list_iteratorINS_4Stop20IntrusiveValueTraitsELb1EEE(ptr noundef nonnull align 8 dereferenceable(40) %29, ptr noundef nonnull align 8 dereferenceable(609) %150, ptr noundef nonnull align 4 dereferenceable(16) %30, ptr noundef %31)
  %154 = load ptr, ptr %149, align 8, !tbaa !9
  %155 = getelementptr inbounds ptr, ptr %154, i64 7
  %156 = load ptr, ptr %155, align 8
  %157 = invoke noundef i32 %156(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull align 8 dereferenceable(40) %29)
          to label %158 unwind label %162

158:                                              ; preds = %148
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #5
  store i32 %157, ptr %28, align 4, !tbaa !11
  %159 = load i32, ptr %28, align 4, !tbaa !11
  %160 = icmp eq i32 %159, 0
  br i1 %160, label %161, label %166

161:                                              ; preds = %158
  store i32 1, ptr %22, align 4
  br label %167

162:                                              ; preds = %148
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %20, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %21, align 4
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %239

166:                                              ; preds = %158
  store i32 0, ptr %22, align 4
  br label %167

167:                                              ; preds = %166, %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  %168 = load i32, ptr %22, align 4
  switch i32 %168, label %171 [
    i32 0, label %169
  ]

169:                                              ; preds = %167
  br label %170

170:                                              ; preds = %169, %139
  store i32 0, ptr %22, align 4
  br label %171

171:                                              ; preds = %170, %167, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  %172 = load i32, ptr %22, align 4
  switch i32 %172, label %176 [
    i32 0, label %173
    i32 5, label %174
  ]

173:                                              ; preds = %171
  br label %174

174:                                              ; preds = %173, %171
  %175 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEppEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  br label %128

176:                                              ; preds = %171, %130
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  %177 = load i32, ptr %22, align 4
  switch i32 %177, label %235 [
    i32 4, label %178
  ]

178:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609) %179)
  %181 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %180)
  store ptr %181, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %182 = load ptr, ptr %32, align 8, !tbaa !5
  %183 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %182) #5
  %184 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %33, i32 0, i32 0
  %185 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %184, i32 0, i32 0
  store ptr %183, ptr %185, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %186 = load ptr, ptr %32, align 8, !tbaa !5
  %187 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %186) #5
  %188 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %34, i32 0, i32 0
  %189 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %188, i32 0, i32 0
  store ptr %187, ptr %189, align 8
  br label %190

190:                                              ; preds = %207, %178
  %191 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  br i1 %191, label %193, label %192

192:                                              ; preds = %190
  store i32 6, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %209

193:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  %195 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %194) #5
  store ptr %195, ptr %35, align 8, !tbaa !5
  %196 = load ptr, ptr %35, align 8, !tbaa !5
  %197 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %196)
  %198 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %197)
  %199 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %198)
  br i1 %199, label %200, label %206

200:                                              ; preds = %193
  %201 = load ptr, ptr %35, align 8, !tbaa !5
  %202 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %201)
  %203 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %202)
  %204 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %203)
  %205 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %204)
  br label %206

206:                                              ; preds = %200, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %207

207:                                              ; preds = %206
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  br label %190

209:                                              ; preds = %192
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = call noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %210)
  br i1 %211, label %212, label %234

212:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %37) #5
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #5
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Capacity") align 4 %38, ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(16) %215)
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %216)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %40, ptr noundef nonnull align 8 dereferenceable(32) %217)
  call void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %39, ptr noundef %40, i64 noundef 1)
  call void @_ZN9Scheduler24VehicleCapacityViolationC2ERKNS_3RunERKNS_8CapacityEN5boost9intrusive13list_iteratorINS_4Stop20IntrusiveValueTraitsELb1EEE(ptr noundef nonnull align 8 dereferenceable(40) %37, ptr noundef nonnull align 8 dereferenceable(609) %214, ptr noundef nonnull align 4 dereferenceable(16) %38, ptr noundef %39)
  %218 = load ptr, ptr %213, align 8, !tbaa !9
  %219 = getelementptr inbounds ptr, ptr %218, i64 7
  %220 = load ptr, ptr %219, align 8
  %221 = invoke noundef i32 %220(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef nonnull align 8 dereferenceable(40) %37)
          to label %222 unwind label %226

222:                                              ; preds = %212
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %37) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #5
  store i32 %221, ptr %36, align 4, !tbaa !11
  %223 = load i32, ptr %36, align 4, !tbaa !11
  %224 = icmp eq i32 %223, 0
  br i1 %224, label %225, label %230

225:                                              ; preds = %222
  store i32 1, ptr %22, align 4
  br label %231

226:                                              ; preds = %212
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %20, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %21, align 4
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %37) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %239

230:                                              ; preds = %222
  store i32 0, ptr %22, align 4
  br label %231

231:                                              ; preds = %230, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  %232 = load i32, ptr %22, align 4
  switch i32 %232, label %235 [
    i32 0, label %233
  ]

233:                                              ; preds = %231
  br label %234

234:                                              ; preds = %233, %209
  store i32 0, ptr %22, align 4
  br label %235

235:                                              ; preds = %234, %231, %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %236

236:                                              ; preds = %235, %118
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %237 = load i32, ptr %22, align 4
  switch i32 %237, label %246 [
    i32 0, label %238
    i32 1, label %238
  ]

238:                                              ; preds = %236, %236, %59, %51, %47
  ret void

239:                                              ; preds = %226, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %240

240:                                              ; preds = %239, %113
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %241

241:                                              ; preds = %240
  %242 = load ptr, ptr %20, align 8
  %243 = load i32, ptr %21, align 4
  %244 = insertvalue { ptr, i32 } poison, ptr %242, 0
  %245 = insertvalue { ptr, i32 } %244, i32 %243, 1
  resume { ptr, i32 } %245

246:                                              ; preds = %236
  unreachable
}

declare void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind writable sret(%"class.boost::optional") align 8, ptr noundef nonnull align 8 dereferenceable(609)) #2

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

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

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9Scheduler7Vehicle11constraintsEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler18VehicleConstraints8capacityEv(ptr noundef nonnull align 8 dereferenceable(40)) #2

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

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

declare void @_ZN9Scheduler8CapacityC1Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216)) #2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128)) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64)) #2

declare noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #2

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

declare noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #2

declare void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Capacity") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168)) #2

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

declare void @_ZNK9Scheduler3Run8findStopERKNS_4StopE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef nonnull align 8 dereferenceable(609), ptr noundef nonnull align 8 dereferenceable(152)) #2

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

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

!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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN9Scheduler27ValidationContinuancePolicyE", !7, i64 0}


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

%"class.boost::optional" = type { ptr }
%"class.Scheduler::Capacity" = type { [4 x float] }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.Scheduler::VehicleCapacityViolation" = type { %"class.Scheduler::ConstraintViolation", ptr, %"class.Scheduler::Capacity", %"class.boost::intrusive::list_iterator.74" }
%"class.Scheduler::ConstraintViolation" = type { ptr }
%"class.boost::intrusive::list_iterator.74" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator" = type { [8 x i8], %"class.boost::intrusive::list_iterator.74" }

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) #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK9Scheduler30OverloadRunValidationAlgorithm8validateERKNS_3RunERNS_18ViolationsConsumerE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(609) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.boost::optional", align 8
  %5 = alloca %"class.boost::optional", align 8
  %6 = alloca %"class.boost::optional", align 8
  %7 = alloca %"class.Scheduler::Capacity", align 4
  %8 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %9 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %10 = alloca %"class.Scheduler::VehicleCapacityViolation", align 8
  %11 = alloca %"class.Scheduler::Capacity", align 4
  %12 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  %13 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  %14 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  %15 = alloca %"class.Scheduler::VehicleCapacityViolation", align 8
  %16 = alloca %"class.Scheduler::Capacity", align 4
  %17 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  %18 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %19 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %20 = alloca %"class.Scheduler::VehicleCapacityViolation", align 8
  %21 = alloca %"class.Scheduler::Capacity", align 4
  %22 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  %23 = alloca %"class.boost::intrusive::list_iterator.74", align 8
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %24, i64 120
  %26 = load ptr, ptr %25, align 8
  %27 = tail call noundef zeroext i1 %26(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 7)
  br i1 %27, label %28, label %125

28:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional") align 8 %4, ptr noundef nonnull align 8 dereferenceable(609) %1)
  %29 = call noundef zeroext i1 @_ZNK5boost8optionalIRKN9Scheduler7VehicleEEntEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br i1 %29, label %125, label %30

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional") align 8 %5, ptr noundef nonnull align 8 dereferenceable(609) %1)
  %31 = call noundef ptr @_ZNK5boost8optionalIRKN9Scheduler7VehicleEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %32 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9Scheduler7Vehicle11constraintsEv(ptr noundef nonnull align 8 dereferenceable(152) %31)
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler18VehicleConstraints8capacityEv(ptr noundef nonnull align 8 dereferenceable(40) %32)
  %34 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %34, label %35, label %125

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional") align 8 %6, ptr noundef nonnull align 8 dereferenceable(609) %1)
  %36 = call noundef ptr @_ZNK5boost8optionalIRKN9Scheduler7VehicleEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %37 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9Scheduler7Vehicle11constraintsEv(ptr noundef nonnull align 8 dereferenceable(152) %36)
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler18VehicleConstraints8capacityEv(ptr noundef nonnull align 8 dereferenceable(40) %37)
  %39 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZN9Scheduler8CapacityC1Ev(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %40 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609) %1)
  %41 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %40)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %42 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %41) #5
  store ptr %42, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %43 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %41) #5
  store ptr %43, ptr %9, align 8
  %44 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %44, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %56, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %45 = call noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %39)
  br i1 %45, label %59, label %68

.lr.ph:                                           ; preds = %35, %56
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %47 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #5
  %48 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %47)
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %48)
  %50 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %49)
  br i1 %50, label %51, label %56

51:                                               ; preds = %.lr.ph
  %52 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %47)
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %52)
  %54 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %53)
  %55 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %54)
  br label %56

56:                                               ; preds = %51, %.lr.ph
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %58 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %58, label %.lr.ph, label %._crit_edge

59:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  call void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::Capacity") align 4 %11, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %39)
  %60 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %1)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %12, ptr noundef nonnull align 8 dereferenceable(32) %60)
  call void @_ZN9Scheduler24VehicleCapacityViolationC2ERKNS_3RunERKNS_8CapacityEN5boost9intrusive13list_iteratorINS_4Stop20IntrusiveValueTraitsELb1EEE(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(609) %1, ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull %12)
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 56
  %63 = load ptr, ptr %62, align 8
  %64 = invoke noundef i32 %63(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %65 unwind label %66

65:                                               ; preds = %59
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  %.not = icmp eq i32 %64, 0
  br i1 %.not, label %124, label %68

66:                                               ; preds = %59
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  br label %126

68:                                               ; preds = %65, %._crit_edge
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %1)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %70)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %70)
  %71 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %14)
  br i1 %71, label %.lr.ph59, label %._crit_edge60

.lr.ph59:                                         ; preds = %68, %92
  %72 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %73 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %72)
  %74 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %73)
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %74)
  %76 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %75)
  br i1 %76, label %77, label %92

77:                                               ; preds = %.lr.ph59
  %78 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %72)
  %79 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %78)
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %79)
  %81 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEEcvRKS1_Ev(ptr noundef nonnull align 8 dereferenceable(16) %80)
  %82 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %81)
  %83 = call noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %39)
  br i1 %83, label %84, label %92

84:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::Capacity") align 4 %16, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %39)
  call void @_ZNK9Scheduler3Run8findStopERKNS_4StopE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %17, ptr noundef nonnull align 8 dereferenceable(609) %1, ptr noundef nonnull align 8 dereferenceable(152) %72)
  call void @_ZN9Scheduler24VehicleCapacityViolationC2ERKNS_3RunERKNS_8CapacityEN5boost9intrusive13list_iteratorINS_4Stop20IntrusiveValueTraitsELb1EEE(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(609) %1, ptr noundef nonnull align 4 dereferenceable(16) %16, ptr noundef nonnull %17)
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %85, i64 56
  %87 = load ptr, ptr %86, align 8
  %88 = invoke noundef i32 %87(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %89 unwind label %90

89:                                               ; preds = %84
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  %.not53 = icmp eq i32 %88, 0
  br i1 %.not53, label %95, label %92

90:                                               ; preds = %84
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br label %126

92:                                               ; preds = %77, %89, %.lr.ph59
  %93 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEppEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %94 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %14)
  br i1 %94, label %.lr.ph59, label %._crit_edge60

95:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  br label %124

._crit_edge60:                                    ; preds = %92, %68
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  %96 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609) %1)
  %97 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %96)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %98 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %97) #5
  store ptr %98, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %99 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %97) #5
  store ptr %99, ptr %19, align 8
  %100 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br i1 %100, label %.lr.ph62, label %._crit_edge63

._crit_edge63:                                    ; preds = %112, %._crit_edge60
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  %101 = call noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %39)
  br i1 %101, label %115, label %124

.lr.ph62:                                         ; preds = %._crit_edge60, %112
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %103 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %102) #5
  %104 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %103)
  %105 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %104)
  %106 = call noundef zeroext i1 @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE5isSetEv(ptr noundef nonnull align 8 dereferenceable(16) %105)
  br i1 %106, label %107, label %112

107:                                              ; preds = %.lr.ph62
  %108 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128) %103)
  %109 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64) %108)
  %110 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK9Scheduler16ConstraintHolderINS_8CapacityEE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %109)
  %111 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %110)
  br label %112

112:                                              ; preds = %107, %.lr.ph62
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %114 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br i1 %114, label %.lr.ph62, label %._crit_edge63

115:                                              ; preds = %._crit_edge63
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #5
  call void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::Capacity") align 4 %21, ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(16) %39)
  %116 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %1)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %116)
  call void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.74") align 8 %22, ptr noundef nonnull %23, i64 noundef 1)
  call void @_ZN9Scheduler24VehicleCapacityViolationC2ERKNS_3RunERKNS_8CapacityEN5boost9intrusive13list_iteratorINS_4Stop20IntrusiveValueTraitsELb1EEE(ptr noundef nonnull align 8 dereferenceable(40) %20, ptr noundef nonnull align 8 dereferenceable(609) %1, ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull %22)
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %117, i64 56
  %119 = load ptr, ptr %118, align 8
  %120 = invoke noundef i32 %119(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %121 unwind label %122

121:                                              ; preds = %115
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  br label %124

122:                                              ; preds = %115
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9Scheduler19ConstraintViolationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #5
  br label %126

124:                                              ; preds = %95, %121, %._crit_edge63, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br label %125

125:                                              ; preds = %30, %28, %3, %124
  ret void

126:                                              ; preds = %90, %122, %66
  %.pn.pn = phi { ptr, i32 } [ %67, %66 ], [ %123, %122 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  resume { ptr, i32 } %.pn.pn
}

declare void @_ZNK9Scheduler3Run10getVehicleEv(ptr dead_on_unwind writable sret(%"class.boost::optional") align 8, ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

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

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

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZNK9Scheduler7Vehicle11constraintsEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler18VehicleConstraints8capacityEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2

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

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

declare void @_ZN9Scheduler8CapacityC1Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216)) local_unnamed_addr #2

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9Scheduler9Operation11constraintsEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler20OperationConstraints6demandEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

declare noundef nonnull align 4 dereferenceable(16) ptr @_ZN9Scheduler8CapacitypLERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2

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

declare noundef zeroext i1 @_ZNK9Scheduler8CapacitygtERKS0_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2

declare void @_ZNK9Scheduler8CapacitymiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Capacity") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #2

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

declare void @_ZNK9Scheduler3Run8findStopERKNS_4StopE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef nonnull align 8 dereferenceable(609), ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.74") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

!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"}


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