; LLVM IR from DionysiosB/CodeForces :: 0200-0299 (271B-PrimeMatrix)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_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<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 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 i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %32 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 100, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #7
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store i64 0, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  call void @_ZNSaIlEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorIlSaIlEEC2EmRKlRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %36, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %37 unwind label %44

37:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  call void @_ZNSaISt6vectorIlSaIlEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %34, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %38 unwind label %48

38:                                               ; preds = %37
  call void @_ZNSt15__new_allocatorISt6vectorIlSaIlEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @_ZNSt15__new_allocatorIlED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %94, %38
  %40 = load i32, ptr %13, align 4, !tbaa !5
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %53, label %43

43:                                               ; preds = %39
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %97

44:                                               ; preds = %0
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %9, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %10, align 4
  br label %52

48:                                               ; preds = %37
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %9, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %10, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIlSaIlEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %52

52:                                               ; preds = %48, %44
  call void @_ZNSt15__new_allocatorIlED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #7
  br label %301

53:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %90, %53
  %55 = load i32, ptr %15, align 4, !tbaa !5
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %93

59:                                               ; preds = %54
  %60 = load i32, ptr %13, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %61) #7
  %63 = load i32, ptr %15, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %64) #7
  %66 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %65)
          to label %67 unwind label %85

67:                                               ; preds = %59
  %68 = load i32, ptr %13, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %69) #7
  %71 = load i32, ptr %15, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %72) #7
  %74 = load i64, ptr %73, align 8, !tbaa !9
  %75 = load i64, ptr %12, align 8, !tbaa !9
  %76 = icmp sgt i64 %74, %75
  br i1 %76, label %77, label %89

77:                                               ; preds = %67
  %78 = load i32, ptr %13, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %79) #7
  %81 = load i32, ptr %15, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %82) #7
  %84 = load i64, ptr %83, align 8, !tbaa !9
  store i64 %84, ptr %12, align 8, !tbaa !9
  br label %89

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

89:                                               ; preds = %77, %67
  br label %90

90:                                               ; preds = %89
  %91 = load i32, ptr %15, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %15, align 4, !tbaa !5
  br label %54, !llvm.loop !11

93:                                               ; preds = %58
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %13, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %13, align 4, !tbaa !5
  br label %39, !llvm.loop !13

97:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %98 = load i64, ptr %12, align 8, !tbaa !9
  %99 = add nsw i64 %98, 100
  store i64 %99, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %100 = load i64, ptr %16, align 8, !tbaa !9
  %101 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %100) #8
          to label %102 unwind label %113

102:                                              ; preds = %97
  store ptr %101, ptr %17, align 8, !tbaa !14
  %103 = load ptr, ptr %17, align 8, !tbaa !14
  %104 = getelementptr inbounds i8, ptr %103, i64 1
  store i8 0, ptr %104, align 1, !tbaa !16
  %105 = load ptr, ptr %17, align 8, !tbaa !14
  %106 = getelementptr inbounds i8, ptr %105, i64 0
  store i8 0, ptr %106, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 2, ptr %18, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %122, %102
  %108 = load i32, ptr %18, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = load i64, ptr %16, align 8, !tbaa !9
  %111 = icmp slt i64 %109, %110
  br i1 %111, label %117, label %112

112:                                              ; preds = %107
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %125

113:                                              ; preds = %97
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %9, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %10, align 4
  br label %299

117:                                              ; preds = %107
  %118 = load ptr, ptr %17, align 8, !tbaa !14
  %119 = load i32, ptr %18, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds i8, ptr %118, i64 %120
  store i8 1, ptr %121, align 1, !tbaa !16
  br label %122

122:                                              ; preds = %117
  %123 = load i32, ptr %18, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %18, align 4, !tbaa !5
  br label %107, !llvm.loop !18

125:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %126

126:                                              ; preds = %163, %125
  %127 = load i64, ptr %19, align 8, !tbaa !9
  %128 = sitofp i64 %127 to double
  %129 = load i64, ptr %16, align 8, !tbaa !9
  %130 = sitofp i64 %129 to double
  %131 = call double @sqrt(double noundef %130) #7
  %132 = fcmp olt double %128, %131
  br i1 %132, label %134, label %133

133:                                              ; preds = %126
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %166

134:                                              ; preds = %126
  %135 = load ptr, ptr %17, align 8, !tbaa !14
  %136 = load i64, ptr %19, align 8, !tbaa !9
  %137 = getelementptr inbounds i8, ptr %135, i64 %136
  %138 = load i8, ptr %137, align 1, !tbaa !16, !range !19, !noundef !20
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %162

140:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %141 = load i64, ptr %19, align 8, !tbaa !9
  %142 = mul nsw i64 2, %141
  %143 = trunc i64 %142 to i32
  store i32 %143, ptr %20, align 4, !tbaa !5
  br label %144

144:                                              ; preds = %155, %140
  %145 = load i32, ptr %20, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = load i64, ptr %16, align 8, !tbaa !9
  %148 = icmp slt i64 %146, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %144
  store i32 14, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %161

150:                                              ; preds = %144
  %151 = load ptr, ptr %17, align 8, !tbaa !14
  %152 = load i32, ptr %20, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds i8, ptr %151, i64 %153
  store i8 0, ptr %154, align 1, !tbaa !16
  br label %155

155:                                              ; preds = %150
  %156 = load i64, ptr %19, align 8, !tbaa !9
  %157 = load i32, ptr %20, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = add nsw i64 %158, %156
  %160 = trunc i64 %159 to i32
  store i32 %160, ptr %20, align 4, !tbaa !5
  br label %144, !llvm.loop !21

161:                                              ; preds = %149
  br label %162

162:                                              ; preds = %161, %134
  br label %163

163:                                              ; preds = %162
  %164 = load i64, ptr %19, align 8, !tbaa !9
  %165 = add nsw i64 %164, 1
  store i64 %165, ptr %19, align 8, !tbaa !9
  br label %126, !llvm.loop !22

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

167:                                              ; preds = %212, %166
  %168 = load i32, ptr %21, align 4, !tbaa !5
  %169 = load i32, ptr %2, align 4, !tbaa !5
  %170 = icmp slt i32 %168, %169
  br i1 %170, label %172, label %171

171:                                              ; preds = %167
  store i32 17, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %215

172:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %173

173:                                              ; preds = %208, %172
  %174 = load i32, ptr %22, align 4, !tbaa !5
  %175 = load i32, ptr %3, align 4, !tbaa !5
  %176 = icmp slt i32 %174, %175
  br i1 %176, label %178, label %177

177:                                              ; preds = %173
  store i32 20, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %211

178:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store i64 0, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %179 = load i32, ptr %21, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %180) #7
  %182 = load i32, ptr %22, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef %183) #7
  %185 = load i64, ptr %184, align 8, !tbaa !9
  store i64 %185, ptr %24, align 8, !tbaa !9
  br label %186

186:                                              ; preds = %195, %178
  %187 = load ptr, ptr %17, align 8, !tbaa !14
  %188 = load i64, ptr %24, align 8, !tbaa !9
  %189 = getelementptr inbounds i8, ptr %187, i64 %188
  %190 = load i8, ptr %189, align 1, !tbaa !16, !range !19, !noundef !20
  %191 = trunc i8 %190 to i1
  %192 = xor i1 %191, true
  br i1 %192, label %194, label %193

193:                                              ; preds = %186
  store i32 23, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %200

194:                                              ; preds = %186
  br label %195

195:                                              ; preds = %194
  %196 = load i64, ptr %23, align 8, !tbaa !9
  %197 = add nsw i64 %196, 1
  store i64 %197, ptr %23, align 8, !tbaa !9
  %198 = load i64, ptr %24, align 8, !tbaa !9
  %199 = add nsw i64 %198, 1
  store i64 %199, ptr %24, align 8, !tbaa !9
  br label %186, !llvm.loop !23

200:                                              ; preds = %193
  %201 = load i64, ptr %23, align 8, !tbaa !9
  %202 = load i32, ptr %21, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %203) #7
  %205 = load i32, ptr %22, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef %206) #7
  store i64 %201, ptr %207, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %208

208:                                              ; preds = %200
  %209 = load i32, ptr %22, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %22, align 4, !tbaa !5
  br label %173, !llvm.loop !24

211:                                              ; preds = %177
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %21, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %21, align 4, !tbaa !5
  br label %167, !llvm.loop !25

215:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %216 = load i32, ptr %2, align 4, !tbaa !5
  %217 = load i32, ptr %3, align 4, !tbaa !5
  %218 = mul nsw i32 %216, %217
  %219 = mul nsw i32 %218, 100
  %220 = sext i32 %219 to i64
  store i64 %220, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %221

221:                                              ; preds = %252, %215
  %222 = load i32, ptr %26, align 4, !tbaa !5
  %223 = load i32, ptr %2, align 4, !tbaa !5
  %224 = icmp slt i32 %222, %223
  br i1 %224, label %226, label %225

225:                                              ; preds = %221
  store i32 26, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %255

226:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store i64 0, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %227

227:                                              ; preds = %242, %226
  %228 = load i32, ptr %28, align 4, !tbaa !5
  %229 = load i32, ptr %3, align 4, !tbaa !5
  %230 = icmp slt i32 %228, %229
  br i1 %230, label %232, label %231

231:                                              ; preds = %227
  store i32 29, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %245

232:                                              ; preds = %227
  %233 = load i32, ptr %26, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %234) #7
  %236 = load i32, ptr %28, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %235, i64 noundef %237) #7
  %239 = load i64, ptr %238, align 8, !tbaa !9
  %240 = load i64, ptr %27, align 8, !tbaa !9
  %241 = add nsw i64 %240, %239
  store i64 %241, ptr %27, align 8, !tbaa !9
  br label %242

242:                                              ; preds = %232
  %243 = load i32, ptr %28, align 4, !tbaa !5
  %244 = add nsw i32 %243, 1
  store i32 %244, ptr %28, align 4, !tbaa !5
  br label %227, !llvm.loop !26

245:                                              ; preds = %231
  %246 = load i64, ptr %27, align 8, !tbaa !9
  %247 = load i64, ptr %25, align 8, !tbaa !9
  %248 = icmp slt i64 %246, %247
  br i1 %248, label %249, label %251

249:                                              ; preds = %245
  %250 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %250, ptr %25, align 8, !tbaa !9
  br label %251

251:                                              ; preds = %249, %245
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %26, align 4, !tbaa !5
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %26, align 4, !tbaa !5
  br label %221, !llvm.loop !27

255:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %256

256:                                              ; preds = %287, %255
  %257 = load i32, ptr %29, align 4, !tbaa !5
  %258 = load i32, ptr %3, align 4, !tbaa !5
  %259 = icmp slt i32 %257, %258
  br i1 %259, label %261, label %260

260:                                              ; preds = %256
  store i32 32, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %290

261:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store i64 0, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %262

262:                                              ; preds = %277, %261
  %263 = load i32, ptr %31, align 4, !tbaa !5
  %264 = load i32, ptr %2, align 4, !tbaa !5
  %265 = icmp slt i32 %263, %264
  br i1 %265, label %267, label %266

266:                                              ; preds = %262
  store i32 35, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %280

267:                                              ; preds = %262
  %268 = load i32, ptr %31, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %269) #7
  %271 = load i32, ptr %29, align 4, !tbaa !5
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %270, i64 noundef %272) #7
  %274 = load i64, ptr %273, align 8, !tbaa !9
  %275 = load i64, ptr %30, align 8, !tbaa !9
  %276 = add nsw i64 %275, %274
  store i64 %276, ptr %30, align 8, !tbaa !9
  br label %277

277:                                              ; preds = %267
  %278 = load i32, ptr %31, align 4, !tbaa !5
  %279 = add nsw i32 %278, 1
  store i32 %279, ptr %31, align 4, !tbaa !5
  br label %262, !llvm.loop !28

280:                                              ; preds = %266
  %281 = load i64, ptr %30, align 8, !tbaa !9
  %282 = load i64, ptr %25, align 8, !tbaa !9
  %283 = icmp slt i64 %281, %282
  br i1 %283, label %284, label %286

284:                                              ; preds = %280
  %285 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %285, ptr %25, align 8, !tbaa !9
  br label %286

286:                                              ; preds = %284, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %287

287:                                              ; preds = %286
  %288 = load i32, ptr %29, align 4, !tbaa !5
  %289 = add nsw i32 %288, 1
  store i32 %289, ptr %29, align 4, !tbaa !5
  br label %256, !llvm.loop !29

290:                                              ; preds = %260
  %291 = load i64, ptr %25, align 8, !tbaa !9
  %292 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %291)
          to label %293 unwind label %295

293:                                              ; preds = %290
  store i32 0, ptr %1, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %294 = load i32, ptr %1, align 4
  ret i32 %294

295:                                              ; preds = %290
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %9, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %299

299:                                              ; preds = %295, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %300

300:                                              ; preds = %299, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %301

301:                                              ; preds = %300, %52
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %302

302:                                              ; preds = %301
  %303 = load ptr, ptr %9, align 8
  %304 = load i32, ptr %10, align 4
  %305 = insertvalue { ptr, i32 } poison, ptr %303, 0
  %306 = insertvalue { ptr, i32 } %305, i32 %304, 1
  resume { ptr, i32 } %306
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IlSaIlEESaIS1_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) #1

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

; Function Attrs: nounwind
declare double @sqrt(double noundef) #6

declare i32 @printf(ptr noundef, ...) #2

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

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

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

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

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

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long>, std::allocator<std::vector<long>>>::_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<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 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 i64, align 8
  %6 = alloca %"class.std::allocator.2", align 1
  %7 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #9
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  %9 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  store i64 0, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #9
  call void @_ZNSaIlEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  invoke void @_ZNSt6vectorIlSaIlEEC2EmRKlRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %11, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %12 unwind label %24

12:                                               ; preds = %0
  %13 = sext i32 %9 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #9
  call void @_ZNSaISt6vectorIlSaIlEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  invoke void @_ZNSt6vectorIS_IlSaIlEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %13, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %14 unwind label %26

14:                                               ; preds = %12
  call void @_ZNSt15__new_allocatorISt6vectorIlSaIlEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  call void @_ZNSt15__new_allocatorIlED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = icmp sgt i32 %15, 0
  %17 = load i32, ptr %2, align 4
  %18 = icmp sgt i32 %17, 0
  %or.cond = select i1 %16, i1 %18, i1 false
  br i1 %or.cond, label %.preheader103, label %._crit_edge108

.preheader103:                                    ; preds = %14, %._crit_edge
  %19 = phi i32 [ %29, %._crit_edge ], [ %15, %14 ]
  %20 = phi i32 [ %30, %._crit_edge ], [ %17, %14 ]
  %indvars.iv159 = phi i64 [ %indvars.iv.next160, %._crit_edge ], [ 0, %14 ]
  %.085106 = phi i64 [ %.186.lcssa, %._crit_edge ], [ 0, %14 ]
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph, label %._crit_edge

._crit_edge108:                                   ; preds = %._crit_edge, %14
  %.085.lcssa = phi i64 [ 0, %14 ], [ %.186.lcssa, %._crit_edge ]
  %22 = add nsw i64 %.085.lcssa, 100
  %23 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %22) #10
          to label %48 unwind label %55

24:                                               ; preds = %0
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %28

26:                                               ; preds = %12
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIlSaIlEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #9
  call void @_ZNSt6vectorIlSaIlEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  br label %28

28:                                               ; preds = %26, %24
  %.pn = phi { ptr, i32 } [ %27, %26 ], [ %25, %24 ]
  call void @_ZNSt15__new_allocatorIlED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  br label %148

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

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader103
  %29 = phi i32 [ %19, %.preheader103 ], [ %.pre, %._crit_edge.loopexit ]
  %30 = phi i32 [ %20, %.preheader103 ], [ %45, %._crit_edge.loopexit ]
  %.186.lcssa = phi i64 [ %.085106, %.preheader103 ], [ %.287, %._crit_edge.loopexit ]
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %31 = sext i32 %29 to i64
  %32 = icmp slt i64 %indvars.iv.next160, %31
  br i1 %32, label %.preheader103, label %._crit_edge108, !llvm.loop !11

.lr.ph:                                           ; preds = %.preheader103, %44
  %indvars.iv = phi i64 [ %indvars.iv.next, %44 ], [ 0, %.preheader103 ]
  %.186104 = phi i64 [ %.287, %44 ], [ %.085106, %.preheader103 ]
  %33 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv159) #9
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %indvars.iv) #9
  %35 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %34)
  %36 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv159) #9
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv) #9
  %38 = load i64, ptr %37, align 8, !tbaa !9
  %39 = icmp sgt i64 %38, %.186104
  br i1 %39, label %40, label %44

40:                                               ; preds = %.lr.ph
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv159) #9
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %indvars.iv) #9
  %43 = load i64, ptr %42, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %.lr.ph, %40
  %.287 = phi i64 [ %43, %40 ], [ %.186104, %.lr.ph ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = icmp slt i64 %indvars.iv.next, %46
  br i1 %47, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !14

48:                                               ; preds = %._crit_edge108
  %49 = getelementptr inbounds i8, ptr %23, i64 1
  store i8 0, ptr %49, align 1, !tbaa !15
  store i8 0, ptr %23, align 1, !tbaa !15
  %50 = icmp sgt i64 %.085.lcssa, -98
  br i1 %50, label %.lr.ph112.preheader, label %.preheader102

.lr.ph112.preheader:                              ; preds = %48
  %scevgep = getelementptr i8, ptr %23, i64 2
  %51 = add i64 %.085.lcssa, 98
  call void @llvm.memset.p0.i64(ptr align 1 %scevgep, i8 1, i64 %51, i1 false), !tbaa !15
  br label %.preheader102

.preheader102:                                    ; preds = %.lr.ph112.preheader, %48
  %52 = sitofp i64 %22 to double
  %53 = call double @sqrt(double noundef %52) #9
  %54 = fcmp ogt double %53, 0.000000e+00
  br i1 %54, label %.lr.ph117, label %.preheader101

55:                                               ; preds = %._crit_edge108
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  br label %148

.preheader101:                                    ; preds = %.loopexit, %.preheader102
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = icmp sgt i32 %57, 0
  %.pre186 = load i32, ptr %2, align 4, !tbaa !5
  br i1 %58, label %.preheader100.lr.ph, label %._crit_edge128.thread189

._crit_edge128.thread189:                         ; preds = %.preheader101
  %59 = mul i32 %57, 100
  %60 = mul i32 %59, %.pre186
  %61 = sext i32 %60 to i64
  br label %.preheader98

.preheader100.lr.ph:                              ; preds = %.preheader101
  %62 = icmp sgt i32 %.pre186, 0
  br i1 %62, label %.preheader100, label %.preheader99.lr.ph.thread

.preheader99.lr.ph.thread:                        ; preds = %.preheader100.lr.ph
  %63 = mul i32 %57, 100
  %64 = mul i32 %63, %.pre186
  %65 = sext i32 %64 to i64
  br label %.preheader99.lr.ph.split.us

.lr.ph117:                                        ; preds = %.preheader102, %.loopexit
  %.079116 = phi i64 [ %78, %.loopexit ], [ 0, %.preheader102 ]
  %66 = getelementptr inbounds i8, ptr %23, i64 %.079116
  %67 = load i8, ptr %66, align 1, !tbaa !15, !range !17, !noundef !18
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %69, label %.loopexit

69:                                               ; preds = %.lr.ph117
  %.079.tr = trunc i64 %.079116 to i32
  %70 = shl i32 %.079.tr, 1
  %71 = sext i32 %70 to i64
  %72 = icmp sgt i64 %22, %71
  br i1 %72, label %.lr.ph115, label %.loopexit

.lr.ph115:                                        ; preds = %69, %.lr.ph115
  %73 = phi i64 [ %76, %.lr.ph115 ], [ %71, %69 ]
  %.078113 = phi i32 [ %75, %.lr.ph115 ], [ %70, %69 ]
  %74 = getelementptr inbounds i8, ptr %23, i64 %73
  store i8 0, ptr %74, align 1, !tbaa !15
  %75 = add i32 %.078113, %.079.tr
  %76 = sext i32 %75 to i64
  %77 = icmp sgt i64 %22, %76
  br i1 %77, label %.lr.ph115, label %.loopexit, !llvm.loop !19

.loopexit:                                        ; preds = %.lr.ph115, %69, %.lr.ph117
  %78 = add nuw nsw i64 %.079116, 1
  %79 = uitofp nneg i64 %78 to double
  %80 = call double @sqrt(double noundef %52) #9
  %81 = fcmp ogt double %80, %79
  br i1 %81, label %.lr.ph117, label %.preheader101, !llvm.loop !20

.preheader100:                                    ; preds = %.preheader100.lr.ph, %._crit_edge126
  %82 = phi i32 [ %94, %._crit_edge126 ], [ %57, %.preheader100.lr.ph ]
  %83 = phi i32 [ %95, %._crit_edge126 ], [ %.pre186, %.preheader100.lr.ph ]
  %indvars.iv168 = phi i64 [ %indvars.iv.next169, %._crit_edge126 ], [ 0, %.preheader100.lr.ph ]
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph125, label %._crit_edge126

._crit_edge128:                                   ; preds = %._crit_edge126
  %85 = mul i32 %94, 100
  %86 = mul i32 %85, %95
  %87 = sext i32 %86 to i64
  %88 = icmp sgt i32 %94, 0
  br i1 %88, label %.preheader99.lr.ph, label %.preheader98

.preheader99.lr.ph:                               ; preds = %._crit_edge128
  %89 = icmp sgt i32 %95, 0
  br i1 %89, label %.preheader99, label %.preheader99.lr.ph.split.us

.preheader99.lr.ph.split.us:                      ; preds = %.preheader99.lr.ph.thread, %.preheader99.lr.ph
  %90 = phi i32 [ %.pre186, %.preheader99.lr.ph.thread ], [ %95, %.preheader99.lr.ph ]
  %91 = phi i32 [ %57, %.preheader99.lr.ph.thread ], [ %94, %.preheader99.lr.ph ]
  %92 = phi i64 [ %65, %.preheader99.lr.ph.thread ], [ %87, %.preheader99.lr.ph ]
  %xtraiter = and i32 %91, 7
  %93 = icmp ult i32 %91, 8
  br i1 %93, label %.preheader98.loopexit221.unr-lcssa, label %.preheader99.lr.ph.split.us.new

.preheader99.lr.ph.split.us.new:                  ; preds = %.preheader99.lr.ph.split.us
  %unroll_iter = and i32 %91, 2147483640
  br label %.preheader99.us

.preheader99.us:                                  ; preds = %.preheader99.us, %.preheader99.lr.ph.split.us.new
  %.073136.us = phi i64 [ %92, %.preheader99.lr.ph.split.us.new ], [ %spec.select.us, %.preheader99.us ]
  %niter = phi i32 [ 0, %.preheader99.lr.ph.split.us.new ], [ %niter.next.7, %.preheader99.us ]
  %spec.select.us = call i64 @llvm.smin.i64(i64 %.073136.us, i64 0)
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %.preheader98.loopexit221.unr-lcssa, label %.preheader99.us, !llvm.loop !21

._crit_edge126.loopexit:                          ; preds = %._crit_edge122
  %.pre185 = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge126

._crit_edge126:                                   ; preds = %._crit_edge126.loopexit, %.preheader100
  %94 = phi i32 [ %.pre185, %._crit_edge126.loopexit ], [ %82, %.preheader100 ]
  %95 = phi i32 [ %106, %._crit_edge126.loopexit ], [ %83, %.preheader100 ]
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %96 = sext i32 %94 to i64
  %97 = icmp slt i64 %indvars.iv.next169, %96
  br i1 %97, label %.preheader100, label %._crit_edge128, !llvm.loop !22

.lr.ph125:                                        ; preds = %.preheader100, %._crit_edge122
  %indvars.iv165 = phi i64 [ %indvars.iv.next166, %._crit_edge122 ], [ 0, %.preheader100 ]
  %98 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv168) #9
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %indvars.iv165) #9
  %100 = load i64, ptr %99, align 8, !tbaa !9
  %101 = getelementptr inbounds i8, ptr %23, i64 %100
  %102 = load i8, ptr %101, align 1, !tbaa !15, !range !17, !noundef !18
  %103 = trunc nuw i8 %102 to i1
  br i1 %103, label %._crit_edge122, label %.lr.ph121

._crit_edge122:                                   ; preds = %.lr.ph121, %.lr.ph125
  %.075.lcssa = phi i64 [ 0, %.lr.ph125 ], [ %109, %.lr.ph121 ]
  %104 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv168) #9
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %indvars.iv165) #9
  store i64 %.075.lcssa, ptr %105, align 8, !tbaa !9
  %indvars.iv.next166 = add nuw nsw i64 %indvars.iv165, 1
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = icmp slt i64 %indvars.iv.next166, %107
  br i1 %108, label %.lr.ph125, label %._crit_edge126.loopexit, !llvm.loop !23

.lr.ph121:                                        ; preds = %.lr.ph125, %.lr.ph121
  %.074119 = phi i64 [ %110, %.lr.ph121 ], [ %100, %.lr.ph125 ]
  %.075118 = phi i64 [ %109, %.lr.ph121 ], [ 0, %.lr.ph125 ]
  %109 = add nuw nsw i64 %.075118, 1
  %110 = add nsw i64 %.074119, 1
  %111 = getelementptr inbounds i8, ptr %23, i64 %110
  %112 = load i8, ptr %111, align 1, !tbaa !15, !range !17, !noundef !18
  %113 = trunc nuw i8 %112 to i1
  br i1 %113, label %._crit_edge122, label %.lr.ph121, !llvm.loop !24

.preheader99:                                     ; preds = %.preheader99.lr.ph, %._crit_edge134
  %114 = phi i32 [ %122, %._crit_edge134 ], [ %94, %.preheader99.lr.ph ]
  %115 = phi i32 [ %123, %._crit_edge134 ], [ %95, %.preheader99.lr.ph ]
  %indvars.iv174 = phi i64 [ %indvars.iv.next175, %._crit_edge134 ], [ 0, %.preheader99.lr.ph ]
  %.073136 = phi i64 [ %spec.select, %._crit_edge134 ], [ %87, %.preheader99.lr.ph ]
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %.lr.ph133, label %._crit_edge134

.preheader98.loopexit221.unr-lcssa:               ; preds = %.preheader99.us, %.preheader99.lr.ph.split.us
  %spec.select.us.lcssa.ph = phi i64 [ poison, %.preheader99.lr.ph.split.us ], [ %spec.select.us, %.preheader99.us ]
  %.073136.us.unr = phi i64 [ %92, %.preheader99.lr.ph.split.us ], [ %spec.select.us, %.preheader99.us ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader98, label %.preheader99.us.epil

.preheader99.us.epil:                             ; preds = %.preheader98.loopexit221.unr-lcssa, %.preheader99.us.epil
  %.073136.us.epil = phi i64 [ %spec.select.us.epil, %.preheader99.us.epil ], [ %.073136.us.unr, %.preheader98.loopexit221.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.preheader99.us.epil ], [ 0, %.preheader98.loopexit221.unr-lcssa ]
  %spec.select.us.epil = call i64 @llvm.smin.i64(i64 %.073136.us.epil, i64 0)
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader98, label %.preheader99.us.epil, !llvm.loop !25

.preheader98:                                     ; preds = %.preheader98.loopexit221.unr-lcssa, %.preheader99.us.epil, %._crit_edge134, %._crit_edge128.thread189, %._crit_edge128
  %117 = phi i32 [ %94, %._crit_edge128 ], [ %57, %._crit_edge128.thread189 ], [ %122, %._crit_edge134 ], [ %91, %.preheader99.us.epil ], [ %91, %.preheader98.loopexit221.unr-lcssa ]
  %118 = phi i32 [ %95, %._crit_edge128 ], [ %.pre186, %._crit_edge128.thread189 ], [ %123, %._crit_edge134 ], [ %90, %.preheader99.us.epil ], [ %90, %.preheader98.loopexit221.unr-lcssa ]
  %.073.lcssa = phi i64 [ %87, %._crit_edge128 ], [ %61, %._crit_edge128.thread189 ], [ %spec.select, %._crit_edge134 ], [ %spec.select.us.lcssa.ph, %.preheader98.loopexit221.unr-lcssa ], [ %spec.select.us.epil, %.preheader99.us.epil ]
  %119 = icmp sgt i32 %118, 0
  br i1 %119, label %.preheader.lr.ph, label %._crit_edge147

.preheader.lr.ph:                                 ; preds = %.preheader98
  %120 = icmp sgt i32 %117, 0
  br i1 %120, label %.preheader, label %.preheader.us.preheader

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %xtraiter228 = and i32 %118, 7
  %121 = icmp ult i32 %118, 8
  br i1 %121, label %._crit_edge147.loopexit216.unr-lcssa, label %.preheader.us.preheader.new

.preheader.us.preheader.new:                      ; preds = %.preheader.us.preheader
  %unroll_iter232 = and i32 %118, 2147483640
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us, %.preheader.us.preheader.new
  %.2145.us = phi i64 [ %.073.lcssa, %.preheader.us.preheader.new ], [ %spec.select97.us, %.preheader.us ]
  %niter233 = phi i32 [ 0, %.preheader.us.preheader.new ], [ %niter233.next.7, %.preheader.us ]
  %spec.select97.us = call i64 @llvm.smin.i64(i64 %.2145.us, i64 0)
  %niter233.next.7 = add i32 %niter233, 8
  %niter233.ncmp.7 = icmp eq i32 %niter233.next.7, %unroll_iter232
  br i1 %niter233.ncmp.7, label %._crit_edge147.loopexit216.unr-lcssa, label %.preheader.us, !llvm.loop !27

._crit_edge134.loopexit:                          ; preds = %.lr.ph133
  %.pre187 = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge134

._crit_edge134:                                   ; preds = %._crit_edge134.loopexit, %.preheader99
  %122 = phi i32 [ %114, %.preheader99 ], [ %.pre187, %._crit_edge134.loopexit ]
  %123 = phi i32 [ %115, %.preheader99 ], [ %130, %._crit_edge134.loopexit ]
  %.071.lcssa = phi i64 [ 0, %.preheader99 ], [ %129, %._crit_edge134.loopexit ]
  %spec.select = call i64 @llvm.smin.i64(i64 %.071.lcssa, i64 %.073136)
  %indvars.iv.next175 = add nuw nsw i64 %indvars.iv174, 1
  %124 = sext i32 %122 to i64
  %125 = icmp slt i64 %indvars.iv.next175, %124
  br i1 %125, label %.preheader99, label %.preheader98, !llvm.loop !28

.lr.ph133:                                        ; preds = %.preheader99, %.lr.ph133
  %indvars.iv171 = phi i64 [ %indvars.iv.next172, %.lr.ph133 ], [ 0, %.preheader99 ]
  %.071131 = phi i64 [ %129, %.lr.ph133 ], [ 0, %.preheader99 ]
  %126 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv174) #9
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %indvars.iv171) #9
  %128 = load i64, ptr %127, align 8, !tbaa !9
  %129 = add nsw i64 %128, %.071131
  %indvars.iv.next172 = add nuw nsw i64 %indvars.iv171, 1
  %130 = load i32, ptr %2, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = icmp slt i64 %indvars.iv.next172, %131
  br i1 %132, label %.lr.ph133, label %._crit_edge134.loopexit, !llvm.loop !29

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge143
  %133 = phi i32 [ %137, %._crit_edge143 ], [ %118, %.preheader.lr.ph ]
  %134 = phi i32 [ %138, %._crit_edge143 ], [ %117, %.preheader.lr.ph ]
  %indvars.iv182 = phi i64 [ %indvars.iv.next183, %._crit_edge143 ], [ 0, %.preheader.lr.ph ]
  %.2145 = phi i64 [ %spec.select97, %._crit_edge143 ], [ %.073.lcssa, %.preheader.lr.ph ]
  %135 = icmp sgt i32 %134, 0
  br i1 %135, label %.lr.ph142, label %._crit_edge143

._crit_edge147.loopexit216.unr-lcssa:             ; preds = %.preheader.us, %.preheader.us.preheader
  %spec.select97.us.lcssa.ph = phi i64 [ poison, %.preheader.us.preheader ], [ %spec.select97.us, %.preheader.us ]
  %.2145.us.unr = phi i64 [ %.073.lcssa, %.preheader.us.preheader ], [ %spec.select97.us, %.preheader.us ]
  %lcmp.mod230.not = icmp eq i32 %xtraiter228, 0
  br i1 %lcmp.mod230.not, label %._crit_edge147, label %.preheader.us.epil

.preheader.us.epil:                               ; preds = %._crit_edge147.loopexit216.unr-lcssa, %.preheader.us.epil
  %.2145.us.epil = phi i64 [ %spec.select97.us.epil, %.preheader.us.epil ], [ %.2145.us.unr, %._crit_edge147.loopexit216.unr-lcssa ]
  %epil.iter229 = phi i32 [ %epil.iter229.next, %.preheader.us.epil ], [ 0, %._crit_edge147.loopexit216.unr-lcssa ]
  %spec.select97.us.epil = call i64 @llvm.smin.i64(i64 %.2145.us.epil, i64 0)
  %epil.iter229.next = add i32 %epil.iter229, 1
  %epil.iter229.cmp.not = icmp eq i32 %epil.iter229.next, %xtraiter228
  br i1 %epil.iter229.cmp.not, label %._crit_edge147, label %.preheader.us.epil, !llvm.loop !30

._crit_edge147:                                   ; preds = %._crit_edge147.loopexit216.unr-lcssa, %.preheader.us.epil, %._crit_edge143, %.preheader98
  %.2.lcssa = phi i64 [ %.073.lcssa, %.preheader98 ], [ %spec.select97, %._crit_edge143 ], [ %spec.select97.us.lcssa.ph, %._crit_edge147.loopexit216.unr-lcssa ], [ %spec.select97.us.epil, %.preheader.us.epil ]
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.2.lcssa)
  call void @_ZNSt6vectorIS_IlSaIlEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  ret i32 0

._crit_edge143.loopexit:                          ; preds = %.lr.ph142
  %.pre188 = load i32, ptr %2, align 4, !tbaa !5
  br label %._crit_edge143

._crit_edge143:                                   ; preds = %._crit_edge143.loopexit, %.preheader
  %137 = phi i32 [ %133, %.preheader ], [ %.pre188, %._crit_edge143.loopexit ]
  %138 = phi i32 [ %134, %.preheader ], [ %145, %._crit_edge143.loopexit ]
  %.068.lcssa = phi i64 [ 0, %.preheader ], [ %144, %._crit_edge143.loopexit ]
  %spec.select97 = call i64 @llvm.smin.i64(i64 %.068.lcssa, i64 %.2145)
  %indvars.iv.next183 = add nuw nsw i64 %indvars.iv182, 1
  %139 = sext i32 %137 to i64
  %140 = icmp slt i64 %indvars.iv.next183, %139
  br i1 %140, label %.preheader, label %._crit_edge147, !llvm.loop !31

.lr.ph142:                                        ; preds = %.preheader, %.lr.ph142
  %indvars.iv179 = phi i64 [ %indvars.iv.next180, %.lr.ph142 ], [ 0, %.preheader ]
  %.068140 = phi i64 [ %144, %.lr.ph142 ], [ 0, %.preheader ]
  %141 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IlSaIlEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv179) #9
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIlSaIlEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef %indvars.iv182) #9
  %143 = load i64, ptr %142, align 8, !tbaa !9
  %144 = add nsw i64 %143, %.068140
  %indvars.iv.next180 = add nuw nsw i64 %indvars.iv179, 1
  %145 = load i32, ptr %1, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = icmp slt i64 %indvars.iv.next180, %146
  br i1 %147, label %.lr.ph142, label %._crit_edge143.loopexit, !llvm.loop !32

148:                                              ; preds = %55, %28
  %.pn95 = phi { ptr, i32 } [ %56, %55 ], [ %.pn, %28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn95
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IlSaIlEESaIS1_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) #1

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

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12, !13}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.unswitch.partial.disable"}
!14 = distinct !{!14, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12, !13}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.unroll.disable"}
!27 = distinct !{!27, !12}
!28 = distinct !{!28, !12, !13}
!29 = distinct !{!29, !12}
!30 = distinct !{!30, !26}
!31 = distinct !{!31, !12, !13}
!32 = distinct !{!32, !12}


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