; LLVM IR from tangjz/acm-icpc :: lydsy/3308.ll (ZN8PrimDual5solveEv)

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

@_ZN8PrimDual1NE = external dso_local global i32, align 4
@_ZN8PrimDual1ME = external dso_local global i32, align 4
@_ZN8PrimDual1SE = external dso_local global i32, align 4
@_ZN8PrimDual1TE = external dso_local global i32, align 4
@_ZN8PrimDual3lnkE = external dso_local global [200001 x i32], align 16
@_ZN8PrimDual3sumE = external dso_local global i32, align 4
@_ZN8PrimDual4flowE = external dso_local global i32, align 4
@_ZN8PrimDual4costE = external dso_local global i32, align 4
@_ZZN8PrimDual5solveEvE2pr = external hidden global [200001 x i32], align 16
@_ZZN8PrimDual5solveEvE1d = external hidden global [200001 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8PrimDual7minCostEi(i32 noundef) #2

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

11:                                               ; preds = %66, %0
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp sle i32 %12, %13
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %69

16:                                               ; preds = %11
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %31, label %22

22:                                               ; preds = %16
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %25
  store i32 %23, ptr %26, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %2, align 4, !tbaa !5
  %29 = sext i32 %27 to i64
  %30 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %29
  store i32 %23, ptr %30, align 4, !tbaa !5
  br label %31

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

32:                                               ; preds = %61, %31
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = mul nsw i32 %33, %37
  store i32 %38, ptr %6, align 4, !tbaa !5
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = icmp sle i32 %38, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %32
  store i32 5, ptr %4, align 4
  br label %64

42:                                               ; preds = %32
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %48
  store i32 %46, ptr %49, align 4, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = load i32, ptr %5, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = icmp eq i32 %53, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %42
  store i32 5, ptr %4, align 4
  br label %64

60:                                               ; preds = %42
  br label %61

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

64:                                               ; preds = %59, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %65

65:                                               ; preds = %64
  br label %66

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

69:                                               ; preds = %15
  %70 = load i32, ptr %1, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %73
  store i32 %71, ptr %74, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %91, %69
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %88

78:                                               ; preds = %75
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = sub nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = load i32, ptr @_ZZN8PrimDual5solveEvE2pr, align 16, !tbaa !5
  %85 = mul nsw i32 %83, %84
  %86 = load i32, ptr %1, align 4, !tbaa !5
  %87 = icmp sgt i32 %85, %86
  br label %88

88:                                               ; preds = %78, %75
  %89 = phi i1 [ false, %75 ], [ %87, %78 ]
  br i1 %89, label %90, label %94

90:                                               ; preds = %88
  br label %91

91:                                               ; preds = %90
  %92 = load i32, ptr %2, align 4, !tbaa !5
  %93 = add nsw i32 %92, -1
  store i32 %93, ptr %2, align 4, !tbaa !5
  br label %75, !llvm.loop !12

94:                                               ; preds = %88
  %95 = load i32, ptr %2, align 4, !tbaa !5
  %96 = add nsw i32 %95, 2
  store i32 %96, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %97 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %98 = sub nsw i32 %97, 2
  store i32 %98, ptr @_ZN8PrimDual1SE, align 4, !tbaa !5
  %99 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %100 = sub nsw i32 %99, 1
  store i32 %100, ptr @_ZN8PrimDual1TE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual4flowE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual3sumE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual1ME, align 4, !tbaa !5
  %101 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = mul i64 %102, 4
  call void @llvm.memset.p0.i64(ptr align 16 @_ZN8PrimDual3lnkE, i8 -1, i64 %103, i1 false)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %158, %94
  %105 = load i32, ptr %2, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = load i32, ptr %2, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = mul nsw i32 %108, %112
  %114 = load i32, ptr %1, align 4, !tbaa !5
  %115 = icmp sle i32 %113, %114
  br i1 %115, label %116, label %161

116:                                              ; preds = %104
  %117 = load i32, ptr @_ZN8PrimDual1SE, align 4, !tbaa !5
  %118 = load i32, ptr %2, align 4, !tbaa !5
  call void @_ZN8PrimDual7addEdgeEiiii(i32 noundef %117, i32 noundef %118, i32 noundef 1, i32 noundef 0)
  br label %119

119:                                              ; preds = %135, %116
  %120 = load i32, ptr %2, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = load i32, ptr %2, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = mul nsw i32 %126, %130
  %132 = load i32, ptr %1, align 4, !tbaa !5
  %133 = icmp sle i32 %131, %132
  br i1 %133, label %134, label %148

134:                                              ; preds = %119
  br label %135

135:                                              ; preds = %134
  %136 = load i32, ptr %2, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %137
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = load i32, ptr %2, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = mul nsw i32 %146, %139
  store i32 %147, ptr %145, align 4, !tbaa !5
  br label %119, !llvm.loop !13

148:                                              ; preds = %119
  %149 = load i32, ptr %2, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %150
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %153
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %157 = sub nsw i32 %156, %155
  store i32 %157, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %148
  %159 = load i32, ptr %2, align 4, !tbaa !5
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %2, align 4, !tbaa !5
  br label %104, !llvm.loop !14

161:                                              ; preds = %104
  br label %162

162:                                              ; preds = %248, %161
  %163 = load i32, ptr %2, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %164
  %166 = load i32, ptr %165, align 4, !tbaa !5
  %167 = load i32, ptr @_ZZN8PrimDual5solveEvE2pr, align 16, !tbaa !5
  %168 = mul nsw i32 %166, %167
  %169 = load i32, ptr %1, align 4, !tbaa !5
  %170 = icmp sle i32 %168, %169
  br i1 %170, label %171, label %251

171:                                              ; preds = %162
  %172 = load i32, ptr %2, align 4, !tbaa !5
  %173 = load i32, ptr @_ZN8PrimDual1TE, align 4, !tbaa !5
  call void @_ZN8PrimDual7addEdgeEiiii(i32 noundef %172, i32 noundef %173, i32 noundef 1, i32 noundef 0)
  %174 = load i32, ptr %2, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %179 = sub nsw i32 %178, %177
  store i32 %179, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %180 = load i32, ptr %1, align 4, !tbaa !5
  %181 = load i32, ptr %2, align 4, !tbaa !5
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %182
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %185 = sdiv i32 %180, %184
  store i32 %185, ptr %8, align 4, !tbaa !5
  br label %186

186:                                              ; preds = %244, %171
  %187 = load i32, ptr %7, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = load i32, ptr %8, align 4, !tbaa !5
  %192 = icmp sle i32 %190, %191
  br i1 %192, label %194, label %193

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

194:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %195 = load i32, ptr %7, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !5
  store i32 %198, ptr %9, align 4, !tbaa !5
  br label %199

199:                                              ; preds = %209, %194
  %200 = load i32, ptr %9, align 4, !tbaa !5
  %201 = load i32, ptr %7, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = mul nsw i32 %200, %204
  %206 = load i32, ptr %8, align 4, !tbaa !5
  %207 = icmp sle i32 %205, %206
  br i1 %207, label %208, label %216

208:                                              ; preds = %199
  br label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %7, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = load i32, ptr %9, align 4, !tbaa !5
  %215 = mul nsw i32 %214, %213
  store i32 %215, ptr %9, align 4, !tbaa !5
  br label %199, !llvm.loop !15

216:                                              ; preds = %199
  %217 = load i32, ptr %9, align 4, !tbaa !5
  %218 = load i32, ptr %2, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %219
  %221 = load i32, ptr %220, align 4, !tbaa !5
  %222 = mul nsw i32 %217, %221
  %223 = load i32, ptr %7, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %224
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %227
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = sub nsw i32 %222, %229
  %231 = load i32, ptr %2, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %232
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = sub nsw i32 %230, %234
  store i32 %235, ptr %9, align 4, !tbaa !5
  %236 = load i32, ptr %9, align 4, !tbaa !5
  %237 = icmp sgt i32 %236, 0
  br i1 %237, label %238, label %243

238:                                              ; preds = %216
  %239 = load i32, ptr %7, align 4, !tbaa !5
  %240 = load i32, ptr %2, align 4, !tbaa !5
  %241 = load i32, ptr %9, align 4, !tbaa !5
  %242 = sub nsw i32 0, %241
  call void @_ZN8PrimDual7addEdgeEiiii(i32 noundef %239, i32 noundef %240, i32 noundef 1, i32 noundef %242)
  br label %243

243:                                              ; preds = %238, %216
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %244

244:                                              ; preds = %243
  %245 = load i32, ptr %7, align 4, !tbaa !5
  %246 = add nsw i32 %245, 1
  store i32 %246, ptr %7, align 4, !tbaa !5
  br label %186, !llvm.loop !16

247:                                              ; preds = %193
  br label %248

248:                                              ; preds = %247
  %249 = load i32, ptr %2, align 4, !tbaa !5
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %2, align 4, !tbaa !5
  br label %162, !llvm.loop !17

251:                                              ; preds = %162
  call void @_ZN8PrimDual7minCostEi(i32 noundef 2147483647)
  %252 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %253 = sub nsw i32 %252, 1
  store i32 %253, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  br label %254

254:                                              ; preds = %262, %251
  %255 = load i32, ptr %2, align 4, !tbaa !5
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %256
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = load i32, ptr %1, align 4, !tbaa !5
  %260 = icmp sle i32 %258, %259
  br i1 %260, label %261, label %270

261:                                              ; preds = %254
  br label %262

262:                                              ; preds = %261
  %263 = load i32, ptr %2, align 4, !tbaa !5
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %2, align 4, !tbaa !5
  %265 = sext i32 %263 to i64
  %266 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %265
  %267 = load i32, ptr %266, align 4, !tbaa !5
  %268 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %269 = sub nsw i32 %268, %267
  store i32 %269, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  br label %254, !llvm.loop !18

270:                                              ; preds = %254
  %271 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %272 = sub nsw i32 0, %271
  %273 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %272)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8PrimDual7addEdgeEiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #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 = { 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 #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}
!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"

@_ZN8PrimDual1NE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual1ME = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual1SE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual1TE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual3lnkE = external dso_local local_unnamed_addr global [200001 x i32], align 16
@_ZN8PrimDual3sumE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual4flowE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual4costE = external dso_local local_unnamed_addr global i32, align 4
@_ZZN8PrimDual5solveEvE2pr = external hidden local_unnamed_addr global [200001 x i32], align 16
@_ZZN8PrimDual5solveEvE1d = external hidden local_unnamed_addr global [200001 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8PrimDual7minCostEi(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8PrimDual5solveEv() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  %2 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %3 = load i32, ptr %1, align 4, !tbaa !5
  %.not79 = icmp slt i32 %3, 2
  %.pre143 = add i32 %3, 1
  br i1 %.not79, label %._crit_edge84, label %.lr.ph83.preheader

.lr.ph83.preheader:                               ; preds = %0
  %wide.trip.count = zext i32 %.pre143 to i64
  br label %.lr.ph83

._crit_edge84.loopexit:                           ; preds = %._crit_edge
  %4 = sext i32 %.1 to i64
  br label %._crit_edge84

._crit_edge84:                                    ; preds = %0, %._crit_edge84.loopexit
  %.051.lcssa = phi i64 [ %4, %._crit_edge84.loopexit ], [ 0, %0 ]
  %5 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %.051.lcssa
  store i32 %.pre143, ptr %5, align 4, !tbaa !5
  %6 = load i32, ptr @_ZZN8PrimDual5solveEvE2pr, align 16
  br label %26

.lr.ph83:                                         ; preds = %.lr.ph83.preheader, %._crit_edge
  %indvars.iv118 = phi i64 [ 2, %.lr.ph83.preheader ], [ %indvars.iv.next119, %._crit_edge ]
  %.05181 = phi i32 [ 0, %.lr.ph83.preheader ], [ %.1, %._crit_edge ]
  %7 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %indvars.iv118
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %.not70 = icmp eq i32 %8, 0
  %9 = trunc nuw nsw i64 %indvars.iv118 to i32
  br i1 %.not70, label %10, label %.lr.ph83._crit_edge

10:                                               ; preds = %.lr.ph83
  store i32 %9, ptr %7, align 4, !tbaa !5
  %11 = add nsw i32 %.05181, 1
  %12 = sext i32 %.05181 to i64
  %13 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %12
  store i32 %9, ptr %13, align 4, !tbaa !5
  br label %.lr.ph83._crit_edge

.lr.ph83._crit_edge:                              ; preds = %.lr.ph83, %10
  %.1 = phi i32 [ %11, %10 ], [ %.05181, %.lr.ph83 ]
  %14 = load i32, ptr @_ZZN8PrimDual5solveEvE2pr, align 16, !tbaa !5
  %15 = mul nsw i32 %14, %9
  %.not7176 = icmp sgt i32 %15, %3
  br i1 %.not7176, label %._crit_edge, label %.lr.ph

16:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %17 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %indvars.iv.next
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = mul nsw i32 %18, %9
  %.not71 = icmp sgt i32 %19, %3
  br i1 %.not71, label %._crit_edge, label %.lr.ph, !llvm.loop !9

.lr.ph:                                           ; preds = %.lr.ph83._crit_edge, %16
  %indvars.iv = phi i64 [ %indvars.iv.next, %16 ], [ 0, %.lr.ph83._crit_edge ]
  %20 = phi i32 [ %19, %16 ], [ %15, %.lr.ph83._crit_edge ]
  %21 = phi i32 [ %18, %16 ], [ %14, %.lr.ph83._crit_edge ]
  %22 = sext i32 %20 to i64
  %23 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %22
  store i32 %21, ptr %23, align 4, !tbaa !5
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = icmp eq i32 %24, %21
  br i1 %25, label %._crit_edge, label %16

._crit_edge:                                      ; preds = %16, %.lr.ph, %.lr.ph83._crit_edge
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next119, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge84.loopexit, label %.lr.ph83, !llvm.loop !11

26:                                               ; preds = %28, %._crit_edge84
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %28 ], [ %.051.lcssa, %._crit_edge84 ]
  %27 = icmp eq i64 %indvars.iv121, 0
  br i1 %27, label %.critedge, label %28

28:                                               ; preds = %26
  %indvars.iv.next122 = add nsw i64 %indvars.iv121, -1
  %29 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %indvars.iv.next122
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = mul nsw i32 %6, %30
  %32 = icmp sgt i32 %31, %3
  br i1 %32, label %26, label %.critedge.split.loop.exit150, !llvm.loop !12

.critedge.split.loop.exit150:                     ; preds = %28
  %33 = trunc nsw i64 %indvars.iv121 to i32
  br label %.critedge

.critedge:                                        ; preds = %26, %.critedge.split.loop.exit150
  %.2.lcssa = phi i32 [ %33, %.critedge.split.loop.exit150 ], [ 0, %26 ]
  %34 = add nsw i32 %.2.lcssa, 2
  store i32 %34, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  store i32 %.2.lcssa, ptr @_ZN8PrimDual1SE, align 4, !tbaa !5
  %35 = add nsw i32 %.2.lcssa, 1
  store i32 %35, ptr @_ZN8PrimDual1TE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual4flowE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual3sumE, align 4, !tbaa !5
  store i32 0, ptr @_ZN8PrimDual1ME, align 4, !tbaa !5
  %36 = sext i32 %34 to i64
  %37 = shl nsw i64 %36, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZN8PrimDual3lnkE, i8 -1, i64 %37, i1 false)
  %38 = mul nsw i32 %6, %6
  %.not6492 = icmp sgt i32 %38, %3
  br i1 %.not6492, label %.preheader74, label %.lr.ph94

.preheader74.loopexit:                            ; preds = %52
  %.phi.trans.insert = and i64 %indvars.iv.next125, 4294967295
  %.phi.trans.insert136 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %.phi.trans.insert
  %.pre = load i32, ptr %.phi.trans.insert136, align 4, !tbaa !5
  %.pre137 = load i32, ptr @_ZZN8PrimDual5solveEvE2pr, align 16, !tbaa !5
  %.pre140 = mul nsw i32 %.pre137, %.pre
  %39 = and i64 %indvars.iv.next125, 4294967295
  br label %.preheader74

.preheader74:                                     ; preds = %.critedge, %.preheader74.loopexit
  %.pre-phi = phi i32 [ %.pre140, %.preheader74.loopexit ], [ %38, %.critedge ]
  %40 = phi i32 [ %48, %.preheader74.loopexit ], [ %3, %.critedge ]
  %.3.lcssa = phi i64 [ %39, %.preheader74.loopexit ], [ 0, %.critedge ]
  %.not6599 = icmp sgt i32 %.pre-phi, %40
  br i1 %.not6599, label %._crit_edge102, label %.lr.ph101.preheader

.lr.ph101.preheader:                              ; preds = %.preheader74
  %41 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %.3.lcssa
  br label %.lr.ph101

.lr.ph94:                                         ; preds = %.critedge, %52
  %indvars.iv124 = phi i64 [ %indvars.iv.next125, %52 ], [ 0, %.critedge ]
  %42 = phi ptr [ %55, %52 ], [ @_ZZN8PrimDual5solveEvE2pr, %.critedge ]
  %43 = load i32, ptr @_ZN8PrimDual1SE, align 4, !tbaa !5
  %44 = trunc nuw nsw i64 %indvars.iv124 to i32
  call void @_ZN8PrimDual7addEdgeEiiii(i32 noundef %43, i32 noundef %44, i32 noundef 1, i32 noundef 0)
  %45 = load i32, ptr %42, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %46
  %48 = load i32, ptr %1, align 4, !tbaa !5
  %.promoted = load i32, ptr %47, align 4, !tbaa !5
  %49 = mul nsw i32 %.promoted, %45
  %.not6986 = icmp sgt i32 %49, %48
  br i1 %.not6986, label %52, label %.lr.ph88

.lr.ph88:                                         ; preds = %.lr.ph94, %.lr.ph88
  %50 = phi i32 [ %51, %.lr.ph88 ], [ %49, %.lr.ph94 ]
  %51 = mul nsw i32 %50, %45
  %.not69 = icmp sgt i32 %51, %48
  br i1 %.not69, label %._crit_edge89, label %.lr.ph88, !llvm.loop !13

._crit_edge89:                                    ; preds = %.lr.ph88
  store i32 %50, ptr %47, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %._crit_edge89, %.lr.ph94
  %.lcssa = phi i32 [ %50, %._crit_edge89 ], [ %.promoted, %.lr.ph94 ]
  %53 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %54 = sub nsw i32 %53, %.lcssa
  store i32 %54, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %55 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %indvars.iv.next125
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = mul nsw i32 %56, %56
  %.not64 = icmp sgt i32 %57, %48
  br i1 %.not64, label %.preheader74.loopexit, label %.lr.ph94, !llvm.loop !14

.lr.ph101:                                        ; preds = %.lr.ph101.preheader, %._crit_edge98
  %indvars.iv130 = phi i64 [ %.3.lcssa, %.lr.ph101.preheader ], [ %indvars.iv.next131, %._crit_edge98 ]
  %58 = phi ptr [ %41, %.lr.ph101.preheader ], [ %70, %._crit_edge98 ]
  %59 = load i32, ptr @_ZN8PrimDual1TE, align 4, !tbaa !5
  %60 = trunc nuw i64 %indvars.iv130 to i32
  call void @_ZN8PrimDual7addEdgeEiiii(i32 noundef %60, i32 noundef %59, i32 noundef 1, i32 noundef 0)
  %61 = load i32, ptr %58, align 4, !tbaa !5
  %62 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %63 = sub nsw i32 %62, %61
  store i32 %63, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %64 = load i32, ptr %1, align 4, !tbaa !5
  %65 = sdiv i32 %64, %61
  %66 = load i32, ptr @_ZZN8PrimDual5solveEvE2pr, align 16, !tbaa !5
  %.not6796 = icmp sgt i32 %66, %65
  br i1 %.not6796, label %._crit_edge98, label %.preheader

.preheader:                                       ; preds = %.lr.ph101, %87
  %indvars.iv127 = phi i64 [ %indvars.iv.next128, %87 ], [ 0, %.lr.ph101 ]
  %67 = phi i32 [ %89, %87 ], [ %66, %.lr.ph101 ]
  br label %73

._crit_edge98.loopexit:                           ; preds = %87
  %.pre138 = load i32, ptr @_ZZN8PrimDual5solveEvE2pr, align 16, !tbaa !5
  %.pre139 = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge98

._crit_edge98:                                    ; preds = %._crit_edge98.loopexit, %.lr.ph101
  %68 = phi i32 [ %.pre139, %._crit_edge98.loopexit ], [ %64, %.lr.ph101 ]
  %69 = phi i32 [ %.pre138, %._crit_edge98.loopexit ], [ %66, %.lr.ph101 ]
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %70 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %indvars.iv.next131
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = mul nsw i32 %69, %71
  %.not65 = icmp sgt i32 %72, %68
  br i1 %.not65, label %._crit_edge102.loopexit, label %.lr.ph101, !llvm.loop !15

73:                                               ; preds = %.preheader, %73
  %.0 = phi i32 [ %74, %73 ], [ %67, %.preheader ]
  %74 = mul nsw i32 %.0, %67
  %.not68 = icmp sgt i32 %74, %65
  br i1 %.not68, label %75, label %73, !llvm.loop !16

75:                                               ; preds = %73
  %76 = load i32, ptr %58, align 4, !tbaa !5
  %77 = mul nsw i32 %76, %.0
  %78 = sext i32 %67 to i64
  %79 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE1d, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = add i32 %80, %76
  %82 = sub i32 %77, %81
  %83 = icmp sgt i32 %82, 0
  br i1 %83, label %84, label %87

84:                                               ; preds = %75
  %85 = sub nsw i32 0, %82
  %86 = trunc nuw nsw i64 %indvars.iv127 to i32
  call void @_ZN8PrimDual7addEdgeEiiii(i32 noundef %86, i32 noundef %60, i32 noundef 1, i32 noundef %85)
  br label %87

87:                                               ; preds = %84, %75
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %88 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %indvars.iv.next128
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %.not67 = icmp sgt i32 %89, %65
  br i1 %.not67, label %._crit_edge98.loopexit, label %.preheader, !llvm.loop !17

._crit_edge102.loopexit:                          ; preds = %._crit_edge98
  %.pre141 = and i64 %indvars.iv.next131, 4294967295
  br label %._crit_edge102

._crit_edge102:                                   ; preds = %._crit_edge102.loopexit, %.preheader74
  %.pre-phi142 = phi i64 [ %.pre141, %._crit_edge102.loopexit ], [ %.3.lcssa, %.preheader74 ]
  call void @_ZN8PrimDual7minCostEi(i32 noundef 2147483647)
  %90 = load i32, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %91 = add nsw i32 %90, -1
  %92 = load i32, ptr %1, align 4, !tbaa !5
  %93 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %.pre-phi142
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %.not66105 = icmp sgt i32 %94, %92
  br i1 %.not66105, label %._crit_edge110, label %.lr.ph109

.lr.ph109:                                        ; preds = %._crit_edge102, %.lr.ph109
  %indvars.iv133 = phi i64 [ %indvars.iv.next134, %.lr.ph109 ], [ %.pre-phi142, %._crit_edge102 ]
  %95 = phi i32 [ %98, %.lr.ph109 ], [ %94, %._crit_edge102 ]
  %storemerge106 = phi i32 [ %96, %.lr.ph109 ], [ %91, %._crit_edge102 ]
  %indvars.iv.next134 = add nuw nsw i64 %indvars.iv133, 1
  %96 = sub nsw i32 %storemerge106, %95
  %97 = getelementptr inbounds [200001 x i32], ptr @_ZZN8PrimDual5solveEvE2pr, i64 0, i64 %indvars.iv.next134
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %.not66 = icmp sgt i32 %98, %92
  br i1 %.not66, label %._crit_edge110, label %.lr.ph109, !llvm.loop !18

._crit_edge110:                                   ; preds = %.lr.ph109, %._crit_edge102
  %storemerge.lcssa104 = phi i32 [ %91, %._crit_edge102 ], [ %96, %.lr.ph109 ]
  store i32 %storemerge.lcssa104, ptr @_ZN8PrimDual4costE, align 4, !tbaa !5
  %99 = sub nsw i32 0, %storemerge.lcssa104
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %99)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8PrimDual7addEdgeEiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #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 = { 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 #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}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass