; LLVM IR from tangjz/acm-icpc :: codeforces/gym (101412B)

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

@buf = external dso_local global ptr, align 8
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@mat = external dso_local global [11 x [4 x i32]], align 16
@cnt = external dso_local global [4 x i32], align 16
@tot = external dso_local global i32, align 4
@val = external dso_local global [8000 x [3 x i32]], align 16
@str = external dso_local global [100 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [3 x 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
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  br label %23

23:                                               ; preds = %378, %0
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @n, ptr noundef @m)
  %25 = icmp eq i32 %24, 2
  br i1 %25, label %26, label %31

26:                                               ; preds = %23
  %27 = load i32, ptr @n, align 4, !tbaa !5
  %28 = load i32, ptr @m, align 4, !tbaa !5
  %29 = add nsw i32 %27, %28
  %30 = icmp ne i32 %29, 0
  br label %31

31:                                               ; preds = %26, %23
  %32 = phi i1 [ false, %23 ], [ %30, %26 ]
  br i1 %32, label %33, label %379

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

34:                                               ; preds = %42, %33
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = icmp slt i32 %35, 3
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  br label %45

38:                                               ; preds = %34
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %40
  store i32 0, ptr %41, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %38
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %2, align 4, !tbaa !5
  br label %34, !llvm.loop !9

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

46:                                               ; preds = %136, %45
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = load i32, ptr @n, align 4, !tbaa !5
  %49 = icmp slt i32 %47, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  br label %139

51:                                               ; preds = %46
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %66, %51
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = icmp slt i32 %53, 3
  br i1 %54, label %55, label %69

55:                                               ; preds = %52
  %56 = load i32, ptr %4, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = load i32, ptr %3, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %61
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [4 x i32], ptr %62, i64 0, i64 %64
  store i32 %59, ptr %65, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %55
  %67 = load i32, ptr %4, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %4, align 4, !tbaa !5
  br label %52, !llvm.loop !11

69:                                               ; preds = %52
  %70 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @str)
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %79, %69
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %73
  %75 = load i8, ptr %74, align 1, !tbaa !12
  %76 = sext i8 %75 to i32
  %77 = icmp eq i32 %76, 46
  br i1 %77, label %78, label %82

78:                                               ; preds = %71
  br label %79

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

82:                                               ; preds = %71
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = load i32, ptr %3, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %85
  %87 = getelementptr inbounds [4 x i32], ptr %86, i64 0, i64 3
  store i32 %83, ptr %87, align 4, !tbaa !5
  br label %88

88:                                               ; preds = %132, %82
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %90
  %92 = load i8, ptr %91, align 1, !tbaa !12
  %93 = icmp ne i8 %92, 0
  br i1 %93, label %94, label %135

94:                                               ; preds = %88
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %128, %94
  %96 = load ptr, ptr @buf, align 8, !tbaa !14
  %97 = load i32, ptr %5, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i8, ptr %96, i64 %98
  %100 = load i8, ptr %99, align 1, !tbaa !12
  %101 = icmp ne i8 %100, 0
  br i1 %101, label %102, label %131

102:                                              ; preds = %95
  %103 = load i32, ptr %4, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %104
  %106 = load i8, ptr %105, align 1, !tbaa !12
  %107 = sext i8 %106 to i32
  %108 = load ptr, ptr @buf, align 8, !tbaa !14
  %109 = load i32, ptr %5, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds i8, ptr %108, i64 %110
  %112 = load i8, ptr %111, align 1, !tbaa !12
  %113 = sext i8 %112 to i32
  %114 = icmp eq i32 %107, %113
  br i1 %114, label %115, label %127

115:                                              ; preds = %102
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = and i32 %116, 1
  %118 = icmp ne i32 %117, 0
  %119 = zext i1 %118 to i64
  %120 = select i1 %118, i32 -1, i32 1
  %121 = load i32, ptr %5, align 4, !tbaa !5
  %122 = ashr i32 %121, 1
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = add nsw i32 %125, %120
  store i32 %126, ptr %124, align 4, !tbaa !5
  br label %131

127:                                              ; preds = %102
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %5, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %5, align 4, !tbaa !5
  br label %95, !llvm.loop !16

131:                                              ; preds = %115, %95
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %4, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %4, align 4, !tbaa !5
  br label %88, !llvm.loop !17

135:                                              ; preds = %88
  br label %136

136:                                              ; preds = %135
  %137 = load i32, ptr %3, align 4, !tbaa !5
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %3, align 4, !tbaa !5
  br label %46, !llvm.loop !18

139:                                              ; preds = %50
  store i32 0, ptr @tot, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %140

140:                                              ; preds = %241, %139
  %141 = load i32, ptr %6, align 4, !tbaa !5
  %142 = icmp sle i32 %141, 20
  br i1 %142, label %144, label %143

143:                                              ; preds = %140
  store i32 22, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %244

144:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %237, %144
  %146 = load i32, ptr %8, align 4, !tbaa !5
  %147 = icmp sle i32 %146, 20
  br i1 %147, label %149, label %148

148:                                              ; preds = %145
  store i32 25, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %240

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

150:                                              ; preds = %233, %149
  %151 = load i32, ptr %9, align 4, !tbaa !5
  %152 = icmp sle i32 %151, 20
  br i1 %152, label %154, label %153

153:                                              ; preds = %150
  store i32 28, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %236

154:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #3
  %155 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %155, ptr %10, align 4, !tbaa !5
  %156 = getelementptr inbounds i32, ptr %10, i64 1
  %157 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %157, ptr %156, align 4, !tbaa !5
  %158 = getelementptr inbounds i32, ptr %10, i64 2
  %159 = load i32, ptr %9, align 4, !tbaa !5
  store i32 %159, ptr %158, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  store i8 1, ptr %11, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %160

160:                                              ; preds = %208, %154
  %161 = load i32, ptr %12, align 4, !tbaa !5
  %162 = load i32, ptr @n, align 4, !tbaa !5
  %163 = icmp slt i32 %161, %162
  br i1 %163, label %164, label %167

164:                                              ; preds = %160
  %165 = load i8, ptr %11, align 1, !tbaa !19, !range !21, !noundef !22
  %166 = trunc i8 %165 to i1
  br label %167

167:                                              ; preds = %164, %160
  %168 = phi i1 [ false, %160 ], [ %166, %164 ]
  br i1 %168, label %170, label %169

169:                                              ; preds = %167
  store i32 31, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %211

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

171:                                              ; preds = %190, %170
  %172 = load i32, ptr %14, align 4, !tbaa !5
  %173 = icmp slt i32 %172, 3
  br i1 %173, label %175, label %174

174:                                              ; preds = %171
  store i32 34, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %193

175:                                              ; preds = %171
  %176 = load i32, ptr %14, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [3 x i32], ptr %10, i64 0, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = load i32, ptr %12, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %181
  %183 = load i32, ptr %14, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [4 x i32], ptr %182, i64 0, i64 %184
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = mul nsw i32 %179, %186
  %188 = load i32, ptr %13, align 4, !tbaa !5
  %189 = add nsw i32 %188, %187
  store i32 %189, ptr %13, align 4, !tbaa !5
  br label %190

190:                                              ; preds = %175
  %191 = load i32, ptr %14, align 4, !tbaa !5
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %14, align 4, !tbaa !5
  br label %171, !llvm.loop !23

193:                                              ; preds = %174
  %194 = load i32, ptr %13, align 4, !tbaa !5
  %195 = load i32, ptr %12, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %196
  %198 = getelementptr inbounds [4 x i32], ptr %197, i64 0, i64 3
  %199 = load i32, ptr %198, align 4, !tbaa !5
  %200 = icmp eq i32 %194, %199
  %201 = zext i1 %200 to i32
  %202 = load i8, ptr %11, align 1, !tbaa !19, !range !21, !noundef !22
  %203 = trunc i8 %202 to i1
  %204 = zext i1 %203 to i32
  %205 = and i32 %204, %201
  %206 = icmp ne i32 %205, 0
  %207 = zext i1 %206 to i8
  store i8 %207, ptr %11, align 1, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %208

208:                                              ; preds = %193
  %209 = load i32, ptr %12, align 4, !tbaa !5
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %12, align 4, !tbaa !5
  br label %160, !llvm.loop !24

211:                                              ; preds = %169
  %212 = load i8, ptr %11, align 1, !tbaa !19, !range !21, !noundef !22
  %213 = trunc i8 %212 to i1
  br i1 %213, label %214, label %232

214:                                              ; preds = %211
  %215 = load i32, ptr %6, align 4, !tbaa !5
  %216 = load i32, ptr @tot, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %217
  %219 = getelementptr inbounds [3 x i32], ptr %218, i64 0, i64 0
  store i32 %215, ptr %219, align 4, !tbaa !5
  %220 = load i32, ptr %8, align 4, !tbaa !5
  %221 = load i32, ptr @tot, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %222
  %224 = getelementptr inbounds [3 x i32], ptr %223, i64 0, i64 1
  store i32 %220, ptr %224, align 4, !tbaa !5
  %225 = load i32, ptr %9, align 4, !tbaa !5
  %226 = load i32, ptr @tot, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %227
  %229 = getelementptr inbounds [3 x i32], ptr %228, i64 0, i64 2
  store i32 %225, ptr %229, align 4, !tbaa !5
  %230 = load i32, ptr @tot, align 4, !tbaa !5
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr @tot, align 4, !tbaa !5
  br label %232

232:                                              ; preds = %214, %211
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #3
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %9, align 4, !tbaa !5
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %9, align 4, !tbaa !5
  br label %150, !llvm.loop !25

236:                                              ; preds = %153
  br label %237

237:                                              ; preds = %236
  %238 = load i32, ptr %8, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %8, align 4, !tbaa !5
  br label %145, !llvm.loop !26

240:                                              ; preds = %148
  br label %241

241:                                              ; preds = %240
  %242 = load i32, ptr %6, align 4, !tbaa !5
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %6, align 4, !tbaa !5
  br label %140, !llvm.loop !27

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

245:                                              ; preds = %253, %244
  %246 = load i32, ptr %15, align 4, !tbaa !5
  %247 = icmp slt i32 %246, 3
  br i1 %247, label %249, label %248

248:                                              ; preds = %245
  store i32 37, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %256

249:                                              ; preds = %245
  %250 = load i32, ptr %15, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %251
  store i32 0, ptr %252, align 4, !tbaa !5
  br label %253

253:                                              ; preds = %249
  %254 = load i32, ptr %15, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %15, align 4, !tbaa !5
  br label %245, !llvm.loop !28

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

257:                                              ; preds = %375, %256
  %258 = load i32, ptr %16, align 4, !tbaa !5
  %259 = load i32, ptr @m, align 4, !tbaa !5
  %260 = icmp slt i32 %258, %259
  br i1 %260, label %262, label %261

261:                                              ; preds = %257
  store i32 40, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  br label %378

262:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  store i32 1061109567, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %263

263:                                              ; preds = %303, %262
  %264 = load i32, ptr %18, align 4, !tbaa !5
  %265 = load i32, ptr @tot, align 4, !tbaa !5
  %266 = icmp slt i32 %264, %265
  br i1 %266, label %268, label %267

267:                                              ; preds = %263
  store i32 43, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  br label %306

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

269:                                              ; preds = %288, %268
  %270 = load i32, ptr %20, align 4, !tbaa !5
  %271 = icmp slt i32 %270, 3
  br i1 %271, label %273, label %272

272:                                              ; preds = %269
  store i32 46, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  br label %291

273:                                              ; preds = %269
  %274 = load i32, ptr %18, align 4, !tbaa !5
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %275
  %277 = load i32, ptr %20, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [3 x i32], ptr %276, i64 0, i64 %278
  %280 = load i32, ptr %279, align 4, !tbaa !5
  %281 = load i32, ptr %20, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %282
  %284 = load i32, ptr %283, align 4, !tbaa !5
  %285 = mul nsw i32 %280, %284
  %286 = load i32, ptr %19, align 4, !tbaa !5
  %287 = add nsw i32 %286, %285
  store i32 %287, ptr %19, align 4, !tbaa !5
  br label %288

288:                                              ; preds = %273
  %289 = load i32, ptr %20, align 4, !tbaa !5
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %20, align 4, !tbaa !5
  br label %269, !llvm.loop !29

291:                                              ; preds = %272
  %292 = load i32, ptr %17, align 4, !tbaa !5
  %293 = icmp eq i32 %292, 1061109567
  br i1 %293, label %294, label %296

294:                                              ; preds = %291
  %295 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %295, ptr %17, align 4, !tbaa !5
  br label %302

296:                                              ; preds = %291
  %297 = load i32, ptr %17, align 4, !tbaa !5
  %298 = load i32, ptr %19, align 4, !tbaa !5
  %299 = icmp ne i32 %297, %298
  br i1 %299, label %300, label %301

300:                                              ; preds = %296
  store i32 -1, ptr %17, align 4, !tbaa !5
  br label %301

301:                                              ; preds = %300, %296
  br label %302

302:                                              ; preds = %301, %294
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %303

303:                                              ; preds = %302
  %304 = load i32, ptr %18, align 4, !tbaa !5
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr %18, align 4, !tbaa !5
  br label %263, !llvm.loop !30

306:                                              ; preds = %267
  %307 = load i32, ptr %17, align 4, !tbaa !5
  %308 = icmp eq i32 %307, 1061109567
  br i1 %308, label %309, label %310

309:                                              ; preds = %306
  br label %312

310:                                              ; preds = %306
  %311 = load i32, ptr %17, align 4, !tbaa !5
  br label %312

312:                                              ; preds = %310, %309
  %313 = phi i32 [ -1, %309 ], [ %311, %310 ]
  %314 = load i32, ptr %16, align 4, !tbaa !5
  %315 = load i32, ptr @m, align 4, !tbaa !5
  %316 = sub nsw i32 %315, 1
  %317 = icmp eq i32 %314, %316
  %318 = zext i1 %317 to i64
  %319 = getelementptr inbounds [3 x i8], ptr @.str.4, i64 0, i64 %318
  %320 = load i8, ptr %319, align 1, !tbaa !12
  %321 = sext i8 %320 to i32
  %322 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %313, i32 noundef %321)
  %323 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef @str)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %324

324:                                              ; preds = %371, %312
  %325 = load i32, ptr %21, align 4, !tbaa !5
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %326
  %328 = load i8, ptr %327, align 1, !tbaa !12
  %329 = icmp ne i8 %328, 0
  br i1 %329, label %331, label %330

330:                                              ; preds = %324
  store i32 49, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  br label %374

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

332:                                              ; preds = %366, %331
  %333 = load ptr, ptr @buf, align 8, !tbaa !14
  %334 = load i32, ptr %22, align 4, !tbaa !5
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds i8, ptr %333, i64 %335
  %337 = load i8, ptr %336, align 1, !tbaa !12
  %338 = icmp ne i8 %337, 0
  br i1 %338, label %340, label %339

339:                                              ; preds = %332
  store i32 52, ptr %7, align 4
  br label %369

340:                                              ; preds = %332
  %341 = load i32, ptr %21, align 4, !tbaa !5
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %342
  %344 = load i8, ptr %343, align 1, !tbaa !12
  %345 = sext i8 %344 to i32
  %346 = load ptr, ptr @buf, align 8, !tbaa !14
  %347 = load i32, ptr %22, align 4, !tbaa !5
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds i8, ptr %346, i64 %348
  %350 = load i8, ptr %349, align 1, !tbaa !12
  %351 = sext i8 %350 to i32
  %352 = icmp eq i32 %345, %351
  br i1 %352, label %353, label %365

353:                                              ; preds = %340
  %354 = load i32, ptr %22, align 4, !tbaa !5
  %355 = and i32 %354, 1
  %356 = icmp ne i32 %355, 0
  %357 = zext i1 %356 to i64
  %358 = select i1 %356, i32 -1, i32 1
  %359 = load i32, ptr %22, align 4, !tbaa !5
  %360 = ashr i32 %359, 1
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %361
  %363 = load i32, ptr %362, align 4, !tbaa !5
  %364 = add nsw i32 %363, %358
  store i32 %364, ptr %362, align 4, !tbaa !5
  store i32 52, ptr %7, align 4
  br label %369

365:                                              ; preds = %340
  br label %366

366:                                              ; preds = %365
  %367 = load i32, ptr %22, align 4, !tbaa !5
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %22, align 4, !tbaa !5
  br label %332, !llvm.loop !31

369:                                              ; preds = %353, %339
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  br label %370

370:                                              ; preds = %369
  br label %371

371:                                              ; preds = %370
  %372 = load i32, ptr %21, align 4, !tbaa !5
  %373 = add nsw i32 %372, 1
  store i32 %373, ptr %21, align 4, !tbaa !5
  br label %324, !llvm.loop !32

374:                                              ; preds = %330
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  br label %375

375:                                              ; preds = %374
  %376 = load i32, ptr %16, align 4, !tbaa !5
  %377 = add nsw i32 %376, 1
  store i32 %377, ptr %16, align 4, !tbaa !5
  br label %257, !llvm.loop !33

378:                                              ; preds = %261
  br label %23, !llvm.loop !34

379:                                              ; preds = %31
  ret i32 0
}

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

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

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

declare i32 @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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!7, !7, i64 0}
!13 = distinct !{!13, !10}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}
!31 = distinct !{!31, !10}
!32 = distinct !{!32, !10}
!33 = distinct !{!33, !10}
!34 = distinct !{!34, !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"

@buf = external dso_local local_unnamed_addr global ptr, align 8
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@mat = external dso_local local_unnamed_addr global [11 x [4 x i32]], align 16
@cnt = external dso_local local_unnamed_addr global [4 x i32], align 16
@tot = external dso_local local_unnamed_addr global i32, align 4
@val = external dso_local local_unnamed_addr global [8000 x [3 x i32]], align 16
@str = external dso_local global [100 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 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.1, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %2 = icmp eq i32 %1, 2
  %3 = load i32, ptr @n, align 4
  %4 = load i32, ptr @m, align 4
  %5 = sub i32 0, %4
  %6 = icmp ne i32 %3, %5
  %7 = select i1 %2, i1 %6, i1 false
  br i1 %7, label %.preheader114, label %._crit_edge163

.loopexit111:                                     ; preds = %._crit_edge161, %.preheader112
  %8 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %9 = icmp eq i32 %8, 2
  %10 = load i32, ptr @n, align 4
  %11 = load i32, ptr @m, align 4
  %12 = sub i32 0, %11
  %13 = icmp ne i32 %10, %12
  %14 = select i1 %9, i1 %13, i1 false
  br i1 %14, label %.preheader114, label %._crit_edge163, !llvm.loop !5

.preheader114:                                    ; preds = %0, %.loopexit111
  %15 = phi i32 [ %10, %.loopexit111 ], [ %3, %0 ]
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(12) @cnt, i8 0, i64 12, i1 false), !tbaa !7
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.preheader109, label %._crit_edge124.thread

._crit_edge124.thread:                            ; preds = %.preheader114
  store i32 0, ptr @tot, align 4, !tbaa !7
  br label %.preheader108.preheader

.preheader109:                                    ; preds = %.preheader114, %._crit_edge
  %indvar = phi i64 [ %indvar.next, %._crit_edge ], [ 0, %.preheader114 ]
  %17 = shl nuw nsw i64 %indvar, 4
  %scevgep = getelementptr i8, ptr @mat, i64 %17
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(12) %scevgep, ptr noundef nonnull align 16 dereferenceable(12) @cnt, i64 12, i1 false), !tbaa !7
  %18 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @str)
  br label %49

._crit_edge124:                                   ; preds = %._crit_edge
  store i32 0, ptr @tot, align 4, !tbaa !7
  %19 = icmp sgt i32 %79, 0
  br i1 %19, label %.preheader108.us.preheader, label %.preheader108.preheader

.preheader108.preheader:                          ; preds = %._crit_edge124.thread, %._crit_edge124
  br label %.preheader108

.preheader108.us.preheader:                       ; preds = %._crit_edge124
  %20 = zext nneg i32 %79 to i64
  br label %.preheader108.us

.preheader108.us:                                 ; preds = %.preheader108.us.preheader, %.split140.us.us
  %.088147.us = phi i32 [ %48, %.split140.us.us ], [ 1, %.preheader108.us.preheader ]
  %.lcssa131.lcssa145146.us = phi i32 [ %.lcssa131.lcssa142.us, %.split140.us.us ], [ 0, %.preheader108.us.preheader ]
  br label %.preheader104.us.us

.preheader104.us.us:                              ; preds = %.split.us.us.us, %.preheader108.us
  %.lcssa131.lcssa144.us = phi i32 [ %.lcssa131.lcssa145146.us, %.preheader108.us ], [ %.lcssa131.lcssa142.us, %.split.us.us.us ]
  %.087138.us.us = phi i32 [ 1, %.preheader108.us ], [ %47, %.split.us.us.us ]
  %.lcssa131136137.us.us = phi i32 [ %.lcssa131.lcssa145146.us, %.preheader108.us ], [ %.lcssa131134.us.us, %.split.us.us.us ]
  br label %.preheader.lr.ph.us.us.us

.preheader.lr.ph.us.us.us:                        ; preds = %28, %.preheader104.us.us
  %.lcssa131.lcssa143.us = phi i32 [ %.lcssa131.lcssa144.us, %.preheader104.us.us ], [ %.lcssa131.lcssa142.us, %28 ]
  %.lcssa131135.us.us = phi i32 [ %.lcssa131136137.us.us, %.preheader104.us.us ], [ %.lcssa131134.us.us, %28 ]
  %.086130.us.us.us = phi i32 [ 1, %.preheader104.us.us ], [ %30, %28 ]
  %21 = phi i32 [ %.lcssa131136137.us.us, %.preheader104.us.us ], [ %29, %28 ]
  br label %.preheader.us.us.us

22:                                               ; preds = %._crit_edge128.us.us.us
  %23 = sext i32 %21 to i64
  %24 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %23
  store i32 %.088147.us, ptr %24, align 4, !tbaa !7
  %25 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %23, i64 1
  store i32 %.087138.us.us, ptr %25, align 4, !tbaa !7
  %26 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %23, i64 2
  store i32 %.086130.us.us.us, ptr %26, align 4, !tbaa !7
  %27 = add nsw i32 %21, 1
  store i32 %27, ptr @tot, align 4, !tbaa !7
  br label %28

28:                                               ; preds = %._crit_edge128.us.us.us, %22
  %.lcssa131.lcssa142.us = phi i32 [ %27, %22 ], [ %.lcssa131.lcssa143.us, %._crit_edge128.us.us.us ]
  %.lcssa131134.us.us = phi i32 [ %27, %22 ], [ %.lcssa131135.us.us, %._crit_edge128.us.us.us ]
  %29 = phi i32 [ %27, %22 ], [ %21, %._crit_edge128.us.us.us ]
  %30 = add nuw nsw i32 %.086130.us.us.us, 1
  %exitcond196.not = icmp eq i32 %30, 21
  br i1 %exitcond196.not, label %.split.us.us.us, label %.preheader.lr.ph.us.us.us, !llvm.loop !11

.preheader.us.us.us:                              ; preds = %.preheader.us.us.us, %.preheader.lr.ph.us.us.us
  %indvars.iv193 = phi i64 [ %indvars.iv.next194, %.preheader.us.us.us ], [ 0, %.preheader.lr.ph.us.us.us ]
  %31 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %indvars.iv193, i64 0
  %32 = load i32, ptr %31, align 16, !tbaa !7
  %33 = mul nsw i32 %32, %.088147.us
  %34 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %indvars.iv193, i64 1
  %35 = load i32, ptr %34, align 4, !tbaa !7
  %36 = mul nsw i32 %35, %.087138.us.us
  %37 = add nsw i32 %36, %33
  %38 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %indvars.iv193, i64 2
  %39 = load i32, ptr %38, align 8, !tbaa !7
  %40 = mul nsw i32 %39, %.086130.us.us.us
  %41 = add nsw i32 %40, %37
  %42 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %indvars.iv193, i64 3
  %43 = load i32, ptr %42, align 4, !tbaa !7
  %44 = icmp eq i32 %41, %43
  %indvars.iv.next194 = add nuw nsw i64 %indvars.iv193, 1
  %45 = icmp ult i64 %indvars.iv.next194, %20
  %46 = select i1 %45, i1 %44, i1 false
  br i1 %46, label %.preheader.us.us.us, label %._crit_edge128.us.us.us, !llvm.loop !12

._crit_edge128.us.us.us:                          ; preds = %.preheader.us.us.us
  br i1 %44, label %22, label %28

.split.us.us.us:                                  ; preds = %28
  %47 = add nuw nsw i32 %.087138.us.us, 1
  %exitcond197.not = icmp eq i32 %47, 21
  br i1 %exitcond197.not, label %.split140.us.us, label %.preheader104.us.us, !llvm.loop !13

.split140.us.us:                                  ; preds = %.split.us.us.us
  %48 = add nuw nsw i32 %.088147.us, 1
  %exitcond198.not = icmp eq i32 %48, 21
  br i1 %exitcond198.not, label %.preheader112, label %.preheader108.us, !llvm.loop !14

49:                                               ; preds = %49, %.preheader109
  %indvars.iv = phi i64 [ %indvars.iv.next, %49 ], [ 0, %.preheader109 ]
  %50 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %indvars.iv
  %51 = load i8, ptr %50, align 1, !tbaa !15
  %52 = icmp eq i8 %51, 46
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %52, label %49, label %53, !llvm.loop !16

53:                                               ; preds = %49
  %54 = trunc nuw nsw i64 %indvars.iv to i32
  %55 = getelementptr inbounds [11 x [4 x i32]], ptr @mat, i64 0, i64 %indvar, i64 3
  store i32 %54, ptr %55, align 4, !tbaa !7
  %56 = and i64 %indvars.iv, 4294967295
  %57 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %56
  %58 = load i8, ptr %57, align 1, !tbaa !15
  %.not99121 = icmp eq i8 %58, 0
  br i1 %.not99121, label %._crit_edge, label %.preheader105.lr.ph

.preheader105.lr.ph:                              ; preds = %53
  %59 = load ptr, ptr @buf, align 8, !tbaa !17
  %60 = load i8, ptr %59, align 1, !tbaa !15
  %61 = icmp eq i8 %60, 0
  br i1 %61, label %._crit_edge, label %.preheader105

.preheader105thread-pre-split:                    ; preds = %.loopexit106
  %.pr = load i8, ptr %59, align 1, !tbaa !15
  br label %.preheader105

.preheader105:                                    ; preds = %.preheader105.lr.ph, %.preheader105thread-pre-split
  %62 = phi i8 [ %.pr, %.preheader105thread-pre-split ], [ %60, %.preheader105.lr.ph ]
  %indvars.iv178 = phi i64 [ %indvars.iv.next179, %.preheader105thread-pre-split ], [ %indvars.iv, %.preheader105.lr.ph ]
  %63 = phi i8 [ %78, %.preheader105thread-pre-split ], [ %58, %.preheader105.lr.ph ]
  %.not100119 = icmp eq i8 %62, 0
  br i1 %.not100119, label %.loopexit106, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader105, %74
  %indvars.iv176 = phi i64 [ %indvars.iv.next177, %74 ], [ 0, %.preheader105 ]
  %64 = phi i8 [ %76, %74 ], [ %62, %.preheader105 ]
  %65 = icmp eq i8 %63, %64
  br i1 %65, label %66, label %74

66:                                               ; preds = %.lr.ph
  %67 = and i64 %indvars.iv176, 1
  %.not101 = icmp eq i64 %67, 0
  %68 = select i1 %.not101, i32 1, i32 -1
  %69 = lshr i64 %indvars.iv176, 1
  %70 = and i64 %69, 2147483647
  %71 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !7
  %73 = add nsw i32 %72, %68
  store i32 %73, ptr %71, align 4, !tbaa !7
  br label %.loopexit106

74:                                               ; preds = %.lr.ph
  %indvars.iv.next177 = add nuw nsw i64 %indvars.iv176, 1
  %75 = getelementptr inbounds i8, ptr %59, i64 %indvars.iv.next177
  %76 = load i8, ptr %75, align 1, !tbaa !15
  %.not100 = icmp eq i8 %76, 0
  br i1 %.not100, label %.loopexit106, label %.lr.ph, !llvm.loop !19

.loopexit106:                                     ; preds = %74, %.preheader105, %66
  %indvars.iv.next179 = add nuw nsw i64 %indvars.iv178, 1
  %77 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %indvars.iv.next179
  %78 = load i8, ptr %77, align 1, !tbaa !15
  %.not99 = icmp eq i8 %78, 0
  br i1 %.not99, label %._crit_edge, label %.preheader105thread-pre-split, !llvm.loop !20

._crit_edge:                                      ; preds = %.loopexit106, %.preheader105.lr.ph, %53
  %indvar.next = add nuw nsw i64 %indvar, 1
  %79 = load i32, ptr @n, align 4, !tbaa !7
  %80 = sext i32 %79 to i64
  %81 = icmp slt i64 %indvar.next, %80
  br i1 %81, label %.preheader109, label %._crit_edge124, !llvm.loop !22

.preheader112.split:                              ; preds = %.split140
  %82 = trunc nsw i64 %indvars.iv.next186.19 to i32
  store i32 %82, ptr @tot, align 4, !tbaa !7
  br label %.preheader112

.preheader112:                                    ; preds = %.split140.us.us, %.preheader112.split
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(12) @cnt, i8 0, i64 12, i1 false), !tbaa !7
  %83 = load i32, ptr @m, align 4, !tbaa !7
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.preheader107, label %.loopexit111

.preheader108:                                    ; preds = %.preheader108.preheader, %.split140
  %.088147 = phi i32 [ %147, %.split140 ], [ 1, %.preheader108.preheader ]
  %.lcssa131.lcssa145146 = phi i64 [ %indvars.iv.next186.19, %.split140 ], [ 0, %.preheader108.preheader ]
  br label %.preheader104

.preheader104:                                    ; preds = %.preheader108, %.preheader104
  %.087138 = phi i32 [ 1, %.preheader108 ], [ %146, %.preheader104 ]
  %.lcssa131136137 = phi i64 [ %.lcssa131.lcssa145146, %.preheader108 ], [ %indvars.iv.next186.19, %.preheader104 ]
  %sext = shl i64 %.lcssa131136137, 32
  %85 = ashr exact i64 %sext, 32
  %86 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %85
  store i32 %.088147, ptr %86, align 4, !tbaa !7
  %87 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %85, i64 1
  store i32 %.087138, ptr %87, align 4, !tbaa !7
  %88 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %85, i64 2
  store i32 1, ptr %88, align 4, !tbaa !7
  %indvars.iv.next186 = add nsw i64 %85, 1
  %89 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186
  store i32 %.088147, ptr %89, align 4, !tbaa !7
  %90 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186, i64 1
  store i32 %.087138, ptr %90, align 4, !tbaa !7
  %91 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186, i64 2
  store i32 2, ptr %91, align 4, !tbaa !7
  %indvars.iv.next186.1 = add nsw i64 %85, 2
  %92 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.1
  store i32 %.088147, ptr %92, align 4, !tbaa !7
  %93 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.1, i64 1
  store i32 %.087138, ptr %93, align 4, !tbaa !7
  %94 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.1, i64 2
  store i32 3, ptr %94, align 4, !tbaa !7
  %indvars.iv.next186.2 = add nsw i64 %85, 3
  %95 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.2
  store i32 %.088147, ptr %95, align 4, !tbaa !7
  %96 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.2, i64 1
  store i32 %.087138, ptr %96, align 4, !tbaa !7
  %97 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.2, i64 2
  store i32 4, ptr %97, align 4, !tbaa !7
  %indvars.iv.next186.3 = add nsw i64 %85, 4
  %98 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.3
  store i32 %.088147, ptr %98, align 4, !tbaa !7
  %99 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.3, i64 1
  store i32 %.087138, ptr %99, align 4, !tbaa !7
  %100 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.3, i64 2
  store i32 5, ptr %100, align 4, !tbaa !7
  %indvars.iv.next186.4 = add nsw i64 %85, 5
  %101 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.4
  store i32 %.088147, ptr %101, align 4, !tbaa !7
  %102 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.4, i64 1
  store i32 %.087138, ptr %102, align 4, !tbaa !7
  %103 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.4, i64 2
  store i32 6, ptr %103, align 4, !tbaa !7
  %indvars.iv.next186.5 = add nsw i64 %85, 6
  %104 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.5
  store i32 %.088147, ptr %104, align 4, !tbaa !7
  %105 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.5, i64 1
  store i32 %.087138, ptr %105, align 4, !tbaa !7
  %106 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.5, i64 2
  store i32 7, ptr %106, align 4, !tbaa !7
  %indvars.iv.next186.6 = add nsw i64 %85, 7
  %107 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.6
  store i32 %.088147, ptr %107, align 4, !tbaa !7
  %108 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.6, i64 1
  store i32 %.087138, ptr %108, align 4, !tbaa !7
  %109 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.6, i64 2
  store i32 8, ptr %109, align 4, !tbaa !7
  %indvars.iv.next186.7 = add nsw i64 %85, 8
  %110 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.7
  store i32 %.088147, ptr %110, align 4, !tbaa !7
  %111 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.7, i64 1
  store i32 %.087138, ptr %111, align 4, !tbaa !7
  %112 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.7, i64 2
  store i32 9, ptr %112, align 4, !tbaa !7
  %indvars.iv.next186.8 = add nsw i64 %85, 9
  %113 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.8
  store i32 %.088147, ptr %113, align 4, !tbaa !7
  %114 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.8, i64 1
  store i32 %.087138, ptr %114, align 4, !tbaa !7
  %115 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.8, i64 2
  store i32 10, ptr %115, align 4, !tbaa !7
  %indvars.iv.next186.9 = add nsw i64 %85, 10
  %116 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.9
  store i32 %.088147, ptr %116, align 4, !tbaa !7
  %117 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.9, i64 1
  store i32 %.087138, ptr %117, align 4, !tbaa !7
  %118 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.9, i64 2
  store i32 11, ptr %118, align 4, !tbaa !7
  %indvars.iv.next186.10 = add nsw i64 %85, 11
  %119 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.10
  store i32 %.088147, ptr %119, align 4, !tbaa !7
  %120 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.10, i64 1
  store i32 %.087138, ptr %120, align 4, !tbaa !7
  %121 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.10, i64 2
  store i32 12, ptr %121, align 4, !tbaa !7
  %indvars.iv.next186.11 = add nsw i64 %85, 12
  %122 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.11
  store i32 %.088147, ptr %122, align 4, !tbaa !7
  %123 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.11, i64 1
  store i32 %.087138, ptr %123, align 4, !tbaa !7
  %124 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.11, i64 2
  store i32 13, ptr %124, align 4, !tbaa !7
  %indvars.iv.next186.12 = add nsw i64 %85, 13
  %125 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.12
  store i32 %.088147, ptr %125, align 4, !tbaa !7
  %126 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.12, i64 1
  store i32 %.087138, ptr %126, align 4, !tbaa !7
  %127 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.12, i64 2
  store i32 14, ptr %127, align 4, !tbaa !7
  %indvars.iv.next186.13 = add nsw i64 %85, 14
  %128 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.13
  store i32 %.088147, ptr %128, align 4, !tbaa !7
  %129 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.13, i64 1
  store i32 %.087138, ptr %129, align 4, !tbaa !7
  %130 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.13, i64 2
  store i32 15, ptr %130, align 4, !tbaa !7
  %indvars.iv.next186.14 = add nsw i64 %85, 15
  %131 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.14
  store i32 %.088147, ptr %131, align 4, !tbaa !7
  %132 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.14, i64 1
  store i32 %.087138, ptr %132, align 4, !tbaa !7
  %133 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.14, i64 2
  store i32 16, ptr %133, align 4, !tbaa !7
  %indvars.iv.next186.15 = add nsw i64 %85, 16
  %134 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.15
  store i32 %.088147, ptr %134, align 4, !tbaa !7
  %135 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.15, i64 1
  store i32 %.087138, ptr %135, align 4, !tbaa !7
  %136 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.15, i64 2
  store i32 17, ptr %136, align 4, !tbaa !7
  %indvars.iv.next186.16 = add nsw i64 %85, 17
  %137 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.16
  store i32 %.088147, ptr %137, align 4, !tbaa !7
  %138 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.16, i64 1
  store i32 %.087138, ptr %138, align 4, !tbaa !7
  %139 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.16, i64 2
  store i32 18, ptr %139, align 4, !tbaa !7
  %indvars.iv.next186.17 = add nsw i64 %85, 18
  %140 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.17
  store i32 %.088147, ptr %140, align 4, !tbaa !7
  %141 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.17, i64 1
  store i32 %.087138, ptr %141, align 4, !tbaa !7
  %142 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.17, i64 2
  store i32 19, ptr %142, align 4, !tbaa !7
  %indvars.iv.next186.18 = add nsw i64 %85, 19
  %143 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.18
  store i32 %.088147, ptr %143, align 4, !tbaa !7
  %144 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.18, i64 1
  store i32 %.087138, ptr %144, align 4, !tbaa !7
  %145 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv.next186.18, i64 2
  store i32 20, ptr %145, align 4, !tbaa !7
  %indvars.iv.next186.19 = add nsw i64 %85, 20
  %146 = add nuw nsw i32 %.087138, 1
  %exitcond.not = icmp eq i32 %146, 21
  br i1 %exitcond.not, label %.split140, label %.preheader104, !llvm.loop !13

.split140:                                        ; preds = %.preheader104
  %147 = add nuw nsw i32 %.088147, 1
  %exitcond188.not = icmp eq i32 %147, 21
  br i1 %exitcond188.not, label %.preheader112.split, label %.preheader108, !llvm.loop !14

.preheader107:                                    ; preds = %.preheader112, %._crit_edge161
  %148 = phi i32 [ %181, %._crit_edge161 ], [ %83, %.preheader112 ]
  %.080162 = phi i32 [ %180, %._crit_edge161 ], [ 0, %.preheader112 ]
  %149 = load i32, ptr @tot, align 4, !tbaa !7
  %150 = icmp sgt i32 %149, 0
  br i1 %150, label %.preheader103.preheader, label %._crit_edge154.thread

.preheader103.preheader:                          ; preds = %.preheader107
  %wide.trip.count = zext nneg i32 %149 to i64
  %.pre = load i32, ptr @cnt, align 16, !tbaa !7
  %.pre217 = load i32, ptr getelementptr inbounds (i8, ptr @cnt, i64 4), align 4, !tbaa !7
  %.pre218 = load i32, ptr getelementptr inbounds (i8, ptr @cnt, i64 8), align 8, !tbaa !7
  br label %.preheader103

.preheader103:                                    ; preds = %.preheader103.preheader, %.preheader103
  %indvars.iv206 = phi i64 [ 0, %.preheader103.preheader ], [ %indvars.iv.next207, %.preheader103 ]
  %.079152 = phi i32 [ 1061109567, %.preheader103.preheader ], [ %.1.fr, %.preheader103 ]
  %151 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv206, i64 0
  %152 = load i32, ptr %151, align 4, !tbaa !7
  %153 = mul nsw i32 %.pre, %152
  %154 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv206, i64 1
  %155 = load i32, ptr %154, align 4, !tbaa !7
  %156 = mul nsw i32 %.pre217, %155
  %157 = add nsw i32 %156, %153
  %158 = getelementptr inbounds [8000 x [3 x i32]], ptr @val, i64 0, i64 %indvars.iv206, i64 2
  %159 = load i32, ptr %158, align 4, !tbaa !7
  %160 = mul nsw i32 %.pre218, %159
  %161 = add nsw i32 %160, %157
  %162 = icmp eq i32 %.079152, 1061109567
  %.not98 = icmp eq i32 %.079152, %161
  %spec.store.select = select i1 %.not98, i32 %.079152, i32 -1
  %.1 = select i1 %162, i32 %161, i32 %spec.store.select
  %.1.fr = freeze i32 %.1
  %indvars.iv.next207 = add nuw nsw i64 %indvars.iv206, 1
  %exitcond209.not = icmp eq i64 %indvars.iv.next207, %wide.trip.count
  br i1 %exitcond209.not, label %._crit_edge154, label %.preheader103, !llvm.loop !23

._crit_edge154:                                   ; preds = %.preheader103
  %163 = icmp eq i32 %.1.fr, 1061109567
  br i1 %163, label %._crit_edge154.thread, label %164

._crit_edge154.thread:                            ; preds = %.preheader107, %._crit_edge154
  br label %164

164:                                              ; preds = %._crit_edge154, %._crit_edge154.thread
  %165 = phi i32 [ -1, %._crit_edge154.thread ], [ %.1.fr, %._crit_edge154 ]
  %166 = add nsw i32 %148, -1
  %167 = icmp eq i32 %.080162, %166
  %168 = zext i1 %167 to i64
  %169 = getelementptr inbounds [3 x i8], ptr @.str.4, i64 0, i64 %168
  %170 = load i8, ptr %169, align 1, !tbaa !15
  %171 = sext i8 %170 to i32
  %172 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %165, i32 noundef %171)
  %173 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull @str)
  %174 = load i8, ptr @str, align 16, !tbaa !15
  %.not159 = icmp eq i8 %174, 0
  br i1 %.not159, label %._crit_edge161, label %.preheader102.lr.ph

.preheader102.lr.ph:                              ; preds = %164
  %175 = load ptr, ptr @buf, align 8, !tbaa !17
  %176 = load i8, ptr %175, align 1, !tbaa !15
  %177 = icmp eq i8 %176, 0
  br i1 %177, label %._crit_edge161, label %.preheader102

.preheader102thread-pre-split:                    ; preds = %.loopexit
  %.pr222 = load i8, ptr %175, align 1, !tbaa !15
  br label %.preheader102

.preheader102:                                    ; preds = %.preheader102.lr.ph, %.preheader102thread-pre-split
  %178 = phi i8 [ %.pr222, %.preheader102thread-pre-split ], [ %176, %.preheader102.lr.ph ]
  %indvars.iv212 = phi i64 [ %indvars.iv.next213, %.preheader102thread-pre-split ], [ 0, %.preheader102.lr.ph ]
  %179 = phi i8 [ %197, %.preheader102thread-pre-split ], [ %174, %.preheader102.lr.ph ]
  %.not96156 = icmp eq i8 %178, 0
  br i1 %.not96156, label %.loopexit, label %.lr.ph158

._crit_edge161:                                   ; preds = %.loopexit, %.preheader102.lr.ph, %164
  %180 = add nuw nsw i32 %.080162, 1
  %181 = load i32, ptr @m, align 4, !tbaa !7
  %182 = icmp slt i32 %180, %181
  br i1 %182, label %.preheader107, label %.loopexit111, !llvm.loop !24

.lr.ph158:                                        ; preds = %.preheader102, %193
  %indvars.iv210 = phi i64 [ %indvars.iv.next211, %193 ], [ 0, %.preheader102 ]
  %183 = phi i8 [ %195, %193 ], [ %178, %.preheader102 ]
  %184 = icmp eq i8 %179, %183
  br i1 %184, label %185, label %193

185:                                              ; preds = %.lr.ph158
  %186 = and i64 %indvars.iv210, 1
  %.not97 = icmp eq i64 %186, 0
  %187 = select i1 %.not97, i32 1, i32 -1
  %188 = lshr i64 %indvars.iv210, 1
  %189 = and i64 %188, 2147483647
  %190 = getelementptr inbounds [4 x i32], ptr @cnt, i64 0, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !7
  %192 = add nsw i32 %191, %187
  store i32 %192, ptr %190, align 4, !tbaa !7
  br label %.loopexit

193:                                              ; preds = %.lr.ph158
  %indvars.iv.next211 = add nuw nsw i64 %indvars.iv210, 1
  %194 = getelementptr inbounds i8, ptr %175, i64 %indvars.iv.next211
  %195 = load i8, ptr %194, align 1, !tbaa !15
  %.not96 = icmp eq i8 %195, 0
  br i1 %.not96, label %.loopexit, label %.lr.ph158, !llvm.loop !25

.loopexit:                                        ; preds = %193, %.preheader102, %185
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %196 = getelementptr inbounds [100 x i8], ptr @str, i64 0, i64 %indvars.iv.next213
  %197 = load i8, ptr %196, align 1, !tbaa !15
  %.not = icmp eq i8 %197, 0
  br i1 %.not, label %._crit_edge161, label %.preheader102thread-pre-split, !llvm.loop !26

._crit_edge163:                                   ; preds = %.loopexit111, %0
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}
!15 = !{!9, !9, i64 0}
!16 = distinct !{!16, !6}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !9, i64 0}
!19 = distinct !{!19, !6}
!20 = distinct !{!20, !6, !21}
!21 = !{!"llvm.loop.unswitch.partial.disable"}
!22 = distinct !{!22, !6}
!23 = distinct !{!23, !6}
!24 = distinct !{!24, !6}
!25 = distinct !{!25, !6}
!26 = distinct !{!26, !6, !21}


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