; LLVM IR from tangjz/acm-icpc :: self_training/2015-01-26 (B)

; 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
@ans = external dso_local global [10 x i32], align 16
@h = external dso_local global [10 x [10 x [10 x i8]]], align 16
@v = external dso_local global [10 x [10 x [10 x i8]]], 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
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [35 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 [2 x i8], align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %288, %0
  call void @llvm.memset.p0.i64(ptr align 16 @ans, i8 0, i64 40, i1 false)
  call void @llvm.memset.p0.i64(ptr align 16 @h, i8 0, i64 1000, i1 false)
  call void @llvm.memset.p0.i64(ptr align 16 @v, i8 0, i64 1000, i1 false)
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  %18 = icmp ne i32 %17, 2
  br i1 %18, label %19, label %20

19:                                               ; preds = %16
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %291

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

21:                                               ; preds = %60, %20
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = load i32, ptr @m, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %63

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 2, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %27 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
  %28 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %27, ptr noundef %6, ptr noundef %7)
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = add nsw i32 %29, -1
  store i32 %30, ptr %6, align 4, !tbaa !5
  %31 = load i32, ptr %7, align 4, !tbaa !5
  %32 = add nsw i32 %31, -1
  store i32 %32, ptr %7, align 4, !tbaa !5
  %33 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0
  %34 = load i8, ptr %33, align 1, !tbaa !9
  %35 = sext i8 %34 to i32
  %36 = icmp eq i32 %35, 72
  br i1 %36, label %37, label %48

37:                                               ; preds = %26
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %39
  %41 = load i32, ptr %7, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [10 x [10 x i8]], ptr %40, i64 0, i64 %42
  %44 = load i32, ptr %7, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [10 x i8], ptr %43, i64 0, i64 %46
  store i8 1, ptr %47, align 1, !tbaa !10
  br label %59

48:                                               ; preds = %26
  %49 = load i32, ptr %6, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %50
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [10 x [10 x i8]], ptr %51, i64 0, i64 %53
  %55 = load i32, ptr %7, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [10 x i8], ptr %54, i64 0, i64 %57
  store i8 1, ptr %58, align 1, !tbaa !10
  br label %59

59:                                               ; preds = %48, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %5) #4
  br label %60

60:                                               ; preds = %59
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %4, align 4, !tbaa !5
  br label %21, !llvm.loop !12

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

64:                                               ; preds = %168, %63
  %65 = load i32, ptr %8, align 4, !tbaa !5
  %66 = load i32, ptr @n, align 4, !tbaa !5
  %67 = icmp slt i32 %65, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %64
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %171

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

70:                                               ; preds = %164, %69
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = load i32, ptr @n, align 4, !tbaa !5
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %167

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %76 = load i32, ptr %9, align 4, !tbaa !5
  %77 = add nsw i32 %76, 2
  store i32 %77, ptr %10, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %160, %75
  %79 = load i32, ptr %10, align 4, !tbaa !5
  %80 = load i32, ptr @n, align 4, !tbaa !5
  %81 = icmp slt i32 %79, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %163

83:                                               ; preds = %78
  %84 = load i32, ptr %8, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %85
  %87 = load i32, ptr %9, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [10 x [10 x i8]], ptr %86, i64 0, i64 %88
  %90 = load i32, ptr %10, align 4, !tbaa !5
  %91 = sub nsw i32 %90, 1
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [10 x i8], ptr %89, i64 0, i64 %92
  %94 = load i8, ptr %93, align 1, !tbaa !10, !range !14, !noundef !15
  %95 = trunc i8 %94 to i1
  %96 = zext i1 %95 to i32
  %97 = load i32, ptr %8, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %98
  %100 = load i32, ptr %10, align 4, !tbaa !5
  %101 = sub nsw i32 %100, 1
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [10 x [10 x i8]], ptr %99, i64 0, i64 %102
  %104 = load i32, ptr %10, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [10 x i8], ptr %103, i64 0, i64 %105
  %107 = load i8, ptr %106, align 1, !tbaa !10, !range !14, !noundef !15
  %108 = trunc i8 %107 to i1
  %109 = zext i1 %108 to i32
  %110 = and i32 %96, %109
  %111 = icmp ne i32 %110, 0
  %112 = load i32, ptr %8, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %113
  %115 = load i32, ptr %9, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [10 x [10 x i8]], ptr %114, i64 0, i64 %116
  %118 = load i32, ptr %10, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [10 x i8], ptr %117, i64 0, i64 %119
  %121 = zext i1 %111 to i8
  store i8 %121, ptr %120, align 1, !tbaa !10
  %122 = load i32, ptr %8, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %123
  %125 = load i32, ptr %9, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [10 x [10 x i8]], ptr %124, i64 0, i64 %126
  %128 = load i32, ptr %10, align 4, !tbaa !5
  %129 = sub nsw i32 %128, 1
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [10 x i8], ptr %127, i64 0, i64 %130
  %132 = load i8, ptr %131, align 1, !tbaa !10, !range !14, !noundef !15
  %133 = trunc i8 %132 to i1
  %134 = zext i1 %133 to i32
  %135 = load i32, ptr %8, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %136
  %138 = load i32, ptr %10, align 4, !tbaa !5
  %139 = sub nsw i32 %138, 1
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [10 x [10 x i8]], ptr %137, i64 0, i64 %140
  %142 = load i32, ptr %10, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [10 x i8], ptr %141, i64 0, i64 %143
  %145 = load i8, ptr %144, align 1, !tbaa !10, !range !14, !noundef !15
  %146 = trunc i8 %145 to i1
  %147 = zext i1 %146 to i32
  %148 = and i32 %134, %147
  %149 = icmp ne i32 %148, 0
  %150 = load i32, ptr %8, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %151
  %153 = load i32, ptr %9, align 4, !tbaa !5
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds [10 x [10 x i8]], ptr %152, i64 0, i64 %154
  %156 = load i32, ptr %10, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [10 x i8], ptr %155, i64 0, i64 %157
  %159 = zext i1 %149 to i8
  store i8 %159, ptr %158, align 1, !tbaa !10
  br label %160

160:                                              ; preds = %83
  %161 = load i32, ptr %10, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %10, align 4, !tbaa !5
  br label %78, !llvm.loop !16

163:                                              ; preds = %82
  br label %164

164:                                              ; preds = %163
  %165 = load i32, ptr %9, align 4, !tbaa !5
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %9, align 4, !tbaa !5
  br label %70, !llvm.loop !17

167:                                              ; preds = %74
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %8, align 4, !tbaa !5
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %8, align 4, !tbaa !5
  br label %64, !llvm.loop !18

171:                                              ; preds = %68
  %172 = load i32, ptr %2, align 4, !tbaa !5
  %173 = icmp sgt i32 %172, 1
  br i1 %173, label %174, label %176

174:                                              ; preds = %171
  %175 = call i32 @puts(ptr noundef @.str.2)
  br label %176

176:                                              ; preds = %174, %171
  %177 = load i32, ptr %2, align 4, !tbaa !5
  %178 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %177)
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  store i8 0, ptr %11, align 1, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %279, %176
  %180 = load i32, ptr %12, align 4, !tbaa !5
  %181 = load i32, ptr @n, align 4, !tbaa !5
  %182 = icmp slt i32 %180, %181
  br i1 %182, label %184, label %183

183:                                              ; preds = %179
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %282

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

185:                                              ; preds = %268, %184
  %186 = load i32, ptr %14, align 4, !tbaa !5
  %187 = load i32, ptr %12, align 4, !tbaa !5
  %188 = add nsw i32 %186, %187
  %189 = load i32, ptr @n, align 4, !tbaa !5
  %190 = icmp slt i32 %188, %189
  br i1 %190, label %192, label %191

191:                                              ; preds = %185
  store i32 20, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %271

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

193:                                              ; preds = %264, %192
  %194 = load i32, ptr %15, align 4, !tbaa !5
  %195 = load i32, ptr %12, align 4, !tbaa !5
  %196 = add nsw i32 %194, %195
  %197 = load i32, ptr @n, align 4, !tbaa !5
  %198 = icmp slt i32 %196, %197
  br i1 %198, label %200, label %199

199:                                              ; preds = %193
  store i32 23, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %267

200:                                              ; preds = %193
  %201 = load i32, ptr %14, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %202
  %204 = load i32, ptr %15, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [10 x [10 x i8]], ptr %203, i64 0, i64 %205
  %207 = load i32, ptr %15, align 4, !tbaa !5
  %208 = load i32, ptr %12, align 4, !tbaa !5
  %209 = add nsw i32 %207, %208
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [10 x i8], ptr %206, i64 0, i64 %210
  %212 = load i8, ptr %211, align 1, !tbaa !10, !range !14, !noundef !15
  %213 = trunc i8 %212 to i1
  br i1 %213, label %214, label %263

214:                                              ; preds = %200
  %215 = load i32, ptr %14, align 4, !tbaa !5
  %216 = load i32, ptr %12, align 4, !tbaa !5
  %217 = add nsw i32 %215, %216
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %218
  %220 = load i32, ptr %15, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [10 x [10 x i8]], ptr %219, i64 0, i64 %221
  %223 = load i32, ptr %15, align 4, !tbaa !5
  %224 = load i32, ptr %12, align 4, !tbaa !5
  %225 = add nsw i32 %223, %224
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds [10 x i8], ptr %222, i64 0, i64 %226
  %228 = load i8, ptr %227, align 1, !tbaa !10, !range !14, !noundef !15
  %229 = trunc i8 %228 to i1
  br i1 %229, label %230, label %263

230:                                              ; preds = %214
  %231 = load i32, ptr %15, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %232
  %234 = load i32, ptr %14, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [10 x [10 x i8]], ptr %233, i64 0, i64 %235
  %237 = load i32, ptr %14, align 4, !tbaa !5
  %238 = load i32, ptr %12, align 4, !tbaa !5
  %239 = add nsw i32 %237, %238
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [10 x i8], ptr %236, i64 0, i64 %240
  %242 = load i8, ptr %241, align 1, !tbaa !10, !range !14, !noundef !15
  %243 = trunc i8 %242 to i1
  br i1 %243, label %244, label %263

244:                                              ; preds = %230
  %245 = load i32, ptr %15, align 4, !tbaa !5
  %246 = load i32, ptr %12, align 4, !tbaa !5
  %247 = add nsw i32 %245, %246
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %248
  %250 = load i32, ptr %14, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [10 x [10 x i8]], ptr %249, i64 0, i64 %251
  %253 = load i32, ptr %14, align 4, !tbaa !5
  %254 = load i32, ptr %12, align 4, !tbaa !5
  %255 = add nsw i32 %253, %254
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [10 x i8], ptr %252, i64 0, i64 %256
  %258 = load i8, ptr %257, align 1, !tbaa !10, !range !14, !noundef !15
  %259 = trunc i8 %258 to i1
  br i1 %259, label %260, label %263

260:                                              ; preds = %244
  %261 = load i32, ptr %13, align 4, !tbaa !5
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %13, align 4, !tbaa !5
  br label %263

263:                                              ; preds = %260, %244, %230, %214, %200
  br label %264

264:                                              ; preds = %263
  %265 = load i32, ptr %15, align 4, !tbaa !5
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %15, align 4, !tbaa !5
  br label %193, !llvm.loop !19

267:                                              ; preds = %199
  br label %268

268:                                              ; preds = %267
  %269 = load i32, ptr %14, align 4, !tbaa !5
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %14, align 4, !tbaa !5
  br label %185, !llvm.loop !20

271:                                              ; preds = %191
  %272 = load i32, ptr %13, align 4, !tbaa !5
  %273 = icmp ne i32 %272, 0
  br i1 %273, label %274, label %278

274:                                              ; preds = %271
  %275 = load i32, ptr %13, align 4, !tbaa !5
  %276 = load i32, ptr %12, align 4, !tbaa !5
  %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %275, i32 noundef %276)
  store i8 1, ptr %11, align 1, !tbaa !10
  br label %278

278:                                              ; preds = %274, %271
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %279

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

282:                                              ; preds = %183
  %283 = load i8, ptr %11, align 1, !tbaa !10, !range !14, !noundef !15
  %284 = trunc i8 %283 to i1
  br i1 %284, label %287, label %285

285:                                              ; preds = %282
  %286 = call i32 @puts(ptr noundef @.str.5)
  br label %287

287:                                              ; preds = %285, %282
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  br label %288

288:                                              ; preds = %287
  %289 = load i32, ptr %2, align 4, !tbaa !5
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %2, align 4, !tbaa !5
  br label %16, !llvm.loop !22

291:                                              ; preds = %19
  ret i32 0
}

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

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

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

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

declare i32 @puts(ptr noundef) #3

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}


; 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
@ans = external dso_local local_unnamed_addr global [10 x i32], align 16
@h = external dso_local local_unnamed_addr global [10 x [10 x [10 x i8]]], align 16
@v = external dso_local local_unnamed_addr global [10 x [10 x [10 x i8]]], 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
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [2 x i8], align 1
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) @ans, i8 0, i64 40, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1000) @h, i8 0, i64 1000, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1000) @v, i8 0, i64 1000, i1 false)
  %4 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %.not94 = icmp eq i32 %4, 2
  br i1 %.not94, label %.preheader77, label %._crit_edge96

.preheader77:                                     ; preds = %0, %._crit_edge.thread
  %.07095 = phi i32 [ %105, %._crit_edge.thread ], [ 1, %0 ]
  %5 = load i32, ptr @m, align 4, !tbaa !5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph, label %.preheader76

._crit_edge96:                                    ; preds = %._crit_edge.thread, %0
  ret i32 0

.preheader76:                                     ; preds = %.lr.ph, %.preheader77
  %7 = load i32, ptr @n, align 4, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.preheader75.us.preheader, label %._crit_edge85.split.us

.preheader75.us.preheader:                        ; preds = %.preheader76
  %9 = zext nneg i32 %7 to i64
  %wide.trip.count108 = zext nneg i32 %7 to i64
  %10 = add nsw i64 %wide.trip.count108, -3
  br label %.preheader75.us

.preheader75.us:                                  ; preds = %.preheader75.us.preheader, %._crit_edge83.us
  %indvars.iv105 = phi i64 [ 0, %.preheader75.us.preheader ], [ %indvars.iv.next106, %._crit_edge83.us ]
  %11 = mul nuw nsw i64 %indvars.iv105, 100
  %12 = or disjoint i64 %11, 1
  %13 = mul nuw nsw i64 %indvars.iv105, 100
  %14 = add nuw i64 %13, 12
  br label %15

15:                                               ; preds = %.preheader75.us, %._crit_edge.us
  %indvars.iv100 = phi i64 [ 0, %.preheader75.us ], [ %indvars.iv.next101, %._crit_edge.us ]
  %indvars.iv = phi i64 [ 2, %.preheader75.us ], [ %indvars.iv.next, %._crit_edge.us ]
  %16 = mul nuw nsw i64 %indvars.iv100, 11
  %17 = add nuw i64 %12, %16
  %scevgep133 = getelementptr i8, ptr @v, i64 %17
  %scevgep134 = getelementptr i8, ptr @h, i64 %17
  %18 = add nuw nsw i64 %indvars.iv100, 2
  %19 = icmp ult i64 %18, %9
  br i1 %19, label %.lr.ph80.us.lver.check, label %._crit_edge.us

.lr.ph80.us.lver.check:                           ; preds = %15
  %20 = mul nuw nsw i64 %indvars.iv100, 11
  %21 = add i64 %14, %20
  %scevgep128 = getelementptr i8, ptr @v, i64 %21
  %scevgep = getelementptr i8, ptr @h, i64 %21
  %22 = sub i64 %10, %indvars.iv100
  %mul = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %22, i64 11)
  %mul.result = extractvalue { i64, i1 } %mul, 0
  %mul.overflow = extractvalue { i64, i1 } %mul, 1
  %23 = getelementptr i8, ptr %scevgep, i64 %mul.result
  %24 = icmp ult ptr %23, %scevgep
  %25 = or i1 %24, %mul.overflow
  %mul129 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %22, i64 11)
  %mul.result130 = extractvalue { i64, i1 } %mul129, 0
  %mul.overflow131 = extractvalue { i64, i1 } %mul129, 1
  %26 = getelementptr i8, ptr %scevgep128, i64 %mul.result130
  %27 = icmp ult ptr %26, %scevgep128
  %28 = or i1 %27, %mul.overflow131
  %29 = or i1 %25, %28
  br i1 %29, label %.lr.ph80.us.lver.orig, label %.lr.ph80.us.ph

.lr.ph80.us.lver.orig:                            ; preds = %.lr.ph80.us.lver.check, %.lr.ph80.us.lver.orig
  %indvars.iv97.lver.orig = phi i64 [ %indvars.iv.next98.lver.orig, %.lr.ph80.us.lver.orig ], [ %indvars.iv, %.lr.ph80.us.lver.check ]
  %30 = add nsw i64 %indvars.iv97.lver.orig, -1
  %31 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %indvars.iv105, i64 %indvars.iv100, i64 %30
  %32 = load i8, ptr %31, align 1, !tbaa !9, !range !11, !noundef !12
  %33 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %indvars.iv105, i64 %30, i64 %indvars.iv97.lver.orig
  %34 = load i8, ptr %33, align 1, !tbaa !9, !range !11, !noundef !12
  %35 = and i8 %34, %32
  %36 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %indvars.iv105, i64 %indvars.iv100, i64 %indvars.iv97.lver.orig
  store i8 %35, ptr %36, align 1, !tbaa !9
  %37 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %indvars.iv105, i64 %indvars.iv100, i64 %30
  %38 = load i8, ptr %37, align 1, !tbaa !9, !range !11, !noundef !12
  %39 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %indvars.iv105, i64 %30, i64 %indvars.iv97.lver.orig
  %40 = load i8, ptr %39, align 1, !tbaa !9, !range !11, !noundef !12
  %41 = and i8 %40, %38
  %42 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %indvars.iv105, i64 %indvars.iv100, i64 %indvars.iv97.lver.orig
  store i8 %41, ptr %42, align 1, !tbaa !9
  %indvars.iv.next98.lver.orig = add nuw nsw i64 %indvars.iv97.lver.orig, 1
  %exitcond.not.lver.orig = icmp eq i64 %indvars.iv.next98.lver.orig, %wide.trip.count108
  br i1 %exitcond.not.lver.orig, label %._crit_edge.us, label %.lr.ph80.us.lver.orig, !llvm.loop !13

.lr.ph80.us.ph:                                   ; preds = %.lr.ph80.us.lver.check
  %load_initial = load i8, ptr %scevgep133, align 1
  %load_initial135 = load i8, ptr %scevgep134, align 1
  br label %.lr.ph80.us

._crit_edge.us:                                   ; preds = %.lr.ph80.us, %.lr.ph80.us.lver.orig, %15
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond104.not = icmp eq i64 %indvars.iv.next101, %wide.trip.count108
  br i1 %exitcond104.not, label %._crit_edge83.us, label %15, !llvm.loop !15

.lr.ph80.us:                                      ; preds = %.lr.ph80.us.ph, %.lr.ph80.us
  %store_forwarded136 = phi i8 [ %load_initial135, %.lr.ph80.us.ph ], [ %46, %.lr.ph80.us ]
  %store_forwarded = phi i8 [ %load_initial, %.lr.ph80.us.ph ], [ %50, %.lr.ph80.us ]
  %indvars.iv97 = phi i64 [ %indvars.iv, %.lr.ph80.us.ph ], [ %indvars.iv.next98, %.lr.ph80.us ]
  %43 = add nsw i64 %indvars.iv97, -1
  %44 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %indvars.iv105, i64 %43, i64 %indvars.iv97
  %45 = load i8, ptr %44, align 1, !tbaa !9, !range !11, !noundef !12
  %46 = and i8 %45, %store_forwarded136
  %47 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %indvars.iv105, i64 %indvars.iv100, i64 %indvars.iv97
  store i8 %46, ptr %47, align 1, !tbaa !9
  %48 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %indvars.iv105, i64 %43, i64 %indvars.iv97
  %49 = load i8, ptr %48, align 1, !tbaa !9, !range !11, !noundef !12
  %50 = and i8 %49, %store_forwarded
  %51 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %indvars.iv105, i64 %indvars.iv100, i64 %indvars.iv97
  store i8 %50, ptr %51, align 1, !tbaa !9
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next98, %wide.trip.count108
  br i1 %exitcond.not, label %._crit_edge.us, label %.lr.ph80.us, !llvm.loop !13

._crit_edge83.us:                                 ; preds = %._crit_edge.us
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %exitcond109.not = icmp eq i64 %indvars.iv.next106, %wide.trip.count108
  br i1 %exitcond109.not, label %._crit_edge85.split.us, label %.preheader75.us, !llvm.loop !16

.lr.ph:                                           ; preds = %.preheader77, %.lr.ph
  %.06978 = phi i32 [ %63, %.lr.ph ], [ 0, %.preheader77 ]
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %52 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = add nsw i32 %53, -1
  %55 = load i32, ptr %3, align 4, !tbaa !5
  %56 = add nsw i32 %55, -1
  %57 = load i8, ptr %1, align 1, !tbaa !17
  %58 = icmp eq i8 %57, 72
  %59 = sext i32 %54 to i64
  %60 = sext i32 %56 to i64
  %61 = sext i32 %55 to i64
  %h.v = select i1 %58, ptr @h, ptr @v
  %62 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr %h.v, i64 0, i64 %59, i64 %60, i64 %61
  store i8 1, ptr %62, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %1) #5
  %63 = add nuw nsw i32 %.06978, 1
  %64 = load i32, ptr @m, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %.lr.ph, label %.preheader76, !llvm.loop !18

._crit_edge85.split.us:                           ; preds = %._crit_edge83.us, %.preheader76
  %66 = icmp ugt i32 %.07095, 1
  br i1 %66, label %67, label %69

67:                                               ; preds = %._crit_edge85.split.us
  %68 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %69

69:                                               ; preds = %67, %._crit_edge85.split.us
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %.07095)
  %71 = load i32, ptr @n, align 4, !tbaa !5
  %72 = icmp sgt i32 %71, 1
  br i1 %72, label %.preheader74.outer, label %.critedge

.preheader74.outer:                               ; preds = %69, %.thread
  %.ph = phi i32 [ %.pre, %.thread ], [ %71, %69 ]
  %indvars.iv116.ph = phi i64 [ %indvars.iv.next117119, %.thread ], [ 1, %69 ]
  %.06492.ph = phi i1 [ true, %.thread ], [ false, %69 ]
  %73 = sext i32 %.ph to i64
  %74 = sext i32 %.ph to i64
  br label %.preheader74

.preheader74:                                     ; preds = %.preheader74.outer, %98
  %indvars.iv116 = phi i64 [ %indvars.iv.next117, %98 ], [ %indvars.iv116.ph, %.preheader74.outer ]
  br label %.preheader.us

.preheader.us:                                    ; preds = %._crit_edge.us91, %.preheader74
  %indvars.iv113 = phi i64 [ %indvars.iv.next114, %._crit_edge.us91 ], [ 0, %.preheader74 ]
  %.06289.us = phi i32 [ %.2.us, %._crit_edge.us91 ], [ 0, %.preheader74 ]
  %75 = add nuw nsw i64 %indvars.iv113, %indvars.iv116
  br label %76

76:                                               ; preds = %.preheader.us, %93
  %indvars.iv110 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next111, %93 ]
  %.186.us = phi i32 [ %.06289.us, %.preheader.us ], [ %.2.us, %93 ]
  %77 = add nuw nsw i64 %indvars.iv110, %indvars.iv116
  %78 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %indvars.iv113, i64 %indvars.iv110, i64 %77
  %79 = load i8, ptr %78, align 1, !tbaa !9, !range !11, !noundef !12
  %80 = trunc nuw i8 %79 to i1
  br i1 %80, label %81, label %93

81:                                               ; preds = %76
  %82 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @h, i64 0, i64 %75, i64 %indvars.iv110, i64 %77
  %83 = load i8, ptr %82, align 1, !tbaa !9, !range !11, !noundef !12
  %84 = trunc nuw i8 %83 to i1
  br i1 %84, label %85, label %93

85:                                               ; preds = %81
  %86 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %indvars.iv110, i64 %indvars.iv113, i64 %75
  %87 = load i8, ptr %86, align 1, !tbaa !9, !range !11, !noundef !12
  %88 = trunc nuw i8 %87 to i1
  br i1 %88, label %89, label %93

89:                                               ; preds = %85
  %90 = getelementptr inbounds [10 x [10 x [10 x i8]]], ptr @v, i64 0, i64 %77, i64 %indvars.iv113, i64 %75
  %91 = load i8, ptr %90, align 1, !tbaa !9, !range !11, !noundef !12
  %92 = zext nneg i8 %91 to i32
  %spec.select.us = add nsw i32 %.186.us, %92
  br label %93

93:                                               ; preds = %89, %85, %81, %76
  %.2.us = phi i32 [ %.186.us, %85 ], [ %.186.us, %81 ], [ %.186.us, %76 ], [ %spec.select.us, %89 ]
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %94 = add nuw nsw i64 %indvars.iv.next111, %indvars.iv116
  %95 = icmp slt i64 %94, %73
  br i1 %95, label %76, label %._crit_edge.us91, !llvm.loop !19

._crit_edge.us91:                                 ; preds = %93
  %indvars.iv.next114 = add nuw nsw i64 %indvars.iv113, 1
  %96 = add nuw nsw i64 %indvars.iv.next114, %indvars.iv116
  %97 = icmp slt i64 %96, %73
  br i1 %97, label %.preheader.us, label %.split.us, !llvm.loop !20

.split.us:                                        ; preds = %._crit_edge.us91
  %.not73 = icmp eq i32 %.2.us, 0
  br i1 %.not73, label %98, label %.thread

._crit_edge:                                      ; preds = %98
  br i1 %.06492.ph, label %._crit_edge.thread, label %.critedge

98:                                               ; preds = %.split.us
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %99 = icmp slt i64 %indvars.iv.next117, %74
  br i1 %99, label %.preheader74, label %._crit_edge, !llvm.loop !21

.thread:                                          ; preds = %.split.us
  %100 = trunc nuw nsw i64 %indvars.iv116 to i32
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %.2.us, i32 noundef %100)
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  %indvars.iv.next117119 = add nuw nsw i64 %indvars.iv116, 1
  %102 = sext i32 %.pre to i64
  %103 = icmp slt i64 %indvars.iv.next117119, %102
  br i1 %103, label %.preheader74.outer, label %._crit_edge.thread, !llvm.loop !21

.critedge:                                        ; preds = %69, %._crit_edge
  %104 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.5)
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %.thread, %.critedge, %._crit_edge
  %105 = add nuw nsw i32 %.07095, 1
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) @ans, i8 0, i64 40, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1000) @h, i8 0, i64 1000, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1000) @v, i8 0, i64 1000, i1 false)
  %106 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %.not = icmp eq i32 %106, 2
  br i1 %.not, label %.preheader77, label %._crit_edge96, !llvm.loop !22
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; 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 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

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

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

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


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