; LLVM IR from abeaumont/competitive-programming :: codeforces/1151 (b)

; 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<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<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.2" = type { i8 }
%"class.std::allocator" = 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 [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 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 %"class.std::vector", align 8
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca %"class.std::allocator.2", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.std::allocator.2", align 1
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::vector.0", align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::vector.0", align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %38 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %39 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %40 = getelementptr i8, ptr %39, i64 -24
  %41 = load i64, ptr %40, align 8
  %42 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %41
  %43 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %42, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #6
  %46 = load i32, ptr %2, align 4, !tbaa !8
  %47 = sext i32 %46 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  %48 = load i32, ptr %3, align 4, !tbaa !8
  %49 = sext i32 %48 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %49, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %50 unwind label %61

50:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %47, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %51 unwind label %65

51:                                               ; preds = %50
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  %52 = load i32, ptr %2, align 4, !tbaa !8
  %53 = sext i32 %52 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 10, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %54 unwind label %70

54:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %53, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %55 unwind label %74

55:                                               ; preds = %54
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !8
  br label %56

56:                                               ; preds = %102, %55
  %57 = load i32, ptr %14, align 4, !tbaa !8
  %58 = load i32, ptr %2, align 4, !tbaa !8
  %59 = icmp slt i32 %57, %58
  br i1 %59, label %79, label %60

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

61:                                               ; preds = %0
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %7, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %8, align 4
  br label %69

65:                                               ; preds = %50
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %7, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %69

69:                                               ; preds = %65, %61
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  br label %450

70:                                               ; preds = %51
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %7, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %8, align 4
  br label %78

74:                                               ; preds = %54
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %78

78:                                               ; preds = %74, %70
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  br label %449

79:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !8
  br label %80

80:                                               ; preds = %94, %79
  %81 = load i32, ptr %16, align 4, !tbaa !8
  %82 = load i32, ptr %3, align 4, !tbaa !8
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %101

85:                                               ; preds = %80
  %86 = load i32, ptr %14, align 4, !tbaa !8
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %87) #6
  %89 = load i32, ptr %16, align 4, !tbaa !8
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %90) #6
  %92 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %91)
          to label %93 unwind label %97

93:                                               ; preds = %85
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %16, align 4, !tbaa !8
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %16, align 4, !tbaa !8
  br label %80, !llvm.loop !11

97:                                               ; preds = %85
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %448

101:                                              ; preds = %84
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %14, align 4, !tbaa !8
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %14, align 4, !tbaa !8
  br label %56, !llvm.loop !13

105:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !8
  br label %106

106:                                              ; preds = %152, %105
  %107 = load i32, ptr %17, align 4, !tbaa !8
  %108 = icmp slt i32 %107, 10
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %155

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !8
  br label %111

111:                                              ; preds = %148, %110
  %112 = load i32, ptr %18, align 4, !tbaa !8
  %113 = load i32, ptr %2, align 4, !tbaa !8
  %114 = icmp slt i32 %112, %113
  br i1 %114, label %116, label %115

115:                                              ; preds = %111
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %151

116:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !8
  br label %117

117:                                              ; preds = %144, %116
  %118 = load i32, ptr %19, align 4, !tbaa !8
  %119 = load i32, ptr %3, align 4, !tbaa !8
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %122, label %121

121:                                              ; preds = %117
  store i32 14, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %147

122:                                              ; preds = %117
  %123 = load i32, ptr %18, align 4, !tbaa !8
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %124) #6
  %126 = load i32, ptr %19, align 4, !tbaa !8
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %127) #6
  %129 = load i32, ptr %128, align 4, !tbaa !8
  %130 = load i32, ptr %17, align 4, !tbaa !8
  %131 = ashr i32 %129, %130
  %132 = and i32 %131, 1
  %133 = icmp ne i32 %132, 0
  %134 = zext i1 %133 to i64
  %135 = select i1 %133, i32 2, i32 1
  %136 = load i32, ptr %18, align 4, !tbaa !8
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %137) #6
  %139 = load i32, ptr %17, align 4, !tbaa !8
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %140) #6
  %142 = load i32, ptr %141, align 4, !tbaa !8
  %143 = or i32 %142, %135
  store i32 %143, ptr %141, align 4, !tbaa !8
  br label %144

144:                                              ; preds = %122
  %145 = load i32, ptr %19, align 4, !tbaa !8
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %19, align 4, !tbaa !8
  br label %117, !llvm.loop !14

147:                                              ; preds = %121
  br label %148

148:                                              ; preds = %147
  %149 = load i32, ptr %18, align 4, !tbaa !8
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %18, align 4, !tbaa !8
  br label %111, !llvm.loop !15

151:                                              ; preds = %115
  br label %152

152:                                              ; preds = %151
  %153 = load i32, ptr %17, align 4, !tbaa !8
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %17, align 4, !tbaa !8
  br label %106, !llvm.loop !16

155:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !8
  br label %156

156:                                              ; preds = %431, %155
  %157 = load i32, ptr %20, align 4, !tbaa !8
  %158 = icmp slt i32 %157, 10
  br i1 %158, label %160, label %159

159:                                              ; preds = %156
  store i32 17, ptr %15, align 4
  br label %435

160:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !8
  br label %161

161:                                              ; preds = %192, %160
  %162 = load i32, ptr %23, align 4, !tbaa !8
  %163 = load i32, ptr %2, align 4, !tbaa !8
  %164 = icmp slt i32 %162, %163
  br i1 %164, label %166, label %165

165:                                              ; preds = %161
  store i32 20, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %195

166:                                              ; preds = %161
  %167 = load i32, ptr %23, align 4, !tbaa !8
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %168) #6
  %170 = load i32, ptr %20, align 4, !tbaa !8
  %171 = sext i32 %170 to i64
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %171) #6
  %173 = load i32, ptr %172, align 4, !tbaa !8
  %174 = icmp eq i32 %173, 2
  br i1 %174, label %175, label %178

175:                                              ; preds = %166
  %176 = load i32, ptr %21, align 4, !tbaa !8
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %21, align 4, !tbaa !8
  br label %191

178:                                              ; preds = %166
  %179 = load i32, ptr %23, align 4, !tbaa !8
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %180) #6
  %182 = load i32, ptr %20, align 4, !tbaa !8
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef %183) #6
  %185 = load i32, ptr %184, align 4, !tbaa !8
  %186 = icmp eq i32 %185, 3
  br i1 %186, label %187, label %190

187:                                              ; preds = %178
  %188 = load i32, ptr %22, align 4, !tbaa !8
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %22, align 4, !tbaa !8
  br label %190

190:                                              ; preds = %187, %178
  br label %191

191:                                              ; preds = %190, %175
  br label %192

192:                                              ; preds = %191
  %193 = load i32, ptr %23, align 4, !tbaa !8
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %23, align 4, !tbaa !8
  br label %161, !llvm.loop !17

195:                                              ; preds = %165
  %196 = load i32, ptr %21, align 4, !tbaa !8
  %197 = srem i32 %196, 2
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %199, label %293

199:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !8
  br label %200

200:                                              ; preds = %252, %199
  %201 = load i32, ptr %25, align 4, !tbaa !8
  %202 = load i32, ptr %2, align 4, !tbaa !8
  %203 = icmp slt i32 %201, %202
  br i1 %203, label %205, label %204

204:                                              ; preds = %200
  store i32 23, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %256

205:                                              ; preds = %200
  %206 = load i32, ptr %25, align 4, !tbaa !8
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %207) #6
  %209 = load i32, ptr %20, align 4, !tbaa !8
  %210 = sext i32 %209 to i64
  %211 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %208, i64 noundef %210) #6
  %212 = load i32, ptr %211, align 4, !tbaa !8
  %213 = icmp slt i32 %212, 3
  br i1 %213, label %214, label %220

214:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 1, ptr %26, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %215 unwind label %216

215:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %252

216:                                              ; preds = %214
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %7, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %255

220:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !8
  br label %221

221:                                              ; preds = %247, %220
  %222 = load i32, ptr %27, align 4, !tbaa !8
  %223 = load i32, ptr %3, align 4, !tbaa !8
  %224 = icmp slt i32 %222, %223
  br i1 %224, label %226, label %225

225:                                              ; preds = %221
  store i32 26, ptr %15, align 4
  br label %250

226:                                              ; preds = %221
  %227 = load i32, ptr %25, align 4, !tbaa !8
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %228) #6
  %230 = load i32, ptr %27, align 4, !tbaa !8
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %229, i64 noundef %231) #6
  %233 = load i32, ptr %232, align 4, !tbaa !8
  %234 = load i32, ptr %20, align 4, !tbaa !8
  %235 = ashr i32 %233, %234
  %236 = and i32 %235, 1
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %246, label %238

238:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %239 = load i32, ptr %27, align 4, !tbaa !8
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %28, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %241 unwind label %242

241:                                              ; preds = %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  store i32 26, ptr %15, align 4
  br label %250

242:                                              ; preds = %238
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %7, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %255

246:                                              ; preds = %226
  br label %247

247:                                              ; preds = %246
  %248 = load i32, ptr %27, align 4, !tbaa !8
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %27, align 4, !tbaa !8
  br label %221, !llvm.loop !18

250:                                              ; preds = %241, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %251

251:                                              ; preds = %250
  br label %252

252:                                              ; preds = %251, %215
  %253 = load i32, ptr %25, align 4, !tbaa !8
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %25, align 4, !tbaa !8
  br label %200, !llvm.loop !19

255:                                              ; preds = %242, %216
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %292

256:                                              ; preds = %204
  %257 = 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 %258 unwind label %264

258:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 0, ptr %29, align 4, !tbaa !8
  br label %259

259:                                              ; preds = %284, %258
  %260 = load i32, ptr %29, align 4, !tbaa !8
  %261 = load i32, ptr %2, align 4, !tbaa !8
  %262 = icmp slt i32 %260, %261
  br i1 %262, label %268, label %263

263:                                              ; preds = %259
  store i32 29, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %291

264:                                              ; preds = %256
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %7, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %8, align 4
  br label %292

268:                                              ; preds = %259
  %269 = load i32, ptr %29, align 4, !tbaa !8
  %270 = sext i32 %269 to i64
  %271 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %270) #6
  %272 = load i32, ptr %271, align 4, !tbaa !8
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %272)
          to label %274 unwind label %287

274:                                              ; preds = %268
  %275 = load i32, ptr %29, align 4, !tbaa !8
  %276 = load i32, ptr %2, align 4, !tbaa !8
  %277 = sub nsw i32 %276, 1
  %278 = icmp eq i32 %275, %277
  %279 = zext i1 %278 to i64
  %280 = getelementptr inbounds [3 x i8], ptr @.str.1, i64 0, i64 %279
  %281 = load i8, ptr %280, align 1, !tbaa !20
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %273, i8 noundef signext %281)
          to label %283 unwind label %287

283:                                              ; preds = %274
  br label %284

284:                                              ; preds = %283
  %285 = load i32, ptr %29, align 4, !tbaa !8
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr %29, align 4, !tbaa !8
  br label %259, !llvm.loop !21

287:                                              ; preds = %274, %268
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %7, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %292

291:                                              ; preds = %263
  store i32 0, ptr %1, align 4
  store i32 1, ptr %15, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  br label %428

292:                                              ; preds = %287, %264, %255
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #6
  br label %434

293:                                              ; preds = %195
  %294 = load i32, ptr %22, align 4, !tbaa !8
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %426

296:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store i32 0, ptr %31, align 4, !tbaa !8
  br label %297

297:                                              ; preds = %385, %296
  %298 = load i32, ptr %31, align 4, !tbaa !8
  %299 = load i32, ptr %2, align 4, !tbaa !8
  %300 = icmp slt i32 %298, %299
  br i1 %300, label %302, label %301

301:                                              ; preds = %297
  store i32 32, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %389

302:                                              ; preds = %297
  %303 = load i32, ptr %31, align 4, !tbaa !8
  %304 = sext i32 %303 to i64
  %305 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %304) #6
  %306 = load i32, ptr %20, align 4, !tbaa !8
  %307 = sext i32 %306 to i64
  %308 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %305, i64 noundef %307) #6
  %309 = load i32, ptr %308, align 4, !tbaa !8
  %310 = icmp slt i32 %309, 3
  br i1 %310, label %311, label %317

311:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 1, ptr %32, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %312 unwind label %313

312:                                              ; preds = %311
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %385

313:                                              ; preds = %311
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %7, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %388

317:                                              ; preds = %302
  %318 = load i32, ptr %22, align 4, !tbaa !8
  %319 = icmp ne i32 %318, 0
  br i1 %319, label %320, label %352

320:                                              ; preds = %317
  store i32 0, ptr %22, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store i32 0, ptr %33, align 4, !tbaa !8
  br label %321

321:                                              ; preds = %347, %320
  %322 = load i32, ptr %33, align 4, !tbaa !8
  %323 = load i32, ptr %3, align 4, !tbaa !8
  %324 = icmp slt i32 %322, %323
  br i1 %324, label %326, label %325

325:                                              ; preds = %321
  store i32 35, ptr %15, align 4
  br label %350

326:                                              ; preds = %321
  %327 = load i32, ptr %31, align 4, !tbaa !8
  %328 = sext i32 %327 to i64
  %329 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %328) #6
  %330 = load i32, ptr %33, align 4, !tbaa !8
  %331 = sext i32 %330 to i64
  %332 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %329, i64 noundef %331) #6
  %333 = load i32, ptr %332, align 4, !tbaa !8
  %334 = load i32, ptr %20, align 4, !tbaa !8
  %335 = ashr i32 %333, %334
  %336 = and i32 %335, 1
  %337 = icmp ne i32 %336, 0
  br i1 %337, label %338, label %346

338:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %339 = load i32, ptr %33, align 4, !tbaa !8
  %340 = add nsw i32 %339, 1
  store i32 %340, ptr %34, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %341 unwind label %342

341:                                              ; preds = %338
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  store i32 35, ptr %15, align 4
  br label %350

342:                                              ; preds = %338
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %7, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %388

346:                                              ; preds = %326
  br label %347

347:                                              ; preds = %346
  %348 = load i32, ptr %33, align 4, !tbaa !8
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr %33, align 4, !tbaa !8
  br label %321, !llvm.loop !22

350:                                              ; preds = %341, %325
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %351

351:                                              ; preds = %350
  br label %384

352:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !8
  br label %353

353:                                              ; preds = %379, %352
  %354 = load i32, ptr %35, align 4, !tbaa !8
  %355 = load i32, ptr %3, align 4, !tbaa !8
  %356 = icmp slt i32 %354, %355
  br i1 %356, label %358, label %357

357:                                              ; preds = %353
  store i32 38, ptr %15, align 4
  br label %382

358:                                              ; preds = %353
  %359 = load i32, ptr %31, align 4, !tbaa !8
  %360 = sext i32 %359 to i64
  %361 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %360) #6
  %362 = load i32, ptr %35, align 4, !tbaa !8
  %363 = sext i32 %362 to i64
  %364 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %361, i64 noundef %363) #6
  %365 = load i32, ptr %364, align 4, !tbaa !8
  %366 = load i32, ptr %20, align 4, !tbaa !8
  %367 = ashr i32 %365, %366
  %368 = and i32 %367, 1
  %369 = icmp ne i32 %368, 0
  br i1 %369, label %378, label %370

370:                                              ; preds = %358
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  %371 = load i32, ptr %35, align 4, !tbaa !8
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr %36, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %373 unwind label %374

373:                                              ; preds = %370
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  store i32 38, ptr %15, align 4
  br label %382

374:                                              ; preds = %370
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %7, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %388

378:                                              ; preds = %358
  br label %379

379:                                              ; preds = %378
  %380 = load i32, ptr %35, align 4, !tbaa !8
  %381 = add nsw i32 %380, 1
  store i32 %381, ptr %35, align 4, !tbaa !8
  br label %353, !llvm.loop !23

382:                                              ; preds = %373, %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %383

383:                                              ; preds = %382
  br label %384

384:                                              ; preds = %383, %351
  br label %385

385:                                              ; preds = %384, %312
  %386 = load i32, ptr %31, align 4, !tbaa !8
  %387 = add nsw i32 %386, 1
  store i32 %387, ptr %31, align 4, !tbaa !8
  br label %297, !llvm.loop !24

388:                                              ; preds = %374, %342, %313
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %425

389:                                              ; preds = %301
  %390 = 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 %391 unwind label %397

391:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  store i32 0, ptr %37, align 4, !tbaa !8
  br label %392

392:                                              ; preds = %417, %391
  %393 = load i32, ptr %37, align 4, !tbaa !8
  %394 = load i32, ptr %2, align 4, !tbaa !8
  %395 = icmp slt i32 %393, %394
  br i1 %395, label %401, label %396

396:                                              ; preds = %392
  store i32 41, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %424

397:                                              ; preds = %389
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %7, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %8, align 4
  br label %425

401:                                              ; preds = %392
  %402 = load i32, ptr %37, align 4, !tbaa !8
  %403 = sext i32 %402 to i64
  %404 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %403) #6
  %405 = load i32, ptr %404, align 4, !tbaa !8
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %405)
          to label %407 unwind label %420

407:                                              ; preds = %401
  %408 = load i32, ptr %37, align 4, !tbaa !8
  %409 = load i32, ptr %2, align 4, !tbaa !8
  %410 = sub nsw i32 %409, 1
  %411 = icmp eq i32 %408, %410
  %412 = zext i1 %411 to i64
  %413 = getelementptr inbounds [3 x i8], ptr @.str.1, i64 0, i64 %412
  %414 = load i8, ptr %413, align 1, !tbaa !20
  %415 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %406, i8 noundef signext %414)
          to label %416 unwind label %420

416:                                              ; preds = %407
  br label %417

417:                                              ; preds = %416
  %418 = load i32, ptr %37, align 4, !tbaa !8
  %419 = add nsw i32 %418, 1
  store i32 %419, ptr %37, align 4, !tbaa !8
  br label %392, !llvm.loop !25

420:                                              ; preds = %407, %401
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %7, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %425

424:                                              ; preds = %396
  store i32 0, ptr %1, align 4
  store i32 1, ptr %15, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  br label %428

425:                                              ; preds = %420, %397, %388
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  br label %434

426:                                              ; preds = %293
  br label %427

427:                                              ; preds = %426
  store i32 0, ptr %15, align 4
  br label %428

428:                                              ; preds = %427, %424, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  %429 = load i32, ptr %15, align 4
  switch i32 %429, label %435 [
    i32 0, label %430
  ]

430:                                              ; preds = %428
  br label %431

431:                                              ; preds = %430
  %432 = load i32, ptr %20, align 4, !tbaa !8
  %433 = add nsw i32 %432, 1
  store i32 %433, ptr %20, align 4, !tbaa !8
  br label %156, !llvm.loop !26

434:                                              ; preds = %425, %292
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %448

435:                                              ; preds = %428, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  %436 = load i32, ptr %15, align 4
  switch i32 %436, label %440 [
    i32 17, label %437
  ]

437:                                              ; preds = %435
  %438 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %439 unwind label %444

439:                                              ; preds = %437
  store i32 0, ptr %15, align 4
  br label %440

440:                                              ; preds = %439, %435
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %441 = load i32, ptr %15, align 4
  switch i32 %441, label %456 [
    i32 0, label %442
    i32 1, label %442
  ]

442:                                              ; preds = %440, %440
  %443 = load i32, ptr %1, align 4
  ret i32 %443

444:                                              ; preds = %437
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %7, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %8, align 4
  br label %448

448:                                              ; preds = %444, %434, %97
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  br label %449

449:                                              ; preds = %448, %78
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %450

450:                                              ; preds = %449, %69
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %451

451:                                              ; preds = %450
  %452 = load ptr, ptr %7, align 8
  %453 = load i32, ptr %8, align 4
  %454 = insertvalue { ptr, i32 } poison, ptr %452, 0
  %455 = insertvalue { ptr, i32 } %454, i32 %453, 1
  resume { ptr, i32 } %455

456:                                              ; preds = %440
  unreachable
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

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

; 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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(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 = { "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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = !{!10, !10, i64 0}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}


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

%"class.std::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<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<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.2" = type { i8 }
%"class.std::allocator" = 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 [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 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.std::vector.0", align 8
  %5 = alloca %"class.std::allocator.2", align 1
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector.0", align 8
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.0", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %19 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %20 = getelementptr i8, ptr %19, i64 -24
  %21 = load i64, ptr %20, align 8
  %22 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %21
  %23 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %22, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %26 = load i32, ptr %1, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  %27 = load i32, ptr %2, align 4, !tbaa !8
  %28 = sext i32 %27 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %28, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %29 unwind label %44

29:                                               ; preds = %0
  %30 = sext i32 %26 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %30, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %31 unwind label %46

31:                                               ; preds = %29
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  %32 = load i32, ptr %1, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 10, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %33 unwind label %49

33:                                               ; preds = %31
  %34 = sext i32 %32 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %34, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %35 unwind label %51

35:                                               ; preds = %33
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  %36 = load i32, ptr %1, align 4, !tbaa !8
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.preheader136.lr.ph, label %.critedge124

.preheader136.lr.ph:                              ; preds = %35
  %38 = load i32, ptr %2, align 4, !tbaa !8
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.preheader136, label %.preheader134.preheader

.preheader136:                                    ; preds = %.preheader136.lr.ph, %._crit_edge
  %40 = phi i32 [ %54, %._crit_edge ], [ %36, %.preheader136.lr.ph ]
  %41 = phi i32 [ %55, %._crit_edge ], [ %38, %.preheader136.lr.ph ]
  %indvars.iv197 = phi i64 [ %indvars.iv.next198, %._crit_edge ], [ 0, %.preheader136.lr.ph ]
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.lr.ph, label %._crit_edge

.preheader135:                                    ; preds = %._crit_edge
  %43 = icmp sgt i32 %54, 0
  br i1 %43, label %.preheader134.preheader, label %.critedge124

.preheader134.preheader:                          ; preds = %.preheader136.lr.ph, %.preheader135
  %.ph276 = phi i32 [ %36, %.preheader136.lr.ph ], [ %54, %.preheader135 ]
  br label %.preheader134

44:                                               ; preds = %0
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %29
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %48

48:                                               ; preds = %46, %44
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %251

49:                                               ; preds = %31
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %53

51:                                               ; preds = %33
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %53

53:                                               ; preds = %51, %49
  %.pn105 = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %250

._crit_edge.loopexit:                             ; preds = %61
  %.pre = load i32, ptr %1, align 4, !tbaa !8
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader136
  %54 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %40, %.preheader136 ]
  %55 = phi i32 [ %62, %._crit_edge.loopexit ], [ %41, %.preheader136 ]
  %indvars.iv.next198 = add nuw nsw i64 %indvars.iv197, 1
  %56 = sext i32 %54 to i64
  %57 = icmp slt i64 %indvars.iv.next198, %56
  br i1 %57, label %.preheader136, label %.preheader135, !llvm.loop !11

.lr.ph:                                           ; preds = %.preheader136, %61
  %indvars.iv = phi i64 [ %indvars.iv.next, %61 ], [ 0, %.preheader136 ]
  %58 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv197) #6
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %indvars.iv) #6
  %60 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %59)
          to label %61 unwind label %65

61:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %62 = load i32, ptr %2, align 4, !tbaa !8
  %63 = sext i32 %62 to i64
  %64 = icmp slt i64 %indvars.iv.next, %63
  br i1 %64, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !14

65:                                               ; preds = %.lr.ph
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %249

.preheader134:                                    ; preds = %.preheader134.preheader, %._crit_edge149
  %67 = phi i32 [ %78, %._crit_edge149 ], [ %.ph276, %.preheader134.preheader ]
  %68 = phi i32 [ %79, %._crit_edge149 ], [ %.ph276, %.preheader134.preheader ]
  %indvars.iv206 = phi i64 [ %indvars.iv.next207, %._crit_edge149 ], [ 0, %.preheader134.preheader ]
  %69 = icmp sgt i32 %68, 0
  br i1 %69, label %.preheader133.lr.ph, label %._crit_edge149

.preheader133.lr.ph:                              ; preds = %.preheader134
  %70 = trunc nuw nsw i64 %indvars.iv206 to i32
  %71 = shl nuw nsw i32 1, %70
  %72 = load i32, ptr %2, align 4, !tbaa !8
  %73 = icmp sgt i32 %72, 0
  br i1 %73, label %.preheader133, label %._crit_edge149

.preheader132:                                    ; preds = %._crit_edge149
  %74 = icmp sgt i32 %78, 0
  br i1 %74, label %.preheader131, label %.critedge124

.preheader133:                                    ; preds = %.preheader133.lr.ph, %._crit_edge147
  %75 = phi i32 [ %80, %._crit_edge147 ], [ %67, %.preheader133.lr.ph ]
  %76 = phi i32 [ %81, %._crit_edge147 ], [ %72, %.preheader133.lr.ph ]
  %indvars.iv203 = phi i64 [ %indvars.iv.next204, %._crit_edge147 ], [ 0, %.preheader133.lr.ph ]
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %.lr.ph146, label %._crit_edge147

._crit_edge149:                                   ; preds = %._crit_edge147, %.preheader133.lr.ph, %.preheader134
  %78 = phi i32 [ %67, %.preheader134 ], [ %67, %.preheader133.lr.ph ], [ %80, %._crit_edge147 ]
  %79 = phi i32 [ %68, %.preheader134 ], [ %68, %.preheader133.lr.ph ], [ %80, %._crit_edge147 ]
  %indvars.iv.next207 = add nuw nsw i64 %indvars.iv206, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next207, 10
  br i1 %exitcond.not, label %.preheader132, label %.preheader134, !llvm.loop !15

._crit_edge147.loopexit:                          ; preds = %.lr.ph146
  %.pre237 = load i32, ptr %1, align 4, !tbaa !8
  br label %._crit_edge147

._crit_edge147:                                   ; preds = %._crit_edge147.loopexit, %.preheader133
  %80 = phi i32 [ %.pre237, %._crit_edge147.loopexit ], [ %75, %.preheader133 ]
  %81 = phi i32 [ %93, %._crit_edge147.loopexit ], [ %76, %.preheader133 ]
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %82 = sext i32 %80 to i64
  %83 = icmp slt i64 %indvars.iv.next204, %82
  br i1 %83, label %.preheader133, label %._crit_edge149, !llvm.loop !16

.lr.ph146:                                        ; preds = %.preheader133, %.lr.ph146
  %indvars.iv200 = phi i64 [ %indvars.iv.next201, %.lr.ph146 ], [ 0, %.preheader133 ]
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv203) #6
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %indvars.iv200) #6
  %86 = load i32, ptr %85, align 4, !tbaa !8
  %87 = and i32 %86, %71
  %.not119 = icmp eq i32 %87, 0
  %88 = select i1 %.not119, i32 1, i32 2
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv203) #6
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %indvars.iv206) #6
  %91 = load i32, ptr %90, align 4, !tbaa !8
  %92 = or i32 %91, %88
  store i32 %92, ptr %90, align 4, !tbaa !8
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %93 = load i32, ptr %2, align 4, !tbaa !8
  %94 = sext i32 %93 to i64
  %95 = icmp slt i64 %indvars.iv.next201, %94
  br i1 %95, label %.lr.ph146, label %._crit_edge147.loopexit, !llvm.loop !17

.preheader131:                                    ; preds = %.preheader132, %.thread
  %96 = phi i32 [ %245, %.thread ], [ %78, %.preheader132 ]
  %indvars.iv212 = phi i64 [ %indvars.iv.next213, %.thread ], [ 0, %.preheader132 ]
  %97 = icmp sgt i32 %96, 0
  br i1 %97, label %.lr.ph154, label %.thread

._crit_edge155:                                   ; preds = %111
  %98 = and i32 %.178, 1
  %.not = icmp eq i32 %98, 0
  br i1 %.not, label %172, label %.split

.lr.ph154:                                        ; preds = %.preheader131, %111
  %indvars.iv209 = phi i64 [ %indvars.iv.next210, %111 ], [ 0, %.preheader131 ]
  %.076152 = phi i32 [ %.1, %111 ], [ 0, %.preheader131 ]
  %.077151 = phi i32 [ %.178, %111 ], [ 0, %.preheader131 ]
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv209) #6
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %indvars.iv212) #6
  %101 = load i32, ptr %100, align 4, !tbaa !8
  %102 = icmp eq i32 %101, 2
  br i1 %102, label %103, label %105

103:                                              ; preds = %.lr.ph154
  %104 = add nsw i32 %.077151, 1
  br label %111

105:                                              ; preds = %.lr.ph154
  %106 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv209) #6
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef %indvars.iv212) #6
  %108 = load i32, ptr %107, align 4, !tbaa !8
  %109 = icmp eq i32 %108, 3
  %110 = zext i1 %109 to i32
  %spec.select = add nsw i32 %.076152, %110
  br label %111

111:                                              ; preds = %105, %103
  %.178 = phi i32 [ %104, %103 ], [ %.077151, %105 ]
  %.1 = phi i32 [ %.076152, %103 ], [ %spec.select, %105 ]
  %indvars.iv.next210 = add nuw nsw i64 %indvars.iv209, 1
  %112 = load i32, ptr %1, align 4, !tbaa !8
  %113 = sext i32 %112 to i64
  %114 = icmp slt i64 %indvars.iv.next210, %113
  br i1 %114, label %.lr.ph154, label %._crit_edge155, !llvm.loop !18

.split:                                           ; preds = %._crit_edge155
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %115 = load i32, ptr %1, align 4, !tbaa !8
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %.lr.ph167, label %._crit_edge168

.lr.ph167:                                        ; preds = %.split
  %117 = trunc nuw nsw i64 %indvars.iv212 to i32
  %118 = and i64 %indvars.iv212, 4294967295
  %119 = shl nuw nsw i32 1, %117
  br label %123

._crit_edge168:                                   ; preds = %.loopexit130, %.split
  %120 = 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 %.preheader128 unwind label %151

.preheader128:                                    ; preds = %._crit_edge168
  %121 = load i32, ptr %1, align 4, !tbaa !8
  %122 = icmp sgt i32 %121, 0
  br i1 %122, label %.lr.ph170, label %._crit_edge171

123:                                              ; preds = %.lr.ph167, %.loopexit130
  %indvars.iv219 = phi i64 [ 0, %.lr.ph167 ], [ %indvars.iv.next220, %.loopexit130 ]
  %124 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv219) #6
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %118) #6
  %126 = load i32, ptr %125, align 4, !tbaa !8
  %127 = icmp slt i32 %126, 3
  br i1 %127, label %130, label %.preheader129

.preheader129:                                    ; preds = %123
  %128 = load i32, ptr %2, align 4, !tbaa !8
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %.lr.ph164, label %.loopexit130

130:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  store i32 1, ptr %12, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %131 unwind label %132

131:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  br label %.loopexit130

132:                                              ; preds = %130
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  br label %171

.lr.ph164:                                        ; preds = %.preheader129, %144
  %indvars.iv216 = phi i64 [ %indvars.iv.next217, %144 ], [ 0, %.preheader129 ]
  %134 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv219) #6
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %indvars.iv216) #6
  %136 = load i32, ptr %135, align 4, !tbaa !8
  %137 = and i32 %136, %119
  %.not114 = icmp eq i32 %137, 0
  br i1 %.not114, label %138, label %144

138:                                              ; preds = %.lr.ph164
  %139 = trunc nuw nsw i64 %indvars.iv216 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %140 = add nuw nsw i32 %139, 1
  store i32 %140, ptr %13, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %141 unwind label %142

141:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  br label %.loopexit130

142:                                              ; preds = %138
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  br label %171

144:                                              ; preds = %.lr.ph164
  %indvars.iv.next217 = add nuw nsw i64 %indvars.iv216, 1
  %145 = load i32, ptr %2, align 4, !tbaa !8
  %146 = sext i32 %145 to i64
  %147 = icmp slt i64 %indvars.iv.next217, %146
  br i1 %147, label %.lr.ph164, label %.loopexit130, !llvm.loop !19

.loopexit130:                                     ; preds = %144, %.preheader129, %141, %131
  %indvars.iv.next220 = add nuw nsw i64 %indvars.iv219, 1
  %148 = load i32, ptr %1, align 4, !tbaa !8
  %149 = sext i32 %148 to i64
  %150 = icmp slt i64 %indvars.iv.next220, %149
  br i1 %150, label %123, label %._crit_edge168, !llvm.loop !20

._crit_edge171:                                   ; preds = %165, %.preheader128
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %.critedge

151:                                              ; preds = %._crit_edge168
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %171

.lr.ph170:                                        ; preds = %.preheader128, %165
  %indvars.iv222 = phi i64 [ %indvars.iv.next223, %165 ], [ 0, %.preheader128 ]
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv222) #6
  %154 = load i32, ptr %153, align 4, !tbaa !8
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %154)
          to label %156 unwind label %169

156:                                              ; preds = %.lr.ph170
  %157 = load i32, ptr %1, align 4, !tbaa !8
  %158 = add nsw i32 %157, -1
  %159 = zext i32 %158 to i64
  %160 = icmp eq i64 %indvars.iv222, %159
  %161 = zext i1 %160 to i64
  %162 = getelementptr inbounds [3 x i8], ptr @.str.1, i64 0, i64 %161
  %163 = load i8, ptr %162, align 1, !tbaa !21
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %155, i8 noundef signext %163)
          to label %165 unwind label %169

165:                                              ; preds = %156
  %indvars.iv.next223 = add nuw nsw i64 %indvars.iv222, 1
  %166 = load i32, ptr %1, align 4, !tbaa !8
  %167 = sext i32 %166 to i64
  %168 = icmp slt i64 %indvars.iv.next223, %167
  br i1 %168, label %.lr.ph170, label %._crit_edge171, !llvm.loop !22

169:                                              ; preds = %156, %.lr.ph170
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %171

171:                                              ; preds = %132, %142, %169, %151
  %.pn115.pn = phi { ptr, i32 } [ %170, %169 ], [ %152, %151 ], [ %133, %132 ], [ %143, %142 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %249

172:                                              ; preds = %._crit_edge155
  %.not107 = icmp eq i32 %.1, 0
  br i1 %.not107, label %.thread, label %.split160

.split160:                                        ; preds = %172
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %173 = load i32, ptr %1, align 4, !tbaa !8
  %174 = icmp sgt i32 %173, 0
  br i1 %174, label %.lr.ph179, label %._crit_edge180

.lr.ph179:                                        ; preds = %.split160
  %175 = trunc nuw nsw i64 %indvars.iv212 to i32
  %176 = and i64 %indvars.iv212, 4294967295
  %177 = shl nuw nsw i32 1, %175
  br label %181

._crit_edge180:                                   ; preds = %.loopexit, %.split160
  %178 = 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 %.preheader unwind label %224

.preheader:                                       ; preds = %._crit_edge180
  %179 = load i32, ptr %1, align 4, !tbaa !8
  %180 = icmp sgt i32 %179, 0
  br i1 %180, label %.lr.ph182, label %._crit_edge183

181:                                              ; preds = %.lr.ph179, %.loopexit
  %indvars.iv231 = phi i64 [ 0, %.lr.ph179 ], [ %indvars.iv.next232, %.loopexit ]
  %.2176 = phi i32 [ %.1, %.lr.ph179 ], [ %.3, %.loopexit ]
  %182 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv231) #6
  %183 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %176) #6
  %184 = load i32, ptr %183, align 4, !tbaa !8
  %185 = icmp slt i32 %184, 3
  br i1 %185, label %186, label %190

186:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store i32 1, ptr %15, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %187 unwind label %188

187:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br label %.loopexit

188:                                              ; preds = %186
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br label %244

190:                                              ; preds = %181
  %.not108 = icmp eq i32 %.2176, 0
  %191 = load i32, ptr %2, align 4, !tbaa !8
  %192 = icmp sgt i32 %191, 0
  br i1 %.not108, label %.preheader125, label %.preheader126

.preheader126:                                    ; preds = %190
  br i1 %192, label %.lr.ph173, label %.loopexit

.preheader125:                                    ; preds = %190
  br i1 %192, label %.lr.ph175, label %.loopexit

.lr.ph173:                                        ; preds = %.preheader126, %203
  %indvars.iv225 = phi i64 [ %indvars.iv.next226, %203 ], [ 0, %.preheader126 ]
  %193 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv231) #6
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %indvars.iv225) #6
  %195 = load i32, ptr %194, align 4, !tbaa !8
  %196 = and i32 %195, %177
  %.not110 = icmp eq i32 %196, 0
  br i1 %.not110, label %203, label %197

197:                                              ; preds = %.lr.ph173
  %198 = trunc nuw nsw i64 %indvars.iv225 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  %199 = add nuw nsw i32 %198, 1
  store i32 %199, ptr %16, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %200 unwind label %201

200:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %.loopexit

201:                                              ; preds = %197
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %244

203:                                              ; preds = %.lr.ph173
  %indvars.iv.next226 = add nuw nsw i64 %indvars.iv225, 1
  %204 = load i32, ptr %2, align 4, !tbaa !8
  %205 = sext i32 %204 to i64
  %206 = icmp slt i64 %indvars.iv.next226, %205
  br i1 %206, label %.lr.ph173, label %.loopexit, !llvm.loop !23

.lr.ph175:                                        ; preds = %.preheader125, %217
  %indvars.iv228 = phi i64 [ %indvars.iv.next229, %217 ], [ 0, %.preheader125 ]
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv231) #6
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %indvars.iv228) #6
  %209 = load i32, ptr %208, align 4, !tbaa !8
  %210 = and i32 %209, %177
  %.not109 = icmp eq i32 %210, 0
  br i1 %.not109, label %211, label %217

211:                                              ; preds = %.lr.ph175
  %212 = trunc nuw nsw i64 %indvars.iv228 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  %213 = add nuw nsw i32 %212, 1
  store i32 %213, ptr %17, align 4, !tbaa !8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %214 unwind label %215

214:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %.loopexit

215:                                              ; preds = %211
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %244

217:                                              ; preds = %.lr.ph175
  %indvars.iv.next229 = add nuw nsw i64 %indvars.iv228, 1
  %218 = load i32, ptr %2, align 4, !tbaa !8
  %219 = sext i32 %218 to i64
  %220 = icmp slt i64 %indvars.iv.next229, %219
  br i1 %220, label %.lr.ph175, label %.loopexit, !llvm.loop !24

.loopexit:                                        ; preds = %203, %217, %.preheader126, %.preheader125, %214, %200, %187
  %.3 = phi i32 [ %.2176, %187 ], [ 0, %200 ], [ 0, %214 ], [ 0, %.preheader125 ], [ 0, %.preheader126 ], [ 0, %217 ], [ 0, %203 ]
  %indvars.iv.next232 = add nuw nsw i64 %indvars.iv231, 1
  %221 = load i32, ptr %1, align 4, !tbaa !8
  %222 = sext i32 %221 to i64
  %223 = icmp slt i64 %indvars.iv.next232, %222
  br i1 %223, label %181, label %._crit_edge180, !llvm.loop !25

._crit_edge183:                                   ; preds = %238, %.preheader
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  br label %.critedge

224:                                              ; preds = %._crit_edge180
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %244

.lr.ph182:                                        ; preds = %.preheader, %238
  %indvars.iv234 = phi i64 [ %indvars.iv.next235, %238 ], [ 0, %.preheader ]
  %226 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv234) #6
  %227 = load i32, ptr %226, align 4, !tbaa !8
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %227)
          to label %229 unwind label %242

229:                                              ; preds = %.lr.ph182
  %230 = load i32, ptr %1, align 4, !tbaa !8
  %231 = add nsw i32 %230, -1
  %232 = zext i32 %231 to i64
  %233 = icmp eq i64 %indvars.iv234, %232
  %234 = zext i1 %233 to i64
  %235 = getelementptr inbounds [3 x i8], ptr @.str.1, i64 0, i64 %234
  %236 = load i8, ptr %235, align 1, !tbaa !21
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %228, i8 noundef signext %236)
          to label %238 unwind label %242

238:                                              ; preds = %229
  %indvars.iv.next235 = add nuw nsw i64 %indvars.iv234, 1
  %239 = load i32, ptr %1, align 4, !tbaa !8
  %240 = sext i32 %239 to i64
  %241 = icmp slt i64 %indvars.iv.next235, %240
  br i1 %241, label %.lr.ph182, label %._crit_edge183, !llvm.loop !26

242:                                              ; preds = %229, %.lr.ph182
  %243 = landingpad { ptr, i32 }
          cleanup
  br label %244

244:                                              ; preds = %188, %201, %215, %242, %224
  %.pn111.pn = phi { ptr, i32 } [ %243, %242 ], [ %225, %224 ], [ %189, %188 ], [ %202, %201 ], [ %216, %215 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  br label %249

.thread:                                          ; preds = %.preheader131, %172
  %245 = phi i32 [ %112, %172 ], [ %96, %.preheader131 ]
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %exitcond215 = icmp eq i64 %indvars.iv.next213, 10
  br i1 %exitcond215, label %.critedge124, label %.preheader131, !llvm.loop !27

.critedge124:                                     ; preds = %.thread, %35, %.preheader135, %.preheader132
  %246 = 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.2)
          to label %.critedge unwind label %247

.critedge:                                        ; preds = %._crit_edge183, %._crit_edge171, %.critedge124
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0

247:                                              ; preds = %.critedge124
  %248 = landingpad { ptr, i32 }
          cleanup
  br label %249

249:                                              ; preds = %171, %244, %247, %65
  %.pn120 = phi { ptr, i32 } [ %66, %65 ], [ %248, %247 ], [ %.pn115.pn, %171 ], [ %.pn111.pn, %244 ]
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %250

250:                                              ; preds = %249, %53
  %.pn120.pn = phi { ptr, i32 } [ %.pn120, %249 ], [ %.pn105, %53 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %251

251:                                              ; preds = %250, %48
  %.pn120.pn.pn = phi { ptr, i32 } [ %.pn120.pn, %250 ], [ %.pn, %48 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn120.pn.pn
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

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

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 #1

; 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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) 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 #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(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 = { "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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = distinct !{!11, !12, !13}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.unswitch.partial.disable"}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12, !13}
!16 = distinct !{!16, !12, !13}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = !{!10, !10, i64 0}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12, !13}


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