; LLVM IR from sp-nitech/SPTK :: third_party/REAPER/epoch_tracker (epoch_tracker)

; 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.23" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.sptk::reaper::EpochTracker" = type <{ ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", float, float, float, i32, i32, i32, %"class.std::__cxx11::basic_string", float, float, float, float, i8, i8, [2 x i8], float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::ResidPeak, std::allocator<sptk::reaper::EpochTracker::ResidPeak>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::reaper::EpochTracker::TrackerResults, std::allocator<sptk::reaper::EpochTracker::TrackerResults>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"struct.sptk::reaper::EpochTracker::TrackerResults" = type { i8, float, i32, float }

@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1

; 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
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef) #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker24ResampleAndReturnResultsEfPSt6vectorIfSaIfEES5_(ptr noundef nonnull align 8 dereferenceable(500) %0, float noundef %1, ptr noundef %2, ptr noundef %3) #1 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca float, align 4
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca float, align 4
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store float %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %29 = load ptr, ptr %6, align 8
  %30 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 13
  %31 = load float, ptr %30, align 8, !tbaa !11
  %32 = fpext float %31 to double
  %33 = fcmp ole double %32, 0.000000e+00
  br i1 %33, label %38, label %34

34:                                               ; preds = %4
  %35 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %36 = call noundef i64 @_ZNKSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  %37 = icmp eq i64 %36, 0
  br i1 %37, label %38, label %41

38:                                               ; preds = %34, %4
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.5) #5
  store i1 false, ptr %5, align 1
  br label %214

41:                                               ; preds = %34
  %42 = load float, ptr %7, align 4, !tbaa !9
  %43 = fpext float %42 to double
  %44 = fcmp ole double %43, 0.000000e+00
  br i1 %44, label %45, label %48

45:                                               ; preds = %41
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.6) #5
  store i1 false, ptr %5, align 1
  br label %214

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %49 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %50 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef 0) #5
  %51 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 4, !tbaa !30
  %53 = sitofp i32 %52 to float
  %54 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 13
  %55 = load float, ptr %54, align 8, !tbaa !11
  %56 = fdiv float %53, %55
  %57 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 58
  %58 = load float, ptr %57, align 8, !tbaa !32
  %59 = fadd float %56, %58
  store float %59, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %60 = load float, ptr %10, align 4, !tbaa !9
  %61 = load float, ptr %7, align 4, !tbaa !9
  %62 = fdiv float %60, %61
  %63 = call noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %62)
  store i32 %63, ptr %11, align 4, !tbaa !33
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef 0)
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef 0)
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = call ptr @_ZNSt6vectorIfSaIfEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #5
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %70 = load i32, ptr %11, align 4, !tbaa !33
  %71 = sext i32 %70 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store float 0.000000e+00, ptr %14, align 4, !tbaa !9
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %12, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  %74 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr %73, i64 noundef %71, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %75 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %74, ptr %75, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = call ptr @_ZNSt6vectorIfSaIfEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #5
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  %80 = load i32, ptr %11, align 4, !tbaa !33
  %81 = sext i32 %80 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store float 0.000000e+00, ptr %18, align 4, !tbaa !9
  %82 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.23", ptr %16, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8
  %84 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr %83, i64 noundef %81, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %85 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %84, ptr %85, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %86 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %87 = call noundef i64 @_ZNKSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #5
  %88 = sub i64 %87, 1
  %89 = trunc i64 %88 to i32
  store i32 %89, ptr %20, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %90 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %91 = load i32, ptr %20, align 4, !tbaa !33
  %92 = sext i32 %91 to i64
  %93 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %92) #5
  %94 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %93, i32 0, i32 1
  %95 = load float, ptr %94, align 4, !tbaa !34
  store float %95, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %96 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %97 = load i32, ptr %20, align 4, !tbaa !33
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %98) #5
  %100 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %99, i32 0, i32 3
  %101 = load float, ptr %100, align 4, !tbaa !35
  store float %101, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %102 = load i32, ptr %20, align 4, !tbaa !33
  store i32 %102, ptr %24, align 4, !tbaa !33
  br label %103

103:                                              ; preds = %189, %48
  %104 = load i32, ptr %24, align 4, !tbaa !33
  %105 = icmp sge i32 %104, 0
  br i1 %105, label %107, label %106

106:                                              ; preds = %103
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %192

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %108 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %109 = load i32, ptr %24, align 4, !tbaa !33
  %110 = sext i32 %109 to i64
  %111 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %110) #5
  %112 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %111, i32 0, i32 2
  %113 = load i32, ptr %112, align 4, !tbaa !30
  %114 = sitofp i32 %113 to float
  %115 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 13
  %116 = load float, ptr %115, align 8, !tbaa !11
  %117 = load float, ptr %7, align 4, !tbaa !9
  %118 = fmul float %116, %117
  %119 = fdiv float %114, %118
  %120 = call noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %119)
  store i32 %120, ptr %26, align 4, !tbaa !33
  %121 = load i32, ptr %26, align 4, !tbaa !33
  %122 = load i32, ptr %11, align 4, !tbaa !33
  %123 = icmp sge i32 %121, %122
  br i1 %123, label %124, label %127

124:                                              ; preds = %107
  %125 = load i32, ptr %11, align 4, !tbaa !33
  %126 = sub nsw i32 %125, 1
  store i32 %126, ptr %26, align 4, !tbaa !33
  br label %127

127:                                              ; preds = %124, %107
  %128 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %129 = load i32, ptr %24, align 4, !tbaa !33
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %128, i64 noundef %130) #5
  %132 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %131, i32 0, i32 1
  %133 = load float, ptr %132, align 4, !tbaa !34
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = load i32, ptr %26, align 4, !tbaa !33
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %136) #5
  store float %133, ptr %137, align 4, !tbaa !9
  %138 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %139 = load i32, ptr %24, align 4, !tbaa !33
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %140) #5
  %142 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %141, i32 0, i32 3
  %143 = load float, ptr %142, align 4, !tbaa !35
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = load i32, ptr %26, align 4, !tbaa !33
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %146) #5
  store float %143, ptr %147, align 4, !tbaa !9
  %148 = load i32, ptr %26, align 4, !tbaa !33
  %149 = load i32, ptr %21, align 4, !tbaa !33
  %150 = sub nsw i32 %148, %149
  %151 = icmp sgt i32 %150, 1
  br i1 %151, label %152, label %175

152:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %153 = load i32, ptr %21, align 4, !tbaa !33
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %27, align 4, !tbaa !33
  br label %155

155:                                              ; preds = %171, %152
  %156 = load i32, ptr %27, align 4, !tbaa !33
  %157 = load i32, ptr %26, align 4, !tbaa !33
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %160, label %159

159:                                              ; preds = %155
  store i32 5, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %174

160:                                              ; preds = %155
  %161 = load float, ptr %22, align 4, !tbaa !9
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = load i32, ptr %27, align 4, !tbaa !33
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef %164) #5
  store float %161, ptr %165, align 4, !tbaa !9
  %166 = load float, ptr %23, align 4, !tbaa !9
  %167 = load ptr, ptr %9, align 8, !tbaa !5
  %168 = load i32, ptr %27, align 4, !tbaa !33
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %169) #5
  store float %166, ptr %170, align 4, !tbaa !9
  br label %171

171:                                              ; preds = %160
  %172 = load i32, ptr %27, align 4, !tbaa !33
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %27, align 4, !tbaa !33
  br label %155, !llvm.loop !36

174:                                              ; preds = %159
  br label %175

175:                                              ; preds = %174, %127
  %176 = load i32, ptr %26, align 4, !tbaa !33
  store i32 %176, ptr %21, align 4, !tbaa !33
  %177 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %178 = load i32, ptr %24, align 4, !tbaa !33
  %179 = sext i32 %178 to i64
  %180 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %177, i64 noundef %179) #5
  %181 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %180, i32 0, i32 3
  %182 = load float, ptr %181, align 4, !tbaa !35
  store float %182, ptr %23, align 4, !tbaa !9
  %183 = getelementptr inbounds %"class.sptk::reaper::EpochTracker", ptr %29, i32 0, i32 2
  %184 = load i32, ptr %24, align 4, !tbaa !33
  %185 = sext i32 %184 to i64
  %186 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %183, i64 noundef %185) #5
  %187 = getelementptr inbounds %"struct.sptk::reaper::EpochTracker::TrackerResults", ptr %186, i32 0, i32 1
  %188 = load float, ptr %187, align 4, !tbaa !34
  store float %188, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %189

189:                                              ; preds = %175
  %190 = load i32, ptr %24, align 4, !tbaa !33
  %191 = add nsw i32 %190, -1
  store i32 %191, ptr %24, align 4, !tbaa !33
  br label %103, !llvm.loop !38

192:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %193 = load i32, ptr %21, align 4, !tbaa !33
  store i32 %193, ptr %28, align 4, !tbaa !33
  br label %194

194:                                              ; preds = %210, %192
  %195 = load i32, ptr %28, align 4, !tbaa !33
  %196 = load i32, ptr %11, align 4, !tbaa !33
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %194
  store i32 8, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %213

199:                                              ; preds = %194
  %200 = load float, ptr %22, align 4, !tbaa !9
  %201 = load ptr, ptr %8, align 8, !tbaa !5
  %202 = load i32, ptr %28, align 4, !tbaa !33
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %201, i64 noundef %203) #5
  store float %200, ptr %204, align 4, !tbaa !9
  %205 = load float, ptr %23, align 4, !tbaa !9
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  %207 = load i32, ptr %28, align 4, !tbaa !33
  %208 = sext i32 %207 to i64
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef %208) #5
  store float %205, ptr %209, align 4, !tbaa !9
  br label %210

210:                                              ; preds = %199
  %211 = load i32, ptr %28, align 4, !tbaa !33
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %28, align 4, !tbaa !33
  br label %194, !llvm.loop !39

213:                                              ; preds = %198
  store i1 true, ptr %5, align 1
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %214

214:                                              ; preds = %213, %45, %38
  %215 = load i1, ptr %5, align 1
  ret i1 %215
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 296}
!12 = !{!"_ZTSN4sptk6reaper12EpochTrackerE", !13, i64 8, !17, i64 32, !21, i64 56, !21, i64 80, !21, i64 104, !21, i64 128, !21, i64 152, !21, i64 176, !21, i64 200, !21, i64 224, !21, i64 248, !21, i64 272, !10, i64 296, !10, i64 300, !10, i64 304, !25, i64 308, !25, i64 312, !25, i64 316, !26, i64 320, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !29, i64 368, !29, i64 369, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496}
!13 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIfSaIfEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"int", !7, i64 0}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !27, i64 0, !28, i64 8, !7, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!28 = !{!"long", !7, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{!31, !25, i64 8}
!31 = !{!"_ZTSN4sptk6reaper12EpochTracker14TrackerResultsE", !29, i64 0, !10, i64 4, !25, i64 8, !10, i64 12}
!32 = !{!12, !10, i64 496}
!33 = !{!25, !25, i64 0}
!34 = !{!31, !10, i64 4}
!35 = !{!31, !10, i64 12}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}
!39 = distinct !{!39, !37}


; 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.23" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1

; 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
declare dso_local void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4sptk6reaper12EpochTracker24ResampleAndReturnResultsEfPSt6vectorIfSaIfEES5_(ptr noundef nonnull align 8 dereferenceable(500) %0, float noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca float, align 4
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.23", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca float, align 4
  %11 = getelementptr inbounds i8, ptr %0, i64 296
  %12 = load float, ptr %11, align 8, !tbaa !5
  %13 = fcmp ugt float %12, 0.000000e+00
  br i1 %13, label %14, label %.loopexit.sink.split

14:                                               ; preds = %4
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = tail call noundef i64 @_ZNKSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %17 = icmp eq i64 %16, 0
  br i1 %17, label %.loopexit.sink.split, label %18

18:                                               ; preds = %14
  %19 = fcmp ugt float %1, 0.000000e+00
  br i1 %19, label %20, label %.loopexit.sink.split

20:                                               ; preds = %18
  %21 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 0) #5
  %22 = getelementptr inbounds i8, ptr %21, i64 8
  %23 = load i32, ptr %22, align 4, !tbaa !28
  %24 = sitofp i32 %23 to float
  %25 = load float, ptr %11, align 8, !tbaa !5
  %26 = fdiv float %24, %25
  %27 = getelementptr inbounds i8, ptr %0, i64 496
  %28 = load float, ptr %27, align 8, !tbaa !30
  %29 = fadd float %26, %28
  %30 = fdiv float %29, %1
  %31 = tail call noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %30)
  tail call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0)
  tail call void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %32 = tail call ptr @_ZNSt6vectorIfSaIfEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %32, ptr %6, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %33 = sext i32 %31 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store float 0.000000e+00, ptr %7, align 4, !tbaa !31
  %34 = load ptr, ptr %5, align 8
  %35 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr %34, i64 noundef %33, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %36 = call ptr @_ZNSt6vectorIfSaIfEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  store ptr %36, ptr %9, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store float 0.000000e+00, ptr %10, align 4, !tbaa !31
  %37 = load ptr, ptr %8, align 8
  %38 = call ptr @_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr %37, i64 noundef %33, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %39 = call noundef i64 @_ZNKSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %40 = trunc i64 %39 to i32
  %41 = add i32 %40, -1
  %42 = sext i32 %41 to i64
  %43 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %42) #5
  %44 = getelementptr inbounds i8, ptr %43, i64 4
  %45 = load float, ptr %44, align 4, !tbaa !32
  %46 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %42) #5
  %47 = getelementptr inbounds i8, ptr %46, i64 12
  %48 = load float, ptr %47, align 4, !tbaa !33
  %49 = icmp sgt i32 %41, -1
  br i1 %49, label %.lr.ph71, label %.preheader

.lr.ph71:                                         ; preds = %20
  %50 = add nsw i32 %31, -1
  %51 = zext nneg i32 %41 to i64
  br label %54

.preheader:                                       ; preds = %20
  %52 = icmp sgt i32 %31, 0
  br i1 %52, label %.lr.ph75.preheader, label %.loopexit

.lr.ph75.preheader.loopexit:                      ; preds = %.loopexit64
  %53 = sext i32 %spec.select to i64
  br label %.lr.ph75.preheader

.lr.ph75.preheader:                               ; preds = %.lr.ph75.preheader.loopexit, %.preheader
  %.057.lcssa91 = phi float [ %48, %.preheader ], [ %80, %.lr.ph75.preheader.loopexit ]
  %.058.lcssa90 = phi float [ %45, %.preheader ], [ %83, %.lr.ph75.preheader.loopexit ]
  %.059.lcssa89 = phi i64 [ 0, %.preheader ], [ %53, %.lr.ph75.preheader.loopexit ]
  br label %.lr.ph75

54:                                               ; preds = %.lr.ph71, %.loopexit64
  %indvars.iv78 = phi i64 [ %51, %.lr.ph71 ], [ %indvars.iv.next79, %.loopexit64 ]
  %.05769 = phi float [ %48, %.lr.ph71 ], [ %80, %.loopexit64 ]
  %.05868 = phi float [ %45, %.lr.ph71 ], [ %83, %.loopexit64 ]
  %.05967 = phi i32 [ 0, %.lr.ph71 ], [ %spec.select, %.loopexit64 ]
  %55 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv78) #5
  %56 = getelementptr inbounds i8, ptr %55, i64 8
  %57 = load i32, ptr %56, align 4, !tbaa !28
  %58 = sitofp i32 %57 to float
  %59 = load float, ptr %11, align 8, !tbaa !5
  %60 = fmul float %59, %1
  %61 = fdiv float %58, %60
  %62 = call noundef i32 @_ZN4sptk6reaperL7RoundUpEf(float noundef %61)
  %.not = icmp slt i32 %62, %31
  %spec.select = select i1 %.not, i32 %62, i32 %50
  %63 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv78) #5
  %64 = getelementptr inbounds i8, ptr %63, i64 4
  %65 = load float, ptr %64, align 4, !tbaa !32
  %66 = sext i32 %spec.select to i64
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %66) #5
  store float %65, ptr %67, align 4, !tbaa !31
  %68 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv78) #5
  %69 = getelementptr inbounds i8, ptr %68, i64 12
  %70 = load float, ptr %69, align 4, !tbaa !33
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %66) #5
  store float %70, ptr %71, align 4, !tbaa !31
  %72 = sub nsw i32 %spec.select, %.05967
  %73 = icmp sgt i32 %72, 1
  %.05465 = add i32 %.05967, 1
  %74 = icmp slt i32 %.05465, %spec.select
  %or.cond = and i1 %73, %74
  br i1 %or.cond, label %.lr.ph.preheader, label %.loopexit64

.lr.ph.preheader:                                 ; preds = %54
  %75 = sext i32 %.05465 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %75, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #5
  store float %.05868, ptr %76, align 4, !tbaa !31
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #5
  store float %.05769, ptr %77, align 4, !tbaa !31
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %spec.select, %lftr.wideiv
  br i1 %exitcond.not, label %.loopexit64, label %.lr.ph, !llvm.loop !34

.loopexit64:                                      ; preds = %.lr.ph, %54
  %78 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv78) #5
  %79 = getelementptr inbounds i8, ptr %78, i64 12
  %80 = load float, ptr %79, align 4, !tbaa !33
  %81 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv78) #5
  %82 = getelementptr inbounds i8, ptr %81, i64 4
  %83 = load float, ptr %82, align 4, !tbaa !32
  %indvars.iv.next79 = add nsw i64 %indvars.iv78, -1
  %84 = icmp sgt i64 %indvars.iv78, 0
  br i1 %84, label %54, label %.lr.ph75.preheader.loopexit, !llvm.loop !36

.lr.ph75:                                         ; preds = %.lr.ph75.preheader, %.lr.ph75
  %indvars.iv81 = phi i64 [ %.059.lcssa89, %.lr.ph75.preheader ], [ %indvars.iv.next82, %.lr.ph75 ]
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv81) #5
  store float %.058.lcssa90, ptr %85, align 4, !tbaa !31
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv81) #5
  store float %.057.lcssa91, ptr %86, align 4, !tbaa !31
  %indvars.iv.next82 = add nsw i64 %indvars.iv81, 1
  %lftr.wideiv84 = trunc i64 %indvars.iv.next82 to i32
  %exitcond85.not = icmp eq i32 %31, %lftr.wideiv84
  br i1 %exitcond85.not, label %.loopexit, label %.lr.ph75, !llvm.loop !37

.loopexit.sink.split:                             ; preds = %18, %4, %14
  %.str.6.sink = phi ptr [ @.str.5, %14 ], [ @.str.5, %4 ], [ @.str.6, %18 ]
  %87 = load ptr, ptr @stderr, align 8, !tbaa !38
  %88 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull %.str.6.sink) #6
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph75, %.loopexit.sink.split, %.preheader
  %.060 = phi i1 [ true, %.preheader ], [ false, %.loopexit.sink.split ], [ true, %.lr.ph75 ]
  ret i1 %.060
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEC2IPfvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { cold 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, !22, i64 296}
!6 = !{!"_ZTSN4sptk6reaper12EpochTrackerE", !7, i64 8, !14, i64 32, !18, i64 56, !18, i64 80, !18, i64 104, !18, i64 128, !18, i64 152, !18, i64 176, !18, i64 200, !18, i64 224, !18, i64 248, !18, i64 272, !22, i64 296, !22, i64 300, !22, i64 304, !23, i64 308, !23, i64 312, !23, i64 316, !24, i64 320, !22, i64 352, !22, i64 356, !22, i64 360, !22, i64 364, !27, i64 368, !27, i64 369, !22, i64 372, !22, i64 376, !22, i64 380, !22, i64 384, !22, i64 388, !22, i64 392, !22, i64 396, !22, i64 400, !22, i64 404, !22, i64 408, !22, i64 412, !22, i64 416, !22, i64 420, !22, i64 424, !22, i64 428, !22, i64 432, !22, i64 436, !22, i64 440, !22, i64 444, !22, i64 448, !22, i64 452, !22, i64 456, !22, i64 460, !22, i64 464, !22, i64 468, !22, i64 472, !22, i64 476, !22, i64 480, !22, i64 484, !22, i64 488, !22, i64 492, !22, i64 496}
!7 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker9ResidPeakESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSSt6vectorIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN4sptk6reaper12EpochTracker14TrackerResultsESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!"_ZTSSt6vectorIfSaIfEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!"float", !12, i64 0}
!23 = !{!"int", !12, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !26, i64 8, !12, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!26 = !{!"long", !12, i64 0}
!27 = !{!"bool", !12, i64 0}
!28 = !{!29, !23, i64 8}
!29 = !{!"_ZTSN4sptk6reaper12EpochTracker14TrackerResultsE", !27, i64 0, !22, i64 4, !23, i64 8, !22, i64 12}
!30 = !{!6, !22, i64 496}
!31 = !{!22, !22, i64 0}
!32 = !{!29, !22, i64 4}
!33 = !{!29, !22, i64 12}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}
!38 = !{!11, !11, i64 0}


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