; LLVM IR from tangjz/acm-icpc :: codeforces/gym (101064L)

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

%class.anon = type { ptr }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@_ZZ4mainE1c = external hidden global [1001 x i32], align 16
@_ZZ4mainE3pos = external hidden global [20021 x i32], align 16
@_ZZ4mainE2dp = external hidden global [20021 x i64], align 16
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZZ4mainE3rep = external hidden global [1001 x i64], align 16
@_ZZ4mainE3vis = external hidden global [1001 x i8], align 16
@_ZZ4mainE3que = external hidden global [1001 x i32], align 16

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #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
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i64, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca %class.anon, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i64, align 8
  %48 = alloca i64, align 8
  %49 = alloca i32, align 4
  %50 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %51 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %78, %0
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %81

57:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %58 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
  br label %59

59:                                               ; preds = %64, %57
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %63, label %69

63:                                               ; preds = %59
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %4, align 4, !tbaa !5
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %4, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %67
  store i32 -1, ptr %68, align 4, !tbaa !5
  br label %59, !llvm.loop !9

69:                                               ; preds = %59
  %70 = load i32, ptr %6, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %71
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %72, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = load i32, ptr %6, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %76
  store i32 %74, ptr %77, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %78

78:                                               ; preds = %69
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %5, align 4, !tbaa !5
  br label %52, !llvm.loop !11

81:                                               ; preds = %56
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %83 = load i32, ptr %82, align 4, !tbaa !5
  store i32 %83, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %119, %81
  %85 = load i32, ptr %9, align 4, !tbaa !5
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = icmp sle i32 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %122

89:                                               ; preds = %84
  %90 = load i32, ptr %9, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = icmp ne i32 %93, -1
  br i1 %94, label %95, label %118

95:                                               ; preds = %89
  %96 = load i32, ptr %8, align 4, !tbaa !5
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %116

98:                                               ; preds = %95
  %99 = load i32, ptr %8, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = load i32, ptr %9, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = mul nsw i64 %103, %105
  %107 = load i32, ptr %9, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = load i32, ptr %8, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = mul nsw i64 %111, %113
  %115 = icmp slt i64 %106, %114
  br i1 %115, label %116, label %118

116:                                              ; preds = %98, %95
  %117 = load i32, ptr %9, align 4, !tbaa !5
  store i32 %117, ptr %8, align 4, !tbaa !5
  br label %118

118:                                              ; preds = %116, %98, %89
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %9, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %9, align 4, !tbaa !5
  br label %84, !llvm.loop !12

122:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %123 = load i32, ptr %8, align 4, !tbaa !5
  %124 = sub nsw i32 %123, 1
  %125 = load i32, ptr %4, align 4, !tbaa !5
  %126 = mul nsw i32 %124, %125
  store i32 %126, ptr %10, align 4, !tbaa !5
  %127 = load i32, ptr %3, align 4, !tbaa !5
  %128 = load i32, ptr %10, align 4, !tbaa !5
  %129 = load i32, ptr %8, align 4, !tbaa !5
  %130 = add nsw i32 %128, %129
  %131 = icmp slt i32 %127, %130
  br i1 %131, label %132, label %382

132:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %133 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %133, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %134 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %134, ptr %13, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %156, %132
  %136 = load i32, ptr %12, align 4, !tbaa !5
  %137 = load i32, ptr %13, align 4, !tbaa !5
  %138 = icmp sle i32 %136, %137
  br i1 %138, label %140, label %139

139:                                              ; preds = %135
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %172

140:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %141 = load i32, ptr %13, align 4, !tbaa !5
  store i32 %141, ptr %15, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %153, %140
  %143 = load i32, ptr %15, align 4, !tbaa !5
  %144 = load i32, ptr %12, align 4, !tbaa !5
  %145 = icmp sge i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 13, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %156

147:                                              ; preds = %142
  %148 = load i32, ptr %15, align 4, !tbaa !5
  %149 = load i32, ptr %11, align 4, !tbaa !5
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %11, align 4, !tbaa !5
  %151 = sext i32 %149 to i64
  %152 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %151
  store i32 %148, ptr %152, align 4, !tbaa !5
  br label %153

153:                                              ; preds = %147
  %154 = load i32, ptr %15, align 4, !tbaa !5
  %155 = add nsw i32 %154, -1
  store i32 %155, ptr %15, align 4, !tbaa !5
  br label %142, !llvm.loop !13

156:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %157 = load i32, ptr %13, align 4, !tbaa !5
  %158 = load i32, ptr %4, align 4, !tbaa !5
  %159 = add nsw i32 %157, %158
  %160 = ashr i32 %159, 1
  store i32 %160, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %161 = load i32, ptr %12, align 4, !tbaa !5
  %162 = sub nsw i32 %161, 1
  store i32 %162, ptr %17, align 4, !tbaa !5
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %164 = load i32, ptr %163, align 4, !tbaa !5
  store i32 %164, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %165 = load i32, ptr %12, align 4, !tbaa !5
  %166 = load i32, ptr %4, align 4, !tbaa !5
  %167 = sub nsw i32 %165, %166
  %168 = add nsw i32 %167, 1
  %169 = ashr i32 %168, 1
  store i32 %169, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  %170 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %171 = load i32, ptr %170, align 4, !tbaa !5
  store i32 %171, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %135, !llvm.loop !14

172:                                              ; preds = %139
  %173 = load i32, ptr %11, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds i32, ptr @_ZZ4mainE3pos, i64 %174
  call void @_ZSt7reverseIPiEvT_S1_(ptr noundef @_ZZ4mainE3pos, ptr noundef %175)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %192, %172
  %177 = load i32, ptr %20, align 4, !tbaa !5
  %178 = load i32, ptr %4, align 4, !tbaa !5
  %179 = icmp sle i32 %177, %178
  br i1 %179, label %181, label %180

180:                                              ; preds = %176
  store i32 16, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %195

181:                                              ; preds = %176
  %182 = load i32, ptr %20, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %183
  %185 = load i32, ptr %184, align 4, !tbaa !5
  %186 = load i32, ptr %20, align 4, !tbaa !5
  %187 = icmp eq i32 %185, %186
  br i1 %187, label %188, label %189

188:                                              ; preds = %181
  br label %191

189:                                              ; preds = %181
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 38, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

190:                                              ; No predecessors!
  br label %191

191:                                              ; preds = %190, %188
  br label %192

192:                                              ; preds = %191
  %193 = load i32, ptr %20, align 4, !tbaa !5
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %20, align 4, !tbaa !5
  br label %176, !llvm.loop !15

195:                                              ; preds = %180
  %196 = load i32, ptr %11, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = mul i64 %197, 8
  call void @llvm.memset.p0.i64(ptr align 16 @_ZZ4mainE2dp, i8 0, i64 %198, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 1, ptr %21, align 4, !tbaa !5
  br label %199

199:                                              ; preds = %243, %195
  %200 = load i32, ptr %21, align 4, !tbaa !5
  %201 = load i32, ptr %4, align 4, !tbaa !5
  %202 = icmp sle i32 %200, %201
  br i1 %202, label %204, label %203

203:                                              ; preds = %199
  store i32 19, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %246

204:                                              ; preds = %199
  %205 = load i32, ptr %21, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %206
  %208 = load i32, ptr %207, align 4, !tbaa !5
  %209 = icmp ne i32 %208, -1
  br i1 %209, label %210, label %242

210:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %211 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %211, ptr %22, align 4, !tbaa !5
  br label %212

212:                                              ; preds = %238, %210
  %213 = load i32, ptr %22, align 4, !tbaa !5
  %214 = load i32, ptr %4, align 4, !tbaa !5
  %215 = icmp sle i32 %213, %214
  br i1 %215, label %217, label %216

216:                                              ; preds = %212
  store i32 22, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %241

217:                                              ; preds = %212
  %218 = load i32, ptr %22, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %221 = load i32, ptr %22, align 4, !tbaa !5
  %222 = load i32, ptr %21, align 4, !tbaa !5
  %223 = sub nsw i32 %221, %222
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %224
  %226 = load i64, ptr %225, align 8, !tbaa !16
  %227 = load i32, ptr %21, align 4, !tbaa !5
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %228
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %231 = sext i32 %230 to i64
  %232 = add nsw i64 %226, %231
  store i64 %232, ptr %23, align 8, !tbaa !16
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef nonnull align 8 dereferenceable(8) %23)
  %234 = load i64, ptr %233, align 8, !tbaa !16
  %235 = load i32, ptr %22, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %236
  store i64 %234, ptr %237, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %238

238:                                              ; preds = %217
  %239 = load i32, ptr %22, align 4, !tbaa !5
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %22, align 4, !tbaa !5
  br label %212, !llvm.loop !18

241:                                              ; preds = %216
  br label %242

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

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

246:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %247 = load i32, ptr %4, align 4, !tbaa !5
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %249

