; LLVM IR from microsoft/Multiverso :: src/net/allreduce_topo.ll (ZN10multiverso19RecursiveHalvingMap9ConstructEii)

; 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.multiverso::RecursiveHalvingMap" = type { i32, i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl" }
%"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl" = type { %"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #2 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 void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; 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) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10multiverso19RecursiveHalvingMap9ConstructEii(ptr dead_on_unwind noalias writable sret(%"class.multiverso::RecursiveHalvingMap") align 8 %0, i32 noundef %1, i32 noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i1, align 1
  %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 %"class.std::vector.0", align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::allocator", align 1
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca i32, align 4
  %33 = alloca %"class.std::allocator", align 1
  %34 = alloca %"class.std::vector", align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca %"class.std::vector", align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i1, align 1
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  store ptr %0, ptr %4, align 8
  store i32 %1, ptr %5, align 4, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %56, %3
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = shl i32 1, %52
  %54 = load i32, ptr %6, align 4, !tbaa !5
  %55 = icmp sle i32 %53, %54
  br i1 %55, label %56, label %59

56:                                               ; preds = %51
  %57 = load i32, ptr %7, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %7, align 4, !tbaa !5
  br label %51, !llvm.loop !9

59:                                               ; preds = %51
  %60 = load i32, ptr %7, align 4, !tbaa !5
  %61 = add nsw i32 %60, -1
  store i32 %61, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #4
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %74, %59
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %81

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %68 = load i32, ptr %7, align 4, !tbaa !5
  %69 = sub nsw i32 %68, 1
  %70 = load i32, ptr %9, align 4, !tbaa !5
  %71 = sub nsw i32 %69, %70
  %72 = shl i32 1, %71
  store i32 %72, ptr %10, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %73 unwind label %77

73:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %9, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %9, align 4, !tbaa !5
  br label %62, !llvm.loop !11

77:                                               ; preds = %67
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %11, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %503

81:                                               ; preds = %66
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = shl i32 1, %82
  %84 = load i32, ptr %6, align 4, !tbaa !5
  %85 = icmp eq i32 %83, %84
  br i1 %85, label %86, label %177

86:                                               ; preds = %81
  store i1 false, ptr %13, align 1
  %87 = load i32, ptr %7, align 4, !tbaa !5
  invoke void @_ZN10multiverso19RecursiveHalvingMapC1ENS_24RecursiveHalvingNodeTypeEi(ptr noundef nonnull align 8 dereferenceable(136) %0, i32 noundef 0, i32 noundef %87)
          to label %88 unwind label %94

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %170, %88
  %90 = load i32, ptr %14, align 4, !tbaa !5
  %91 = load i32, ptr %7, align 4, !tbaa !5
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %98, label %93

93:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %173

94:                                               ; preds = %86
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %11, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %12, align 4
  br label %503

98:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %99 = load i32, ptr %5, align 4, !tbaa !5
  %100 = load i32, ptr %14, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %101) #4
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = sdiv i32 %99, %103
  %105 = srem i32 %104, 2
  %106 = icmp eq i32 %105, 0
  %107 = zext i1 %106 to i64
  %108 = select i1 %106, i32 1, i32 -1
  store i32 %108, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %109 = load i32, ptr %5, align 4, !tbaa !5
  %110 = load i32, ptr %15, align 4, !tbaa !5
  %111 = load i32, ptr %14, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %112) #4
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = mul nsw i32 %110, %114
  %116 = add nsw i32 %109, %115
  store i32 %116, ptr %16, align 4, !tbaa !5
  %117 = load i32, ptr %16, align 4, !tbaa !5
  %118 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 3
  %119 = load i32, ptr %14, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %120) #4
  store i32 %117, ptr %121, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %122 = load i32, ptr %5, align 4, !tbaa !5
  %123 = load i32, ptr %14, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %124) #4
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = sdiv i32 %122, %126
  store i32 %127, ptr %17, align 4, !tbaa !5
  %128 = load i32, ptr %17, align 4, !tbaa !5
  %129 = load i32, ptr %14, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %130) #4
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = mul nsw i32 %128, %132
  %134 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 6
  %135 = load i32, ptr %14, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %136) #4
  store i32 %133, ptr %137, align 4, !tbaa !5
  %138 = load i32, ptr %14, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %139) #4
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 7
  %143 = load i32, ptr %14, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %144) #4
  store i32 %141, ptr %145, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %146 = load i32, ptr %16, align 4, !tbaa !5
  %147 = load i32, ptr %14, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %148) #4
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = sdiv i32 %146, %150
  store i32 %151, ptr %18, align 4, !tbaa !5
  %152 = load i32, ptr %18, align 4, !tbaa !5
  %153 = load i32, ptr %14, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %154) #4
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = mul nsw i32 %152, %156
  %158 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 4
  %159 = load i32, ptr %14, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %158, i64 noundef %160) #4
  store i32 %157, ptr %161, align 4, !tbaa !5
  %162 = load i32, ptr %14, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %163) #4
  %165 = load i32, ptr %164, align 4, !tbaa !5
  %166 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 5
  %167 = load i32, ptr %14, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %166, i64 noundef %168) #4
  store i32 %165, ptr %169, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %170

170:                                              ; preds = %98
  %171 = load i32, ptr %14, align 4, !tbaa !5
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %14, align 4, !tbaa !5
  br label %89, !llvm.loop !12

173:                                              ; preds = %93
  store i1 true, ptr %13, align 1
  store i32 1, ptr %19, align 4
  %174 = load i1, ptr %13, align 1
  br i1 %174, label %176, label %175

175:                                              ; preds = %173
  call void @_ZN10multiverso19RecursiveHalvingMapD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %0) #4
  br label %176

176:                                              ; preds = %175, %173
  br label %502

177:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %178 = load i32, ptr %7, align 4, !tbaa !5
  %179 = shl i32 1, %178
  store i32 %179, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %180 = load i32, ptr %6, align 4, !tbaa !5
  %181 = load i32, ptr %20, align 4, !tbaa !5
  %182 = sub nsw i32 %180, %181
  store i32 %182, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #4
  call void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %190, %177
  %184 = load i32, ptr %23, align 4, !tbaa !5
  %185 = load i32, ptr %6, align 4, !tbaa !5
  %186 = icmp slt i32 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 10, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %197

188:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  store i32 0, ptr %24, align 4, !tbaa !13
  invoke void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %189 unwind label %193

189:                                              ; preds = %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %190

190:                                              ; preds = %189
  %191 = load i32, ptr %23, align 4, !tbaa !5
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %23, align 4, !tbaa !5
  br label %183, !llvm.loop !15

193:                                              ; preds = %188
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %11, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %501

197:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %198

198:                                              ; preds = %220, %197
  %199 = load i32, ptr %25, align 4, !tbaa !5
  %200 = load i32, ptr %21, align 4, !tbaa !5
  %201 = icmp slt i32 %199, %200
  br i1 %201, label %203, label %202

202:                                              ; preds = %198
  store i32 13, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  br label %223

203:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %204 = load i32, ptr %6, align 4, !tbaa !5
  %205 = load i32, ptr %25, align 4, !tbaa !5
  %206 = mul nsw i32 %205, 2
  %207 = sub nsw i32 %204, %206
  %208 = sub nsw i32 %207, 1
  store i32 %208, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %209 = load i32, ptr %6, align 4, !tbaa !5
  %210 = load i32, ptr %25, align 4, !tbaa !5
  %211 = mul nsw i32 %210, 2
  %212 = sub nsw i32 %209, %211
  %213 = sub nsw i32 %212, 2
  store i32 %213, ptr %27, align 4, !tbaa !5
  %214 = load i32, ptr %27, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %215) #4
  store i32 1, ptr %216, align 4, !tbaa !13
  %217 = load i32, ptr %26, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %218) #4
  store i32 2, ptr %219, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %220

220:                                              ; preds = %203
  %221 = load i32, ptr %25, align 4, !tbaa !5
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %25, align 4, !tbaa !5
  br label %198, !llvm.loop !16

223:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  store i32 0, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #4
  %224 = load i32, ptr %20, align 4, !tbaa !5
  %225 = sext i32 %224 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %225, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %226 unwind label %241

226:                                              ; preds = %223
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #4
  %227 = load i32, ptr %20, align 4, !tbaa !5
  %228 = sext i32 %227 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  store i32 0, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %228, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %229 unwind label %245

229:                                              ; preds = %226
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #4
  %230 = load i32, ptr %20, align 4, !tbaa !5
  %231 = sext i32 %230 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %231, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %232 unwind label %249

232:                                              ; preds = %229
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #4
  %233 = load i32, ptr %6, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %234, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %235 unwind label %253

235:                                              ; preds = %232
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #4
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %236

236:                                              ; preds = %287, %235
  %237 = load i32, ptr %38, align 4, !tbaa !5
  %238 = load i32, ptr %6, align 4, !tbaa !5
  %239 = icmp slt i32 %237, %238
  br i1 %239, label %257, label %240

240:                                              ; preds = %236
  store i32 16, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  br label %290

241:                                              ; preds = %223
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %11, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #4
  br label %500

245:                                              ; preds = %226
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %11, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  br label %499

249:                                              ; preds = %229
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %11, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #4
  br label %498

253:                                              ; preds = %232
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %11, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #4
  br label %497

257:                                              ; preds = %236
  %258 = load i32, ptr %38, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %259) #4
  %261 = load i32, ptr %260, align 4, !tbaa !13
  %262 = icmp eq i32 %261, 0
  br i1 %262, label %269, label %263

263:                                              ; preds = %257
  %264 = load i32, ptr %38, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %265) #4
  %267 = load i32, ptr %266, align 4, !tbaa !13
  %268 = icmp eq i32 %267, 1
  br i1 %268, label %269, label %275

269:                                              ; preds = %263, %257
  %270 = load i32, ptr %38, align 4, !tbaa !5
  %271 = load i32, ptr %28, align 4, !tbaa !5
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %28, align 4, !tbaa !5
  %273 = sext i32 %271 to i64
  %274 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %273) #4
  store i32 %270, ptr %274, align 4, !tbaa !5
  br label %275

275:                                              ; preds = %269, %263
  %276 = load i32, ptr %28, align 4, !tbaa !5
  %277 = sub nsw i32 %276, 1
  %278 = load i32, ptr %38, align 4, !tbaa !5
  %279 = sext i32 %278 to i64
  %280 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %279) #4
  store i32 %277, ptr %280, align 4, !tbaa !5
  %281 = load i32, ptr %28, align 4, !tbaa !5
  %282 = sub nsw i32 %281, 1
  %283 = sext i32 %282 to i64
  %284 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %283) #4
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr %284, align 4, !tbaa !5
  br label %287

287:                                              ; preds = %275
  %288 = load i32, ptr %38, align 4, !tbaa !5
  %289 = add nsw i32 %288, 1
  store i32 %289, ptr %38, align 4, !tbaa !5
  br label %236, !llvm.loop !17

