; LLVM IR from HarshCasper/NeoAlgo :: C-Plus-Plus/search (Manacher's_Algorithm)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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.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 [49 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 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 %"class.std::__cxx11::basic_string", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator.0", align 1
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::allocator.0", align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %27 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %28 unwind label %42

28:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %29 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %30 = trunc i64 %29 to i32
  store i32 %30, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #7
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %32, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %33 unwind label %46

33:                                               ; preds = %28
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %35, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %36 unwind label %50

36:                                               ; preds = %33
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 -1, ptr %12, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %136, %36
  %38 = load i32, ptr %10, align 4, !tbaa !5
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %54, label %41

41:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %140

42:                                               ; preds = %0
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %3, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %4, align 4
  br label %355

46:                                               ; preds = %28
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %3, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %4, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  br label %354

50:                                               ; preds = %33
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %3, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %4, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  br label %353

54:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %55 = load i32, ptr %10, align 4, !tbaa !5
  %56 = load i32, ptr %12, align 4, !tbaa !5
  %57 = icmp sgt i32 %55, %56
  br i1 %57, label %58, label %59

58:                                               ; preds = %54
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %78

59:                                               ; preds = %54
  %60 = load i32, ptr %11, align 4, !tbaa !5
  %61 = load i32, ptr %12, align 4, !tbaa !5
  %62 = add nsw i32 %60, %61
  %63 = load i32, ptr %10, align 4, !tbaa !5
  %64 = sub nsw i32 %62, %63
  %65 = sext i32 %64 to i64
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %65) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %67 = load i32, ptr %12, align 4, !tbaa !5
  %68 = load i32, ptr %10, align 4, !tbaa !5
  %69 = sub nsw i32 %67, %68
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %14, align 4, !tbaa !5
  %71 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %72 unwind label %74

72:                                               ; preds = %59
  %73 = load i32, ptr %71, align 4, !tbaa !5
  store i32 %73, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %78

74:                                               ; preds = %59
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %3, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %139

78:                                               ; preds = %72, %58
  br label %79

79:                                               ; preds = %110, %78
  %80 = load i32, ptr %10, align 4, !tbaa !5
  %81 = load i32, ptr %13, align 4, !tbaa !5
  %82 = sub nsw i32 %80, %81
  %83 = icmp sle i32 0, %82
  br i1 %83, label %84, label %108

84:                                               ; preds = %79
  %85 = load i32, ptr %10, align 4, !tbaa !5
  %86 = load i32, ptr %13, align 4, !tbaa !5
  %87 = add nsw i32 %85, %86
  %88 = load i32, ptr %5, align 4, !tbaa !5
  %89 = icmp slt i32 %87, %88
  br i1 %89, label %90, label %108

90:                                               ; preds = %84
  %91 = load i32, ptr %10, align 4, !tbaa !5
  %92 = load i32, ptr %13, align 4, !tbaa !5
  %93 = sub nsw i32 %91, %92
  %94 = sext i32 %93 to i64
  %95 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %94)
          to label %96 unwind label %113

96:                                               ; preds = %90
  %97 = load i8, ptr %95, align 1, !tbaa !9
  %98 = sext i8 %97 to i32
  %99 = load i32, ptr %10, align 4, !tbaa !5
  %100 = load i32, ptr %13, align 4, !tbaa !5
  %101 = add nsw i32 %99, %100
  %102 = sext i32 %101 to i64
  %103 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %102)
          to label %104 unwind label %113

104:                                              ; preds = %96
  %105 = load i8, ptr %103, align 1, !tbaa !9
  %106 = sext i8 %105 to i32
  %107 = icmp eq i32 %98, %106
  br label %108

108:                                              ; preds = %104, %84, %79
  %109 = phi i1 [ false, %84 ], [ false, %79 ], [ %107, %104 ]
  br i1 %109, label %110, label %117

110:                                              ; preds = %108
  %111 = load i32, ptr %13, align 4, !tbaa !5
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %13, align 4, !tbaa !5
  br label %79, !llvm.loop !10

113:                                              ; preds = %96, %90
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %3, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %4, align 4
  br label %139

117:                                              ; preds = %108
  %118 = load i32, ptr %13, align 4, !tbaa !5
  %119 = add nsw i32 %118, -1
  store i32 %119, ptr %13, align 4, !tbaa !5
  %120 = load i32, ptr %10, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %121) #7
  store i32 %118, ptr %122, align 4, !tbaa !5
  %123 = load i32, ptr %10, align 4, !tbaa !5
  %124 = load i32, ptr %13, align 4, !tbaa !5
  %125 = add nsw i32 %123, %124
  %126 = load i32, ptr %12, align 4, !tbaa !5
  %127 = icmp sgt i32 %125, %126
  br i1 %127, label %128, label %135

128:                                              ; preds = %117
  %129 = load i32, ptr %10, align 4, !tbaa !5
  %130 = load i32, ptr %13, align 4, !tbaa !5
  %131 = sub nsw i32 %129, %130
  store i32 %131, ptr %11, align 4, !tbaa !5
  %132 = load i32, ptr %10, align 4, !tbaa !5
  %133 = load i32, ptr %13, align 4, !tbaa !5
  %134 = add nsw i32 %132, %133
  store i32 %134, ptr %12, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %128, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %136

136:                                              ; preds = %135
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %10, align 4, !tbaa !5
  br label %37, !llvm.loop !12

139:                                              ; preds = %113, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %352

140:                                              ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 -1, ptr %17, align 4, !tbaa !5
  br label %141

141:                                              ; preds = %232, %140
  %142 = load i32, ptr %15, align 4, !tbaa !5
  %143 = load i32, ptr %5, align 4, !tbaa !5
  %144 = icmp slt i32 %142, %143
  br i1 %144, label %146, label %145

145:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %236

146:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %147 = load i32, ptr %15, align 4, !tbaa !5
  %148 = load i32, ptr %17, align 4, !tbaa !5
  %149 = icmp sgt i32 %147, %148
  br i1 %149, label %150, label %151

150:                                              ; preds = %146
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %171

151:                                              ; preds = %146
  %152 = load i32, ptr %16, align 4, !tbaa !5
  %153 = load i32, ptr %17, align 4, !tbaa !5
  %154 = add nsw i32 %152, %153
  %155 = load i32, ptr %15, align 4, !tbaa !5
  %156 = sub nsw i32 %154, %155
  %157 = add nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %158) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %160 = load i32, ptr %17, align 4, !tbaa !5
  %161 = load i32, ptr %15, align 4, !tbaa !5
  %162 = sub nsw i32 %160, %161
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %19, align 4, !tbaa !5
  %164 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %159, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %165 unwind label %167

165:                                              ; preds = %151
  %166 = load i32, ptr %164, align 4, !tbaa !5
  store i32 %166, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %171

167:                                              ; preds = %151
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %3, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %235

171:                                              ; preds = %165, %150
  br label %172

172:                                              ; preds = %205, %171
  %173 = load i32, ptr %15, align 4, !tbaa !5
  %174 = load i32, ptr %18, align 4, !tbaa !5
  %175 = sub nsw i32 %173, %174
  %176 = sub nsw i32 %175, 1
  %177 = icmp sle i32 0, %176
  br i1 %177, label %178, label %203

178:                                              ; preds = %172
  %179 = load i32, ptr %15, align 4, !tbaa !5
  %180 = load i32, ptr %18, align 4, !tbaa !5
  %181 = add nsw i32 %179, %180
  %182 = load i32, ptr %5, align 4, !tbaa !5
  %183 = icmp slt i32 %181, %182
  br i1 %183, label %184, label %203

184:                                              ; preds = %178
  %185 = load i32, ptr %15, align 4, !tbaa !5
  %186 = load i32, ptr %18, align 4, !tbaa !5
  %187 = sub nsw i32 %185, %186
  %188 = sub nsw i32 %187, 1
  %189 = sext i32 %188 to i64
  %190 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %189)
          to label %191 unwind label %208

191:                                              ; preds = %184
  %192 = load i8, ptr %190, align 1, !tbaa !9
  %193 = sext i8 %192 to i32
  %194 = load i32, ptr %15, align 4, !tbaa !5
  %195 = load i32, ptr %18, align 4, !tbaa !5
  %196 = add nsw i32 %194, %195
  %197 = sext i32 %196 to i64
  %198 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %197)
          to label %199 unwind label %208

199:                                              ; preds = %191
  %200 = load i8, ptr %198, align 1, !tbaa !9
  %201 = sext i8 %200 to i32
  %202 = icmp eq i32 %193, %201
  br label %203

203:                                              ; preds = %199, %178, %172
  %204 = phi i1 [ false, %178 ], [ false, %172 ], [ %202, %199 ]
  br i1 %204, label %205, label %212

205:                                              ; preds = %203
  %206 = load i32, ptr %18, align 4, !tbaa !5
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %18, align 4, !tbaa !5
  br label %172, !llvm.loop !13

208:                                              ; preds = %191, %184
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %3, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %4, align 4
  br label %235

212:                                              ; preds = %203
  %213 = load i32, ptr %18, align 4, !tbaa !5
  %214 = add nsw i32 %213, -1
  store i32 %214, ptr %18, align 4, !tbaa !5
  %215 = load i32, ptr %15, align 4, !tbaa !5
  %216 = sext i32 %215 to i64
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %216) #7
  store i32 %213, ptr %217, align 4, !tbaa !5
  %218 = load i32, ptr %15, align 4, !tbaa !5
  %219 = load i32, ptr %18, align 4, !tbaa !5
  %220 = add nsw i32 %218, %219
  %221 = load i32, ptr %17, align 4, !tbaa !5
  %222 = icmp sgt i32 %220, %221
  br i1 %222, label %223, label %231

223:                                              ; preds = %212
  %224 = load i32, ptr %15, align 4, !tbaa !5
  %225 = load i32, ptr %18, align 4, !tbaa !5
  %226 = sub nsw i32 %224, %225
  %227 = sub nsw i32 %226, 1
  store i32 %227, ptr %16, align 4, !tbaa !5
  %228 = load i32, ptr %15, align 4, !tbaa !5
  %229 = load i32, ptr %18, align 4, !tbaa !5
  %230 = add nsw i32 %228, %229
  store i32 %230, ptr %17, align 4, !tbaa !5
  br label %231

231:                                              ; preds = %223, %212
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %232

232:                                              ; preds = %231
  %233 = load i32, ptr %15, align 4, !tbaa !5
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %15, align 4, !tbaa !5
  br label %141, !llvm.loop !14

235:                                              ; preds = %208, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %352

236:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  %237 = 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 %238 unwind label %244

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

239:                                              ; preds = %290, %238
  %240 = load i32, ptr %21, align 4, !tbaa !5
  %241 = load i32, ptr %5, align 4, !tbaa !5
  %242 = icmp slt i32 %240, %241
  br i1 %242, label %248, label %243

243:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %294

244:                                              ; preds = %346, %344, %236
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %3, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %4, align 4
  br label %351

248:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %249 = load i32, ptr %21, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %250) #7
  %252 = load i32, ptr %251, align 4, !tbaa !5
  store i32 %252, ptr %22, align 4, !tbaa !5
  br label %253

253:                                              ; preds = %278, %248
  %254 = load i32, ptr %22, align 4, !tbaa !5
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %256, label %289

256:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %257 = load i32, ptr %22, align 4, !tbaa !5
  %258 = mul nsw i32 2, %257
  %259 = sub nsw i32 %258, 1
  store i32 %259, ptr %23, align 4, !tbaa !5
  %260 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %261 unwind label %281

261:                                              ; preds = %256
  %262 = load i32, ptr %260, align 4, !tbaa !5
  store i32 %262, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  %263 = load i32, ptr %21, align 4, !tbaa !5
  %264 = load i32, ptr %22, align 4, !tbaa !5
  %265 = sub nsw i32 %263, %264
  %266 = add nsw i32 %265, 1
  %267 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %266)
          to label %268 unwind label %285

268:                                              ; preds = %261
  %269 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %267, ptr noundef @.str.1)
          to label %270 unwind label %285

270:                                              ; preds = %268
  %271 = load i32, ptr %21, align 4, !tbaa !5
  %272 = load i32, ptr %22, align 4, !tbaa !5
  %273 = add nsw i32 %271, %272
  %274 = sub nsw i32 %273, 1
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %269, i32 noundef %274)
          to label %276 unwind label %285

276:                                              ; preds = %270
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %275, ptr noundef @.str.2)
          to label %278 unwind label %285

278:                                              ; preds = %276
  %279 = load i32, ptr %22, align 4, !tbaa !5
  %280 = add nsw i32 %279, -1
  store i32 %280, ptr %22, align 4, !tbaa !5
  br label %253, !llvm.loop !15

281:                                              ; preds = %256
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %3, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %293

285:                                              ; preds = %276, %270, %268, %261
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %3, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %4, align 4
  br label %293

289:                                              ; preds = %253
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %290

290:                                              ; preds = %289
  %291 = load i32, ptr %21, align 4, !tbaa !5
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %21, align 4, !tbaa !5
  br label %239, !llvm.loop !16

293:                                              ; preds = %285, %281
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %351

294:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %295

295:                                              ; preds = %340, %294
  %296 = load i32, ptr %24, align 4, !tbaa !5
  %297 = load i32, ptr %5, align 4, !tbaa !5
  %298 = icmp slt i32 %296, %297
  br i1 %298, label %300, label %299

299:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %344

300:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %301 = load i32, ptr %24, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %302) #7
  %304 = load i32, ptr %303, align 4, !tbaa !5
  store i32 %304, ptr %25, align 4, !tbaa !5
  br label %305

305:                                              ; preds = %328, %300
  %306 = load i32, ptr %25, align 4, !tbaa !5
  %307 = icmp ne i32 %306, 0
  br i1 %307, label %308, label %339

308:                                              ; preds = %305
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %309 = load i32, ptr %25, align 4, !tbaa !5
  %310 = mul nsw i32 2, %309
  store i32 %310, ptr %26, align 4, !tbaa !5
  %311 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %312 unwind label %331

312:                                              ; preds = %308
  %313 = load i32, ptr %311, align 4, !tbaa !5
  store i32 %313, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  %314 = load i32, ptr %24, align 4, !tbaa !5
  %315 = load i32, ptr %25, align 4, !tbaa !5
  %316 = sub nsw i32 %314, %315
  %317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %316)
          to label %318 unwind label %335

318:                                              ; preds = %312
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %317, ptr noundef @.str.1)
          to label %320 unwind label %335

320:                                              ; preds = %318
  %321 = load i32, ptr %24, align 4, !tbaa !5
  %322 = load i32, ptr %25, align 4, !tbaa !5
  %323 = add nsw i32 %321, %322
  %324 = sub nsw i32 %323, 1
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %319, i32 noundef %324)
          to label %326 unwind label %335

326:                                              ; preds = %320
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %325, ptr noundef @.str.2)
          to label %328 unwind label %335

328:                                              ; preds = %326
  %329 = load i32, ptr %25, align 4, !tbaa !5
  %330 = add nsw i32 %329, -1
  store i32 %330, ptr %25, align 4, !tbaa !5
  br label %305, !llvm.loop !17

331:                                              ; preds = %308
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %3, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %343

335:                                              ; preds = %326, %320, %318, %312
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %3, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %4, align 4
  br label %343

339:                                              ; preds = %305
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %340

340:                                              ; preds = %339
  %341 = load i32, ptr %24, align 4, !tbaa !5
  %342 = add nsw i32 %341, 1
  store i32 %342, ptr %24, align 4, !tbaa !5
  br label %295, !llvm.loop !18

343:                                              ; preds = %335, %331
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %351

344:                                              ; preds = %299
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %346 unwind label %244

346:                                              ; preds = %344
  %347 = load i32, ptr %20, align 4, !tbaa !5
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %345, i32 noundef %347)
          to label %349 unwind label %244

349:                                              ; preds = %346
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  %350 = load i32, ptr %1, align 4
  ret i32 %350

351:                                              ; preds = %343, %293, %244
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %352

352:                                              ; preds = %351, %235, %139
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %353

353:                                              ; preds = %352, %50
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %354

354:                                              ; preds = %353, %46
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %355

355:                                              ; preds = %354, %42
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  br label %356

356:                                              ; preds = %355
  %357 = load ptr, ptr %3, align 8
  %358 = load i32, ptr %4, align 4
  %359 = insertvalue { ptr, i32 } poison, ptr %357, 0
  %360 = insertvalue { ptr, i32 } %359, i32 %358, 1
  resume { ptr, i32 } %360
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #3

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; 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 noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), 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) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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 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 = { 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 = { 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 #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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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.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 [49 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 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 %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::vector", align 8
  %3 = alloca %"class.std::allocator.0", align 1
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::allocator.0", align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  %11 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %12 unwind label %21

12:                                               ; preds = %0
  %13 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  %14 = trunc i64 %13 to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  %sext = shl i64 %13, 32
  %15 = ashr exact i64 %sext, 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %15, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %16 unwind label %23

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

17:                                               ; preds = %16
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  %18 = icmp sgt i32 %14, 0
  br i1 %18, label %.lr.ph135.preheader, label %._crit_edge

.lr.ph135.preheader:                              ; preds = %17
  %19 = and i64 %13, 2147483647
  %wide.trip.count = and i64 %13, 2147483647
  br label %.lr.ph135

.preheader125:                                    ; preds = %.critedge
  br i1 %18, label %.lr.ph147.preheader, label %._crit_edge

.lr.ph147.preheader:                              ; preds = %.preheader125
  %20 = and i64 %13, 2147483647
  %wide.trip.count177 = and i64 %13, 2147483647
  br label %.lr.ph147

21:                                               ; preds = %0
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %161

23:                                               ; preds = %12
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  br label %160

25:                                               ; preds = %16
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  br label %159

.lr.ph135:                                        ; preds = %.lr.ph135.preheader, %.critedge
  %indvars.iv166 = phi i64 [ 0, %.lr.ph135.preheader ], [ %indvars.iv.next167, %.critedge ]
  %indvars.iv163 = phi i32 [ 1, %.lr.ph135.preheader ], [ %indvars.iv.next164, %.critedge ]
  %.0101.neg134 = phi i32 [ 0, %.lr.ph135.preheader ], [ %65, %.critedge ]
  %.097133 = phi i32 [ -1, %.lr.ph135.preheader ], [ %spec.select121, %.critedge ]
  %.099132 = phi i32 [ 0, %.lr.ph135.preheader ], [ %spec.select, %.critedge ]
  %27 = sext i32 %.097133 to i64
  %28 = icmp sgt i64 %indvars.iv166, %27
  br i1 %28, label %38, label %29

29:                                               ; preds = %.lr.ph135
  %30 = add i32 %.099132, %.0101.neg134
  %31 = add i32 %30, %.097133
  %32 = sext i32 %31 to i64
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  %34 = add nsw i32 %.0101.neg134, 1
  %35 = add i32 %34, %.097133
  store i32 %35, ptr %6, align 4, !tbaa !5
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %37 = load i32, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  br label %38

38:                                               ; preds = %.lr.ph135, %29
  %.095 = phi i32 [ %37, %29 ], [ 1, %.lr.ph135 ]
  %39 = trunc nuw nsw i64 %indvars.iv166 to i32
  %40 = sub nsw i32 %39, %.095
  %41 = icmp sgt i32 %40, -1
  br i1 %41, label %.lr.ph.preheader, label %.critedge

.lr.ph.preheader:                                 ; preds = %38
  %42 = sext i32 %.095 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %53
  %indvars.iv = phi i64 [ %42, %.lr.ph.preheader ], [ %indvars.iv.next, %53 ]
  %43 = phi i32 [ %40, %.lr.ph.preheader ], [ %56, %53 ]
  %44 = add nsw i64 %indvars.iv, %indvars.iv166
  %45 = icmp slt i64 %44, %19
  br i1 %45, label %46, label %.critedge.loopexit.split.loop.exit

46:                                               ; preds = %.lr.ph
  %47 = zext nneg i32 %43 to i64
  %48 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %47)
  %49 = load i8, ptr %48, align 1, !tbaa !9
  %50 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %44)
  %51 = load i8, ptr %50, align 1, !tbaa !9
  %52 = icmp eq i8 %49, %51
  br i1 %52, label %53, label %.critedge.loopexit.split.loop.exit191

53:                                               ; preds = %46
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %54 = sub nsw i64 %indvars.iv166, %indvars.iv.next
  %55 = icmp sgt i64 %54, -1
  %56 = trunc nsw i64 %54 to i32
  br i1 %55, label %.lr.ph, label %.critedge, !llvm.loop !10

.critedge.loopexit.split.loop.exit:               ; preds = %.lr.ph
  %57 = trunc nsw i64 %indvars.iv to i32
  br label %.critedge

.critedge.loopexit.split.loop.exit191:            ; preds = %46
  %58 = trunc nsw i64 %indvars.iv to i32
  br label %.critedge

.critedge:                                        ; preds = %53, %.critedge.loopexit.split.loop.exit, %.critedge.loopexit.split.loop.exit191, %38
  %.196.lcssa = phi i32 [ %.095, %38 ], [ %57, %.critedge.loopexit.split.loop.exit ], [ %58, %.critedge.loopexit.split.loop.exit191 ], [ %indvars.iv163, %53 ]
  %59 = add nsw i32 %.196.lcssa, -1
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv166) #8
  store i32 %.196.lcssa, ptr %60, align 4, !tbaa !5
  %61 = add nsw i32 %59, %39
  %62 = icmp sgt i32 %61, %.097133
  %63 = sub nsw i32 %39, %59
  %spec.select = select i1 %62, i32 %63, i32 %.099132
  %spec.select121 = call i32 @llvm.smax.i32(i32 %61, i32 %.097133)
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %indvars.iv.next164 = add nuw i32 %indvars.iv163, 1
  %64 = trunc i64 %indvars.iv166 to i32
  %65 = xor i32 %64, -1
  %exitcond.not = icmp eq i64 %indvars.iv.next167, %wide.trip.count
  br i1 %exitcond.not, label %.preheader125, label %.lr.ph135, !llvm.loop !12

._crit_edge:                                      ; preds = %.critedge2, %17, %.preheader125
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  store i32 0, ptr %8, align 4, !tbaa !5
  %66 = 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 %.preheader124 unwind label %106

.preheader124:                                    ; preds = %._crit_edge
  br i1 %18, label %.lr.ph154.preheader, label %._crit_edge162

.lr.ph154.preheader:                              ; preds = %.preheader124
  %wide.trip.count182 = and i64 %13, 2147483647
  br label %.lr.ph154

.lr.ph147:                                        ; preds = %.lr.ph147.preheader, %.critedge2
  %indvars.iv173 = phi i64 [ 0, %.lr.ph147.preheader ], [ %indvars.iv.next174, %.critedge2 ]
  %.094.neg146 = phi i32 [ 0, %.lr.ph147.preheader ], [ %105, %.critedge2 ]
  %.090145 = phi i32 [ -1, %.lr.ph147.preheader ], [ %spec.select123, %.critedge2 ]
  %.092144 = phi i32 [ 0, %.lr.ph147.preheader ], [ %spec.select122, %.critedge2 ]
  %67 = sext i32 %.090145 to i64
  %68 = icmp sgt i64 %indvars.iv173, %67
  br i1 %68, label %78, label %69

69:                                               ; preds = %.lr.ph147
  %70 = add nsw i32 %.094.neg146, 1
  %71 = add i32 %70, %.092144
  %72 = add i32 %71, %.090145
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %73) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %75 = add i32 %70, %.090145
  store i32 %75, ptr %7, align 4, !tbaa !5
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %77 = load i32, ptr %76, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  br label %78

78:                                               ; preds = %.lr.ph147, %69
  %.089 = phi i32 [ %77, %69 ], [ 0, %.lr.ph147 ]
  %79 = xor i32 %.089, -1
  %80 = trunc nuw nsw i64 %indvars.iv173 to i32
  %81 = add i32 %80, %79
  %82 = icmp sgt i32 %81, -1
  br i1 %82, label %.lr.ph137.preheader, label %.critedge2

.lr.ph137.preheader:                              ; preds = %78
  %83 = sext i32 %.089 to i64
  br label %.lr.ph137

.lr.ph137:                                        ; preds = %.lr.ph137.preheader, %95
  %indvars.iv170 = phi i64 [ %83, %.lr.ph137.preheader ], [ %indvars.iv.next171, %95 ]
  %84 = phi i32 [ %81, %.lr.ph137.preheader ], [ %96, %95 ]
  %85 = add nsw i64 %indvars.iv170, %indvars.iv173
  %86 = icmp slt i64 %85, %20
  %87 = trunc nsw i64 %indvars.iv170 to i32
  br i1 %86, label %88, label %.critedge2

88:                                               ; preds = %.lr.ph137
  %89 = zext nneg i32 %84 to i64
  %90 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %89)
  %91 = load i8, ptr %90, align 1, !tbaa !9
  %92 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %85)
  %93 = load i8, ptr %92, align 1, !tbaa !9
  %94 = icmp eq i8 %91, %93
  br i1 %94, label %95, label %.critedge2

95:                                               ; preds = %88
  %indvars.iv.next171 = add nsw i64 %indvars.iv170, 1
  %reass.sub = sub i32 %80, %87
  %96 = add i32 %reass.sub, -2
  %97 = icmp sgt i32 %96, -1
  br i1 %97, label %.lr.ph137, label %.critedge2, !llvm.loop !13

.critedge2:                                       ; preds = %88, %95, %.lr.ph137, %78
  %.1.lcssa = phi i32 [ %.089, %78 ], [ %87, %.lr.ph137 ], [ %80, %95 ], [ %87, %88 ]
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv173) #8
  store i32 %.1.lcssa, ptr %98, align 4, !tbaa !5
  %99 = trunc i64 %indvars.iv173 to i32
  %100 = add i32 %99, -1
  %101 = add i32 %100, %.1.lcssa
  %102 = icmp sgt i32 %101, %.090145
  %103 = sub i32 %80, %.1.lcssa
  %spec.select122 = select i1 %102, i32 %103, i32 %.092144
  %spec.select123 = call i32 @llvm.smax.i32(i32 %101, i32 %.090145)
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %104 = trunc i64 %indvars.iv173 to i32
  %105 = xor i32 %104, -1
  %exitcond178.not = icmp eq i64 %indvars.iv.next174, %wide.trip.count177
  br i1 %exitcond178.not, label %._crit_edge, label %.lr.ph147, !llvm.loop !14

.preheader:                                       ; preds = %._crit_edge152
  br i1 %18, label %.lr.ph161.preheader, label %._crit_edge162

.lr.ph161.preheader:                              ; preds = %.preheader
  %wide.trip.count187 = and i64 %13, 2147483647
  br label %.lr.ph161

106:                                              ; preds = %154, %._crit_edge162, %._crit_edge
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %158

.lr.ph154:                                        ; preds = %.lr.ph154.preheader, %._crit_edge152
  %indvars.iv179 = phi i64 [ 0, %.lr.ph154.preheader ], [ %.pre, %._crit_edge152 ]
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv179) #8
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %.not116148 = icmp eq i32 %109, 0
  %.pre = add nuw nsw i64 %indvars.iv179, 1
  br i1 %.not116148, label %._crit_edge152, label %.lr.ph151

.lr.ph151:                                        ; preds = %.lr.ph154
  %110 = trunc nuw nsw i64 %.pre to i32
  %111 = trunc i64 %indvars.iv179 to i32
  %112 = add i32 %111, -1
  br label %113

113:                                              ; preds = %.lr.ph151, %127
  %.087149 = phi i32 [ %109, %.lr.ph151 ], [ %128, %127 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  %114 = shl nsw i32 %.087149, 1
  %115 = add nsw i32 %114, -1
  store i32 %115, ptr %9, align 4, !tbaa !5
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %117 = load i32, ptr %116, align 4, !tbaa !5
  store i32 %117, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  %118 = sub i32 %110, %.087149
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %118)
          to label %120 unwind label %129

120:                                              ; preds = %113
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull @.str.1)
          to label %122 unwind label %129

122:                                              ; preds = %120
  %123 = add i32 %112, %.087149
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %121, i32 noundef %123)
          to label %125 unwind label %129

125:                                              ; preds = %122
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull @.str.2)
          to label %127 unwind label %129

127:                                              ; preds = %125
  %128 = add nsw i32 %.087149, -1
  %.not116 = icmp eq i32 %128, 0
  br i1 %.not116, label %._crit_edge152, label %113, !llvm.loop !15

129:                                              ; preds = %125, %122, %120, %113
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %158

._crit_edge152:                                   ; preds = %127, %.lr.ph154
  %exitcond183.not = icmp eq i64 %.pre, %wide.trip.count182
  br i1 %exitcond183.not, label %.preheader, label %.lr.ph154, !llvm.loop !16

._crit_edge162:                                   ; preds = %._crit_edge159, %.preheader124, %.preheader
  %131 = 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.3)
          to label %154 unwind label %106

.lr.ph161:                                        ; preds = %.lr.ph161.preheader, %._crit_edge159
  %indvars.iv184 = phi i64 [ 0, %.lr.ph161.preheader ], [ %indvars.iv.next185, %._crit_edge159 ]
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv184) #8
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %.not155 = icmp eq i32 %133, 0
  br i1 %.not155, label %._crit_edge159, label %.lr.ph158

.lr.ph158:                                        ; preds = %.lr.ph161
  %134 = trunc nuw nsw i64 %indvars.iv184 to i32
  %135 = trunc i64 %indvars.iv184 to i32
  %136 = add i32 %135, -1
  br label %137

137:                                              ; preds = %.lr.ph158, %150
  %.0156 = phi i32 [ %133, %.lr.ph158 ], [ %151, %150 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #8
  %138 = shl nsw i32 %.0156, 1
  store i32 %138, ptr %10, align 4, !tbaa !5
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %140 = load i32, ptr %139, align 4, !tbaa !5
  store i32 %140, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  %141 = sub nsw i32 %134, %.0156
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %141)
          to label %143 unwind label %152

143:                                              ; preds = %137
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull @.str.1)
          to label %145 unwind label %152

145:                                              ; preds = %143
  %146 = add i32 %136, %.0156
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %144, i32 noundef %146)
          to label %148 unwind label %152

148:                                              ; preds = %145
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull @.str.2)
          to label %150 unwind label %152

150:                                              ; preds = %148
  %151 = add nsw i32 %.0156, -1
  %.not = icmp eq i32 %151, 0
  br i1 %.not, label %._crit_edge159, label %137, !llvm.loop !17

152:                                              ; preds = %148, %145, %143, %137
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %158

._crit_edge159:                                   ; preds = %150, %.lr.ph161
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %exitcond188.not = icmp eq i64 %indvars.iv.next185, %wide.trip.count187
  br i1 %exitcond188.not, label %._crit_edge162, label %.lr.ph161, !llvm.loop !18

154:                                              ; preds = %._crit_edge162
  %155 = load i32, ptr %8, align 4, !tbaa !5
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %131, i32 noundef %155)
          to label %157 unwind label %106

157:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #8
  ret i32 0

158:                                              ; preds = %152, %129, %106
  %.pn = phi { ptr, i32 } [ %130, %129 ], [ %153, %152 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %159

159:                                              ; preds = %158, %25
  %.pn.pn = phi { ptr, i32 } [ %.pn, %158 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  br label %160

160:                                              ; preds = %159, %23
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %159 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  br label %161

161:                                              ; preds = %160, %21
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %160 ], [ %22, %21 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn.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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; 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 noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), 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 #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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

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

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 = { 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 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}


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