249:                                              ; preds = %372, %246
  %250 = load i32, ptr %24, align 4, !tbaa !5
  %251 = load i32, ptr %11, align 4, !tbaa !5
  %252 = icmp slt i32 %250, %251
  br i1 %252, label %254, label %253

253:                                              ; preds = %249
  store i32 25, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %375

254:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %255 = load i32, ptr %24, align 4, !tbaa !5
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %256
  %258 = load i32, ptr %257, align 4, !tbaa !5
  store i32 %258, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %259 = load i32, ptr %27, align 4, !tbaa !5
  %260 = load i32, ptr %4, align 4, !tbaa !5
  %261 = sub nsw i32 %259, %260
  %262 = add nsw i32 %261, 1
  %263 = ashr i32 %262, 1
  store i32 %263, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 0, ptr %30, align 4, !tbaa !5
  %264 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %265 = load i32, ptr %264, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  store i32 %265, ptr %28, align 4, !tbaa !5
  br label %266

266:                                              ; preds = %275, %254
  %267 = load i32, ptr %25, align 4, !tbaa !5
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %268
  %270 = load i32, ptr %269, align 4, !tbaa !5
  %271 = load i32, ptr %28, align 4, !tbaa !5
  %272 = icmp slt i32 %270, %271
  br i1 %272, label %274, label %273

273:                                              ; preds = %266
  store i32 28, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %278

274:                                              ; preds = %266
  br label %275

275:                                              ; preds = %274
  %276 = load i32, ptr %25, align 4, !tbaa !5
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %25, align 4, !tbaa !5
  br label %266, !llvm.loop !20

278:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %279 = load i32, ptr %27, align 4, !tbaa !5
  %280 = load i32, ptr %4, align 4, !tbaa !5
  %281 = add nsw i32 %279, %280
  %282 = ashr i32 %281, 1
  store i32 %282, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %283 = load i32, ptr %27, align 4, !tbaa !5
  %284 = sub nsw i32 %283, 1
  store i32 %284, ptr %33, align 4, !tbaa !5
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %286 = load i32, ptr %285, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  store i32 %286, ptr %31, align 4, !tbaa !5
  br label %287

287:                                              ; preds = %296, %278
  %288 = load i32, ptr %26, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %289
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = load i32, ptr %31, align 4, !tbaa !5
  %293 = icmp slt i32 %291, %292
  br i1 %293, label %295, label %294

294:                                              ; preds = %287
  store i32 31, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %299

295:                                              ; preds = %287
  br label %296

296:                                              ; preds = %295
  %297 = load i32, ptr %26, align 4, !tbaa !5
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %26, align 4, !tbaa !5
  br label %287, !llvm.loop !21

299:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %300 = load i32, ptr %25, align 4, !tbaa !5
  store i32 %300, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  %301 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %301, ptr %35, align 4, !tbaa !5
  br label %302

302:                                              ; preds = %368, %299
  %303 = load i32, ptr %34, align 4, !tbaa !5
  %304 = load i32, ptr %35, align 4, !tbaa !5
  %305 = icmp sle i32 %303, %304
  br i1 %305, label %307, label %306

306:                                              ; preds = %302
  store i32 34, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %371

307:                                              ; preds = %302
  br label %308

308:                                              ; preds = %327, %307
  %309 = load i32, ptr %34, align 4, !tbaa !5
  %310 = load i32, ptr %35, align 4, !tbaa !5
  %311 = icmp sle i32 %309, %310
  br i1 %311, label %312, label %324

312:                                              ; preds = %308
  %313 = load i32, ptr %34, align 4, !tbaa !5
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %314
  %316 = load i32, ptr %315, align 4, !tbaa !5
  %317 = load i32, ptr %35, align 4, !tbaa !5
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %318
  %320 = load i32, ptr %319, align 4, !tbaa !5
  %321 = add nsw i32 %316, %320
  %322 = load i32, ptr %27, align 4, !tbaa !5
  %323 = icmp sgt i32 %321, %322
  br label %324

324:                                              ; preds = %312, %308
  %325 = phi i1 [ false, %308 ], [ %323, %312 ]
  br i1 %325, label %326, label %330

326:                                              ; preds = %324
  br label %327

327:                                              ; preds = %326
  %328 = load i32, ptr %35, align 4, !tbaa !5
  %329 = add nsw i32 %328, -1
  store i32 %329, ptr %35, align 4, !tbaa !5
  br label %308, !llvm.loop !22

330:                                              ; preds = %324
  %331 = load i32, ptr %34, align 4, !tbaa !5
  %332 = load i32, ptr %35, align 4, !tbaa !5
  %333 = icmp sle i32 %331, %332
  br i1 %333, label %334, label %367

334:                                              ; preds = %330
  %335 = load i32, ptr %34, align 4, !tbaa !5
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %336
  %338 = load i32, ptr %337, align 4, !tbaa !5
  %339 = load i32, ptr %35, align 4, !tbaa !5
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %340
  %342 = load i32, ptr %341, align 4, !tbaa !5
  %343 = add nsw i32 %338, %342
  %344 = load i32, ptr %27, align 4, !tbaa !5
  %345 = icmp eq i32 %343, %344
  br i1 %345, label %346, label %347

346:                                              ; preds = %334
  br label %349

347:                                              ; preds = %334
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 51, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

348:                                              ; No predecessors!
  br label %349

349:                                              ; preds = %348, %346
  %350 = load i32, ptr %24, align 4, !tbaa !5
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %351
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %353 = load i32, ptr %34, align 4, !tbaa !5
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %354
  %356 = load i64, ptr %355, align 8, !tbaa !16
  %357 = load i32, ptr %35, align 4, !tbaa !5
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %358
  %360 = load i64, ptr %359, align 8, !tbaa !16
  %361 = add nsw i64 %356, %360
  store i64 %361, ptr %36, align 8, !tbaa !16
  %362 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %352, ptr noundef nonnull align 8 dereferenceable(8) %36)
  %363 = load i64, ptr %362, align 8, !tbaa !16
  %364 = load i32, ptr %24, align 4, !tbaa !5
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %365
  store i64 %363, ptr %366, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %367

367:                                              ; preds = %349, %330
  br label %368

368:                                              ; preds = %367
  %369 = load i32, ptr %34, align 4, !tbaa !5
  %370 = add nsw i32 %369, 1
  store i32 %370, ptr %34, align 4, !tbaa !5
  br label %302, !llvm.loop !23

371:                                              ; preds = %306
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %372

372:                                              ; preds = %371
  %373 = load i32, ptr %24, align 4, !tbaa !5
  %374 = add nsw i32 %373, 1
  store i32 %374, ptr %24, align 4, !tbaa !5
  br label %249, !llvm.loop !24

375:                                              ; preds = %253
  %376 = load i32, ptr %11, align 4, !tbaa !5
  %377 = sub nsw i32 %376, 1
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %378
  %380 = load i64, ptr %379, align 8, !tbaa !16
  %381 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %380)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %586

382:                                              ; preds = %122
  store i64 0, ptr @_ZZ4mainE3rep, align 16, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 1, ptr %37, align 4, !tbaa !5
  br label %383

383:                                              ; preds = %392, %382
  %384 = load i32, ptr %37, align 4, !tbaa !5
  %385 = load i32, ptr %8, align 4, !tbaa !5
  %386 = icmp slt i32 %384, %385
  br i1 %386, label %388, label %387

387:                                              ; preds = %383
  store i32 40, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %395

388:                                              ; preds = %383
  %389 = load i32, ptr %37, align 4, !tbaa !5
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %390
  store i64 -1000000000000000001, ptr %391, align 8, !tbaa !16
  br label %392

392:                                              ; preds = %388
  %393 = load i32, ptr %37, align 4, !tbaa !5
  %394 = add nsw i32 %393, 1
  store i32 %394, ptr %37, align 4, !tbaa !5
  br label %383, !llvm.loop !25

395:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store i32 1, ptr %38, align 4, !tbaa !5
  br label %396

396:                                              ; preds = %551, %395
  %397 = load i32, ptr %38, align 4, !tbaa !5
  %398 = load i32, ptr %4, align 4, !tbaa !5
  %399 = icmp sle i32 %397, %398
  br i1 %399, label %401, label %400

400:                                              ; preds = %396
  store i32 43, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %554

401:                                              ; preds = %396
  %402 = load i32, ptr %38, align 4, !tbaa !5
  %403 = sext i32 %402 to i64
  %404 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %403
  %405 = load i32, ptr %404, align 4, !tbaa !5
  %406 = icmp eq i32 %405, -1
  br i1 %406, label %411, label %407

407:                                              ; preds = %401
  %408 = load i32, ptr %38, align 4, !tbaa !5
  %409 = load i32, ptr %8, align 4, !tbaa !5
  %410 = icmp eq i32 %408, %409
  br i1 %410, label %411, label %412

411:                                              ; preds = %407, %401
  br label %551

412:                                              ; preds = %407
  %413 = load i32, ptr %8, align 4, !tbaa !5
  %414 = sext i32 %413 to i64
  %415 = mul i64 %414, 1
  call void @llvm.memset.p0.i64(ptr align 16 @_ZZ4mainE3vis, i8 0, i64 %415, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  store i32 0, ptr %39, align 4, !tbaa !5
  br label %416

416:                                              ; preds = %547, %412
  %417 = load i32, ptr %39, align 4, !tbaa !5
  %418 = load i32, ptr %8, align 4, !tbaa !5
  %419 = icmp slt i32 %417, %418
  br i1 %419, label %421, label %420

420:                                              ; preds = %416
  store i32 46, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %550

421:                                              ; preds = %416
  %422 = load i32, ptr %39, align 4, !tbaa !5
  %423 = sext i32 %422 to i64
  %424 = getelementptr inbounds [1001 x i8], ptr @_ZZ4mainE3vis, i64 0, i64 %423
  %425 = load i8, ptr %424, align 1, !tbaa !26, !range !28, !noundef !29
  %426 = trunc i8 %425 to i1
  br i1 %426, label %427, label %428

427:                                              ; preds = %421
  br label %547

428:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  store i32 0, ptr %40, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  store i32 0, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  %429 = load i32, ptr %39, align 4, !tbaa !5
  store i32 %429, ptr %42, align 4, !tbaa !5
  br label %430

430:                                              ; preds = %463, %428
  %431 = load i32, ptr %42, align 4, !tbaa !5
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds [1001 x i8], ptr @_ZZ4mainE3vis, i64 0, i64 %432
  %434 = load i8, ptr %433, align 1, !tbaa !26, !range !28, !noundef !29
  %435 = trunc i8 %434 to i1
  %436 = xor i1 %435, true
  br i1 %436, label %438, label %437

437:                                              ; preds = %430
  store i32 49, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %469

438:                                              ; preds = %430
  %439 = load i32, ptr %42, align 4, !tbaa !5
  %440 = load i32, ptr %40, align 4, !tbaa !5
  %441 = add nsw i32 %440, 1
  store i32 %441, ptr %40, align 4, !tbaa !5
  %442 = sext i32 %440 to i64
  %443 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %442
  store i32 %439, ptr %443, align 4, !tbaa !5
  %444 = load i32, ptr %42, align 4, !tbaa !5
  %445 = sext i32 %444 to i64
  %446 = getelementptr inbounds [1001 x i8], ptr @_ZZ4mainE3vis, i64 0, i64 %445
  store i8 1, ptr %446, align 1, !tbaa !26
  %447 = load i32, ptr %41, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %448
  %450 = load i32, ptr %449, align 4, !tbaa !5
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %451
  %453 = load i64, ptr %452, align 8, !tbaa !16
  %454 = load i32, ptr %42, align 4, !tbaa !5
  %455 = sext i32 %454 to i64
  %456 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %455
  %457 = load i64, ptr %456, align 8, !tbaa !16
  %458 = icmp slt i64 %453, %457
  br i1 %458, label %459, label %462

459:                                              ; preds = %438
  %460 = load i32, ptr %40, align 4, !tbaa !5
  %461 = sub nsw i32 %460, 1
  store i32 %461, ptr %41, align 4, !tbaa !5
  br label %462

462:                                              ; preds = %459, %438
  br label %463

463:                                              ; preds = %462
  %464 = load i32, ptr %42, align 4, !tbaa !5
  %465 = load i32, ptr %38, align 4, !tbaa !5
  %466 = add nsw i32 %464, %465
  %467 = load i32, ptr %8, align 4, !tbaa !5
  %468 = srem i32 %466, %467
  store i32 %468, ptr %42, align 4, !tbaa !5
  br label %430, !llvm.loop !30

469:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %470 = getelementptr inbounds %class.anon, ptr %43, i32 0, i32 0
  store ptr %40, ptr %470, align 8, !tbaa !31
  %471 = load i32, ptr %41, align 4, !tbaa !5
  %472 = sext i32 %471 to i64
  %473 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %472
  %474 = load i32, ptr %473, align 4, !tbaa !5
  %475 = sext i32 %474 to i64
  %476 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %475
  %477 = load i64, ptr %476, align 8, !tbaa !16
  %478 = icmp ne i64 %477, -1000000000000000001
  br i1 %478, label %479, label %546

479:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  store i32 0, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  %480 = load i32, ptr %41, align 4, !tbaa !5
  store i32 %480, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  %481 = load i32, ptr %45, align 4, !tbaa !5
  %482 = call noundef i32 @"_ZZ4mainENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %43, i32 noundef %481)
  store i32 %482, ptr %46, align 4, !tbaa !5
  br label %483

483:                                              ; preds = %539, %479
  %484 = load i32, ptr %44, align 4, !tbaa !5
  %485 = load i32, ptr %40, align 4, !tbaa !5
  %486 = load i32, ptr %40, align 4, !tbaa !5
  %487 = add nsw i32 %485, %486
  %488 = icmp slt i32 %484, %487
  br i1 %488, label %490, label %489

489:                                              ; preds = %483
  store i32 52, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %545

490:                                              ; preds = %483
  %491 = load i32, ptr %46, align 4, !tbaa !5
  %492 = sext i32 %491 to i64
  %493 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %492
  %494 = load i32, ptr %493, align 4, !tbaa !5
  %495 = sext i32 %494 to i64
  %496 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %495
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %497 = load i32, ptr %45, align 4, !tbaa !5
  %498 = sext i32 %497 to i64
  %499 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %498
  %500 = load i32, ptr %499, align 4, !tbaa !5
  %501 = sext i32 %500 to i64
  %502 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %501
  %503 = load i64, ptr %502, align 8, !tbaa !16
  %504 = load i32, ptr %38, align 4, !tbaa !5
  %505 = sext i32 %504 to i64
  %506 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %505
  %507 = load i32, ptr %506, align 4, !tbaa !5
  %508 = sext i32 %507 to i64
  %509 = add nsw i64 %503, %508
  %510 = load i32, ptr %45, align 4, !tbaa !5
  %511 = sext i32 %510 to i64
  %512 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %511
  %513 = load i32, ptr %512, align 4, !tbaa !5
  %514 = load i32, ptr %38, align 4, !tbaa !5
  %515 = add nsw i32 %513, %514
  %516 = load i32, ptr %46, align 4, !tbaa !5
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %517
  %519 = load i32, ptr %518, align 4, !tbaa !5
  %520 = sub nsw i32 %515, %519
  %521 = load i32, ptr %8, align 4, !tbaa !5
  %522 = sdiv i32 %520, %521
  %523 = sext i32 %522 to i64
  %524 = load i32, ptr %8, align 4, !tbaa !5
  %525 = sext i32 %524 to i64
  %526 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %525
  %527 = load i32, ptr %526, align 4, !tbaa !5
  %528 = sext i32 %527 to i64
  %529 = mul nsw i64 %523, %528
  %530 = sub nsw i64 %509, %529
  store i64 %530, ptr %47, align 8, !tbaa !16
  %531 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %496, ptr noundef nonnull align 8 dereferenceable(8) %47)
  %532 = load i64, ptr %531, align 8, !tbaa !16
  %533 = load i32, ptr %46, align 4, !tbaa !5
  %534 = sext i32 %533 to i64
  %535 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %534
  %536 = load i32, ptr %535, align 4, !tbaa !5
  %537 = sext i32 %536 to i64
  %538 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %537
  store i64 %532, ptr %538, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %539

539:                                              ; preds = %490
  %540 = load i32, ptr %44, align 4, !tbaa !5
  %541 = add nsw i32 %540, 1
  store i32 %541, ptr %44, align 4, !tbaa !5
  %542 = load i32, ptr %46, align 4, !tbaa !5
  store i32 %542, ptr %45, align 4, !tbaa !5
  %543 = load i32, ptr %45, align 4, !tbaa !5
  %544 = call noundef i32 @"_ZZ4mainENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %43, i32 noundef %543)
  store i32 %544, ptr %46, align 4, !tbaa !5
  br label %483, !llvm.loop !33

545:                                              ; preds = %489
  br label %546

546:                                              ; preds = %545, %469
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %547

547:                                              ; preds = %546, %427
  %548 = load i32, ptr %39, align 4, !tbaa !5
  %549 = add nsw i32 %548, 1
  store i32 %549, ptr %39, align 4, !tbaa !5
  br label %416, !llvm.loop !34

550:                                              ; preds = %420
  br label %551

551:                                              ; preds = %550, %411
  %552 = load i32, ptr %38, align 4, !tbaa !5
  %553 = add nsw i32 %552, 1
  store i32 %553, ptr %38, align 4, !tbaa !5
  br label %396, !llvm.loop !35

554:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  store i64 0, ptr %48, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #7
  store i32 0, ptr %49, align 4, !tbaa !5
  br label %555

555:                                              ; preds = %580, %554
  %556 = load i32, ptr %49, align 4, !tbaa !5
  %557 = load i32, ptr %8, align 4, !tbaa !5
  %558 = icmp slt i32 %556, %557
  br i1 %558, label %560, label %559

559:                                              ; preds = %555
  store i32 55, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  br label %583

560:                                              ; preds = %555
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  %561 = load i32, ptr %49, align 4, !tbaa !5
  %562 = sext i32 %561 to i64
  %563 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %562
  %564 = load i64, ptr %563, align 8, !tbaa !16
  %565 = load i32, ptr %3, align 4, !tbaa !5
  %566 = load i32, ptr %49, align 4, !tbaa !5
  %567 = sub nsw i32 %565, %566
  %568 = load i32, ptr %8, align 4, !tbaa !5
  %569 = sdiv i32 %567, %568
  %570 = sext i32 %569 to i64
  %571 = load i32, ptr %8, align 4, !tbaa !5
  %572 = sext i32 %571 to i64
  %573 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %572
  %574 = load i32, ptr %573, align 4, !tbaa !5
  %575 = sext i32 %574 to i64
  %576 = mul nsw i64 %570, %575
  %577 = add nsw i64 %564, %576
  store i64 %577, ptr %50, align 8, !tbaa !16
  %578 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %50)
  %579 = load i64, ptr %578, align 8, !tbaa !16
  store i64 %579, ptr %48, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  br label %580

580:                                              ; preds = %560
  %581 = load i32, ptr %49, align 4, !tbaa !5
  %582 = add nsw i32 %581, 1
  store i32 %582, ptr %49, align 4, !tbaa !5
  br label %555, !llvm.loop !36

583:                                              ; preds = %559
  %584 = load i64, ptr %48, align 8, !tbaa !16
  %585 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %584)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  br label %586

586:                                              ; preds = %583, %375
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %587 = load i32, ptr %1, align 4
  ret i32 %587
}

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; 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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPiEvT_S1_(ptr noundef, ptr noundef) #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @"_ZZ4mainENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = !{!27, !27, i64 0}
!27 = !{!"bool", !7, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = distinct !{!30, !10}
!31 = !{!32, !32, i64 0}
!32 = !{!"any pointer", !7, i64 0}
!33 = distinct !{!33, !10}
!34 = distinct !{!34, !10}
!35 = distinct !{!35, !10}
!36 = distinct !{!36, !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"

%class.anon = type { ptr }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@_ZZ4mainE1c = external hidden global [1001 x i32], align 16
@_ZZ4mainE3pos = external hidden global [20021 x i32], align 16
@_ZZ4mainE2dp = external hidden global [20021 x i64], align 16
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZZ4mainE3rep = external hidden global [1001 x i64], align 16
@_ZZ4mainE3vis = external hidden local_unnamed_addr global [1001 x i8], align 16
@_ZZ4mainE3que = external hidden local_unnamed_addr global [1001 x i32], align 16

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() 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
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca %class.anon, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 0, ptr %3, align 4, !tbaa !5
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph192, label %._crit_edge193

._crit_edge193:                                   ; preds = %.lr.ph192._crit_edge, %0
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %25 = load i32, ptr %24, align 4, !tbaa !5
  store i32 %25, ptr %3, align 4, !tbaa !5
  %.not194 = icmp slt i32 %25, 1
  br i1 %.not194, label %._crit_edge199, label %.lr.ph198.preheader

.lr.ph198.preheader:                              ; preds = %._crit_edge193
  %26 = zext nneg i32 %25 to i64
  %xtraiter = and i64 %26, 1
  %27 = icmp eq i32 %25, 1
  br i1 %27, label %._crit_edge199.loopexit.unr-lcssa, label %.lr.ph198.preheader.new

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

.lr.ph192:                                        ; preds = %0, %.lr.ph192._crit_edge
  %.0135190 = phi i32 [ %44, %.lr.ph192._crit_edge ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  %28 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %.promoted = load i32, ptr %3, align 4, !tbaa !5
  %30 = icmp slt i32 %.promoted, %29
  br i1 %30, label %.lr.ph.preheader, label %.lr.ph192._crit_edge

.lr.ph.preheader:                                 ; preds = %.lr.ph192
  %31 = sext i32 %.promoted to i64
  %32 = shl nsw i64 %31, 2
  %scevgep = getelementptr i8, ptr getelementptr inbounds (i8, ptr @_ZZ4mainE1c, i64 4), i64 %32
  %33 = xor i32 %.promoted, -1
  %34 = add i32 %29, %33
  %35 = zext i32 %34 to i64
  %36 = shl nuw nsw i64 %35, 2
  %37 = add nuw nsw i64 %36, 4
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %scevgep, i8 -1, i64 %37, i1 false), !tbaa !5
  store i32 %29, ptr %3, align 4, !tbaa !5
  br label %.lr.ph192._crit_edge

.lr.ph192._crit_edge:                             ; preds = %.lr.ph192, %.lr.ph.preheader
  %.pre-phi331 = sext i32 %29 to i64
  %38 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %.pre-phi331
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %42
  store i32 %40, ptr %43, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  %44 = add nuw nsw i32 %.0135190, 1
  %45 = load i32, ptr %1, align 4, !tbaa !5
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %.lr.ph192, label %._crit_edge193, !llvm.loop !9

._crit_edge199.loopexit.unr-lcssa:                ; preds = %94, %.lr.ph198.preheader
  %.1137.lcssa.ph = phi i32 [ poison, %.lr.ph198.preheader ], [ %.1137.1, %94 ]
  %indvars.iv270.unr = phi i64 [ 1, %.lr.ph198.preheader ], [ %indvars.iv.next271.1, %94 ]
  %.0136196.unr = phi i32 [ 0, %.lr.ph198.preheader ], [ %.1137.1, %94 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge199, label %.lr.ph198.epil

.lr.ph198.epil:                                   ; preds = %._crit_edge199.loopexit.unr-lcssa
  %47 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv270.unr
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %.not168.epil = icmp eq i32 %48, -1
  br i1 %.not168.epil, label %._crit_edge199, label %49

49:                                               ; preds = %.lr.ph198.epil
  %.not169.epil = icmp eq i32 %.0136196.unr, 0
  br i1 %.not169.epil, label %59, label %50

50:                                               ; preds = %49
  %51 = sext i32 %.0136196.unr to i64
  %52 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = mul nsw i64 %indvars.iv270.unr, %54
  %56 = sext i32 %48 to i64
  %57 = mul nsw i64 %56, %51
  %58 = icmp slt i64 %55, %57
  br i1 %58, label %59, label %._crit_edge199

59:                                               ; preds = %50, %49
  %60 = trunc nuw nsw i64 %indvars.iv270.unr to i32
  br label %._crit_edge199

._crit_edge199:                                   ; preds = %._crit_edge199.loopexit.unr-lcssa, %59, %50, %.lr.ph198.epil, %._crit_edge193
  %.0136.lcssa = phi i32 [ 0, %._crit_edge193 ], [ %.1137.lcssa.ph, %._crit_edge199.loopexit.unr-lcssa ], [ %60, %59 ], [ %.0136196.unr, %50 ], [ %.0136196.unr, %.lr.ph198.epil ]
  %.0136.lcssa.fr = freeze i32 %.0136.lcssa
  %61 = add nsw i32 %.0136.lcssa.fr, -1
  %62 = mul nsw i32 %61, %25
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = add nsw i32 %62, %.0136.lcssa.fr
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %.preheader178, label %202

.lr.ph198:                                        ; preds = %94, %.lr.ph198.preheader.new
  %indvars.iv270 = phi i64 [ 1, %.lr.ph198.preheader.new ], [ %indvars.iv.next271.1, %94 ]
  %.0136196 = phi i32 [ 0, %.lr.ph198.preheader.new ], [ %.1137.1, %94 ]
  %niter = phi i64 [ 0, %.lr.ph198.preheader.new ], [ %niter.next.1, %94 ]
  %66 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv270
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %.not168 = icmp eq i32 %67, -1
  br i1 %.not168, label %.lr.ph198.1, label %68

68:                                               ; preds = %.lr.ph198
  %.not169 = icmp eq i32 %.0136196, 0
  br i1 %.not169, label %78, label %69

69:                                               ; preds = %68
  %70 = sext i32 %.0136196 to i64
  %71 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = mul nsw i64 %indvars.iv270, %73
  %75 = sext i32 %67 to i64
  %76 = mul nsw i64 %75, %70
  %77 = icmp slt i64 %74, %76
  br i1 %77, label %78, label %.lr.ph198.1

78:                                               ; preds = %69, %68
  %79 = trunc nuw nsw i64 %indvars.iv270 to i32
  br label %.lr.ph198.1

.lr.ph198.1:                                      ; preds = %.lr.ph198, %69, %78
  %.1137 = phi i32 [ %79, %78 ], [ %.0136196, %69 ], [ %.0136196, %.lr.ph198 ]
  %indvars.iv.next271 = add nuw nsw i64 %indvars.iv270, 1
  %80 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv.next271
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %.not168.1 = icmp eq i32 %81, -1
  br i1 %.not168.1, label %94, label %82

82:                                               ; preds = %.lr.ph198.1
  %.not169.1 = icmp eq i32 %.1137, 0
  br i1 %.not169.1, label %92, label %83

83:                                               ; preds = %82
  %84 = sext i32 %.1137 to i64
  %85 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = mul nsw i64 %indvars.iv.next271, %87
  %89 = sext i32 %81 to i64
  %90 = mul nsw i64 %89, %84
  %91 = icmp slt i64 %88, %90
  br i1 %91, label %92, label %94

92:                                               ; preds = %83, %82
  %93 = trunc nuw nsw i64 %indvars.iv.next271 to i32
  br label %94

94:                                               ; preds = %92, %83, %.lr.ph198.1
  %.1137.1 = phi i32 [ %93, %92 ], [ %.1137, %83 ], [ %.1137, %.lr.ph198.1 ]
  %indvars.iv.next271.1 = add nuw nsw i64 %indvars.iv270, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge199.loopexit.unr-lcssa, label %.lr.ph198, !llvm.loop !11

.preheader178:                                    ; preds = %._crit_edge199, %.loopexit374
  %.0147233 = phi i32 [ %117, %.loopexit374 ], [ %63, %._crit_edge199 ]
  %.0148232 = phi i32 [ %123, %.loopexit374 ], [ %63, %._crit_edge199 ]
  %.0149231 = phi i32 [ %98, %.loopexit374 ], [ 0, %._crit_edge199 ]
  %95 = sext i32 %.0149231 to i64
  %96 = add i32 %.0149231, 1
  %97 = add i32 %96, %.0147233
  %smin = call i32 @llvm.smin.i32(i32 %.0147233, i32 %.0148232)
  %98 = sub i32 %97, %smin
  %99 = sub i32 %.0147233, %smin
  %100 = zext i32 %99 to i64
  %101 = add nuw nsw i64 %100, 1
  %min.iters.check360 = icmp ult i32 %99, 7
  br i1 %min.iters.check360, label %scalar.ph359.preheader, label %vector.ph361

scalar.ph359.preheader:                           ; preds = %middle.block358, %.preheader178
  %indvars.iv299.ph = phi i64 [ %95, %.preheader178 ], [ %ind.end364, %middle.block358 ]
  %.0146230.ph = phi i32 [ %.0147233, %.preheader178 ], [ %ind.end366, %middle.block358 ]
  br label %scalar.ph359

vector.ph361:                                     ; preds = %.preheader178
  %n.vec363 = and i64 %101, 8589934584
  %ind.end364 = add nsw i64 %n.vec363, %95
  %.cast = trunc i64 %n.vec363 to i32
  %ind.end366 = sub i32 %.0147233, %.cast
  %.splatinsert = insertelement <4 x i32> poison, i32 %.0147233, i64 0
  %.splat = shufflevector <4 x i32> %.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  %induction = add <4 x i32> %.splat, <i32 0, i32 -1, i32 -2, i32 -3>
  br label %vector.body368

vector.body368:                                   ; preds = %vector.body368, %vector.ph361
  %index369 = phi i64 [ 0, %vector.ph361 ], [ %index.next372, %vector.body368 ]
  %vec.ind = phi <4 x i32> [ %induction, %vector.ph361 ], [ %vec.ind.next, %vector.body368 ]
  %step.add = add <4 x i32> %vec.ind, <i32 -4, i32 -4, i32 -4, i32 -4>
  %offset.idx371 = add i64 %index369, %95
  %102 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %offset.idx371
  %103 = getelementptr inbounds i8, ptr %102, i64 16
  store <4 x i32> %vec.ind, ptr %102, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %103, align 4, !tbaa !5
  %index.next372 = add nuw i64 %index369, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 -8, i32 -8, i32 -8, i32 -8>
  %104 = icmp eq i64 %index.next372, %n.vec363
  br i1 %104, label %middle.block358, label %vector.body368, !llvm.loop !12

middle.block358:                                  ; preds = %vector.body368
  %cmp.n373 = icmp eq i64 %101, %n.vec363
  %cmo = add nsw i64 %n.vec363, -1
  %ind.escape = add nsw i64 %cmo, %95
  br i1 %cmp.n373, label %.loopexit374, label %scalar.ph359.preheader

105:                                              ; preds = %.loopexit374
  %106 = trunc nsw i64 %indvars.iv299.lcssa to i32
  %107 = sext i32 %98 to i64
  %108 = getelementptr inbounds i32, ptr @_ZZ4mainE3pos, i64 %107
  call void @_ZSt7reverseIPiEvT_S1_(ptr noundef nonnull @_ZZ4mainE3pos, ptr noundef nonnull %108)
  %109 = load i32, ptr %3, align 4
  %.not161234 = icmp slt i32 %109, 0
  br i1 %.not161234, label %._crit_edge238.thread, label %.lr.ph237.preheader

._crit_edge238.thread:                            ; preds = %105
  %110 = shl nsw i64 %107, 3
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE2dp, i8 0, i64 %110, i1 false)
  br label %.preheader175

.lr.ph237.preheader:                              ; preds = %105
  %111 = add nuw i32 %109, 1
  %wide.trip.count306 = zext i32 %111 to i64
  br label %.lr.ph237

.loopexit374:                                     ; preds = %scalar.ph359, %middle.block358
  %indvars.iv299.lcssa = phi i64 [ %ind.escape, %middle.block358 ], [ %indvars.iv299, %scalar.ph359 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  %112 = load i32, ptr %3, align 4, !tbaa !5
  %113 = add nsw i32 %112, %.0147233
  %114 = ashr i32 %113, 1
  store i32 %114, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %115 = add nsw i32 %.0148232, -1
  store i32 %115, ptr %7, align 4, !tbaa !5
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %117 = load i32, ptr %116, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  %118 = load i32, ptr %3, align 4, !tbaa !5
  %119 = add i32 %.0148232, 1
  %120 = sub i32 %119, %118
  %121 = ashr i32 %120, 1
  store i32 %121, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  store i32 0, ptr %9, align 4, !tbaa !5
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %123 = load i32, ptr %122, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  %.not160 = icmp sgt i32 %123, %117
  br i1 %.not160, label %105, label %.preheader178, !llvm.loop !15

scalar.ph359:                                     ; preds = %scalar.ph359.preheader, %scalar.ph359
  %indvars.iv299 = phi i64 [ %indvars.iv.next300, %scalar.ph359 ], [ %indvars.iv299.ph, %scalar.ph359.preheader ]
  %.0146230 = phi i32 [ %125, %scalar.ph359 ], [ %.0146230.ph, %scalar.ph359.preheader ]
  %indvars.iv.next300 = add nsw i64 %indvars.iv299, 1
  %124 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %indvars.iv299
  store i32 %.0146230, ptr %124, align 4, !tbaa !5
  %125 = add nsw i32 %.0146230, -1
  %lftr.wideiv = trunc i64 %indvars.iv.next300 to i32
  %exitcond302.not = icmp eq i32 %98, %lftr.wideiv
  br i1 %exitcond302.not, label %.loopexit374, label %scalar.ph359, !llvm.loop !16

126:                                              ; preds = %.lr.ph237
  %indvars.iv.next304 = add nuw nsw i64 %indvars.iv303, 1
  %exitcond307.not = icmp eq i64 %indvars.iv.next304, %wide.trip.count306
  br i1 %exitcond307.not, label %._crit_edge238, label %.lr.ph237, !llvm.loop !17

._crit_edge238:                                   ; preds = %126
  %127 = shl nsw i64 %107, 3
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE2dp, i8 0, i64 %127, i1 false)
  %.not162242 = icmp eq i32 %109, 0
  br i1 %.not162242, label %.preheader175, label %.lr.ph246

.lr.ph237:                                        ; preds = %.lr.ph237.preheader, %126
  %indvars.iv303 = phi i64 [ 0, %.lr.ph237.preheader ], [ %indvars.iv.next304, %126 ]
  %128 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %indvars.iv303
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = icmp eq i64 %indvars.iv303, %130
  br i1 %131, label %126, label %132

132:                                              ; preds = %.lr.ph237
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 38, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #9
  unreachable

.preheader175:                                    ; preds = %.loopexit177, %._crit_edge238.thread, %._crit_edge238
  %.lcssa187 = phi i32 [ %109, %._crit_edge238 ], [ %109, %._crit_edge238.thread ], [ %151, %.loopexit177 ]
  %133 = icmp slt i32 %.lcssa187, %106
  br i1 %133, label %.lr.ph256.preheader, label %.preheader175.._crit_edge257_crit_edge

.preheader175.._crit_edge257_crit_edge:           ; preds = %.preheader175
  %sext = shl i64 %indvars.iv299.lcssa, 32
  %.pre332 = ashr exact i64 %sext, 32
  br label %._crit_edge257

.lr.ph256.preheader:                              ; preds = %.preheader175
  %134 = sext i32 %.lcssa187 to i64
  %sext334 = shl i64 %indvars.iv299.lcssa, 32
  %135 = ashr exact i64 %sext334, 32
  br label %.lr.ph256

.lr.ph246:                                        ; preds = %._crit_edge238, %.loopexit177
  %136 = phi i32 [ %151, %.loopexit177 ], [ %109, %._crit_edge238 ]
  %indvars.iv308 = phi i64 [ %indvars.iv.next309, %.loopexit177 ], [ 1, %._crit_edge238 ]
  %137 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv308
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %.not165 = icmp eq i32 %138, -1
  %139 = sext i32 %136 to i64
  %.not166239 = icmp sgt i64 %indvars.iv308, %139
  %or.cond258 = select i1 %.not165, i1 true, i1 %.not166239
  br i1 %or.cond258, label %.loopexit177, label %.lr.ph241

.lr.ph241:                                        ; preds = %.lr.ph246, %.lr.ph241
  %indvars.iv310 = phi i64 [ %indvars.iv.next311, %.lr.ph241 ], [ %indvars.iv308, %.lr.ph246 ]
  %140 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %indvars.iv310
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %141 = sub nuw nsw i64 %indvars.iv310, %indvars.iv308
  %142 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %141
  %143 = load i64, ptr %142, align 8, !tbaa !18
  %144 = load i32, ptr %137, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = add nsw i64 %143, %145
  store i64 %146, ptr %10, align 8, !tbaa !18
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %148 = load i64, ptr %147, align 8, !tbaa !18
  store i64 %148, ptr %140, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  %indvars.iv.next311 = add nuw nsw i64 %indvars.iv310, 1
  %149 = load i32, ptr %3, align 4
  %150 = sext i32 %149 to i64
  %.not166.not = icmp slt i64 %indvars.iv310, %150
  br i1 %.not166.not, label %.lr.ph241, label %.loopexit177, !llvm.loop !20

.loopexit177:                                     ; preds = %.lr.ph241, %.lr.ph246
  %.pre-phi = phi i64 [ %139, %.lr.ph246 ], [ %150, %.lr.ph241 ]
  %151 = phi i32 [ %136, %.lr.ph246 ], [ %149, %.lr.ph241 ]
  %indvars.iv.next309 = add nuw nsw i64 %indvars.iv308, 1
  %.not162.not = icmp slt i64 %indvars.iv308, %.pre-phi
  br i1 %.not162.not, label %.lr.ph246, label %.preheader175, !llvm.loop !21

.loopexit:                                        ; preds = %.critedge170, %.preheader174
  %152 = icmp slt i64 %indvars.iv.next327, %135
  br i1 %152, label %.lr.ph256, label %._crit_edge257, !llvm.loop !22

._crit_edge257:                                   ; preds = %.loopexit, %.preheader175.._crit_edge257_crit_edge
  %.pre-phi333 = phi i64 [ %.pre332, %.preheader175.._crit_edge257_crit_edge ], [ %135, %.loopexit ]
  %153 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %.pre-phi333
  %154 = load i64, ptr %153, align 8, !tbaa !18
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %154)
  br label %329

.lr.ph256:                                        ; preds = %.lr.ph256.preheader, %.loopexit
  %indvars.iv326 = phi i64 [ %134, %.lr.ph256.preheader ], [ %indvars.iv.next327, %.loopexit ]
  %.0138254 = phi i64 [ 0, %.lr.ph256.preheader ], [ %indvars.iv317, %.loopexit ]
  %.0140253 = phi i64 [ 0, %.lr.ph256.preheader ], [ %indvars.iv314, %.loopexit ]
  %indvars.iv.next327 = add nsw i64 %indvars.iv326, 1
  %156 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %indvars.iv.next327
  %157 = load i32, ptr %156, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  %158 = load i32, ptr %3, align 4, !tbaa !5
  %159 = add i32 %157, 1
  %160 = sub i32 %159, %158
  %161 = ashr i32 %160, 1
  store i32 %161, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  store i32 0, ptr %12, align 4, !tbaa !5
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %163 = load i32, ptr %162, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  %sext335 = shl i64 %.0140253, 32
  %164 = ashr exact i64 %sext335, 32
  br label %165

165:                                              ; preds = %165, %.lr.ph256
  %indvars.iv314 = phi i64 [ %indvars.iv.next315, %165 ], [ %164, %.lr.ph256 ]
  %166 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %indvars.iv314
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = icmp slt i32 %167, %163
  %indvars.iv.next315 = add nsw i64 %indvars.iv314, 1
  br i1 %168, label %165, label %169, !llvm.loop !23

169:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  %170 = load i32, ptr %3, align 4, !tbaa !5
  %171 = add nsw i32 %170, %157
  %172 = ashr i32 %171, 1
  store i32 %172, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  %173 = add nsw i32 %157, -1
  store i32 %173, ptr %14, align 4, !tbaa !5
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %175 = load i32, ptr %174, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  %sext336 = shl i64 %.0138254, 32
  %176 = ashr exact i64 %sext336, 32
  br label %177

177:                                              ; preds = %177, %169
  %indvars.iv317 = phi i64 [ %indvars.iv.next318, %177 ], [ %176, %169 ]
  %178 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %indvars.iv317
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = icmp slt i32 %179, %175
  %indvars.iv.next318 = add nsw i64 %indvars.iv317, 1
  br i1 %180, label %177, label %.preheader174, !llvm.loop !24

.preheader174:                                    ; preds = %177
  %.not163249 = icmp sgt i64 %indvars.iv314, %indvars.iv317
  br i1 %.not163249, label %.loopexit, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader174
  %181 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %indvars.iv.next327
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %.critedge170
  %indvars.iv323 = phi i64 [ %indvars.iv314, %.preheader.lr.ph ], [ %indvars.iv.next324, %.critedge170 ]
  %.0131251.in = phi i64 [ %indvars.iv317, %.preheader.lr.ph ], [ %.1132184.in, %.critedge170 ]
  %182 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %indvars.iv323
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %sext338 = shl i64 %.0131251.in, 32
  %184 = ashr exact i64 %sext338, 32
  br label %185

185:                                              ; preds = %.preheader, %190
  %indvars.iv320 = phi i64 [ %184, %.preheader ], [ %indvars.iv.next321, %190 ]
  %186 = getelementptr inbounds [20021 x i32], ptr @_ZZ4mainE3pos, i64 0, i64 %indvars.iv320
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %188 = add nsw i32 %187, %183
  %189 = icmp sgt i32 %188, %157
  br i1 %189, label %190, label %.critedge

190:                                              ; preds = %185
  %indvars.iv.next321 = add nsw i64 %indvars.iv320, -1
  %.not164.not = icmp slt i64 %indvars.iv323, %indvars.iv320
  br i1 %.not164.not, label %185, label %.critedge170, !llvm.loop !25

.critedge:                                        ; preds = %185
  %191 = icmp eq i32 %188, %157
  br i1 %191, label %193, label %192

192:                                              ; preds = %.critedge
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 51, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #9
  unreachable

193:                                              ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %194 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %indvars.iv323
  %195 = load i64, ptr %194, align 8, !tbaa !18
  %196 = getelementptr inbounds [20021 x i64], ptr @_ZZ4mainE2dp, i64 0, i64 %indvars.iv320
  %197 = load i64, ptr %196, align 8, !tbaa !18
  %198 = add nsw i64 %197, %195
  store i64 %198, ptr %15, align 8, !tbaa !18
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %200 = load i64, ptr %199, align 8, !tbaa !18
  store i64 %200, ptr %181, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %.critedge170

.critedge170:                                     ; preds = %190, %193
  %.1132184.in = phi i64 [ %indvars.iv320, %193 ], [ %indvars.iv.next321, %190 ]
  %indvars.iv.next324 = add nsw i64 %indvars.iv323, 1
  %sext337 = shl i64 %.1132184.in, 32
  %201 = ashr exact i64 %sext337, 32
  %.not163.not = icmp slt i64 %indvars.iv323, %201
  br i1 %.not163.not, label %.preheader, label %.loopexit, !llvm.loop !26

202:                                              ; preds = %._crit_edge199
  store i64 0, ptr @_ZZ4mainE3rep, align 16, !tbaa !18
  %203 = icmp sgt i32 %.0136.lcssa.fr, 1
  br i1 %203, label %.lr.ph202.preheader, label %.preheader182

.lr.ph202.preheader:                              ; preds = %202
  %wide.trip.count278 = zext nneg i32 %.0136.lcssa.fr to i64
  %204 = add nsw i64 %wide.trip.count278, -1
  %min.iters.check = icmp ult i32 %.0136.lcssa.fr, 5
  br i1 %min.iters.check, label %.lr.ph202.preheader384, label %vector.ph

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

vector.ph:                                        ; preds = %.lr.ph202.preheader
  %n.vec = and i64 %204, -4
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %205 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %offset.idx
  %206 = getelementptr inbounds i8, ptr %205, i64 16
  store <2 x i64> <i64 -1000000000000000001, i64 -1000000000000000001>, ptr %205, align 8, !tbaa !18
  store <2 x i64> <i64 -1000000000000000001, i64 -1000000000000000001>, ptr %206, align 8, !tbaa !18
  %index.next = add nuw i64 %index, 4
  %207 = icmp eq i64 %index.next, %n.vec
  br i1 %207, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %204, %n.vec
  br i1 %cmp.n, label %.preheader182, label %.lr.ph202.preheader384

.preheader182:                                    ; preds = %.lr.ph202, %middle.block, %202
  br i1 %.not194, label %._crit_edge224, label %.lr.ph223

.lr.ph223:                                        ; preds = %.preheader182
  %208 = sext i32 %.0136.lcssa.fr to i64
  %209 = icmp sgt i32 %.0136.lcssa.fr, 0
  %210 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %208
  br i1 %209, label %.lr.ph223.split.us.preheader, label %.lr.ph223.split.preheader

.lr.ph223.split.preheader:                        ; preds = %.lr.ph223
  %211 = zext nneg i32 %25 to i64
  %xtraiter386 = and i64 %211, 3
  %212 = icmp ult i32 %25, 4
  br i1 %212, label %._crit_edge224.loopexit383.unr-lcssa, label %.lr.ph223.split.preheader.new

.lr.ph223.split.preheader.new:                    ; preds = %.lr.ph223.split.preheader
  %unroll_iter388 = and i64 %211, 2147483644
  br label %.lr.ph223.split

.lr.ph223.split.us.preheader:                     ; preds = %.lr.ph223
  %213 = zext nneg i32 %.0136.lcssa.fr to i64
  br label %.lr.ph223.split.us

.lr.ph223.split.us:                               ; preds = %.lr.ph223.split.us.preheader, %..loopexit181_crit_edge.us
  %214 = phi i32 [ %25, %.lr.ph223.split.us.preheader ], [ %290, %..loopexit181_crit_edge.us ]
  %indvars.iv291 = phi i64 [ 1, %.lr.ph223.split.us.preheader ], [ %indvars.iv.next292, %..loopexit181_crit_edge.us ]
  %215 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv291
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = icmp eq i32 %216, -1
  %218 = icmp eq i64 %indvars.iv291, %213
  %or.cond.us = or i1 %217, %218
  br i1 %or.cond.us, label %..loopexit181_crit_edge.us, label %.lr.ph219.us

.lr.ph219.us:                                     ; preds = %.lr.ph223.split.us
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE3vis, i8 0, i64 %208, i1 false)
  %219 = trunc nuw nsw i64 %indvars.iv291 to i32
  %220 = trunc nuw nsw i64 %indvars.iv291 to i32
  br label %221

221:                                              ; preds = %.lr.ph219.us, %289
  %indvars.iv286 = phi i64 [ 0, %.lr.ph219.us ], [ %indvars.iv.next287, %289 ]
  %222 = getelementptr inbounds [1001 x i8], ptr @_ZZ4mainE3vis, i64 0, i64 %indvars.iv286
  %223 = load i8, ptr %222, align 1, !tbaa !28, !range !30, !noundef !31
  %224 = trunc nuw i8 %223 to i1
  br i1 %224, label %289, label %.lr.ph207.us.preheader

.lr.ph207.us.preheader:                           ; preds = %221
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  %225 = trunc nuw nsw i64 %indvars.iv286 to i32
  br label %.lr.ph207.us

.lr.ph207.us:                                     ; preds = %.lr.ph207.us.preheader, %.lr.ph207.us
  %indvars.iv283 = phi i64 [ 0, %.lr.ph207.us.preheader ], [ %indvars.iv.next284, %.lr.ph207.us ]
  %226 = phi ptr [ %222, %.lr.ph207.us.preheader ], [ %242, %.lr.ph207.us ]
  %227 = phi i64 [ %indvars.iv286, %.lr.ph207.us.preheader ], [ %241, %.lr.ph207.us ]
  %.0126205.us = phi i32 [ %225, %.lr.ph207.us.preheader ], [ %240, %.lr.ph207.us ]
  %.0127204.us = phi i32 [ 0, %.lr.ph207.us.preheader ], [ %.1.us, %.lr.ph207.us ]
  %indvars.iv.next284 = add nuw nsw i64 %indvars.iv283, 1
  %228 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %indvars.iv283
  store i32 %.0126205.us, ptr %228, align 4, !tbaa !5
  store i8 1, ptr %226, align 1, !tbaa !28
  %229 = sext i32 %.0127204.us to i64
  %230 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %229
  %231 = load i32, ptr %230, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %232
  %234 = load i64, ptr %233, align 8, !tbaa !18
  %235 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %227
  %236 = load i64, ptr %235, align 8, !tbaa !18
  %237 = icmp slt i64 %234, %236
  %238 = trunc nuw nsw i64 %indvars.iv283 to i32
  %.1.us = select i1 %237, i32 %238, i32 %.0127204.us
  %239 = add nsw i32 %.0126205.us, %219
  %240 = srem i32 %239, %.0136.lcssa.fr
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [1001 x i8], ptr @_ZZ4mainE3vis, i64 0, i64 %241
  %243 = load i8, ptr %242, align 1, !tbaa !28, !range !30, !noundef !31
  %244 = trunc nuw i8 %243 to i1
  br i1 %244, label %245, label %.lr.ph207.us, !llvm.loop !32