290:                                              ; preds = %240
  %291 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #4
  store i32 0, ptr %291, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  store i32 1, ptr %39, align 4, !tbaa !5
  br label %292

292:                                              ; preds = %312, %290
  %293 = load i32, ptr %39, align 4, !tbaa !5
  %294 = load i32, ptr %20, align 4, !tbaa !5
  %295 = icmp slt i32 %293, %294
  br i1 %295, label %297, label %296

296:                                              ; preds = %292
  store i32 19, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  br label %315

297:                                              ; preds = %292
  %298 = load i32, ptr %39, align 4, !tbaa !5
  %299 = sub nsw i32 %298, 1
  %300 = sext i32 %299 to i64
  %301 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %300) #4
  %302 = load i32, ptr %301, align 4, !tbaa !5
  %303 = load i32, ptr %39, align 4, !tbaa !5
  %304 = sub nsw i32 %303, 1
  %305 = sext i32 %304 to i64
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %305) #4
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %308 = add nsw i32 %302, %307
  %309 = load i32, ptr %39, align 4, !tbaa !5
  %310 = sext i32 %309 to i64
  %311 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %310) #4
  store i32 %308, ptr %311, align 4, !tbaa !5
  br label %312

312:                                              ; preds = %297
  %313 = load i32, ptr %39, align 4, !tbaa !5
  %314 = add nsw i32 %313, 1
  store i32 %314, ptr %39, align 4, !tbaa !5
  br label %292, !llvm.loop !18

315:                                              ; preds = %296
  store i1 false, ptr %40, align 1
  %316 = load i32, ptr %5, align 4, !tbaa !5
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %317) #4
  %319 = load i32, ptr %318, align 4, !tbaa !13
  %320 = load i32, ptr %7, align 4, !tbaa !5
  invoke void @_ZN10multiverso19RecursiveHalvingMapC1ENS_24RecursiveHalvingNodeTypeEi(ptr noundef nonnull align 8 dereferenceable(136) %0, i32 noundef %319, i32 noundef %320)
          to label %321 unwind label %331

321:                                              ; preds = %315
  %322 = load i32, ptr %5, align 4, !tbaa !5
  %323 = sext i32 %322 to i64
  %324 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %323) #4
  %325 = load i32, ptr %324, align 4, !tbaa !13
  %326 = icmp eq i32 %325, 2
  br i1 %326, label %327, label %335

327:                                              ; preds = %321
  %328 = load i32, ptr %5, align 4, !tbaa !5
  %329 = sub nsw i32 %328, 1
  %330 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 2
  store i32 %329, ptr %330, align 8, !tbaa !19
  store i1 true, ptr %40, align 1
  store i32 1, ptr %19, align 4
  br label %493

331:                                              ; preds = %315
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %11, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %12, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  br label %497

335:                                              ; preds = %321
  %336 = load i32, ptr %5, align 4, !tbaa !5
  %337 = sext i32 %336 to i64
  %338 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %337) #4
  %339 = load i32, ptr %338, align 4, !tbaa !13
  %340 = icmp eq i32 %339, 1
  br i1 %340, label %341, label %345

341:                                              ; preds = %335
  %342 = load i32, ptr %5, align 4, !tbaa !5
  %343 = add nsw i32 %342, 1
  %344 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 2
  store i32 %343, ptr %344, align 8, !tbaa !19
  br label %345

345:                                              ; preds = %341, %335
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #4
  %346 = load i32, ptr %5, align 4, !tbaa !5
  %347 = sext i32 %346 to i64
  %348 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %347) #4
  %349 = load i32, ptr %348, align 4, !tbaa !5
  store i32 %349, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #4
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %350

350:                                              ; preds = %489, %345
  %351 = load i32, ptr %42, align 4, !tbaa !5
  %352 = load i32, ptr %7, align 4, !tbaa !5
  %353 = icmp slt i32 %351, %352
  br i1 %353, label %355, label %354

354:                                              ; preds = %350
  store i32 22, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #4
  br label %492

355:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #4
  %356 = load i32, ptr %41, align 4, !tbaa !5
  %357 = load i32, ptr %42, align 4, !tbaa !5
  %358 = sext i32 %357 to i64
  %359 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %358) #4
  %360 = load i32, ptr %359, align 4, !tbaa !5
  %361 = sdiv i32 %356, %360
  %362 = srem i32 %361, 2
  %363 = icmp eq i32 %362, 0
  %364 = zext i1 %363 to i64
  %365 = select i1 %363, i32 1, i32 -1
  store i32 %365, ptr %43, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #4
  %366 = load i32, ptr %41, align 4, !tbaa !5
  %367 = load i32, ptr %43, align 4, !tbaa !5
  %368 = load i32, ptr %42, align 4, !tbaa !5
  %369 = sext i32 %368 to i64
  %370 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %369) #4
  %371 = load i32, ptr %370, align 4, !tbaa !5
  %372 = mul nsw i32 %367, %371
  %373 = add nsw i32 %366, %372
  %374 = sext i32 %373 to i64
  %375 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %374) #4
  %376 = load i32, ptr %375, align 4, !tbaa !5
  store i32 %376, ptr %44, align 4, !tbaa !5
  %377 = load i32, ptr %44, align 4, !tbaa !5
  %378 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 3
  %379 = load i32, ptr %42, align 4, !tbaa !5
  %380 = sext i32 %379 to i64
  %381 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %378, i64 noundef %380) #4
  store i32 %377, ptr %381, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #4
  %382 = load i32, ptr %41, align 4, !tbaa !5
  %383 = load i32, ptr %42, align 4, !tbaa !5
  %384 = sext i32 %383 to i64
  %385 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %384) #4
  %386 = load i32, ptr %385, align 4, !tbaa !5
  %387 = sdiv i32 %382, %386
  store i32 %387, ptr %45, align 4, !tbaa !5
  %388 = load i32, ptr %45, align 4, !tbaa !5
  %389 = load i32, ptr %42, align 4, !tbaa !5
  %390 = sext i32 %389 to i64
  %391 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %390) #4
  %392 = load i32, ptr %391, align 4, !tbaa !5
  %393 = mul nsw i32 %388, %392
  %394 = sext i32 %393 to i64
  %395 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %394) #4
  %396 = load i32, ptr %395, align 4, !tbaa !5
  %397 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 6
  %398 = load i32, ptr %42, align 4, !tbaa !5
  %399 = sext i32 %398 to i64
  %400 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %397, i64 noundef %399) #4
  store i32 %396, ptr %400, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #4
  store i32 0, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #4
  store i32 0, ptr %47, align 4, !tbaa !5
  br label %401

401:                                              ; preds = %423, %355
  %402 = load i32, ptr %47, align 4, !tbaa !5
  %403 = load i32, ptr %42, align 4, !tbaa !5
  %404 = sext i32 %403 to i64
  %405 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %404) #4
  %406 = load i32, ptr %405, align 4, !tbaa !5
  %407 = icmp slt i32 %402, %406
  br i1 %407, label %409, label %408

408:                                              ; preds = %401
  store i32 25, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #4
  br label %426

409:                                              ; preds = %401
  %410 = load i32, ptr %45, align 4, !tbaa !5
  %411 = load i32, ptr %42, align 4, !tbaa !5
  %412 = sext i32 %411 to i64
  %413 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %412) #4
  %414 = load i32, ptr %413, align 4, !tbaa !5
  %415 = mul nsw i32 %410, %414
  %416 = load i32, ptr %47, align 4, !tbaa !5
  %417 = add nsw i32 %415, %416
  %418 = sext i32 %417 to i64
  %419 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %418) #4
  %420 = load i32, ptr %419, align 4, !tbaa !5
  %421 = load i32, ptr %46, align 4, !tbaa !5
  %422 = add nsw i32 %421, %420
  store i32 %422, ptr %46, align 4, !tbaa !5
  br label %423

423:                                              ; preds = %409
  %424 = load i32, ptr %47, align 4, !tbaa !5
  %425 = add nsw i32 %424, 1
  store i32 %425, ptr %47, align 4, !tbaa !5
  br label %401, !llvm.loop !26

426:                                              ; preds = %408
  %427 = load i32, ptr %46, align 4, !tbaa !5
  %428 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 7
  %429 = load i32, ptr %42, align 4, !tbaa !5
  %430 = sext i32 %429 to i64
  %431 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %428, i64 noundef %430) #4
  store i32 %427, ptr %431, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #4
  %432 = load i32, ptr %41, align 4, !tbaa !5
  %433 = load i32, ptr %43, align 4, !tbaa !5
  %434 = load i32, ptr %42, align 4, !tbaa !5
  %435 = sext i32 %434 to i64
  %436 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %435) #4
  %437 = load i32, ptr %436, align 4, !tbaa !5
  %438 = mul nsw i32 %433, %437
  %439 = add nsw i32 %432, %438
  %440 = load i32, ptr %42, align 4, !tbaa !5
  %441 = sext i32 %440 to i64
  %442 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %441) #4
  %443 = load i32, ptr %442, align 4, !tbaa !5
  %444 = sdiv i32 %439, %443
  store i32 %444, ptr %48, align 4, !tbaa !5
  %445 = load i32, ptr %48, align 4, !tbaa !5
  %446 = load i32, ptr %42, align 4, !tbaa !5
  %447 = sext i32 %446 to i64
  %448 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %447) #4
  %449 = load i32, ptr %448, align 4, !tbaa !5
  %450 = mul nsw i32 %445, %449
  %451 = sext i32 %450 to i64
  %452 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %451) #4
  %453 = load i32, ptr %452, align 4, !tbaa !5
  %454 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 4
  %455 = load i32, ptr %42, align 4, !tbaa !5
  %456 = sext i32 %455 to i64
  %457 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %454, i64 noundef %456) #4
  store i32 %453, ptr %457, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #4
  store i32 0, ptr %49, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #4
  store i32 0, ptr %50, align 4, !tbaa !5
  br label %458

458:                                              ; preds = %480, %426
  %459 = load i32, ptr %50, align 4, !tbaa !5
  %460 = load i32, ptr %42, align 4, !tbaa !5
  %461 = sext i32 %460 to i64
  %462 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %461) #4
  %463 = load i32, ptr %462, align 4, !tbaa !5
  %464 = icmp slt i32 %459, %463
  br i1 %464, label %466, label %465

465:                                              ; preds = %458
  store i32 28, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #4
  br label %483

466:                                              ; preds = %458
  %467 = load i32, ptr %48, align 4, !tbaa !5
  %468 = load i32, ptr %42, align 4, !tbaa !5
  %469 = sext i32 %468 to i64
  %470 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %469) #4
  %471 = load i32, ptr %470, align 4, !tbaa !5
  %472 = mul nsw i32 %467, %471
  %473 = load i32, ptr %50, align 4, !tbaa !5
  %474 = add nsw i32 %472, %473
  %475 = sext i32 %474 to i64
  %476 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %475) #4
  %477 = load i32, ptr %476, align 4, !tbaa !5
  %478 = load i32, ptr %49, align 4, !tbaa !5
  %479 = add nsw i32 %478, %477
  store i32 %479, ptr %49, align 4, !tbaa !5
  br label %480

480:                                              ; preds = %466
  %481 = load i32, ptr %50, align 4, !tbaa !5
  %482 = add nsw i32 %481, 1
  store i32 %482, ptr %50, align 4, !tbaa !5
  br label %458, !llvm.loop !27

483:                                              ; preds = %465
  %484 = load i32, ptr %49, align 4, !tbaa !5
  %485 = getelementptr inbounds %"class.multiverso::RecursiveHalvingMap", ptr %0, i32 0, i32 5
  %486 = load i32, ptr %42, align 4, !tbaa !5
  %487 = sext i32 %486 to i64
  %488 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %485, i64 noundef %487) #4
  store i32 %484, ptr %488, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  br label %489

489:                                              ; preds = %483
  %490 = load i32, ptr %42, align 4, !tbaa !5
  %491 = add nsw i32 %490, 1
  store i32 %491, ptr %42, align 4, !tbaa !5
  br label %350, !llvm.loop !28

492:                                              ; preds = %354
  store i1 true, ptr %40, align 1
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #4
  br label %493

493:                                              ; preds = %492, %327
  %494 = load i1, ptr %40, align 1
  br i1 %494, label %496, label %495

495:                                              ; preds = %493
  call void @_ZN10multiverso19RecursiveHalvingMapD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %0) #4
  br label %496

496:                                              ; preds = %495, %493
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  call void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %502

497:                                              ; preds = %331, %253
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #4
  br label %498

498:                                              ; preds = %497, %249
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #4
  br label %499

499:                                              ; preds = %498, %245
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #4
  br label %500

500:                                              ; preds = %499, %241
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %501

501:                                              ; preds = %500, %193
  call void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %503

502:                                              ; preds = %496, %176
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void

503:                                              ; preds = %501, %94, %77
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %504

504:                                              ; preds = %503
  %505 = load ptr, ptr %11, align 8
  %506 = load i32, ptr %12, align 4
  %507 = insertvalue { ptr, i32 } poison, ptr %505, 0
  %508 = insertvalue { ptr, i32 } %507, i32 %506, 1
  resume { ptr, i32 } %508
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 #0 align 2

declare void @_ZN10multiverso19RecursiveHalvingMapC1ENS_24RecursiveHalvingNodeTypeEi(ptr, i32, i32)

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

!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 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN10multiverso24RecursiveHalvingNodeTypeE", !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = !{!20, !6, i64 8}
!20 = !{!"_ZTSN10multiverso19RecursiveHalvingMapE", !6, i64 0, !14, i64 4, !6, i64 8, !21, i64 16, !21, i64 40, !21, i64 64, !21, i64 88, !21, i64 112}
!21 = !{!"_ZTSSt6vectorIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !25, i64 0, !25, i64 8, !25, i64 16}
!25 = !{!"any pointer", !7, i64 0}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}


; 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.multiverso::RecursiveHalvingMap" = type { i32, i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl" }
%"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl" = type { %"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<multiverso::RecursiveHalvingNodeType, std::allocator<multiverso::RecursiveHalvingNodeType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

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

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

; 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 #2 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 void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; 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 #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10multiverso19RecursiveHalvingMap9ConstructEii(ptr dead_on_unwind noalias writable sret(%"class.multiverso::RecursiveHalvingMap") align 8 %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"class.std::allocator", align 1
  br label %17

17:                                               ; preds = %17, %3
  %indvars.iv = phi i32 [ %indvars.iv.next, %17 ], [ -1, %3 ]
  %.0122 = phi i32 [ %19, %17 ], [ 0, %3 ]
  %18 = shl nuw i32 1, %.0122
  %.not = icmp sgt i32 %18, %2
  %19 = add nuw nsw i32 %.0122, 1
  %indvars.iv.next = add nsw i32 %indvars.iv, 1
  br i1 %.not, label %20, label %17, !llvm.loop !5

20:                                               ; preds = %17
  %21 = add nsw i32 %.0122, -1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  %22 = icmp ugt i32 %.0122, 1
  br i1 %22, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %20
  %23 = add nsw i32 %.0122, -2
  br label %26

._crit_edge:                                      ; preds = %29, %20
  %24 = shl nuw i32 1, %21
  %25 = icmp eq i32 %24, %2
  br i1 %25, label %33, label %73

26:                                               ; preds = %.lr.ph, %29
  %.0125156 = phi i32 [ 0, %.lr.ph ], [ %30, %29 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  %27 = sub nsw i32 %23, %.0125156
  %28 = shl nuw i32 1, %27
  store i32 %28, ptr %5, align 4, !tbaa !7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %29 unwind label %31

29:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  %30 = add nuw nsw i32 %.0125156, 1
  %exitcond.not = icmp eq i32 %30, %indvars.iv
  br i1 %exitcond.not, label %._crit_edge, label %26, !llvm.loop !11

31:                                               ; preds = %26
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  br label %233

33:                                               ; preds = %._crit_edge
  invoke void @_ZN10multiverso19RecursiveHalvingMapC1ENS_24RecursiveHalvingNodeTypeEi(ptr noundef nonnull align 8 dereferenceable(136) %0, i32 noundef 0, i32 noundef %21)
          to label %.preheader unwind label %39

.preheader:                                       ; preds = %33
  br i1 %22, label %.lr.ph187, label %.loopexit

.lr.ph187:                                        ; preds = %.preheader
  %34 = getelementptr inbounds i8, ptr %0, i64 16
  %35 = getelementptr inbounds i8, ptr %0, i64 88
  %36 = getelementptr inbounds i8, ptr %0, i64 112
  %37 = getelementptr inbounds i8, ptr %0, i64 40
  %38 = getelementptr inbounds i8, ptr %0, i64 64
  %wide.trip.count214 = zext i32 %indvars.iv to i64
  br label %41

39:                                               ; preds = %33
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %233

41:                                               ; preds = %.lr.ph187, %41
  %indvars.iv210 = phi i64 [ 0, %.lr.ph187 ], [ %indvars.iv.next211, %41 ]
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %43 = load i32, ptr %42, align 4, !tbaa !7
  %44 = sdiv i32 %1, %43
  %45 = and i32 %44, 1
  %46 = icmp eq i32 %45, 0
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %48 = load i32, ptr %47, align 4, !tbaa !7
  %49 = sub nsw i32 0, %48
  %50 = select i1 %46, i32 %48, i32 %49
  %51 = add nsw i32 %50, %1
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv210) #3
  store i32 %51, ptr %52, align 4, !tbaa !7
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %54 = load i32, ptr %53, align 4, !tbaa !7
  %55 = sdiv i32 %1, %54
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %57 = load i32, ptr %56, align 4, !tbaa !7
  %58 = mul nsw i32 %57, %55
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %indvars.iv210) #3
  store i32 %58, ptr %59, align 4, !tbaa !7
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %61 = load i32, ptr %60, align 4, !tbaa !7
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv210) #3
  store i32 %61, ptr %62, align 4, !tbaa !7
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %64 = load i32, ptr %63, align 4, !tbaa !7
  %65 = sdiv i32 %51, %64
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %67 = load i32, ptr %66, align 4, !tbaa !7
  %68 = mul nsw i32 %67, %65
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %indvars.iv210) #3
  store i32 %68, ptr %69, align 4, !tbaa !7
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv210) #3
  %71 = load i32, ptr %70, align 4, !tbaa !7
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %indvars.iv210) #3
  store i32 %71, ptr %72, align 4, !tbaa !7
  %indvars.iv.next211 = add nuw nsw i64 %indvars.iv210, 1
  %exitcond215.not = icmp eq i64 %indvars.iv.next211, %wide.trip.count214
  br i1 %exitcond215.not, label %.loopexit, label %41, !llvm.loop !12

73:                                               ; preds = %._crit_edge
  %74 = sub i32 %2, %24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #3
  call void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  %75 = icmp sgt i32 %2, 0
  br i1 %75, label %.lr.ph159, label %.preheader155

.preheader155:                                    ; preds = %78, %73
  %76 = icmp sgt i32 %74, 0
  br i1 %76, label %.lr.ph161.preheader, label %._crit_edge162

.lr.ph161.preheader:                              ; preds = %.preheader155
  %77 = sext i32 %2 to i64
  %wide.trip.count = zext nneg i32 %74 to i64
  br label %.lr.ph161

.lr.ph159:                                        ; preds = %73, %78
  %.0141157 = phi i32 [ %79, %78 ], [ 0, %73 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  store i32 0, ptr %7, align 4, !tbaa !13
  invoke void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %78 unwind label %80

78:                                               ; preds = %.lr.ph159
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  %79 = add nuw nsw i32 %.0141157, 1
  %exitcond189.not = icmp eq i32 %79, %2
  br i1 %exitcond189.not, label %.preheader155, label %.lr.ph159, !llvm.loop !15

80:                                               ; preds = %.lr.ph159
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  br label %232

._crit_edge162:                                   ; preds = %.lr.ph161, %.preheader155
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #3
  %82 = sext i32 %24 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #3
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #3
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %82, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %89 unwind label %96

.lr.ph161:                                        ; preds = %.lr.ph161.preheader, %.lr.ph161
  %indvars.iv190 = phi i64 [ 0, %.lr.ph161.preheader ], [ %indvars.iv.next191, %.lr.ph161 ]
  %83 = shl nuw nsw i64 %indvars.iv190, 1
  %84 = sub nsw i64 %77, %83
  %85 = add nsw i64 %84, -1
  %86 = add nsw i64 %84, -2
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %86) #3
  store i32 1, ptr %87, align 4, !tbaa !13
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %85) #3
  store i32 2, ptr %88, align 4, !tbaa !13
  %indvars.iv.next191 = add nuw nsw i64 %indvars.iv190, 1
  %exitcond193.not = icmp eq i64 %indvars.iv.next191, %wide.trip.count
  br i1 %exitcond193.not, label %._crit_edge162, label %.lr.ph161, !llvm.loop !16

89:                                               ; preds = %._crit_edge162
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #3
  store i32 0, ptr %11, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #3
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %82, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %90 unwind label %98

90:                                               ; preds = %89
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #3
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %82, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %91 unwind label %100

91:                                               ; preds = %90
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #3
  %92 = sext i32 %2 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #3
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #3
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %92, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %93 unwind label %102

93:                                               ; preds = %91
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #3
  br i1 %75, label %.lr.ph166.preheader, label %._crit_edge167

.lr.ph166.preheader:                              ; preds = %93
  %wide.trip.count197 = zext nneg i32 %2 to i64
  br label %.lr.ph166

._crit_edge167:                                   ; preds = %116, %93
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #3
  store i32 0, ptr %94, align 4, !tbaa !7
  %95 = icmp sgt i32 %24, 1
  br i1 %95, label %.lr.ph170.preheader, label %._crit_edge171

.lr.ph170.preheader:                              ; preds = %._crit_edge167
  %wide.trip.count202 = zext nneg i32 %24 to i64
  br label %.lr.ph170

96:                                               ; preds = %._crit_edge162
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #3
  br label %231

98:                                               ; preds = %89
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #3
  br label %230

100:                                              ; preds = %90
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #3
  br label %229

102:                                              ; preds = %91
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #3
  br label %228

.lr.ph166:                                        ; preds = %.lr.ph166.preheader, %116
  %indvars.iv194 = phi i64 [ 0, %.lr.ph166.preheader ], [ %indvars.iv.next195, %116 ]
  %.0137163 = phi i32 [ 0, %.lr.ph166.preheader ], [ %.1138, %116 ]
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv194) #3
  %105 = load i32, ptr %104, align 4, !tbaa !13
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %111, label %107

107:                                              ; preds = %.lr.ph166
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv194) #3
  %109 = load i32, ptr %108, align 4, !tbaa !13
  %110 = icmp eq i32 %109, 1
  br i1 %110, label %111, label %116

111:                                              ; preds = %107, %.lr.ph166
  %112 = add nsw i32 %.0137163, 1
  %113 = sext i32 %.0137163 to i64
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %113) #3
  %115 = trunc nuw nsw i64 %indvars.iv194 to i32
  store i32 %115, ptr %114, align 4, !tbaa !7
  br label %116

116:                                              ; preds = %111, %107
  %.1138 = phi i32 [ %112, %111 ], [ %.0137163, %107 ]
  %117 = add nsw i32 %.1138, -1
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %indvars.iv194) #3
  store i32 %117, ptr %118, align 4, !tbaa !7
  %119 = sext i32 %117 to i64
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %119) #3
  %121 = load i32, ptr %120, align 4, !tbaa !7
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %120, align 4, !tbaa !7
  %indvars.iv.next195 = add nuw nsw i64 %indvars.iv194, 1
  %exitcond198.not = icmp eq i64 %indvars.iv.next195, %wide.trip.count197
  br i1 %exitcond198.not, label %._crit_edge167, label %.lr.ph166, !llvm.loop !17

._crit_edge171:                                   ; preds = %.lr.ph170, %._crit_edge167
  %123 = sext i32 %1 to i64
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %123) #3
  %125 = load i32, ptr %124, align 4, !tbaa !13
  invoke void @_ZN10multiverso19RecursiveHalvingMapC1ENS_24RecursiveHalvingNodeTypeEi(ptr noundef nonnull align 8 dereferenceable(136) %0, i32 noundef %125, i32 noundef %21)
          to label %133 unwind label %140

.lr.ph170:                                        ; preds = %.lr.ph170.preheader, %.lr.ph170
  %indvars.iv199 = phi i64 [ 1, %.lr.ph170.preheader ], [ %indvars.iv.next200, %.lr.ph170 ]
  %126 = add nsw i64 %indvars.iv199, -1
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %126) #3
  %128 = load i32, ptr %127, align 4, !tbaa !7
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %126) #3
  %130 = load i32, ptr %129, align 4, !tbaa !7
  %131 = add nsw i32 %130, %128
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv199) #3
  store i32 %131, ptr %132, align 4, !tbaa !7
  %indvars.iv.next200 = add nuw nsw i64 %indvars.iv199, 1
  %exitcond203.not = icmp eq i64 %indvars.iv.next200, %wide.trip.count202
  br i1 %exitcond203.not, label %._crit_edge171, label %.lr.ph170, !llvm.loop !18

133:                                              ; preds = %._crit_edge171
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %123) #3
  %135 = load i32, ptr %134, align 4, !tbaa !13
  %136 = icmp eq i32 %135, 2
  br i1 %136, label %137, label %142

137:                                              ; preds = %133
  %138 = add nsw i32 %1, -1
  %139 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %138, ptr %139, align 8, !tbaa !19
  br label %.loopexit154

140:                                              ; preds = %._crit_edge171
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  br label %228

142:                                              ; preds = %133
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %123) #3
  %144 = load i32, ptr %143, align 4, !tbaa !13
  %145 = icmp eq i32 %144, 1
  br i1 %145, label %146, label %149

146:                                              ; preds = %142
  %147 = add nsw i32 %1, 1
  %148 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %147, ptr %148, align 8, !tbaa !19
  br label %149

149:                                              ; preds = %146, %142
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %123) #3
  %151 = load i32, ptr %150, align 4, !tbaa !7
  br i1 %22, label %.lr.ph185, label %.loopexit154

.lr.ph185:                                        ; preds = %149
  %152 = getelementptr inbounds i8, ptr %0, i64 16
  %153 = getelementptr inbounds i8, ptr %0, i64 88
  %154 = getelementptr inbounds i8, ptr %0, i64 112
  %155 = getelementptr inbounds i8, ptr %0, i64 40
  %156 = getelementptr inbounds i8, ptr %0, i64 64
  %wide.trip.count208 = zext i32 %indvars.iv to i64
  br label %157

157:                                              ; preds = %.lr.ph185, %._crit_edge181
  %indvars.iv204 = phi i64 [ 0, %.lr.ph185 ], [ %indvars.iv.next205, %._crit_edge181 ]
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %159 = load i32, ptr %158, align 4, !tbaa !7
  %160 = sdiv i32 %151, %159
  %161 = and i32 %160, 1
  %162 = icmp eq i32 %161, 0
  %163 = select i1 %162, i32 1, i32 -1
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %165 = load i32, ptr %164, align 4, !tbaa !7
  %166 = mul nsw i32 %163, %165
  %167 = add nsw i32 %166, %151
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %168) #3
  %170 = load i32, ptr %169, align 4, !tbaa !7
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %152, i64 noundef %indvars.iv204) #3
  store i32 %170, ptr %171, align 4, !tbaa !7
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %173 = load i32, ptr %172, align 4, !tbaa !7
  %174 = sdiv i32 %151, %173
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %176 = load i32, ptr %175, align 4, !tbaa !7
  %177 = mul nsw i32 %176, %174
  %178 = sext i32 %177 to i64
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %178) #3
  %180 = load i32, ptr %179, align 4, !tbaa !7
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %indvars.iv204) #3
  store i32 %180, ptr %181, align 4, !tbaa !7
  %182 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %183 = load i32, ptr %182, align 4, !tbaa !7
  %184 = icmp sgt i32 %183, 0
  br i1 %184, label %.lr.ph175, label %._crit_edge176

._crit_edge176:                                   ; preds = %.lr.ph175, %157
  %.0124.lcssa = phi i32 [ 0, %157 ], [ %210, %.lr.ph175 ]
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %indvars.iv204) #3
  store i32 %.0124.lcssa, ptr %185, align 4, !tbaa !7
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %187 = load i32, ptr %186, align 4, !tbaa !7
  %188 = mul nsw i32 %187, %163
  %189 = add nsw i32 %188, %151
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %191 = load i32, ptr %190, align 4, !tbaa !7
  %192 = sdiv i32 %189, %191
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %194 = load i32, ptr %193, align 4, !tbaa !7
  %195 = mul nsw i32 %194, %192
  %196 = sext i32 %195 to i64
  %197 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %196) #3
  %198 = load i32, ptr %197, align 4, !tbaa !7
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %indvars.iv204) #3
  store i32 %198, ptr %199, align 4, !tbaa !7
  %200 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %201 = load i32, ptr %200, align 4, !tbaa !7
  %202 = icmp sgt i32 %201, 0
  br i1 %202, label %.lr.ph180, label %._crit_edge181

.lr.ph175:                                        ; preds = %157, %.lr.ph175
  %.0123173 = phi i32 [ %211, %.lr.ph175 ], [ 0, %157 ]
  %.0124172 = phi i32 [ %210, %.lr.ph175 ], [ 0, %157 ]
  %203 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %204 = load i32, ptr %203, align 4, !tbaa !7
  %205 = mul nsw i32 %204, %174
  %206 = add nsw i32 %205, %.0123173
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %207) #3
  %209 = load i32, ptr %208, align 4, !tbaa !7
  %210 = add nsw i32 %209, %.0124172
  %211 = add nuw nsw i32 %.0123173, 1
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %213 = load i32, ptr %212, align 4, !tbaa !7
  %214 = icmp slt i32 %211, %213
  br i1 %214, label %.lr.ph175, label %._crit_edge176, !llvm.loop !26

._crit_edge181:                                   ; preds = %.lr.ph180, %._crit_edge176
  %.0121.lcssa = phi i32 [ 0, %._crit_edge176 ], [ %223, %.lr.ph180 ]
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %156, i64 noundef %indvars.iv204) #3
  store i32 %.0121.lcssa, ptr %215, align 4, !tbaa !7
  %indvars.iv.next205 = add nuw nsw i64 %indvars.iv204, 1
  %exitcond209.not = icmp eq i64 %indvars.iv.next205, %wide.trip.count208
  br i1 %exitcond209.not, label %.loopexit154, label %157, !llvm.loop !27

.lr.ph180:                                        ; preds = %._crit_edge176, %.lr.ph180
  %.0178 = phi i32 [ %224, %.lr.ph180 ], [ 0, %._crit_edge176 ]
  %.0121177 = phi i32 [ %223, %.lr.ph180 ], [ 0, %._crit_edge176 ]
  %216 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %217 = load i32, ptr %216, align 4, !tbaa !7
  %218 = mul nsw i32 %217, %192
  %219 = add nsw i32 %218, %.0178
  %220 = sext i32 %219 to i64
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %220) #3
  %222 = load i32, ptr %221, align 4, !tbaa !7
  %223 = add nsw i32 %222, %.0121177
  %224 = add nuw nsw i32 %.0178, 1
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv204) #3
  %226 = load i32, ptr %225, align 4, !tbaa !7
  %227 = icmp slt i32 %224, %226
  br i1 %227, label %.lr.ph180, label %._crit_edge181, !llvm.loop !28

.loopexit154:                                     ; preds = %._crit_edge181, %149, %137
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  call void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
  br label %.loopexit

228:                                              ; preds = %140, %102
  %.pn = phi { ptr, i32 } [ %141, %140 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #3
  br label %229

229:                                              ; preds = %228, %100
  %.pn.pn = phi { ptr, i32 } [ %.pn, %228 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  br label %230

230:                                              ; preds = %229, %98
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %229 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #3
  br label %231

231:                                              ; preds = %230, %96
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %230 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #3
  br label %232

232:                                              ; preds = %231, %80
  %.pn150 = phi { ptr, i32 } [ %81, %80 ], [ %.pn.pn.pn.pn, %231 ]
  call void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #3
  br label %233

.loopexit:                                        ; preds = %41, %.preheader, %.loopexit154
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
  ret void

233:                                              ; preds = %232, %39, %31
  %.pn152 = phi { ptr, i32 } [ %32, %31 ], [ %40, %39 ], [ %.pn150, %232 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3
  resume { ptr, i32 } %.pn152
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) 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 #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN10multiverso24RecursiveHalvingNodeTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 #0 align 2

declare void @_ZN10multiverso19RecursiveHalvingMapC1ENS_24RecursiveHalvingNodeTypeEi(ptr, i32, i32) local_unnamed_addr

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nounwind }

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

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


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