; LLVM IR from AnneLivia/Competitive-Programming :: Online Judges/Neps Academy (MiniPokerOBI2005)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl" }
%"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl" = type { %"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { ptr }
%struct.Data = type { i32, i32 }
%class.anon.0 = type { i8 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %class.anon, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %struct.Data, align 4
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %class.anon.0, align 1
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  call void @_ZNSt6vectorI4DataSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %23 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %24 unwind label %34

24:                                               ; preds = %0
  br label %25

25:                                               ; preds = %337, %24
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = add nsw i32 %26, -1
  store i32 %27, ptr %2, align 4, !tbaa !5
  %28 = icmp ne i32 %26, 0
  br i1 %28, label %29, label %342

29:                                               ; preds = %25
  call void @_ZNSt6vectorI4DataSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %81, %29
  %31 = load i32, ptr %8, align 4, !tbaa !5
  %32 = icmp slt i32 %31, 5
  br i1 %32, label %38, label %33

33:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %86

34:                                               ; preds = %86, %0
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %6, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %7, align 4
  br label %344

38:                                               ; preds = %30
  %39 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %40 unwind label %63

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %41 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  %43 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  %45 = getelementptr inbounds %class.anon, ptr %12, i32 0, i32 0
  store ptr %4, ptr %45, align 8, !tbaa !9
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8
  %48 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8
  %50 = getelementptr inbounds %class.anon, ptr %12, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8
  %52 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr %47, ptr %49, ptr %51)
          to label %53 unwind label %67

53:                                               ; preds = %40
  %54 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %52, ptr %54, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %55 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4DataSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br i1 %57, label %58, label %71

58:                                               ; preds = %53
  %59 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %60 = getelementptr inbounds %struct.Data, ptr %59, i32 0, i32 1
  %61 = load i32, ptr %60, align 4, !tbaa !11
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %60, align 4, !tbaa !11
  br label %80

63:                                               ; preds = %38
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %6, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %7, align 4
  br label %85

67:                                               ; preds = %40
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %6, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %7, align 4
  br label %84

71:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %72 = getelementptr inbounds %struct.Data, ptr %14, i32 0, i32 0
  %73 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %73, ptr %72, align 4, !tbaa !13
  %74 = getelementptr inbounds %struct.Data, ptr %14, i32 0, i32 1
  store i32 1, ptr %74, align 4, !tbaa !11
  invoke void @_ZNSt6vectorI4DataSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(8) %14)
          to label %75 unwind label %76

75:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %80

76:                                               ; preds = %71
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %6, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %84

80:                                               ; preds = %75, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %81

81:                                               ; preds = %80
  %82 = load i32, ptr %8, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %8, align 4, !tbaa !5
  br label %30, !llvm.loop !14

84:                                               ; preds = %76, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %85

85:                                               ; preds = %84, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %344

86:                                               ; preds = %33
  %87 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  %89 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %90 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %89, ptr %90, align 8
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_1EvT_S9_T0_"(ptr %92, ptr %94)
          to label %95 unwind label %34

95:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  %96 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %97 = trunc i64 %96 to i32
  %98 = icmp eq i32 %97, 5
  br i1 %98, label %99, label %132

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  store i8 1, ptr %19, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 1, ptr %20, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %120, %99
  %101 = load i32, ptr %20, align 4, !tbaa !5
  %102 = icmp slt i32 %101, 5
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %123

104:                                              ; preds = %100
  %105 = load i32, ptr %20, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %106) #7
  %108 = getelementptr inbounds %struct.Data, ptr %107, i32 0, i32 0
  %109 = load i32, ptr %108, align 4, !tbaa !13
  %110 = load i32, ptr %20, align 4, !tbaa !5
  %111 = sub nsw i32 %110, 1
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %112) #7
  %114 = getelementptr inbounds %struct.Data, ptr %113, i32 0, i32 0
  %115 = load i32, ptr %114, align 4, !tbaa !13
  %116 = add nsw i32 %115, 1
  %117 = icmp ne i32 %109, %116
  br i1 %117, label %118, label %119

118:                                              ; preds = %104
  store i8 0, ptr %19, align 1, !tbaa !16
  br label %119

119:                                              ; preds = %118, %104
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %20, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %20, align 4, !tbaa !5
  br label %100, !llvm.loop !18

123:                                              ; preds = %103
  %124 = load i8, ptr %19, align 1, !tbaa !16, !range !19, !noundef !20
  %125 = trunc i8 %124 to i1
  br i1 %125, label %126, label %131

126:                                              ; preds = %123
  %127 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %128 = getelementptr inbounds %struct.Data, ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 4, !tbaa !13
  %130 = add nsw i32 %129, 200
  store i32 %130, ptr %18, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %126, %123
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %324

132:                                              ; preds = %95
  %133 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %134 = trunc i64 %133 to i32
  %135 = icmp eq i32 %134, 2
  br i1 %135, label %136, label %190

136:                                              ; preds = %132
  %137 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %138 = getelementptr inbounds %struct.Data, ptr %137, i32 0, i32 1
  %139 = load i32, ptr %138, align 4, !tbaa !11
  %140 = icmp eq i32 %139, 4
  br i1 %140, label %141, label %146

141:                                              ; preds = %136
  %142 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %143 = getelementptr inbounds %struct.Data, ptr %142, i32 0, i32 0
  %144 = load i32, ptr %143, align 4, !tbaa !13
  %145 = add nsw i32 %144, 180
  store i32 %145, ptr %18, align 4, !tbaa !5
  br label %189

146:                                              ; preds = %136
  %147 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %148 = getelementptr inbounds %struct.Data, ptr %147, i32 0, i32 1
  %149 = load i32, ptr %148, align 4, !tbaa !11
  %150 = icmp eq i32 %149, 4
  br i1 %150, label %151, label %156

151:                                              ; preds = %146
  %152 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %153 = getelementptr inbounds %struct.Data, ptr %152, i32 0, i32 0
  %154 = load i32, ptr %153, align 4, !tbaa !13
  %155 = add nsw i32 %154, 180
  store i32 %155, ptr %18, align 4, !tbaa !5
  br label %188

156:                                              ; preds = %146
  %157 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %158 = getelementptr inbounds %struct.Data, ptr %157, i32 0, i32 1
  %159 = load i32, ptr %158, align 4, !tbaa !11
  %160 = icmp eq i32 %159, 3
  br i1 %160, label %161, label %171

161:                                              ; preds = %156
  %162 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %163 = getelementptr inbounds %struct.Data, ptr %162, i32 0, i32 1
  %164 = load i32, ptr %163, align 4, !tbaa !11
  %165 = icmp eq i32 %164, 2
  br i1 %165, label %166, label %171

166:                                              ; preds = %161
  %167 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %168 = getelementptr inbounds %struct.Data, ptr %167, i32 0, i32 0
  %169 = load i32, ptr %168, align 4, !tbaa !13
  %170 = add nsw i32 %169, 160
  store i32 %170, ptr %18, align 4, !tbaa !5
  br label %187

171:                                              ; preds = %161, %156
  %172 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %173 = getelementptr inbounds %struct.Data, ptr %172, i32 0, i32 1
  %174 = load i32, ptr %173, align 4, !tbaa !11
  %175 = icmp eq i32 %174, 2
  br i1 %175, label %176, label %186

176:                                              ; preds = %171
  %177 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %178 = getelementptr inbounds %struct.Data, ptr %177, i32 0, i32 1
  %179 = load i32, ptr %178, align 4, !tbaa !11
  %180 = icmp eq i32 %179, 3
  br i1 %180, label %181, label %186

181:                                              ; preds = %176
  %182 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %183 = getelementptr inbounds %struct.Data, ptr %182, i32 0, i32 0
  %184 = load i32, ptr %183, align 4, !tbaa !13
  %185 = add nsw i32 %184, 160
  store i32 %185, ptr %18, align 4, !tbaa !5
  br label %186

186:                                              ; preds = %181, %176, %171
  br label %187

187:                                              ; preds = %186, %166
  br label %188

188:                                              ; preds = %187, %151
  br label %189

189:                                              ; preds = %188, %141
  br label %323

190:                                              ; preds = %132
  %191 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %192 = trunc i64 %191 to i32
  %193 = icmp eq i32 %192, 3
  br i1 %193, label %194, label %293

194:                                              ; preds = %190
  %195 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %196 = getelementptr inbounds %struct.Data, ptr %195, i32 0, i32 1
  %197 = load i32, ptr %196, align 4, !tbaa !11
  %198 = icmp eq i32 %197, 3
  br i1 %198, label %199, label %204

199:                                              ; preds = %194
  %200 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %201 = getelementptr inbounds %struct.Data, ptr %200, i32 0, i32 0
  %202 = load i32, ptr %201, align 4, !tbaa !13
  %203 = add nsw i32 %202, 140
  store i32 %203, ptr %18, align 4, !tbaa !5
  br label %292

204:                                              ; preds = %194
  %205 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %206 = getelementptr inbounds %struct.Data, ptr %205, i32 0, i32 1
  %207 = load i32, ptr %206, align 4, !tbaa !11
  %208 = icmp eq i32 %207, 3
  br i1 %208, label %209, label %214

209:                                              ; preds = %204
  %210 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %211 = getelementptr inbounds %struct.Data, ptr %210, i32 0, i32 0
  %212 = load i32, ptr %211, align 4, !tbaa !13
  %213 = add nsw i32 %212, 140
  store i32 %213, ptr %18, align 4, !tbaa !5
  br label %291

214:                                              ; preds = %204
  %215 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %216 = getelementptr inbounds %struct.Data, ptr %215, i32 0, i32 1
  %217 = load i32, ptr %216, align 4, !tbaa !11
  %218 = icmp eq i32 %217, 3
  br i1 %218, label %219, label %224

219:                                              ; preds = %214
  %220 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %221 = getelementptr inbounds %struct.Data, ptr %220, i32 0, i32 0
  %222 = load i32, ptr %221, align 4, !tbaa !13
  %223 = add nsw i32 %222, 140
  store i32 %223, ptr %18, align 4, !tbaa !5
  br label %290

224:                                              ; preds = %214
  %225 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %226 = getelementptr inbounds %struct.Data, ptr %225, i32 0, i32 1
  %227 = load i32, ptr %226, align 4, !tbaa !11
  %228 = icmp eq i32 %227, 2
  br i1 %228, label %229, label %245

229:                                              ; preds = %224
  %230 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %231 = getelementptr inbounds %struct.Data, ptr %230, i32 0, i32 1
  %232 = load i32, ptr %231, align 4, !tbaa !11
  %233 = icmp eq i32 %232, 2
  br i1 %233, label %234, label %245

234:                                              ; preds = %229
  %235 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %236 = getelementptr inbounds %struct.Data, ptr %235, i32 0, i32 0
  %237 = load i32, ptr %236, align 4, !tbaa !13
  %238 = mul nsw i32 %237, 3
  %239 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %240 = getelementptr inbounds %struct.Data, ptr %239, i32 0, i32 0
  %241 = load i32, ptr %240, align 4, !tbaa !13
  %242 = mul nsw i32 %241, 2
  %243 = add nsw i32 %238, %242
  %244 = add nsw i32 %243, 20
  store i32 %244, ptr %18, align 4, !tbaa !5
  br label %289

245:                                              ; preds = %229, %224
  %246 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %247 = getelementptr inbounds %struct.Data, ptr %246, i32 0, i32 1
  %248 = load i32, ptr %247, align 4, !tbaa !11
  %249 = icmp eq i32 %248, 2
  br i1 %249, label %250, label %266

250:                                              ; preds = %245
  %251 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %252 = getelementptr inbounds %struct.Data, ptr %251, i32 0, i32 1
  %253 = load i32, ptr %252, align 4, !tbaa !11
  %254 = icmp eq i32 %253, 2
  br i1 %254, label %255, label %266

255:                                              ; preds = %250
  %256 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %257 = getelementptr inbounds %struct.Data, ptr %256, i32 0, i32 0
  %258 = load i32, ptr %257, align 4, !tbaa !13
  %259 = mul nsw i32 %258, 3
  %260 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #7
  %261 = getelementptr inbounds %struct.Data, ptr %260, i32 0, i32 0
  %262 = load i32, ptr %261, align 4, !tbaa !13
  %263 = mul nsw i32 %262, 2
  %264 = add nsw i32 %259, %263
  %265 = add nsw i32 %264, 20
  store i32 %265, ptr %18, align 4, !tbaa !5
  br label %288

266:                                              ; preds = %250, %245
  %267 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %268 = getelementptr inbounds %struct.Data, ptr %267, i32 0, i32 1
  %269 = load i32, ptr %268, align 4, !tbaa !11
  %270 = icmp eq i32 %269, 2
  br i1 %270, label %271, label %287

271:                                              ; preds = %266
  %272 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %273 = getelementptr inbounds %struct.Data, ptr %272, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !11
  %275 = icmp eq i32 %274, 2
  br i1 %275, label %276, label %287

276:                                              ; preds = %271
  %277 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2) #7
  %278 = getelementptr inbounds %struct.Data, ptr %277, i32 0, i32 0
  %279 = load i32, ptr %278, align 4, !tbaa !13
  %280 = mul nsw i32 %279, 3
  %281 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 1) #7
  %282 = getelementptr inbounds %struct.Data, ptr %281, i32 0, i32 0
  %283 = load i32, ptr %282, align 4, !tbaa !13
  %284 = mul nsw i32 %283, 2
  %285 = add nsw i32 %280, %284
  %286 = add nsw i32 %285, 20
  store i32 %286, ptr %18, align 4, !tbaa !5
  br label %287

287:                                              ; preds = %276, %271, %266
  br label %288

288:                                              ; preds = %287, %255
  br label %289

289:                                              ; preds = %288, %234
  br label %290

290:                                              ; preds = %289, %219
  br label %291

291:                                              ; preds = %290, %209
  br label %292

292:                                              ; preds = %291, %199
  br label %322

293:                                              ; preds = %190
  %294 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %295 = trunc i64 %294 to i32
  %296 = icmp eq i32 %295, 4
  br i1 %296, label %297, label %321

297:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %298

298:                                              ; preds = %316, %297
  %299 = load i32, ptr %21, align 4, !tbaa !5
  %300 = icmp slt i32 %299, 4
  br i1 %300, label %302, label %301

301:                                              ; preds = %298
  store i32 10, ptr %22, align 4
  br label %319

302:                                              ; preds = %298
  %303 = load i32, ptr %21, align 4, !tbaa !5
  %304 = sext i32 %303 to i64
  %305 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %304) #7
  %306 = getelementptr inbounds %struct.Data, ptr %305, i32 0, i32 1
  %307 = load i32, ptr %306, align 4, !tbaa !11
  %308 = icmp eq i32 %307, 2
  br i1 %308, label %309, label %315

309:                                              ; preds = %302
  %310 = load i32, ptr %21, align 4, !tbaa !5
  %311 = sext i32 %310 to i64
  %312 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %311) #7
  %313 = getelementptr inbounds %struct.Data, ptr %312, i32 0, i32 0
  %314 = load i32, ptr %313, align 4, !tbaa !13
  store i32 %314, ptr %18, align 4, !tbaa !5
  store i32 10, ptr %22, align 4
  br label %319

315:                                              ; preds = %302
  br label %316

316:                                              ; preds = %315
  %317 = load i32, ptr %21, align 4, !tbaa !5
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %21, align 4, !tbaa !5
  br label %298, !llvm.loop !21

319:                                              ; preds = %309, %301
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %320

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %320, %293
  br label %322

322:                                              ; preds = %321, %292
  br label %323

323:                                              ; preds = %322, %189
  br label %324

324:                                              ; preds = %323, %131
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %326 unwind label %338

326:                                              ; preds = %324
  %327 = load i32, ptr %3, align 4, !tbaa !5
  %328 = add nsw i32 %327, 1
  store i32 %328, ptr %3, align 4, !tbaa !5
  %329 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %325, i32 noundef %327)
          to label %330 unwind label %338

330:                                              ; preds = %326
  %331 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef @.str.1)
          to label %332 unwind label %338

332:                                              ; preds = %330
  %333 = load i32, ptr %18, align 4, !tbaa !5
  %334 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %333)
          to label %335 unwind label %338

335:                                              ; preds = %332
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %334, ptr noundef @.str.2)
          to label %337 unwind label %338

337:                                              ; preds = %335
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %25, !llvm.loop !22

338:                                              ; preds = %335, %332, %330, %326, %324
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %6, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %344

342:                                              ; preds = %25
  store i32 0, ptr %1, align 4
  store i32 1, ptr %22, align 4
  call void @_ZNSt6vectorI4DataSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %343 = load i32, ptr %1, align 4
  ret i32 %343

344:                                              ; preds = %338, %85, %34
  call void @_ZNSt6vectorI4DataSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %345

345:                                              ; preds = %344
  %346 = load ptr, ptr %6, align 8
  %347 = load i32, ptr %7, align 4
  %348 = insertvalue { ptr, i32 } poison, ptr %346, 0
  %349 = insertvalue { ptr, i32 } %348, i32 %347, 1
  resume { ptr, i32 } %349
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr, ptr, ptr) #4

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

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

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

; 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 ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_1EvT_S9_T0_"(ptr, ptr) #4

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

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

attributes #0 = { mustprogress norecurse 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 #6 = { 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 #7 = { nounwind }

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl" }
%"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl" = type { %"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Data, std::allocator<Data>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.Data = type { i32, i32 }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %struct.Data, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt6vectorI4DataSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %7 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
          to label %.preheader36 unwind label %.loopexit.split-lp

.preheader36:                                     ; preds = %0
  %8 = getelementptr inbounds i8, ptr %6, i64 4
  br label %9

9:                                                ; preds = %.preheader36, %306
  %.023 = phi i32 [ %300, %306 ], [ 1, %.preheader36 ]
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = add nsw i32 %10, -1
  store i32 %11, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %10, 0
  br i1 %.not, label %310, label %12

12:                                               ; preds = %9
  call void @_ZNSt6vectorI4DataSaIS0_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %13 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %14 unwind label %26

.loopexit37:                                      ; preds = %103
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %311

.loopexit.split-lp:                               ; preds = %0
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %311

14:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %15 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %16 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %17 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr %15, ptr %16, ptr nonnull %2)
          to label %18 unwind label %28

18:                                               ; preds = %14
  store ptr %17, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %19 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %19, ptr %5, align 8
  %20 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4DataSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br i1 %20, label %21, label %30

21:                                               ; preds = %18
  %22 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  %24 = load i32, ptr %23, align 4, !tbaa !9
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %23, align 4, !tbaa !9
  br label %35

26:                                               ; preds = %86, %69, %52, %35, %12
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %311

28:                                               ; preds = %88, %71, %54, %37, %14
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %106

30:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %31 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %31, ptr %6, align 4, !tbaa !11
  store i32 1, ptr %8, align 4, !tbaa !9
  invoke void @_ZNSt6vectorI4DataSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %32 unwind label %33

32:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %35

33:                                               ; preds = %95, %78, %61, %44, %30
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %106

35:                                               ; preds = %32, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %36 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %37 unwind label %26

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %38 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %39 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %40 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr %38, ptr %39, ptr nonnull %2)
          to label %41 unwind label %28

41:                                               ; preds = %37
  store ptr %40, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %42 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %42, ptr %5, align 8
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4DataSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br i1 %43, label %47, label %44

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %45 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %45, ptr %6, align 4, !tbaa !11
  store i32 1, ptr %8, align 4, !tbaa !9
  invoke void @_ZNSt6vectorI4DataSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %46 unwind label %33

46:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %52

47:                                               ; preds = %41
  %48 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %49 = getelementptr inbounds i8, ptr %48, i64 4
  %50 = load i32, ptr %49, align 4, !tbaa !9
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %49, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %47, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %53 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %54 unwind label %26

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %55 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %56 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %57 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr %55, ptr %56, ptr nonnull %2)
          to label %58 unwind label %28

58:                                               ; preds = %54
  store ptr %57, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %59 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %59, ptr %5, align 8
  %60 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4DataSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br i1 %60, label %64, label %61

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %62 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %62, ptr %6, align 4, !tbaa !11
  store i32 1, ptr %8, align 4, !tbaa !9
  invoke void @_ZNSt6vectorI4DataSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %63 unwind label %33

63:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %69

64:                                               ; preds = %58
  %65 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %66 = getelementptr inbounds i8, ptr %65, i64 4
  %67 = load i32, ptr %66, align 4, !tbaa !9
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %66, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %64, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %70 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %71 unwind label %26

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %72 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %73 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %74 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr %72, ptr %73, ptr nonnull %2)
          to label %75 unwind label %28

75:                                               ; preds = %71
  store ptr %74, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %76 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %76, ptr %5, align 8
  %77 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4DataSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br i1 %77, label %81, label %78

78:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %79 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %79, ptr %6, align 4, !tbaa !11
  store i32 1, ptr %8, align 4, !tbaa !9
  invoke void @_ZNSt6vectorI4DataSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %80 unwind label %33

80:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %86

81:                                               ; preds = %75
  %82 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %83 = getelementptr inbounds i8, ptr %82, i64 4
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %83, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %81, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %87 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %88 unwind label %26

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %89 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %90 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %91 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr %89, ptr %90, ptr nonnull %2)
          to label %92 unwind label %28

92:                                               ; preds = %88
  store ptr %91, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %93 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  store ptr %93, ptr %5, align 8
  %94 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP4DataSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br i1 %94, label %98, label %95

95:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %96 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %96, ptr %6, align 4, !tbaa !11
  store i32 1, ptr %8, align 4, !tbaa !9
  invoke void @_ZNSt6vectorI4DataSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %97 unwind label %33

97:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %103

98:                                               ; preds = %92
  %99 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  %100 = getelementptr inbounds i8, ptr %99, i64 4
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %100, align 4, !tbaa !9
  br label %103

103:                                              ; preds = %98, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %104 = call ptr @_ZNSt6vectorI4DataSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %105 = call ptr @_ZNSt6vectorI4DataSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  invoke void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_1EvT_S9_T0_"(ptr %104, ptr %105)
          to label %107 unwind label %.loopexit37

106:                                              ; preds = %33, %28
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %311

107:                                              ; preds = %103
  %108 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %109 = and i64 %108, 4294967295
  %110 = icmp eq i64 %109, 5
  br i1 %110, label %.preheader.preheader, label %137

.preheader.preheader:                             ; preds = %107
  %111 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %112 = load i32, ptr %111, align 4, !tbaa !11
  %113 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %114 = load i32, ptr %113, align 4, !tbaa !11
  %115 = add nsw i32 %114, 1
  %.not31 = icmp eq i32 %112, %115
  %116 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %117 = load i32, ptr %116, align 4, !tbaa !11
  %118 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %119 = load i32, ptr %118, align 4, !tbaa !11
  %120 = add nsw i32 %119, 1
  %.not31.1 = icmp eq i32 %117, %120
  %121 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 3) #7
  %122 = load i32, ptr %121, align 4, !tbaa !11
  %123 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %124 = load i32, ptr %123, align 4, !tbaa !11
  %125 = add nsw i32 %124, 1
  %.not31.2 = icmp eq i32 %122, %125
  %126 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 4) #7
  %127 = load i32, ptr %126, align 4, !tbaa !11
  %128 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 3) #7
  %129 = load i32, ptr %128, align 4, !tbaa !11
  %130 = add nsw i32 %129, 1
  %.not31.3 = icmp eq i32 %127, %130
  %131 = select i1 %.not31.3, i1 %.not31.2, i1 false
  %132 = select i1 %131, i1 %.not31.1, i1 false
  %spec.select.3 = select i1 %132, i1 %.not31, i1 false
  br i1 %spec.select.3, label %133, label %.loopexit

133:                                              ; preds = %.preheader.preheader
  %134 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %135 = load i32, ptr %134, align 4, !tbaa !11
  %136 = add nsw i32 %135, 200
  br label %.loopexit

137:                                              ; preds = %107
  %138 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %139 = and i64 %138, 4294967295
  %140 = icmp eq i64 %139, 2
  br i1 %140, label %141, label %187

141:                                              ; preds = %137
  %142 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %143 = getelementptr inbounds i8, ptr %142, i64 4
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = icmp eq i32 %144, 4
  br i1 %145, label %146, label %150

146:                                              ; preds = %141
  %147 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %148 = load i32, ptr %147, align 4, !tbaa !11
  %149 = add nsw i32 %148, 180
  br label %.loopexit

150:                                              ; preds = %141
  %151 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %152 = getelementptr inbounds i8, ptr %151, i64 4
  %153 = load i32, ptr %152, align 4, !tbaa !9
  %154 = icmp eq i32 %153, 4
  br i1 %154, label %155, label %159

155:                                              ; preds = %150
  %156 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %157 = load i32, ptr %156, align 4, !tbaa !11
  %158 = add nsw i32 %157, 180
  br label %.loopexit

159:                                              ; preds = %150
  %160 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %161 = getelementptr inbounds i8, ptr %160, i64 4
  %162 = load i32, ptr %161, align 4, !tbaa !9
  %163 = icmp eq i32 %162, 3
  br i1 %163, label %164, label %173

164:                                              ; preds = %159
  %165 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %166 = getelementptr inbounds i8, ptr %165, i64 4
  %167 = load i32, ptr %166, align 4, !tbaa !9
  %168 = icmp eq i32 %167, 2
  br i1 %168, label %169, label %173

169:                                              ; preds = %164
  %170 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %171 = load i32, ptr %170, align 4, !tbaa !11
  %172 = add nsw i32 %171, 160
  br label %.loopexit

173:                                              ; preds = %164, %159
  %174 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %175 = getelementptr inbounds i8, ptr %174, i64 4
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = icmp eq i32 %176, 2
  br i1 %177, label %178, label %.loopexit

178:                                              ; preds = %173
  %179 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %180 = getelementptr inbounds i8, ptr %179, i64 4
  %181 = load i32, ptr %180, align 4, !tbaa !9
  %182 = icmp eq i32 %181, 3
  br i1 %182, label %183, label %.loopexit

183:                                              ; preds = %178
  %184 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %185 = load i32, ptr %184, align 4, !tbaa !11
  %186 = add nsw i32 %185, 160
  br label %.loopexit

187:                                              ; preds = %137
  %188 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %189 = and i64 %188, 4294967295
  %190 = icmp eq i64 %189, 3
  br i1 %190, label %191, label %275

191:                                              ; preds = %187
  %192 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %193 = getelementptr inbounds i8, ptr %192, i64 4
  %194 = load i32, ptr %193, align 4, !tbaa !9
  %195 = icmp eq i32 %194, 3
  br i1 %195, label %196, label %200

196:                                              ; preds = %191
  %197 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %198 = load i32, ptr %197, align 4, !tbaa !11
  %199 = add nsw i32 %198, 140
  br label %.loopexit

200:                                              ; preds = %191
  %201 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %202 = getelementptr inbounds i8, ptr %201, i64 4
  %203 = load i32, ptr %202, align 4, !tbaa !9
  %204 = icmp eq i32 %203, 3
  br i1 %204, label %205, label %209

205:                                              ; preds = %200
  %206 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %207 = load i32, ptr %206, align 4, !tbaa !11
  %208 = add nsw i32 %207, 140
  br label %.loopexit

209:                                              ; preds = %200
  %210 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %211 = getelementptr inbounds i8, ptr %210, i64 4
  %212 = load i32, ptr %211, align 4, !tbaa !9
  %213 = icmp eq i32 %212, 3
  br i1 %213, label %214, label %218

214:                                              ; preds = %209
  %215 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %216 = load i32, ptr %215, align 4, !tbaa !11
  %217 = add nsw i32 %216, 140
  br label %.loopexit

218:                                              ; preds = %209
  %219 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %220 = getelementptr inbounds i8, ptr %219, i64 4
  %221 = load i32, ptr %220, align 4, !tbaa !9
  %222 = icmp eq i32 %221, 2
  br i1 %222, label %223, label %237

223:                                              ; preds = %218
  %224 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %225 = getelementptr inbounds i8, ptr %224, i64 4
  %226 = load i32, ptr %225, align 4, !tbaa !9
  %227 = icmp eq i32 %226, 2
  br i1 %227, label %228, label %237

228:                                              ; preds = %223
  %229 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %230 = load i32, ptr %229, align 4, !tbaa !11
  %231 = mul nsw i32 %230, 3
  %232 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %233 = load i32, ptr %232, align 4, !tbaa !11
  %234 = shl nsw i32 %233, 1
  %235 = add i32 %231, 20
  %236 = add i32 %235, %234
  br label %.loopexit

237:                                              ; preds = %223, %218
  %238 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %239 = getelementptr inbounds i8, ptr %238, i64 4
  %240 = load i32, ptr %239, align 4, !tbaa !9
  %241 = icmp eq i32 %240, 2
  br i1 %241, label %242, label %256

242:                                              ; preds = %237
  %243 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %244 = getelementptr inbounds i8, ptr %243, i64 4
  %245 = load i32, ptr %244, align 4, !tbaa !9
  %246 = icmp eq i32 %245, 2
  br i1 %246, label %247, label %256

247:                                              ; preds = %242
  %248 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %249 = load i32, ptr %248, align 4, !tbaa !11
  %250 = mul nsw i32 %249, 3
  %251 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %252 = load i32, ptr %251, align 4, !tbaa !11
  %253 = shl nsw i32 %252, 1
  %254 = add i32 %250, 20
  %255 = add i32 %254, %253
  br label %.loopexit

256:                                              ; preds = %242, %237
  %257 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %258 = getelementptr inbounds i8, ptr %257, i64 4
  %259 = load i32, ptr %258, align 4, !tbaa !9
  %260 = icmp eq i32 %259, 2
  br i1 %260, label %261, label %.loopexit

261:                                              ; preds = %256
  %262 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %263 = getelementptr inbounds i8, ptr %262, i64 4
  %264 = load i32, ptr %263, align 4, !tbaa !9
  %265 = icmp eq i32 %264, 2
  br i1 %265, label %266, label %.loopexit

266:                                              ; preds = %261
  %267 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %268 = load i32, ptr %267, align 4, !tbaa !11
  %269 = mul nsw i32 %268, 3
  %270 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %271 = load i32, ptr %270, align 4, !tbaa !11
  %272 = shl nsw i32 %271, 1
  %273 = add i32 %269, 20
  %274 = add i32 %273, %272
  br label %.loopexit

275:                                              ; preds = %187
  %276 = call noundef i64 @_ZNKSt6vectorI4DataSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %277 = and i64 %276, 4294967295
  %278 = icmp eq i64 %277, 4
  br i1 %278, label %.preheader35.preheader, label %.loopexit

.preheader35.preheader:                           ; preds = %275
  %279 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %280 = getelementptr inbounds i8, ptr %279, i64 4
  %281 = load i32, ptr %280, align 4, !tbaa !9
  %282 = icmp eq i32 %281, 2
  br i1 %282, label %295, label %.preheader35.1

.preheader35.1:                                   ; preds = %.preheader35.preheader
  %283 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 1) #7
  %284 = getelementptr inbounds i8, ptr %283, i64 4
  %285 = load i32, ptr %284, align 4, !tbaa !9
  %286 = icmp eq i32 %285, 2
  br i1 %286, label %295, label %.preheader35.2

.preheader35.2:                                   ; preds = %.preheader35.1
  %287 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2) #7
  %288 = getelementptr inbounds i8, ptr %287, i64 4
  %289 = load i32, ptr %288, align 4, !tbaa !9
  %290 = icmp eq i32 %289, 2
  br i1 %290, label %295, label %.preheader35.3

.preheader35.3:                                   ; preds = %.preheader35.2
  %291 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 3) #7
  %292 = getelementptr inbounds i8, ptr %291, i64 4
  %293 = load i32, ptr %292, align 4, !tbaa !9
  %294 = icmp eq i32 %293, 2
  br i1 %294, label %295, label %.loopexit

295:                                              ; preds = %.preheader35.3, %.preheader35.2, %.preheader35.1, %.preheader35.preheader
  %.lcssa = phi i64 [ 0, %.preheader35.preheader ], [ 1, %.preheader35.1 ], [ 2, %.preheader35.2 ], [ 3, %.preheader35.3 ]
  %296 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI4DataSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.lcssa) #7
  %297 = load i32, ptr %296, align 4, !tbaa !11
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader35.3, %295, %.preheader.preheader, %133, %155, %173, %178, %183, %169, %146, %275, %196, %214, %247, %266, %261, %256, %228, %205
  %.2 = phi i32 [ %149, %146 ], [ %158, %155 ], [ %172, %169 ], [ %186, %183 ], [ 0, %178 ], [ 0, %173 ], [ %199, %196 ], [ %208, %205 ], [ %217, %214 ], [ %236, %228 ], [ %255, %247 ], [ %274, %266 ], [ 0, %261 ], [ 0, %256 ], [ 0, %275 ], [ %136, %133 ], [ 0, %.preheader.preheader ], [ %297, %295 ], [ 0, %.preheader35.3 ]
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %299 unwind label %308

299:                                              ; preds = %.loopexit
  %300 = add nuw nsw i32 %.023, 1
  %301 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %298, i32 noundef %.023)
          to label %302 unwind label %308

302:                                              ; preds = %299
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %301, ptr noundef nonnull @.str.1)
          to label %304 unwind label %308

304:                                              ; preds = %302
  %305 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %.2)
          to label %306 unwind label %308

306:                                              ; preds = %304
  %307 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %305, ptr noundef nonnull @.str.2)
          to label %9 unwind label %308, !llvm.loop !12

308:                                              ; preds = %306, %304, %302, %299, %.loopexit
  %309 = landingpad { ptr, i32 }
          cleanup
  br label %311

310:                                              ; preds = %9
  call void @_ZNSt6vectorI4DataSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

311:                                              ; preds = %.loopexit37, %.loopexit.split-lp, %26, %106, %308
  %.pn.pn.pn = phi { ptr, i32 } [ %309, %308 ], [ %.pn, %106 ], [ %27, %26 ], [ %lpad.loopexit, %.loopexit37 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorI4DataSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn.pn
}

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_0ET_S9_S9_T0_"(ptr, ptr, ptr) local_unnamed_addr #4

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

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

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

; 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 ptr @_ZNK9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP4DataSt6vectorIS2_SaIS2_EEEEZ4mainE3$_1EvT_S9_T0_"(ptr, ptr) local_unnamed_addr #4

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

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

attributes #0 = { mustprogress norecurse 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 #6 = { 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 #7 = { nounwind }

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

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


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