; LLVM IR from tangjz/acm-icpc :: hdu (6082)

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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@a = external dso_local global [100001 x i32], align 16
@b = external dso_local global [100001 x i32], align 16
@c = external dso_local global [1001 x i32], align 16
@w = external dso_local global [1001 x i32], align 16
@sz = external dso_local global [11 x i32], align 16
@f = external dso_local global [11 x [1001 x i32]], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 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
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %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 i64, align 8
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  br label %16

16:                                               ; preds = %266, %0
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  %18 = icmp eq i32 %17, 2
  br i1 %18, label %19, label %269

19:                                               ; preds = %16
  call void @llvm.memset.p0.i64(ptr align 16 @sz, i8 0, i64 44, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %20

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

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

25:                                               ; preds = %20
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds i32, ptr @a, i64 %27
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds i32, ptr @b, i64 %30
  %32 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %28, ptr noundef %31)
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [100001 x i32], ptr @b, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [11 x i32], ptr @sz, i64 0, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = icmp slt i32 %39, %43
  br i1 %44, label %45, label %56

45:                                               ; preds = %25
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [100001 x i32], ptr @a, 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 [100001 x i32], ptr @b, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [11 x i32], ptr @sz, i64 0, i64 %54
  store i32 %49, ptr %55, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %45, %25
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %2, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %2, align 4, !tbaa !5
  br label %20, !llvm.loop !9

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

61:                                               ; preds = %74, %60
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %63 = load i32, ptr @m, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %77

66:                                               ; preds = %61
  %67 = load i32, ptr %3, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds i32, ptr @w, i64 %68
  %70 = load i32, ptr %3, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds i32, ptr @c, i64 %71
  %73 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %69, ptr noundef %72)
  br label %74

74:                                               ; preds = %66
  %75 = load i32, ptr %3, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %3, align 4, !tbaa !5
  br label %61, !llvm.loop !11

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

78:                                               ; preds = %219, %77
  %79 = load i32, ptr %4, align 4, !tbaa !5
  %80 = icmp slt i32 %79, 11
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  store i32 10, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %222

82:                                               ; preds = %78
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [11 x i32], ptr @sz, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %89, label %88

88:                                               ; preds = %82
  br label %219

89:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %90 = load i32, ptr %4, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [11 x [1001 x i32]], ptr @f, i64 0, i64 %91
  %93 = getelementptr inbounds [1001 x i32], ptr %92, i64 0, i64 0
  store ptr %93, ptr %6, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %94 = load i32, ptr %4, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [11 x i32], ptr @sz, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  store i32 %97, ptr %7, align 4, !tbaa !5
  %98 = load ptr, ptr %6, align 8, !tbaa !12
  %99 = getelementptr inbounds i32, ptr %98, i64 1
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [11 x i32], ptr @sz, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = mul i64 %104, 4
  call void @llvm.memset.p0.i64(ptr align 4 %99, i8 63, i64 %105, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %215, %89
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = load i32, ptr @m, align 4, !tbaa !5
  %109 = icmp slt i32 %107, %108
  br i1 %109, label %111, label %110

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

111:                                              ; preds = %106
  %112 = load i32, ptr %8, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [1001 x i32], ptr @c, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = load i32, ptr %4, align 4, !tbaa !5
  %117 = icmp sle i32 %115, %116
  br i1 %117, label %118, label %119

118:                                              ; preds = %111
  br label %215

119:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %120 = load i32, ptr %8, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [1001 x i32], ptr @c, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = load i32, ptr %4, align 4, !tbaa !5
  %125 = sub nsw i32 %123, %124
  store i32 %125, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %177, %119
  %127 = load i32, ptr %10, align 4, !tbaa !5
  %128 = load i32, ptr %7, align 4, !tbaa !5
  %129 = icmp sle i32 %127, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %126
  store i32 16, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %180

131:                                              ; preds = %126
  %132 = load ptr, ptr %6, align 8, !tbaa !12
  %133 = load i32, ptr %10, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds i32, ptr %132, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = icmp eq i32 %136, 1061109567
  br i1 %137, label %138, label %139

138:                                              ; preds = %131
  br label %177

139:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %140 = load i32, ptr %10, align 4, !tbaa !5
  %141 = load i32, ptr %9, align 4, !tbaa !5
  %142 = add nsw i32 %140, %141
  %143 = load i32, ptr %7, align 4, !tbaa !5
  %144 = icmp sle i32 %142, %143
  br i1 %144, label %145, label %149

145:                                              ; preds = %139
  %146 = load i32, ptr %10, align 4, !tbaa !5
  %147 = load i32, ptr %9, align 4, !tbaa !5
  %148 = add nsw i32 %146, %147
  br label %151

149:                                              ; preds = %139
  %150 = load i32, ptr %7, align 4, !tbaa !5
  br label %151

151:                                              ; preds = %149, %145
  %152 = phi i32 [ %148, %145 ], [ %150, %149 ]
  store i32 %152, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %153 = load ptr, ptr %6, align 8, !tbaa !12
  %154 = load i32, ptr %10, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds i32, ptr %153, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = load i32, ptr %8, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [1001 x i32], ptr @w, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = add nsw i32 %157, %161
  store i32 %162, ptr %12, align 4, !tbaa !5
  %163 = load i32, ptr %12, align 4, !tbaa !5
  %164 = load ptr, ptr %6, align 8, !tbaa !12
  %165 = load i32, ptr %11, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds i32, ptr %164, i64 %166
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = icmp slt i32 %163, %168
  br i1 %169, label %170, label %176

170:                                              ; preds = %151
  %171 = load i32, ptr %12, align 4, !tbaa !5
  %172 = load ptr, ptr %6, align 8, !tbaa !12
  %173 = load i32, ptr %11, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds i32, ptr %172, i64 %174
  store i32 %171, ptr %175, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %170, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %177

177:                                              ; preds = %176, %138
  %178 = load i32, ptr %10, align 4, !tbaa !5
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %10, align 4, !tbaa !5
  br label %126, !llvm.loop !14

180:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %181 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %181, ptr %13, align 4, !tbaa !5
  br label %182

182:                                              ; preds = %211, %180
  %183 = load i32, ptr %13, align 4, !tbaa !5
  %184 = icmp sgt i32 %183, 0
  br i1 %184, label %186, label %185

185:                                              ; preds = %182
  store i32 19, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %214

186:                                              ; preds = %182
  %187 = load ptr, ptr %6, align 8, !tbaa !12
  %188 = load i32, ptr %13, align 4, !tbaa !5
  %189 = sub nsw i32 %188, 1
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds i32, ptr %187, i64 %190
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = load ptr, ptr %6, align 8, !tbaa !12
  %194 = load i32, ptr %13, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds i32, ptr %193, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !5
  %198 = icmp sgt i32 %192, %197
  br i1 %198, label %199, label %210

199:                                              ; preds = %186
  %200 = load ptr, ptr %6, align 8, !tbaa !12
  %201 = load i32, ptr %13, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds i32, ptr %200, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = load ptr, ptr %6, align 8, !tbaa !12
  %206 = load i32, ptr %13, align 4, !tbaa !5
  %207 = sub nsw i32 %206, 1
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds i32, ptr %205, i64 %208
  store i32 %204, ptr %209, align 4, !tbaa !5
  br label %210

210:                                              ; preds = %199, %186
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr %13, align 4, !tbaa !5
  %213 = add nsw i32 %212, -1
  store i32 %213, ptr %13, align 4, !tbaa !5
  br label %182, !llvm.loop !15

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

215:                                              ; preds = %214, %118
  %216 = load i32, ptr %8, align 4, !tbaa !5
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %8, align 4, !tbaa !5
  br label %106, !llvm.loop !16

218:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %219

219:                                              ; preds = %218, %88
  %220 = load i32, ptr %4, align 4, !tbaa !5
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %4, align 4, !tbaa !5
  br label %78, !llvm.loop !17

222:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i64 0, ptr %14, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %223

223:                                              ; preds = %262, %222
  %224 = load i32, ptr %15, align 4, !tbaa !5
  %225 = load i32, ptr @n, align 4, !tbaa !5
  %226 = icmp slt i32 %224, %225
  br i1 %226, label %228, label %227

227:                                              ; preds = %223
  store i32 22, ptr %5, align 4
  br label %265

228:                                              ; preds = %223
  %229 = load i32, ptr %15, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds [100001 x i32], ptr @b, i64 0, i64 %230
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [11 x [1001 x i32]], ptr @f, i64 0, i64 %233
  %235 = load i32, ptr %15, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %236
  %238 = load i32, ptr %237, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [1001 x i32], ptr %234, i64 0, i64 %239
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = icmp slt i32 %241, 1061109567
  br i1 %242, label %243, label %260

243:                                              ; preds = %228
  %244 = load i32, ptr %15, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [100001 x i32], ptr @b, i64 0, i64 %245
  %247 = load i32, ptr %246, align 4, !tbaa !5
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [11 x [1001 x i32]], ptr @f, i64 0, i64 %248
  %250 = load i32, ptr %15, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %251
  %253 = load i32, ptr %252, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [1001 x i32], ptr %249, i64 0, i64 %254
  %256 = load i32, ptr %255, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = load i64, ptr %14, align 8, !tbaa !18
  %259 = add nsw i64 %258, %257
  store i64 %259, ptr %14, align 8, !tbaa !18
  br label %261

260:                                              ; preds = %228
  store i64 -1, ptr %14, align 8, !tbaa !18
  store i32 22, ptr %5, align 4
  br label %265

261:                                              ; preds = %243
  br label %262

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

265:                                              ; preds = %260, %227
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %266

266:                                              ; preds = %265
  %267 = load i64, ptr %14, align 8, !tbaa !18
  %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %267)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %16, !llvm.loop !21

269:                                              ; preds = %16
  ret i32 0
}

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

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

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

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

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

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 nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = !{!19, !19, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !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"

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@a = external dso_local global [100001 x i32], align 16
@b = external dso_local global [100001 x i32], align 16
@c = external dso_local global [1001 x i32], align 16
@w = external dso_local global [1001 x i32], align 16
@sz = external dso_local local_unnamed_addr global [11 x i32], align 16
@f = external dso_local local_unnamed_addr global [11 x [1001 x i32]], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %2 = icmp eq i32 %1, 2
  br i1 %2, label %.lr.ph115, label %._crit_edge116

.lr.ph115:                                        ; preds = %0, %._crit_edge
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) @sz, i8 0, i64 44, i1 false)
  %3 = load i32, ptr @n, align 4, !tbaa !5
  %4 = icmp sgt i32 %3, 0
  br i1 %4, label %.lr.ph, label %.preheader83

.preheader83:                                     ; preds = %17, %.lr.ph115
  %5 = load i32, ptr @m, align 4, !tbaa !5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph86, label %.preheader82

.lr.ph:                                           ; preds = %.lr.ph115, %17
  %indvars.iv = phi i64 [ %indvars.iv.next, %17 ], [ 0, %.lr.ph115 ]
  %7 = getelementptr inbounds i32, ptr @a, i64 %indvars.iv
  %8 = getelementptr inbounds i32, ptr @b, i64 %indvars.iv
  %9 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %7, ptr noundef nonnull %8)
  %10 = load i32, ptr %8, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [11 x i32], ptr @sz, i64 0, i64 %11
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = load i32, ptr %7, align 4, !tbaa !5
  %15 = icmp slt i32 %13, %14
  br i1 %15, label %16, label %17

16:                                               ; preds = %.lr.ph
  store i32 %14, ptr %12, align 4, !tbaa !5
  br label %17

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

.preheader82:                                     ; preds = %.lr.ph86, %.preheader83
  %.lcssa = phi i32 [ %5, %.preheader83 ], [ %79, %.lr.ph86 ]
  %.lcssa.fr = freeze i32 %.lcssa
  %21 = icmp sgt i32 %.lcssa.fr, 0
  br i1 %21, label %.preheader82.split.us.preheader, label %.preheader82.split.preheader

.preheader82.split.preheader:                     ; preds = %.preheader82
  %22 = load i32, ptr @sz, align 16, !tbaa !5
  %.not = icmp eq i32 %22, 0
  br i1 %.not, label %.preheader82.split.1, label %.loopexit80

.preheader82.split.us.preheader:                  ; preds = %.preheader82
  %wide.trip.count137 = zext nneg i32 %.lcssa.fr to i64
  br label %.preheader82.split.us

.preheader82.split.us:                            ; preds = %.preheader82.split.us.preheader, %..loopexit80_crit_edge.us
  %indvars.iv147 = phi i64 [ 0, %.preheader82.split.us.preheader ], [ %indvars.iv.next148, %..loopexit80_crit_edge.us ]
  %23 = getelementptr inbounds [11 x i32], ptr @sz, i64 0, i64 %indvars.iv147
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %.fr = freeze i32 %24
  %.not.us = icmp eq i32 %.fr, 0
  br i1 %.not.us, label %..loopexit80_crit_edge.us, label %.lr.ph93.us

.lr.ph93.us:                                      ; preds = %.preheader82.split.us
  %25 = getelementptr inbounds [11 x [1001 x i32]], ptr @f, i64 0, i64 %indvars.iv147
  %26 = getelementptr inbounds i8, ptr %25, i64 4
  %27 = sext i32 %.fr to i64
  %28 = shl nsw i64 %27, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %26, i8 63, i64 %28, i1 false)
  %.not7887.us = icmp slt i32 %.fr, 0
  %29 = icmp sgt i32 %.fr, 0
  br i1 %.not7887.us, label %..loopexit80_crit_edge.us, label %.lr.ph93.split.us101.preheader

.lr.ph93.split.us101.preheader:                   ; preds = %.lr.ph93.us
  %30 = add nuw i32 %.fr, 1
  %31 = zext nneg i32 %.fr to i64
  %32 = trunc nuw nsw i64 %indvars.iv147 to i32
  %wide.trip.count = zext i32 %30 to i64
  %xtraiter = and i64 %31, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %33 = getelementptr i32, ptr %25, i64 %31
  %34 = getelementptr i8, ptr %33, i64 -4
  %indvars.iv.next132.prol = add nsw i64 %31, -1
  %35 = icmp eq i32 %.fr, 1
  br label %.lr.ph93.split.us101

.lr.ph93.split.us101:                             ; preds = %.lr.ph93.split.us101.preheader, %.loopexit.us
  %indvars.iv134 = phi i64 [ 0, %.lr.ph93.split.us101.preheader ], [ %indvars.iv.next135, %.loopexit.us ]
  %36 = getelementptr inbounds [1001 x i32], ptr @c, i64 0, i64 %indvars.iv134
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %.not77.us99 = icmp slt i64 %indvars.iv147, %38
  br i1 %.not77.us99, label %.lr.ph89.us, label %.loopexit.us

.lr.ph89.us:                                      ; preds = %.lr.ph93.split.us101
  %39 = sub i32 %37, %32
  %40 = getelementptr inbounds [1001 x i32], ptr @w, i64 0, i64 %indvars.iv134
  br label %41

41:                                               ; preds = %56, %.lr.ph89.us
  %indvars.iv128 = phi i64 [ %indvars.iv.next129, %56 ], [ 0, %.lr.ph89.us ]
  %42 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv128
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = icmp eq i32 %43, 1061109567
  br i1 %44, label %56, label %45

45:                                               ; preds = %41
  %46 = trunc i64 %indvars.iv128 to i32
  %47 = add i32 %39, %46
  %48 = tail call i32 @llvm.smin.i32(i32 %47, i32 %.fr)
  %49 = load i32, ptr %40, align 4, !tbaa !5
  %50 = add nsw i32 %49, %43
  %51 = sext i32 %48 to i64
  %52 = getelementptr inbounds i32, ptr %25, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = icmp slt i32 %50, %53
  br i1 %54, label %55, label %56

55:                                               ; preds = %45
  store i32 %50, ptr %52, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %55, %45, %41
  %indvars.iv.next129 = add nuw nsw i64 %indvars.iv128, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next129, %wide.trip.count
  br i1 %exitcond.not, label %..preheader_crit_edge.us, label %41, !llvm.loop !11

.loopexit.us:                                     ; preds = %.lr.ph91.us.prol.loopexit, %70, %..preheader_crit_edge.us, %.lr.ph93.split.us101
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %exitcond138.not = icmp eq i64 %indvars.iv.next135, %wide.trip.count137
  br i1 %exitcond138.not, label %..loopexit80_crit_edge.us, label %.lr.ph93.split.us101, !llvm.loop !12

.lr.ph91.us:                                      ; preds = %.lr.ph91.us.prol.loopexit, %70
  %indvars.iv131 = phi i64 [ %indvars.iv.next132.1, %70 ], [ %indvars.iv131.unr, %.lr.ph91.us.prol.loopexit ]
  %57 = getelementptr i32, ptr %25, i64 %indvars.iv131
  %58 = getelementptr i8, ptr %57, i64 -4
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = load i32, ptr %57, align 4, !tbaa !5
  %61 = icmp sgt i32 %59, %60
  br i1 %61, label %62, label %.lr.ph91.us.1

62:                                               ; preds = %.lr.ph91.us
  store i32 %60, ptr %58, align 4, !tbaa !5
  br label %.lr.ph91.us.1

.lr.ph91.us.1:                                    ; preds = %62, %.lr.ph91.us
  %63 = getelementptr i32, ptr %25, i64 %indvars.iv131
  %64 = getelementptr i8, ptr %63, i64 -4
  %65 = getelementptr i8, ptr %63, i64 -8
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = load i32, ptr %64, align 4, !tbaa !5
  %68 = icmp sgt i32 %66, %67
  br i1 %68, label %69, label %70

69:                                               ; preds = %.lr.ph91.us.1
  store i32 %67, ptr %65, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %69, %.lr.ph91.us.1
  %indvars.iv.next132.1 = add nsw i64 %indvars.iv131, -2
  %71 = icmp sgt i64 %indvars.iv131, 2
  br i1 %71, label %.lr.ph91.us, label %.loopexit.us, !llvm.loop !13

..loopexit80_crit_edge.us:                        ; preds = %.loopexit.us, %.lr.ph93.us, %.preheader82.split.us
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %exitcond150.not = icmp eq i64 %indvars.iv.next148, 11
  br i1 %exitcond150.not, label %.preheader81, label %.preheader82.split.us, !llvm.loop !14

..preheader_crit_edge.us:                         ; preds = %56
  br i1 %29, label %.lr.ph91.us.preheader, label %.loopexit.us

.lr.ph91.us.preheader:                            ; preds = %..preheader_crit_edge.us
  br i1 %lcmp.mod.not, label %.lr.ph91.us.prol.loopexit, label %.lr.ph91.us.prol

.lr.ph91.us.prol:                                 ; preds = %.lr.ph91.us.preheader
  %72 = load i32, ptr %34, align 4, !tbaa !5
  %73 = load i32, ptr %33, align 4, !tbaa !5
  %74 = icmp sgt i32 %72, %73
  br i1 %74, label %75, label %.lr.ph91.us.prol.loopexit

75:                                               ; preds = %.lr.ph91.us.prol
  store i32 %73, ptr %34, align 4, !tbaa !5
  br label %.lr.ph91.us.prol.loopexit

.lr.ph91.us.prol.loopexit:                        ; preds = %.lr.ph91.us.prol, %75, %.lr.ph91.us.preheader
  %indvars.iv131.unr = phi i64 [ %31, %.lr.ph91.us.preheader ], [ %indvars.iv.next132.prol, %75 ], [ %indvars.iv.next132.prol, %.lr.ph91.us.prol ]
  br i1 %35, label %.loopexit.us, label %.lr.ph91.us

.lr.ph86:                                         ; preds = %.preheader83, %.lr.ph86
  %indvars.iv122 = phi i64 [ %indvars.iv.next123, %.lr.ph86 ], [ 0, %.preheader83 ]
  %76 = getelementptr inbounds i32, ptr @w, i64 %indvars.iv122
  %77 = getelementptr inbounds i32, ptr @c, i64 %indvars.iv122
  %78 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %76, ptr noundef nonnull %77)
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %79 = load i32, ptr @m, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = icmp slt i64 %indvars.iv.next123, %80
  br i1 %81, label %.lr.ph86, label %.preheader82, !llvm.loop !15

.preheader81:                                     ; preds = %..loopexit80_crit_edge.us, %.preheader82.split.10, %.loopexit80.10
  %82 = load i32, ptr @n, align 4, !tbaa !5
  %83 = icmp sgt i32 %82, 0
  br i1 %83, label %.lr.ph110.preheader, label %._crit_edge

.lr.ph110.preheader:                              ; preds = %.preheader81
  %wide.trip.count154 = zext nneg i32 %82 to i64
  br label %.lr.ph110

.loopexit80:                                      ; preds = %.preheader82.split.preheader
  %84 = sext i32 %22 to i64
  %85 = shl nsw i64 %84, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @f, i64 4), i8 63, i64 %85, i1 false)
  br label %.preheader82.split.1

.preheader82.split.1:                             ; preds = %.loopexit80, %.preheader82.split.preheader
  %86 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 4), align 4, !tbaa !5
  %.not.1 = icmp eq i32 %86, 0
  br i1 %.not.1, label %.preheader82.split.2, label %.loopexit80.1

.loopexit80.1:                                    ; preds = %.preheader82.split.1
  %87 = sext i32 %86 to i64
  %88 = shl nsw i64 %87, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 8 getelementptr inbounds (i8, ptr @f, i64 4008), i8 63, i64 %88, i1 false)
  br label %.preheader82.split.2

.preheader82.split.2:                             ; preds = %.loopexit80.1, %.preheader82.split.1
  %89 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 8), align 8, !tbaa !5
  %.not.2 = icmp eq i32 %89, 0
  br i1 %.not.2, label %.preheader82.split.3, label %.loopexit80.2

.loopexit80.2:                                    ; preds = %.preheader82.split.2
  %90 = sext i32 %89 to i64
  %91 = shl nsw i64 %90, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @f, i64 8012), i8 63, i64 %91, i1 false)
  br label %.preheader82.split.3

.preheader82.split.3:                             ; preds = %.loopexit80.2, %.preheader82.split.2
  %92 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 12), align 4, !tbaa !5
  %.not.3 = icmp eq i32 %92, 0
  br i1 %.not.3, label %.preheader82.split.4, label %.loopexit80.3

.loopexit80.3:                                    ; preds = %.preheader82.split.3
  %93 = sext i32 %92 to i64
  %94 = shl nsw i64 %93, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 getelementptr inbounds (i8, ptr @f, i64 12016), i8 63, i64 %94, i1 false)
  br label %.preheader82.split.4

.preheader82.split.4:                             ; preds = %.loopexit80.3, %.preheader82.split.3
  %95 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 16), align 16, !tbaa !5
  %.not.4 = icmp eq i32 %95, 0
  br i1 %.not.4, label %.preheader82.split.5, label %.loopexit80.4

.loopexit80.4:                                    ; preds = %.preheader82.split.4
  %96 = sext i32 %95 to i64
  %97 = shl nsw i64 %96, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @f, i64 16020), i8 63, i64 %97, i1 false)
  br label %.preheader82.split.5

.preheader82.split.5:                             ; preds = %.loopexit80.4, %.preheader82.split.4
  %98 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 20), align 4, !tbaa !5
  %.not.5 = icmp eq i32 %98, 0
  br i1 %.not.5, label %.preheader82.split.6, label %.loopexit80.5

.loopexit80.5:                                    ; preds = %.preheader82.split.5
  %99 = sext i32 %98 to i64
  %100 = shl nsw i64 %99, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 8 getelementptr inbounds (i8, ptr @f, i64 20024), i8 63, i64 %100, i1 false)
  br label %.preheader82.split.6

.preheader82.split.6:                             ; preds = %.loopexit80.5, %.preheader82.split.5
  %101 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 24), align 8, !tbaa !5
  %.not.6 = icmp eq i32 %101, 0
  br i1 %.not.6, label %.preheader82.split.7, label %.loopexit80.6

.loopexit80.6:                                    ; preds = %.preheader82.split.6
  %102 = sext i32 %101 to i64
  %103 = shl nsw i64 %102, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @f, i64 24028), i8 63, i64 %103, i1 false)
  br label %.preheader82.split.7

.preheader82.split.7:                             ; preds = %.loopexit80.6, %.preheader82.split.6
  %104 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 28), align 4, !tbaa !5
  %.not.7 = icmp eq i32 %104, 0
  br i1 %.not.7, label %.preheader82.split.8, label %.loopexit80.7

.loopexit80.7:                                    ; preds = %.preheader82.split.7
  %105 = sext i32 %104 to i64
  %106 = shl nsw i64 %105, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 16 getelementptr inbounds (i8, ptr @f, i64 28032), i8 63, i64 %106, i1 false)
  br label %.preheader82.split.8

.preheader82.split.8:                             ; preds = %.loopexit80.7, %.preheader82.split.7
  %107 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 32), align 16, !tbaa !5
  %.not.8 = icmp eq i32 %107, 0
  br i1 %.not.8, label %.preheader82.split.9, label %.loopexit80.8

.loopexit80.8:                                    ; preds = %.preheader82.split.8
  %108 = sext i32 %107 to i64
  %109 = shl nsw i64 %108, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @f, i64 32036), i8 63, i64 %109, i1 false)
  br label %.preheader82.split.9

.preheader82.split.9:                             ; preds = %.loopexit80.8, %.preheader82.split.8
  %110 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 36), align 4, !tbaa !5
  %.not.9 = icmp eq i32 %110, 0
  br i1 %.not.9, label %.preheader82.split.10, label %.loopexit80.9

.loopexit80.9:                                    ; preds = %.preheader82.split.9
  %111 = sext i32 %110 to i64
  %112 = shl nsw i64 %111, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 8 getelementptr inbounds (i8, ptr @f, i64 36040), i8 63, i64 %112, i1 false)
  br label %.preheader82.split.10

.preheader82.split.10:                            ; preds = %.loopexit80.9, %.preheader82.split.9
  %113 = load i32, ptr getelementptr inbounds (i8, ptr @sz, i64 40), align 8, !tbaa !5
  %.not.10 = icmp eq i32 %113, 0
  br i1 %.not.10, label %.preheader81, label %.loopexit80.10

.loopexit80.10:                                   ; preds = %.preheader82.split.10
  %114 = sext i32 %113 to i64
  %115 = shl nsw i64 %114, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @f, i64 40044), i8 63, i64 %115, i1 false)
  br label %.preheader81

.lr.ph110:                                        ; preds = %.lr.ph110.preheader, %125
  %indvars.iv151 = phi i64 [ 0, %.lr.ph110.preheader ], [ %indvars.iv.next152, %125 ]
  %.063108 = phi i64 [ 0, %.lr.ph110.preheader ], [ %127, %125 ]
  %116 = getelementptr inbounds [100001 x i32], ptr @b, i64 0, i64 %indvars.iv151
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [100001 x i32], ptr @a, i64 0, i64 %indvars.iv151
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [11 x [1001 x i32]], ptr @f, i64 0, i64 %118, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = icmp slt i32 %123, 1061109567
  br i1 %124, label %125, label %._crit_edge

125:                                              ; preds = %.lr.ph110
  %126 = sext i32 %123 to i64
  %127 = add nsw i64 %.063108, %126
  %indvars.iv.next152 = add nuw nsw i64 %indvars.iv151, 1
  %exitcond155.not = icmp eq i64 %indvars.iv.next152, %wide.trip.count154
  br i1 %exitcond155.not, label %._crit_edge, label %.lr.ph110, !llvm.loop !16

._crit_edge:                                      ; preds = %125, %.lr.ph110, %.preheader81
  %.1 = phi i64 [ 0, %.preheader81 ], [ -1, %.lr.ph110 ], [ %127, %125 ]
  %128 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %.1)
  %129 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %130 = icmp eq i32 %129, 2
  br i1 %130, label %.lr.ph115, label %._crit_edge116, !llvm.loop !17

._crit_edge116:                                   ; preds = %._crit_edge, %0
  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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

attributes #0 = { mustprogress nofree 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 = { 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 nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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}


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