; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/Educational 4/Problem E (E)

; 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<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@n = external dso_local global i32, align 4
@p = external dso_local global [1001000 x i32], align 16
@q = external dso_local global [1001000 x i32], align 16
@v = external dso_local global [1001000 x i32], align 16
@cycles = external dso_local global [1001000 x %"class.std::vector"], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::vector.0", align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %30, %0
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = load i32, ptr @n, align 4, !tbaa !5
  %23 = icmp sle i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %33

25:                                               ; preds = %20
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [1001000 x i32], ptr @p, i64 0, i64 %27
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %28)
  br label %30

30:                                               ; preds = %25
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %2, align 4, !tbaa !5
  br label %20, !llvm.loop !9

33:                                               ; preds = %24
  %34 = load i32, ptr @n, align 4, !tbaa !5
  %35 = icmp eq i32 %34, 1
  br i1 %35, label %36, label %38

36:                                               ; preds = %33
  %37 = call i32 @puts(ptr noundef @.str.2)
  store i32 0, ptr %1, align 4
  br label %383

38:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %79, %38
  %40 = load i32, ptr %5, align 4, !tbaa !5
  %41 = load i32, ptr @n, align 4, !tbaa !5
  %42 = icmp sle i32 %40, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %82

44:                                               ; preds = %39
  %45 = load i32, ptr %5, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [1001000 x i32], ptr @v, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %78, label %50

50:                                               ; preds = %44
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %51 = load i32, ptr %5, align 4, !tbaa !5
  store i32 %51, ptr %6, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %63, %50
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [1001000 x i32], ptr @v, i64 0, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = icmp ne i32 %56, 0
  %58 = xor i1 %57, true
  br i1 %58, label %59, label %72

59:                                               ; preds = %52
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [1001000 x i32], ptr @v, i64 0, i64 %61
  store i32 1, ptr %62, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %63 unwind label %68

63:                                               ; preds = %59
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [1001000 x i32], ptr @p, i64 0, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !5
  store i32 %67, ptr %6, align 4, !tbaa !5
  br label %52, !llvm.loop !11

68:                                               ; preds = %72, %59
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %7, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %382

72:                                               ; preds = %52
  %73 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %74 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %73
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %75 unwind label %68

75:                                               ; preds = %72
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %78

78:                                               ; preds = %75, %44
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %5, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %5, align 4, !tbaa !5
  br label %39, !llvm.loop !12

82:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %83

83:                                               ; preds = %348, %82
  %84 = load i32, ptr %9, align 4, !tbaa !5
  %85 = load i32, ptr @n, align 4, !tbaa !5
  %86 = icmp sle i32 %84, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %83
  store i32 10, ptr %10, align 4
  br label %351

88:                                               ; preds = %83
  %89 = load i32, ptr %9, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %90
  %92 = call noundef zeroext i1 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #5
  br i1 %92, label %93, label %94

93:                                               ; preds = %88
  br label %348

94:                                               ; preds = %88
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = icmp eq i32 %95, 1
  br i1 %96, label %97, label %130

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

98:                                               ; preds = %126, %97
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %102
  %104 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #5
  %105 = icmp ult i64 %100, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %98
  store i32 13, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %129

107:                                              ; preds = %98
  %108 = load i32, ptr %9, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %109
  %111 = load i32, ptr %11, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112) #5
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef 0) #5
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = load i32, ptr %9, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %117
  %119 = load i32, ptr %11, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %120) #5
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef 0) #5
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %124
  store i32 %115, ptr %125, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %107
  %127 = load i32, ptr %11, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %11, align 4, !tbaa !5
  br label %98, !llvm.loop !13

129:                                              ; preds = %106
  br label %347

130:                                              ; preds = %94
  %131 = load i32, ptr %9, align 4, !tbaa !5
  %132 = srem i32 %131, 2
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %134, label %148

134:                                              ; preds = %130
  %135 = load i32, ptr %9, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %136
  %138 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #5
  %139 = urem i64 %138, 2
  %140 = icmp eq i64 %139, 1
  br i1 %140, label %141, label %148

141:                                              ; preds = %134
  %142 = invoke i32 @puts(ptr noundef @.str.3)
          to label %143 unwind label %144

143:                                              ; preds = %141
  store i32 0, ptr %1, align 4
  store i32 1, ptr %10, align 4
  br label %351

144:                                              ; preds = %141
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %7, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %8, align 4
  br label %353

148:                                              ; preds = %134, %130
  %149 = load i32, ptr %9, align 4, !tbaa !5
  %150 = srem i32 %149, 2
  %151 = icmp eq i32 %150, 0
  br i1 %151, label %152, label %271

152:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %153

153:                                              ; preds = %265, %152
  %154 = load i32, ptr %13, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = load i32, ptr %9, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %157
  %159 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #5
  %160 = icmp ult i64 %155, %159
  br i1 %160, label %161, label %270

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

162:                                              ; preds = %262, %161
  %163 = load i32, ptr %14, align 4, !tbaa !5
  %164 = load i32, ptr %9, align 4, !tbaa !5
  %165 = icmp slt i32 %163, %164
  br i1 %165, label %167, label %166

166:                                              ; preds = %162
  store i32 18, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %265

167:                                              ; preds = %162
  %168 = load i32, ptr %14, align 4, !tbaa !5
  %169 = load i32, ptr %9, align 4, !tbaa !5
  %170 = sub nsw i32 %169, 1
  %171 = icmp eq i32 %168, %170
  br i1 %171, label %172, label %215

172:                                              ; preds = %167
  %173 = load i32, ptr %9, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %174
  %176 = load i32, ptr %13, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %177) #5
  %179 = load i32, ptr %14, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %180) #5
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = load i32, ptr %9, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %184
  %186 = load i32, ptr %12, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %187) #5
  %189 = load i32, ptr %14, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %188, i64 noundef %190) #5
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %193
  store i32 %182, ptr %194, align 4, !tbaa !5
  %195 = load i32, ptr %9, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %196
  %198 = load i32, ptr %12, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %197, i64 noundef %199) #5
  %201 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %200, i64 noundef 0) #5
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = load i32, ptr %9, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %204
  %206 = load i32, ptr %13, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %205, i64 noundef %207) #5
  %209 = load i32, ptr %14, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %208, i64 noundef %210) #5
  %212 = load i32, ptr %211, align 4, !tbaa !5
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %213
  store i32 %202, ptr %214, align 4, !tbaa !5
  br label %261

215:                                              ; preds = %167
  %216 = load i32, ptr %9, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %217
  %219 = load i32, ptr %13, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %218, i64 noundef %220) #5
  %222 = load i32, ptr %14, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %221, i64 noundef %223) #5
  %225 = load i32, ptr %224, align 4, !tbaa !5
  %226 = load i32, ptr %9, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %227
  %229 = load i32, ptr %12, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %228, i64 noundef %230) #5
  %232 = load i32, ptr %14, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef %233) #5
  %235 = load i32, ptr %234, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %236
  store i32 %225, ptr %237, align 4, !tbaa !5
  %238 = load i32, ptr %9, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %239
  %241 = load i32, ptr %12, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %240, i64 noundef %242) #5
  %244 = load i32, ptr %14, align 4, !tbaa !5
  %245 = add nsw i32 %244, 1
  %246 = sext i32 %245 to i64
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %243, i64 noundef %246) #5
  %248 = load i32, ptr %247, align 4, !tbaa !5
  %249 = load i32, ptr %9, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %250
  %252 = load i32, ptr %13, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %251, i64 noundef %253) #5
  %255 = load i32, ptr %14, align 4, !tbaa !5
  %256 = sext i32 %255 to i64
  %257 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %256) #5
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %259
  store i32 %248, ptr %260, align 4, !tbaa !5
  br label %261

261:                                              ; preds = %215, %172
  br label %262

262:                                              ; preds = %261
  %263 = load i32, ptr %14, align 4, !tbaa !5
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %14, align 4, !tbaa !5
  br label %162, !llvm.loop !14

265:                                              ; preds = %166
  %266 = load i32, ptr %12, align 4, !tbaa !5
  %267 = add nsw i32 %266, 2
  store i32 %267, ptr %12, align 4, !tbaa !5
  %268 = load i32, ptr %13, align 4, !tbaa !5
  %269 = add nsw i32 %268, 2
  store i32 %269, ptr %13, align 4, !tbaa !5
  br label %153, !llvm.loop !15

270:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %345

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

272:                                              ; preds = %341, %271
  %273 = load i32, ptr %15, align 4, !tbaa !5
  %274 = sext i32 %273 to i64
  %275 = load i32, ptr %9, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %276
  %278 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %277) #5
  %279 = icmp ult i64 %274, %278
  br i1 %279, label %281, label %280

280:                                              ; preds = %272
  store i32 21, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %344

281:                                              ; preds = %272
  %282 = load i32, ptr %9, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %283
  %285 = load i32, ptr %15, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %284, i64 noundef %286) #5
  %288 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %287)
          to label %289 unwind label %298

289:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %290 = load i32, ptr %9, align 4, !tbaa !5
  %291 = add nsw i32 %290, 1
  %292 = sdiv i32 %291, 2
  store i32 %292, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %293

293:                                              ; preds = %337, %289
  %294 = load i32, ptr %17, align 4, !tbaa !5
  %295 = load i32, ptr %9, align 4, !tbaa !5
  %296 = icmp slt i32 %294, %295
  br i1 %296, label %302, label %297

297:                                              ; preds = %293
  store i32 24, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %340

298:                                              ; preds = %281
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %7, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %353

302:                                              ; preds = %293
  %303 = load i32, ptr %17, align 4, !tbaa !5
  %304 = load i32, ptr %16, align 4, !tbaa !5
  %305 = add nsw i32 %303, %304
  %306 = load i32, ptr %9, align 4, !tbaa !5
  %307 = icmp slt i32 %305, %306
  br i1 %307, label %308, label %321

308:                                              ; preds = %302
  %309 = load i32, ptr %17, align 4, !tbaa !5
  %310 = load i32, ptr %16, align 4, !tbaa !5
  %311 = add nsw i32 %309, %310
  %312 = sext i32 %311 to i64
  %313 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %312) #5
  %314 = load i32, ptr %313, align 4, !tbaa !5
  %315 = load i32, ptr %17, align 4, !tbaa !5
  %316 = sext i32 %315 to i64
  %317 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %316) #5
  %318 = load i32, ptr %317, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %319
  store i32 %314, ptr %320, align 4, !tbaa !5
  br label %336

321:                                              ; preds = %302
  %322 = load i32, ptr %17, align 4, !tbaa !5
  %323 = load i32, ptr %16, align 4, !tbaa !5
  %324 = add nsw i32 %322, %323
  %325 = load i32, ptr %9, align 4, !tbaa !5
  %326 = srem i32 %324, %325
  %327 = sext i32 %326 to i64
  %328 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %327) #5
  %329 = load i32, ptr %328, align 4, !tbaa !5
  %330 = load i32, ptr %17, align 4, !tbaa !5
  %331 = sext i32 %330 to i64
  %332 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %331) #5
  %333 = load i32, ptr %332, align 4, !tbaa !5
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %334
  store i32 %329, ptr %335, align 4, !tbaa !5
  br label %336

336:                                              ; preds = %321, %308
  br label %337

337:                                              ; preds = %336
  %338 = load i32, ptr %17, align 4, !tbaa !5
  %339 = add nsw i32 %338, 1
  store i32 %339, ptr %17, align 4, !tbaa !5
  br label %293, !llvm.loop !16

340:                                              ; preds = %297
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %341

341:                                              ; preds = %340
  %342 = load i32, ptr %15, align 4, !tbaa !5
  %343 = add nsw i32 %342, 1
  store i32 %343, ptr %15, align 4, !tbaa !5
  br label %272, !llvm.loop !17

344:                                              ; preds = %280
  br label %345

345:                                              ; preds = %344, %270
  br label %346

346:                                              ; preds = %345
  br label %347

347:                                              ; preds = %346, %129
  br label %348

348:                                              ; preds = %347, %93
  %349 = load i32, ptr %9, align 4, !tbaa !5
  %350 = add nsw i32 %349, 1
  store i32 %350, ptr %9, align 4, !tbaa !5
  br label %83, !llvm.loop !18

351:                                              ; preds = %143, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  %352 = load i32, ptr %10, align 4
  switch i32 %352, label %381 [
    i32 10, label %354
  ]

353:                                              ; preds = %298, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %382

354:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 1, ptr %18, align 4, !tbaa !5
  br label %355

355:                                              ; preds = %367, %354
  %356 = load i32, ptr %18, align 4, !tbaa !5
  %357 = load i32, ptr @n, align 4, !tbaa !5
  %358 = icmp sle i32 %356, %357
  br i1 %358, label %360, label %359

359:                                              ; preds = %355
  store i32 27, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %374

360:                                              ; preds = %355
  %361 = load i32, ptr %18, align 4, !tbaa !5
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %362
  %364 = load i32, ptr %363, align 4, !tbaa !5
  %365 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %364)
          to label %366 unwind label %370

366:                                              ; preds = %360
  br label %367

367:                                              ; preds = %366
  %368 = load i32, ptr %18, align 4, !tbaa !5
  %369 = add nsw i32 %368, 1
  store i32 %369, ptr %18, align 4, !tbaa !5
  br label %355, !llvm.loop !19

370:                                              ; preds = %360
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %7, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %382

374:                                              ; preds = %359
  %375 = invoke i32 @puts(ptr noundef @.str.5)
          to label %376 unwind label %377

376:                                              ; preds = %374
  store i32 0, ptr %1, align 4
  store i32 1, ptr %10, align 4
  br label %381

377:                                              ; preds = %374
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %7, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %8, align 4
  br label %382

381:                                              ; preds = %376, %351
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %383

382:                                              ; preds = %377, %370, %353, %68
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %385

383:                                              ; preds = %381, %36
  %384 = load i32, ptr %1, align 4
  ret i32 %384

385:                                              ; preds = %382
  %386 = load ptr, ptr %7, align 8
  %387 = load i32, ptr %8, align 4
  %388 = insertvalue { ptr, i32 } poison, ptr %386, 0
  %389 = insertvalue { ptr, i32 } %388, i32 %387, 1
  resume { ptr, i32 } %389
}

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

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

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

declare i32 @puts(ptr noundef) #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


; 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<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@n = external dso_local global i32, align 4
@p = external dso_local global [1001000 x i32], align 16
@q = external dso_local local_unnamed_addr global [1001000 x i32], align 16
@v = external dso_local local_unnamed_addr global [1001000 x i32], align 16
@cycles = external dso_local global [1001000 x %"class.std::vector"], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector.0", align 8
  %2 = alloca i32, align 4
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %4 = load i32, ptr @n, align 4, !tbaa !5
  %.not114 = icmp slt i32 %4, 1
  br i1 %.not114, label %._crit_edge.thread, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph
  %5 = icmp eq i32 %8, 1
  br i1 %5, label %10, label %._crit_edge.thread

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %6 = getelementptr inbounds [1001000 x i32], ptr @p, i64 0, i64 %indvars.iv
  %7 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %6)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %8 = load i32, ptr @n, align 4, !tbaa !5
  %9 = sext i32 %8 to i64
  %.not.not = icmp slt i64 %indvars.iv, %9
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !9

10:                                               ; preds = %._crit_edge
  %11 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %133

._crit_edge.thread:                               ; preds = %0, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %.not99120 = icmp slt i32 %12, 1
  br i1 %.not99120, label %.critedge107._crit_edge, label %.lr.ph124

.preheader112:                                    ; preds = %32
  %.not100133 = icmp slt i32 %33, 1
  br i1 %.not100133, label %.critedge107._crit_edge, label %.lr.ph136

.lr.ph124:                                        ; preds = %._crit_edge.thread, %32
  %13 = phi i32 [ %33, %32 ], [ %12, %._crit_edge.thread ]
  %indvars.iv147 = phi i64 [ %indvars.iv.next148, %32 ], [ 1, %._crit_edge.thread ]
  %14 = getelementptr inbounds [1001000 x i32], ptr @v, i64 0, i64 %indvars.iv147
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %.not103 = icmp eq i32 %15, 0
  br i1 %.not103, label %16, label %32

16:                                               ; preds = %.lr.ph124
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %17 = trunc nuw nsw i64 %indvars.iv147 to i32
  store i32 %17, ptr %2, align 4, !tbaa !5
  %18 = load i32, ptr %14, align 4, !tbaa !5
  %.not104116 = icmp eq i32 %18, 0
  br i1 %.not104116, label %.lr.ph118, label %._crit_edge119

.lr.ph118:                                        ; preds = %16, %20
  %19 = phi ptr [ %26, %20 ], [ %14, %16 ]
  store i32 1, ptr %19, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %20 unwind label %.loopexit113

20:                                               ; preds = %.lr.ph118
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [1001000 x i32], ptr @p, i64 0, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %24, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [1001000 x i32], ptr @v, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %.not104 = icmp eq i32 %27, 0
  br i1 %.not104, label %.lr.ph118, label %._crit_edge119, !llvm.loop !11

.loopexit113:                                     ; preds = %.lr.ph118
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %28

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

28:                                               ; preds = %.loopexit.split-lp, %.loopexit113
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit113 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  br label %132

._crit_edge119:                                   ; preds = %20, %16
  %29 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %30 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %29
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %31 unwind label %.loopexit.split-lp

31:                                               ; preds = %._crit_edge119
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %.lr.ph124, %31
  %33 = phi i32 [ %13, %.lr.ph124 ], [ %.pre, %31 ]
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %34 = sext i32 %33 to i64
  %.not99.not = icmp slt i64 %indvars.iv147, %34
  br i1 %.not99.not, label %.lr.ph124, label %.preheader112, !llvm.loop !12

.critedge107.preheader:                           ; preds = %.loopexit
  %35 = icmp slt i32 %124, 1
  br i1 %35, label %.critedge107._crit_edge, label %.critedge107

.lr.ph136:                                        ; preds = %.preheader112, %.loopexit
  %indvars.iv171 = phi i64 [ %indvars.iv.next172, %.loopexit ], [ 1, %.preheader112 ]
  %36 = getelementptr inbounds [1001000 x %"class.std::vector"], ptr @cycles, i64 0, i64 %indvars.iv171
  %37 = call noundef zeroext i1 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  br i1 %37, label %.loopexit, label %38

38:                                               ; preds = %.lr.ph136
  %39 = icmp eq i64 %indvars.iv171, 1
  br i1 %39, label %.preheader108, label %51

.preheader108:                                    ; preds = %38
  %40 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %.not140 = icmp eq i64 %40, 0
  br i1 %.not140, label %.loopexit, label %.lr.ph132

.lr.ph132:                                        ; preds = %.preheader108, %.lr.ph132
  %indvars.iv168 = phi i64 [ %indvars.iv.next169, %.lr.ph132 ], [ 0, %.preheader108 ]
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv168) #5
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef 0) #5
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv168) #5
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #5
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %47
  store i32 %43, ptr %48, align 4, !tbaa !5
  %indvars.iv.next169 = add nuw nsw i64 %indvars.iv168, 1
  %49 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %50 = icmp ugt i64 %49, %indvars.iv.next169
  br i1 %50, label %.lr.ph132, label %.loopexit, !llvm.loop !13

51:                                               ; preds = %38
  %52 = trunc nuw nsw i64 %indvars.iv171 to i32
  %53 = and i32 %52, 1
  %54 = icmp eq i32 %53, 0
  %55 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  br i1 %54, label %59, label %.critedge.preheader

.critedge.preheader:                              ; preds = %51
  %.not = icmp eq i64 %55, 0
  br i1 %.not, label %.loopexit, label %.lr.ph127

.lr.ph127:                                        ; preds = %.critedge.preheader
  %56 = add nuw i64 %indvars.iv171, 1
  %57 = lshr i64 %56, 1
  %58 = and i64 %57, 2147483647
  br label %104

59:                                               ; preds = %51
  %60 = and i64 %55, 1
  %.not101 = icmp eq i64 %60, 0
  br i1 %.not101, label %.preheader109, label %.critedge107._crit_edge

.preheader109:                                    ; preds = %59
  %61 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %62 = icmp ugt i64 %61, 1
  br i1 %62, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %.preheader109
  %63 = add nsw i64 %indvars.iv171, -1
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %64
  %indvars.iv163 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next164, %64 ]
  %indvars.iv161 = phi i64 [ 1, %.preheader.lr.ph ], [ %indvars.iv.next162, %64 ]
  br label %67

64:                                               ; preds = %103
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 2
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 2
  %65 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %66 = icmp ugt i64 %65, %indvars.iv.next162
  br i1 %66, label %.preheader, label %.loopexit, !llvm.loop !14

67:                                               ; preds = %.preheader, %103
  %indvars.iv156 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next157.pre-phi, %103 ]
  %68 = icmp eq i64 %indvars.iv156, %63
  %69 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv161) #5
  br i1 %68, label %70, label %86

70:                                               ; preds = %67
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %63) #5
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv163) #5
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %63) #5
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %76
  store i32 %72, ptr %77, align 4, !tbaa !5
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv163) #5
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef 0) #5
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv161) #5
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %63) #5
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %84
  store i32 %80, ptr %85, align 4, !tbaa !5
  %.pre177 = add nuw nsw i64 %indvars.iv156, 1
  br label %103

86:                                               ; preds = %67
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %indvars.iv156) #5
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv163) #5
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %indvars.iv156) #5
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %92
  store i32 %88, ptr %93, align 4, !tbaa !5
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv163) #5
  %95 = add nuw nsw i64 %indvars.iv156, 1
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %95) #5
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv161) #5
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %indvars.iv156) #5
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %101
  store i32 %97, ptr %102, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %70, %86
  %indvars.iv.next157.pre-phi = phi i64 [ %.pre177, %70 ], [ %95, %86 ]
  %exitcond160.not = icmp eq i64 %indvars.iv.next157.pre-phi, %indvars.iv171
  br i1 %exitcond160.not, label %64, label %67, !llvm.loop !15

104:                                              ; preds = %.lr.ph127, %.critedge
  %indvars.iv153 = phi i64 [ 0, %.lr.ph127 ], [ %indvars.iv.next154, %.critedge ]
  %105 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %indvars.iv153) #5
  %106 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %105)
          to label %.preheader142 unwind label %109

.critedge:                                        ; preds = %117
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %107 = call noundef i64 @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %108 = icmp ugt i64 %107, %indvars.iv.next154
  br i1 %108, label %104, label %.loopexit, !llvm.loop !16

109:                                              ; preds = %104
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %132

.preheader142:                                    ; preds = %104, %117
  %indvars.iv150 = phi i64 [ %indvars.iv.next151, %117 ], [ 0, %104 ]
  %111 = add nuw nsw i64 %indvars.iv150, %58
  %112 = icmp ult i64 %111, %indvars.iv171
  br i1 %112, label %117, label %113

113:                                              ; preds = %.preheader142
  %114 = trunc nuw nsw i64 %111 to i32
  %115 = urem i32 %114, %52
  %116 = zext nneg i32 %115 to i64
  br label %117

117:                                              ; preds = %.preheader142, %113
  %.sink = phi i64 [ %116, %113 ], [ %111, %.preheader142 ]
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.sink) #5
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv150) #5
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %122
  store i32 %119, ptr %123, align 4, !tbaa !5
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next151, %indvars.iv171
  br i1 %exitcond.not, label %.critedge, label %.preheader142, !llvm.loop !17

.loopexit:                                        ; preds = %.critedge, %64, %.lr.ph132, %.critedge.preheader, %.preheader109, %.preheader108, %.lr.ph136
  %indvars.iv.next172 = add nuw nsw i64 %indvars.iv171, 1
  %124 = load i32, ptr @n, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %.not100.not = icmp slt i64 %indvars.iv171, %125
  br i1 %.not100.not, label %.lr.ph136, label %.critedge107.preheader, !llvm.loop !18

.critedge107:                                     ; preds = %.critedge107.preheader, %.critedge107
  %indvars.iv174 = phi i64 [ %indvars.iv.next175, %.critedge107 ], [ 1, %.critedge107.preheader ]
  %126 = getelementptr inbounds [1001000 x i32], ptr @q, i64 0, i64 %indvars.iv174
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %127)
  %indvars.iv.next175 = add nuw nsw i64 %indvars.iv174, 1
  %129 = load i32, ptr @n, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %.not102.not = icmp slt i64 %indvars.iv174, %130
  br i1 %.not102.not, label %.critedge107, label %.critedge107._crit_edge, !llvm.loop !19

.critedge107._crit_edge:                          ; preds = %59, %.critedge107, %.critedge107.preheader, %.preheader112, %._crit_edge.thread
  %.str.3.sink = phi ptr [ @.str.5, %._crit_edge.thread ], [ @.str.5, %.preheader112 ], [ @.str.5, %.critedge107.preheader ], [ @.str.5, %.critedge107 ], [ @.str.3, %59 ]
  %131 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %.str.3.sink)
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #5
  br label %133

132:                                              ; preds = %109, %28
  %.pn = phi { ptr, i32 } [ %lpad.phi, %28 ], [ %110, %109 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn

133:                                              ; preds = %.critedge107._crit_edge, %10
  ret i32 0
}

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass