; LLVM IR from DionysiosB/CodeForces :: 0700-0799 (711B-ChrisAndMagicSquare)

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

36:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  call void @_ZNSaISt6vectorIxSaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIS_IxSaIxEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %33, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %37 unwind label %47

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

38:                                               ; preds = %87, %37
  %39 = load i32, ptr %12, align 4, !tbaa !5
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %52, label %42

42:                                               ; preds = %38
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %90

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

47:                                               ; preds = %36
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %7, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %51

51:                                               ; preds = %47, %43
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  br label %316

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

53:                                               ; preds = %83, %52
  %54 = load i32, ptr %14, align 4, !tbaa !5
  %55 = load i32, ptr %2, align 4, !tbaa !5
  %56 = icmp slt i32 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %86

58:                                               ; preds = %53
  %59 = load i32, ptr %12, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %60) #5
  %62 = load i32, ptr %14, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %63) #5
  %65 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %64)
          to label %66 unwind label %78

66:                                               ; preds = %58
  %67 = load i32, ptr %12, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %68) #5
  %70 = load i32, ptr %14, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %71) #5
  %73 = load i64, ptr %72, align 8, !tbaa !9
  %74 = icmp eq i64 %73, 0
  br i1 %74, label %75, label %82

75:                                               ; preds = %66
  %76 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %76, ptr %10, align 4, !tbaa !5
  %77 = load i32, ptr %14, align 4, !tbaa !5
  store i32 %77, ptr %11, align 4, !tbaa !5
  br label %82

78:                                               ; preds = %58
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %7, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %315

82:                                               ; preds = %75, %66
  br label %83

83:                                               ; preds = %82
  %84 = load i32, ptr %14, align 4, !tbaa !5
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %14, align 4, !tbaa !5
  br label %53, !llvm.loop !11

86:                                               ; preds = %57
  br label %87

87:                                               ; preds = %86
  %88 = load i32, ptr %12, align 4, !tbaa !5
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %12, align 4, !tbaa !5
  br label %38, !llvm.loop !13

90:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  %91 = load i32, ptr %2, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %92, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %93 unwind label %102

93:                                               ; preds = %90
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  %94 = load i32, ptr %2, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store i64 0, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %95, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %96 unwind label %106

96:                                               ; preds = %93
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  store i64 0, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store i64 0, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %176, %96
  %98 = load i32, ptr %23, align 4, !tbaa !5
  %99 = load i32, ptr %2, align 4, !tbaa !5
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %110, label %101

101:                                              ; preds = %97
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %179

102:                                              ; preds = %90
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %7, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %314

106:                                              ; preds = %93
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %7, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %313

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

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

115:                                              ; preds = %111
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %175

116:                                              ; preds = %111
  %117 = load i32, ptr %23, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %118) #5
  %120 = load i32, ptr %24, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef %121) #5
  %123 = load i64, ptr %122, align 8, !tbaa !9
  %124 = load i32, ptr %23, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %125) #5
  %127 = load i64, ptr %126, align 8, !tbaa !9
  %128 = add nsw i64 %127, %123
  store i64 %128, ptr %126, align 8, !tbaa !9
  %129 = load i32, ptr %23, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %130) #5
  %132 = load i32, ptr %24, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %131, i64 noundef %133) #5
  %135 = load i64, ptr %134, align 8, !tbaa !9
  %136 = load i32, ptr %24, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %137) #5
  %139 = load i64, ptr %138, align 8, !tbaa !9
  %140 = add nsw i64 %139, %135
  store i64 %140, ptr %138, align 8, !tbaa !9
  %141 = load i32, ptr %23, align 4, !tbaa !5
  %142 = load i32, ptr %24, align 4, !tbaa !5
  %143 = icmp eq i32 %141, %142
  %144 = zext i1 %143 to i64
  %145 = load i32, ptr %23, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %146) #5
  %148 = load i32, ptr %24, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %149) #5
  %151 = load i64, ptr %150, align 8, !tbaa !9
  %152 = mul nsw i64 %144, %151
  %153 = load i64, ptr %21, align 8, !tbaa !9
  %154 = add nsw i64 %153, %152
  store i64 %154, ptr %21, align 8, !tbaa !9
  %155 = load i32, ptr %23, align 4, !tbaa !5
  %156 = load i32, ptr %24, align 4, !tbaa !5
  %157 = add nsw i32 %155, %156
  %158 = load i32, ptr %2, align 4, !tbaa !5
  %159 = sub nsw i32 %158, 1
  %160 = icmp eq i32 %157, %159
  %161 = zext i1 %160 to i64
  %162 = load i32, ptr %23, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %163) #5
  %165 = load i32, ptr %24, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %164, i64 noundef %166) #5
  %168 = load i64, ptr %167, align 8, !tbaa !9
  %169 = mul nsw i64 %161, %168
  %170 = load i64, ptr %22, align 8, !tbaa !9
  %171 = add nsw i64 %170, %169
  store i64 %171, ptr %22, align 8, !tbaa !9
  br label %172

172:                                              ; preds = %116
  %173 = load i32, ptr %24, align 4, !tbaa !5
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %24, align 4, !tbaa !5
  br label %111, !llvm.loop !14

175:                                              ; preds = %115
  br label %176

176:                                              ; preds = %175
  %177 = load i32, ptr %23, align 4, !tbaa !5
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %23, align 4, !tbaa !5
  br label %97, !llvm.loop !15

179:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  store i8 1, ptr %25, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %180 = load i32, ptr %10, align 4, !tbaa !5
  %181 = icmp eq i32 %180, 0
  br i1 %181, label %182, label %185

182:                                              ; preds = %179
  %183 = load i32, ptr %2, align 4, !tbaa !5
  %184 = icmp sgt i32 %183, 1
  br label %185

185:                                              ; preds = %182, %179
  %186 = phi i1 [ false, %179 ], [ %184, %182 ]
  %187 = zext i1 %186 to i64
  %188 = select i1 %186, i32 1, i32 0
  store i32 %188, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %189 = load i32, ptr %26, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %190) #5
  %192 = load i64, ptr %191, align 8, !tbaa !9
  store i64 %192, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %193 = load i64, ptr %27, align 8, !tbaa !9
  %194 = load i32, ptr %10, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %195) #5
  %197 = load i64, ptr %196, align 8, !tbaa !9
  %198 = sub nsw i64 %193, %197
  store i64 %198, ptr %28, align 8, !tbaa !9
  %199 = load i32, ptr %10, align 4, !tbaa !5
  %200 = load i32, ptr %11, align 4, !tbaa !5
  %201 = icmp eq i32 %199, %200
  %202 = zext i1 %201 to i64
  %203 = load i64, ptr %28, align 8, !tbaa !9
  %204 = mul nsw i64 %202, %203
  %205 = load i64, ptr %21, align 8, !tbaa !9
  %206 = add nsw i64 %204, %205
  %207 = load i64, ptr %27, align 8, !tbaa !9
  %208 = icmp ne i64 %206, %207
  br i1 %208, label %209, label %210

209:                                              ; preds = %185
  store i8 0, ptr %25, align 1, !tbaa !16
  br label %210

210:                                              ; preds = %209, %185
  %211 = load i32, ptr %10, align 4, !tbaa !5
  %212 = load i32, ptr %11, align 4, !tbaa !5
  %213 = add nsw i32 %211, %212
  %214 = load i32, ptr %2, align 4, !tbaa !5
  %215 = sub nsw i32 %214, 1
  %216 = icmp eq i32 %213, %215
  %217 = zext i1 %216 to i64
  %218 = load i64, ptr %28, align 8, !tbaa !9
  %219 = mul nsw i64 %217, %218
  %220 = load i64, ptr %22, align 8, !tbaa !9
  %221 = add nsw i64 %219, %220
  %222 = load i64, ptr %27, align 8, !tbaa !9
  %223 = icmp ne i64 %221, %222
  br i1 %223, label %224, label %225

224:                                              ; preds = %210
  store i8 0, ptr %25, align 1, !tbaa !16
  br label %225

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

226:                                              ; preds = %248, %225
  %227 = load i32, ptr %29, align 4, !tbaa !5
  %228 = load i32, ptr %2, align 4, !tbaa !5
  %229 = icmp slt i32 %227, %228
  br i1 %229, label %231, label %230

230:                                              ; preds = %226
  store i32 14, ptr %13, align 4
  br label %251

231:                                              ; preds = %226
  %232 = load i8, ptr %25, align 1, !tbaa !16, !range !18, !noundef !19
  %233 = trunc i8 %232 to i1
  br i1 %233, label %235, label %234

234:                                              ; preds = %231
  store i32 14, ptr %13, align 4
  br label %251

235:                                              ; preds = %231
  %236 = load i32, ptr %29, align 4, !tbaa !5
  %237 = load i32, ptr %10, align 4, !tbaa !5
  %238 = icmp ne i32 %236, %237
  br i1 %238, label %239, label %247

239:                                              ; preds = %235
  %240 = load i32, ptr %29, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %241) #5
  %243 = load i64, ptr %242, align 8, !tbaa !9
  %244 = load i64, ptr %27, align 8, !tbaa !9
  %245 = icmp ne i64 %243, %244
  br i1 %245, label %246, label %247

246:                                              ; preds = %239
  store i8 0, ptr %25, align 1, !tbaa !16
  store i32 14, ptr %13, align 4
  br label %251

247:                                              ; preds = %239, %235
  br label %248

248:                                              ; preds = %247
  %249 = load i32, ptr %29, align 4, !tbaa !5
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %29, align 4, !tbaa !5
  br label %226, !llvm.loop !20

251:                                              ; preds = %246, %234, %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %11, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %254) #5
  %256 = load i64, ptr %255, align 8, !tbaa !9
  %257 = load i64, ptr %28, align 8, !tbaa !9
  %258 = add nsw i64 %256, %257
  %259 = load i64, ptr %27, align 8, !tbaa !9
  %260 = icmp ne i64 %258, %259
  br i1 %260, label %261, label %262

261:                                              ; preds = %252
  store i8 0, ptr %25, align 1, !tbaa !16
  br label %262

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

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

267:                                              ; preds = %263
  store i32 17, ptr %13, align 4
  br label %288

268:                                              ; preds = %263
  %269 = load i8, ptr %25, align 1, !tbaa !16, !range !18, !noundef !19
  %270 = trunc i8 %269 to i1
  br i1 %270, label %272, label %271

271:                                              ; preds = %268
  store i32 17, ptr %13, align 4
  br label %288

272:                                              ; preds = %268
  %273 = load i32, ptr %30, align 4, !tbaa !5
  %274 = load i32, ptr %11, align 4, !tbaa !5
  %275 = icmp ne i32 %273, %274
  br i1 %275, label %276, label %284

276:                                              ; preds = %272
  %277 = load i32, ptr %30, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %278) #5
  %280 = load i64, ptr %279, align 8, !tbaa !9
  %281 = load i64, ptr %27, align 8, !tbaa !9
  %282 = icmp ne i64 %280, %281
  br i1 %282, label %283, label %284

283:                                              ; preds = %276
  store i8 0, ptr %25, align 1, !tbaa !16
  store i32 17, ptr %13, align 4
  br label %288

284:                                              ; preds = %276, %272
  br label %285

285:                                              ; preds = %284
  %286 = load i32, ptr %30, align 4, !tbaa !5
  %287 = add nsw i32 %286, 1
  store i32 %287, ptr %30, align 4, !tbaa !5
  br label %263, !llvm.loop !21

288:                                              ; preds = %283, %271, %267
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %289

289:                                              ; preds = %288
  %290 = load i32, ptr %2, align 4, !tbaa !5
  %291 = icmp eq i32 %290, 1
  br i1 %291, label %292, label %293

292:                                              ; preds = %289
  store i64 1, ptr %28, align 8, !tbaa !9
  br label %298

293:                                              ; preds = %289
  %294 = load i64, ptr %28, align 8, !tbaa !9
  %295 = icmp sle i64 %294, 0
  br i1 %295, label %296, label %297

296:                                              ; preds = %293
  store i8 0, ptr %25, align 1, !tbaa !16
  br label %297

297:                                              ; preds = %296, %293
  br label %298

298:                                              ; preds = %297, %292
  %299 = load i8, ptr %25, align 1, !tbaa !16, !range !18, !noundef !19
  %300 = trunc i8 %299 to i1
  br i1 %300, label %301, label %303

301:                                              ; preds = %298
  %302 = load i64, ptr %28, align 8, !tbaa !9
  br label %304

303:                                              ; preds = %298
  br label %304

304:                                              ; preds = %303, %301
  %305 = phi i64 [ %302, %301 ], [ -1, %303 ]
  %306 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %305)
          to label %307 unwind label %309

307:                                              ; preds = %304
  store i32 0, ptr %1, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %308 = load i32, ptr %1, align 4
  ret i32 %308

309:                                              ; preds = %304
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %7, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %313

313:                                              ; preds = %309, %106
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %314

314:                                              ; preds = %313, %102
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %315

315:                                              ; preds = %314, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %316

316:                                              ; preds = %315, %51
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %317

317:                                              ; preds = %316
  %318 = load ptr, ptr %7, align 8
  %319 = load i32, ptr %8, align 4
  %320 = insertvalue { ptr, i32 } poison, ptr %318, 0
  %321 = insertvalue { ptr, i32 } %320, i32 %319, 1
  resume { ptr, i32 } %321
}

; 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 @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(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 @_ZNSaISt6vectorIxSaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !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 long>, std::allocator<std::vector<long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long long>, std::allocator<std::vector<long 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 long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long 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 [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 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 %"class.std::vector", align 8
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::allocator.2", align 1
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca i64, align 8
  %12 = alloca %"class.std::allocator.2", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  %14 = load i32, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  %15 = sext i32 %14 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %15, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %16 unwind label %24

16:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  call void @_ZNSaISt6vectorIxSaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  invoke void @_ZNSt6vectorIS_IxSaIxEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %15, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %17 unwind label %26

17:                                               ; preds = %16
  call void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.preheader110, label %._crit_edge119

.preheader110:                                    ; preds = %17, %._crit_edge
  %20 = phi i32 [ %29, %._crit_edge ], [ %18, %17 ]
  %indvars.iv177 = phi i64 [ %indvars.iv.next178, %._crit_edge ], [ 0, %17 ]
  %.080117 = phi i32 [ %.181.lcssa, %._crit_edge ], [ -1, %17 ]
  %.083116 = phi i32 [ %.184.lcssa, %._crit_edge ], [ -1, %17 ]
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph, label %.preheader110.._crit_edge_crit_edge

.preheader110.._crit_edge_crit_edge:              ; preds = %.preheader110
  %.pre197 = sext i32 %20 to i64
  br label %._crit_edge

.lr.ph:                                           ; preds = %.preheader110
  %22 = trunc nuw nsw i64 %indvars.iv177 to i32
  br label %31

._crit_edge119:                                   ; preds = %._crit_edge, %17
  %.083.lcssa = phi i32 [ -1, %17 ], [ %.184.lcssa, %._crit_edge ]
  %.080.lcssa = phi i32 [ -1, %17 ], [ %.181.lcssa, %._crit_edge ]
  %.lcssa111 = phi i32 [ %18, %17 ], [ %29, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  %23 = sext i32 %.lcssa111 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store i64 0, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %23, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %43 unwind label %72

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

26:                                               ; preds = %16
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %28

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

._crit_edge:                                      ; preds = %31, %.preheader110.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre197, %.preheader110.._crit_edge_crit_edge ], [ %41, %31 ]
  %29 = phi i32 [ %20, %.preheader110.._crit_edge_crit_edge ], [ %40, %31 ]
  %.184.lcssa = phi i32 [ %.083116, %.preheader110.._crit_edge_crit_edge ], [ %spec.select, %31 ]
  %.181.lcssa = phi i32 [ %.080117, %.preheader110.._crit_edge_crit_edge ], [ %spec.select102, %31 ]
  %indvars.iv.next178 = add nuw nsw i64 %indvars.iv177, 1
  %30 = icmp slt i64 %indvars.iv.next178, %.pre-phi
  br i1 %30, label %.preheader110, label %._crit_edge119, !llvm.loop !11

31:                                               ; preds = %.lr.ph, %31
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %31 ]
  %.181113 = phi i32 [ %.080117, %.lr.ph ], [ %spec.select102, %31 ]
  %.184112 = phi i32 [ %.083116, %.lr.ph ], [ %spec.select, %31 ]
  %32 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv177) #5
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %indvars.iv) #5
  %34 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %33)
  %35 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv177) #5
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %indvars.iv) #5
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = icmp eq i64 %37, 0
  %spec.select = select i1 %38, i32 %22, i32 %.184112
  %39 = trunc nuw nsw i64 %indvars.iv to i32
  %spec.select102 = select i1 %38, i32 %39, i32 %.181113
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = icmp slt i64 %indvars.iv.next, %41
  br i1 %42, label %31, label %._crit_edge, !llvm.loop !14

43:                                               ; preds = %._crit_edge119
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  %44 = load i32, ptr %1, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store i64 0, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %45, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %46 unwind label %74

46:                                               ; preds = %43
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %47 = load i32, ptr %1, align 4
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %.preheader, label %._crit_edge135

.preheader:                                       ; preds = %46, %._crit_edge129
  %49 = phi i32 [ %76, %._crit_edge129 ], [ %47, %46 ]
  %indvars.iv183 = phi i64 [ %indvars.iv.next184, %._crit_edge129 ], [ 0, %46 ]
  %.074133 = phi i64 [ %.175.lcssa, %._crit_edge129 ], [ 0, %46 ]
  %.076132 = phi i64 [ %.177.lcssa, %._crit_edge129 ], [ 0, %46 ]
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %.lr.ph128, label %.preheader.._crit_edge129_crit_edge

.preheader.._crit_edge129_crit_edge:              ; preds = %.preheader
  %.pre198 = sext i32 %49 to i64
  br label %._crit_edge129

._crit_edge135.loopexit:                          ; preds = %._crit_edge129
  %51 = icmp sgt i32 %76, 1
  br label %._crit_edge135

._crit_edge135:                                   ; preds = %._crit_edge135.loopexit, %46
  %.076.lcssa = phi i64 [ 0, %46 ], [ %.177.lcssa, %._crit_edge135.loopexit ]
  %.074.lcssa = phi i64 [ 0, %46 ], [ %.175.lcssa, %._crit_edge135.loopexit ]
  %.lcssa = phi i1 [ false, %46 ], [ %51, %._crit_edge135.loopexit ]
  %52 = icmp eq i32 %.083.lcssa, 0
  %53 = and i1 %52, %.lcssa
  %54 = zext i1 %53 to i64
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %54) #5
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = sext i32 %.083.lcssa to i64
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %57) #5
  %59 = load i64, ptr %58, align 8, !tbaa !9
  %60 = sub nsw i64 %56, %59
  %61 = icmp eq i32 %.083.lcssa, %.080.lcssa
  %62 = select i1 %61, i64 %60, i64 0
  %63 = add nsw i64 %62, %.076.lcssa
  %.not = icmp eq i64 %63, %56
  %64 = add nsw i32 %.080.lcssa, %.083.lcssa
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = add nsw i32 %65, -1
  %67 = icmp eq i32 %64, %66
  %68 = select i1 %67, i64 %60, i64 0
  %69 = add nsw i64 %68, %.074.lcssa
  %.not96 = icmp eq i64 %69, %56
  %narrow = select i1 %.not96, i1 %.not, i1 false
  %narrow.fr = freeze i1 %narrow
  %70 = icmp sgt i32 %65, 0
  %brmerge143.not = and i1 %70, %narrow.fr
  br i1 %brmerge143.not, label %.lr.ph146.split.preheader, label %._crit_edge147

.lr.ph146.split.preheader:                        ; preds = %._crit_edge135
  %71 = zext i32 %.083.lcssa to i64
  br label %.lr.ph146.split

72:                                               ; preds = %._crit_edge119
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %135

74:                                               ; preds = %43
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %135

._crit_edge129:                                   ; preds = %.lr.ph128, %.preheader.._crit_edge129_crit_edge
  %.pre-phi199 = phi i64 [ %.pre198, %.preheader.._crit_edge129_crit_edge ], [ %107, %.lr.ph128 ]
  %76 = phi i32 [ %49, %.preheader.._crit_edge129_crit_edge ], [ %106, %.lr.ph128 ]
  %.177.lcssa = phi i64 [ %.076132, %.preheader.._crit_edge129_crit_edge ], [ %95, %.lr.ph128 ]
  %.175.lcssa = phi i64 [ %.074133, %.preheader.._crit_edge129_crit_edge ], [ %105, %.lr.ph128 ]
  %indvars.iv.next184 = add nuw nsw i64 %indvars.iv183, 1
  %77 = icmp slt i64 %indvars.iv.next184, %.pre-phi199
  br i1 %77, label %.preheader, label %._crit_edge135.loopexit, !llvm.loop !15

.lr.ph128:                                        ; preds = %.preheader, %.lr.ph128
  %indvars.iv180 = phi i64 [ %indvars.iv.next181, %.lr.ph128 ], [ 0, %.preheader ]
  %.175126 = phi i64 [ %105, %.lr.ph128 ], [ %.074133, %.preheader ]
  %.177125 = phi i64 [ %95, %.lr.ph128 ], [ %.076132, %.preheader ]
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv183) #5
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %indvars.iv180) #5
  %80 = load i64, ptr %79, align 8, !tbaa !9
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv183) #5
  %82 = load i64, ptr %81, align 8, !tbaa !9
  %83 = add nsw i64 %82, %80
  store i64 %83, ptr %81, align 8, !tbaa !9
  %84 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv183) #5
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %indvars.iv180) #5
  %86 = load i64, ptr %85, align 8, !tbaa !9
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv180) #5
  %88 = load i64, ptr %87, align 8, !tbaa !9
  %89 = add nsw i64 %88, %86
  store i64 %89, ptr %87, align 8, !tbaa !9
  %90 = icmp eq i64 %indvars.iv183, %indvars.iv180
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv183) #5
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef %indvars.iv180) #5
  %93 = load i64, ptr %92, align 8, !tbaa !9
  %94 = select i1 %90, i64 %93, i64 0
  %95 = add nsw i64 %94, %.177125
  %96 = add nuw nsw i64 %indvars.iv180, %indvars.iv183
  %97 = load i32, ptr %1, align 4, !tbaa !5
  %98 = add nsw i32 %97, -1
  %99 = zext i32 %98 to i64
  %100 = icmp eq i64 %96, %99
  %101 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IxSaIxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv183) #5
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %indvars.iv180) #5
  %103 = load i64, ptr %102, align 8, !tbaa !9
  %104 = select i1 %100, i64 %103, i64 0
  %105 = add nsw i64 %104, %.175126
  %indvars.iv.next181 = add nuw nsw i64 %indvars.iv180, 1
  %106 = load i32, ptr %1, align 4
  %107 = sext i32 %106 to i64
  %108 = icmp slt i64 %indvars.iv.next181, %107
  br i1 %108, label %.lr.ph128, label %._crit_edge129, !llvm.loop !16

.lr.ph146.split:                                  ; preds = %.lr.ph146.split.preheader, %113
  %109 = phi i32 [ %65, %.lr.ph146.split.preheader ], [ %114, %113 ]
  %indvars.iv186 = phi i64 [ 0, %.lr.ph146.split.preheader ], [ %indvars.iv.next187, %113 ]
  %.not97 = icmp eq i64 %indvars.iv186, %71
  br i1 %.not97, label %113, label %110

110:                                              ; preds = %.lr.ph146.split
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv186) #5
  %112 = load i64, ptr %111, align 8, !tbaa !9
  %.not98 = icmp eq i64 %112, %56
  br i1 %.not98, label %._crit_edge192, label %._crit_edge147

._crit_edge192:                                   ; preds = %110
  %.pre = load i32, ptr %1, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %._crit_edge192, %.lr.ph146.split
  %114 = phi i32 [ %.pre, %._crit_edge192 ], [ %109, %.lr.ph146.split ]
  %indvars.iv.next187 = add nuw nsw i64 %indvars.iv186, 1
  %115 = sext i32 %114 to i64
  %.not167 = icmp slt i64 %indvars.iv.next187, %115
  br i1 %.not167, label %.lr.ph146.split, label %._crit_edge147, !llvm.loop !17

._crit_edge147:                                   ; preds = %110, %113, %._crit_edge135
  %.271.shrunk = phi i1 [ %narrow.fr, %._crit_edge135 ], [ true, %113 ], [ false, %110 ]
  %116 = sext i32 %.080.lcssa to i64
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %116) #5
  %118 = load i64, ptr %117, align 8, !tbaa !9
  %119 = add nsw i64 %118, %60
  %.not99 = icmp eq i64 %119, %56
  %.not99.fr = freeze i1 %.not99
  %narrow106 = and i1 %.not99.fr, %.271.shrunk
  %120 = load i32, ptr %1, align 4, !tbaa !5
  %121 = icmp sgt i32 %120, 0
  %brmerge109154.not = and i1 %121, %narrow106
  br i1 %brmerge109154.not, label %.lr.ph157.split.preheader, label %._crit_edge158

.lr.ph157.split.preheader:                        ; preds = %._crit_edge147
  %122 = zext i32 %.080.lcssa to i64
  br label %.lr.ph157.split

.lr.ph157.split:                                  ; preds = %.lr.ph157.split.preheader, %._crit_edge193
  %123 = phi i32 [ %120, %.lr.ph157.split.preheader ], [ %127, %._crit_edge193 ]
  %indvars.iv189 = phi i64 [ 0, %.lr.ph157.split.preheader ], [ %indvars.iv.next190, %._crit_edge193 ]
  %.not100 = icmp eq i64 %indvars.iv189, %122
  br i1 %.not100, label %._crit_edge193, label %124

124:                                              ; preds = %.lr.ph157.split
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv189) #5
  %126 = load i64, ptr %125, align 8, !tbaa !9
  %.not101 = icmp eq i64 %126, %56
  %.pre195.pre = load i32, ptr %1, align 4, !tbaa !5
  br i1 %.not101, label %._crit_edge193, label %._crit_edge158

._crit_edge193:                                   ; preds = %124, %.lr.ph157.split
  %127 = phi i32 [ %123, %.lr.ph157.split ], [ %.pre195.pre, %124 ]
  %indvars.iv.next190 = add nuw nsw i64 %indvars.iv189, 1
  %128 = sext i32 %127 to i64
  %.not169 = icmp slt i64 %indvars.iv.next190, %128
  br i1 %.not169, label %.lr.ph157.split, label %._crit_edge158, !llvm.loop !18

._crit_edge158:                                   ; preds = %124, %._crit_edge193, %._crit_edge147
  %129 = phi i32 [ %120, %._crit_edge147 ], [ %127, %._crit_edge193 ], [ %.pre195.pre, %124 ]
  %.4.shrunk = phi i1 [ %narrow106, %._crit_edge147 ], [ true, %._crit_edge193 ], [ false, %124 ]
  %130 = icmp eq i32 %129, 1
  %131 = icmp sgt i64 %60, 0
  %132 = select i1 %130, i1 true, i1 %131
  %.5 = and i1 %132, %.4.shrunk
  %.067 = select i1 %130, i64 1, i64 %60
  %133 = select i1 %.5, i64 %.067, i64 -1
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %133)
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret i32 0

135:                                              ; preds = %74, %72
  %.pn93 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorIS_IxSaIxEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  br label %136

136:                                              ; preds = %135, %28
  %.pn93.pn = phi { ptr, i32 } [ %.pn93, %135 ], [ %.pn, %28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn93.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(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 @_ZNSaISt6vectorIxSaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIxSaIxEEED2Ev(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 = { 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !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}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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