245:                                              ; preds = %.lr.ph207.us
  %246 = trunc nuw i64 %indvars.iv.next284 to i32
  store i32 %246, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  store ptr %16, ptr %17, align 8, !tbaa !33
  %247 = sext i32 %.1.us to i64
  %248 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %247
  %249 = load i32, ptr %248, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %250
  %252 = load i64, ptr %251, align 8, !tbaa !18
  %.not159.us = icmp eq i64 %252, -1000000000000000001
  br i1 %.not159.us, label %.loopexit180.us, label %253

253:                                              ; preds = %245
  %254 = call noundef i32 @"_ZZ4mainENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %.1.us)
  %255 = load i32, ptr %16, align 4, !tbaa !5
  %256 = icmp sgt i32 %255, 0
  br i1 %256, label %.lr.ph215.us, label %.loopexit180.us

.lr.ph215.us:                                     ; preds = %253, %.lr.ph215.us
  %.0123213.us = phi i32 [ %285, %.lr.ph215.us ], [ %254, %253 ]
  %.0124212.us = phi i32 [ %.0123213.us, %.lr.ph215.us ], [ %.1.us, %253 ]
  %.0125211.us = phi i32 [ %284, %.lr.ph215.us ], [ 0, %253 ]
  %257 = sext i32 %.0123213.us to i64
  %258 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %257
  %259 = load i32, ptr %258, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %260
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %262 = sext i32 %.0124212.us to i64
  %263 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE3que, i64 0, i64 %262
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %265
  %267 = load i64, ptr %266, align 8, !tbaa !18
  %268 = load i32, ptr %215, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = add nsw i64 %267, %269
  %271 = sub i32 %220, %259
  %272 = add i32 %271, %264
  %273 = sdiv i32 %272, %.0136.lcssa.fr
  %274 = sext i32 %273 to i64
  %275 = load i32, ptr %210, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = mul nsw i64 %276, %274
  %278 = sub i64 %270, %277
  store i64 %278, ptr %18, align 8, !tbaa !18
  %279 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %261, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %280 = load i64, ptr %279, align 8, !tbaa !18
  %281 = load i32, ptr %258, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %282
  store i64 %280, ptr %283, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  %284 = add nuw nsw i32 %.0125211.us, 1
  %285 = call noundef i32 @"_ZZ4mainENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %.0123213.us)
  %286 = load i32, ptr %16, align 4, !tbaa !5
  %287 = shl nsw i32 %286, 1
  %288 = icmp slt i32 %284, %287
  br i1 %288, label %.lr.ph215.us, label %.loopexit180.us, !llvm.loop !35

.loopexit180.us:                                  ; preds = %.lr.ph215.us, %253, %245
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  br label %289

289:                                              ; preds = %.loopexit180.us, %221
  %indvars.iv.next287 = add nuw nsw i64 %indvars.iv286, 1
  %exitcond290.not = icmp eq i64 %indvars.iv.next287, %213
  br i1 %exitcond290.not, label %..loopexit181_crit_edge.us.loopexit, label %221, !llvm.loop !36

..loopexit181_crit_edge.us.loopexit:              ; preds = %289
  %.pre = load i32, ptr %3, align 4, !tbaa !5
  br label %..loopexit181_crit_edge.us

..loopexit181_crit_edge.us:                       ; preds = %..loopexit181_crit_edge.us.loopexit, %.lr.ph223.split.us
  %290 = phi i32 [ %.pre, %..loopexit181_crit_edge.us.loopexit ], [ %214, %.lr.ph223.split.us ]
  %indvars.iv.next292 = add nuw nsw i64 %indvars.iv291, 1
  %291 = sext i32 %290 to i64
  %.not158.us.not = icmp slt i64 %indvars.iv291, %291
  br i1 %.not158.us.not, label %.lr.ph223.split.us, label %._crit_edge224, !llvm.loop !37

.lr.ph202:                                        ; preds = %.lr.ph202.preheader384, %.lr.ph202
  %indvars.iv275 = phi i64 [ %indvars.iv.next276, %.lr.ph202 ], [ %indvars.iv275.ph, %.lr.ph202.preheader384 ]
  %292 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %indvars.iv275
  store i64 -1000000000000000001, ptr %292, align 8, !tbaa !18
  %indvars.iv.next276 = add nuw nsw i64 %indvars.iv275, 1
  %exitcond279.not = icmp eq i64 %indvars.iv.next276, %wide.trip.count278
  br i1 %exitcond279.not, label %.preheader182, label %.lr.ph202, !llvm.loop !38

._crit_edge224.loopexit383.unr-lcssa:             ; preds = %312, %.lr.ph223.split.preheader
  %indvars.iv280.unr = phi i64 [ 1, %.lr.ph223.split.preheader ], [ %indvars.iv.next281.3, %312 ]
  %lcmp.mod387.not = icmp eq i64 %xtraiter386, 0
  br i1 %lcmp.mod387.not, label %._crit_edge224, label %.lr.ph223.split.epil

.lr.ph223.split.epil:                             ; preds = %._crit_edge224.loopexit383.unr-lcssa, %296
  %indvars.iv280.epil = phi i64 [ %indvars.iv.next281.epil, %296 ], [ %indvars.iv280.unr, %._crit_edge224.loopexit383.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %296 ], [ 0, %._crit_edge224.loopexit383.unr-lcssa ]
  %293 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv280.epil
  %294 = load i32, ptr %293, align 4, !tbaa !5
  %295 = icmp eq i32 %294, -1
  br i1 %295, label %296, label %.loopexit181.epil

.loopexit181.epil:                                ; preds = %.lr.ph223.split.epil
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE3vis, i8 0, i64 %208, i1 false)
  br label %296

296:                                              ; preds = %.loopexit181.epil, %.lr.ph223.split.epil
  %indvars.iv.next281.epil = add nuw nsw i64 %indvars.iv280.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter386
  br i1 %epil.iter.cmp.not, label %._crit_edge224, label %.lr.ph223.split.epil, !llvm.loop !39

._crit_edge224:                                   ; preds = %._crit_edge224.loopexit383.unr-lcssa, %296, %..loopexit181_crit_edge.us, %.preheader182
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  store i64 0, ptr %19, align 8, !tbaa !18
  %297 = icmp sgt i32 %.0136.lcssa.fr, 0
  br i1 %297, label %.lr.ph227, label %._crit_edge228

.lr.ph227:                                        ; preds = %._crit_edge224
  %298 = zext nneg i32 %.0136.lcssa.fr to i64
  %299 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %298
  br label %315

.lr.ph223.split:                                  ; preds = %312, %.lr.ph223.split.preheader.new
  %indvars.iv280 = phi i64 [ 1, %.lr.ph223.split.preheader.new ], [ %indvars.iv.next281.3, %312 ]
  %niter389 = phi i64 [ 0, %.lr.ph223.split.preheader.new ], [ %niter389.next.3, %312 ]
  %300 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv280
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = icmp eq i32 %301, -1
  br i1 %302, label %.lr.ph223.split.1, label %.loopexit181

.loopexit181:                                     ; preds = %.lr.ph223.split
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE3vis, i8 0, i64 %208, i1 false)
  br label %.lr.ph223.split.1

.lr.ph223.split.1:                                ; preds = %.loopexit181, %.lr.ph223.split
  %indvars.iv.next281 = add nuw nsw i64 %indvars.iv280, 1
  %303 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv.next281
  %304 = load i32, ptr %303, align 4, !tbaa !5
  %305 = icmp eq i32 %304, -1
  br i1 %305, label %.lr.ph223.split.2, label %.loopexit181.1

.loopexit181.1:                                   ; preds = %.lr.ph223.split.1
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE3vis, i8 0, i64 %208, i1 false)
  br label %.lr.ph223.split.2

.lr.ph223.split.2:                                ; preds = %.loopexit181.1, %.lr.ph223.split.1
  %indvars.iv.next281.1 = add nuw nsw i64 %indvars.iv280, 2
  %306 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv.next281.1
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %308 = icmp eq i32 %307, -1
  br i1 %308, label %.lr.ph223.split.3, label %.loopexit181.2

.loopexit181.2:                                   ; preds = %.lr.ph223.split.2
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE3vis, i8 0, i64 %208, i1 false)
  br label %.lr.ph223.split.3

.lr.ph223.split.3:                                ; preds = %.loopexit181.2, %.lr.ph223.split.2
  %indvars.iv.next281.2 = add nuw nsw i64 %indvars.iv280, 3
  %309 = getelementptr inbounds [1001 x i32], ptr @_ZZ4mainE1c, i64 0, i64 %indvars.iv.next281.2
  %310 = load i32, ptr %309, align 4, !tbaa !5
  %311 = icmp eq i32 %310, -1
  br i1 %311, label %312, label %.loopexit181.3

.loopexit181.3:                                   ; preds = %.lr.ph223.split.3
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZZ4mainE3vis, i8 0, i64 %208, i1 false)
  br label %312

312:                                              ; preds = %.loopexit181.3, %.lr.ph223.split.3
  %indvars.iv.next281.3 = add nuw nsw i64 %indvars.iv280, 4
  %niter389.next.3 = add i64 %niter389, 4
  %niter389.ncmp.3.not = icmp eq i64 %niter389.next.3, %unroll_iter388
  br i1 %niter389.ncmp.3.not, label %._crit_edge224.loopexit383.unr-lcssa, label %.lr.ph223.split, !llvm.loop !37

._crit_edge228:                                   ; preds = %315, %._crit_edge224
  %313 = phi i64 [ 0, %._crit_edge224 ], [ %328, %315 ]
  %314 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef %313)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br label %329

315:                                              ; preds = %.lr.ph227, %315
  %indvars.iv294 = phi i64 [ 0, %.lr.ph227 ], [ %indvars.iv.next295, %315 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %316 = getelementptr inbounds [1001 x i64], ptr @_ZZ4mainE3rep, i64 0, i64 %indvars.iv294
  %317 = load i64, ptr %316, align 8, !tbaa !18
  %318 = load i32, ptr %2, align 4, !tbaa !5
  %319 = trunc nuw nsw i64 %indvars.iv294 to i32
  %320 = sub nsw i32 %318, %319
  %321 = sdiv i32 %320, %.0136.lcssa.fr
  %322 = sext i32 %321 to i64
  %323 = load i32, ptr %299, align 4, !tbaa !5
  %324 = sext i32 %323 to i64
  %325 = mul nsw i64 %324, %322
  %326 = add nsw i64 %325, %317
  store i64 %326, ptr %20, align 8, !tbaa !18
  %327 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %328 = load i64, ptr %327, align 8, !tbaa !18
  store i64 %328, ptr %19, align 8, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  %indvars.iv.next295 = add nuw nsw i64 %indvars.iv294, 1
  %exitcond298.not = icmp eq i64 %indvars.iv.next295, %298
  br i1 %exitcond298.not, label %._crit_edge228, label %315, !llvm.loop !41

329:                                              ; preds = %._crit_edge228, %._crit_edge257
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  ret i32 0
}

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

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

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

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

; Function Attrs: 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @"_ZZ4mainENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { noreturn 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, !14}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10, !14, !13}
!17 = distinct !{!17, !10}
!18 = !{!19, !19, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10, !13, !14}
!28 = !{!29, !29, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = distinct !{!32, !10}
!33 = !{!34, !34, i64 0}
!34 = !{!"any pointer", !7, i64 0}
!35 = distinct !{!35, !10}
!36 = distinct !{!36, !10}
!37 = distinct !{!37, !10}
!38 = distinct !{!38, !10, !14, !13}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.unroll.disable"}
!41 = distinct !{!41, !10}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass