; LLVM IR from tangjz/acm-icpc :: codeforces/complete (300B)

; 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
@f = external dso_local global [50 x i32], align 16
@c = external dso_local global [50 x [5 x i32]], align 16
@vis = external dso_local global [50 x i32], align 16
@cnt = external dso_local global [3 x i32], align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4findi(i32 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %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 i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %24, %0
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = load i32, ptr @n, align 4, !tbaa !5
  %17 = icmp sle i32 %15, %16
  br i1 %17, label %19, label %18

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

19:                                               ; preds = %14
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %22
  store i32 %20, ptr %23, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %19
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %2, align 4, !tbaa !5
  br label %14, !llvm.loop !9

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

28:                                               ; preds = %41, %27
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = load i32, ptr @m, align 4, !tbaa !5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %33, label %32

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

33:                                               ; preds = %28
  %34 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
  %35 = load i32, ptr %5, align 4, !tbaa !5
  %36 = call noundef i32 @_Z4findi(i32 noundef %35)
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = call noundef i32 @_Z4findi(i32 noundef %37)
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %39
  store i32 %36, ptr %40, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %33
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %3, align 4, !tbaa !5
  br label %28, !llvm.loop !11

44:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %75, %44
  %46 = load i32, ptr %6, align 4, !tbaa !5
  %47 = load i32, ptr @n, align 4, !tbaa !5
  %48 = icmp sle i32 %46, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  store i32 8, ptr %7, align 4
  br label %78

50:                                               ; preds = %45
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = load i32, ptr %6, align 4, !tbaa !5
  %53 = call noundef i32 @_Z4findi(i32 noundef %52)
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %54
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = call noundef i32 @_Z4findi(i32 noundef %56)
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %58
  %60 = getelementptr inbounds [5 x i32], ptr %59, i64 0, i64 0
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %60, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [5 x i32], ptr %55, i64 0, i64 %63
  store i32 %51, ptr %64, align 4, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = call noundef i32 @_Z4findi(i32 noundef %65)
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %67
  %69 = getelementptr inbounds [5 x i32], ptr %68, i64 0, i64 0
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = icmp sgt i32 %70, 3
  br i1 %71, label %72, label %74

72:                                               ; preds = %50
  %73 = call i32 @puts(ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  br label %78

74:                                               ; preds = %50
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %6, align 4, !tbaa !5
  br label %45, !llvm.loop !12

78:                                               ; preds = %72, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %79 = load i32, ptr %7, align 4
  switch i32 %79, label %276 [
    i32 8, label %80
    i32 1, label %274
  ]

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

81:                                               ; preds = %104, %80
  %82 = load i32, ptr %8, align 4, !tbaa !5
  %83 = load i32, ptr @n, align 4, !tbaa !5
  %84 = icmp sle i32 %82, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %81
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %107

86:                                               ; preds = %81
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = load i32, ptr %8, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = icmp eq i32 %87, %91
  br i1 %92, label %93, label %103

93:                                               ; preds = %86
  %94 = load i32, ptr %8, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %95
  %97 = getelementptr inbounds [5 x i32], ptr %96, i64 0, i64 0
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [3 x i32], ptr @cnt, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %100, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %93, %86
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %8, align 4, !tbaa !5
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %8, align 4, !tbaa !5
  br label %81, !llvm.loop !13

107:                                              ; preds = %85
  %108 = load i32, ptr getelementptr inbounds ([3 x i32], ptr @cnt, i64 0, i64 1), align 4, !tbaa !5
  %109 = load i32, ptr getelementptr inbounds ([3 x i32], ptr @cnt, i64 0, i64 2), align 4, !tbaa !5
  %110 = icmp slt i32 %108, %109
  br i1 %110, label %111, label %113

111:                                              ; preds = %107
  %112 = call i32 @puts(ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  br label %274

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

114:                                              ; preds = %243, %113
  %115 = load i32, ptr %9, align 4, !tbaa !5
  %116 = load i32, ptr @n, align 4, !tbaa !5
  %117 = icmp sle i32 %115, %116
  br i1 %117, label %119, label %118

118:                                              ; preds = %114
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %246

119:                                              ; preds = %114
  %120 = load i32, ptr %9, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %121
  %123 = getelementptr inbounds [5 x i32], ptr %122, i64 0, i64 0
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = icmp eq i32 %124, 3
  br i1 %125, label %126, label %164

126:                                              ; preds = %119
  %127 = load i32, ptr %9, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %128
  %130 = getelementptr inbounds [5 x i32], ptr %129, i64 0, i64 1
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %133
  %135 = getelementptr inbounds [5 x i32], ptr %134, i64 0, i64 2
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = load i32, ptr %9, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %138
  %140 = getelementptr inbounds [5 x i32], ptr %139, i64 0, i64 3
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %131, i32 noundef %136, i32 noundef %141)
  %143 = load i32, ptr %9, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %144
  %146 = getelementptr inbounds [5 x i32], ptr %145, i64 0, i64 3
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %148
  store i32 1, ptr %149, align 4, !tbaa !5
  %150 = load i32, ptr %9, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %151
  %153 = getelementptr inbounds [5 x i32], ptr %152, i64 0, i64 2
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %155
  store i32 1, ptr %156, align 4, !tbaa !5
  %157 = load i32, ptr %9, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %158
  %160 = getelementptr inbounds [5 x i32], ptr %159, i64 0, i64 1
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %162
  store i32 1, ptr %163, align 4, !tbaa !5
  br label %242

164:                                              ; preds = %119
  %165 = load i32, ptr %9, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %166
  %168 = getelementptr inbounds [5 x i32], ptr %167, i64 0, i64 0
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = icmp eq i32 %169, 2
  br i1 %170, label %171, label %241

171:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %172

172:                                              ; preds = %236, %171
  %173 = load i32, ptr %10, align 4, !tbaa !5
  %174 = load i32, ptr @n, align 4, !tbaa !5
  %175 = icmp sle i32 %173, %174
  br i1 %175, label %177, label %176

176:                                              ; preds = %172
  store i32 17, ptr %7, align 4
  br label %239

177:                                              ; preds = %172
  %178 = load i32, ptr %10, align 4, !tbaa !5
  %179 = load i32, ptr %10, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %180
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = icmp eq i32 %178, %182
  br i1 %183, label %184, label %235

184:                                              ; preds = %177
  %185 = load i32, ptr %10, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %235, label %190

190:                                              ; preds = %184
  %191 = load i32, ptr %10, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %192
  %194 = getelementptr inbounds [5 x i32], ptr %193, i64 0, i64 0
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = icmp eq i32 %195, 1
  br i1 %196, label %197, label %235

197:                                              ; preds = %190
  %198 = load i32, ptr %9, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %199
  %201 = getelementptr inbounds [5 x i32], ptr %200, i64 0, i64 1
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = load i32, ptr %9, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %204
  %206 = getelementptr inbounds [5 x i32], ptr %205, i64 0, i64 2
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = load i32, ptr %10, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %209
  %211 = getelementptr inbounds [5 x i32], ptr %210, i64 0, i64 1
  %212 = load i32, ptr %211, align 4, !tbaa !5
  %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %202, i32 noundef %207, i32 noundef %212)
  %214 = load i32, ptr %10, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %215
  %217 = getelementptr inbounds [5 x i32], ptr %216, i64 0, i64 1
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %219
  store i32 1, ptr %220, align 4, !tbaa !5
  %221 = load i32, ptr %9, align 4, !tbaa !5
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %222
  %224 = getelementptr inbounds [5 x i32], ptr %223, i64 0, i64 2
  %225 = load i32, ptr %224, align 4, !tbaa !5
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %226
  store i32 1, ptr %227, align 4, !tbaa !5
  %228 = load i32, ptr %9, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %229
  %231 = getelementptr inbounds [5 x i32], ptr %230, i64 0, i64 1
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %233
  store i32 1, ptr %234, align 4, !tbaa !5
  store i32 17, ptr %7, align 4
  br label %239

235:                                              ; preds = %190, %184, %177
  br label %236

236:                                              ; preds = %235
  %237 = load i32, ptr %10, align 4, !tbaa !5
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %10, align 4, !tbaa !5
  br label %172, !llvm.loop !14

239:                                              ; preds = %197, %176
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240, %164
  br label %242

242:                                              ; preds = %241, %126
  br label %243

243:                                              ; preds = %242
  %244 = load i32, ptr %9, align 4, !tbaa !5
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %9, align 4, !tbaa !5
  br label %114, !llvm.loop !15

246:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %247

247:                                              ; preds = %270, %246
  %248 = load i32, ptr %11, align 4, !tbaa !5
  %249 = load i32, ptr @n, align 4, !tbaa !5
  %250 = icmp sle i32 %248, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %247
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %273

252:                                              ; preds = %247
  %253 = load i32, ptr %11, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %254
  %256 = load i32, ptr %255, align 4, !tbaa !5
  %257 = icmp ne i32 %256, 0
  br i1 %257, label %269, label %258

258:                                              ; preds = %252
  %259 = load i32, ptr %11, align 4, !tbaa !5
  %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %259)
  %261 = load i32, ptr %12, align 4, !tbaa !5
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %12, align 4, !tbaa !5
  %263 = load i32, ptr %12, align 4, !tbaa !5
  %264 = srem i32 %263, 3
  %265 = icmp eq i32 %264, 0
  br i1 %265, label %266, label %268

266:                                              ; preds = %258
  %267 = call i32 @putchar(i32 noundef 10)
  br label %268

268:                                              ; preds = %266, %258
  br label %269

269:                                              ; preds = %268, %252
  br label %270

270:                                              ; preds = %269
  %271 = load i32, ptr %11, align 4, !tbaa !5
  %272 = add nsw i32 %271, 1
  store i32 %272, ptr %11, align 4, !tbaa !5
  br label %247, !llvm.loop !16

273:                                              ; preds = %251
  store i32 0, ptr %1, align 4
  br label %274

274:                                              ; preds = %273, %111, %78
  %275 = load i32, ptr %1, align 4
  ret i32 %275

276:                                              ; preds = %78
  unreachable
}

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

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

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

declare i32 @puts(ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare i32 @putchar(i32 noundef) #4

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


; 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
@f = external dso_local local_unnamed_addr global [50 x i32], align 16
@c = external dso_local local_unnamed_addr global [50 x [5 x i32]], align 16
@vis = external dso_local local_unnamed_addr global [50 x i32], align 16
@cnt = external dso_local local_unnamed_addr global [3 x i32], align 4
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4findi(i32 noundef) local_unnamed_addr #0

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

.lr.ph.preheader:                                 ; preds = %0
  %5 = add nuw i32 %4, 1
  %wide.trip.count = zext i32 %5 to i64
  %6 = zext nneg i32 %4 to i64
  %min.iters.check = icmp ult i32 %4, 8
  br i1 %min.iters.check, label %.lr.ph.preheader132, label %vector.ph

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

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %6, 2147483640
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %offset.idx = or disjoint i64 %index, 1
  %7 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %offset.idx
  %8 = getelementptr inbounds i8, ptr %7, i64 16
  store <4 x i32> %vec.ind, ptr %7, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %8, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %9 = icmp eq i64 %index.next, %n.vec
  br i1 %9, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %6
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader132

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %10 = load i32, ptr @m, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph76, label %._crit_edge77

.lr.ph:                                           ; preds = %.lr.ph.preheader132, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader132 ]
  %12 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %indvars.iv
  %13 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %13, ptr %12, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge77.loopexit:                           ; preds = %.lr.ph76
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge77

._crit_edge77:                                    ; preds = %._crit_edge77.loopexit, %._crit_edge
  %14 = phi i32 [ %.pre, %._crit_edge77.loopexit ], [ %4, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  %.not5878 = icmp slt i32 %14, 1
  br i1 %.not5878, label %._crit_edge85.thread, label %.lr.ph81

.lr.ph76:                                         ; preds = %._crit_edge, %.lr.ph76
  %.05374 = phi i32 [ %22, %.lr.ph76 ], [ 0, %._crit_edge ]
  %15 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = call noundef i32 @_Z4findi(i32 noundef %16)
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = call noundef i32 @_Z4findi(i32 noundef %18)
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %20
  store i32 %17, ptr %21, align 4, !tbaa !5
  %22 = add nuw nsw i32 %.05374, 1
  %23 = load i32, ptr @m, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %.lr.ph76, label %._crit_edge77.loopexit, !llvm.loop !14

25:                                               ; preds = %.lr.ph81
  %26 = add nuw nsw i32 %.05279, 1
  %27 = load i32, ptr @n, align 4, !tbaa !5
  %.not58.not = icmp slt i32 %.05279, %27
  br i1 %.not58.not, label %.lr.ph81, label %.preheader71, !llvm.loop !15

.preheader71:                                     ; preds = %25
  %.not5982 = icmp slt i32 %27, 1
  br i1 %.not5982, label %._crit_edge85, label %.lr.ph84.preheader

.lr.ph84.preheader:                               ; preds = %.preheader71
  %28 = zext nneg i32 %27 to i64
  %xtraiter = and i64 %28, 1
  %29 = icmp eq i32 %27, 1
  br i1 %29, label %._crit_edge85.loopexit.unr-lcssa, label %.lr.ph84.preheader.new

.lr.ph84.preheader.new:                           ; preds = %.lr.ph84.preheader
  %unroll_iter = and i64 %28, 2147483646
  br label %.lr.ph84

.lr.ph81:                                         ; preds = %._crit_edge77, %25
  %.05279 = phi i32 [ %26, %25 ], [ 1, %._crit_edge77 ]
  %30 = call noundef i32 @_Z4findi(i32 noundef %.05279)
  %31 = sext i32 %30 to i64
  %32 = call noundef i32 @_Z4findi(i32 noundef %.05279)
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %34, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %31, i64 %37
  store i32 %.05279, ptr %38, align 4, !tbaa !5
  %39 = call noundef i32 @_Z4findi(i32 noundef %.05279)
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = icmp sgt i32 %42, 3
  br i1 %43, label %.loopexit.sink.split, label %25

._crit_edge85.loopexit.unr-lcssa:                 ; preds = %83, %.lr.ph84.preheader
  %indvars.iv97.unr = phi i64 [ 1, %.lr.ph84.preheader ], [ %indvars.iv.next98.1, %83 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge85, label %.lr.ph84.epil

.lr.ph84.epil:                                    ; preds = %._crit_edge85.loopexit.unr-lcssa
  %44 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %indvars.iv97.unr
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = zext i32 %45 to i64
  %47 = icmp eq i64 %indvars.iv97.unr, %46
  br i1 %47, label %48, label %._crit_edge85

48:                                               ; preds = %.lr.ph84.epil
  %49 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %indvars.iv97.unr
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [3 x i32], ptr @cnt, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %52, align 4, !tbaa !5
  br label %._crit_edge85

._crit_edge85:                                    ; preds = %._crit_edge85.loopexit.unr-lcssa, %48, %.lr.ph84.epil, %.preheader71
  %55 = load i32, ptr getelementptr inbounds (i8, ptr @cnt, i64 4), align 4, !tbaa !5
  %56 = load i32, ptr getelementptr inbounds (i8, ptr @cnt, i64 8), align 4, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %.loopexit.sink.split, label %.preheader70

._crit_edge85.thread:                             ; preds = %._crit_edge77
  %58 = load i32, ptr getelementptr inbounds (i8, ptr @cnt, i64 4), align 4, !tbaa !5
  %59 = load i32, ptr getelementptr inbounds (i8, ptr @cnt, i64 8), align 4, !tbaa !5
  %60 = icmp slt i32 %58, %59
  br i1 %60, label %.loopexit.sink.split, label %.loopexit

.preheader70:                                     ; preds = %._crit_edge85
  br i1 %.not5982, label %.loopexit, label %.lr.ph91

.lr.ph84:                                         ; preds = %83, %.lr.ph84.preheader.new
  %indvars.iv97 = phi i64 [ 1, %.lr.ph84.preheader.new ], [ %indvars.iv.next98.1, %83 ]
  %niter = phi i64 [ 0, %.lr.ph84.preheader.new ], [ %niter.next.1, %83 ]
  %61 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %indvars.iv97
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = zext i32 %62 to i64
  %64 = icmp eq i64 %indvars.iv97, %63
  br i1 %64, label %65, label %.lr.ph84.1

65:                                               ; preds = %.lr.ph84
  %66 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %indvars.iv97
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [3 x i32], ptr @cnt, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %69, align 4, !tbaa !5
  br label %.lr.ph84.1

.lr.ph84.1:                                       ; preds = %.lr.ph84, %65
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %72 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %indvars.iv.next98
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = zext i32 %73 to i64
  %75 = icmp eq i64 %indvars.iv.next98, %74
  br i1 %75, label %76, label %83

76:                                               ; preds = %.lr.ph84.1
  %77 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %indvars.iv.next98
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [3 x i32], ptr @cnt, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %80, align 4, !tbaa !5
  br label %83

83:                                               ; preds = %76, %.lr.ph84.1
  %indvars.iv.next98.1 = add nuw nsw i64 %indvars.iv97, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge85.loopexit.unr-lcssa, label %.lr.ph84, !llvm.loop !16

.preheader:                                       ; preds = %.loopexit69
  %84 = icmp slt i32 %126, 1
  br i1 %84, label %.loopexit, label %.lr.ph95

.lr.ph91:                                         ; preds = %.preheader70, %.loopexit69
  %indvars.iv107 = phi i64 [ %indvars.iv.next108, %.loopexit69 ], [ 1, %.preheader70 ]
  %85 = phi i32 [ %126, %.loopexit69 ], [ %27, %.preheader70 ]
  %86 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %indvars.iv107
  %87 = load i32, ptr %86, align 4, !tbaa !5
  switch i32 %87, label %.loopexit69 [
    i32 3, label %89
    i32 2, label %.preheader68
  ]

.preheader68:                                     ; preds = %.lr.ph91
  %.not6386 = icmp slt i32 %85, 1
  br i1 %.not6386, label %.loopexit69, label %.lr.ph88.preheader

.lr.ph88.preheader:                               ; preds = %.preheader68
  %88 = add nuw i32 %85, 1
  %wide.trip.count105 = zext i32 %88 to i64
  br label %.lr.ph88

89:                                               ; preds = %.lr.ph91
  %90 = getelementptr inbounds i8, ptr %86, i64 4
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %86, i64 8
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %86, i64 12
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %91, i32 noundef %93, i32 noundef %95)
  br label %.loopexit69.sink.split

.lr.ph88:                                         ; preds = %.lr.ph88.preheader, %116
  %indvars.iv102 = phi i64 [ 1, %.lr.ph88.preheader ], [ %indvars.iv.next103, %116 ]
  %97 = getelementptr inbounds [50 x i32], ptr @f, i64 0, i64 %indvars.iv102
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = icmp eq i64 %indvars.iv102, %99
  br i1 %100, label %101, label %116

101:                                              ; preds = %.lr.ph88
  %102 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %indvars.iv102
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %.not64 = icmp eq i32 %103, 0
  br i1 %.not64, label %104, label %116

104:                                              ; preds = %101
  %105 = getelementptr inbounds [50 x [5 x i32]], ptr @c, i64 0, i64 %indvars.iv102
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = icmp eq i32 %106, 1
  br i1 %107, label %108, label %116

108:                                              ; preds = %104
  %109 = getelementptr inbounds i8, ptr %86, i64 4
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %86, i64 8
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %105, i64 4
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %110, i32 noundef %112, i32 noundef %114)
  br label %.loopexit69.sink.split

116:                                              ; preds = %.lr.ph88, %101, %104
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %exitcond106.not = icmp eq i64 %indvars.iv.next103, %wide.trip.count105
  br i1 %exitcond106.not, label %.loopexit69, label %.lr.ph88, !llvm.loop !17

.loopexit69.sink.split:                           ; preds = %89, %108
  %.sink126 = phi ptr [ %113, %108 ], [ %94, %89 ]
  %.sink124 = phi ptr [ %111, %108 ], [ %92, %89 ]
  %.sink122 = phi ptr [ %109, %108 ], [ %90, %89 ]
  %117 = load i32, ptr %.sink126, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %118
  store i32 1, ptr %119, align 4, !tbaa !5
  %120 = load i32, ptr %.sink124, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %121
  store i32 1, ptr %122, align 4, !tbaa !5
  %123 = load i32, ptr %.sink122, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %124
  store i32 1, ptr %125, align 4, !tbaa !5
  br label %.loopexit69

.loopexit69:                                      ; preds = %116, %.loopexit69.sink.split, %.preheader68, %.lr.ph91
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %126 = load i32, ptr @n, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %.not60.not = icmp slt i64 %indvars.iv107, %127
  br i1 %.not60.not, label %.lr.ph91, label %.preheader, !llvm.loop !18

.lr.ph95:                                         ; preds = %.preheader, %138
  %indvars.iv110 = phi i64 [ %indvars.iv.next111, %138 ], [ 1, %.preheader ]
  %.094 = phi i32 [ %.1, %138 ], [ 0, %.preheader ]
  %128 = getelementptr inbounds [50 x i32], ptr @vis, i64 0, i64 %indvars.iv110
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %.not62 = icmp eq i32 %129, 0
  br i1 %.not62, label %130, label %138

130:                                              ; preds = %.lr.ph95
  %131 = trunc nuw nsw i64 %indvars.iv110 to i32
  %132 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %131)
  %133 = add nsw i32 %.094, 1
  %134 = srem i32 %133, 3
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %136, label %138

136:                                              ; preds = %130
  %137 = call i32 @putchar(i32 noundef 10)
  br label %138

138:                                              ; preds = %.lr.ph95, %136, %130
  %.1 = phi i32 [ %.094, %.lr.ph95 ], [ %133, %136 ], [ %133, %130 ]
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %139 = load i32, ptr @n, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %.not61.not = icmp slt i64 %indvars.iv110, %140
  br i1 %.not61.not, label %.lr.ph95, label %.loopexit, !llvm.loop !19

.loopexit.sink.split:                             ; preds = %.lr.ph81, %._crit_edge85, %._crit_edge85.thread
  %141 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.loopexit

.loopexit:                                        ; preds = %138, %.loopexit.sink.split, %._crit_edge85.thread, %.preheader70, %.preheader
  ret i32 0
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nofree nounwind uwtable
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


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