; LLVM IR from Eaglegor/SchedulerEngine :: Engine/Algorithms/ScheduleActualization/ArrivalTime/Default/DefaultArrivalTimeAc_63fabff5 (8ScheduleE)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.Scheduler::FirstTimeWindowSelector" = type { ptr }
%"class.Scheduler::TimeWindow" = type { %"class.Scheduler::TimePoint", %"class.Scheduler::TimePoint" }
%"class.Scheduler::TimePoint" = type { i64 }
%"class.Scheduler::Duration" = type { i64 }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.102" }
%"class.boost::iterator_range_detail::iterator_range_base.102" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }

; 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 @_ZNK9Scheduler40DefaultArrivalTimeActualizationAlgorithm9actualizeERNS_8ScheduleE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(352) %1) unnamed_addr #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.Scheduler::FirstTimeWindowSelector", align 8
  %8 = alloca %"class.Scheduler::TimeWindow", align 8
  %9 = alloca %"class.Scheduler::Duration", align 8
  %10 = alloca %"class.boost::intrusive::list_iterator", align 8
  %11 = alloca %"class.boost::intrusive::list_iterator", align 8
  %12 = alloca %"class.boost::intrusive::list_iterator", align 8
  %13 = alloca %"class.boost::intrusive::list_iterator", align 8
  %14 = alloca %"class.boost::intrusive::list_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.Scheduler::TimeWindow", align 8
  %18 = alloca %"class.Scheduler::TimePoint", align 8
  %19 = alloca %"class.Scheduler::Duration", align 8
  %20 = alloca %"class.Scheduler::Duration", align 8
  %21 = alloca %"class.Scheduler::Duration", align 8
  %22 = alloca %"class.Scheduler::Duration", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.boost::iterator_range", align 8
  %25 = alloca %"class.boost::intrusive::list_iterator", align 8
  %26 = alloca %"class.boost::intrusive::list_iterator", align 8
  %27 = alloca %"class.boost::intrusive::list_iterator", align 8
  %28 = alloca %"class.boost::intrusive::list_iterator", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.Scheduler::TimePoint", align 8
  %31 = alloca %"class.Scheduler::Duration", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %32 = load ptr, ptr %3, align 8
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %33)
  %35 = call noundef zeroext i1 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #6
  br i1 %35, label %36, label %37

36:                                               ; preds = %2
  br label %112

37:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %38)
  %40 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %40, ptr %41, align 8
  %42 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %43 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #6
  %44 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZN9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609) %43)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  store ptr %44, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @_ZN9Scheduler23FirstTimeWindowSelectorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK9Scheduler23FirstTimeWindowSelector16selectTimeWindowERKNS_4StopE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimeWindow") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(152) %45)
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler8Schedule8getShiftEv(ptr noundef nonnull align 8 dereferenceable(352) %47)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %48)
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIN9Scheduler9TimePointEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50)
  call void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152) %46, ptr noundef nonnull align 8 dereferenceable(8) %51)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %53)
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %54)
  call void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Duration") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %55)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN9Scheduler8Schedule8getStopsEv(ptr noundef nonnull align 8 dereferenceable(352) %56)
  call void @_ZN5boost9intrusive9list_implIN9Scheduler4Stop20IntrusiveValueTraitsEmLb1EvE5beginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @_ZSt4nextIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %11, ptr noundef %12, i64 noundef 1)
  br label %58

58:                                               ; preds = %101, %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN9Scheduler8Schedule8getStopsEv(ptr noundef nonnull align 8 dereferenceable(352) %59)
  call void @_ZN5boost9intrusive9list_implIN9Scheduler4Stop20IntrusiveValueTraitsEmLb1EvE3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %14, ptr noundef nonnull align 8 dereferenceable(32) %60)
  call void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %13, ptr noundef %14, i64 noundef 1)
  %61 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br i1 %61, label %62, label %111

62:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %63 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10)
  store ptr %63, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %64 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  store ptr %64, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %65 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZNK9Scheduler23FirstTimeWindowSelector16selectTimeWindowERKNS_4StopE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimeWindow") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(152) %65)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %66)
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %67)
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler4Stop12getNextRouteEv(ptr noundef nonnull align 8 dereferenceable(152) %69)
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler5Route11getDurationEv(ptr noundef nonnull align 8 dereferenceable(32) %70)
  call void @_ZNK9Scheduler9TimePointplERKNS_8DurationE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimePoint") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %71)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  call void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Duration") align 8 %19, ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef 0)
  %73 = call noundef zeroext i1 @_ZNK9Scheduler8DurationgtERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br i1 %73, label %74, label %101

74:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8) %21, i64 noundef 0)
  %75 = call noundef zeroext i1 @_ZNK9Scheduler8DurationgtERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br i1 %75, label %76, label %100

76:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIN9Scheduler8DurationEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @_ZN9Scheduler8DurationC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %77)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZN9Scheduler4Stop6getRunEv(ptr noundef nonnull align 8 dereferenceable(152) %78)
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN9Scheduler3Run8findStopERNS_4StopE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(609) %79, ptr noundef nonnull align 8 dereferenceable(152) %80)
  %81 = load ptr, ptr %16, align 8, !tbaa !5
  %82 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZN9Scheduler4Stop6getRunEv(ptr noundef nonnull align 8 dereferenceable(152) %81)
  %83 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN9Scheduler3Run8findStopERNS_4StopE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %26, ptr noundef nonnull align 8 dereferenceable(609) %82, ptr noundef nonnull align 8 dereferenceable(152) %83)
  call void @_ZN5boost19make_iterator_rangeINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEEENS_14iterator_rangeIT_EES8_S8_(ptr dead_on_unwind writable sret(%"class.boost::iterator_range") align 8 %24, ptr noundef %25, ptr noundef %26)
  store ptr %24, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %84 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZNK5boost21iterator_range_detail19iterator_range_baseINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEENS_9iterators27incrementable_traversal_tagEE5beginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(16) %84)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %85 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZNK5boost21iterator_range_detail19iterator_range_baseINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEENS_9iterators27incrementable_traversal_tagEE3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %85)
  br label %86

86:                                               ; preds = %95, %76
  %87 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
  br i1 %87, label %89, label %88

88:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %97

89:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %90 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
  store ptr %90, ptr %29, align 8, !tbaa !5
  %91 = load ptr, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %92 = load ptr, ptr %29, align 8, !tbaa !5
  %93 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %92)
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %93)
  call void @_ZNK9Scheduler9TimePointplERKNS_8DurationE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimePoint") align 8 %30, ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152) %91, ptr noundef nonnull align 8 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %95

95:                                               ; preds = %89
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
  br label %86

97:                                               ; preds = %88
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationmIERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler9TimePointpLERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %100

100:                                              ; preds = %97, %74
  br label %101

101:                                              ; preds = %100, %62
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIN9Scheduler9TimePointEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152) %102, ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  %106 = load ptr, ptr %16, align 8, !tbaa !5
  %107 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %106)
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %107)
  call void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Duration") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull align 8 dereferenceable(8) %108)
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIN9Scheduler8DurationEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %109)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  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 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %58, !llvm.loop !9

111:                                              ; preds = %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %112

112:                                              ; preds = %111, %36
  ret void
}

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352)) #2

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

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

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

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

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

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

declare void @_ZNK9Scheduler23FirstTimeWindowSelector16selectTimeWindowERKNS_4StopE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimeWindow") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(152)) unnamed_addr #2

declare void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIN9Scheduler9TimePointEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler8Schedule8getShiftEv(ptr noundef nonnull align 8 dereferenceable(352)) #2

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

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

declare void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Duration") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN9Scheduler8Schedule8getStopsEv(ptr noundef nonnull align 8 dereferenceable(352)) #2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

declare void @_ZNK9Scheduler9TimePointplERKNS_8DurationE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimePoint") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler4Stop12getNextRouteEv(ptr noundef nonnull align 8 dereferenceable(152)) #2

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

declare noundef zeroext i1 @_ZNK9Scheduler8DurationgtERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIN9Scheduler8DurationEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

declare void @_ZN9Scheduler8DurationC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost19make_iterator_rangeINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEEENS_14iterator_rangeIT_EES8_S8_(ptr dead_on_unwind noalias writable sret(%"class.boost::iterator_range") align 8, ptr noundef, ptr noundef) #5

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationmIERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler9TimePointpLERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #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 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 #5 = { 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 #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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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

%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.Scheduler::FirstTimeWindowSelector" = type { ptr }
%"class.Scheduler::TimeWindow" = type { %"class.Scheduler::TimePoint", %"class.Scheduler::TimePoint" }
%"class.Scheduler::TimePoint" = type { i64 }
%"class.Scheduler::Duration" = type { i64 }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.boost::iterator_range" = type { %"class.boost::iterator_range_detail::iterator_range_base" }
%"class.boost::iterator_range_detail::iterator_range_base" = type { %"class.boost::iterator_range_detail::iterator_range_base.102" }
%"class.boost::iterator_range_detail::iterator_range_base.102" = type { %"class.boost::intrusive::list_iterator", %"class.boost::intrusive::list_iterator" }

; 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 @_ZNK9Scheduler40DefaultArrivalTimeActualizationAlgorithm9actualizeERNS_8ScheduleE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(352) %1) unnamed_addr #1 align 2 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.Scheduler::FirstTimeWindowSelector", align 8
  %5 = alloca %"class.Scheduler::TimeWindow", align 8
  %6 = alloca %"class.Scheduler::Duration", align 8
  %7 = alloca %"class.boost::intrusive::list_iterator", align 8
  %8 = alloca %"class.boost::intrusive::list_iterator", align 8
  %9 = alloca %"class.boost::intrusive::list_iterator", align 8
  %10 = alloca %"class.boost::intrusive::list_iterator", align 8
  %11 = alloca %"class.boost::intrusive::list_iterator", align 8
  %12 = alloca %"class.Scheduler::TimeWindow", align 8
  %13 = alloca %"class.Scheduler::TimePoint", align 8
  %14 = alloca %"class.Scheduler::Duration", align 8
  %15 = alloca %"class.Scheduler::Duration", align 8
  %16 = alloca %"class.Scheduler::Duration", align 8
  %17 = alloca %"class.Scheduler::Duration", align 8
  %18 = alloca %"class.boost::iterator_range", align 8
  %19 = alloca %"class.boost::intrusive::list_iterator", align 8
  %20 = alloca %"class.boost::intrusive::list_iterator", align 8
  %21 = alloca %"class.boost::intrusive::list_iterator", align 8
  %22 = alloca %"class.boost::intrusive::list_iterator", align 8
  %23 = alloca %"class.Scheduler::TimePoint", align 8
  %24 = alloca %"class.Scheduler::Duration", align 8
  %25 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %1)
  %26 = tail call noundef zeroext i1 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  br i1 %26, label %75, label %27

27:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %28 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %1)
  %29 = tail call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  store ptr %29, ptr %3, align 8
  %30 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %31 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  %32 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZN9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609) %31)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  call void @_ZN9Scheduler23FirstTimeWindowSelectorC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZNK9Scheduler23FirstTimeWindowSelector16selectTimeWindowERKNS_4StopE(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::TimeWindow") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(152) %32)
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler8Schedule8getShiftEv(ptr noundef nonnull align 8 dereferenceable(352) %1)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIN9Scheduler9TimePointEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35)
  call void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152) %32, ptr noundef nonnull align 8 dereferenceable(8) %36)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %32)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  call void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::Duration") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %39)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %40 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN9Scheduler8Schedule8getStopsEv(ptr noundef nonnull align 8 dereferenceable(352) %1)
  call void @_ZN5boost9intrusive9list_implIN9Scheduler4Stop20IntrusiveValueTraitsEmLb1EvE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %40)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @_ZSt4nextIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %8, ptr noundef nonnull %9, i64 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %41 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN9Scheduler8Schedule8getStopsEv(ptr noundef nonnull align 8 dereferenceable(352) %1)
  call void @_ZN5boost9intrusive9list_implIN9Scheduler4Stop20IntrusiveValueTraitsEmLb1EvE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %41)
  call void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %10, ptr noundef nonnull %11, i64 noundef 1)
  %42 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %42, label %.lr.ph23, label %._crit_edge24

.lr.ph23:                                         ; preds = %27, %65
  %43 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %44 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @_ZNK9Scheduler23FirstTimeWindowSelector16selectTimeWindowERKNS_4StopE(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::TimeWindow") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(152) %44)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %43)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  %47 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler4Stop12getNextRouteEv(ptr noundef nonnull align 8 dereferenceable(152) %43)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler5Route11getDurationEv(ptr noundef nonnull align 8 dereferenceable(32) %47)
  call void @_ZNK9Scheduler9TimePointplERKNS_8DurationE(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::TimePoint") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %48)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::Duration") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  call void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef 0)
  %50 = call noundef zeroext i1 @_ZNK9Scheduler8DurationgtERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %50, label %51, label %65

51:                                               ; preds = %.lr.ph23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  call void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8) %16, i64 noundef 0)
  %52 = call noundef zeroext i1 @_ZNK9Scheduler8DurationgtERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  br i1 %52, label %53, label %65

53:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIN9Scheduler8DurationEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @_ZN9Scheduler8DurationC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %54)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #6
  %55 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZN9Scheduler4Stop6getRunEv(ptr noundef nonnull align 8 dereferenceable(152) %32)
  call void @_ZN9Scheduler3Run8findStopERNS_4StopE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %19, ptr noundef nonnull align 8 dereferenceable(609) %55, ptr noundef nonnull align 8 dereferenceable(152) %32)
  %56 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZN9Scheduler4Stop6getRunEv(ptr noundef nonnull align 8 dereferenceable(152) %44)
  call void @_ZN9Scheduler3Run8findStopERNS_4StopE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %20, ptr noundef nonnull align 8 dereferenceable(609) %56, ptr noundef nonnull align 8 dereferenceable(152) %44)
  call void @_ZN5boost19make_iterator_rangeINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEEENS_14iterator_rangeIT_EES8_S8_(ptr dead_on_unwind nonnull writable sret(%"class.boost::iterator_range") align 8 %18, ptr noundef nonnull %19, ptr noundef nonnull %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  call void @_ZNK5boost21iterator_range_detail19iterator_range_baseINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEENS_9iterators27incrementable_traversal_tagEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %21, ptr noundef nonnull align 8 dereferenceable(16) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  call void @_ZNK5boost21iterator_range_detail19iterator_range_baseINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEENS_9iterators27incrementable_traversal_tagEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %22, ptr noundef nonnull align 8 dereferenceable(16) %18)
  %57 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  br i1 %57, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #6
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationmIERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %17)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler9TimePointpLERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %65

.lr.ph:                                           ; preds = %53, %.lr.ph
  %60 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %60)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %61)
  call void @_ZNK9Scheduler9TimePointplERKNS_8DurationE(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::TimePoint") align 8 %23, ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152) %60, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
  %64 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  br i1 %64, label %.lr.ph, label %._crit_edge

65:                                               ; preds = %51, %._crit_edge, %.lr.ph23
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow12getStartTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIN9Scheduler9TimePointEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152) %44, ptr noundef nonnull align 8 dereferenceable(8) %67)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152) %44)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler10TimeWindow10getEndTimeEv(ptr noundef nonnull align 8 dereferenceable(16) %69)
  call void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::Duration") align 8 %24, ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %70)
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIN9Scheduler8DurationEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %71)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %73 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN9Scheduler8Schedule8getStopsEv(ptr noundef nonnull align 8 dereferenceable(352) %1)
  call void @_ZN5boost9intrusive9list_implIN9Scheduler4Stop20IntrusiveValueTraitsEmLb1EvE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %73)
  call void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %10, ptr noundef nonnull %11, i64 noundef 1)
  %74 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %74, label %.lr.ph23, label %._crit_edge24, !llvm.loop !5

._crit_edge24:                                    ; preds = %65, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %75

75:                                               ; preds = %2, %._crit_edge24
  ret void
}

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEptEv(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(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

declare void @_ZNK9Scheduler23FirstTimeWindowSelector16selectTimeWindowERKNS_4StopE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimeWindow") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(152)) unnamed_addr #2

declare void @_ZN9Scheduler4Stop12setStartTimeERKNS_9TimePointE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIN9Scheduler9TimePointEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler8Schedule8getShiftEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #2

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

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

declare void @_ZNK9Scheduler9TimePointmiERKS0_(ptr dead_on_unwind writable sret(%"class.Scheduler::Duration") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9Scheduler4Stop17getAllocationTimeEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZN9Scheduler8Schedule8getStopsEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

declare void @_ZNK9Scheduler9TimePointplERKNS_8DurationE(ptr dead_on_unwind writable sret(%"class.Scheduler::TimePoint") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler4Stop12getNextRouteEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #2

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

declare noundef zeroext i1 @_ZNK9Scheduler8DurationgtERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIN9Scheduler8DurationEERKT_S4_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

declare void @_ZN9Scheduler8DurationC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5boost19make_iterator_rangeINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEEEENS_14iterator_rangeIT_EES8_S8_(ptr dead_on_unwind noalias writable sret(%"class.boost::iterator_range") align 8, ptr noundef, ptr noundef) local_unnamed_addr #5

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

declare void @_ZN9Scheduler3Run8findStopERNS_4StopE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") 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 void @_ZNK5boost21iterator_range_detail19iterator_range_baseINS_9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb0EEENS_9iterators27incrementable_traversal_tagEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationmIERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler9TimePointpLERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler8DurationaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #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 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 #5 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


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