; LLVM IR from VastoLorde95/Competitive-Programming :: CodeChef/WF/Easy Medium/CARLOS/A.ll (Z5solvev)

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

@dp = external dso_local global [2 x [200 x i32]], align 16
@g = external dso_local global [200 x [200 x i32]], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.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 [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #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 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %1, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %50, %0
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = icmp slt i32 %23, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %22
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %53

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

28:                                               ; preds = %40, %27
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = load i32, ptr %1, align 4, !tbaa !5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %43

33:                                               ; preds = %28
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %35
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [200 x i32], ptr %36, i64 0, i64 %38
  store i32 1000000000, ptr %39, align 4, !tbaa !5
  br label %40

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

43:                                               ; preds = %32
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %45
  %47 = load i32, ptr %4, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [200 x i32], ptr %46, i64 0, i64 %48
  store i32 0, ptr %49, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %43
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %4, align 4, !tbaa !5
  br label %22, !llvm.loop !11

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

54:                                               ; preds = %77, %53
  %55 = load i32, ptr %7, align 4, !tbaa !5
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

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

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %60 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9)
  %61 = load i32, ptr %8, align 4, !tbaa !5
  %62 = add nsw i32 %61, -1
  store i32 %62, ptr %8, align 4, !tbaa !5
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = add nsw i32 %63, -1
  store i32 %64, ptr %9, align 4, !tbaa !5
  %65 = load i32, ptr %9, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %66
  %68 = load i32, ptr %8, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [200 x i32], ptr %67, i64 0, i64 %69
  store i32 1, ptr %70, align 4, !tbaa !5
  %71 = load i32, ptr %8, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %72
  %74 = load i32, ptr %9, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [200 x i32], ptr %73, i64 0, i64 %75
  store i32 1, ptr %76, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %77

77:                                               ; preds = %59
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %7, align 4, !tbaa !5
  br label %54, !llvm.loop !12

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

81:                                               ; preds = %150, %80
  %82 = load i32, ptr %10, align 4, !tbaa !5
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %86, label %85

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

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

87:                                               ; preds = %146, %86
  %88 = load i32, ptr %11, align 4, !tbaa !5
  %89 = load i32, ptr %1, align 4, !tbaa !5
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %87
  store i32 14, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %149

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

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

97:                                               ; preds = %93
  store i32 17, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %145

98:                                               ; preds = %93
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = load i32, ptr %12, align 4, !tbaa !5
  %101 = icmp eq i32 %99, %100
  br i1 %101, label %111, label %102

102:                                              ; preds = %98
  %103 = load i32, ptr %11, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %104
  %106 = load i32, ptr %12, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [200 x i32], ptr %105, i64 0, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = icmp eq i32 %109, 1
  br i1 %110, label %111, label %112

111:                                              ; preds = %102, %98
  br label %142

112:                                              ; preds = %102
  %113 = load i32, ptr %11, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %114
  %116 = load i32, ptr %12, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [200 x i32], ptr %115, i64 0, i64 %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %119 = load i32, ptr %11, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %120
  %122 = load i32, ptr %10, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [200 x i32], ptr %121, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = load i32, ptr %10, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %127
  %129 = load i32, ptr %12, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [200 x i32], ptr %128, i64 0, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = add nsw i32 %125, %132
  store i32 %133, ptr %13, align 4, !tbaa !5
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %118, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = load i32, ptr %11, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %137
  %139 = load i32, ptr %12, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [200 x i32], ptr %138, i64 0, i64 %140
  store i32 %135, ptr %141, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %142

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

145:                                              ; preds = %97
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %11, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %11, align 4, !tbaa !5
  br label %87, !llvm.loop !14

149:                                              ; preds = %91
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %10, align 4, !tbaa !5
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %10, align 4, !tbaa !5
  br label %81, !llvm.loop !15

153:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %154 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %14)
  %155 = load i32, ptr %14, align 4, !tbaa !5
  %156 = add nsw i32 %155, -1
  store i32 %156, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %157

157:                                              ; preds = %189, %153
  %158 = load i32, ptr %15, align 4, !tbaa !5
  %159 = load i32, ptr %1, align 4, !tbaa !5
  %160 = icmp slt i32 %158, %159
  br i1 %160, label %162, label %161

161:                                              ; preds = %157
  store i32 20, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %192

162:                                              ; preds = %157
  %163 = load i32, ptr %14, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %164
  %166 = load i32, ptr %15, align 4, !tbaa !5
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [200 x i32], ptr %165, i64 0, i64 %167
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = load i32, ptr %15, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [200 x i32], ptr @dp, i64 0, i64 %171
  store i32 %169, ptr %172, align 4, !tbaa !5
  %173 = load i32, ptr %15, align 4, !tbaa !5
  %174 = icmp sgt i32 %173, 0
  br i1 %174, label %175, label %188

175:                                              ; preds = %162
  %176 = load i32, ptr %15, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [200 x i32], ptr @dp, i64 0, i64 %177
  %179 = load i32, ptr %15, align 4, !tbaa !5
  %180 = sub nsw i32 %179, 1
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [200 x i32], ptr @dp, i64 0, i64 %181
  %183 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %178, ptr noundef nonnull align 4 dereferenceable(4) %182)
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %185 = load i32, ptr %15, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [200 x i32], ptr @dp, i64 0, i64 %186
  store i32 %184, ptr %187, align 4, !tbaa !5
  br label %188

188:                                              ; preds = %175, %162
  br label %189

189:                                              ; preds = %188
  %190 = load i32, ptr %15, align 4, !tbaa !5
  %191 = add nsw i32 %190, 1
  store i32 %191, ptr %15, align 4, !tbaa !5
  br label %157, !llvm.loop !16

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

193:                                              ; preds = %261, %192
  %194 = load i32, ptr %17, align 4, !tbaa !5
  %195 = load i32, ptr %3, align 4, !tbaa !5
  %196 = icmp slt i32 %194, %195
  br i1 %196, label %198, label %197

197:                                              ; preds = %193
  store i32 23, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %264

198:                                              ; preds = %193
  %199 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %14)
  %200 = load i32, ptr %14, align 4, !tbaa !5
  %201 = add nsw i32 %200, -1
  store i32 %201, ptr %14, align 4, !tbaa !5
  %202 = load i32, ptr %16, align 4, !tbaa !5
  %203 = xor i32 %202, 1
  store i32 %203, ptr %16, align 4, !tbaa !5
  %204 = load i32, ptr %16, align 4, !tbaa !5
  %205 = xor i32 %204, 1
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %206
  %208 = getelementptr inbounds [200 x i32], ptr %207, i64 0, i64 0
  %209 = load i32, ptr %208, align 16, !tbaa !5
  %210 = load i32, ptr %14, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %211
  %213 = getelementptr inbounds [200 x i32], ptr %212, i64 0, i64 0
  %214 = load i32, ptr %213, align 16, !tbaa !5
  %215 = add nsw i32 %209, %214
  %216 = load i32, ptr %16, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %217
  %219 = getelementptr inbounds [200 x i32], ptr %218, i64 0, i64 0
  store i32 %215, ptr %219, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 1, ptr %18, align 4, !tbaa !5
  br label %220

220:                                              ; preds = %257, %198
  %221 = load i32, ptr %18, align 4, !tbaa !5
  %222 = load i32, ptr %1, align 4, !tbaa !5
  %223 = icmp slt i32 %221, %222
  br i1 %223, label %225, label %224

224:                                              ; preds = %220
  store i32 26, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %260

225:                                              ; preds = %220
  %226 = load i32, ptr %16, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %227
  %229 = load i32, ptr %18, align 4, !tbaa !5
  %230 = sub nsw i32 %229, 1
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds [200 x i32], ptr %228, i64 0, i64 %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %233 = load i32, ptr %16, align 4, !tbaa !5
  %234 = xor i32 %233, 1
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %235
  %237 = load i32, ptr %18, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [200 x i32], ptr %236, i64 0, i64 %238
  %240 = load i32, ptr %239, align 4, !tbaa !5
  %241 = load i32, ptr %14, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %242
  %244 = load i32, ptr %18, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [200 x i32], ptr %243, i64 0, i64 %245
  %247 = load i32, ptr %246, align 4, !tbaa !5
  %248 = add nsw i32 %240, %247
  store i32 %248, ptr %19, align 4, !tbaa !5
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %232, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = load i32, ptr %16, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %252
  %254 = load i32, ptr %18, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [200 x i32], ptr %253, i64 0, i64 %255
  store i32 %250, ptr %256, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %257

257:                                              ; preds = %225
  %258 = load i32, ptr %18, align 4, !tbaa !5
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %18, align 4, !tbaa !5
  br label %220, !llvm.loop !17

260:                                              ; preds = %224
  br label %261

261:                                              ; preds = %260
  %262 = load i32, ptr %17, align 4, !tbaa !5
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %17, align 4, !tbaa !5
  br label %193, !llvm.loop !18

264:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %265 = load i32, ptr %16, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %266
  %268 = load i32, ptr %1, align 4, !tbaa !5
  %269 = sub nsw i32 %268, 1
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [200 x i32], ptr %267, i64 0, i64 %270
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = icmp sge i64 %273, 1000000000
  br i1 %274, label %275, label %276

275:                                              ; preds = %264
  br label %285

276:                                              ; preds = %264
  %277 = load i32, ptr %16, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %278
  %280 = load i32, ptr %1, align 4, !tbaa !5
  %281 = sub nsw i32 %280, 1
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds [200 x i32], ptr %279, i64 0, i64 %282
  %284 = load i32, ptr %283, align 4, !tbaa !5
  br label %285

285:                                              ; preds = %276, %275
  %286 = phi i32 [ -1, %275 ], [ %284, %276 ]
  store i32 %286, ptr %20, align 4, !tbaa !5
  %287 = load i32, ptr %20, align 4, !tbaa !5
  %288 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %287)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress 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 #4 = { nounwind }

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

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


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

@dp = external dso_local global [2 x [200 x i32]], align 16
@g = external dso_local global [200 x [200 x i32]], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.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 [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.preheader66.us.preheader, label %.preheader65

.preheader66.us.preheader:                        ; preds = %0
  %wide.trip.count93 = zext nneg i32 %10 to i64
  %min.iters.check = icmp ult i32 %10, 8
  %n.vec = and i64 %wide.trip.count93, 2147483640
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count93
  br label %.preheader66.us

.preheader66.us:                                  ; preds = %.preheader66.us.preheader, %._crit_edge.us
  %indvars.iv90 = phi i64 [ 0, %.preheader66.us.preheader ], [ %indvars.iv.next91, %._crit_edge.us ]
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.preheader66.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader66.us ]
  %12 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %indvars.iv90, i64 %index
  %13 = getelementptr inbounds i8, ptr %12, i64 16
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr %12, align 16, !tbaa !5
  store <4 x i32> <i32 1000000000, i32 1000000000, i32 1000000000, i32 1000000000>, ptr %13, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %14 = icmp eq i64 %index.next, %n.vec
  br i1 %14, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader66.us
  %indvars.iv.ph = phi i64 [ 0, %.preheader66.us ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %15 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %indvars.iv90, i64 %indvars.iv
  store i32 1000000000, ptr %15, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count93
  br i1 %exitcond.not, label %._crit_edge.us, label %scalar.ph, !llvm.loop !13

._crit_edge.us:                                   ; preds = %scalar.ph, %middle.block
  %16 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %indvars.iv90, i64 %indvars.iv90
  store i32 0, ptr %16, align 4, !tbaa !5
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %exitcond94.not = icmp eq i64 %indvars.iv.next91, %wide.trip.count93
  br i1 %exitcond94.not, label %.preheader65, label %.preheader66.us, !llvm.loop !14

.preheader65:                                     ; preds = %._crit_edge.us, %0
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph, label %.preheader64

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

.preheader64:                                     ; preds = %.preheader64.loopexit, %.preheader65
  %19 = phi i32 [ %.pre, %.preheader64.loopexit ], [ %10, %.preheader65 ]
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.preheader63, label %._crit_edge75

.lr.ph:                                           ; preds = %.preheader65, %.lr.ph
  %.06069 = phi i32 [ %30, %.lr.ph ], [ 0, %.preheader65 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = add nsw i32 %22, -1
  %24 = load i32, ptr %5, align 4, !tbaa !5
  %25 = add nsw i32 %24, -1
  %26 = sext i32 %25 to i64
  %27 = sext i32 %23 to i64
  %28 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %26, i64 %27
  store i32 1, ptr %28, align 4, !tbaa !5
  %29 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %27, i64 %26
  store i32 1, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  %30 = add nuw nsw i32 %.06069, 1
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %.lr.ph, label %.preheader64.loopexit, !llvm.loop !15

.preheader63:                                     ; preds = %.preheader64, %._crit_edge73
  %33 = phi i32 [ %48, %._crit_edge73 ], [ %19, %.preheader64 ]
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %._crit_edge73 ], [ 0, %.preheader64 ]
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.preheader62, label %._crit_edge73

._crit_edge75:                                    ; preds = %._crit_edge73, %.preheader64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %35 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %7)
  %36 = load i32, ptr %7, align 4, !tbaa !5
  %37 = add nsw i32 %36, -1
  store i32 %37, ptr %7, align 4, !tbaa !5
  %38 = load i32, ptr %1, align 4, !tbaa !5
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %40, label %.preheader

40:                                               ; preds = %._crit_edge75
  %41 = sext i32 %37 to i64
  %42 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %41, i64 0
  %43 = load i32, ptr %42, align 16, !tbaa !5
  store i32 %43, ptr @dp, align 16, !tbaa !5
  %.not = icmp eq i32 %38, 1
  br i1 %.not, label %.preheader, label %.lr.ph78.peel.next

.preheader62:                                     ; preds = %.preheader63, %._crit_edge
  %44 = phi i32 [ %51, %._crit_edge ], [ %33, %.preheader63 ]
  %45 = phi i32 [ %52, %._crit_edge ], [ %33, %.preheader63 ]
  %indvars.iv98 = phi i64 [ %indvars.iv.next99, %._crit_edge ], [ 0, %.preheader63 ]
  %46 = icmp sgt i32 %45, 0
  br i1 %46, label %.lr.ph71, label %._crit_edge

.lr.ph71:                                         ; preds = %.preheader62
  %47 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %indvars.iv98, i64 %indvars.iv101
  br label %55

._crit_edge73:                                    ; preds = %._crit_edge, %.preheader63
  %48 = phi i32 [ %33, %.preheader63 ], [ %51, %._crit_edge ]
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %49 = sext i32 %48 to i64
  %50 = icmp slt i64 %indvars.iv.next102, %49
  br i1 %50, label %.preheader63, label %._crit_edge75, !llvm.loop !16

._crit_edge:                                      ; preds = %71, %.preheader62
  %51 = phi i32 [ %44, %.preheader62 ], [ %72, %71 ]
  %52 = phi i32 [ %45, %.preheader62 ], [ %73, %71 ]
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %53 = sext i32 %52 to i64
  %54 = icmp slt i64 %indvars.iv.next99, %53
  br i1 %54, label %.preheader62, label %._crit_edge73, !llvm.loop !18

55:                                               ; preds = %.lr.ph71, %71
  %56 = phi i32 [ %44, %.lr.ph71 ], [ %72, %71 ]
  %57 = phi i32 [ %45, %.lr.ph71 ], [ %73, %71 ]
  %58 = phi i32 [ %45, %.lr.ph71 ], [ %74, %71 ]
  %indvars.iv95 = phi i64 [ 0, %.lr.ph71 ], [ %indvars.iv.next96, %71 ]
  %59 = icmp eq i64 %indvars.iv98, %indvars.iv95
  br i1 %59, label %71, label %60

60:                                               ; preds = %55
  %61 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %indvars.iv98, i64 %indvars.iv95
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = icmp eq i32 %62, 1
  br i1 %63, label %71, label %64

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %65 = load i32, ptr %47, align 4, !tbaa !5
  %66 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %indvars.iv101, i64 %indvars.iv95
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = add nsw i32 %67, %65
  store i32 %68, ptr %6, align 4, !tbaa !5
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %70 = load i32, ptr %69, align 4, !tbaa !5
  store i32 %70, ptr %61, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  %.pre111 = load i32, ptr %1, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %55, %60, %64
  %72 = phi i32 [ %56, %55 ], [ %56, %60 ], [ %.pre111, %64 ]
  %73 = phi i32 [ %57, %55 ], [ %57, %60 ], [ %.pre111, %64 ]
  %74 = phi i32 [ %58, %55 ], [ %58, %60 ], [ %.pre111, %64 ]
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %75 = sext i32 %74 to i64
  %76 = icmp slt i64 %indvars.iv.next96, %75
  br i1 %76, label %55, label %._crit_edge, !llvm.loop !19

.preheader:                                       ; preds = %.lr.ph78.peel.next, %40, %._crit_edge75
  %77 = phi i32 [ %38, %._crit_edge75 ], [ 1, %40 ], [ %.pre112, %.lr.ph78.peel.next ]
  %78 = load i32, ptr %3, align 4, !tbaa !5
  %79 = icmp sgt i32 %78, 1
  br i1 %79, label %.lr.ph85, label %._crit_edge86

.lr.ph78.peel.next:                               ; preds = %40, %.lr.ph78.peel.next
  %indvars.iv104 = phi i64 [ %indvars.iv.next105, %.lr.ph78.peel.next ], [ 1, %40 ]
  %80 = load i32, ptr %7, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %81, i64 %indvars.iv104
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = getelementptr inbounds [200 x i32], ptr @dp, i64 0, i64 %indvars.iv104
  store i32 %83, ptr %84, align 4, !tbaa !5
  %85 = add nsw i64 %indvars.iv104, -1
  %86 = getelementptr inbounds [200 x i32], ptr @dp, i64 0, i64 %85
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %84, ptr noundef nonnull align 4 dereferenceable(4) %86)
  %88 = load i32, ptr %87, align 4, !tbaa !5
  store i32 %88, ptr %84, align 4, !tbaa !5
  %.pre112 = load i32, ptr %1, align 4, !tbaa !5
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %89 = sext i32 %.pre112 to i64
  %90 = icmp slt i64 %indvars.iv.next105, %89
  br i1 %90, label %.lr.ph78.peel.next, label %.preheader, !llvm.loop !20

._crit_edge86.loopexit:                           ; preds = %._crit_edge82
  %91 = zext nneg i32 %102 to i64
  br label %._crit_edge86

._crit_edge86:                                    ; preds = %.preheader, %._crit_edge86.loopexit
  %92 = phi i32 [ %114, %._crit_edge86.loopexit ], [ %77, %.preheader ]
  %.055.lcssa = phi i64 [ %91, %._crit_edge86.loopexit ], [ 0, %.preheader ]
  %93 = add nsw i32 %92, -1
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %.055.lcssa, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = icmp sgt i32 %96, 999999999
  %spec.select = select i1 %97, i32 -1, i32 %96
  %98 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %spec.select)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret void

.lr.ph85:                                         ; preds = %.preheader, %._crit_edge82
  %.05484 = phi i32 [ %115, %._crit_edge82 ], [ 1, %.preheader ]
  %.05583 = phi i32 [ %102, %._crit_edge82 ], [ 0, %.preheader ]
  %99 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %7)
  %100 = load i32, ptr %7, align 4, !tbaa !5
  %101 = add nsw i32 %100, -1
  store i32 %101, ptr %7, align 4, !tbaa !5
  %102 = xor i32 %.05583, 1
  %103 = zext nneg i32 %.05583 to i64
  %104 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %103
  %105 = load i32, ptr %104, align 16, !tbaa !5
  %106 = sext i32 %101 to i64
  %107 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %106
  %108 = load i32, ptr %107, align 16, !tbaa !5
  %109 = add nsw i32 %108, %105
  %110 = zext nneg i32 %102 to i64
  %111 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %110
  store i32 %109, ptr %111, align 16, !tbaa !5
  %112 = load i32, ptr %1, align 4, !tbaa !5
  %113 = icmp sgt i32 %112, 1
  br i1 %113, label %.lr.ph81, label %._crit_edge82

._crit_edge82:                                    ; preds = %.lr.ph81, %.lr.ph85
  %114 = phi i32 [ %112, %.lr.ph85 ], [ %130, %.lr.ph81 ]
  %115 = add nuw nsw i32 %.05484, 1
  %116 = load i32, ptr %3, align 4, !tbaa !5
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %.lr.ph85, label %._crit_edge86.loopexit, !llvm.loop !22

.lr.ph81:                                         ; preds = %.lr.ph85, %.lr.ph81
  %indvars.iv108 = phi i64 [ %indvars.iv.next109, %.lr.ph81 ], [ 1, %.lr.ph85 ]
  %118 = add nsw i64 %indvars.iv108, -1
  %119 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %110, i64 %118
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  %120 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %103, i64 %indvars.iv108
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = load i32, ptr %7, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [200 x [200 x i32]], ptr @g, i64 0, i64 %123, i64 %indvars.iv108
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = add nsw i32 %125, %121
  store i32 %126, ptr %8, align 4, !tbaa !5
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %119, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = getelementptr inbounds [2 x [200 x i32]], ptr @dp, i64 0, i64 %110, i64 %indvars.iv108
  store i32 %128, ptr %129, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %130 = load i32, ptr %1, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = icmp slt i64 %indvars.iv.next109, %131
  br i1 %132, label %.lr.ph81, label %._crit_edge82, !llvm.loop !23
}

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

; 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.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

attributes #0 = { mustprogress 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 = { 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 = { inlinehint mustprogress 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 #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !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}
!17 = !{!"llvm.loop.unswitch.partial.disable"}
!18 = distinct !{!18, !10, !17}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10, !21}
!21 = !{!"llvm.loop.peeled.count", i32 1}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass