; LLVM IR from wesley-a-leung/Resources :: Tests/C++/datastructures/WaveletMatrixAggregationFuzzTest.ll (Z5test1v)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::mersenne_twister_engine" = type { [312 x i64], i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.WaveletMatrixAggregation = type { i32, i32, [8 x i8], %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_Vector_impl" }
%"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_Vector_impl" = type { %"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_Vector_impl_data" }
%"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_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<R, std::allocator<R>>::_Vector_impl" }
%"struct.std::_Vector_base<R, std::allocator<R>>::_Vector_impl" = type { %"struct.std::_Vector_base<R, std::allocator<R>>::_Vector_impl_data" }
%"struct.std::_Vector_base<R, std::allocator<R>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::less" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type { i8, ptr }
%class.anon = type { ptr }
%"struct.std::_Setprecision" = type { i32 }

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [120 x i8], align 1
@__PRETTY_FUNCTION__._Z5test1v = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test1v() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::chrono::time_point", align 8
  %2 = alloca %"class.std::mersenne_twister_engine", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca i32, align 4
  %19 = alloca %struct.WaveletMatrixAggregation, align 8
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca %"struct.std::less", align 1
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"class.std::vector", align 8
  %39 = alloca i32, align 4
  %40 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %45 = alloca i32, align 4
  %46 = alloca %"struct.std::pair", align 8
  %47 = alloca %class.anon, align 8
  %48 = alloca i32, align 4
  %49 = alloca ptr, align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %52 = alloca ptr, align 8
  %53 = alloca %"class.std::chrono::time_point", align 8
  %54 = alloca double, align 8
  %55 = alloca %"class.std::chrono::duration", align 8
  %56 = alloca %"struct.std::_Setprecision", align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  %57 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  %58 = getelementptr inbounds %"class.std::chrono::time_point", ptr %1, i32 0, i32 0
  %59 = getelementptr inbounds %"class.std::chrono::duration", ptr %58, i32 0, i32 0
  store i64 %57, ptr %59, align 8
  call void @llvm.lifetime.start.p0(i64 2504, ptr %2) #7
  call void @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEC2Em(ptr noundef nonnull align 8 dereferenceable(2504) %2, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 100000, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 100, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 0, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %475, %0
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = icmp slt i32 %61, 100000
  br i1 %62, label %64, label %63

63:                                               ; preds = %60
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %485

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %65 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %66 = urem i64 %65, 101
  %67 = trunc i64 %66 to i32
  store i32 %67, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  %68 = load i32, ptr %8, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %69, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %70 unwind label %76

70:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %88, %70
  %72 = load i32, ptr %14, align 4, !tbaa !5
  %73 = load i32, ptr %8, align 4, !tbaa !5
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %80, label %75

75:                                               ; preds = %71
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %95

76:                                               ; preds = %64
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %12, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %484

80:                                               ; preds = %71
  %81 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %82 unwind label %91

82:                                               ; preds = %80
  %83 = urem i64 %81, 100
  %84 = trunc i64 %83 to i32
  %85 = load i32, ptr %14, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %86) #7
  store i32 %84, ptr %87, align 4, !tbaa !5
  br label %88

88:                                               ; preds = %82
  %89 = load i32, ptr %14, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %14, align 4, !tbaa !5
  br label %71, !llvm.loop !11

91:                                               ; preds = %80
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %12, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %483

95:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  %96 = load i32, ptr %8, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %97, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %98 unwind label %104

98:                                               ; preds = %95
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %116, %98
  %100 = load i32, ptr %18, align 4, !tbaa !5
  %101 = load i32, ptr %8, align 4, !tbaa !5
  %102 = icmp slt i32 %100, %101
  br i1 %102, label %108, label %103

103:                                              ; preds = %99
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %123

104:                                              ; preds = %95
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %12, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %482

108:                                              ; preds = %99
  %109 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %110 unwind label %119

110:                                              ; preds = %108
  %111 = urem i64 %109, 2
  %112 = trunc i64 %111 to i32
  %113 = load i32, ptr %18, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %114) #7
  store i32 %112, ptr %115, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %110
  %117 = load i32, ptr %18, align 4, !tbaa !5
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %18, align 4, !tbaa !5
  br label %99, !llvm.loop !13

119:                                              ; preds = %108
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %12, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %481

123:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 112, ptr %19) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %124 unwind label %141

124:                                              ; preds = %123
  invoke void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEEC2ESt6vectorIiSaIiEERKS6_S2_(ptr noundef nonnull align 8 dereferenceable(112) %19, ptr noundef %20, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %125 unwind label %145

125:                                              ; preds = %124
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %126 = load i32, ptr %8, align 4, !tbaa !5
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %129

128:                                              ; preds = %125
  br label %133

129:                                              ; preds = %125
  %130 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %131 unwind label %149

131:                                              ; preds = %129
  %132 = urem i64 %130, 101
  br label %133

133:                                              ; preds = %131, %128
  %134 = phi i64 [ 0, %128 ], [ %132, %131 ]
  %135 = trunc i64 %134 to i32
  store i32 %135, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %136

136:                                              ; preds = %440, %133
  %137 = load i32, ptr %25, align 4, !tbaa !5
  %138 = load i32, ptr %22, align 4, !tbaa !5
  %139 = icmp slt i32 %137, %138
  br i1 %139, label %153, label %140

140:                                              ; preds = %136
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %444

141:                                              ; preds = %123
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %12, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %13, align 4
  br label %480

145:                                              ; preds = %124
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %12, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %13, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  br label %480

149:                                              ; preds = %129
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %12, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %13, align 4
  br label %479

153:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %154 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %155 unwind label %174

155:                                              ; preds = %153
  %156 = urem i64 %154, 3
  %157 = trunc i64 %156 to i32
  store i32 %157, ptr %26, align 4, !tbaa !5
  %158 = load i32, ptr %26, align 4, !tbaa !5
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %182

160:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %161 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %162 unwind label %178

162:                                              ; preds = %160
  %163 = load i32, ptr %8, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = urem i64 %161, %164
  %166 = trunc i64 %165 to i32
  store i32 %166, ptr %27, align 4, !tbaa !5
  %167 = load i32, ptr %27, align 4, !tbaa !5
  %168 = load i32, ptr %27, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %169) #7
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = xor i32 %171, 1
  store i32 %172, ptr %170, align 4, !tbaa !5
  invoke void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE6updateEiRKi(ptr noundef nonnull align 8 dereferenceable(112) %19, i32 noundef %167, ptr noundef nonnull align 4 dereferenceable(4) %170)
          to label %173 unwind label %178

173:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %439

174:                                              ; preds = %153
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %12, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %13, align 4
  br label %443

178:                                              ; preds = %162, %160
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %12, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %443

182:                                              ; preds = %155
  %183 = load i32, ptr %26, align 4, !tbaa !5
  %184 = icmp eq i32 %183, 1
  br i1 %184, label %185, label %283

185:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %186 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %187 unwind label %210

187:                                              ; preds = %185
  %188 = load i32, ptr %8, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = urem i64 %186, %189
  %191 = trunc i64 %190 to i32
  store i32 %191, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %192 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %193 unwind label %214

193:                                              ; preds = %187
  %194 = load i32, ptr %8, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = urem i64 %192, %195
  %197 = trunc i64 %196 to i32
  store i32 %197, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  %198 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %199 unwind label %218

199:                                              ; preds = %193
  %200 = urem i64 %198, 100
  %201 = trunc i64 %200 to i32
  store i32 %201, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %202 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %203 unwind label %222

203:                                              ; preds = %199
  %204 = urem i64 %202, 100
  %205 = trunc i64 %204 to i32
  store i32 %205, ptr %31, align 4, !tbaa !5
  %206 = load i32, ptr %28, align 4, !tbaa !5
  %207 = load i32, ptr %29, align 4, !tbaa !5
  %208 = icmp sgt i32 %206, %207
  br i1 %208, label %209, label %226

209:                                              ; preds = %203
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29) #7
  br label %226

210:                                              ; preds = %185
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %12, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %13, align 4
  br label %282

214:                                              ; preds = %187
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %12, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %13, align 4
  br label %281

218:                                              ; preds = %193
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %12, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %13, align 4
  br label %280

222:                                              ; preds = %199
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %12, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %13, align 4
  br label %279

226:                                              ; preds = %209, %203
  %227 = load i32, ptr %30, align 4, !tbaa !5
  %228 = load i32, ptr %31, align 4, !tbaa !5
  %229 = icmp sgt i32 %227, %228
  br i1 %229, label %230, label %231

230:                                              ; preds = %226
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31) #7
  br label %231

231:                                              ; preds = %230, %226
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  store i32 0, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %232 = load i32, ptr %28, align 4, !tbaa !5
  store i32 %232, ptr %33, align 4, !tbaa !5
  br label %233

233:                                              ; preds = %260, %231
  %234 = load i32, ptr %33, align 4, !tbaa !5
  %235 = load i32, ptr %29, align 4, !tbaa !5
  %236 = icmp sle i32 %234, %235
  br i1 %236, label %238, label %237

237:                                              ; preds = %233
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %263

238:                                              ; preds = %233
  %239 = load i32, ptr %30, align 4, !tbaa !5
  %240 = load i32, ptr %33, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %241) #7
  %243 = load i32, ptr %242, align 4, !tbaa !5
  %244 = icmp sle i32 %239, %243
  br i1 %244, label %245, label %259

245:                                              ; preds = %238
  %246 = load i32, ptr %33, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %247) #7
  %249 = load i32, ptr %248, align 4, !tbaa !5
  %250 = load i32, ptr %31, align 4, !tbaa !5
  %251 = icmp sle i32 %249, %250
  br i1 %251, label %252, label %259

252:                                              ; preds = %245
  %253 = load i32, ptr %33, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %254) #7
  %256 = load i32, ptr %255, align 4, !tbaa !5
  %257 = load i32, ptr %32, align 4, !tbaa !5
  %258 = add nsw i32 %257, %256
  store i32 %258, ptr %32, align 4, !tbaa !5
  br label %259

259:                                              ; preds = %252, %245, %238
  br label %260

260:                                              ; preds = %259
  %261 = load i32, ptr %33, align 4, !tbaa !5
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %33, align 4, !tbaa !5
  br label %233, !llvm.loop !14

263:                                              ; preds = %237
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %264 unwind label %270

264:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %265 = load i32, ptr %28, align 4, !tbaa !5
  %266 = load i32, ptr %29, align 4, !tbaa !5
  %267 = invoke noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKiS5_(ptr noundef nonnull align 8 dereferenceable(112) %19, i32 noundef %265, i32 noundef %266, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %268 unwind label %274

268:                                              ; preds = %264
  store i32 %267, ptr %34, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %269 unwind label %274

269:                                              ; preds = %268
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %438

270:                                              ; preds = %263
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %12, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %13, align 4
  br label %278

274:                                              ; preds = %268, %264
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %12, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %278

278:                                              ; preds = %274, %270
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  br label %279

279:                                              ; preds = %278, %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %280

280:                                              ; preds = %279, %218
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %281

281:                                              ; preds = %280, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %282

282:                                              ; preds = %281, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %443

283:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  %284 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %285 unwind label %300

285:                                              ; preds = %283
  %286 = load i32, ptr %8, align 4, !tbaa !5
  %287 = sext i32 %286 to i64
  %288 = urem i64 %284, %287
  %289 = trunc i64 %288 to i32
  store i32 %289, ptr %35, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  %290 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %291 unwind label %304

291:                                              ; preds = %285
  %292 = load i32, ptr %8, align 4, !tbaa !5
  %293 = sext i32 %292 to i64
  %294 = urem i64 %290, %293
  %295 = trunc i64 %294 to i32
  store i32 %295, ptr %36, align 4, !tbaa !5
  %296 = load i32, ptr %35, align 4, !tbaa !5
  %297 = load i32, ptr %36, align 4, !tbaa !5
  %298 = icmp sgt i32 %296, %297
  br i1 %298, label %299, label %308

299:                                              ; preds = %291
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36) #7
  br label %308

300:                                              ; preds = %283
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %12, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %13, align 4
  br label %437

304:                                              ; preds = %285
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %12, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %13, align 4
  br label %436

308:                                              ; preds = %299, %291
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %309 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %310 unwind label %326

310:                                              ; preds = %308
  %311 = load i32, ptr %35, align 4, !tbaa !5
  %312 = load i32, ptr %36, align 4, !tbaa !5
  %313 = invoke noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKi(ptr noundef nonnull align 8 dereferenceable(112) %19, i32 noundef %311, i32 noundef %312, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %314 unwind label %326

314:                                              ; preds = %310
  %315 = add nsw i32 %313, 1
  %316 = mul nsw i32 %315, 2
  %317 = sext i32 %316 to i64
  %318 = urem i64 %309, %317
  %319 = trunc i64 %318 to i32
  store i32 %319, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  %320 = load i32, ptr %35, align 4, !tbaa !5
  store i32 %320, ptr %39, align 4, !tbaa !5
  br label %321

321:                                              ; preds = %346, %314
  %322 = load i32, ptr %39, align 4, !tbaa !5
  %323 = load i32, ptr %36, align 4, !tbaa !5
  %324 = icmp sle i32 %322, %323
  br i1 %324, label %330, label %325

325:                                              ; preds = %321
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %349

326:                                              ; preds = %310, %308
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %12, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %13, align 4
  br label %435

330:                                              ; preds = %321
  %331 = load i32, ptr %39, align 4, !tbaa !5
  %332 = sext i32 %331 to i64
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %332) #7
  %334 = load i32, ptr %333, align 4, !tbaa !5
  %335 = icmp ne i32 %334, 0
  br i1 %335, label %336, label %345

336:                                              ; preds = %330
  %337 = load i32, ptr %39, align 4, !tbaa !5
  %338 = sext i32 %337 to i64
  %339 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %338) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %339)
          to label %340 unwind label %341

340:                                              ; preds = %336
  br label %345

341:                                              ; preds = %336
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %12, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %434

345:                                              ; preds = %340, %330
  br label %346

346:                                              ; preds = %345
  %347 = load i32, ptr %39, align 4, !tbaa !5
  %348 = add nsw i32 %347, 1
  store i32 %348, ptr %39, align 4, !tbaa !5
  br label %321, !llvm.loop !15

349:                                              ; preds = %325
  %350 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  %351 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %350, ptr %351, align 8
  %352 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  %353 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %352, ptr %353, align 8
  %354 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  %355 = load ptr, ptr %354, align 8
  %356 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  %357 = load ptr, ptr %356, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %355, ptr %357)
          to label %358 unwind label %375

358:                                              ; preds = %349
  %359 = load i32, ptr %37, align 4, !tbaa !5
  %360 = icmp eq i32 %359, 0
  br i1 %360, label %361, label %383

361:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %362 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %363 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %43, i32 0, i32 0
  store ptr %362, ptr %363, align 8
  %364 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %365 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %44, i32 0, i32 0
  store ptr %364, ptr %365, align 8
  %366 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %43, i32 0, i32 0
  %367 = load ptr, ptr %366, align 8
  %368 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %44, i32 0, i32 0
  %369 = load ptr, ptr %368, align 8
  %370 = invoke ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr %367, ptr %369)
          to label %371 unwind label %379

371:                                              ; preds = %361
  %372 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  store ptr %370, ptr %372, align 8
  %373 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %373)
          to label %374 unwind label %379

374:                                              ; preds = %371
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br label %402

375:                                              ; preds = %389, %349
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %12, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %13, align 4
  br label %434

379:                                              ; preds = %371, %361
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %12, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  br label %434

383:                                              ; preds = %358
  %384 = load i32, ptr %37, align 4, !tbaa !5
  %385 = sub nsw i32 %384, 1
  %386 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  %387 = trunc i64 %386 to i32
  %388 = icmp slt i32 %385, %387
  br i1 %388, label %389, label %395

389:                                              ; preds = %383
  %390 = load i32, ptr %37, align 4, !tbaa !5
  %391 = sub nsw i32 %390, 1
  %392 = sext i32 %391 to i64
  %393 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %392) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %393)
          to label %394 unwind label %375

394:                                              ; preds = %389
  br label %401

395:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  store i32 2147483647, ptr %45, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %396 unwind label %397

396:                                              ; preds = %395
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %401

397:                                              ; preds = %395
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %12, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %434

401:                                              ; preds = %396, %394
  br label %402

402:                                              ; preds = %401, %374
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #7
  %403 = load i32, ptr %35, align 4, !tbaa !5
  %404 = load i32, ptr %36, align 4, !tbaa !5
  %405 = getelementptr inbounds %class.anon, ptr %47, i32 0, i32 0
  store ptr %37, ptr %405, align 8, !tbaa !16
  %406 = getelementptr inbounds %class.anon, ptr %47, i32 0, i32 0
  %407 = load ptr, ptr %406, align 8
  %408 = invoke { i8, ptr } @"_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE7bsearchIZ5test1vE3$_0EESt4pairIbPiEiiT_"(ptr noundef nonnull align 8 dereferenceable(112) %19, i32 noundef %403, i32 noundef %404, ptr %407)
          to label %409 unwind label %425

409:                                              ; preds = %402
  %410 = getelementptr inbounds { i8, ptr }, ptr %46, i32 0, i32 0
  %411 = extractvalue { i8, ptr } %408, 0
  store i8 %411, ptr %410, align 8
  %412 = getelementptr inbounds { i8, ptr }, ptr %46, i32 0, i32 1
  %413 = extractvalue { i8, ptr } %408, 1
  store ptr %413, ptr %412, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  %414 = getelementptr inbounds %"struct.std::pair", ptr %46, i32 0, i32 0
  %415 = load i8, ptr %414, align 8, !tbaa !18, !range !21, !noundef !22
  %416 = trunc i8 %415 to i1
  br i1 %416, label %417, label %421

417:                                              ; preds = %409
  %418 = getelementptr inbounds %"struct.std::pair", ptr %46, i32 0, i32 1
  %419 = load ptr, ptr %418, align 8, !tbaa !23
  %420 = load i32, ptr %419, align 4, !tbaa !5
  br label %422

421:                                              ; preds = %409
  br label %422

422:                                              ; preds = %421, %417
  %423 = phi i32 [ %420, %417 ], [ 2147483647, %421 ]
  store i32 %423, ptr %48, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %424 unwind label %429

424:                                              ; preds = %422
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %438

425:                                              ; preds = %402
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %12, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %13, align 4
  br label %433

429:                                              ; preds = %422
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %12, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %433

433:                                              ; preds = %429, %425
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  br label %434

434:                                              ; preds = %433, %397, %379, %375, %341
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #7
  br label %435

435:                                              ; preds = %434, %326
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %436

436:                                              ; preds = %435, %304
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  br label %437

437:                                              ; preds = %436, %300
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %443

438:                                              ; preds = %424, %269
  br label %439

439:                                              ; preds = %438, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %440

440:                                              ; preds = %439
  %441 = load i32, ptr %25, align 4, !tbaa !5
  %442 = add nsw i32 %441, 1
  store i32 %442, ptr %25, align 4, !tbaa !5
  br label %136, !llvm.loop !24

443:                                              ; preds = %437, %282, %178, %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %478

444:                                              ; preds = %140
  %445 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %446 unwind label %449

446:                                              ; preds = %444
  br i1 %445, label %447, label %448

447:                                              ; preds = %446
  br label %454

448:                                              ; preds = %446
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 63, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

449:                                              ; preds = %444
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %12, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %13, align 4
  br label %478

453:                                              ; No predecessors!
  br label %454

454:                                              ; preds = %453, %447
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #7
  store ptr %23, ptr %49, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  %455 = load ptr, ptr %49, align 8, !tbaa !16
  %456 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %455) #7
  %457 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %50, i32 0, i32 0
  store ptr %456, ptr %457, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  %458 = load ptr, ptr %49, align 8, !tbaa !16
  %459 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %458) #7
  %460 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %51, i32 0, i32 0
  store ptr %459, ptr %460, align 8
  br label %461

461:                                              ; preds = %472, %454
  %462 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  br i1 %462, label %464, label %463

463:                                              ; preds = %461
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #7
  br label %474

464:                                              ; preds = %461
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  %465 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  store ptr %465, ptr %52, align 8, !tbaa !16
  %466 = load i64, ptr %5, align 8, !tbaa !9
  %467 = mul nsw i64 31, %466
  %468 = load ptr, ptr %52, align 8, !tbaa !16
  %469 = load i32, ptr %468, align 4, !tbaa !5
  %470 = sext i32 %469 to i64
  %471 = add nsw i64 %467, %470
  store i64 %471, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  br label %472

472:                                              ; preds = %464
  %473 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  br label %461

474:                                              ; preds = %463
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %475

475:                                              ; preds = %474
  %476 = load i32, ptr %6, align 4, !tbaa !5
  %477 = add nsw i32 %476, 1
  store i32 %477, ptr %6, align 4, !tbaa !5
  br label %60, !llvm.loop !25

478:                                              ; preds = %449, %443
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %479

479:                                              ; preds = %478, %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #7
  br label %480

480:                                              ; preds = %479, %145, %141
  call void @llvm.lifetime.end.p0(i64 112, ptr %19) #7
  br label %481

481:                                              ; preds = %480, %119
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %482

482:                                              ; preds = %481, %104
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  br label %483

483:                                              ; preds = %482, %91
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %484

484:                                              ; preds = %483, %76
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 2504, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %511

485:                                              ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #7
  %486 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  %487 = getelementptr inbounds %"class.std::chrono::time_point", ptr %53, i32 0, i32 0
  %488 = getelementptr inbounds %"class.std::chrono::duration", ptr %487, i32 0, i32 0
  store i64 %486, ptr %488, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #7
  %489 = call i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %490 = getelementptr inbounds %"class.std::chrono::duration", ptr %55, i32 0, i32 0
  store i64 %489, ptr %490, align 8
  %491 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %55)
  %492 = sitofp i64 %491 to double
  %493 = fdiv double %492, 1.000000e+09
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #7
  store double %493, ptr %54, align 8, !tbaa !26
  %494 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %495 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %494, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %496 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %497 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %496, ptr noundef @_ZSt5fixedRSt8ios_base)
  %498 = call i32 @_ZSt12setprecisioni(i32 noundef 3)
  %499 = getelementptr inbounds %"struct.std::_Setprecision", ptr %56, i32 0, i32 0
  store i32 %498, ptr %499, align 4
  %500 = getelementptr inbounds %"struct.std::_Setprecision", ptr %56, i32 0, i32 0
  %501 = load i32, ptr %500, align 4
  %502 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %497, i32 %501)
  %503 = load double, ptr %54, align 8, !tbaa !26
  %504 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %502, double noundef %503)
  %505 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %504, ptr noundef @.str.4)
  %506 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %505, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %507 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %508 = load i64, ptr %5, align 8, !tbaa !9
  %509 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %507, i64 noundef %508)
  %510 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %509, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 2504, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  ret void

511:                                              ; preds = %484
  %512 = load ptr, ptr %12, align 8
  %513 = load i32, ptr %13, align 4
  %514 = insertvalue { ptr, i32 } poison, ptr %512, 0
  %515 = insertvalue { ptr, i32 } %514, i32 %513, 1
  resume { ptr, i32 } %515
}

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

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504)) #0 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE6updateEiRKi(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKiS5_(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKi(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr, ptr) #5

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

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

; Function Attrs: mustprogress uwtable
declare hidden { i8, ptr } @"_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE7bsearchIZ5test1vE3$_0EESt4pairIbPiEiiT_"(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr) #0 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #0 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTSSt4pairIbPiE", !20, i64 0, !17, i64 8}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!19, !17, i64 8}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !7, i64 0}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::mersenne_twister_engine" = type { [312 x i64], i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.WaveletMatrixAggregation = type { i32, i32, [8 x i8], %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_Vector_impl" }
%"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_Vector_impl" = type { %"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_Vector_impl_data" }
%"struct.std::_Vector_base<BitPrefixSumArray, std::allocator<BitPrefixSumArray>>::_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<R, std::allocator<R>>::_Vector_impl" }
%"struct.std::_Vector_base<R, std::allocator<R>>::_Vector_impl" = type { %"struct.std::_Vector_base<R, std::allocator<R>>::_Vector_impl_data" }
%"struct.std::_Vector_base<R, std::allocator<R>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [120 x i8], align 1
@__PRETTY_FUNCTION__._Z5test1v = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test1v() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::chrono::time_point", align 8
  %2 = alloca %"class.std::mersenne_twister_engine", align 8
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %struct.WaveletMatrixAggregation, align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"class.std::chrono::time_point", align 8
  %30 = alloca %"class.std::chrono::duration", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  %31 = tail call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %31, ptr %1, align 8
  call void @llvm.lifetime.start.p0(i64 2504, ptr nonnull %2) #8
  call void @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEC2Em(ptr noundef nonnull align 8 dereferenceable(2504) %2, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 100, ptr %3, align 4, !tbaa !5
  br label %50

32:                                               ; preds = %._crit_edge153
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  %33 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %33, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #8
  %34 = call i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %1)
  store i64 %34, ptr %30, align 8
  %35 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
  %36 = sitofp i64 %35 to double
  %37 = fdiv double %36, 1.000000e+09
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %42 = call i32 @_ZSt12setprecisioni(i32 noundef 3)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %41, i32 %42)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %43, double noundef %37)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull @.str.4)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %47, i64 noundef %.1.lcssa)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  ret void

50:                                               ; preds = %0, %._crit_edge153
  %.0155 = phi i64 [ 0, %0 ], [ %.1.lcssa, %._crit_edge153 ]
  %.048154 = phi i32 [ 0, %0 ], [ %274, %._crit_edge153 ]
  %51 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %52 = urem i64 %51, 101
  %53 = trunc nuw nsw i64 %52 to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  store i32 0, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %52, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %54 unwind label %55

54:                                               ; preds = %50
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  %.not156 = icmp eq i64 %52, 0
  br i1 %.not156, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %54
  %umax = call i32 @llvm.umax.i32(i32 %53, i32 1)
  %wide.trip.count = zext nneg i32 %umax to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %58, %54
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %52, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %64 unwind label %65

55:                                               ; preds = %50
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  br label %288

.lr.ph:                                           ; preds = %.lr.ph.preheader, %58
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %58 ]
  %57 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %58 unwind label %62

58:                                               ; preds = %.lr.ph
  %59 = urem i64 %57, 100
  %60 = trunc nuw nsw i64 %59 to i32
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #8
  store i32 %60, ptr %61, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

62:                                               ; preds = %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %287

64:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  br i1 %.not156, label %._crit_edge135, label %.lr.ph134.preheader

.lr.ph134.preheader:                              ; preds = %64
  %umax163 = call i32 @llvm.umax.i32(i32 %53, i32 1)
  %wide.trip.count164 = zext nneg i32 %umax163 to i64
  br label %.lr.ph134

._crit_edge135:                                   ; preds = %68, %64
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %10) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %74 unwind label %84

65:                                               ; preds = %._crit_edge
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  br label %286

.lr.ph134:                                        ; preds = %.lr.ph134.preheader, %68
  %indvars.iv160 = phi i64 [ 0, %.lr.ph134.preheader ], [ %indvars.iv.next161, %68 ]
  %67 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %68 unwind label %72

68:                                               ; preds = %.lr.ph134
  %69 = trunc i64 %67 to i32
  %70 = and i32 %69, 1
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv160) #8
  store i32 %70, ptr %71, align 4, !tbaa !5
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %exitcond165.not = icmp eq i64 %indvars.iv.next161, %wide.trip.count164
  br i1 %exitcond165.not, label %._crit_edge135, label %.lr.ph134, !llvm.loop !11

72:                                               ; preds = %.lr.ph134
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %285

74:                                               ; preds = %._crit_edge135
  invoke void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEEC2ESt6vectorIiSaIiEERKS6_S2_(ptr noundef nonnull align 8 dereferenceable(112) %10, ptr noundef nonnull %11, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %75 unwind label %86

75:                                               ; preds = %74
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br i1 %.not156, label %80, label %76

76:                                               ; preds = %75
  %77 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %78 unwind label %88

78:                                               ; preds = %76
  %79 = urem i64 %77, 101
  br label %80

80:                                               ; preds = %75, %78
  %81 = phi i64 [ %79, %78 ], [ 0, %75 ]
  %82 = trunc nuw nsw i64 %81 to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %.not158 = icmp eq i64 %81, 0
  br i1 %.not158, label %._crit_edge149, label %.lr.ph148

._crit_edge149:                                   ; preds = %264, %80
  %83 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %266 unwind label %268

84:                                               ; preds = %._crit_edge135
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %284

86:                                               ; preds = %74
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %284

88:                                               ; preds = %76
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %283

.lr.ph148:                                        ; preds = %80, %264
  %.071146 = phi i32 [ %265, %264 ], [ 0, %80 ]
  %90 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %91 unwind label %101

91:                                               ; preds = %.lr.ph148
  %92 = urem i64 %90, 3
  switch i64 %92, label %173 [
    i64 0, label %93
    i64 1, label %105
  ]

93:                                               ; preds = %91
  %94 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %95 unwind label %103

95:                                               ; preds = %93
  %96 = urem i64 %94, %52
  %97 = trunc nuw nsw i64 %96 to i32
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %96) #8
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = xor i32 %99, 1
  store i32 %100, ptr %98, align 4, !tbaa !5
  invoke void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE6updateEiRKi(ptr noundef nonnull align 8 dereferenceable(112) %10, i32 noundef %97, ptr noundef nonnull align 4 dereferenceable(4) %98)
          to label %264 unwind label %103

101:                                              ; preds = %.lr.ph148
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %282

103:                                              ; preds = %95, %93
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %282

105:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  %106 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %107 unwind label %126

107:                                              ; preds = %105
  %108 = urem i64 %106, %52
  %109 = trunc nuw nsw i64 %108 to i32
  store i32 %109, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  %110 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %111 unwind label %128

111:                                              ; preds = %107
  %112 = urem i64 %110, %52
  %113 = trunc nuw nsw i64 %112 to i32
  store i32 %113, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  %114 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %115 unwind label %130

115:                                              ; preds = %111
  %116 = urem i64 %114, 100
  %117 = trunc nuw nsw i64 %116 to i32
  store i32 %117, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  %118 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %119 unwind label %132

119:                                              ; preds = %115
  %120 = urem i64 %118, 100
  %121 = trunc nuw nsw i64 %120 to i32
  store i32 %121, ptr %17, align 4, !tbaa !5
  %122 = load i32, ptr %14, align 4, !tbaa !5
  %123 = load i32, ptr %15, align 4, !tbaa !5
  %124 = icmp sgt i32 %122, %123
  br i1 %124, label %125, label %134

125:                                              ; preds = %119
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15) #8
  %.pre = load i32, ptr %17, align 4, !tbaa !5
  br label %134

126:                                              ; preds = %105
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %172

128:                                              ; preds = %107
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %171

130:                                              ; preds = %111
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %170

132:                                              ; preds = %115
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %169

134:                                              ; preds = %125, %119
  %135 = phi i32 [ %.pre, %125 ], [ %121, %119 ]
  %136 = load i32, ptr %16, align 4, !tbaa !5
  %137 = icmp sgt i32 %136, %135
  br i1 %137, label %138, label %139

138:                                              ; preds = %134
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17) #8
  br label %139

139:                                              ; preds = %138, %134
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  %140 = load i32, ptr %14, align 4, !tbaa !5
  %141 = load i32, ptr %15, align 4, !tbaa !5
  %.not85136 = icmp sgt i32 %140, %141
  br i1 %.not85136, label %._crit_edge140, label %.lr.ph139.preheader

.lr.ph139.preheader:                              ; preds = %139
  %142 = sext i32 %140 to i64
  br label %.lr.ph139

._crit_edge140:                                   ; preds = %155, %139
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %158 unwind label %164

.lr.ph139:                                        ; preds = %.lr.ph139.preheader, %155
  %indvars.iv166 = phi i64 [ %142, %.lr.ph139.preheader ], [ %indvars.iv.next167, %155 ]
  %143 = load i32, ptr %16, align 4, !tbaa !5
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv166) #8
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %.not92 = icmp sgt i32 %143, %145
  br i1 %.not92, label %155, label %146

146:                                              ; preds = %.lr.ph139
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv166) #8
  %148 = load i32, ptr %147, align 4, !tbaa !5
  %149 = load i32, ptr %17, align 4, !tbaa !5
  %.not93 = icmp sgt i32 %148, %149
  br i1 %.not93, label %155, label %150

150:                                              ; preds = %146
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv166) #8
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = load i32, ptr %18, align 4, !tbaa !5
  %154 = add nsw i32 %153, %152
  store i32 %154, ptr %18, align 4, !tbaa !5
  br label %155

155:                                              ; preds = %.lr.ph139, %146, %150
  %indvars.iv.next167 = add nsw i64 %indvars.iv166, 1
  %156 = load i32, ptr %15, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %.not85.not = icmp slt i64 %indvars.iv166, %157
  br i1 %.not85.not, label %.lr.ph139, label %._crit_edge140, !llvm.loop !12

158:                                              ; preds = %._crit_edge140
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  %159 = load i32, ptr %14, align 4, !tbaa !5
  %160 = load i32, ptr %15, align 4, !tbaa !5
  %161 = invoke noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKiS5_(ptr noundef nonnull align 8 dereferenceable(112) %10, i32 noundef %159, i32 noundef %160, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %162 unwind label %166

162:                                              ; preds = %158
  store i32 %161, ptr %19, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %163 unwind label %166

163:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  br label %264

164:                                              ; preds = %._crit_edge140
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %168

166:                                              ; preds = %162, %158
  %167 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  br label %168

168:                                              ; preds = %166, %164
  %.pn86 = phi { ptr, i32 } [ %167, %166 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  br label %169

169:                                              ; preds = %168, %132
  %.pn86.pn = phi { ptr, i32 } [ %.pn86, %168 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  br label %170

170:                                              ; preds = %169, %130
  %.pn86.pn.pn = phi { ptr, i32 } [ %.pn86.pn, %169 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  br label %171

171:                                              ; preds = %170, %128
  %.pn86.pn.pn.pn = phi { ptr, i32 } [ %.pn86.pn.pn, %170 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  br label %172

172:                                              ; preds = %171, %126
  %.pn86.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn86.pn.pn.pn, %171 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  br label %282

173:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #8
  %174 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %175 unwind label %185

175:                                              ; preds = %173
  %176 = urem i64 %174, %52
  %177 = trunc nuw nsw i64 %176 to i32
  store i32 %177, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #8
  %178 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %179 unwind label %187

179:                                              ; preds = %175
  %180 = urem i64 %178, %52
  %181 = trunc nuw nsw i64 %180 to i32
  store i32 %181, ptr %21, align 4, !tbaa !5
  %182 = load i32, ptr %20, align 4, !tbaa !5
  %183 = icmp sgt i32 %182, %181
  br i1 %183, label %184, label %189

184:                                              ; preds = %179
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21) #8
  br label %189

185:                                              ; preds = %173
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %263

187:                                              ; preds = %175
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %262

189:                                              ; preds = %184, %179
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #8
  %190 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %191 unwind label %206

191:                                              ; preds = %189
  %192 = load i32, ptr %20, align 4, !tbaa !5
  %193 = load i32, ptr %21, align 4, !tbaa !5
  %194 = invoke noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKi(ptr noundef nonnull align 8 dereferenceable(112) %10, i32 noundef %192, i32 noundef %193, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %195 unwind label %206

195:                                              ; preds = %191
  %196 = shl i32 %194, 1
  %197 = add i32 %196, 2
  %198 = sext i32 %197 to i64
  %199 = urem i64 %190, %198
  %200 = trunc i64 %199 to i32
  store i32 %200, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  %201 = load i32, ptr %20, align 4, !tbaa !5
  %202 = load i32, ptr %21, align 4, !tbaa !5
  %.not141 = icmp sgt i32 %201, %202
  br i1 %.not141, label %._crit_edge145, label %.lr.ph144.preheader

.lr.ph144.preheader:                              ; preds = %195
  %203 = sext i32 %201 to i64
  br label %.lr.ph144

._crit_edge145:                                   ; preds = %214, %195
  %204 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  %205 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %204, ptr %205)
          to label %217 unwind label %227

206:                                              ; preds = %191, %189
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %261

.lr.ph144:                                        ; preds = %.lr.ph144.preheader, %214
  %indvars.iv169 = phi i64 [ %203, %.lr.ph144.preheader ], [ %indvars.iv.next170, %214 ]
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv169) #8
  %209 = load i32, ptr %208, align 4, !tbaa !5
  %.not79 = icmp eq i32 %209, 0
  br i1 %.not79, label %214, label %210

210:                                              ; preds = %.lr.ph144
  %211 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv169) #8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %211)
          to label %214 unwind label %212

212:                                              ; preds = %210
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %260

214:                                              ; preds = %.lr.ph144, %210
  %indvars.iv.next170 = add nsw i64 %indvars.iv169, 1
  %215 = load i32, ptr %21, align 4, !tbaa !5
  %216 = sext i32 %215 to i64
  %.not.not = icmp slt i64 %indvars.iv169, %216
  br i1 %.not.not, label %.lr.ph144, label %._crit_edge145, !llvm.loop !13

217:                                              ; preds = %._crit_edge145
  %218 = load i32, ptr %22, align 4, !tbaa !5
  %219 = icmp eq i32 %218, 0
  br i1 %219, label %220, label %231

220:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  %221 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %222 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %223 = invoke ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr %221, ptr %222)
          to label %224 unwind label %229

224:                                              ; preds = %220
  store ptr %223, ptr %24, align 8
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %225)
          to label %226 unwind label %229

226:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %243

227:                                              ; preds = %234, %._crit_edge145
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %260

229:                                              ; preds = %224, %220
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %260

231:                                              ; preds = %217
  %232 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  %233 = trunc i64 %232 to i32
  %.not77 = icmp sgt i32 %218, %233
  br i1 %.not77, label %239, label %234

234:                                              ; preds = %231
  %235 = load i32, ptr %22, align 4, !tbaa !5
  %236 = add nsw i32 %235, -1
  %237 = sext i32 %236 to i64
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %237) #8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %238)
          to label %243 unwind label %227

239:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #8
  store i32 2147483647, ptr %25, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %240 unwind label %241

240:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #8
  br label %243

241:                                              ; preds = %239
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #8
  br label %260

243:                                              ; preds = %240, %234, %226
  %244 = load i32, ptr %20, align 4, !tbaa !5
  %245 = load i32, ptr %21, align 4, !tbaa !5
  %246 = invoke { i8, ptr } @"_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE7bsearchIZ5test1vE3$_0EESt4pairIbPiEiiT_"(ptr noundef nonnull align 8 dereferenceable(112) %10, i32 noundef %244, i32 noundef %245, ptr nonnull %22)
          to label %247 unwind label %256

247:                                              ; preds = %243
  %248 = extractvalue { i8, ptr } %246, 0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #8
  %249 = trunc i8 %248 to i1
  br i1 %249, label %250, label %253

250:                                              ; preds = %247
  %251 = extractvalue { i8, ptr } %246, 1
  %252 = load i32, ptr %251, align 4, !tbaa !5
  br label %253

253:                                              ; preds = %247, %250
  %254 = phi i32 [ %252, %250 ], [ 2147483647, %247 ]
  store i32 %254, ptr %26, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %255 unwind label %258

255:                                              ; preds = %253
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  br label %264

256:                                              ; preds = %243
  %257 = landingpad { ptr, i32 }
          cleanup
  br label %260

258:                                              ; preds = %253
  %259 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #8
  br label %260

260:                                              ; preds = %256, %258, %241, %229, %227, %212
  %.pn80 = phi { ptr, i32 } [ %213, %212 ], [ %230, %229 ], [ %228, %227 ], [ %242, %241 ], [ %259, %258 ], [ %257, %256 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  br label %261

261:                                              ; preds = %260, %206
  %.pn80.pn = phi { ptr, i32 } [ %.pn80, %260 ], [ %207, %206 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  br label %262

262:                                              ; preds = %261, %187
  %.pn80.pn.pn = phi { ptr, i32 } [ %.pn80.pn, %261 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  br label %263

263:                                              ; preds = %262, %185
  %.pn80.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn, %262 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  br label %282

264:                                              ; preds = %95, %163, %255
  %265 = add nuw nsw i32 %.071146, 1
  %exitcond172.not = icmp eq i32 %265, %82
  br i1 %exitcond172.not, label %._crit_edge149, label %.lr.ph148, !llvm.loop !14

266:                                              ; preds = %._crit_edge149
  br i1 %83, label %270, label %267

267:                                              ; preds = %266
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 63, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

268:                                              ; preds = %._crit_edge149
  %269 = landingpad { ptr, i32 }
          cleanup
  br label %282

270:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %271 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  store ptr %271, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  %272 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  store ptr %272, ptr %28, align 8
  %273 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br i1 %273, label %.lr.ph152, label %._crit_edge153

._crit_edge153:                                   ; preds = %.lr.ph152, %270
  %.1.lcssa = phi i64 [ %.0155, %270 ], [ %279, %.lr.ph152 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %10) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  %274 = add nuw nsw i32 %.048154, 1
  %exitcond173.not = icmp eq i32 %274, 100000
  br i1 %exitcond173.not, label %32, label %50, !llvm.loop !15

.lr.ph152:                                        ; preds = %270, %.lr.ph152
  %.1150 = phi i64 [ %279, %.lr.ph152 ], [ %.0155, %270 ]
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %276 = mul nsw i64 %.1150, 31
  %277 = load i32, ptr %275, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = add nsw i64 %276, %278
  %280 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %281 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br i1 %281, label %.lr.ph152, label %._crit_edge153

282:                                              ; preds = %101, %103, %172, %263, %268
  %.pn94.pn = phi { ptr, i32 } [ %269, %268 ], [ %104, %103 ], [ %.pn86.pn.pn.pn.pn, %172 ], [ %.pn80.pn.pn.pn, %263 ], [ %102, %101 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  br label %283

283:                                              ; preds = %282, %88
  %.pn94.pn.pn = phi { ptr, i32 } [ %.pn94.pn, %282 ], [ %89, %88 ]
  call void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #8
  br label %284

284:                                              ; preds = %283, %86, %84
  %.pn94.pn.pn.pn = phi { ptr, i32 } [ %.pn94.pn.pn, %283 ], [ %87, %86 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %10) #8
  br label %285

285:                                              ; preds = %284, %72
  %.pn99 = phi { ptr, i32 } [ %73, %72 ], [ %.pn94.pn.pn.pn, %284 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  br label %286

286:                                              ; preds = %285, %65
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %285 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  br label %287

287:                                              ; preds = %286, %62
  %.pn102 = phi { ptr, i32 } [ %63, %62 ], [ %.pn99.pn, %286 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %288

288:                                              ; preds = %287, %55
  %.pn102.pn = phi { ptr, i32 } [ %.pn102, %287 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn102.pn
}

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

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504)) local_unnamed_addr #0 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE6updateEiRKi(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKiS5_(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE5queryEiiRKi(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) local_unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt11min_elementIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr, ptr) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare hidden { i8, ptr } @"_ZN24WaveletMatrixAggregationIi1RSt4lessIiEE7bsearchIZ5test1vE3$_0EESt4pairIbPiEiiT_"(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, ptr) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #0 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


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