; LLVM IR from HarshCasper/NeoAlgo :: C/dp (Max_Sub_SquareMatrixwithAll_1s)

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

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca 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
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = zext i32 %25 to i64
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = zext i32 %27 to i64
  %29 = call ptr @llvm.stacksave.p0()
  store ptr %29, ptr %4, align 8
  %30 = mul nuw i64 %26, %28
  %31 = alloca i32, i64 %30, align 16
  store i64 %26, ptr %5, align 8
  store i64 %28, ptr %6, align 8
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = zext i32 %34 to i64
  %36 = mul nuw i64 %33, %35
  %37 = alloca i32, i64 %36, align 16
  store i64 %33, ptr %7, align 8
  store i64 %35, ptr %8, align 8
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %40 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %2)
  %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %42 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %3)
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %68, %0
  %45 = load i32, ptr %9, align 4, !tbaa !5
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %71

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

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

54:                                               ; preds = %50
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %67

55:                                               ; preds = %50
  %56 = load i32, ptr %9, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = mul nsw i64 %57, %28
  %59 = getelementptr inbounds i32, ptr %31, i64 %58
  %60 = load i32, ptr %11, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds i32, ptr %59, i64 %61
  %63 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %62)
  br label %64

64:                                               ; preds = %55
  %65 = load i32, ptr %11, align 4, !tbaa !5
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %11, align 4, !tbaa !5
  br label %50, !llvm.loop !9

67:                                               ; preds = %54
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %9, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %9, align 4, !tbaa !5
  br label %44, !llvm.loop !11

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

72:                                               ; preds = %89, %71
  %73 = load i32, ptr %12, align 4, !tbaa !5
  %74 = load i32, ptr %2, align 4, !tbaa !5
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %92

77:                                               ; preds = %72
  %78 = load i32, ptr %12, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = mul nsw i64 %79, %28
  %81 = getelementptr inbounds i32, ptr %31, i64 %80
  %82 = getelementptr inbounds i32, ptr %81, i64 0
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = load i32, ptr %12, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = mul nsw i64 %85, %35
  %87 = getelementptr inbounds i32, ptr %37, i64 %86
  %88 = getelementptr inbounds i32, ptr %87, i64 0
  store i32 %83, ptr %88, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %77
  %90 = load i32, ptr %12, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %12, align 4, !tbaa !5
  br label %72, !llvm.loop !12

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

93:                                               ; preds = %110, %92
  %94 = load i32, ptr %13, align 4, !tbaa !5
  %95 = load i32, ptr %3, align 4, !tbaa !5
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  store i32 11, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %113

98:                                               ; preds = %93
  %99 = mul nsw i64 0, %28
  %100 = getelementptr inbounds i32, ptr %31, i64 %99
  %101 = load i32, ptr %13, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds i32, ptr %100, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = mul nsw i64 0, %35
  %106 = getelementptr inbounds i32, ptr %37, i64 %105
  %107 = load i32, ptr %13, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i32, ptr %106, i64 %108
  store i32 %104, ptr %109, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %98
  %111 = load i32, ptr %13, align 4, !tbaa !5
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %13, align 4, !tbaa !5
  br label %93, !llvm.loop !13

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

114:                                              ; preds = %213, %113
  %115 = load i32, ptr %14, align 4, !tbaa !5
  %116 = load i32, ptr %2, align 4, !tbaa !5
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %119, label %118

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

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

120:                                              ; preds = %209, %119
  %121 = load i32, ptr %15, align 4, !tbaa !5
  %122 = load i32, ptr %3, align 4, !tbaa !5
  %123 = icmp slt i32 %121, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 17, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %212

125:                                              ; preds = %120
  %126 = load i32, ptr %14, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = mul nsw i64 %127, %28
  %129 = getelementptr inbounds i32, ptr %31, i64 %128
  %130 = load i32, ptr %15, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds i32, ptr %129, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = icmp eq i32 %133, 1
  br i1 %134, label %135, label %200

135:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %136 = load i32, ptr %14, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = mul nsw i64 %137, %35
  %139 = getelementptr inbounds i32, ptr %37, i64 %138
  %140 = load i32, ptr %15, align 4, !tbaa !5
  %141 = sub nsw i32 %140, 1
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i32, ptr %139, i64 %142
  %144 = load i32, ptr %143, align 4, !tbaa !5
  store i32 %144, ptr %16, align 4, !tbaa !5
  %145 = load i32, ptr %16, align 4, !tbaa !5
  %146 = load i32, ptr %14, align 4, !tbaa !5
  %147 = sub nsw i32 %146, 1
  %148 = sext i32 %147 to i64
  %149 = mul nsw i64 %148, %35
  %150 = getelementptr inbounds i32, ptr %37, i64 %149
  %151 = load i32, ptr %15, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds i32, ptr %150, i64 %152
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = icmp sgt i32 %145, %154
  br i1 %155, label %156, label %166

156:                                              ; preds = %135
  %157 = load i32, ptr %14, align 4, !tbaa !5
  %158 = sub nsw i32 %157, 1
  %159 = sext i32 %158 to i64
  %160 = mul nsw i64 %159, %35
  %161 = getelementptr inbounds i32, ptr %37, i64 %160
  %162 = load i32, ptr %15, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds i32, ptr %161, i64 %163
  %165 = load i32, ptr %164, align 4, !tbaa !5
  store i32 %165, ptr %16, align 4, !tbaa !5
  br label %166

166:                                              ; preds = %156, %135
  %167 = load i32, ptr %16, align 4, !tbaa !5
  %168 = load i32, ptr %14, align 4, !tbaa !5
  %169 = sub nsw i32 %168, 1
  %170 = sext i32 %169 to i64
  %171 = mul nsw i64 %170, %35
  %172 = getelementptr inbounds i32, ptr %37, i64 %171
  %173 = load i32, ptr %15, align 4, !tbaa !5
  %174 = sub nsw i32 %173, 1
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds i32, ptr %172, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = icmp sgt i32 %167, %177
  br i1 %178, label %179, label %190

179:                                              ; preds = %166
  %180 = load i32, ptr %14, align 4, !tbaa !5
  %181 = sub nsw i32 %180, 1
  %182 = sext i32 %181 to i64
  %183 = mul nsw i64 %182, %35
  %184 = getelementptr inbounds i32, ptr %37, i64 %183
  %185 = load i32, ptr %15, align 4, !tbaa !5
  %186 = sub nsw i32 %185, 1
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds i32, ptr %184, i64 %187
  %189 = load i32, ptr %188, align 4, !tbaa !5
  store i32 %189, ptr %16, align 4, !tbaa !5
  br label %190

190:                                              ; preds = %179, %166
  %191 = load i32, ptr %16, align 4, !tbaa !5
  %192 = add nsw i32 %191, 1
  %193 = load i32, ptr %14, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = mul nsw i64 %194, %35
  %196 = getelementptr inbounds i32, ptr %37, i64 %195
  %197 = load i32, ptr %15, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds i32, ptr %196, i64 %198
  store i32 %192, ptr %199, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %208

200:                                              ; preds = %125
  %201 = load i32, ptr %14, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = mul nsw i64 %202, %35
  %204 = getelementptr inbounds i32, ptr %37, i64 %203
  %205 = load i32, ptr %15, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds i32, ptr %204, i64 %206
  store i32 0, ptr %207, align 4, !tbaa !5
  br label %208

208:                                              ; preds = %200, %190
  br label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %15, align 4, !tbaa !5
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %15, align 4, !tbaa !5
  br label %120, !llvm.loop !14

212:                                              ; preds = %124
  br label %213

213:                                              ; preds = %212
  %214 = load i32, ptr %14, align 4, !tbaa !5
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %14, align 4, !tbaa !5
  br label %114, !llvm.loop !15

216:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %217 = mul nsw i64 0, %35
  %218 = getelementptr inbounds i32, ptr %37, i64 %217
  %219 = getelementptr inbounds i32, ptr %218, i64 0
  %220 = load i32, ptr %219, align 4, !tbaa !5
  store i32 %220, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %221

221:                                              ; preds = %259, %216
  %222 = load i32, ptr %20, align 4, !tbaa !5
  %223 = load i32, ptr %2, align 4, !tbaa !5
  %224 = icmp slt i32 %222, %223
  br i1 %224, label %226, label %225

225:                                              ; preds = %221
  store i32 20, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %262

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

227:                                              ; preds = %255, %226
  %228 = load i32, ptr %21, align 4, !tbaa !5
  %229 = load i32, ptr %3, align 4, !tbaa !5
  %230 = icmp slt i32 %228, %229
  br i1 %230, label %232, label %231

231:                                              ; preds = %227
  store i32 23, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %258

232:                                              ; preds = %227
  %233 = load i32, ptr %17, align 4, !tbaa !5
  %234 = load i32, ptr %20, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = mul nsw i64 %235, %35
  %237 = getelementptr inbounds i32, ptr %37, i64 %236
  %238 = load i32, ptr %21, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds i32, ptr %237, i64 %239
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = icmp slt i32 %233, %241
  br i1 %242, label %243, label %254

243:                                              ; preds = %232
  %244 = load i32, ptr %20, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = mul nsw i64 %245, %35
  %247 = getelementptr inbounds i32, ptr %37, i64 %246
  %248 = load i32, ptr %21, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds i32, ptr %247, i64 %249
  %251 = load i32, ptr %250, align 4, !tbaa !5
  store i32 %251, ptr %17, align 4, !tbaa !5
  %252 = load i32, ptr %20, align 4, !tbaa !5
  store i32 %252, ptr %18, align 4, !tbaa !5
  %253 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %253, ptr %19, align 4, !tbaa !5
  br label %254

254:                                              ; preds = %243, %232
  br label %255

255:                                              ; preds = %254
  %256 = load i32, ptr %21, align 4, !tbaa !5
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr %21, align 4, !tbaa !5
  br label %227, !llvm.loop !16

258:                                              ; preds = %231
  br label %259

259:                                              ; preds = %258
  %260 = load i32, ptr %20, align 4, !tbaa !5
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %20, align 4, !tbaa !5
  br label %221, !llvm.loop !17

262:                                              ; preds = %225
  %263 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %265 = load i32, ptr %18, align 4, !tbaa !5
  store i32 %265, ptr %23, align 4, !tbaa !5
  br label %266

266:                                              ; preds = %299, %262
  %267 = load i32, ptr %23, align 4, !tbaa !5
  %268 = load i32, ptr %18, align 4, !tbaa !5
  %269 = load i32, ptr %17, align 4, !tbaa !5
  %270 = sub nsw i32 %268, %269
  %271 = icmp sgt i32 %267, %270
  br i1 %271, label %273, label %272

272:                                              ; preds = %266
  store i32 26, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %302

273:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %274 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %274, ptr %24, align 4, !tbaa !5
  br label %275

275:                                              ; preds = %292, %273
  %276 = load i32, ptr %24, align 4, !tbaa !5
  %277 = load i32, ptr %19, align 4, !tbaa !5
  %278 = load i32, ptr %17, align 4, !tbaa !5
  %279 = sub nsw i32 %277, %278
  %280 = icmp sgt i32 %276, %279
  br i1 %280, label %282, label %281

281:                                              ; preds = %275
  store i32 29, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %295

282:                                              ; preds = %275
  %283 = load i32, ptr %23, align 4, !tbaa !5
  %284 = sext i32 %283 to i64
  %285 = mul nsw i64 %284, %28
  %286 = getelementptr inbounds i32, ptr %31, i64 %285
  %287 = load i32, ptr %24, align 4, !tbaa !5
  %288 = sext i32 %287 to i64
  %289 = getelementptr inbounds i32, ptr %286, i64 %288
  %290 = load i32, ptr %289, align 4, !tbaa !5
  %291 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %290)
  br label %292

292:                                              ; preds = %282
  %293 = load i32, ptr %24, align 4, !tbaa !5
  %294 = add nsw i32 %293, -1
  store i32 %294, ptr %24, align 4, !tbaa !5
  br label %275, !llvm.loop !18

295:                                              ; preds = %281
  %296 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %297 = load i32, ptr %22, align 4, !tbaa !5
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %22, align 4, !tbaa !5
  br label %299

299:                                              ; preds = %295
  %300 = load i32, ptr %23, align 4, !tbaa !5
  %301 = add nsw i32 %300, -1
  store i32 %301, ptr %23, align 4, !tbaa !5
  br label %266, !llvm.loop !19

302:                                              ; preds = %272
  %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %304 = load i32, ptr %22, align 4, !tbaa !5
  %305 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %304)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  %306 = load ptr, ptr %4, align 8
  call void @llvm.stackrestore.p0(ptr %306)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %307 = load i32, ptr %1, align 4
  ret i32 %307
}

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

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

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

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


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

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [0 x i32], align 16
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %4 = tail call ptr @llvm.stacksave.p0()
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %2)
  %8 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %3)
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.preheader91.lr.ph, label %.preheader89

.preheader91.lr.ph:                               ; preds = %0
  %13 = load i32, ptr %3, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.preheader91, label %.preheader89

.preheader91:                                     ; preds = %.preheader91.lr.ph, %._crit_edge
  %15 = phi i32 [ %19, %._crit_edge ], [ %11, %.preheader91.lr.ph ]
  %16 = phi i32 [ %20, %._crit_edge ], [ %13, %.preheader91.lr.ph ]
  %indvars.iv139 = phi i64 [ %indvars.iv.next140, %._crit_edge ], [ 0, %.preheader91.lr.ph ]
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

.preheader90:                                     ; preds = %._crit_edge
  %18 = icmp slt i32 %19, 1
  br label %.preheader89

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader91
  %19 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %15, %.preheader91 ]
  %20 = phi i32 [ %25, %._crit_edge.loopexit ], [ %16, %.preheader91 ]
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %21 = sext i32 %19 to i64
  %22 = icmp slt i64 %indvars.iv.next140, %21
  br i1 %22, label %.preheader91, label %.preheader90, !llvm.loop !9

.lr.ph:                                           ; preds = %.preheader91, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader91 ]
  %23 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %23)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = icmp slt i64 %indvars.iv.next, %26
  br i1 %27, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !12

.preheader89:                                     ; preds = %.preheader90, %.preheader91.lr.ph, %0
  %.not = phi i1 [ true, %0 ], [ false, %.preheader91.lr.ph ], [ %18, %.preheader90 ]
  %.lcssa92176 = phi i32 [ %11, %0 ], [ %11, %.preheader91.lr.ph ], [ %19, %.preheader90 ]
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 1
  %30 = icmp sgt i32 %.lcssa92176, 1
  %31 = icmp sgt i32 %28, 1
  %or.cond = select i1 %30, i1 %31, i1 false
  br i1 %or.cond, label %.preheader87.us.preheader, label %._crit_edge104

.preheader87.us.preheader:                        ; preds = %.preheader89
  %wide.trip.count156 = zext nneg i32 %.lcssa92176 to i64
  %wide.trip.count151 = zext nneg i32 %28 to i64
  %invariant.gep = getelementptr i8, ptr %1, i64 -4
  %.promoted183 = load i32, ptr %1, align 16, !tbaa !5
  %32 = add nsw i64 %wide.trip.count151, -1
  %xtraiter = and i64 %32, 1
  %33 = icmp eq i32 %28, 2
  %unroll_iter = and i64 %32, -2
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader87.us

.preheader87.us:                                  ; preds = %.preheader87.us.preheader, %._crit_edge102.us
  %storemerge.lcssa184 = phi i32 [ %.promoted183, %.preheader87.us.preheader ], [ %storemerge.lcssa, %._crit_edge102.us ]
  %indvars.iv153 = phi i64 [ 1, %.preheader87.us.preheader ], [ %indvars.iv.next154, %._crit_edge102.us ]
  br i1 %33, label %._crit_edge102.us.unr-lcssa, label %.preheader87.us.new

.preheader87.us.new:                              ; preds = %.preheader87.us, %43
  %storemerge182 = phi i32 [ %storemerge.1, %43 ], [ %storemerge.lcssa184, %.preheader87.us ]
  %indvars.iv148 = phi i64 [ %indvars.iv.next149.1, %43 ], [ 1, %.preheader87.us ]
  %niter = phi i64 [ %niter.next.1, %43 ], [ 0, %.preheader87.us ]
  %34 = icmp eq i32 %storemerge182, 1
  br i1 %34, label %35, label %38

35:                                               ; preds = %.preheader87.us.new
  %gep = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv148
  %36 = load i32, ptr %gep, align 4, !tbaa !5
  %spec.select.us = call i32 @llvm.smin.i32(i32 %36, i32 %storemerge182)
  %37 = add nsw i32 %spec.select.us, 1
  br label %38

38:                                               ; preds = %.preheader87.us.new, %35
  %storemerge = phi i32 [ %37, %35 ], [ 0, %.preheader87.us.new ]
  %39 = icmp eq i32 %storemerge, 1
  br i1 %39, label %40, label %43

40:                                               ; preds = %38
  %41 = load i32, ptr %1, align 4, !tbaa !5
  %spec.select.us.1 = call i32 @llvm.smin.i32(i32 %41, i32 %storemerge)
  %42 = add nsw i32 %spec.select.us.1, 1
  br label %43

43:                                               ; preds = %40, %38
  %storemerge.1 = phi i32 [ %42, %40 ], [ 0, %38 ]
  %indvars.iv.next149.1 = add nuw nsw i64 %indvars.iv148, 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_edge102.us.unr-lcssa, label %.preheader87.us.new, !llvm.loop !13

._crit_edge102.us.unr-lcssa:                      ; preds = %43, %.preheader87.us
  %storemerge.lcssa.ph = phi i32 [ poison, %.preheader87.us ], [ %storemerge.1, %43 ]
  %storemerge182.unr = phi i32 [ %storemerge.lcssa184, %.preheader87.us ], [ %storemerge.1, %43 ]
  %indvars.iv148.unr = phi i64 [ 1, %.preheader87.us ], [ %indvars.iv.next149.1, %43 ]
  br i1 %lcmp.mod.not, label %._crit_edge102.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge102.us.unr-lcssa
  %44 = icmp eq i32 %storemerge182.unr, 1
  br i1 %44, label %45, label %._crit_edge102.us

45:                                               ; preds = %.epil.preheader
  %gep.epil = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv148.unr
  %46 = load i32, ptr %gep.epil, align 4, !tbaa !5
  %spec.select.us.epil = call i32 @llvm.smin.i32(i32 %46, i32 %storemerge182.unr)
  %47 = add nsw i32 %spec.select.us.epil, 1
  br label %._crit_edge102.us

._crit_edge102.us:                                ; preds = %.epil.preheader, %45, %._crit_edge102.us.unr-lcssa
  %storemerge.lcssa = phi i32 [ %storemerge.lcssa.ph, %._crit_edge102.us.unr-lcssa ], [ %47, %45 ], [ 0, %.epil.preheader ]
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %exitcond157.not = icmp eq i64 %indvars.iv.next154, %wide.trip.count156
  br i1 %exitcond157.not, label %._crit_edge104.loopexit, label %.preheader87.us, !llvm.loop !14

._crit_edge104.loopexit:                          ; preds = %._crit_edge102.us
  store i32 %storemerge.lcssa, ptr %1, align 16, !tbaa !5
  br label %._crit_edge104

._crit_edge104:                                   ; preds = %._crit_edge104.loopexit, %.preheader89
  %48 = load i32, ptr %1, align 16, !tbaa !5
  %brmerge = select i1 %.not, i1 true, i1 %29
  br i1 %brmerge, label %._crit_edge118, label %.preheader86.us.preheader

.preheader86.us.preheader:                        ; preds = %._crit_edge104
  %wide.trip.count166 = zext nneg i32 %.lcssa92176 to i64
  %wide.trip.count161 = zext nneg i32 %28 to i64
  %49 = load i32, ptr %1, align 16, !tbaa !5
  %50 = add nsw i64 %wide.trip.count161, -1
  %xtraiter192 = and i64 %wide.trip.count161, 3
  %51 = icmp ult i64 %50, 3
  %unroll_iter197 = and i64 %wide.trip.count161, 2147483644
  %lcmp.mod193.not = icmp eq i64 %xtraiter192, 0
  br label %.preheader86.us

.preheader86.us:                                  ; preds = %.preheader86.us.preheader, %._crit_edge110.us
  %indvars.iv163 = phi i64 [ 0, %.preheader86.us.preheader ], [ %indvars.iv.next164, %._crit_edge110.us ]
  %.067116.us = phi i32 [ 0, %.preheader86.us.preheader ], [ %.2.us.lcssa, %._crit_edge110.us ]
  %.068115.us = phi i32 [ 0, %.preheader86.us.preheader ], [ %.270.us.lcssa, %._crit_edge110.us ]
  %.071114.us = phi i32 [ %48, %.preheader86.us.preheader ], [ %.273.us.lcssa, %._crit_edge110.us ]
  %52 = trunc nuw nsw i64 %indvars.iv163 to i32
  br i1 %51, label %._crit_edge110.us.unr-lcssa, label %.preheader86.us.new

.preheader86.us.new:                              ; preds = %.preheader86.us, %.preheader86.us.new
  %indvars.iv158 = phi i64 [ %indvars.iv.next159.3, %.preheader86.us.new ], [ 0, %.preheader86.us ]
  %.1107.us = phi i32 [ %.2.us, %.preheader86.us.new ], [ %.067116.us, %.preheader86.us ]
  %.169106.us = phi i32 [ %.270.us, %.preheader86.us.new ], [ %.068115.us, %.preheader86.us ]
  %.172105.us = phi i32 [ %.273.us, %.preheader86.us.new ], [ %.071114.us, %.preheader86.us ]
  %niter198 = phi i64 [ %niter198.next.3, %.preheader86.us.new ], [ 0, %.preheader86.us ]
  %53 = icmp slt i32 %.172105.us, %49
  %.273.us = call i32 @llvm.smax.i32(i32 %.172105.us, i32 %49)
  %.270.us = select i1 %53, i32 %52, i32 %.169106.us
  %54 = trunc nuw nsw i64 %indvars.iv158 to i32
  %.2.us = select i1 %53, i32 %54, i32 %.1107.us
  %indvars.iv.next159.3 = add nuw nsw i64 %indvars.iv158, 4
  %niter198.next.3 = add i64 %niter198, 4
  %niter198.ncmp.3 = icmp eq i64 %niter198.next.3, %unroll_iter197
  br i1 %niter198.ncmp.3, label %._crit_edge110.us.unr-lcssa, label %.preheader86.us.new, !llvm.loop !15

._crit_edge110.us.unr-lcssa:                      ; preds = %.preheader86.us.new, %.preheader86.us
  %.273.us.lcssa.ph = phi i32 [ poison, %.preheader86.us ], [ %.273.us, %.preheader86.us.new ]
  %.270.us.lcssa.ph = phi i32 [ poison, %.preheader86.us ], [ %.270.us, %.preheader86.us.new ]
  %.2.us.lcssa.ph = phi i32 [ poison, %.preheader86.us ], [ %.2.us, %.preheader86.us.new ]
  %indvars.iv158.unr = phi i64 [ 0, %.preheader86.us ], [ %indvars.iv.next159.3, %.preheader86.us.new ]
  %.1107.us.unr = phi i32 [ %.067116.us, %.preheader86.us ], [ %.2.us, %.preheader86.us.new ]
  %.169106.us.unr = phi i32 [ %.068115.us, %.preheader86.us ], [ %.270.us, %.preheader86.us.new ]
  %.172105.us.unr = phi i32 [ %.071114.us, %.preheader86.us ], [ %.273.us, %.preheader86.us.new ]
  br i1 %lcmp.mod193.not, label %._crit_edge110.us, label %.epil.preheader191

.epil.preheader191:                               ; preds = %._crit_edge110.us.unr-lcssa, %.epil.preheader191
  %indvars.iv158.epil = phi i64 [ %indvars.iv.next159.epil, %.epil.preheader191 ], [ %indvars.iv158.unr, %._crit_edge110.us.unr-lcssa ]
  %.1107.us.epil = phi i32 [ %.2.us.epil, %.epil.preheader191 ], [ %.1107.us.unr, %._crit_edge110.us.unr-lcssa ]
  %.169106.us.epil = phi i32 [ %.270.us.epil, %.epil.preheader191 ], [ %.169106.us.unr, %._crit_edge110.us.unr-lcssa ]
  %.172105.us.epil = phi i32 [ %.273.us.epil, %.epil.preheader191 ], [ %.172105.us.unr, %._crit_edge110.us.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader191 ], [ 0, %._crit_edge110.us.unr-lcssa ]
  %55 = icmp slt i32 %.172105.us.epil, %49
  %.273.us.epil = call i32 @llvm.smax.i32(i32 %.172105.us.epil, i32 %49)
  %.270.us.epil = select i1 %55, i32 %52, i32 %.169106.us.epil
  %56 = trunc nuw nsw i64 %indvars.iv158.epil to i32
  %.2.us.epil = select i1 %55, i32 %56, i32 %.1107.us.epil
  %indvars.iv.next159.epil = add nuw nsw i64 %indvars.iv158.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter192
  br i1 %epil.iter.cmp.not, label %._crit_edge110.us, label %.epil.preheader191, !llvm.loop !16

._crit_edge110.us:                                ; preds = %.epil.preheader191, %._crit_edge110.us.unr-lcssa
  %.273.us.lcssa = phi i32 [ %.273.us.lcssa.ph, %._crit_edge110.us.unr-lcssa ], [ %.273.us.epil, %.epil.preheader191 ]
  %.270.us.lcssa = phi i32 [ %.270.us.lcssa.ph, %._crit_edge110.us.unr-lcssa ], [ %.270.us.epil, %.epil.preheader191 ]
  %.2.us.lcssa = phi i32 [ %.2.us.lcssa.ph, %._crit_edge110.us.unr-lcssa ], [ %.2.us.epil, %.epil.preheader191 ]
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %exitcond167.not = icmp eq i64 %indvars.iv.next164, %wide.trip.count166
  br i1 %exitcond167.not, label %._crit_edge118, label %.preheader86.us, !llvm.loop !18

._crit_edge118:                                   ; preds = %._crit_edge110.us, %._crit_edge104
  %.071.lcssa = phi i32 [ %48, %._crit_edge104 ], [ %.273.us.lcssa, %._crit_edge110.us ]
  %.068.lcssa = phi i32 [ 0, %._crit_edge104 ], [ %.270.us.lcssa, %._crit_edge110.us ]
  %.067.lcssa = phi i32 [ 0, %._crit_edge104 ], [ %.2.us.lcssa, %._crit_edge110.us ]
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %59 = icmp sgt i32 %.071.lcssa, 0
  br i1 %59, label %.preheader.us.preheader, label %._crit_edge130

.preheader.us.preheader:                          ; preds = %._crit_edge118
  %60 = sub nsw i32 %.068.lcssa, %.071.lcssa
  %61 = sub nsw i32 %.067.lcssa, %.071.lcssa
  %62 = sext i32 %.067.lcssa to i64
  %63 = sext i32 %61 to i64
  %64 = sext i32 %.068.lcssa to i64
  %65 = sext i32 %60 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge127.us
  %indvars.iv171 = phi i64 [ %64, %.preheader.us.preheader ], [ %indvars.iv.next172, %._crit_edge127.us ]
  %.064128.us = phi i32 [ 0, %.preheader.us.preheader ], [ %71, %._crit_edge127.us ]
  br label %66

66:                                               ; preds = %.preheader.us, %66
  %indvars.iv168 = phi i64 [ %62, %.preheader.us ], [ %indvars.iv.next169, %66 ]
  %67 = load i32, ptr %1, align 16, !tbaa !5
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %67)
  %indvars.iv.next169 = add nsw i64 %indvars.iv168, -1
  %69 = icmp sgt i64 %indvars.iv.next169, %63
  br i1 %69, label %66, label %._crit_edge127.us, !llvm.loop !19

._crit_edge127.us:                                ; preds = %66
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %71 = add nuw nsw i32 %.064128.us, 1
  %indvars.iv.next172 = add nsw i64 %indvars.iv171, -1
  %72 = icmp sgt i64 %indvars.iv.next172, %65
  br i1 %72, label %.preheader.us, label %._crit_edge130, !llvm.loop !20

._crit_edge130:                                   ; preds = %._crit_edge127.us, %._crit_edge118
  %.064.lcssa = phi i32 [ 0, %._crit_edge118 ], [ %71, %._crit_edge127.us ]
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %.064.lcssa)
  call void @llvm.stackrestore.p0(ptr %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  ret i32 0
}

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

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

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

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

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

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


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