; LLVM IR from ShahjalalShohag/code-library :: Strings/Suffix Array.ll (Z5SA_ISRKSt6vectorIiSaIiEEi)

; 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::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 }
%"class.std::vector.1" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.5" = type { i8 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12induced_sortRKSt6vectorIiSaIiEEiRS1_RKS_IbSaIbEES3_(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5SA_ISRKSt6vectorIiSaIiEEi(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i1, align 1
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector.1", align 8
  %14 = alloca %"class.std::allocator.5", align 1
  %15 = alloca %"struct.std::_Bit_reference", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::_Bit_reference", align 8
  %18 = alloca %"struct.std::_Bit_reference", align 8
  %19 = alloca %"struct.std::_Bit_reference", align 8
  %20 = alloca %"struct.std::_Bit_reference", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"struct.std::_Bit_reference", align 8
  %31 = alloca %"struct.std::_Bit_reference", align 8
  %32 = alloca i32, align 4
  %33 = alloca i64, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i8, align 1
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %"struct.std::_Bit_reference", align 8
  %41 = alloca %"struct.std::_Bit_reference", align 8
  %42 = alloca %"struct.std::_Bit_reference", align 8
  %43 = alloca %"struct.std::_Bit_reference", align 8
  %44 = alloca %"struct.std::_Bit_reference", align 8
  %45 = alloca %"struct.std::_Bit_reference", align 8
  %46 = alloca %"struct.std::_Bit_reference", align 8
  %47 = alloca %"struct.std::_Bit_reference", align 8
  %48 = alloca i64, align 8
  %49 = alloca %"class.std::vector", align 8
  %50 = alloca i64, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #4
  %53 = trunc i64 %52 to i32
  store i32 %53, ptr %7, align 4, !tbaa !9
  store i1 false, ptr %8, align 1
  %54 = load i32, ptr %7, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %55, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %56 unwind label %76

56:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #4
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #4
  %57 = load i32, ptr %7, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %58, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %59 unwind label %80

59:                                               ; preds = %56
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  %60 = load i32, ptr %7, align 4, !tbaa !9
  %61 = sub nsw i32 %60, 1
  %62 = sext i32 %61 to i64
  %63 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %62)
          to label %64 unwind label %84

64:                                               ; preds = %59
  %65 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %66 = extractvalue { ptr, i64 } %63, 0
  store ptr %66, ptr %65, align 8
  %67 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %68 = extractvalue { ptr, i64 } %63, 1
  store i64 %68, ptr %67, align 8
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %15, i1 noundef zeroext false) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %70 = load i32, ptr %7, align 4, !tbaa !9
  %71 = sub nsw i32 %70, 2
  store i32 %71, ptr %16, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %188, %64
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = icmp sge i32 %73, 0
  br i1 %74, label %88, label %75

75:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %192

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

80:                                               ; preds = %56
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %10, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  br label %560

84:                                               ; preds = %59
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %10, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  br label %559

88:                                               ; preds = %72
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = load i32, ptr %16, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %91) #4
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %97) #4
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = icmp sgt i32 %93, %99
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  br i1 %100, label %127, label %101

101:                                              ; preds = %88
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104) #4
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = load i32, ptr %16, align 4, !tbaa !9
  %109 = add nsw i32 %108, 1
  %110 = sext i32 %109 to i64
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %110) #4
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = icmp eq i32 %106, %112
  br i1 %113, label %114, label %125

114:                                              ; preds = %101
  %115 = load i32, ptr %16, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  %117 = sext i32 %116 to i64
  %118 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %117)
          to label %119 unwind label %165

119:                                              ; preds = %114
  %120 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %121 = extractvalue { ptr, i64 } %118, 0
  store ptr %121, ptr %120, align 8
  %122 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %123 = extractvalue { ptr, i64 } %118, 1
  store i64 %123, ptr %122, align 8
  %124 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  br label %125

125:                                              ; preds = %119, %101
  %126 = phi i1 [ false, %101 ], [ %124, %119 ]
  br label %127

127:                                              ; preds = %125, %88
  %128 = phi i1 [ true, %88 ], [ %126, %125 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %130)
          to label %132 unwind label %169

132:                                              ; preds = %127
  %133 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %134 = extractvalue { ptr, i64 } %131, 0
  store ptr %134, ptr %133, align 8
  %135 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %136 = extractvalue { ptr, i64 } %131, 1
  store i64 %136, ptr %135, align 8
  %137 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %18, i1 noundef zeroext %128) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = sext i32 %138 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  %140 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %139)
          to label %141 unwind label %174

141:                                              ; preds = %132
  %142 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %143 = extractvalue { ptr, i64 } %140, 0
  store ptr %143, ptr %142, align 8
  %144 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %145 = extractvalue { ptr, i64 } %140, 1
  store i64 %145, ptr %144, align 8
  %146 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19) #4
  br i1 %146, label %147, label %159

147:                                              ; preds = %141
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = add nsw i32 %148, 1
  %150 = sext i32 %149 to i64
  %151 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %150)
          to label %152 unwind label %178

152:                                              ; preds = %147
  %153 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %154 = extractvalue { ptr, i64 } %151, 0
  store ptr %154, ptr %153, align 8
  %155 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %156 = extractvalue { ptr, i64 } %151, 1
  store i64 %156, ptr %155, align 8
  %157 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  %158 = xor i1 %157, true
  br label %159

159:                                              ; preds = %152, %141
  %160 = phi i1 [ false, %141 ], [ %158, %152 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  br i1 %160, label %161, label %187

161:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %21, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %164 unwind label %183

164:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %187

165:                                              ; preds = %114
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %10, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %11, align 4
  br label %173

169:                                              ; preds = %127
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %10, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  br label %173

173:                                              ; preds = %169, %165
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  br label %191

174:                                              ; preds = %132
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %10, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %11, align 4
  br label %182

178:                                              ; preds = %147
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %10, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  br label %182

182:                                              ; preds = %178, %174
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  br label %191

183:                                              ; preds = %161
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %10, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %191

187:                                              ; preds = %164, %159
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = add nsw i32 %189, -1
  store i32 %190, ptr %16, align 4, !tbaa !9
  br label %72, !llvm.loop !11

191:                                              ; preds = %183, %182, %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %559

192:                                              ; preds = %75
  %193 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %194 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %22, i32 0, i32 0
  store ptr %193, ptr %194, align 8
  %195 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %196 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %23, i32 0, i32 0
  store ptr %195, ptr %196, align 8
  %197 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %22, i32 0, i32 0
  %198 = load ptr, ptr %197, align 8
  %199 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %23, i32 0, i32 0
  %200 = load ptr, ptr %199, align 8
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %198, ptr %200)
          to label %201 unwind label %214

201:                                              ; preds = %192
  %202 = load ptr, ptr %5, align 8, !tbaa !5
  %203 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z12induced_sortRKSt6vectorIiSaIiEEiRS1_RKS_IbSaIbEES3_(ptr noundef nonnull align 8 dereferenceable(24) %202, i32 noundef %203, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %204 unwind label %214

204:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #4
  %205 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %205, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %206 unwind label %218

206:                                              ; preds = %204
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #4
  %207 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %207, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %208 unwind label %222

208:                                              ; preds = %206
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  store i32 0, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %280, %208
  %210 = load i32, ptr %28, align 4, !tbaa !9
  %211 = load i32, ptr %7, align 4, !tbaa !9
  %212 = icmp slt i32 %210, %211
  br i1 %212, label %226, label %213

213:                                              ; preds = %209
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %283

214:                                              ; preds = %201, %192
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %10, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %11, align 4
  br label %559

218:                                              ; preds = %204
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %10, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  br label %558

222:                                              ; preds = %206
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %10, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %11, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #4
  br label %557

226:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #4
  %227 = load i32, ptr %28, align 4, !tbaa !9
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %228) #4
  %230 = load i32, ptr %229, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #4
  %232 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %231)
          to label %233 unwind label %270

233:                                              ; preds = %226
  %234 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 0
  %235 = extractvalue { ptr, i64 } %232, 0
  store ptr %235, ptr %234, align 8
  %236 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 1
  %237 = extractvalue { ptr, i64 } %232, 1
  store i64 %237, ptr %236, align 8
  %238 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %30) #4
  br i1 %238, label %259, label %239

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

245:                                              ; preds = %239
  %246 = load i32, ptr %28, align 4, !tbaa !9
  %247 = sext i32 %246 to i64
  %248 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %247) #4
  %249 = load i32, ptr %248, align 4, !tbaa !9
  %250 = sub nsw i32 %249, 1
  %251 = sext i32 %250 to i64
  %252 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %251)
          to label %253 unwind label %274

253:                                              ; preds = %245
  %254 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %255 = extractvalue { ptr, i64 } %252, 0
  store ptr %255, ptr %254, align 8
  %256 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %257 = extractvalue { ptr, i64 } %252, 1
  store i64 %257, ptr %256, align 8
  %258 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %31) #4
  br label %259

259:                                              ; preds = %253, %239, %233
  %260 = phi i1 [ false, %239 ], [ false, %233 ], [ %258, %253 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #4
  br i1 %260, label %261, label %279

261:                                              ; preds = %259
  %262 = load i32, ptr %28, align 4, !tbaa !9
  %263 = sext i32 %262 to i64
  %264 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %263) #4
  %265 = load i32, ptr %264, align 4, !tbaa !9
  %266 = load i32, ptr %29, align 4, !tbaa !9
  %267 = add nsw i32 %266, 1
  store i32 %267, ptr %29, align 4, !tbaa !9
  %268 = sext i32 %266 to i64
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %268) #4
  store i32 %265, ptr %269, align 4, !tbaa !9
  br label %279

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

274:                                              ; preds = %245
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %10, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #4
  br label %278

278:                                              ; preds = %274, %270
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %556

279:                                              ; preds = %261, %259
  br label %280

280:                                              ; preds = %279
  %281 = load i32, ptr %28, align 4, !tbaa !9
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %28, align 4, !tbaa !9
  br label %209, !llvm.loop !13

283:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  store i32 0, ptr %32, align 4, !tbaa !9
  %284 = load i32, ptr %32, align 4, !tbaa !9
  %285 = load i32, ptr %7, align 4, !tbaa !9
  %286 = sub nsw i32 %285, 1
  %287 = sext i32 %286 to i64
  %288 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %287) #4
  store i32 %284, ptr %288, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  store i64 1, ptr %33, align 8, !tbaa !14
  br label %289

289:                                              ; preds = %493, %283
  %290 = load i64, ptr %33, align 8, !tbaa !14
  %291 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  %292 = icmp ult i64 %290, %291
  br i1 %292, label %294, label %293

293:                                              ; preds = %289
  store i32 8, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  br label %496

294:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #4
  %295 = load i64, ptr %33, align 8, !tbaa !14
  %296 = sub i64 %295, 1
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %296) #4
  %298 = load i32, ptr %297, align 4, !tbaa !9
  store i32 %298, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  %299 = load i64, ptr %33, align 8, !tbaa !14
  %300 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %299) #4
  %301 = load i32, ptr %300, align 4, !tbaa !9
  store i32 %301, ptr %36, align 4, !tbaa !9
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  %303 = load i32, ptr %35, align 4, !tbaa !9
  %304 = sext i32 %303 to i64
  %305 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %302, i64 noundef %304) #4
  %306 = load i32, ptr %305, align 4, !tbaa !9
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = load i32, ptr %36, align 4, !tbaa !9
  %309 = sext i32 %308 to i64
  %310 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %307, i64 noundef %309) #4
  %311 = load i32, ptr %310, align 4, !tbaa !9
  %312 = icmp ne i32 %306, %311
  br i1 %312, label %313, label %319

313:                                              ; preds = %294
  %314 = load i32, ptr %32, align 4, !tbaa !9
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr %32, align 4, !tbaa !9
  %316 = load i32, ptr %36, align 4, !tbaa !9
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %317) #4
  store i32 %315, ptr %318, align 4, !tbaa !9
  store i32 10, ptr %34, align 4
  br label %490

319:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #4
  store i8 0, ptr %37, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #4
  %320 = load i32, ptr %35, align 4, !tbaa !9
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  %322 = load i32, ptr %36, align 4, !tbaa !9
  %323 = add nsw i32 %322, 1
  store i32 %323, ptr %39, align 4, !tbaa !9
  br label %324

324:                                              ; preds = %470, %319
  %325 = load ptr, ptr %5, align 8, !tbaa !5
  %326 = load i32, ptr %38, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %325, i64 noundef %327) #4
  %329 = load i32, ptr %328, align 4, !tbaa !9
  %330 = load ptr, ptr %5, align 8, !tbaa !5
  %331 = load i32, ptr %39, align 4, !tbaa !9
  %332 = sext i32 %331 to i64
  %333 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %330, i64 noundef %332) #4
  %334 = load i32, ptr %333, align 4, !tbaa !9
  %335 = icmp ne i32 %329, %334
  br i1 %335, label %336, label %337

336:                                              ; preds = %324
  store i8 1, ptr %37, align 1, !tbaa !16
  store i32 11, ptr %34, align 4
  br label %475

337:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #4
  %338 = load i32, ptr %38, align 4, !tbaa !9
  %339 = sext i32 %338 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #4
  %340 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %339)
          to label %341 unwind label %431

341:                                              ; preds = %337
  %342 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %343 = extractvalue { ptr, i64 } %340, 0
  store ptr %343, ptr %342, align 8
  %344 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %345 = extractvalue { ptr, i64 } %340, 1
  store i64 %345, ptr %344, align 8
  %346 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %40) #4
  br i1 %346, label %358, label %347

347:                                              ; preds = %341
  %348 = load i32, ptr %38, align 4, !tbaa !9
  %349 = sub nsw i32 %348, 1
  %350 = sext i32 %349 to i64
  %351 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %350)
          to label %352 unwind label %435

352:                                              ; preds = %347
  %353 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %354 = extractvalue { ptr, i64 } %351, 0
  store ptr %354, ptr %353, align 8
  %355 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %356 = extractvalue { ptr, i64 } %351, 1
  store i64 %356, ptr %355, align 8
  %357 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #4
  br i1 %357, label %381, label %358

358:                                              ; preds = %352, %341
  %359 = load i32, ptr %39, align 4, !tbaa !9
  %360 = sext i32 %359 to i64
  %361 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %360)
          to label %362 unwind label %439

362:                                              ; preds = %358
  %363 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %364 = extractvalue { ptr, i64 } %361, 0
  store ptr %364, ptr %363, align 8
  %365 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %366 = extractvalue { ptr, i64 } %361, 1
  store i64 %366, ptr %365, align 8
  %367 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %42) #4
  br i1 %367, label %379, label %368

368:                                              ; preds = %362
  %369 = load i32, ptr %39, align 4, !tbaa !9
  %370 = sub nsw i32 %369, 1
  %371 = sext i32 %370 to i64
  %372 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %371)
          to label %373 unwind label %443

373:                                              ; preds = %368
  %374 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 0
  %375 = extractvalue { ptr, i64 } %372, 0
  store ptr %375, ptr %374, align 8
  %376 = getelementptr inbounds { ptr, i64 }, ptr %43, i32 0, i32 1
  %377 = extractvalue { ptr, i64 } %372, 1
  store i64 %377, ptr %376, align 8
  %378 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %43) #4
  br label %379

379:                                              ; preds = %373, %362
  %380 = phi i1 [ false, %362 ], [ %378, %373 ]
  br label %381

381:                                              ; preds = %379, %352
  %382 = phi i1 [ true, %352 ], [ %380, %379 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #4
  br i1 %382, label %383, label %469

383:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #4
  %384 = load i32, ptr %38, align 4, !tbaa !9
  %385 = sext i32 %384 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #4
  %386 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %385)
          to label %387 unwind label %450

387:                                              ; preds = %383
  %388 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 0
  %389 = extractvalue { ptr, i64 } %386, 0
  store ptr %389, ptr %388, align 8
  %390 = getelementptr inbounds { ptr, i64 }, ptr %44, i32 0, i32 1
  %391 = extractvalue { ptr, i64 } %386, 1
  store i64 %391, ptr %390, align 8
  %392 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %44) #4
  br i1 %392, label %427, label %393

393:                                              ; preds = %387
  %394 = load i32, ptr %38, align 4, !tbaa !9
  %395 = sub nsw i32 %394, 1
  %396 = sext i32 %395 to i64
  %397 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %396)
          to label %398 unwind label %454

398:                                              ; preds = %393
  %399 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 0
  %400 = extractvalue { ptr, i64 } %397, 0
  store ptr %400, ptr %399, align 8
  %401 = getelementptr inbounds { ptr, i64 }, ptr %45, i32 0, i32 1
  %402 = extractvalue { ptr, i64 } %397, 1
  store i64 %402, ptr %401, align 8
  %403 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %45) #4
  br i1 %403, label %404, label %427

404:                                              ; preds = %398
  %405 = load i32, ptr %39, align 4, !tbaa !9
  %406 = sext i32 %405 to i64
  %407 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %406)
          to label %408 unwind label %458

408:                                              ; preds = %404
  %409 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 0
  %410 = extractvalue { ptr, i64 } %407, 0
  store ptr %410, ptr %409, align 8
  %411 = getelementptr inbounds { ptr, i64 }, ptr %46, i32 0, i32 1
  %412 = extractvalue { ptr, i64 } %407, 1
  store i64 %412, ptr %411, align 8
  %413 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %46) #4
  br i1 %413, label %425, label %414

414:                                              ; preds = %408
  %415 = load i32, ptr %39, align 4, !tbaa !9
  %416 = sub nsw i32 %415, 1
  %417 = sext i32 %416 to i64
  %418 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %417)
          to label %419 unwind label %462

419:                                              ; preds = %414
  %420 = getelementptr inbounds { ptr, i64 }, ptr %47, i32 0, i32 0
  %421 = extractvalue { ptr, i64 } %418, 0
  store ptr %421, ptr %420, align 8
  %422 = getelementptr inbounds { ptr, i64 }, ptr %47, i32 0, i32 1
  %423 = extractvalue { ptr, i64 } %418, 1
  store i64 %423, ptr %422, align 8
  %424 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %47) #4
  br label %425

425:                                              ; preds = %419, %408
  %426 = phi i1 [ false, %408 ], [ %424, %419 ]
  br label %427

427:                                              ; preds = %425, %398, %387
  %428 = phi i1 [ false, %398 ], [ false, %387 ], [ %426, %425 ]
  %429 = xor i1 %428, true
  %430 = zext i1 %429 to i8
  store i8 %430, ptr %37, align 1, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #4
  store i32 11, ptr %34, align 4
  br label %475

431:                                              ; preds = %337
  %432 = landingpad { ptr, i32 }
          cleanup
  %433 = extractvalue { ptr, i32 } %432, 0
  store ptr %433, ptr %10, align 8
  %434 = extractvalue { ptr, i32 } %432, 1
  store i32 %434, ptr %11, align 4
  br label %449

435:                                              ; preds = %347
  %436 = landingpad { ptr, i32 }
          cleanup
  %437 = extractvalue { ptr, i32 } %436, 0
  store ptr %437, ptr %10, align 8
  %438 = extractvalue { ptr, i32 } %436, 1
  store i32 %438, ptr %11, align 4
  br label %448

439:                                              ; preds = %358
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %10, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %11, align 4
  br label %447

443:                                              ; preds = %368
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %10, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #4
  br label %447

447:                                              ; preds = %443, %439
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #4
  br label %448

448:                                              ; preds = %447, %435
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #4
  br label %449

449:                                              ; preds = %448, %431
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #4
  br label %476

450:                                              ; preds = %383
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %10, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %11, align 4
  br label %468

454:                                              ; preds = %393
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %10, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %11, align 4
  br label %467

458:                                              ; preds = %404
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %10, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %11, align 4
  br label %466

462:                                              ; preds = %414
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %10, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #4
  br label %466

466:                                              ; preds = %462, %458
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #4
  br label %467

467:                                              ; preds = %466, %454
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #4
  br label %468

468:                                              ; preds = %467, %450
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #4
  br label %476

469:                                              ; preds = %381
  br label %470

470:                                              ; preds = %469
  %471 = load i32, ptr %38, align 4, !tbaa !9
  %472 = add nsw i32 %471, 1
  store i32 %472, ptr %38, align 4, !tbaa !9
  %473 = load i32, ptr %39, align 4, !tbaa !9
  %474 = add nsw i32 %473, 1
  store i32 %474, ptr %39, align 4, !tbaa !9
  br label %324, !llvm.loop !18

475:                                              ; preds = %427, %336
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  br label %477

476:                                              ; preds = %468, %449
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  br label %555

477:                                              ; preds = %475
  %478 = load i8, ptr %37, align 1, !tbaa !16, !range !19, !noundef !20
  %479 = trunc i8 %478 to i1
  br i1 %479, label %480, label %483

480:                                              ; preds = %477
  %481 = load i32, ptr %32, align 4, !tbaa !9
  %482 = add nsw i32 %481, 1
  store i32 %482, ptr %32, align 4, !tbaa !9
  br label %485

483:                                              ; preds = %477
  %484 = load i32, ptr %32, align 4, !tbaa !9
  br label %485

485:                                              ; preds = %483, %480
  %486 = phi i32 [ %482, %480 ], [ %484, %483 ]
  %487 = load i32, ptr %36, align 4, !tbaa !9
  %488 = sext i32 %487 to i64
  %489 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %488) #4
  store i32 %486, ptr %489, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #4
  store i32 0, ptr %34, align 4
  br label %490

490:                                              ; preds = %485, %313
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  %491 = load i32, ptr %34, align 4
  switch i32 %491, label %569 [
    i32 0, label %492
    i32 10, label %493
  ]

492:                                              ; preds = %490
  br label %493

493:                                              ; preds = %492, %490
  %494 = load i64, ptr %33, align 8, !tbaa !14
  %495 = add i64 %494, 1
  store i64 %495, ptr %33, align 8, !tbaa !14
  br label %289, !llvm.loop !21

496:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #4
  store i64 0, ptr %48, align 8, !tbaa !14
  br label %497

497:                                              ; preds = %511, %496
  %498 = load i64, ptr %48, align 8, !tbaa !14
  %499 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %500 = icmp ult i64 %498, %499
  br i1 %500, label %502, label %501

501:                                              ; preds = %497
  store i32 14, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #4
  br label %514

502:                                              ; preds = %497
  %503 = load i64, ptr %48, align 8, !tbaa !14
  %504 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %503) #4
  %505 = load i32, ptr %504, align 4, !tbaa !9
  %506 = sext i32 %505 to i64
  %507 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %506) #4
  %508 = load i32, ptr %507, align 4, !tbaa !9
  %509 = load i64, ptr %48, align 8, !tbaa !14
  %510 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %509) #4
  store i32 %508, ptr %510, align 4, !tbaa !9
  br label %511

511:                                              ; preds = %502
  %512 = load i64, ptr %48, align 8, !tbaa !14
  %513 = add i64 %512, 1
  store i64 %513, ptr %48, align 8, !tbaa !14
  br label %497, !llvm.loop !22

514:                                              ; preds = %501
  %515 = load i32, ptr %32, align 4, !tbaa !9
  %516 = add nsw i32 %515, 1
  %517 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %518 = trunc i64 %517 to i32
  %519 = icmp slt i32 %516, %518
  br i1 %519, label %520, label %546

520:                                              ; preds = %514
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #4
  %521 = load i32, ptr %32, align 4, !tbaa !9
  %522 = add nsw i32 %521, 1
  invoke void @_Z5SA_ISRKSt6vectorIiSaIiEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %49, ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %522)
          to label %523 unwind label %529

523:                                              ; preds = %520
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #4
  store i64 0, ptr %50, align 8, !tbaa !14
  br label %524

524:                                              ; preds = %542, %523
  %525 = load i64, ptr %50, align 8, !tbaa !14
  %526 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %527 = icmp ult i64 %525, %526
  br i1 %527, label %533, label %528

528:                                              ; preds = %524
  store i32 17, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #4
  br label %545

529:                                              ; preds = %520
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %10, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #4
  br label %555

533:                                              ; preds = %524
  %534 = load i64, ptr %50, align 8, !tbaa !14
  %535 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %534) #4
  %536 = load i32, ptr %535, align 4, !tbaa !9
  %537 = sext i32 %536 to i64
  %538 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %537) #4
  %539 = load i32, ptr %538, align 4, !tbaa !9
  %540 = load i64, ptr %50, align 8, !tbaa !14
  %541 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %540) #4
  store i32 %539, ptr %541, align 4, !tbaa !9
  br label %542

542:                                              ; preds = %533
  %543 = load i64, ptr %50, align 8, !tbaa !14
  %544 = add i64 %543, 1
  store i64 %544, ptr %50, align 8, !tbaa !14
  br label %524, !llvm.loop !23

545:                                              ; preds = %528
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #4
  br label %546

546:                                              ; preds = %545, %514
  %547 = load ptr, ptr %5, align 8, !tbaa !5
  %548 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z12induced_sortRKSt6vectorIiSaIiEEiRS1_RKS_IbSaIbEES3_(ptr noundef nonnull align 8 dereferenceable(24) %547, i32 noundef %548, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %549 unwind label %551

549:                                              ; preds = %546
  store i1 true, ptr %8, align 1
  store i32 1, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #4
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  %550 = load i1, ptr %8, align 1
  br i1 %550, label %562, label %561

551:                                              ; preds = %546
  %552 = landingpad { ptr, i32 }
          cleanup
  %553 = extractvalue { ptr, i32 } %552, 0
  store ptr %553, ptr %10, align 8
  %554 = extractvalue { ptr, i32 } %552, 1
  store i32 %554, ptr %11, align 4
  br label %555

555:                                              ; preds = %551, %529, %476
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  br label %556

556:                                              ; preds = %555, %278
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #4
  br label %557

557:                                              ; preds = %556, %222
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  br label %558

558:                                              ; preds = %557, %218
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #4
  br label %559

559:                                              ; preds = %558, %214, %191, %84
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #4
  br label %560

560:                                              ; preds = %559, %80
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %563

561:                                              ; preds = %549
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %562

562:                                              ; preds = %561, %549
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void

563:                                              ; preds = %560, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %564

564:                                              ; preds = %563
  %565 = load ptr, ptr %10, align 8
  %566 = load i32, ptr %11, align 4
  %567 = insertvalue { ptr, i32 } poison, ptr %565, 0
  %568 = insertvalue { ptr, i32 } %567, i32 %566, 1
  resume { ptr, i32 } %568

569:                                              ; preds = %490
  unreachable
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = distinct !{!18, !12}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}


; 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::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 }
%"class.std::vector.1" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.5" = type { i8 }
%"struct.std::_Bit_reference" = type { ptr, i64 }

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12induced_sortRKSt6vectorIiSaIiEEiRS1_RKS_IbSaIbEES3_(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5SA_ISRKSt6vectorIiSaIiEEi(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector.1", align 8
  %7 = alloca %"class.std::allocator.5", align 1
  %8 = alloca %"struct.std::_Bit_reference", align 8
  %9 = alloca %"struct.std::_Bit_reference", align 8
  %10 = alloca %"struct.std::_Bit_reference", align 8
  %11 = alloca %"struct.std::_Bit_reference", align 8
  %12 = alloca %"struct.std::_Bit_reference", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"struct.std::_Bit_reference", align 8
  %19 = alloca %"struct.std::_Bit_reference", align 8
  %20 = alloca %"struct.std::_Bit_reference", align 8
  %21 = alloca %"struct.std::_Bit_reference", align 8
  %22 = alloca %"struct.std::_Bit_reference", align 8
  %23 = alloca %"struct.std::_Bit_reference", align 8
  %24 = alloca %"struct.std::_Bit_reference", align 8
  %25 = alloca %"struct.std::_Bit_reference", align 8
  %26 = alloca %"struct.std::_Bit_reference", align 8
  %27 = alloca %"struct.std::_Bit_reference", align 8
  %28 = alloca %"class.std::vector", align 8
  %29 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %30 = trunc i64 %29 to i32
  %sext = shl i64 %29, 32
  %31 = ashr exact i64 %sext, 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %32 unwind label %50

32:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %33 unwind label %52

33:                                               ; preds = %32
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  %sext115 = add i64 %sext, -4294967296
  %34 = ashr exact i64 %sext115, 32
  %35 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %34)
          to label %36 unwind label %54

36:                                               ; preds = %33
  %37 = extractvalue { ptr, i64 } %35, 0
  store ptr %37, ptr %8, align 8
  %38 = getelementptr inbounds i8, ptr %8, i64 8
  %39 = extractvalue { ptr, i64 } %35, 1
  store i64 %39, ptr %38, align 8
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %8, i1 noundef zeroext false) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  %41 = icmp sgt i32 %30, 1
  br i1 %41, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %36
  %42 = add i64 %29, 4294967294
  %43 = getelementptr inbounds i8, ptr %9, i64 8
  %44 = getelementptr inbounds i8, ptr %10, i64 8
  %45 = getelementptr inbounds i8, ptr %11, i64 8
  %46 = getelementptr inbounds i8, ptr %12, i64 8
  %47 = and i64 %42, 4294967295
  br label %56

._crit_edge:                                      ; preds = %108, %36
  %48 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %49 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %48, ptr %49)
          to label %110 unwind label %130

50:                                               ; preds = %3
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  br label %312

52:                                               ; preds = %32
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  br label %311

54:                                               ; preds = %33
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  br label %310

56:                                               ; preds = %.lr.ph, %108
  %indvars.iv = phi i64 [ %47, %.lr.ph ], [ %indvars.iv.next, %108 ]
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #4
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = add nuw nsw i64 %indvars.iv, 1
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %59) #4
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = icmp sgt i32 %58, %61
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  br i1 %62, label %75, label %63

63:                                               ; preds = %56
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #4
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %59) #4
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = icmp eq i32 %65, %67
  br i1 %68, label %69, label %75

69:                                               ; preds = %63
  %70 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %59)
          to label %71 unwind label %96

71:                                               ; preds = %69
  %72 = extractvalue { ptr, i64 } %70, 0
  store ptr %72, ptr %9, align 8
  %73 = extractvalue { ptr, i64 } %70, 1
  store i64 %73, ptr %43, align 8
  %74 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #4
  br label %75

75:                                               ; preds = %63, %71, %56
  %76 = phi i1 [ true, %56 ], [ false, %63 ], [ %74, %71 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  %77 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %indvars.iv)
          to label %78 unwind label %98

78:                                               ; preds = %75
  %79 = extractvalue { ptr, i64 } %77, 0
  store ptr %79, ptr %10, align 8
  %80 = extractvalue { ptr, i64 } %77, 1
  store i64 %80, ptr %44, align 8
  %81 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %10, i1 noundef zeroext %76) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #4
  %82 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %indvars.iv)
          to label %83 unwind label %101

83:                                               ; preds = %78
  %84 = extractvalue { ptr, i64 } %82, 0
  store ptr %84, ptr %11, align 8
  %85 = extractvalue { ptr, i64 } %82, 1
  store i64 %85, ptr %45, align 8
  %86 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  br i1 %86, label %87, label %.critedge

87:                                               ; preds = %83
  %88 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %59)
          to label %89 unwind label %103

89:                                               ; preds = %87
  %90 = extractvalue { ptr, i64 } %88, 0
  store ptr %90, ptr %12, align 8
  %91 = extractvalue { ptr, i64 } %88, 1
  store i64 %91, ptr %46, align 8
  %92 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  br i1 %92, label %108, label %93

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %94 = trunc nuw nsw i64 %59 to i32
  store i32 %94, ptr %13, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %95 unwind label %106

95:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br label %108

96:                                               ; preds = %69
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %75
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  br label %100

100:                                              ; preds = %98, %96
  %.pn131 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  br label %310

101:                                              ; preds = %78
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %105

103:                                              ; preds = %87
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #4
  br label %105

105:                                              ; preds = %103, %101
  %.pn133 = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  br label %310

106:                                              ; preds = %93
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br label %310

.critedge:                                        ; preds = %83
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  br label %108

108:                                              ; preds = %89, %95, %.critedge
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %109 = icmp sgt i64 %indvars.iv, 0
  br i1 %109, label %56, label %._crit_edge, !llvm.loop !9

110:                                              ; preds = %._crit_edge
  invoke void @_Z12induced_sortRKSt6vectorIiSaIiEEiRS1_RKS_IbSaIbEES3_(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %111 unwind label %130

111:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #4
  %112 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %112, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %113 unwind label %132

113:                                              ; preds = %111
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #4
  %114 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %114, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %115 unwind label %134

115:                                              ; preds = %113
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  %116 = icmp sgt i32 %30, 0
  br i1 %116, label %.lr.ph183, label %._crit_edge184

.lr.ph183:                                        ; preds = %115
  %117 = getelementptr inbounds i8, ptr %18, i64 8
  %118 = getelementptr inbounds i8, ptr %19, i64 8
  %wide.trip.count = and i64 %29, 2147483647
  br label %136

._crit_edge184:                                   ; preds = %170, %115
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %34) #4
  store i32 0, ptr %119, align 4, !tbaa !5
  %120 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  %121 = icmp ugt i64 %120, 1
  br i1 %121, label %.lr.ph197, label %.preheader142

.lr.ph197:                                        ; preds = %._crit_edge184
  %122 = getelementptr inbounds i8, ptr %20, i64 8
  %123 = getelementptr inbounds i8, ptr %21, i64 8
  %124 = getelementptr inbounds i8, ptr %22, i64 8
  %125 = getelementptr inbounds i8, ptr %23, i64 8
  %126 = getelementptr inbounds i8, ptr %24, i64 8
  %127 = getelementptr inbounds i8, ptr %25, i64 8
  %128 = getelementptr inbounds i8, ptr %26, i64 8
  %129 = getelementptr inbounds i8, ptr %27, i64 8
  br label %173

130:                                              ; preds = %110, %._crit_edge
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %310

132:                                              ; preds = %111
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  br label %309

134:                                              ; preds = %113
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  br label %308

136:                                              ; preds = %.lr.ph183, %170
  %indvars.iv234 = phi i64 [ 0, %.lr.ph183 ], [ %indvars.iv.next235, %170 ]
  %.092181 = phi i32 [ 0, %.lr.ph183 ], [ %.193, %170 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #4
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv234) #4
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #4
  %140 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %139)
          to label %141 unwind label %165

141:                                              ; preds = %136
  %142 = extractvalue { ptr, i64 } %140, 0
  store ptr %142, ptr %18, align 8
  %143 = extractvalue { ptr, i64 } %140, 1
  store i64 %143, ptr %117, align 8
  %144 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %18) #4
  br i1 %144, label %.critedge2, label %145

145:                                              ; preds = %141
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv234) #4
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = icmp sgt i32 %147, 0
  br i1 %148, label %149, label %.critedge2

149:                                              ; preds = %145
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv234) #4
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = add nsw i32 %151, -1
  %153 = sext i32 %152 to i64
  %154 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %153)
          to label %155 unwind label %167

155:                                              ; preds = %149
  %156 = extractvalue { ptr, i64 } %154, 0
  store ptr %156, ptr %19, align 8
  %157 = extractvalue { ptr, i64 } %154, 1
  store i64 %157, ptr %118, align 8
  %158 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #4
  br i1 %158, label %159, label %170

159:                                              ; preds = %155
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv234) #4
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = add nsw i32 %.092181, 1
  %163 = sext i32 %.092181 to i64
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %163) #4
  store i32 %161, ptr %164, align 4, !tbaa !5
  br label %170

165:                                              ; preds = %136
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

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

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

.critedge2:                                       ; preds = %141, %145
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #4
  br label %170

170:                                              ; preds = %155, %159, %.critedge2
  %.193 = phi i32 [ %.092181, %.critedge2 ], [ %162, %159 ], [ %.092181, %155 ]
  %indvars.iv.next235 = add nuw nsw i64 %indvars.iv234, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next235, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge184, label %136, !llvm.loop !11

.preheader142.loopexit:                           ; preds = %273
  %171 = add nsw i32 %.sink, 1
  br label %.preheader142

.preheader142:                                    ; preds = %.preheader142.loopexit, %._crit_edge184
  %.089.lcssa = phi i32 [ 1, %._crit_edge184 ], [ %171, %.preheader142.loopexit ]
  %172 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %.not204 = icmp eq i64 %172, 0
  br i1 %.not204, label %._crit_edge200, label %.lr.ph199

173:                                              ; preds = %.lr.ph197, %273
  %.088195 = phi i64 [ 1, %.lr.ph197 ], [ %275, %273 ]
  %.089193 = phi i32 [ 0, %.lr.ph197 ], [ %.sink, %273 ]
  %174 = add i64 %.088195, -1
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %174) #4
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %.088195) #4
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = sext i32 %176 to i64
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %179) #4
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = sext i32 %178 to i64
  %183 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %182) #4
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %.not = icmp eq i32 %181, %184
  br i1 %.not, label %.preheader143, label %191

.preheader143:                                    ; preds = %173
  %.084185 = add nsw i32 %178, 1
  %.085186 = add nsw i32 %176, 1
  %185 = sext i32 %.085186 to i64
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %185) #4
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %188 = sext i32 %.084185 to i64
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %188) #4
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %.not116187 = icmp eq i32 %187, %190
  br i1 %.not116187, label %.lr.ph192, label %.critedge141

191:                                              ; preds = %173
  %192 = add nsw i32 %.089193, 1
  br label %273

.lr.ph192:                                        ; preds = %.preheader143, %265
  %indvars.iv239 = phi i64 [ %indvars.iv.next240, %265 ], [ %188, %.preheader143 ]
  %indvars.iv237 = phi i64 [ %indvars.iv.next238, %265 ], [ %185, %.preheader143 ]
  %.084.in189 = phi i32 [ %271, %265 ], [ %178, %.preheader143 ]
  %.085.in188 = phi i32 [ %270, %265 ], [ %176, %.preheader143 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #4
  %193 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %indvars.iv237)
          to label %194 unwind label %243

194:                                              ; preds = %.lr.ph192
  %195 = extractvalue { ptr, i64 } %193, 0
  store ptr %195, ptr %20, align 8
  %196 = extractvalue { ptr, i64 } %193, 1
  store i64 %196, ptr %122, align 8
  %197 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %20) #4
  br i1 %197, label %205, label %198

198:                                              ; preds = %194
  %199 = sext i32 %.085.in188 to i64
  %200 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %199)
          to label %201 unwind label %245

201:                                              ; preds = %198
  %202 = extractvalue { ptr, i64 } %200, 0
  store ptr %202, ptr %21, align 8
  %203 = extractvalue { ptr, i64 } %200, 1
  store i64 %203, ptr %123, align 8
  %204 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  br i1 %204, label %.critedge4, label %205

205:                                              ; preds = %201, %194
  %206 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %indvars.iv239)
          to label %207 unwind label %247

207:                                              ; preds = %205
  %208 = extractvalue { ptr, i64 } %206, 0
  store ptr %208, ptr %22, align 8
  %209 = extractvalue { ptr, i64 } %206, 1
  store i64 %209, ptr %124, align 8
  %210 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %22) #4
  br i1 %210, label %.critedge6, label %211

211:                                              ; preds = %207
  %212 = sext i32 %.084.in189 to i64
  %213 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %212)
          to label %214 unwind label %249

214:                                              ; preds = %211
  %215 = extractvalue { ptr, i64 } %213, 0
  store ptr %215, ptr %23, align 8
  %216 = extractvalue { ptr, i64 } %213, 1
  store i64 %216, ptr %125, align 8
  %217 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #4
  br i1 %217, label %.loopexit, label %265

.critedge4:                                       ; preds = %201
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #4
  br label %.loopexit

.loopexit:                                        ; preds = %214, %.critedge4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #4
  %218 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %indvars.iv237)
          to label %219 unwind label %254

219:                                              ; preds = %.loopexit
  %220 = extractvalue { ptr, i64 } %218, 0
  store ptr %220, ptr %24, align 8
  %221 = extractvalue { ptr, i64 } %218, 1
  store i64 %221, ptr %126, align 8
  %222 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %24) #4
  br i1 %222, label %.thread, label %223

223:                                              ; preds = %219
  %224 = sext i32 %.085.in188 to i64
  %225 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %224)
          to label %226 unwind label %256

226:                                              ; preds = %223
  %227 = extractvalue { ptr, i64 } %225, 0
  store ptr %227, ptr %25, align 8
  %228 = extractvalue { ptr, i64 } %225, 1
  store i64 %228, ptr %127, align 8
  %229 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  br i1 %229, label %230, label %.thread

230:                                              ; preds = %226
  %231 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %indvars.iv239)
          to label %232 unwind label %258

232:                                              ; preds = %230
  %233 = extractvalue { ptr, i64 } %231, 0
  store ptr %233, ptr %26, align 8
  %234 = extractvalue { ptr, i64 } %231, 1
  store i64 %234, ptr %128, align 8
  %235 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %26) #4
  br i1 %235, label %.thread, label %236

236:                                              ; preds = %232
  %237 = sext i32 %.084.in189 to i64
  %238 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %237)
          to label %239 unwind label %260

.thread:                                          ; preds = %226, %219, %232
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #4
  br label %.critedge141

239:                                              ; preds = %236
  %240 = extractvalue { ptr, i64 } %238, 0
  store ptr %240, ptr %27, align 8
  %241 = extractvalue { ptr, i64 } %238, 1
  store i64 %241, ptr %129, align 8
  %242 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %27) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #4
  br i1 %242, label %273, label %.critedge141

243:                                              ; preds = %.lr.ph192
  %244 = landingpad { ptr, i32 }
          cleanup
  br label %253

245:                                              ; preds = %198
  %246 = landingpad { ptr, i32 }
          cleanup
  br label %252

247:                                              ; preds = %205
  %248 = landingpad { ptr, i32 }
          cleanup
  br label %251

249:                                              ; preds = %211
  %250 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #4
  br label %251

251:                                              ; preds = %249, %247
  %.pn = phi { ptr, i32 } [ %250, %249 ], [ %248, %247 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #4
  br label %252

252:                                              ; preds = %251, %245
  %.pn.pn = phi { ptr, i32 } [ %.pn, %251 ], [ %246, %245 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #4
  br label %253

253:                                              ; preds = %252, %243
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %252 ], [ %244, %243 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #4
  br label %307

254:                                              ; preds = %.loopexit
  %255 = landingpad { ptr, i32 }
          cleanup
  br label %264

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

258:                                              ; preds = %230
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %262

260:                                              ; preds = %236
  %261 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #4
  br label %262

262:                                              ; preds = %260, %258
  %.pn120 = phi { ptr, i32 } [ %261, %260 ], [ %259, %258 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #4
  br label %263

263:                                              ; preds = %262, %256
  %.pn120.pn = phi { ptr, i32 } [ %.pn120, %262 ], [ %257, %256 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #4
  br label %264

264:                                              ; preds = %263, %254
  %.pn120.pn.pn = phi { ptr, i32 } [ %.pn120.pn, %263 ], [ %255, %254 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #4
  br label %307

.critedge6:                                       ; preds = %207
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #4
  br label %265

265:                                              ; preds = %214, %.critedge6
  %indvars.iv.next240 = add nsw i64 %indvars.iv239, 1
  %indvars.iv.next238 = add nsw i64 %indvars.iv237, 1
  %266 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next238) #4
  %267 = load i32, ptr %266, align 4, !tbaa !5
  %268 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv.next240) #4
  %269 = load i32, ptr %268, align 4, !tbaa !5
  %.not116 = icmp eq i32 %267, %269
  %270 = trunc nsw i64 %indvars.iv237 to i32
  %271 = trunc nsw i64 %indvars.iv239 to i32
  br i1 %.not116, label %.lr.ph192, label %.critedge141, !llvm.loop !12

.critedge141:                                     ; preds = %265, %.preheader143, %.thread, %239
  %272 = add nsw i32 %.089193, 1
  br label %273

273:                                              ; preds = %.critedge141, %239, %191
  %.sink = phi i32 [ %192, %191 ], [ %272, %.critedge141 ], [ %.089193, %239 ]
  %274 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %182) #4
  store i32 %.sink, ptr %274, align 4, !tbaa !5
  %275 = add nuw i64 %.088195, 1
  %276 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  %277 = icmp ult i64 %275, %276
  br i1 %277, label %173, label %.preheader142.loopexit, !llvm.loop !13

._crit_edge200:                                   ; preds = %.lr.ph199, %.preheader142
  %278 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %279 = trunc i64 %278 to i32
  %280 = icmp slt i32 %.089.lcssa, %279
  br i1 %280, label %290, label %303

.lr.ph199:                                        ; preds = %.preheader142, %.lr.ph199
  %.083198 = phi i64 [ %287, %.lr.ph199 ], [ 0, %.preheader142 ]
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.083198) #4
  %282 = load i32, ptr %281, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %283) #4
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %.083198) #4
  store i32 %285, ptr %286, align 4, !tbaa !5
  %287 = add nuw i64 %.083198, 1
  %288 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %289 = icmp ult i64 %287, %288
  br i1 %289, label %.lr.ph199, label %._crit_edge200, !llvm.loop !14

290:                                              ; preds = %._crit_edge200
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #4
  invoke void @_Z5SA_ISRKSt6vectorIiSaIiEEi(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %28, ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef %.089.lcssa)
          to label %.preheader unwind label %292

.preheader:                                       ; preds = %290
  %291 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %.not205 = icmp eq i64 %291, 0
  br i1 %.not205, label %._crit_edge203, label %.lr.ph202

._crit_edge203:                                   ; preds = %.lr.ph202, %.preheader
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #4
  br label %303

292:                                              ; preds = %290
  %293 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #4
  br label %307

.lr.ph202:                                        ; preds = %.preheader, %.lr.ph202
  %.0201 = phi i64 [ %300, %.lr.ph202 ], [ 0, %.preheader ]
  %294 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %.0201) #4
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %296) #4
  %298 = load i32, ptr %297, align 4, !tbaa !5
  %299 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %.0201) #4
  store i32 %298, ptr %299, align 4, !tbaa !5
  %300 = add nuw i64 %.0201, 1
  %301 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  %302 = icmp ult i64 %300, %301
  br i1 %302, label %.lr.ph202, label %._crit_edge203, !llvm.loop !15

303:                                              ; preds = %._crit_edge203, %._crit_edge200
  invoke void @_Z12induced_sortRKSt6vectorIiSaIiEEiRS1_RKS_IbSaIbEES3_(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %304 unwind label %305

304:                                              ; preds = %303
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #4
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  ret void

305:                                              ; preds = %303
  %306 = landingpad { ptr, i32 }
          cleanup
  br label %307

307:                                              ; preds = %292, %305, %264, %253, %169
  %.pn126.pn = phi { ptr, i32 } [ %.pn126, %169 ], [ %306, %305 ], [ %293, %292 ], [ %.pn120.pn.pn, %264 ], [ %.pn.pn.pn, %253 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  br label %308

308:                                              ; preds = %307, %134
  %.pn126.pn.pn = phi { ptr, i32 } [ %.pn126.pn, %307 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  br label %309

309:                                              ; preds = %308, %132
  %.pn126.pn.pn.pn = phi { ptr, i32 } [ %.pn126.pn.pn, %308 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #4
  br label %310

310:                                              ; preds = %100, %105, %106, %309, %130, %54
  %.pn135.pn = phi { ptr, i32 } [ %.pn126.pn.pn.pn, %309 ], [ %131, %130 ], [ %55, %54 ], [ %107, %106 ], [ %.pn133, %105 ], [ %.pn131, %100 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  br label %311

311:                                              ; preds = %310, %52
  %.pn135.pn.pn = phi { ptr, i32 } [ %.pn135.pn, %310 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %312

312:                                              ; preds = %311, %50
  %.pn135.pn.pn.pn = phi { ptr, i32 } [ %.pn135.pn.pn, %311 ], [ %51, %50 ]
  resume { ptr, i32 } %.pn135.pn.pn.pn
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


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