; LLVM IR from tangjz/acm-icpc :: lydsy/1021.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"

@tot = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@q = external dso_local global i32, align 4
@c = external dso_local global [5 x [7 x i32]], align 16
@f = external dso_local global [2 x [201 x [201 x i32]]], align 16
@cur = external dso_local global i32, align 4
@pre = external dso_local global i32, align 4
@_ZL1w = external hidden constant [7 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@_ZL3com = external hidden constant [7 x i32], align 16
@.str.3 = 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

declare i32 @puts(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #3

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

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

25:                                               ; preds = %22
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  br label %253

26:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %28 = add nsw i32 %27, 1
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [7 x i32], ptr @_ZL3com, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = load i32, ptr %1, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [7 x i32], ptr @_ZL3com, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = sdiv i32 %31, %35
  store i32 %36, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %37 = load i32, ptr @p, align 4, !tbaa !5
  %38 = load i32, ptr %3, align 4, !tbaa !5
  %39 = srem i32 %37, %38
  store i32 %39, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %40 = load i32, ptr @q, align 4, !tbaa !5
  %41 = load i32, ptr %3, align 4, !tbaa !5
  %42 = srem i32 %40, %41
  store i32 %42, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %43 = load i32, ptr @tot, align 4, !tbaa !5
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = sub nsw i32 %43, %44
  %46 = load i32, ptr %5, align 4, !tbaa !5
  %47 = sub nsw i32 %45, %46
  %48 = load i32, ptr %3, align 4, !tbaa !5
  %49 = sdiv i32 %47, %48
  store i32 %49, ptr %6, align 4, !tbaa !5
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) @cur, ptr noundef nonnull align 4 dereferenceable(4) @pre) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %69, %26
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = load i32, ptr %6, align 4, !tbaa !5
  %53 = icmp sle i32 %51, %52
  br i1 %53, label %55, label %54

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

55:                                               ; preds = %50
  %56 = load i32, ptr @cur, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %57
  %59 = load i32, ptr %7, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [201 x [201 x i32]], ptr %58, i64 0, i64 %60
  %62 = getelementptr inbounds [201 x i32], ptr %61, i64 0, i64 0
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = load i32, ptr %7, align 4, !tbaa !5
  %65 = sub nsw i32 %63, %64
  %66 = add nsw i32 %65, 1
  %67 = sext i32 %66 to i64
  %68 = mul i64 %67, 4
  call void @llvm.memset.p0.i64(ptr align 4 %62, i8 63, i64 %68, i1 false)
  br label %69

69:                                               ; preds = %55
  %70 = load i32, ptr %7, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %7, align 4, !tbaa !5
  br label %50, !llvm.loop !9

72:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %73 = load i32, ptr %1, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [7 x i32], ptr @_ZL1w, i64 0, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = load i32, ptr %1, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [7 x i32], ptr @_ZL3com, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = sdiv i32 %76, %80
  store i32 %81, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %82 = load i32, ptr %1, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [7 x i32], ptr getelementptr inbounds ([5 x [7 x i32]], ptr @c, i64 0, i64 3), i64 0, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !5
  store i32 %85, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %86 = load i32, ptr %1, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [7 x i32], ptr @c, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  store i32 %89, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %90 = load i32, ptr %1, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [7 x i32], ptr getelementptr inbounds ([5 x [7 x i32]], ptr @c, i64 0, i64 1), i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  store i32 %93, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %94 = load i32, ptr %1, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [7 x i32], ptr getelementptr inbounds ([5 x [7 x i32]], ptr @c, i64 0, i64 2), i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !5
  store i32 %97, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %239, %72
  %99 = load i32, ptr %13, align 4, !tbaa !5
  %100 = load i32, ptr @tot, align 4, !tbaa !5
  %101 = icmp sle i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 8, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %242

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

104:                                              ; preds = %235, %103
  %105 = load i32, ptr %13, align 4, !tbaa !5
  %106 = load i32, ptr %14, align 4, !tbaa !5
  %107 = add nsw i32 %105, %106
  %108 = load i32, ptr @tot, align 4, !tbaa !5
  %109 = icmp sle i32 %107, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %104
  store i32 11, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %238

111:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %112 = load i32, ptr @pre, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %113
  %115 = load i32, ptr %13, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [201 x [201 x i32]], ptr %114, i64 0, i64 %116
  %118 = load i32, ptr %14, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [201 x i32], ptr %117, i64 0, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !5
  store i32 %121, ptr %15, align 4, !tbaa !5
  %122 = load i32, ptr %15, align 4, !tbaa !5
  %123 = icmp eq i32 %122, 1061109567
  br i1 %123, label %124, label %125

124:                                              ; preds = %111
  store i32 13, ptr %2, align 4
  br label %232

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

126:                                              ; preds = %228, %125
  %127 = load i32, ptr %16, align 4, !tbaa !5
  %128 = load i32, ptr %9, align 4, !tbaa !5
  %129 = icmp sle i32 %127, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %126
  store i32 14, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %231

131:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %132 = load i32, ptr %13, align 4, !tbaa !5
  %133 = load i32, ptr %16, align 4, !tbaa !5
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = sub nsw i32 %133, %134
  %136 = load i32, ptr %8, align 4, !tbaa !5
  %137 = mul nsw i32 %135, %136
  %138 = add nsw i32 %132, %137
  store i32 %138, ptr %17, align 4, !tbaa !5
  %139 = load i32, ptr %17, align 4, !tbaa !5
  %140 = icmp slt i32 %139, 0
  br i1 %140, label %147, label %141

141:                                              ; preds = %131
  %142 = load i32, ptr %17, align 4, !tbaa !5
  %143 = load i32, ptr %3, align 4, !tbaa !5
  %144 = srem i32 %142, %143
  %145 = load i32, ptr %4, align 4, !tbaa !5
  %146 = icmp ne i32 %144, %145
  br i1 %146, label %147, label %148

147:                                              ; preds = %141, %131
  store i32 16, ptr %2, align 4
  br label %225

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

149:                                              ; preds = %221, %148
  %150 = load i32, ptr %16, align 4, !tbaa !5
  %151 = load i32, ptr %18, align 4, !tbaa !5
  %152 = add nsw i32 %150, %151
  %153 = load i32, ptr %9, align 4, !tbaa !5
  %154 = icmp sle i32 %152, %153
  br i1 %154, label %156, label %155

155:                                              ; preds = %149
  store i32 17, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %224

156:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %157 = load i32, ptr %14, align 4, !tbaa !5
  %158 = load i32, ptr %18, align 4, !tbaa !5
  %159 = load i32, ptr %11, align 4, !tbaa !5
  %160 = sub nsw i32 %158, %159
  %161 = load i32, ptr %8, align 4, !tbaa !5
  %162 = mul nsw i32 %160, %161
  %163 = add nsw i32 %157, %162
  store i32 %163, ptr %19, align 4, !tbaa !5
  %164 = load i32, ptr %19, align 4, !tbaa !5
  %165 = icmp slt i32 %164, 0
  br i1 %165, label %178, label %166

166:                                              ; preds = %156
  %167 = load i32, ptr %17, align 4, !tbaa !5
  %168 = load i32, ptr %19, align 4, !tbaa !5
  %169 = add nsw i32 %167, %168
  %170 = load i32, ptr @tot, align 4, !tbaa !5
  %171 = icmp sgt i32 %169, %170
  br i1 %171, label %178, label %172

172:                                              ; preds = %166
  %173 = load i32, ptr %19, align 4, !tbaa !5
  %174 = load i32, ptr %3, align 4, !tbaa !5
  %175 = srem i32 %173, %174
  %176 = load i32, ptr %5, align 4, !tbaa !5
  %177 = icmp ne i32 %175, %176
  br i1 %177, label %178, label %179

178:                                              ; preds = %172, %166, %156
  store i32 19, ptr %2, align 4
  br label %218

179:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %180 = load i32, ptr @cur, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %181
  %183 = load i32, ptr %17, align 4, !tbaa !5
  %184 = load i32, ptr %3, align 4, !tbaa !5
  %185 = sdiv i32 %183, %184
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [201 x [201 x i32]], ptr %182, i64 0, i64 %186
  %188 = load i32, ptr %19, align 4, !tbaa !5
  %189 = load i32, ptr %3, align 4, !tbaa !5
  %190 = sdiv i32 %188, %189
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [201 x i32], ptr %187, i64 0, i64 %191
  store ptr %192, ptr %20, align 8, !tbaa !11
  %193 = load ptr, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %194 = load i32, ptr %15, align 4, !tbaa !5
  %195 = load i32, ptr %16, align 4, !tbaa !5
  %196 = load i32, ptr %10, align 4, !tbaa !5
  %197 = sub nsw i32 %195, %196
  %198 = call i32 @llvm.abs.i32(i32 %197, i1 true)
  %199 = load i32, ptr %18, align 4, !tbaa !5
  %200 = load i32, ptr %11, align 4, !tbaa !5
  %201 = sub nsw i32 %199, %200
  %202 = call i32 @llvm.abs.i32(i32 %201, i1 true)
  %203 = add nsw i32 %198, %202
  %204 = load i32, ptr %9, align 4, !tbaa !5
  %205 = load i32, ptr %16, align 4, !tbaa !5
  %206 = sub nsw i32 %204, %205
  %207 = load i32, ptr %18, align 4, !tbaa !5
  %208 = sub nsw i32 %206, %207
  %209 = load i32, ptr %12, align 4, !tbaa !5
  %210 = sub nsw i32 %208, %209
  %211 = call i32 @llvm.abs.i32(i32 %210, i1 true)
  %212 = add nsw i32 %203, %211
  %213 = sdiv i32 %212, 2
  %214 = add nsw i32 %194, %213
  store i32 %214, ptr %21, align 4, !tbaa !5
  %215 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %193, ptr noundef nonnull align 4 dereferenceable(4) %21)
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = load ptr, ptr %20, align 8, !tbaa !11
  store i32 %216, ptr %217, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  store i32 0, ptr %2, align 4
  br label %218

218:                                              ; preds = %179, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  %219 = load i32, ptr %2, align 4
  switch i32 %219, label %280 [
    i32 0, label %220
    i32 19, label %221
  ]

220:                                              ; preds = %218
  br label %221

221:                                              ; preds = %220, %218
  %222 = load i32, ptr %18, align 4, !tbaa !5
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %18, align 4, !tbaa !5
  br label %149, !llvm.loop !13

224:                                              ; preds = %155
  store i32 0, ptr %2, align 4
  br label %225

225:                                              ; preds = %224, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %226 = load i32, ptr %2, align 4
  switch i32 %226, label %280 [
    i32 0, label %227
    i32 16, label %228
  ]

227:                                              ; preds = %225
  br label %228

228:                                              ; preds = %227, %225
  %229 = load i32, ptr %16, align 4, !tbaa !5
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %16, align 4, !tbaa !5
  br label %126, !llvm.loop !14

231:                                              ; preds = %130
  store i32 0, ptr %2, align 4
  br label %232

232:                                              ; preds = %231, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  %233 = load i32, ptr %2, align 4
  switch i32 %233, label %280 [
    i32 0, label %234
    i32 13, label %235
  ]

234:                                              ; preds = %232
  br label %235

235:                                              ; preds = %234, %232
  %236 = load i32, ptr %14, align 4, !tbaa !5
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr %14, align 4, !tbaa !5
  br label %104, !llvm.loop !15

238:                                              ; preds = %110
  br label %239

239:                                              ; preds = %238
  %240 = load i32, ptr %13, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %13, align 4, !tbaa !5
  br label %98, !llvm.loop !16

242:                                              ; preds = %102
  %243 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %243, ptr @tot, align 4, !tbaa !5
  %244 = load i32, ptr %3, align 4, !tbaa !5
  %245 = load i32, ptr @p, align 4, !tbaa !5
  %246 = sdiv i32 %245, %244
  store i32 %246, ptr @p, align 4, !tbaa !5
  %247 = load i32, ptr %3, align 4, !tbaa !5
  %248 = load i32, ptr @q, align 4, !tbaa !5
  %249 = sdiv i32 %248, %247
  store i32 %249, ptr @q, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %250

250:                                              ; preds = %242
  %251 = load i32, ptr %1, align 4, !tbaa !5
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %1, align 4, !tbaa !5
  br label %22, !llvm.loop !17

253:                                              ; preds = %25
  %254 = load i32, ptr @cur, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %255
  %257 = load i32, ptr @p, align 4, !tbaa !5
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [201 x [201 x i32]], ptr %256, i64 0, i64 %258
  %260 = load i32, ptr @q, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [201 x i32], ptr %259, i64 0, i64 %261
  %263 = load i32, ptr %262, align 4, !tbaa !5
  %264 = icmp eq i32 %263, 1061109567
  br i1 %264, label %265, label %267

265:                                              ; preds = %253
  %266 = call i32 @puts(ptr noundef @.str.2)
  br label %279

267:                                              ; preds = %253
  %268 = load i32, ptr @cur, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %269
  %271 = load i32, ptr @p, align 4, !tbaa !5
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds [201 x [201 x i32]], ptr %270, i64 0, i64 %272
  %274 = load i32, ptr @q, align 4, !tbaa !5
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds [201 x i32], ptr %273, i64 0, i64 %275
  %277 = load i32, ptr %276, align 4, !tbaa !5
  %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %277)
  br label %279

279:                                              ; preds = %267, %265
  ret void

280:                                              ; preds = %232, %225, %218
  unreachable
}

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

; 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)) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !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"

@tot = external dso_local local_unnamed_addr global i32, align 4
@p = external dso_local local_unnamed_addr global i32, align 4
@q = external dso_local local_unnamed_addr global i32, align 4
@c = external dso_local local_unnamed_addr global [5 x [7 x i32]], align 16
@f = external dso_local global [2 x [201 x [201 x i32]]], align 16
@cur = external dso_local global i32, align 4
@pre = external dso_local global i32, align 4
@_ZL1w = external hidden local_unnamed_addr constant [7 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@_ZL3com = external hidden local_unnamed_addr constant [7 x i32], align 16
@.str.3 = 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: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #3

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #4 {
  %1 = alloca i32, align 4
  %.pre = load i32, ptr getelementptr inbounds (i8, ptr @_ZL3com, i64 4), align 4, !tbaa !5
  %.pre128 = load i32, ptr @p, align 4, !tbaa !5
  %.pre129 = load i32, ptr @q, align 4, !tbaa !5
  %.pre130 = load i32, ptr @tot, align 4, !tbaa !5
  br label %10

2:                                                ; preds = %._crit_edge113
  %3 = load i32, ptr @cur, align 4, !tbaa !5
  %4 = sext i32 %3 to i64
  %5 = sext i32 %69 to i64
  %6 = sext i32 %71 to i64
  %7 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %4, i64 %5, i64 %6
  %8 = load i32, ptr %7, align 4, !tbaa !5
  %9 = icmp eq i32 %8, 1061109567
  br i1 %9, label %127, label %129

10:                                               ; preds = %0, %._crit_edge113
  %11 = phi i32 [ %.pre130, %0 ], [ %22, %._crit_edge113 ]
  %12 = phi i32 [ %.pre129, %0 ], [ %71, %._crit_edge113 ]
  %13 = phi i32 [ %.pre128, %0 ], [ %69, %._crit_edge113 ]
  %14 = phi i32 [ %.pre, %0 ], [ %16, %._crit_edge113 ]
  %indvars.iv124 = phi i64 [ 1, %0 ], [ %indvars.iv.next125, %._crit_edge113 ]
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %15 = getelementptr inbounds [7 x i32], ptr @_ZL3com, i64 0, i64 %indvars.iv.next125
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %17 = sdiv i32 %16, %14
  %18 = srem i32 %13, %17
  %19 = srem i32 %12, %17
  %20 = add i32 %19, %18
  %21 = sub i32 %11, %20
  %22 = sdiv i32 %21, %17
  call void @_ZSt4swapIiENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) @cur, ptr noundef nonnull align 4 dereferenceable(4) @pre) #6
  %.not96 = icmp slt i32 %22, 0
  br i1 %.not96, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %10
  %23 = load i32, ptr @cur, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = add nuw i32 %22, 1
  %wide.trip.count = zext i32 %25 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %26 = icmp ult i32 %22, 3
  br i1 %26, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 4294967292
  br label %44

._crit_edge.loopexit.unr-lcssa:                   ; preds = %44, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.3, %44 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %27 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %24, i64 %indvars.iv.epil
  %28 = trunc nuw nsw i64 %indvars.iv.epil to i32
  %29 = sub i32 %25, %28
  %30 = sext i32 %29 to i64
  %31 = shl nsw i64 %30, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %27, i8 63, i64 %31, i1 false)
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !9

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %10
  %32 = getelementptr inbounds [7 x i32], ptr @_ZL1w, i64 0, i64 %indvars.iv124
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = sdiv i32 %33, %14
  %35 = getelementptr inbounds [7 x i32], ptr getelementptr inbounds (i8, ptr @c, i64 84), i64 0, i64 %indvars.iv124
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %.fr = freeze i32 %36
  %37 = getelementptr inbounds [7 x i32], ptr @c, i64 0, i64 %indvars.iv124
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = getelementptr inbounds [7 x i32], ptr getelementptr inbounds (i8, ptr @c, i64 28), i64 0, i64 %indvars.iv124
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = load i32, ptr @tot, align 4, !tbaa !5
  %.not82110 = icmp slt i32 %41, 0
  br i1 %.not82110, label %._crit_edge113, label %.preheader95.lr.ph

.preheader95.lr.ph:                               ; preds = %._crit_edge
  %42 = getelementptr inbounds [7 x i32], ptr getelementptr inbounds (i8, ptr @c, i64 56), i64 0, i64 %indvars.iv124
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %.not84101 = icmp slt i32 %.fr, 0
  br i1 %.not84101, label %._crit_edge113, label %.preheader95

44:                                               ; preds = %44, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.3, %44 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %44 ]
  %45 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %24, i64 %indvars.iv
  %46 = trunc nuw nsw i64 %indvars.iv to i32
  %47 = sub i32 %25, %46
  %48 = sext i32 %47 to i64
  %49 = shl nsw i64 %48, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %45, i8 63, i64 %49, i1 false)
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %50 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %24, i64 %indvars.iv.next
  %51 = trunc nuw nsw i64 %indvars.iv.next to i32
  %52 = sub i32 %25, %51
  %53 = sext i32 %52 to i64
  %54 = shl nsw i64 %53, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %50, i8 63, i64 %54, i1 false)
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %55 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %24, i64 %indvars.iv.next.1
  %56 = trunc nuw nsw i64 %indvars.iv.next.1 to i32
  %57 = sub i32 %25, %56
  %58 = sext i32 %57 to i64
  %59 = shl nsw i64 %58, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %55, i8 63, i64 %59, i1 false)
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %60 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %24, i64 %indvars.iv.next.2
  %61 = trunc nuw nsw i64 %indvars.iv.next.2 to i32
  %62 = sub i32 %25, %61
  %63 = sext i32 %62 to i64
  %64 = shl nsw i64 %63, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %60, i8 63, i64 %64, i1 false)
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %44, !llvm.loop !11

.preheader95:                                     ; preds = %.preheader95.lr.ph, %._crit_edge109.split
  %65 = phi i32 [ %72, %._crit_edge109.split ], [ %41, %.preheader95.lr.ph ]
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %._crit_edge109.split ], [ 0, %.preheader95.lr.ph ]
  %66 = sext i32 %65 to i64
  %.not83105 = icmp sgt i64 %indvars.iv121, %66
  br i1 %.not83105, label %._crit_edge109.split, label %.lr.ph108

.lr.ph108:                                        ; preds = %.preheader95
  %67 = trunc nuw nsw i64 %indvars.iv121 to i32
  br label %73

._crit_edge113:                                   ; preds = %._crit_edge109.split, %.preheader95.lr.ph, %._crit_edge
  store i32 %22, ptr @tot, align 4, !tbaa !5
  %68 = load i32, ptr @p, align 4, !tbaa !5
  %69 = sdiv i32 %68, %17
  store i32 %69, ptr @p, align 4, !tbaa !5
  %70 = load i32, ptr @q, align 4, !tbaa !5
  %71 = sdiv i32 %70, %17
  store i32 %71, ptr @q, align 4, !tbaa !5
  %exitcond127.not = icmp eq i64 %indvars.iv.next125, 6
  br i1 %exitcond127.not, label %2, label %10, !llvm.loop !13

._crit_edge109.split.loopexit:                    ; preds = %..loopexit94_crit_edge
  %.pre132 = sext i32 %123 to i64
  br label %._crit_edge109.split

._crit_edge109.split:                             ; preds = %._crit_edge109.split.loopexit, %.preheader95
  %.pre-phi = phi i64 [ %.pre132, %._crit_edge109.split.loopexit ], [ %66, %.preheader95 ]
  %72 = phi i32 [ %123, %._crit_edge109.split.loopexit ], [ %65, %.preheader95 ]
  %indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
  %.not82.not = icmp slt i64 %indvars.iv121, %.pre-phi
  br i1 %.not82.not, label %.preheader95, label %._crit_edge113, !llvm.loop !14

73:                                               ; preds = %.lr.ph108, %..loopexit94_crit_edge
  %74 = phi i32 [ %65, %.lr.ph108 ], [ %123, %..loopexit94_crit_edge ]
  %75 = phi i32 [ %65, %.lr.ph108 ], [ %124, %..loopexit94_crit_edge ]
  %indvars.iv118 = phi i64 [ 0, %.lr.ph108 ], [ %indvars.iv.next119, %..loopexit94_crit_edge ]
  %76 = load i32, ptr @pre, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %77, i64 %indvars.iv121, i64 %indvars.iv118
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = icmp eq i32 %79, 1061109567
  br i1 %80, label %..loopexit94_crit_edge, label %.preheader93.preheader

.preheader93.preheader:                           ; preds = %73
  %81 = trunc nuw nsw i64 %indvars.iv118 to i32
  br label %.preheader93

.preheader93:                                     ; preds = %.preheader93.preheader, %.loopexit
  %.073102 = phi i32 [ %122, %.loopexit ], [ 0, %.preheader93.preheader ]
  %82 = sub nsw i32 %.073102, %38
  %83 = mul nsw i32 %82, %34
  %84 = add nsw i32 %83, %67
  %85 = icmp slt i32 %84, 0
  br i1 %85, label %.loopexit, label %86

86:                                               ; preds = %.preheader93
  %87 = srem i32 %84, %17
  %88 = sdiv i32 %84, %17
  %.not85.not = icmp eq i32 %87, %18
  br i1 %.not85.not, label %.lr.ph100, label %.loopexit

.lr.ph100:                                        ; preds = %86
  %89 = call i32 @llvm.abs.i32(i32 %82, i1 true)
  br label %90

90:                                               ; preds = %.lr.ph100, %119
  %.07199 = phi i32 [ 0, %.lr.ph100 ], [ %120, %119 ]
  %91 = add nuw nsw i32 %.07199, %.073102
  %92 = sub nsw i32 %.07199, %40
  %93 = mul nsw i32 %92, %34
  %94 = add nsw i32 %93, %81
  %95 = icmp slt i32 %94, 0
  br i1 %95, label %119, label %96

96:                                               ; preds = %90
  %97 = add nuw nsw i32 %94, %84
  %98 = load i32, ptr @tot, align 4, !tbaa !5
  %99 = icmp sgt i32 %97, %98
  br i1 %99, label %119, label %100

100:                                              ; preds = %96
  %101 = srem i32 %94, %17
  %102 = sdiv i32 %94, %17
  %.not87 = icmp eq i32 %101, %19
  br i1 %.not87, label %103, label %119

103:                                              ; preds = %100
  %104 = load i32, ptr @cur, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = sext i32 %88 to i64
  %107 = sext i32 %102 to i64
  %108 = getelementptr inbounds [2 x [201 x [201 x i32]]], ptr @f, i64 0, i64 %105, i64 %106, i64 %107
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  %109 = call i32 @llvm.abs.i32(i32 %92, i1 true)
  %110 = add nuw nsw i32 %109, %89
  %111 = add i32 %43, %91
  %112 = sub i32 %.fr, %111
  %113 = call i32 @llvm.abs.i32(i32 %112, i1 true)
  %114 = add nuw nsw i32 %110, %113
  %115 = lshr i32 %114, 1
  %116 = add nsw i32 %115, %79
  store i32 %116, ptr %1, align 4, !tbaa !5
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %108, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %118 = load i32, ptr %117, align 4, !tbaa !5
  store i32 %118, ptr %108, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  br label %119

119:                                              ; preds = %90, %96, %100, %103
  %120 = add nuw nsw i32 %.07199, 1
  %121 = add nuw nsw i32 %120, %.073102
  %.not86 = icmp sgt i32 %121, %.fr
  br i1 %.not86, label %.loopexit, label %90, !llvm.loop !15

.loopexit:                                        ; preds = %119, %.preheader93, %86
  %122 = add nuw i32 %.073102, 1
  %exitcond117.not = icmp eq i32 %.073102, %.fr
  br i1 %exitcond117.not, label %..loopexit94_crit_edge.loopexit, label %.preheader93, !llvm.loop !16

..loopexit94_crit_edge.loopexit:                  ; preds = %.loopexit
  %.pre131 = load i32, ptr @tot, align 4, !tbaa !5
  br label %..loopexit94_crit_edge

..loopexit94_crit_edge:                           ; preds = %..loopexit94_crit_edge.loopexit, %73
  %123 = phi i32 [ %.pre131, %..loopexit94_crit_edge.loopexit ], [ %74, %73 ]
  %124 = phi i32 [ %.pre131, %..loopexit94_crit_edge.loopexit ], [ %75, %73 ]
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %125 = add nuw nsw i64 %indvars.iv.next119, %indvars.iv121
  %126 = trunc nuw i64 %125 to i32
  %.not83 = icmp slt i32 %124, %126
  br i1 %.not83, label %._crit_edge109.split.loopexit, label %73, !llvm.loop !17

127:                                              ; preds = %2
  %128 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %131

129:                                              ; preds = %2
  %130 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %8)
  br label %131

131:                                              ; preds = %129, %127
  ret void
}

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

; 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 #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = { 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 #6 = { 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.unroll.disable"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


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