; LLVM IR from eyangch/competitive-programming :: Codeforces/1373 (d)

; 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.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca i32, align 4
  %24 = alloca i64, align 8
  %25 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %26 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %27 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %29
  %31 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %30, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %33

33:                                               ; preds = %286, %283, %0
  %34 = load i32, ptr %2, align 4, !tbaa !8
  %35 = add nsw i32 %34, -1
  store i32 %35, ptr %2, align 4, !tbaa !8
  %36 = icmp ne i32 %34, 0
  br i1 %36, label %37, label %287

37:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %39 = load i64, ptr %3, align 8, !tbaa !11
  %40 = call ptr @llvm.stacksave.p0()
  store ptr %40, ptr %4, align 8
  %41 = alloca i64, i64 %39, align 16
  store i64 %39, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !8
  br label %42

42:                                               ; preds = %53, %37
  %43 = load i32, ptr %6, align 4, !tbaa !8
  %44 = sext i32 %43 to i64
  %45 = load i64, ptr %3, align 8, !tbaa !11
  %46 = icmp slt i64 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %56

48:                                               ; preds = %42
  %49 = load i32, ptr %6, align 4, !tbaa !8
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds i64, ptr %41, i64 %50
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %51)
  br label %53

53:                                               ; preds = %48
  %54 = load i32, ptr %6, align 4, !tbaa !8
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %6, align 4, !tbaa !8
  br label %42, !llvm.loop !13

56:                                               ; preds = %47
  %57 = load i64, ptr %3, align 8, !tbaa !11
  %58 = icmp eq i64 %57, 1
  br i1 %58, label %59, label %64

59:                                               ; preds = %56
  %60 = getelementptr inbounds i64, ptr %41, i64 0
  %61 = load i64, ptr %60, align 16, !tbaa !11
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %61)
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 2, ptr %7, align 4
  br label %283, !llvm.loop !15

64:                                               ; preds = %56
  %65 = load i64, ptr %3, align 8, !tbaa !11
  %66 = sdiv i64 %65, 2
  %67 = alloca i64, i64 %66, align 16
  store i64 %66, ptr %8, align 8
  %68 = load i64, ptr %3, align 8, !tbaa !11
  %69 = sub nsw i64 %68, 1
  %70 = sdiv i64 %69, 2
  %71 = alloca i64, i64 %70, align 16
  store i64 %70, ptr %9, align 8
  %72 = getelementptr inbounds i64, ptr %41, i64 1
  %73 = load i64, ptr %72, align 8, !tbaa !11
  %74 = getelementptr inbounds i64, ptr %41, i64 0
  %75 = load i64, ptr %74, align 16, !tbaa !11
  %76 = sub nsw i64 %73, %75
  %77 = getelementptr inbounds i64, ptr %67, i64 0
  store i64 %76, ptr %77, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 2, ptr %10, align 4, !tbaa !8
  br label %78

78:                                               ; preds = %107, %64
  %79 = load i32, ptr %10, align 4, !tbaa !8
  %80 = add nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  %82 = load i64, ptr %3, align 8, !tbaa !11
  %83 = icmp slt i64 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %78
  store i32 7, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %110

85:                                               ; preds = %78
  %86 = load i32, ptr %10, align 4, !tbaa !8
  %87 = sdiv i32 %86, 2
  %88 = sub nsw i32 %87, 1
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds i64, ptr %67, i64 %89
  %91 = load i64, ptr %90, align 8, !tbaa !11
  %92 = load i32, ptr %10, align 4, !tbaa !8
  %93 = add nsw i32 %92, 1
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i64, ptr %41, i64 %94
  %96 = load i64, ptr %95, align 8, !tbaa !11
  %97 = add nsw i64 %91, %96
  %98 = load i32, ptr %10, align 4, !tbaa !8
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds i64, ptr %41, i64 %99
  %101 = load i64, ptr %100, align 8, !tbaa !11
  %102 = sub nsw i64 %97, %101
  %103 = load i32, ptr %10, align 4, !tbaa !8
  %104 = sdiv i32 %103, 2
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds i64, ptr %67, i64 %105
  store i64 %102, ptr %106, align 8, !tbaa !11
  br label %107

107:                                              ; preds = %85
  %108 = load i32, ptr %10, align 4, !tbaa !8
  %109 = add nsw i32 %108, 2
  store i32 %109, ptr %10, align 4, !tbaa !8
  br label %78, !llvm.loop !16

110:                                              ; preds = %84
  %111 = getelementptr inbounds i64, ptr %41, i64 1
  %112 = load i64, ptr %111, align 8, !tbaa !11
  %113 = getelementptr inbounds i64, ptr %41, i64 2
  %114 = load i64, ptr %113, align 16, !tbaa !11
  %115 = sub nsw i64 %112, %114
  %116 = getelementptr inbounds i64, ptr %71, i64 0
  store i64 %115, ptr %116, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 3, ptr %11, align 4, !tbaa !8
  br label %117

117:                                              ; preds = %146, %110
  %118 = load i32, ptr %11, align 4, !tbaa !8
  %119 = add nsw i32 %118, 1
  %120 = sext i32 %119 to i64
  %121 = load i64, ptr %3, align 8, !tbaa !11
  %122 = icmp slt i64 %120, %121
  br i1 %122, label %124, label %123

123:                                              ; preds = %117
  store i32 10, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %149

124:                                              ; preds = %117
  %125 = load i32, ptr %11, align 4, !tbaa !8
  %126 = sdiv i32 %125, 2
  %127 = sub nsw i32 %126, 1
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds i64, ptr %71, i64 %128
  %130 = load i64, ptr %129, align 8, !tbaa !11
  %131 = load i32, ptr %11, align 4, !tbaa !8
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds i64, ptr %41, i64 %132
  %134 = load i64, ptr %133, align 8, !tbaa !11
  %135 = add nsw i64 %130, %134
  %136 = load i32, ptr %11, align 4, !tbaa !8
  %137 = add nsw i32 %136, 1
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds i64, ptr %41, i64 %138
  %140 = load i64, ptr %139, align 8, !tbaa !11
  %141 = sub nsw i64 %135, %140
  %142 = load i32, ptr %11, align 4, !tbaa !8
  %143 = sdiv i32 %142, 2
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i64, ptr %71, i64 %144
  store i64 %141, ptr %145, align 8, !tbaa !11
  br label %146

146:                                              ; preds = %124
  %147 = load i32, ptr %11, align 4, !tbaa !8
  %148 = add nsw i32 %147, 2
  store i32 %148, ptr %11, align 4, !tbaa !8
  br label %117, !llvm.loop !17

149:                                              ; preds = %123
  %150 = load i64, ptr %3, align 8, !tbaa !11
  %151 = sdiv i64 %150, 2
  %152 = alloca i64, i64 %151, align 16
  store i64 %151, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store i64 0, ptr %13, align 8, !tbaa !11
  %153 = getelementptr inbounds i64, ptr %67, i64 0
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %153)
  %155 = load i64, ptr %154, align 8, !tbaa !11
  %156 = getelementptr inbounds i64, ptr %152, i64 0
  store i64 %155, ptr %156, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 1, ptr %14, align 4, !tbaa !8
  br label %157

157:                                              ; preds = %178, %149
  %158 = load i32, ptr %14, align 4, !tbaa !8
  %159 = sext i32 %158 to i64
  %160 = load i64, ptr %3, align 8, !tbaa !11
  %161 = sdiv i64 %160, 2
  %162 = icmp slt i64 %159, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %157
  store i32 13, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %181

164:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store i64 0, ptr %15, align 8, !tbaa !11
  %165 = load i32, ptr %14, align 4, !tbaa !8
  %166 = sub nsw i32 %165, 1
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds i64, ptr %152, i64 %167
  %169 = load i32, ptr %14, align 4, !tbaa !8
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds i64, ptr %67, i64 %170
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %168, ptr noundef nonnull align 8 dereferenceable(8) %171)
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %172)
  %174 = load i64, ptr %173, align 8, !tbaa !11
  %175 = load i32, ptr %14, align 4, !tbaa !8
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds i64, ptr %152, i64 %176
  store i64 %174, ptr %177, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %178

178:                                              ; preds = %164
  %179 = load i32, ptr %14, align 4, !tbaa !8
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %14, align 4, !tbaa !8
  br label %157, !llvm.loop !18

181:                                              ; preds = %163
  %182 = load i64, ptr %3, align 8, !tbaa !11
  %183 = sub nsw i64 %182, 1
  %184 = sdiv i64 %183, 2
  %185 = alloca i64, i64 %184, align 16
  store i64 %184, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  store i64 0, ptr %17, align 8, !tbaa !11
  %186 = getelementptr inbounds i64, ptr %71, i64 0
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %186)
  %188 = load i64, ptr %187, align 8, !tbaa !11
  %189 = getelementptr inbounds i64, ptr %185, i64 0
  store i64 %188, ptr %189, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 1, ptr %18, align 4, !tbaa !8
  br label %190

190:                                              ; preds = %212, %181
  %191 = load i32, ptr %18, align 4, !tbaa !8
  %192 = sext i32 %191 to i64
  %193 = load i64, ptr %3, align 8, !tbaa !11
  %194 = sub nsw i64 %193, 1
  %195 = sdiv i64 %194, 2
  %196 = icmp slt i64 %192, %195
  br i1 %196, label %198, label %197

197:                                              ; preds = %190
  store i32 16, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %215

198:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  store i64 0, ptr %19, align 8, !tbaa !11
  %199 = load i32, ptr %18, align 4, !tbaa !8
  %200 = sub nsw i32 %199, 1
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds i64, ptr %185, i64 %201
  %203 = load i32, ptr %18, align 4, !tbaa !8
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds i64, ptr %71, i64 %204
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %202, ptr noundef nonnull align 8 dereferenceable(8) %205)
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %206)
  %208 = load i64, ptr %207, align 8, !tbaa !11
  %209 = load i32, ptr %18, align 4, !tbaa !8
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds i64, ptr %185, i64 %210
  store i64 %208, ptr %211, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %212

212:                                              ; preds = %198
  %213 = load i32, ptr %18, align 4, !tbaa !8
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %18, align 4, !tbaa !8
  br label %190, !llvm.loop !19

215:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store i64 0, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !8
  br label %216

216:                                              ; preds = %235, %215
  %217 = load i32, ptr %21, align 4, !tbaa !8
  %218 = sext i32 %217 to i64
  %219 = load i64, ptr %3, align 8, !tbaa !11
  %220 = sdiv i64 %219, 2
  %221 = icmp slt i64 %218, %220
  br i1 %221, label %223, label %222

222:                                              ; preds = %216
  store i32 19, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %238

223:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %224 = load i32, ptr %21, align 4, !tbaa !8
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds i64, ptr %67, i64 %225
  %227 = load i64, ptr %226, align 8, !tbaa !11
  %228 = load i32, ptr %21, align 4, !tbaa !8
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds i64, ptr %152, i64 %229
  %231 = load i64, ptr %230, align 8, !tbaa !11
  %232 = sub nsw i64 %227, %231
  store i64 %232, ptr %22, align 8, !tbaa !11
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %234 = load i64, ptr %233, align 8, !tbaa !11
  store i64 %234, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %235

235:                                              ; preds = %223
  %236 = load i32, ptr %21, align 4, !tbaa !8
  %237 = add nsw i32 %236, 1
  store i32 %237, ptr %21, align 4, !tbaa !8
  br label %216, !llvm.loop !20

238:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !8
  br label %239

239:                                              ; preds = %259, %238
  %240 = load i32, ptr %23, align 4, !tbaa !8
  %241 = sext i32 %240 to i64
  %242 = load i64, ptr %3, align 8, !tbaa !11
  %243 = sub nsw i64 %242, 1
  %244 = sdiv i64 %243, 2
  %245 = icmp slt i64 %241, %244
  br i1 %245, label %247, label %246

246:                                              ; preds = %239
  store i32 22, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %262

247:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %248 = load i32, ptr %23, align 4, !tbaa !8
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds i64, ptr %71, i64 %249
  %251 = load i64, ptr %250, align 8, !tbaa !11
  %252 = load i32, ptr %23, align 4, !tbaa !8
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds i64, ptr %185, i64 %253
  %255 = load i64, ptr %254, align 8, !tbaa !11
  %256 = sub nsw i64 %251, %255
  store i64 %256, ptr %24, align 8, !tbaa !11
  %257 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %258 = load i64, ptr %257, align 8, !tbaa !11
  store i64 %258, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %259

259:                                              ; preds = %247
  %260 = load i32, ptr %23, align 4, !tbaa !8
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %23, align 4, !tbaa !8
  br label %239, !llvm.loop !21

262:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !8
  br label %263

263:                                              ; preds = %276, %262
  %264 = load i32, ptr %25, align 4, !tbaa !8
  %265 = sext i32 %264 to i64
  %266 = load i64, ptr %3, align 8, !tbaa !11
  %267 = icmp slt i64 %265, %266
  br i1 %267, label %269, label %268

268:                                              ; preds = %263
  store i32 25, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %279

269:                                              ; preds = %263
  %270 = load i32, ptr %25, align 4, !tbaa !8
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds i64, ptr %41, i64 %271
  %273 = load i64, ptr %272, align 8, !tbaa !11
  %274 = load i64, ptr %20, align 8, !tbaa !11
  %275 = add nsw i64 %274, %273
  store i64 %275, ptr %20, align 8, !tbaa !11
  br label %276

276:                                              ; preds = %269
  %277 = load i32, ptr %25, align 4, !tbaa !8
  %278 = add nsw i32 %277, 2
  store i32 %278, ptr %25, align 4, !tbaa !8
  br label %263, !llvm.loop !22

279:                                              ; preds = %268
  %280 = load i64, ptr %20, align 8, !tbaa !11
  %281 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %280)
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %281, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  store i32 0, ptr %7, align 4
  br label %283

283:                                              ; preds = %279, %59
  %284 = load ptr, ptr %4, align 8
  call void @llvm.stackrestore.p0(ptr %284)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  %285 = load i32, ptr %7, align 4
  switch i32 %285, label %289 [
    i32 0, label %286
    i32 2, label %33
  ]

286:                                              ; preds = %283
  br label %33, !llvm.loop !15

287:                                              ; preds = %33
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  %288 = load i32, ptr %1, align 4
  ret i32 %288

289:                                              ; preds = %283
  unreachable
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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 = { "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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind willreturn }
attributes #6 = { 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 #7 = { 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 #8 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}


; 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.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %11 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %13
  %15 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %14, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #9
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %17 = load i32, ptr %1, align 4, !tbaa !8
  %18 = add nsw i32 %17, -1
  store i32 %18, ptr %1, align 4, !tbaa !8
  %.not86 = icmp eq i32 %17, 0
  br i1 %.not86, label %._crit_edge89, label %.lr.ph88

.lr.ph88:                                         ; preds = %0, %258
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #9
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %20 = load i64, ptr %2, align 8, !tbaa !11
  %21 = call ptr @llvm.stacksave.p0()
  %22 = alloca i64, i64 %20, align 16
  %23 = load i64, ptr %2, align 8, !tbaa !11
  %24 = icmp sgt i64 %23, 0
  br i1 %24, label %.lr.ph, label %._crit_edge.thread

._crit_edge:                                      ; preds = %.lr.ph
  %25 = icmp eq i64 %28, 1
  br i1 %25, label %30, label %._crit_edge.thread

.lr.ph:                                           ; preds = %.lr.ph88, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.lr.ph88 ]
  %26 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %28 = load i64, ptr %2, align 8, !tbaa !11
  %29 = icmp sgt i64 %28, %indvars.iv.next
  br i1 %29, label %.lr.ph, label %._crit_edge, !llvm.loop !13

30:                                               ; preds = %._crit_edge
  %31 = load i64, ptr %22, align 16, !tbaa !11
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %31)
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %258, !llvm.loop !15

._crit_edge.thread:                               ; preds = %.lr.ph88, %._crit_edge
  %.lcssa119 = phi i64 [ %28, %._crit_edge ], [ %23, %.lr.ph88 ]
  %34 = sdiv i64 %.lcssa119, 2
  %35 = alloca i64, i64 %34, align 16
  %36 = add nsw i64 %.lcssa119, -1
  %37 = sdiv i64 %36, 2
  %38 = alloca i64, i64 %37, align 16
  %39 = getelementptr inbounds i8, ptr %22, i64 8
  %40 = load i64, ptr %39, align 8, !tbaa !11
  %41 = load i64, ptr %22, align 16, !tbaa !11
  %42 = sub nsw i64 %40, %41
  store i64 %42, ptr %35, align 16, !tbaa !11
  %43 = icmp sgt i64 %.lcssa119, 3
  br i1 %43, label %.lr.ph61.lver.check, label %._crit_edge62.thread

.lr.ph61.lver.check:                              ; preds = %._crit_edge.thread
  %44 = add nsw i64 %.lcssa119, -4
  %45 = and i64 %44, 4294967294
  %46 = icmp eq i64 %45, 4294967294
  %47 = icmp ugt i64 %44, 4294967295
  %48 = or i1 %46, %47
  br i1 %48, label %.lr.ph61.lver.orig.preheader, label %.lr.ph61.ph

.lr.ph61.lver.orig.preheader:                     ; preds = %.lr.ph61.lver.check
  %49 = icmp ult i64 %44, 2
  br i1 %49, label %._crit_edge62.loopexit.unr-lcssa, label %.lr.ph61.lver.orig.preheader.new

.lr.ph61.lver.orig.preheader.new:                 ; preds = %.lr.ph61.lver.orig.preheader
  %50 = lshr i64 %44, 1
  %51 = add nuw i64 %50, 1
  %unroll_iter158 = and i64 %51, -2
  br label %.lr.ph61.lver.orig

.lr.ph61.lver.orig:                               ; preds = %.lr.ph61.lver.orig, %.lr.ph61.lver.orig.preheader.new
  %indvars.iv95.lver.orig = phi i64 [ 2, %.lr.ph61.lver.orig.preheader.new ], [ %indvars.iv.next96.lver.orig.1, %.lr.ph61.lver.orig ]
  %52 = phi i64 [ 3, %.lr.ph61.lver.orig.preheader.new ], [ %76, %.lr.ph61.lver.orig ]
  %niter159 = phi i64 [ 0, %.lr.ph61.lver.orig.preheader.new ], [ %niter159.next.1, %.lr.ph61.lver.orig ]
  %53 = lshr exact i64 %indvars.iv95.lver.orig, 1
  %54 = and i64 %53, 2147483647
  %55 = getelementptr i64, ptr %35, i64 %54
  %56 = getelementptr i8, ptr %55, i64 -8
  %57 = load i64, ptr %56, align 8, !tbaa !11
  %58 = getelementptr inbounds i64, ptr %22, i64 %52
  %59 = load i64, ptr %58, align 8, !tbaa !11
  %60 = add nsw i64 %59, %57
  %61 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv95.lver.orig
  %62 = load i64, ptr %61, align 16, !tbaa !11
  %63 = sub i64 %60, %62
  store i64 %63, ptr %55, align 8, !tbaa !11
  %indvars.iv.next96.lver.orig = add nuw nsw i64 %indvars.iv95.lver.orig, 2
  %64 = or disjoint i64 %indvars.iv.next96.lver.orig, 1
  %65 = lshr exact i64 %indvars.iv.next96.lver.orig, 1
  %66 = and i64 %65, 2147483647
  %67 = getelementptr i64, ptr %35, i64 %66
  %68 = getelementptr i8, ptr %67, i64 -8
  %69 = load i64, ptr %68, align 8, !tbaa !11
  %70 = getelementptr inbounds i64, ptr %22, i64 %64
  %71 = load i64, ptr %70, align 8, !tbaa !11
  %72 = add nsw i64 %71, %69
  %73 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv.next96.lver.orig
  %74 = load i64, ptr %73, align 16, !tbaa !11
  %75 = sub i64 %72, %74
  store i64 %75, ptr %67, align 8, !tbaa !11
  %indvars.iv.next96.lver.orig.1 = add nuw nsw i64 %indvars.iv95.lver.orig, 4
  %76 = or disjoint i64 %indvars.iv.next96.lver.orig.1, 1
  %niter159.next.1 = add nuw i64 %niter159, 2
  %niter159.ncmp.1.not = icmp eq i64 %niter159.next.1, %unroll_iter158
  br i1 %niter159.ncmp.1.not, label %._crit_edge62.loopexit.unr-lcssa, label %.lr.ph61.lver.orig, !llvm.loop !16

.lr.ph61.ph:                                      ; preds = %.lr.ph61.lver.check
  %load_initial = load i64, ptr %35, align 16
  %77 = icmp ult i64 %44, 2
  br i1 %77, label %._crit_edge62.loopexit145.unr-lcssa, label %.lr.ph61.ph.new

.lr.ph61.ph.new:                                  ; preds = %.lr.ph61.ph
  %78 = lshr i64 %44, 1
  %79 = add nuw nsw i64 %78, 1
  %unroll_iter = and i64 %79, 4294967294
  br label %.lr.ph61

._crit_edge62.thread:                             ; preds = %._crit_edge.thread
  %80 = getelementptr inbounds i8, ptr %22, i64 16
  %81 = load i64, ptr %80, align 16, !tbaa !11
  %82 = sub nsw i64 %40, %81
  store i64 %82, ptr %38, align 16, !tbaa !11
  br label %._crit_edge66

._crit_edge62.loopexit.unr-lcssa:                 ; preds = %.lr.ph61.lver.orig, %.lr.ph61.lver.orig.preheader
  %indvars.iv95.lver.orig.unr = phi i64 [ 2, %.lr.ph61.lver.orig.preheader ], [ %indvars.iv.next96.lver.orig.1, %.lr.ph61.lver.orig ]
  %.unr156 = phi i64 [ 3, %.lr.ph61.lver.orig.preheader ], [ %76, %.lr.ph61.lver.orig ]
  %83 = and i64 %.lcssa119, 2
  %lcmp.mod157.not.not = icmp eq i64 %83, 0
  br i1 %lcmp.mod157.not.not, label %.lr.ph61.lver.orig.epil, label %._crit_edge62

.lr.ph61.lver.orig.epil:                          ; preds = %._crit_edge62.loopexit.unr-lcssa
  %84 = lshr exact i64 %indvars.iv95.lver.orig.unr, 1
  %85 = and i64 %84, 2147483647
  %86 = getelementptr i64, ptr %35, i64 %85
  %87 = getelementptr i8, ptr %86, i64 -8
  %88 = load i64, ptr %87, align 8, !tbaa !11
  %89 = getelementptr inbounds i64, ptr %22, i64 %.unr156
  %90 = load i64, ptr %89, align 8, !tbaa !11
  %91 = add nsw i64 %90, %88
  %92 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv95.lver.orig.unr
  %93 = load i64, ptr %92, align 16, !tbaa !11
  %94 = sub i64 %91, %93
  store i64 %94, ptr %86, align 8, !tbaa !11
  br label %._crit_edge62

._crit_edge62.loopexit145.unr-lcssa:              ; preds = %.lr.ph61, %.lr.ph61.ph
  %store_forwarded.unr = phi i64 [ %load_initial, %.lr.ph61.ph ], [ %149, %.lr.ph61 ]
  %indvars.iv95.unr = phi i64 [ 2, %.lr.ph61.ph ], [ %indvars.iv.next96.1, %.lr.ph61 ]
  %.unr = phi i64 [ 3, %.lr.ph61.ph ], [ %150, %.lr.ph61 ]
  %95 = and i64 %.lcssa119, 2
  %lcmp.mod.not.not = icmp eq i64 %95, 0
  br i1 %lcmp.mod.not.not, label %.lr.ph61.epil, label %._crit_edge62

.lr.ph61.epil:                                    ; preds = %._crit_edge62.loopexit145.unr-lcssa
  %96 = lshr exact i64 %indvars.iv95.unr, 1
  %97 = and i64 %96, 2147483647
  %98 = getelementptr i64, ptr %35, i64 %97
  %99 = getelementptr inbounds i64, ptr %22, i64 %.unr
  %100 = load i64, ptr %99, align 8, !tbaa !11
  %101 = add nsw i64 %100, %store_forwarded.unr
  %102 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv95.unr
  %103 = load i64, ptr %102, align 16, !tbaa !11
  %104 = sub i64 %101, %103
  store i64 %104, ptr %98, align 8, !tbaa !11
  br label %._crit_edge62

._crit_edge62:                                    ; preds = %.lr.ph61.epil, %._crit_edge62.loopexit145.unr-lcssa, %.lr.ph61.lver.orig.epil, %._crit_edge62.loopexit.unr-lcssa
  %105 = getelementptr inbounds i8, ptr %22, i64 16
  %106 = load i64, ptr %105, align 16, !tbaa !11
  %107 = sub nsw i64 %40, %106
  store i64 %107, ptr %38, align 16, !tbaa !11
  %.not128 = icmp eq i64 %.lcssa119, 4
  br i1 %.not128, label %._crit_edge66, label %.lr.ph65.lver.check

.lr.ph65.lver.check:                              ; preds = %._crit_edge62
  %108 = add nsw i64 %.lcssa119, -5
  %109 = and i64 %108, 4294967294
  %110 = icmp eq i64 %109, 4294967294
  %111 = icmp ugt i64 %108, 4294967295
  %112 = or i1 %110, %111
  br i1 %112, label %.lr.ph65.lver.orig, label %.lr.ph65.ph

.lr.ph65.lver.orig:                               ; preds = %.lr.ph65.lver.check, %.lr.ph65.lver.orig
  %indvars.iv98.lver.orig = phi i64 [ %indvars.iv.next99.lver.orig, %.lr.ph65.lver.orig ], [ 3, %.lr.ph65.lver.check ]
  %113 = phi i64 [ %125, %.lr.ph65.lver.orig ], [ 4, %.lr.ph65.lver.check ]
  %114 = lshr i64 %indvars.iv98.lver.orig, 1
  %115 = and i64 %114, 2147483647
  %116 = getelementptr i64, ptr %38, i64 %115
  %117 = getelementptr i8, ptr %116, i64 -8
  %118 = load i64, ptr %117, align 8, !tbaa !11
  %119 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv98.lver.orig
  %120 = load i64, ptr %119, align 8, !tbaa !11
  %121 = add nsw i64 %120, %118
  %122 = getelementptr inbounds i64, ptr %22, i64 %113
  %123 = load i64, ptr %122, align 8, !tbaa !11
  %124 = sub i64 %121, %123
  store i64 %124, ptr %116, align 8, !tbaa !11
  %indvars.iv.next99.lver.orig = add nuw nsw i64 %indvars.iv98.lver.orig, 2
  %125 = add nuw nsw i64 %indvars.iv98.lver.orig, 3
  %126 = icmp sgt i64 %.lcssa119, %125
  br i1 %126, label %.lr.ph65.lver.orig, label %._crit_edge66, !llvm.loop !17

.lr.ph65.ph:                                      ; preds = %.lr.ph65.lver.check
  %load_initial141 = load i64, ptr %38, align 16
  %127 = icmp ult i64 %108, 2
  br i1 %127, label %._crit_edge66.loopexit144.unr-lcssa, label %.lr.ph65.ph.new

.lr.ph65.ph.new:                                  ; preds = %.lr.ph65.ph
  %128 = lshr i64 %108, 1
  %129 = add nuw nsw i64 %128, 1
  %unroll_iter163 = and i64 %129, 4294967294
  %invariant.gep = getelementptr inbounds i8, ptr %22, i64 24
  br label %.lr.ph65

.lr.ph61:                                         ; preds = %.lr.ph61, %.lr.ph61.ph.new
  %store_forwarded = phi i64 [ %load_initial, %.lr.ph61.ph.new ], [ %149, %.lr.ph61 ]
  %indvars.iv95 = phi i64 [ 2, %.lr.ph61.ph.new ], [ %indvars.iv.next96.1, %.lr.ph61 ]
  %130 = phi i64 [ 3, %.lr.ph61.ph.new ], [ %150, %.lr.ph61 ]
  %niter = phi i64 [ 0, %.lr.ph61.ph.new ], [ %niter.next.1, %.lr.ph61 ]
  %131 = lshr exact i64 %indvars.iv95, 1
  %132 = and i64 %131, 2147483647
  %133 = getelementptr i64, ptr %35, i64 %132
  %134 = getelementptr inbounds i64, ptr %22, i64 %130
  %135 = load i64, ptr %134, align 8, !tbaa !11
  %136 = add nsw i64 %135, %store_forwarded
  %137 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv95
  %138 = load i64, ptr %137, align 16, !tbaa !11
  %139 = sub i64 %136, %138
  store i64 %139, ptr %133, align 8, !tbaa !11
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 2
  %140 = or disjoint i64 %indvars.iv.next96, 1
  %141 = lshr exact i64 %indvars.iv.next96, 1
  %142 = and i64 %141, 2147483647
  %143 = getelementptr i64, ptr %35, i64 %142
  %144 = getelementptr inbounds i64, ptr %22, i64 %140
  %145 = load i64, ptr %144, align 8, !tbaa !11
  %146 = add nsw i64 %145, %139
  %147 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv.next96
  %148 = load i64, ptr %147, align 16, !tbaa !11
  %149 = sub i64 %146, %148
  store i64 %149, ptr %143, align 8, !tbaa !11
  %indvars.iv.next96.1 = add nuw nsw i64 %indvars.iv95, 4
  %150 = or disjoint i64 %indvars.iv.next96.1, 1
  %niter.next.1 = add nuw i64 %niter, 2
  %niter.ncmp.1.not = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1.not, label %._crit_edge62.loopexit145.unr-lcssa, label %.lr.ph61, !llvm.loop !16

._crit_edge66.loopexit144.unr-lcssa:              ; preds = %.lr.ph65, %.lr.ph65.ph
  %store_forwarded142.unr = phi i64 [ %load_initial141, %.lr.ph65.ph ], [ %183, %.lr.ph65 ]
  %indvars.iv98.unr = phi i64 [ 3, %.lr.ph65.ph ], [ %indvars.iv.next99.1, %.lr.ph65 ]
  %.unr161 = phi i64 [ 4, %.lr.ph65.ph ], [ %184, %.lr.ph65 ]
  %151 = and i64 %108, 2
  %lcmp.mod162.not.not = icmp eq i64 %151, 0
  br i1 %lcmp.mod162.not.not, label %.lr.ph65.epil, label %._crit_edge66

.lr.ph65.epil:                                    ; preds = %._crit_edge66.loopexit144.unr-lcssa
  %152 = lshr i64 %indvars.iv98.unr, 1
  %153 = and i64 %152, 2147483647
  %154 = getelementptr i64, ptr %38, i64 %153
  %155 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv98.unr
  %156 = load i64, ptr %155, align 8, !tbaa !11
  %157 = add nsw i64 %156, %store_forwarded142.unr
  %158 = getelementptr inbounds i64, ptr %22, i64 %.unr161
  %159 = load i64, ptr %158, align 8, !tbaa !11
  %160 = sub i64 %157, %159
  store i64 %160, ptr %154, align 8, !tbaa !11
  br label %._crit_edge66

._crit_edge66:                                    ; preds = %.lr.ph65.epil, %._crit_edge66.loopexit144.unr-lcssa, %.lr.ph65.lver.orig, %._crit_edge62.thread, %._crit_edge62
  %161 = alloca i64, i64 %34, align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  store i64 0, ptr %3, align 8, !tbaa !11
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %35)
  %163 = load i64, ptr %162, align 8, !tbaa !11
  store i64 %163, ptr %161, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  %164 = load i64, ptr %2, align 8, !tbaa !11
  %165 = icmp sgt i64 %164, 3
  br i1 %165, label %.lr.ph69, label %._crit_edge70

.lr.ph65:                                         ; preds = %.lr.ph65, %.lr.ph65.ph.new
  %store_forwarded142 = phi i64 [ %load_initial141, %.lr.ph65.ph.new ], [ %183, %.lr.ph65 ]
  %indvars.iv98 = phi i64 [ 3, %.lr.ph65.ph.new ], [ %indvars.iv.next99.1, %.lr.ph65 ]
  %166 = phi i64 [ 4, %.lr.ph65.ph.new ], [ %184, %.lr.ph65 ]
  %niter164 = phi i64 [ 0, %.lr.ph65.ph.new ], [ %niter164.next.1, %.lr.ph65 ]
  %167 = lshr i64 %indvars.iv98, 1
  %168 = and i64 %167, 2147483647
  %169 = getelementptr i64, ptr %38, i64 %168
  %170 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv98
  %171 = load i64, ptr %170, align 8, !tbaa !11
  %172 = add nsw i64 %171, %store_forwarded142
  %173 = getelementptr inbounds i64, ptr %22, i64 %166
  %174 = load i64, ptr %173, align 8, !tbaa !11
  %175 = sub i64 %172, %174
  store i64 %175, ptr %169, align 8, !tbaa !11
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 2
  %176 = lshr i64 %indvars.iv.next99, 1
  %177 = and i64 %176, 2147483647
  %178 = getelementptr i64, ptr %38, i64 %177
  %179 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv.next99
  %180 = load i64, ptr %179, align 8, !tbaa !11
  %181 = add nsw i64 %180, %175
  %gep = getelementptr inbounds i64, ptr %invariant.gep, i64 %indvars.iv98
  %182 = load i64, ptr %gep, align 8, !tbaa !11
  %183 = sub i64 %181, %182
  store i64 %183, ptr %178, align 8, !tbaa !11
  %indvars.iv.next99.1 = add nuw nsw i64 %indvars.iv98, 4
  %184 = add nuw nsw i64 %indvars.iv98, 5
  %niter164.next.1 = add nuw i64 %niter164, 2
  %niter164.ncmp.1.not = icmp eq i64 %niter164.next.1, %unroll_iter163
  br i1 %niter164.ncmp.1.not, label %._crit_edge66.loopexit144.unr-lcssa, label %.lr.ph65, !llvm.loop !17

._crit_edge70:                                    ; preds = %.lr.ph69, %._crit_edge66
  %.lcssa56 = phi i64 [ %164, %._crit_edge66 ], [ %198, %.lr.ph69 ]
  %185 = add nsw i64 %.lcssa56, -1
  %186 = sdiv i64 %185, 2
  %187 = alloca i64, i64 %186, align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  store i64 0, ptr %5, align 8, !tbaa !11
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %38)
  %189 = load i64, ptr %188, align 8, !tbaa !11
  store i64 %189, ptr %187, align 16, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  %190 = load i64, ptr %2, align 8, !tbaa !11
  %191 = icmp sgt i64 %190, 4
  br i1 %191, label %.lr.ph74, label %._crit_edge75

.lr.ph69:                                         ; preds = %._crit_edge66, %.lr.ph69
  %indvars.iv101 = phi i64 [ %indvars.iv.next102, %.lr.ph69 ], [ 1, %._crit_edge66 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  store i64 0, ptr %4, align 8, !tbaa !11
  %192 = getelementptr i64, ptr %161, i64 %indvars.iv101
  %193 = getelementptr i8, ptr %192, i64 -8
  %194 = getelementptr inbounds i64, ptr %35, i64 %indvars.iv101
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull align 8 dereferenceable(8) %194)
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %195)
  %197 = load i64, ptr %196, align 8, !tbaa !11
  store i64 %197, ptr %192, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %198 = load i64, ptr %2, align 8, !tbaa !11
  %199 = sdiv i64 %198, 2
  %200 = icmp sgt i64 %199, %indvars.iv.next102
  br i1 %200, label %.lr.ph69, label %._crit_edge70, !llvm.loop !18

._crit_edge75:                                    ; preds = %.lr.ph74, %._crit_edge70
  %201 = phi i64 [ %190, %._crit_edge70 ], [ %209, %.lr.ph74 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  store i64 0, ptr %7, align 8, !tbaa !11
  %202 = icmp sgt i64 %201, 1
  br i1 %202, label %.lr.ph78, label %.preheader

.lr.ph74:                                         ; preds = %._crit_edge70, %.lr.ph74
  %indvars.iv104 = phi i64 [ %indvars.iv.next105, %.lr.ph74 ], [ 1, %._crit_edge70 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store i64 0, ptr %6, align 8, !tbaa !11
  %203 = getelementptr i64, ptr %187, i64 %indvars.iv104
  %204 = getelementptr i8, ptr %203, i64 -8
  %205 = getelementptr inbounds i64, ptr %38, i64 %indvars.iv104
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef nonnull align 8 dereferenceable(8) %205)
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %206)
  %208 = load i64, ptr %207, align 8, !tbaa !11
  store i64 %208, ptr %203, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %209 = load i64, ptr %2, align 8, !tbaa !11
  %210 = add nsw i64 %209, -1
  %211 = sdiv i64 %210, 2
  %212 = icmp sgt i64 %211, %indvars.iv.next105
  br i1 %212, label %.lr.ph74, label %._crit_edge75, !llvm.loop !19

.preheader55:                                     ; preds = %.lr.ph78
  %213 = icmp sgt i64 %221, 2
  br i1 %213, label %.lr.ph80, label %.preheader

.lr.ph78:                                         ; preds = %._crit_edge75, %.lr.ph78
  %indvars.iv107 = phi i64 [ %indvars.iv.next108, %.lr.ph78 ], [ 0, %._crit_edge75 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %214 = getelementptr inbounds i64, ptr %35, i64 %indvars.iv107
  %215 = load i64, ptr %214, align 8, !tbaa !11
  %216 = getelementptr inbounds i64, ptr %161, i64 %indvars.iv107
  %217 = load i64, ptr %216, align 8, !tbaa !11
  %218 = sub nsw i64 %215, %217
  store i64 %218, ptr %8, align 8, !tbaa !11
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %220 = load i64, ptr %219, align 8, !tbaa !11
  store i64 %220, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %221 = load i64, ptr %2, align 8, !tbaa !11
  %222 = sdiv i64 %221, 2
  %223 = icmp sgt i64 %222, %indvars.iv.next108
  br i1 %223, label %.lr.ph78, label %.preheader55, !llvm.loop !20

.preheader:                                       ; preds = %.lr.ph80, %._crit_edge75, %.preheader55
  %.promoted = phi i64 [ %220, %.preheader55 ], [ 0, %._crit_edge75 ], [ %244, %.lr.ph80 ]
  %.lcssa57 = phi i64 [ %221, %.preheader55 ], [ %201, %._crit_edge75 ], [ %245, %.lr.ph80 ]
  %224 = icmp sgt i64 %.lcssa57, 0
  br i1 %224, label %.lr.ph83.preheader, label %249

.lr.ph83.preheader:                               ; preds = %.preheader
  %min.iters.check = icmp ult i64 %.lcssa57, 9
  br i1 %min.iters.check, label %.lr.ph83.preheader143, label %vector.ph

.lr.ph83.preheader143:                            ; preds = %middle.block, %.lr.ph83.preheader
  %indvars.iv113.ph = phi i64 [ 0, %.lr.ph83.preheader ], [ %ind.end, %middle.block ]
  %.ph = phi i64 [ %.promoted, %.lr.ph83.preheader ], [ %237, %middle.block ]
  br label %.lr.ph83

vector.ph:                                        ; preds = %.lr.ph83.preheader
  %225 = add nsw i64 %.lcssa57, -1
  %226 = lshr i64 %225, 1
  %227 = add nuw i64 %226, 1
  %n.mod.vf = and i64 %227, 3
  %228 = icmp eq i64 %n.mod.vf, 0
  %229 = select i1 %228, i64 4, i64 %n.mod.vf
  %n.vec = sub i64 %227, %229
  %ind.end = shl i64 %n.vec, 1
  %230 = insertelement <2 x i64> <i64 poison, i64 0>, i64 %.promoted, i64 0
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i64> [ %230, %vector.ph ], [ %234, %vector.body ]
  %vec.phi136 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %235, %vector.body ]
  %offset.idx = shl i64 %index, 1
  %231 = or disjoint i64 %offset.idx, 4
  %232 = getelementptr inbounds i64, ptr %22, i64 %offset.idx
  %233 = getelementptr inbounds i64, ptr %22, i64 %231
  %wide.vec = load <4 x i64>, ptr %232, align 16, !tbaa !11
  %wide.vec137 = load <4 x i64>, ptr %233, align 16, !tbaa !11
  %strided.vec = shufflevector <4 x i64> %wide.vec, <4 x i64> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec138 = shufflevector <4 x i64> %wide.vec137, <4 x i64> poison, <2 x i32> <i32 0, i32 2>
  %234 = add <2 x i64> %vec.phi, %strided.vec
  %235 = add <2 x i64> %vec.phi136, %strided.vec138
  %index.next = add nuw i64 %index, 4
  %236 = icmp eq i64 %index.next, %n.vec
  br i1 %236, label %middle.block, label %vector.body, !llvm.loop !21

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %235, %234
  %237 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  br label %.lr.ph83.preheader143

.lr.ph80:                                         ; preds = %.preheader55, %.lr.ph80
  %indvars.iv110 = phi i64 [ %indvars.iv.next111, %.lr.ph80 ], [ 0, %.preheader55 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %238 = getelementptr inbounds i64, ptr %38, i64 %indvars.iv110
  %239 = load i64, ptr %238, align 8, !tbaa !11
  %240 = getelementptr inbounds i64, ptr %187, i64 %indvars.iv110
  %241 = load i64, ptr %240, align 8, !tbaa !11
  %242 = sub nsw i64 %239, %241
  store i64 %242, ptr %9, align 8, !tbaa !11
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %244 = load i64, ptr %243, align 8, !tbaa !11
  store i64 %244, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %245 = load i64, ptr %2, align 8, !tbaa !11
  %246 = add nsw i64 %245, -1
  %247 = sdiv i64 %246, 2
  %248 = icmp sgt i64 %247, %indvars.iv.next111
  br i1 %248, label %.lr.ph80, label %.preheader, !llvm.loop !24

._crit_edge84:                                    ; preds = %.lr.ph83
  store i64 %256, ptr %7, align 8, !tbaa !11
  br label %249

249:                                              ; preds = %._crit_edge84, %.preheader
  %250 = phi i64 [ %256, %._crit_edge84 ], [ %.promoted, %.preheader ]
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %250)
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %258

.lr.ph83:                                         ; preds = %.lr.ph83.preheader143, %.lr.ph83
  %indvars.iv113 = phi i64 [ %indvars.iv.next114, %.lr.ph83 ], [ %indvars.iv113.ph, %.lr.ph83.preheader143 ]
  %253 = phi i64 [ %256, %.lr.ph83 ], [ %.ph, %.lr.ph83.preheader143 ]
  %254 = getelementptr inbounds i64, ptr %22, i64 %indvars.iv113
  %255 = load i64, ptr %254, align 16, !tbaa !11
  %256 = add nsw i64 %253, %255
  %indvars.iv.next114 = add nuw nsw i64 %indvars.iv113, 2
  %257 = icmp sgt i64 %.lcssa57, %indvars.iv.next114
  br i1 %257, label %.lr.ph83, label %._crit_edge84, !llvm.loop !25

258:                                              ; preds = %249, %30
  call void @llvm.stackrestore.p0(ptr %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #9
  %259 = load i32, ptr %1, align 4, !tbaa !8
  %260 = add nsw i32 %259, -1
  store i32 %260, ptr %1, align 4, !tbaa !8
  %.not = icmp eq i32 %259, 0
  br i1 %.not, label %._crit_edge89, label %.lr.ph88

._crit_edge89:                                    ; preds = %258, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #2 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #8

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 = { "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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #6 = { 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14, !22, !23}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14, !23, !22}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass