; LLVM IR from tangjz/acm-icpc :: lydsy (1786)

; 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"

@num = external dso_local global [10003 x i32], align 16
@blank = external dso_local global [10003 x i32], align 16
@small = external dso_local global [10003 x [102 x i32]], align 16
@more = external dso_local global [10003 x [102 x i32]], align 16
@f = external dso_local global [10003 x [103 x i32]], align 16
@n = external dso_local global i32, align 4
@k = external dso_local global i32, align 4
@ans = external dso_local global i32, align 4
@cnt = external dso_local global i32, align 4
@sum = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @k)
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %7

7:                                                ; preds = %28, %0
  %8 = load i32, ptr %2, align 4, !tbaa !5
  %9 = load i32, ptr @n, align 4, !tbaa !5
  %10 = icmp sle i32 %8, %9
  br i1 %10, label %11, label %31

11:                                               ; preds = %7
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %13
  %15 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %14)
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %17
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = icmp eq i32 %19, -1
  br i1 %20, label %21, label %27

21:                                               ; preds = %11
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = load i32, ptr @cnt, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @cnt, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [10003 x i32], ptr @blank, i64 0, i64 %25
  store i32 %22, ptr %26, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %21, %11
  br label %28

28:                                               ; preds = %27
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %2, align 4, !tbaa !5
  br label %7, !llvm.loop !9

31:                                               ; preds = %7
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %89, %31
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = load i32, ptr @n, align 4, !tbaa !5
  %35 = icmp sle i32 %33, %34
  br i1 %35, label %36, label %92

36:                                               ; preds = %32
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %56, %36
  %38 = load i32, ptr %3, align 4, !tbaa !5
  %39 = load i32, ptr @k, align 4, !tbaa !5
  %40 = icmp sle i32 %38, %39
  br i1 %40, label %41, label %59

41:                                               ; preds = %37
  %42 = load i32, ptr %2, align 4, !tbaa !5
  %43 = sub nsw i32 %42, 1
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %44
  %46 = load i32, ptr %3, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [102 x i32], ptr %45, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %51
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [102 x i32], ptr %52, i64 0, i64 %54
  store i32 %49, ptr %55, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %41
  %57 = load i32, ptr %3, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %3, align 4, !tbaa !5
  br label %37, !llvm.loop !11

59:                                               ; preds = %37
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = sub nsw i32 %60, 1
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = icmp ne i32 %64, -1
  br i1 %65, label %66, label %88

66:                                               ; preds = %59
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %84, %66
  %68 = load i32, ptr %3, align 4, !tbaa !5
  %69 = load i32, ptr %2, align 4, !tbaa !5
  %70 = sub nsw i32 %69, 1
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = icmp slt i32 %68, %73
  br i1 %74, label %75, label %87

75:                                               ; preds = %67
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %77
  %79 = load i32, ptr %3, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [102 x i32], ptr %78, i64 0, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %81, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %75
  %85 = load i32, ptr %3, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %3, align 4, !tbaa !5
  br label %67, !llvm.loop !12

87:                                               ; preds = %67
  br label %88

88:                                               ; preds = %87, %59
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %2, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %2, align 4, !tbaa !5
  br label %32, !llvm.loop !13

92:                                               ; preds = %32
  %93 = load i32, ptr @n, align 4, !tbaa !5
  %94 = sub nsw i32 %93, 1
  store i32 %94, ptr %2, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %153, %92
  %96 = load i32, ptr %2, align 4, !tbaa !5
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %156

98:                                               ; preds = %95
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %118, %98
  %100 = load i32, ptr %3, align 4, !tbaa !5
  %101 = load i32, ptr @k, align 4, !tbaa !5
  %102 = icmp sle i32 %100, %101
  br i1 %102, label %103, label %121

103:                                              ; preds = %99
  %104 = load i32, ptr %2, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %106
  %108 = load i32, ptr %3, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [102 x i32], ptr %107, i64 0, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = load i32, ptr %2, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %113
  %115 = load i32, ptr %3, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [102 x i32], ptr %114, i64 0, i64 %116
  store i32 %111, ptr %117, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %103
  %119 = load i32, ptr %3, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %3, align 4, !tbaa !5
  br label %99, !llvm.loop !14

121:                                              ; preds = %99
  %122 = load i32, ptr %2, align 4, !tbaa !5
  %123 = add nsw i32 %122, 1
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = icmp ne i32 %126, -1
  br i1 %127, label %128, label %152

128:                                              ; preds = %121
  %129 = load i32, ptr %2, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %3, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %148, %128
  %136 = load i32, ptr %3, align 4, !tbaa !5
  %137 = load i32, ptr @k, align 4, !tbaa !5
  %138 = icmp sle i32 %136, %137
  br i1 %138, label %139, label %151

139:                                              ; preds = %135
  %140 = load i32, ptr %2, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %141
  %143 = load i32, ptr %3, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [102 x i32], ptr %142, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %145, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %139
  %149 = load i32, ptr %3, align 4, !tbaa !5
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %3, align 4, !tbaa !5
  br label %135, !llvm.loop !15

151:                                              ; preds = %135
  br label %152

152:                                              ; preds = %151, %121
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %2, align 4, !tbaa !5
  %155 = add nsw i32 %154, -1
  store i32 %155, ptr %2, align 4, !tbaa !5
  br label %95, !llvm.loop !16

156:                                              ; preds = %95
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %157

157:                                              ; preds = %181, %156
  %158 = load i32, ptr %2, align 4, !tbaa !5
  %159 = load i32, ptr @n, align 4, !tbaa !5
  %160 = icmp sle i32 %158, %159
  br i1 %160, label %161, label %184

161:                                              ; preds = %157
  %162 = load i32, ptr %2, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %163
  %165 = load i32, ptr %164, align 4, !tbaa !5
  %166 = icmp ne i32 %165, -1
  br i1 %166, label %167, label %180

167:                                              ; preds = %161
  %168 = load i32, ptr %2, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %169
  %171 = load i32, ptr %2, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [102 x i32], ptr %170, i64 0, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = load i32, ptr @sum, align 4, !tbaa !5
  %179 = add nsw i32 %178, %177
  store i32 %179, ptr @sum, align 4, !tbaa !5
  br label %180

180:                                              ; preds = %167, %161
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %2, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %2, align 4, !tbaa !5
  br label %157, !llvm.loop !17

184:                                              ; preds = %157
  call void @llvm.memset.p0.i64(ptr align 16 @f, i8 127, i64 4121236, i1 false)
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %185

185:                                              ; preds = %208, %184
  %186 = load i32, ptr %2, align 4, !tbaa !5
  %187 = load i32, ptr @k, align 4, !tbaa !5
  %188 = icmp sle i32 %186, %187
  br i1 %188, label %189, label %211

189:                                              ; preds = %185
  %190 = load i32, ptr getelementptr inbounds ([10003 x i32], ptr @blank, i64 0, i64 1), align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %191
  %193 = load i32, ptr %2, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [102 x i32], ptr %192, i64 0, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = load i32, ptr getelementptr inbounds ([10003 x i32], ptr @blank, i64 0, i64 1), align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %198
  %200 = load i32, ptr %2, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [102 x i32], ptr %199, i64 0, i64 %201
  %203 = load i32, ptr %202, align 4, !tbaa !5
  %204 = add nsw i32 %196, %203
  %205 = load i32, ptr %2, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [103 x i32], ptr getelementptr inbounds ([10003 x [103 x i32]], ptr @f, i64 0, i64 1), i64 0, i64 %206
  store i32 %204, ptr %207, align 4, !tbaa !5
  br label %208

208:                                              ; preds = %189
  %209 = load i32, ptr %2, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %2, align 4, !tbaa !5
  br label %185, !llvm.loop !18

211:                                              ; preds = %185
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %212

212:                                              ; preds = %279, %211
  %213 = load i32, ptr %2, align 4, !tbaa !5
  %214 = load i32, ptr @cnt, align 4, !tbaa !5
  %215 = icmp sle i32 %213, %214
  br i1 %215, label %216, label %282

216:                                              ; preds = %212
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %217

217:                                              ; preds = %275, %216
  %218 = load i32, ptr %3, align 4, !tbaa !5
  %219 = load i32, ptr @k, align 4, !tbaa !5
  %220 = icmp sle i32 %218, %219
  br i1 %220, label %221, label %278

221:                                              ; preds = %217
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %222

222:                                              ; preds = %271, %221
  %223 = load i32, ptr %4, align 4, !tbaa !5
  %224 = load i32, ptr %3, align 4, !tbaa !5
  %225 = icmp sle i32 %223, %224
  br i1 %225, label %226, label %274

226:                                              ; preds = %222
  %227 = load i32, ptr %2, align 4, !tbaa !5
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %228
  %230 = load i32, ptr %3, align 4, !tbaa !5
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds [103 x i32], ptr %229, i64 0, i64 %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %233 = load i32, ptr %2, align 4, !tbaa !5
  %234 = sub nsw i32 %233, 1
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %235
  %237 = load i32, ptr %4, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [103 x i32], ptr %236, i64 0, i64 %238
  %240 = load i32, ptr %239, align 4, !tbaa !5
  %241 = load i32, ptr %2, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [10003 x i32], ptr @blank, i64 0, i64 %242
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %245
  %247 = load i32, ptr %3, align 4, !tbaa !5
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [102 x i32], ptr %246, i64 0, i64 %248
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = add nsw i32 %240, %250
  %252 = load i32, ptr %2, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [10003 x i32], ptr @blank, i64 0, i64 %253
  %255 = load i32, ptr %254, align 4, !tbaa !5
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %256
  %258 = load i32, ptr %3, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [102 x i32], ptr %257, i64 0, i64 %259
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %262 = add nsw i32 %251, %261
  store i32 %262, ptr %5, align 4, !tbaa !5
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %232, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = load i32, ptr %2, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %266
  %268 = load i32, ptr %3, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds [103 x i32], ptr %267, i64 0, i64 %269
  store i32 %264, ptr %270, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %271

271:                                              ; preds = %226
  %272 = load i32, ptr %4, align 4, !tbaa !5
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %4, align 4, !tbaa !5
  br label %222, !llvm.loop !19

274:                                              ; preds = %222
  br label %275

275:                                              ; preds = %274
  %276 = load i32, ptr %3, align 4, !tbaa !5
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %3, align 4, !tbaa !5
  br label %217, !llvm.loop !20

278:                                              ; preds = %217
  br label %279

279:                                              ; preds = %278
  %280 = load i32, ptr %2, align 4, !tbaa !5
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr %2, align 4, !tbaa !5
  br label %212, !llvm.loop !21

282:                                              ; preds = %212
  store i32 2139062143, ptr @ans, align 4, !tbaa !5
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %283

283:                                              ; preds = %306, %282
  %284 = load i32, ptr %2, align 4, !tbaa !5
  %285 = load i32, ptr @k, align 4, !tbaa !5
  %286 = icmp sle i32 %284, %285
  br i1 %286, label %287, label %309

287:                                              ; preds = %283
  %288 = load i32, ptr @ans, align 4, !tbaa !5
  %289 = load i32, ptr @cnt, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %290
  %292 = load i32, ptr %2, align 4, !tbaa !5
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds [103 x i32], ptr %291, i64 0, i64 %293
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = icmp sgt i32 %288, %295
  br i1 %296, label %297, label %305

297:                                              ; preds = %287
  %298 = load i32, ptr @cnt, align 4, !tbaa !5
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %299
  %301 = load i32, ptr %2, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [103 x i32], ptr %300, i64 0, i64 %302
  %304 = load i32, ptr %303, align 4, !tbaa !5
  store i32 %304, ptr @ans, align 4, !tbaa !5
  br label %305

305:                                              ; preds = %297, %287
  br label %306

306:                                              ; preds = %305
  %307 = load i32, ptr %2, align 4, !tbaa !5
  %308 = add nsw i32 %307, 1
  store i32 %308, ptr %2, align 4, !tbaa !5
  br label %283, !llvm.loop !22

309:                                              ; preds = %283
  %310 = load i32, ptr @ans, align 4, !tbaa !5
  %311 = sitofp i32 %310 to double
  %312 = fcmp ogt double %311, 1.000000e+08
  br i1 %312, label %313, label %314

313:                                              ; preds = %309
  store i32 0, ptr @ans, align 4, !tbaa !5
  br label %314

314:                                              ; preds = %313, %309
  %315 = load i32, ptr @ans, align 4, !tbaa !5
  %316 = load i32, ptr @sum, align 4, !tbaa !5
  %317 = add nsw i32 %315, %316
  %318 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %317)
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  ret i32 0
}

; 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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

declare i32 @printf(ptr noundef, ...) #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !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"

@num = external dso_local global [10003 x i32], align 16
@blank = external dso_local local_unnamed_addr global [10003 x i32], align 16
@small = external dso_local local_unnamed_addr global [10003 x [102 x i32]], align 16
@more = external dso_local local_unnamed_addr global [10003 x [102 x i32]], align 16
@f = external dso_local global [10003 x [103 x i32]], align 16
@n = external dso_local global i32, align 4
@k = external dso_local global i32, align 4
@ans = external dso_local local_unnamed_addr global i32, align 4
@cnt = external dso_local local_unnamed_addr global i32, align 4
@sum = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @k)
  %3 = load i32, ptr @n, align 4, !tbaa !5
  %.not100 = icmp slt i32 %3, 1
  br i1 %.not100, label %.preheader93, label %.lr.ph

.preheader97:                                     ; preds = %18
  %.not74107 = icmp slt i32 %19, 2
  br i1 %.not74107, label %.preheader93, label %.preheader96.lr.ph

.preheader96.lr.ph:                               ; preds = %.preheader97
  %4 = load i32, ptr @k, align 4, !tbaa !5
  %.not86102 = icmp slt i32 %4, 1
  %5 = add i32 %4, 1
  %6 = add nuw i32 %19, 1
  %wide.trip.count160 = zext i32 %6 to i64
  %wide.trip.count = zext i32 %5 to i64
  %7 = add nsw i64 %wide.trip.count, -1
  %min.iters.check231 = icmp ult i32 %5, 3
  %n.vec234 = and i64 %7, -2
  %ind.end235 = or i64 %7, 1
  %cmp.n242 = icmp eq i64 %7, %n.vec234
  br label %.preheader96

.lr.ph:                                           ; preds = %0, %18
  %indvars.iv = phi i64 [ %indvars.iv.next, %18 ], [ 1, %0 ]
  %8 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %indvars.iv
  %9 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %8)
  %10 = load i32, ptr %8, align 4, !tbaa !5
  %11 = icmp eq i32 %10, -1
  br i1 %11, label %12, label %18

12:                                               ; preds = %.lr.ph
  %13 = load i32, ptr @cnt, align 4, !tbaa !5
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr @cnt, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [10003 x i32], ptr @blank, i64 0, i64 %15
  %17 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %17, ptr %16, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %.lr.ph, %12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %19 = load i32, ptr @n, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %.not.not = icmp slt i64 %indvars.iv, %20
  br i1 %.not.not, label %.lr.ph, label %.preheader97, !llvm.loop !9

.preheader96:                                     ; preds = %.preheader96.lr.ph, %.loopexit95
  %indvars.iv157 = phi i64 [ 2, %.preheader96.lr.ph ], [ %indvars.iv.next158, %.loopexit95 ]
  %.pre209 = add nsw i64 %indvars.iv157, -1
  br i1 %.not86102, label %._crit_edge, label %.lr.ph104.preheader

.lr.ph104.preheader:                              ; preds = %.preheader96
  br i1 %min.iters.check231, label %.lr.ph104.preheader295, label %vector.body237

.lr.ph104.preheader295:                           ; preds = %middle.block229, %.lr.ph104.preheader
  %indvars.iv149.ph = phi i64 [ 1, %.lr.ph104.preheader ], [ %ind.end235, %middle.block229 ]
  br label %.lr.ph104

vector.body237:                                   ; preds = %.lr.ph104.preheader, %vector.body237
  %index238 = phi i64 [ %index.next241, %vector.body237 ], [ 0, %.lr.ph104.preheader ]
  %offset.idx239 = or disjoint i64 %index238, 1
  %21 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %.pre209, i64 %offset.idx239
  %wide.load240 = load <2 x i32>, ptr %21, align 4, !tbaa !5
  %22 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %indvars.iv157, i64 %offset.idx239
  store <2 x i32> %wide.load240, ptr %22, align 4, !tbaa !5
  %index.next241 = add nuw i64 %index238, 2
  %23 = icmp eq i64 %index.next241, %n.vec234
  br i1 %23, label %middle.block229, label %vector.body237, !llvm.loop !11

middle.block229:                                  ; preds = %vector.body237
  br i1 %cmp.n242, label %._crit_edge, label %.lr.ph104.preheader295

.preheader93:                                     ; preds = %.loopexit95, %0, %.preheader97
  %.lcssa99213 = phi i32 [ %19, %.preheader97 ], [ %3, %0 ], [ %19, %.loopexit95 ]
  %.267118 = add nsw i32 %.lcssa99213, -1
  %.not75119 = icmp eq i32 %.267118, 0
  br i1 %.not75119, label %.lr.ph124.preheader, label %.preheader92.lr.ph

.preheader92.lr.ph:                               ; preds = %.preheader93
  %24 = load i32, ptr @k, align 4, !tbaa !5
  %.not83110 = icmp slt i32 %24, 1
  %25 = add i32 %24, 1
  %26 = sext i32 %.267118 to i64
  %wide.trip.count166 = zext i32 %25 to i64
  %wide.trip.count171 = sext i32 %24 to i64
  %27 = sext i32 %.lcssa99213 to i64
  %28 = mul nsw i64 %27, 408
  %29 = add nsw i64 %28, -408
  %30 = add nsw i64 %wide.trip.count166, -1
  %min.iters.check260 = icmp ult i32 %25, 9
  %n.vec263 = and i64 %30, -8
  %ind.end264 = or disjoint i64 %n.vec263, 1
  %cmp.n272 = icmp eq i64 %30, %n.vec263
  br label %.preheader92

.lr.ph104:                                        ; preds = %.lr.ph104.preheader295, %.lr.ph104
  %indvars.iv149 = phi i64 [ %indvars.iv.next150, %.lr.ph104 ], [ %indvars.iv149.ph, %.lr.ph104.preheader295 ]
  %31 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %.pre209, i64 %indvars.iv149
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %indvars.iv157, i64 %indvars.iv149
  store i32 %32, ptr %33, align 4, !tbaa !5
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next150, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph104, !llvm.loop !14

._crit_edge:                                      ; preds = %.lr.ph104, %middle.block229, %.preheader96
  %34 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %.pre209
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = icmp sgt i32 %35, 1
  br i1 %36, label %.lr.ph106, label %.loopexit95

.lr.ph106:                                        ; preds = %._crit_edge
  %wide.trip.count155 = zext nneg i32 %35 to i64
  %37 = add nsw i64 %wide.trip.count155, -1
  %min.iters.check = icmp ult i32 %35, 9
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph106
  %n.vec = and i64 %37, -8
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %38 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %indvars.iv157, i64 %offset.idx
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  %wide.load = load <4 x i32>, ptr %38, align 4, !tbaa !5
  %wide.load228 = load <4 x i32>, ptr %39, align 4, !tbaa !5
  %40 = add nsw <4 x i32> %wide.load, <i32 1, i32 1, i32 1, i32 1>
  %41 = add nsw <4 x i32> %wide.load228, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %40, ptr %38, align 4, !tbaa !5
  store <4 x i32> %41, ptr %39, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %42 = icmp eq i64 %index.next, %n.vec
  br i1 %42, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %37, %n.vec
  br i1 %cmp.n, label %.loopexit95, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph106
  %indvars.iv152.ph = phi i64 [ 1, %.lr.ph106 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %scalar.ph ], [ %indvars.iv152.ph, %scalar.ph.preheader ]
  %43 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %indvars.iv157, i64 %indvars.iv152
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %43, align 4, !tbaa !5
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %exitcond156.not = icmp eq i64 %indvars.iv.next153, %wide.trip.count155
  br i1 %exitcond156.not, label %.loopexit95, label %scalar.ph, !llvm.loop !16

.loopexit95:                                      ; preds = %scalar.ph, %middle.block, %._crit_edge
  %indvars.iv.next158 = add nuw nsw i64 %indvars.iv157, 1
  %exitcond161.not = icmp eq i64 %indvars.iv.next158, %wide.trip.count160
  br i1 %exitcond161.not, label %.preheader93, label %.preheader96, !llvm.loop !17

.preheader92:                                     ; preds = %.preheader92.lr.ph, %.loopexit
  %indvar = phi i64 [ 0, %.preheader92.lr.ph ], [ %indvar.next, %.loopexit ]
  %indvars.iv173 = phi i64 [ %26, %.preheader92.lr.ph ], [ %indvars.iv.next174, %.loopexit ]
  %.267.in120 = phi i32 [ %.lcssa99213, %.preheader92.lr.ph ], [ %89, %.loopexit ]
  %.pre208 = sext i32 %.267.in120 to i64
  br i1 %.not83110, label %._crit_edge113, label %.lr.ph112.preheader

.lr.ph112.preheader:                              ; preds = %.preheader92
  %46 = sext i32 %.267.in120 to i64
  %.neg = mul nsw i64 %46, -408
  %47 = mul i64 %indvar, -408
  %48 = add i64 %29, %47
  %49 = add i64 %.neg, %48
  %diff.check = icmp ult i64 %49, 32
  %or.cond = select i1 %min.iters.check260, i1 true, i1 %diff.check
  br i1 %or.cond, label %.lr.ph112.preheader294, label %vector.body266

.lr.ph112.preheader294:                           ; preds = %middle.block258, %.lr.ph112.preheader
  %indvars.iv163.ph = phi i64 [ 1, %.lr.ph112.preheader ], [ %ind.end264, %middle.block258 ]
  %50 = sub nsw i64 %wide.trip.count166, %indvars.iv163.ph
  %xtraiter = and i64 %50, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph112.prol.loopexit, label %.lr.ph112.prol

.lr.ph112.prol:                                   ; preds = %.lr.ph112.preheader294, %.lr.ph112.prol
  %indvars.iv163.prol = phi i64 [ %indvars.iv.next164.prol, %.lr.ph112.prol ], [ %indvars.iv163.ph, %.lr.ph112.preheader294 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph112.prol ], [ 0, %.lr.ph112.preheader294 ]
  %51 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %.pre208, i64 %indvars.iv163.prol
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %indvars.iv163.prol
  store i32 %52, ptr %53, align 4, !tbaa !5
  %indvars.iv.next164.prol = add nuw nsw i64 %indvars.iv163.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph112.prol.loopexit, label %.lr.ph112.prol, !llvm.loop !18

.lr.ph112.prol.loopexit:                          ; preds = %.lr.ph112.prol, %.lr.ph112.preheader294
  %indvars.iv163.unr = phi i64 [ %indvars.iv163.ph, %.lr.ph112.preheader294 ], [ %indvars.iv.next164.prol, %.lr.ph112.prol ]
  %54 = sub nsw i64 %indvars.iv163.ph, %wide.trip.count166
  %55 = icmp ugt i64 %54, -4
  br i1 %55, label %._crit_edge113, label %.lr.ph112

vector.body266:                                   ; preds = %.lr.ph112.preheader, %vector.body266
  %index267 = phi i64 [ %index.next271, %vector.body266 ], [ 0, %.lr.ph112.preheader ]
  %offset.idx268 = or disjoint i64 %index267, 1
  %56 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %.pre208, i64 %offset.idx268
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  %wide.load269 = load <4 x i32>, ptr %56, align 4, !tbaa !5
  %wide.load270 = load <4 x i32>, ptr %57, align 4, !tbaa !5
  %58 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %offset.idx268
  %59 = getelementptr inbounds i8, ptr %58, i64 16
  store <4 x i32> %wide.load269, ptr %58, align 4, !tbaa !5
  store <4 x i32> %wide.load270, ptr %59, align 4, !tbaa !5
  %index.next271 = add nuw i64 %index267, 8
  %60 = icmp eq i64 %index.next271, %n.vec263
  br i1 %60, label %middle.block258, label %vector.body266, !llvm.loop !20

middle.block258:                                  ; preds = %vector.body266
  br i1 %cmp.n272, label %._crit_edge113, label %.lr.ph112.preheader294

.preheader90:                                     ; preds = %.loopexit
  %.not76122 = icmp slt i32 %.lcssa99213, 1
  br i1 %.not76122, label %._crit_edge125, label %.lr.ph124.preheader

.lr.ph124.preheader:                              ; preds = %.preheader93, %.preheader90
  %sum.promoted = load i32, ptr @sum, align 4, !tbaa !5
  %61 = add i32 %.lcssa99213, 1
  %wide.trip.count179 = zext i32 %61 to i64
  %62 = add nsw i64 %wide.trip.count179, -1
  %xtraiter297 = and i64 %62, 1
  %63 = icmp eq i32 %61, 2
  br i1 %63, label %._crit_edge125.loopexit.unr-lcssa, label %.lr.ph124.preheader.new

.lr.ph124.preheader.new:                          ; preds = %.lr.ph124.preheader
  %unroll_iter = and i64 %62, -2
  br label %.lr.ph124

.lr.ph112:                                        ; preds = %.lr.ph112.prol.loopexit, %.lr.ph112
  %indvars.iv163 = phi i64 [ %indvars.iv.next164.3, %.lr.ph112 ], [ %indvars.iv163.unr, %.lr.ph112.prol.loopexit ]
  %64 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %.pre208, i64 %indvars.iv163
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %indvars.iv163
  store i32 %65, ptr %66, align 4, !tbaa !5
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %67 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %.pre208, i64 %indvars.iv.next164
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %indvars.iv.next164
  store i32 %68, ptr %69, align 4, !tbaa !5
  %indvars.iv.next164.1 = add nuw nsw i64 %indvars.iv163, 2
  %70 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %.pre208, i64 %indvars.iv.next164.1
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %indvars.iv.next164.1
  store i32 %71, ptr %72, align 4, !tbaa !5
  %indvars.iv.next164.2 = add nuw nsw i64 %indvars.iv163, 3
  %73 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %.pre208, i64 %indvars.iv.next164.2
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %indvars.iv.next164.2
  store i32 %74, ptr %75, align 4, !tbaa !5
  %indvars.iv.next164.3 = add nuw nsw i64 %indvars.iv163, 4
  %exitcond167.not.3 = icmp eq i64 %indvars.iv.next164.3, %wide.trip.count166
  br i1 %exitcond167.not.3, label %._crit_edge113, label %.lr.ph112, !llvm.loop !21

._crit_edge113:                                   ; preds = %.lr.ph112.prol.loopexit, %.lr.ph112, %middle.block258, %.preheader92
  %76 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %.pre208
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %.not84 = icmp ne i32 %77, -1
  %.not85.not115 = icmp slt i32 %77, %24
  %or.cond143 = and i1 %.not84, %.not85.not115
  br i1 %or.cond143, label %.lr.ph117, label %.loopexit

.lr.ph117:                                        ; preds = %._crit_edge113
  %78 = sext i32 %77 to i64
  %79 = sub nsw i64 %wide.trip.count171, %78
  %min.iters.check245 = icmp ult i64 %79, 8
  br i1 %min.iters.check245, label %scalar.ph244.preheader, label %vector.ph246

vector.ph246:                                     ; preds = %.lr.ph117
  %n.vec248 = and i64 %79, -8
  %ind.end249 = add nsw i64 %n.vec248, %78
  br label %vector.body251

vector.body251:                                   ; preds = %vector.body251, %vector.ph246
  %index252 = phi i64 [ 0, %vector.ph246 ], [ %index.next256, %vector.body251 ]
  %offset.idx253 = add i64 %index252, %78
  %80 = add nsw i64 %offset.idx253, 1
  %81 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %80
  %82 = getelementptr inbounds i8, ptr %81, i64 16
  %wide.load254 = load <4 x i32>, ptr %81, align 4, !tbaa !5
  %wide.load255 = load <4 x i32>, ptr %82, align 4, !tbaa !5
  %83 = add nsw <4 x i32> %wide.load254, <i32 1, i32 1, i32 1, i32 1>
  %84 = add nsw <4 x i32> %wide.load255, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %83, ptr %81, align 4, !tbaa !5
  store <4 x i32> %84, ptr %82, align 4, !tbaa !5
  %index.next256 = add nuw i64 %index252, 8
  %85 = icmp eq i64 %index.next256, %n.vec248
  br i1 %85, label %middle.block243, label %vector.body251, !llvm.loop !22

middle.block243:                                  ; preds = %vector.body251
  %cmp.n257 = icmp eq i64 %79, %n.vec248
  br i1 %cmp.n257, label %.loopexit, label %scalar.ph244.preheader

scalar.ph244.preheader:                           ; preds = %middle.block243, %.lr.ph117
  %indvars.iv168.ph = phi i64 [ %78, %.lr.ph117 ], [ %ind.end249, %middle.block243 ]
  br label %scalar.ph244

scalar.ph244:                                     ; preds = %scalar.ph244.preheader, %scalar.ph244
  %indvars.iv168 = phi i64 [ %indvars.iv.next169, %scalar.ph244 ], [ %indvars.iv168.ph, %scalar.ph244.preheader ]
  %indvars.iv.next169 = add nsw i64 %indvars.iv168, 1
  %86 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %indvars.iv173, i64 %indvars.iv.next169
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %86, align 4, !tbaa !5
  %exitcond172.not = icmp eq i64 %indvars.iv.next169, %wide.trip.count171
  br i1 %exitcond172.not, label %.loopexit, label %scalar.ph244, !llvm.loop !23

.loopexit:                                        ; preds = %scalar.ph244, %middle.block243, %._crit_edge113
  %indvars.iv.next174 = add nsw i64 %indvars.iv173, -1
  %.not75 = icmp eq i64 %indvars.iv.next174, 0
  %89 = trunc i64 %indvars.iv173 to i32
  %indvar.next = add i64 %indvar, 1
  br i1 %.not75, label %.preheader90, label %.preheader92, !llvm.loop !24

.lr.ph124:                                        ; preds = %106, %.lr.ph124.preheader.new
  %indvars.iv176 = phi i64 [ 1, %.lr.ph124.preheader.new ], [ %indvars.iv.next177.1, %106 ]
  %90 = phi i32 [ %sum.promoted, %.lr.ph124.preheader.new ], [ %107, %106 ]
  %niter = phi i64 [ 0, %.lr.ph124.preheader.new ], [ %niter.next.1, %106 ]
  %91 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %indvars.iv176
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %.not82 = icmp eq i32 %92, -1
  br i1 %.not82, label %.lr.ph124.1, label %93

93:                                               ; preds = %.lr.ph124
  %94 = sext i32 %92 to i64
  %95 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %indvars.iv176, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = add nsw i32 %90, %96
  store i32 %97, ptr @sum, align 4, !tbaa !5
  br label %.lr.ph124.1

.lr.ph124.1:                                      ; preds = %.lr.ph124, %93
  %98 = phi i32 [ %90, %.lr.ph124 ], [ %97, %93 ]
  %indvars.iv.next177 = add nuw nsw i64 %indvars.iv176, 1
  %99 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %indvars.iv.next177
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %.not82.1 = icmp eq i32 %100, -1
  br i1 %.not82.1, label %106, label %101

101:                                              ; preds = %.lr.ph124.1
  %102 = sext i32 %100 to i64
  %103 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %indvars.iv.next177, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = add nsw i32 %98, %104
  store i32 %105, ptr @sum, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %101, %.lr.ph124.1
  %107 = phi i32 [ %98, %.lr.ph124.1 ], [ %105, %101 ]
  %indvars.iv.next177.1 = add nuw nsw i64 %indvars.iv176, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge125.loopexit.unr-lcssa, label %.lr.ph124, !llvm.loop !25

._crit_edge125.loopexit.unr-lcssa:                ; preds = %106, %.lr.ph124.preheader
  %indvars.iv176.unr = phi i64 [ 1, %.lr.ph124.preheader ], [ %indvars.iv.next177.1, %106 ]
  %.unr = phi i32 [ %sum.promoted, %.lr.ph124.preheader ], [ %107, %106 ]
  %lcmp.mod298.not = icmp eq i64 %xtraiter297, 0
  br i1 %lcmp.mod298.not, label %._crit_edge125, label %.lr.ph124.epil

.lr.ph124.epil:                                   ; preds = %._crit_edge125.loopexit.unr-lcssa
  %108 = getelementptr inbounds [10003 x i32], ptr @num, i64 0, i64 %indvars.iv176.unr
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %.not82.epil = icmp eq i32 %109, -1
  br i1 %.not82.epil, label %._crit_edge125, label %110

110:                                              ; preds = %.lr.ph124.epil
  %111 = sext i32 %109 to i64
  %112 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %indvars.iv176.unr, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = add nsw i32 %.unr, %113
  store i32 %114, ptr @sum, align 4, !tbaa !5
  br label %._crit_edge125

._crit_edge125:                                   ; preds = %._crit_edge125.loopexit.unr-lcssa, %110, %.lr.ph124.epil, %.preheader90
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4121236) @f, i8 127, i64 4121236, i1 false)
  %115 = load i32, ptr @k, align 4, !tbaa !5
  %.not77126 = icmp slt i32 %115, 1
  br i1 %.not77126, label %._crit_edge142.thread, label %.lr.ph129

.lr.ph129:                                        ; preds = %._crit_edge125
  %116 = load i32, ptr getelementptr inbounds (i8, ptr @blank, i64 4), align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = add nuw i32 %115, 1
  %wide.trip.count184 = zext i32 %118 to i64
  %119 = zext nneg i32 %115 to i64
  %min.iters.check275 = icmp ult i32 %115, 8
  br i1 %min.iters.check275, label %scalar.ph274.preheader, label %vector.ph276

scalar.ph274.preheader:                           ; preds = %middle.block273, %.lr.ph129
  %indvars.iv181.ph = phi i64 [ 1, %.lr.ph129 ], [ %ind.end279, %middle.block273 ]
  br label %scalar.ph274

vector.ph276:                                     ; preds = %.lr.ph129
  %n.vec278 = and i64 %119, 2147483640
  %ind.end279 = or disjoint i64 %n.vec278, 1
  br label %vector.body281

vector.body281:                                   ; preds = %vector.body281, %vector.ph276
  %index282 = phi i64 [ 0, %vector.ph276 ], [ %index.next288, %vector.body281 ]
  %offset.idx283 = or disjoint i64 %index282, 1
  %120 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %117, i64 %offset.idx283
  %121 = getelementptr inbounds i8, ptr %120, i64 16
  %wide.load284 = load <4 x i32>, ptr %120, align 4, !tbaa !5
  %wide.load285 = load <4 x i32>, ptr %121, align 4, !tbaa !5
  %122 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %117, i64 %offset.idx283
  %123 = getelementptr inbounds i8, ptr %122, i64 16
  %wide.load286 = load <4 x i32>, ptr %122, align 4, !tbaa !5
  %wide.load287 = load <4 x i32>, ptr %123, align 4, !tbaa !5
  %124 = add nsw <4 x i32> %wide.load286, %wide.load284
  %125 = add nsw <4 x i32> %wide.load287, %wide.load285
  %126 = getelementptr inbounds [103 x i32], ptr getelementptr inbounds (i8, ptr @f, i64 412), i64 0, i64 %offset.idx283
  %127 = getelementptr inbounds i8, ptr %126, i64 16
  store <4 x i32> %124, ptr %126, align 16, !tbaa !5
  store <4 x i32> %125, ptr %127, align 16, !tbaa !5
  %index.next288 = add nuw i64 %index282, 8
  %128 = icmp eq i64 %index.next288, %n.vec278
  br i1 %128, label %middle.block273, label %vector.body281, !llvm.loop !26

middle.block273:                                  ; preds = %vector.body281
  %cmp.n289 = icmp eq i64 %n.vec278, %119
  br i1 %cmp.n289, label %.preheader89, label %scalar.ph274.preheader

.preheader89:                                     ; preds = %scalar.ph274, %middle.block273
  %129 = load i32, ptr @cnt, align 4, !tbaa !5
  %.not78134 = icmp slt i32 %129, 2
  br i1 %.not78134, label %._crit_edge136, label %.preheader88.lr.ph

.preheader88.lr.ph:                               ; preds = %.preheader89
  br i1 %.not77126, label %._crit_edge142.thread, label %.preheader88

scalar.ph274:                                     ; preds = %scalar.ph274.preheader, %scalar.ph274
  %indvars.iv181 = phi i64 [ %indvars.iv.next182, %scalar.ph274 ], [ %indvars.iv181.ph, %scalar.ph274.preheader ]
  %130 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %117, i64 %indvars.iv181
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %117, i64 %indvars.iv181
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = add nsw i32 %133, %131
  %135 = getelementptr inbounds [103 x i32], ptr getelementptr inbounds (i8, ptr @f, i64 412), i64 0, i64 %indvars.iv181
  store i32 %134, ptr %135, align 4, !tbaa !5
  %indvars.iv.next182 = add nuw nsw i64 %indvars.iv181, 1
  %exitcond185.not = icmp eq i64 %indvars.iv.next182, %wide.trip.count184
  br i1 %exitcond185.not, label %.preheader89, label %scalar.ph274, !llvm.loop !27

.preheader88:                                     ; preds = %.preheader88.lr.ph, %._crit_edge133
  %136 = phi i32 [ %157, %._crit_edge133 ], [ %129, %.preheader88.lr.ph ]
  %137 = phi i32 [ %158, %._crit_edge133 ], [ %115, %.preheader88.lr.ph ]
  %indvars.iv200 = phi i64 [ %indvars.iv.next201, %._crit_edge133 ], [ 2, %.preheader88.lr.ph ]
  %.not80131 = icmp slt i32 %137, 1
  br i1 %.not80131, label %._crit_edge133, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader88
  %138 = add nsw i64 %indvars.iv200, -1
  %139 = getelementptr inbounds [10003 x i32], ptr @blank, i64 0, i64 %indvars.iv200
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %154
  %indvars.iv195 = phi i64 [ 1, %.preheader.lr.ph ], [ %indvars.iv.next196, %154 ]
  %indvars.iv193 = phi i64 [ 2, %.preheader.lr.ph ], [ %indvars.iv.next194, %154 ]
  %140 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %indvars.iv200, i64 %indvars.iv195
  br label %141

141:                                              ; preds = %.preheader, %141
  %indvars.iv186 = phi i64 [ 1, %.preheader ], [ %indvars.iv.next187, %141 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  %142 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %138, i64 %indvars.iv186
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = load i32, ptr %139, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [10003 x [102 x i32]], ptr @more, i64 0, i64 %145, i64 %indvars.iv195
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = add nsw i32 %147, %143
  %149 = getelementptr inbounds [10003 x [102 x i32]], ptr @small, i64 0, i64 %145, i64 %indvars.iv195
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = add nsw i32 %148, %150
  store i32 %151, ptr %1, align 4, !tbaa !5
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %140, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %153 = load i32, ptr %152, align 4, !tbaa !5
  store i32 %153, ptr %140, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  %indvars.iv.next187 = add nuw nsw i64 %indvars.iv186, 1
  %exitcond192.not = icmp eq i64 %indvars.iv.next187, %indvars.iv193
  br i1 %exitcond192.not, label %154, label %141, !llvm.loop !28

154:                                              ; preds = %141
  %indvars.iv.next196 = add nuw nsw i64 %indvars.iv195, 1
  %155 = load i32, ptr @k, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %.not80.not = icmp slt i64 %indvars.iv195, %156
  %indvars.iv.next194 = add nuw nsw i64 %indvars.iv193, 1
  br i1 %.not80.not, label %.preheader, label %._crit_edge133.loopexit, !llvm.loop !29

._crit_edge133.loopexit:                          ; preds = %154
  %.pre = load i32, ptr @cnt, align 4, !tbaa !5
  br label %._crit_edge133

._crit_edge133:                                   ; preds = %._crit_edge133.loopexit, %.preheader88
  %157 = phi i32 [ %.pre, %._crit_edge133.loopexit ], [ %136, %.preheader88 ]
  %158 = phi i32 [ %155, %._crit_edge133.loopexit ], [ %137, %.preheader88 ]
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %159 = sext i32 %157 to i64
  %.not78.not = icmp slt i64 %indvars.iv200, %159
  br i1 %.not78.not, label %.preheader88, label %._crit_edge136, !llvm.loop !30

._crit_edge136:                                   ; preds = %._crit_edge133, %.preheader89
  %160 = phi i32 [ %115, %.preheader89 ], [ %158, %._crit_edge133 ]
  %.lcssa = phi i32 [ %129, %.preheader89 ], [ %157, %._crit_edge133 ]
  store i32 2139062143, ptr @ans, align 4, !tbaa !5
  %.not79138 = icmp slt i32 %160, 1
  br i1 %.not79138, label %._crit_edge142.thread, label %.lr.ph141

.lr.ph141:                                        ; preds = %._crit_edge136
  %161 = sext i32 %.lcssa to i64
  %162 = zext nneg i32 %160 to i64
  %xtraiter299 = and i64 %162, 1
  %163 = icmp eq i32 %160, 1
  br i1 %163, label %._crit_edge142.unr-lcssa, label %.lr.ph141.new

.lr.ph141.new:                                    ; preds = %.lr.ph141
  %unroll_iter303 = and i64 %162, 2147483646
  br label %164

164:                                              ; preds = %176, %.lr.ph141.new
  %indvars.iv203 = phi i64 [ 1, %.lr.ph141.new ], [ %indvars.iv.next204.1, %176 ]
  %165 = phi i32 [ 2139062143, %.lr.ph141.new ], [ %177, %176 ]
  %niter304 = phi i64 [ 0, %.lr.ph141.new ], [ %niter304.next.1, %176 ]
  %166 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %161, i64 %indvars.iv203
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = icmp sgt i32 %165, %167
  br i1 %168, label %169, label %170

169:                                              ; preds = %164
  store i32 %167, ptr @ans, align 4, !tbaa !5
  br label %170

170:                                              ; preds = %164, %169
  %171 = phi i32 [ %165, %164 ], [ %167, %169 ]
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %172 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %161, i64 %indvars.iv.next204
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = icmp sgt i32 %171, %173
  br i1 %174, label %175, label %176

175:                                              ; preds = %170
  store i32 %173, ptr @ans, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %175, %170
  %177 = phi i32 [ %171, %170 ], [ %173, %175 ]
  %indvars.iv.next204.1 = add nuw nsw i64 %indvars.iv203, 2
  %niter304.next.1 = add i64 %niter304, 2
  %niter304.ncmp.1 = icmp eq i64 %niter304.next.1, %unroll_iter303
  br i1 %niter304.ncmp.1, label %._crit_edge142.unr-lcssa, label %164, !llvm.loop !32

._crit_edge142.unr-lcssa:                         ; preds = %176, %.lr.ph141
  %.lcssa290.ph = phi i32 [ poison, %.lr.ph141 ], [ %177, %176 ]
  %indvars.iv203.unr = phi i64 [ 1, %.lr.ph141 ], [ %indvars.iv.next204.1, %176 ]
  %.unr300 = phi i32 [ 2139062143, %.lr.ph141 ], [ %177, %176 ]
  %lcmp.mod301.not = icmp eq i64 %xtraiter299, 0
  br i1 %lcmp.mod301.not, label %._crit_edge142, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge142.unr-lcssa
  %178 = getelementptr inbounds [10003 x [103 x i32]], ptr @f, i64 0, i64 %161, i64 %indvars.iv203.unr
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = icmp sgt i32 %.unr300, %179
  br i1 %180, label %181, label %._crit_edge142

181:                                              ; preds = %.epil.preheader
  store i32 %179, ptr @ans, align 4, !tbaa !5
  br label %._crit_edge142

._crit_edge142:                                   ; preds = %.epil.preheader, %181, %._crit_edge142.unr-lcssa
  %.lcssa290 = phi i32 [ %.lcssa290.ph, %._crit_edge142.unr-lcssa ], [ %.unr300, %.epil.preheader ], [ %179, %181 ]
  %182 = icmp sgt i32 %.lcssa290, 100000000
  br i1 %182, label %._crit_edge142.thread, label %183

._crit_edge142.thread:                            ; preds = %.preheader88.lr.ph, %._crit_edge125, %._crit_edge136, %._crit_edge142
  store i32 0, ptr @ans, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %._crit_edge142.thread, %._crit_edge142
  %184 = phi i32 [ 0, %._crit_edge142.thread ], [ %.lcssa290, %._crit_edge142 ]
  %185 = load i32, ptr @sum, align 4, !tbaa !5
  %186 = add nsw i32 %185, %184
  %187 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %186)
  ret i32 0
}

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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

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

attributes #0 = { mustprogress norecurse 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 #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 nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = distinct !{!14, !10, !13, !12}
!15 = distinct !{!15, !10, !12, !13}
!16 = distinct !{!16, !10, !13, !12}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.unroll.disable"}
!20 = distinct !{!20, !10, !12, !13}
!21 = distinct !{!21, !10, !12}
!22 = distinct !{!22, !10, !12, !13}
!23 = distinct !{!23, !10, !13, !12}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10, !12, !13}
!27 = distinct !{!27, !10, !13, !12}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10, !31}
!31 = !{!"llvm.loop.unswitch.partial.disable"}
!32 = distinct !{!32, !10}


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