; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/Random/LOTGAME/A.ll (Z5solvev)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@dp = external dso_local global [31 x [2 x [2 x [2 x i64]]]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3bini(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %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 i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %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 i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %30 = 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)
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #7
  %33 = load i32, ptr %1, align 4, !tbaa !5
  call void @_Z3bini(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %4, i32 noundef %33)
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #7
  %34 = load i32, ptr %2, align 4, !tbaa !5
  invoke void @_Z3bini(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %5, i32 noundef %34)
          to label %35 unwind label %59

35:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  %36 = load i32, ptr %3, align 4, !tbaa !5
  invoke void @_Z3bini(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %8, i32 noundef %36)
          to label %37 unwind label %63

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %38 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  store i64 %38, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %39 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  store i64 %39, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %40 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  store i64 %40, ptr %12, align 8, !tbaa !9
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %42 unwind label %67

42:                                               ; preds = %37
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %44 unwind label %67

44:                                               ; preds = %42
  %45 = load i64, ptr %43, align 8, !tbaa !9
  %46 = trunc i64 %45 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  store i32 %46, ptr %9, align 4, !tbaa !5
  %47 = load i32, ptr %9, align 4, !tbaa !5
  invoke void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef %47)
          to label %48 unwind label %71

48:                                               ; preds = %44
  %49 = load i32, ptr %9, align 4, !tbaa !5
  invoke void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %49)
          to label %50 unwind label %71

50:                                               ; preds = %48
  %51 = load i32, ptr %9, align 4, !tbaa !5
  invoke void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef %51)
          to label %52 unwind label %71

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %53 = load i32, ptr %9, align 4, !tbaa !5
  store i32 %53, ptr %13, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 16 @dp, i8 0, i64 1984, i1 false)
  store i64 1, ptr getelementptr inbounds ([2 x i64], ptr getelementptr inbounds ([2 x [2 x i64]], ptr getelementptr inbounds ([2 x [2 x [2 x i64]]], ptr @dp, i64 0, i64 1), i64 0, i64 1), i64 0, i64 1), align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %242, %52
  %55 = load i32, ptr %14, align 4, !tbaa !5
  %56 = load i32, ptr %13, align 4, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %75, label %58

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

59:                                               ; preds = %0
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %6, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %7, align 4
  br label %264

63:                                               ; preds = %35
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %6, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %7, align 4
  br label %263

67:                                               ; preds = %42, %37
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %6, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %262

71:                                               ; preds = %50, %48, %44
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %6, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %7, align 4
  br label %262

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

76:                                               ; preds = %238, %75
  %77 = load i32, ptr %16, align 4, !tbaa !5
  %78 = icmp slt i32 %77, 2
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %241

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

81:                                               ; preds = %234, %80
  %82 = load i32, ptr %17, align 4, !tbaa !5
  %83 = icmp slt i32 %82, 2
  br i1 %83, label %85, label %84

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

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

86:                                               ; preds = %230, %85
  %87 = load i32, ptr %18, align 4, !tbaa !5
  %88 = icmp slt i32 %87, 2
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %233

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %91 = load i32, ptr %14, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %92
  %94 = load i32, ptr %16, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [2 x [2 x [2 x i64]]], ptr %93, i64 0, i64 %95
  %97 = load i32, ptr %17, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [2 x [2 x i64]], ptr %96, i64 0, i64 %98
  %100 = load i32, ptr %18, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [2 x i64], ptr %99, i64 0, i64 %101
  %103 = load i64, ptr %102, align 8, !tbaa !11
  store i64 %103, ptr %19, align 8, !tbaa !11
  %104 = load i64, ptr %19, align 8, !tbaa !11
  %105 = icmp ne i64 %104, 0
  br i1 %105, label %107, label %106

106:                                              ; preds = %90
  store i32 13, ptr %15, align 4
  br label %227

107:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %108 = load i32, ptr %16, align 4, !tbaa !5
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %115

110:                                              ; preds = %107
  %111 = load i32, ptr %14, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %112) #7
  %114 = load i32, ptr %113, align 4, !tbaa !5
  br label %116

115:                                              ; preds = %107
  br label %116

116:                                              ; preds = %115, %110
  %117 = phi i32 [ %114, %110 ], [ 1, %115 ]
  store i32 %117, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %118 = load i32, ptr %17, align 4, !tbaa !5
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %125

120:                                              ; preds = %116
  %121 = load i32, ptr %14, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %122) #7
  %124 = load i32, ptr %123, align 4, !tbaa !5
  br label %126

125:                                              ; preds = %116
  br label %126

126:                                              ; preds = %125, %120
  %127 = phi i32 [ %124, %120 ], [ 1, %125 ]
  store i32 %127, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %128 = load i32, ptr %18, align 4, !tbaa !5
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %135

130:                                              ; preds = %126
  %131 = load i32, ptr %14, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %132) #7
  %134 = load i32, ptr %133, align 4, !tbaa !5
  br label %136

135:                                              ; preds = %126
  br label %136

136:                                              ; preds = %135, %130
  %137 = phi i32 [ %134, %130 ], [ 1, %135 ]
  store i32 %137, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %223, %136
  %139 = load i32, ptr %23, align 4, !tbaa !5
  %140 = load i32, ptr %20, align 4, !tbaa !5
  %141 = icmp sle i32 %139, %140
  br i1 %141, label %143, label %142

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

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

144:                                              ; preds = %219, %143
  %145 = load i32, ptr %24, align 4, !tbaa !5
  %146 = load i32, ptr %21, align 4, !tbaa !5
  %147 = icmp sle i32 %145, %146
  br i1 %147, label %149, label %148

148:                                              ; preds = %144
  store i32 17, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %222

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

150:                                              ; preds = %215, %149
  %151 = load i32, ptr %25, align 4, !tbaa !5
  %152 = load i32, ptr %22, align 4, !tbaa !5
  %153 = icmp sle i32 %151, %152
  br i1 %153, label %155, label %154

154:                                              ; preds = %150
  store i32 20, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %218

155:                                              ; preds = %150
  %156 = load i32, ptr %24, align 4, !tbaa !5
  %157 = load i32, ptr %25, align 4, !tbaa !5
  %158 = and i32 %156, %157
  %159 = load i32, ptr %23, align 4, !tbaa !5
  %160 = icmp ne i32 %158, %159
  br i1 %160, label %161, label %162

161:                                              ; preds = %155
  br label %215

162:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %163 = load i32, ptr %16, align 4, !tbaa !5
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %172

165:                                              ; preds = %162
  %166 = load i32, ptr %23, align 4, !tbaa !5
  %167 = load i32, ptr %14, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %168) #7
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = icmp eq i32 %166, %170
  br label %172

172:                                              ; preds = %165, %162
  %173 = phi i1 [ false, %162 ], [ %171, %165 ]
  %174 = zext i1 %173 to i32
  store i32 %174, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %175 = load i32, ptr %17, align 4, !tbaa !5
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %184

177:                                              ; preds = %172
  %178 = load i32, ptr %24, align 4, !tbaa !5
  %179 = load i32, ptr %14, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %180) #7
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = icmp eq i32 %178, %182
  br label %184

184:                                              ; preds = %177, %172
  %185 = phi i1 [ false, %172 ], [ %183, %177 ]
  %186 = zext i1 %185 to i32
  store i32 %186, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %187 = load i32, ptr %18, align 4, !tbaa !5
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %189, label %196

189:                                              ; preds = %184
  %190 = load i32, ptr %25, align 4, !tbaa !5
  %191 = load i32, ptr %14, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %192) #7
  %194 = load i32, ptr %193, align 4, !tbaa !5
  %195 = icmp eq i32 %190, %194
  br label %196

196:                                              ; preds = %189, %184
  %197 = phi i1 [ false, %184 ], [ %195, %189 ]
  %198 = zext i1 %197 to i32
  store i32 %198, ptr %28, align 4, !tbaa !5
  %199 = load i64, ptr %19, align 8, !tbaa !11
  %200 = load i32, ptr %14, align 4, !tbaa !5
  %201 = add nsw i32 %200, 1
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %202
  %204 = load i32, ptr %26, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [2 x [2 x [2 x i64]]], ptr %203, i64 0, i64 %205
  %207 = load i32, ptr %27, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [2 x [2 x i64]], ptr %206, i64 0, i64 %208
  %210 = load i32, ptr %28, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [2 x i64], ptr %209, i64 0, i64 %211
  %213 = load i64, ptr %212, align 8, !tbaa !11
  %214 = add nsw i64 %213, %199
  store i64 %214, ptr %212, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %215

215:                                              ; preds = %196, %161
  %216 = load i32, ptr %25, align 4, !tbaa !5
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %25, align 4, !tbaa !5
  br label %150, !llvm.loop !13

218:                                              ; preds = %154
  br label %219

219:                                              ; preds = %218
  %220 = load i32, ptr %24, align 4, !tbaa !5
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %24, align 4, !tbaa !5
  br label %144, !llvm.loop !15

222:                                              ; preds = %148
  br label %223

223:                                              ; preds = %222
  %224 = load i32, ptr %23, align 4, !tbaa !5
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr %23, align 4, !tbaa !5
  br label %138, !llvm.loop !16

226:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  store i32 0, ptr %15, align 4
  br label %227

227:                                              ; preds = %226, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  %228 = load i32, ptr %15, align 4
  switch i32 %228, label %270 [
    i32 0, label %229
    i32 13, label %230
  ]

229:                                              ; preds = %227
  br label %230

230:                                              ; preds = %229, %227
  %231 = load i32, ptr %18, align 4, !tbaa !5
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %18, align 4, !tbaa !5
  br label %86, !llvm.loop !17

233:                                              ; preds = %89
  br label %234

234:                                              ; preds = %233
  %235 = load i32, ptr %17, align 4, !tbaa !5
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %17, align 4, !tbaa !5
  br label %81, !llvm.loop !18

237:                                              ; preds = %84
  br label %238

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

241:                                              ; preds = %79
  br label %242

242:                                              ; preds = %241
  %243 = load i32, ptr %14, align 4, !tbaa !5
  %244 = add nsw i32 %243, 1
  store i32 %244, ptr %14, align 4, !tbaa !5
  br label %54, !llvm.loop !20

245:                                              ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %246 = load i32, ptr %13, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %247
  %249 = getelementptr inbounds [2 x [2 x [2 x i64]]], ptr %248, i64 0, i64 0
  %250 = getelementptr inbounds [2 x [2 x i64]], ptr %249, i64 0, i64 0
  %251 = getelementptr inbounds [2 x i64], ptr %250, i64 0, i64 0
  %252 = load i64, ptr %251, align 16, !tbaa !11
  store i64 %252, ptr %29, align 8, !tbaa !11
  %253 = load i64, ptr %29, align 8, !tbaa !11
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %253)
          to label %255 unwind label %258

255:                                              ; preds = %245
  %256 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %254, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %257 unwind label %258

257:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  ret void

258:                                              ; preds = %255, %245
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %6, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %262

262:                                              ; preds = %258, %71, %67
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %263

263:                                              ; preds = %262, %63
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %264

264:                                              ; preds = %263, %59
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  br label %265

265:                                              ; preds = %264
  %266 = load ptr, ptr %6, align 8
  %267 = load i32, ptr %7, align 4
  %268 = insertvalue { ptr, i32 } poison, ptr %266, 0
  %269 = insertvalue { ptr, i32 } %268, i32 %267, 1
  resume { ptr, i32 } %269

270:                                              ; preds = %227
  unreachable
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 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) #0 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

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


; 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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@dp = external dso_local local_unnamed_addr global [31 x [2 x [2 x [2 x i64]]]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3bini(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef) local_unnamed_addr #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %10 = 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)
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  %13 = load i32, ptr %1, align 4, !tbaa !5
  call void @_Z3bini(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %4, i32 noundef %13)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %14 = load i32, ptr %2, align 4, !tbaa !5
  invoke void @_Z3bini(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, i32 noundef %14)
          to label %15 unwind label %34

15:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  %16 = load i32, ptr %3, align 4, !tbaa !5
  invoke void @_Z3bini(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %6, i32 noundef %16)
          to label %17 unwind label %36

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %18 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  store i64 %18, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %19 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  store i64 %19, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %20 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store i64 %20, ptr %9, align 8, !tbaa !9
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %23 = load i64, ptr %22, align 8, !tbaa !9
  %24 = trunc i64 %23 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  invoke void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef %24)
          to label %25 unwind label %38

25:                                               ; preds = %17
  invoke void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %24)
          to label %26 unwind label %38

26:                                               ; preds = %25
  invoke void @_Z3padRSt6vectorIiSaIiEEi(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %24)
          to label %27 unwind label %38

27:                                               ; preds = %26
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1984) @dp, i8 0, i64 1984, i1 false)
  store i64 1, ptr getelementptr inbounds (i8, ptr @dp, i64 56), align 8, !tbaa !11
  %28 = icmp sgt i32 %24, 0
  br i1 %28, label %.preheader78.preheader, label %._crit_edge

.preheader78.preheader:                           ; preds = %27
  %wide.trip.count = and i64 %23, 2147483647
  br label %.preheader78

.preheader78:                                     ; preds = %.preheader78.preheader, %40
  %indvars.iv156 = phi i64 [ 0, %.preheader78.preheader ], [ %indvars.iv.next157, %40 ]
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %29 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %indvars.iv.next157, i64 0, i64 0, i64 0
  br label %.preheader77

._crit_edge:                                      ; preds = %40, %27
  %sext = shl i64 %23, 32
  %30 = ashr exact i64 %sext, 32
  %31 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %30
  %32 = load i64, ptr %31, align 16, !tbaa !11
  %33 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %32)
          to label %157 unwind label %160

34:                                               ; preds = %0
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %164

36:                                               ; preds = %15
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %163

38:                                               ; preds = %26, %25, %17
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %162

.preheader77:                                     ; preds = %.preheader78, %41
  %.not68 = phi i1 [ true, %.preheader78 ], [ false, %41 ]
  %indvars.iv153 = phi i64 [ 0, %.preheader78 ], [ 1, %41 ]
  br label %.preheader76

40:                                               ; preds = %41
  %exitcond159.not = icmp eq i64 %indvars.iv.next157, %wide.trip.count
  br i1 %exitcond159.not, label %._crit_edge, label %.preheader78, !llvm.loop !13

.preheader76:                                     ; preds = %.preheader77, %42
  %.not69 = phi i1 [ true, %.preheader77 ], [ false, %42 ]
  %indvars.iv150 = phi i64 [ 0, %.preheader77 ], [ 1, %42 ]
  br label %43

41:                                               ; preds = %42
  br i1 %.not68, label %.preheader77, label %40, !llvm.loop !15

42:                                               ; preds = %.loopexit
  br i1 %.not69, label %.preheader76, label %41, !llvm.loop !16

43:                                               ; preds = %.preheader76, %.loopexit
  %.not70 = phi i1 [ true, %.preheader76 ], [ false, %.loopexit ]
  %indvars.iv = phi i64 [ 0, %.preheader76 ], [ 1, %.loopexit ]
  %44 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %indvars.iv156, i64 %indvars.iv153, i64 %indvars.iv150, i64 %indvars.iv
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %.not = icmp eq i64 %45, 0
  br i1 %.not, label %.loopexit, label %46

46:                                               ; preds = %43
  br i1 %.not68, label %50, label %47

47:                                               ; preds = %46
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv156) #7
  %49 = load i32, ptr %48, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %46, %47
  %51 = phi i32 [ %49, %47 ], [ 1, %46 ]
  br i1 %.not69, label %55, label %52

52:                                               ; preds = %50
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #7
  %54 = load i32, ptr %53, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %50, %52
  %56 = phi i32 [ %54, %52 ], [ 1, %50 ]
  br i1 %.not70, label %60, label %57

57:                                               ; preds = %55
  %58 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv156) #7
  %59 = load i32, ptr %58, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %55, %57
  %61 = phi i32 [ %59, %57 ], [ 1, %55 ]
  %.not71100 = icmp slt i32 %51, 0
  %.not7281 = icmp slt i32 %56, 0
  %or.cond = select i1 %.not71100, i1 true, i1 %.not7281
  %.not7379 = icmp slt i32 %61, 0
  %or.cond164 = select i1 %or.cond, i1 true, i1 %.not7379
  br i1 %or.cond164, label %.loopexit, label %.preheader75.lr.ph.split.split

.preheader75.lr.ph.split.split:                   ; preds = %60
  br i1 %.not68, label %.preheader75.lr.ph.split.split.split.us, label %.preheader75

.preheader75.lr.ph.split.split.split.us:          ; preds = %.preheader75.lr.ph.split.split
  br i1 %.not69, label %.preheader75.lr.ph.split.split.split.us.split.us, label %.preheader75.lr.ph.split.split.split.us.split

.preheader75.lr.ph.split.split.split.us.split.us: ; preds = %.preheader75.lr.ph.split.split.split.us
  br i1 %.not70, label %.preheader75.us109.us.us.preheader, label %.preheader75.us109.us

.preheader75.us109.us.us.preheader:               ; preds = %.preheader75.lr.ph.split.split.split.us.split.us
  %62 = add nuw i32 %61, 1
  %63 = icmp eq i32 %61, 0
  %unroll_iter = and i32 %62, -2
  %64 = and i32 %61, 1
  %lcmp.mod.not.not = icmp eq i32 %64, 0
  br label %.preheader75.us109.us.us

.preheader75.us109.us.us:                         ; preds = %.preheader75.us109.us.us.preheader, %._crit_edge86.split.split.us.split.us.split.us.us.us.us
  %.059101.us110.us.us = phi i32 [ %82, %._crit_edge86.split.split.us.split.us.split.us.us.us.us ], [ 0, %.preheader75.us109.us.us.preheader ]
  br label %.preheader.us87.us.us.us.us.us

.preheader.us87.us.us.us.us.us:                   ; preds = %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us, %.preheader75.us109.us.us
  %.05882.us88.us.us.us.us.us = phi i32 [ 0, %.preheader75.us109.us.us ], [ %81, %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us ]
  br i1 %63, label %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us.unr-lcssa, label %.preheader.us87.us.us.us.us.us.new

.preheader.us87.us.us.us.us.us.new:               ; preds = %.preheader.us87.us.us.us.us.us, %75
  %.05780.us.us.us.us.us.us.us.us.us = phi i32 [ %76, %75 ], [ 0, %.preheader.us87.us.us.us.us.us ]
  %niter = phi i32 [ %niter.next.1, %75 ], [ 0, %.preheader.us87.us.us.us.us.us ]
  %65 = and i32 %.05780.us.us.us.us.us.us.us.us.us, %.05882.us88.us.us.us.us.us
  %.not74.us.us.us.us.us.us.us.us.us = icmp eq i32 %65, %.059101.us110.us.us
  br i1 %.not74.us.us.us.us.us.us.us.us.us, label %66, label %69

66:                                               ; preds = %.preheader.us87.us.us.us.us.us.new
  %67 = load i64, ptr %29, align 16, !tbaa !11
  %68 = add nsw i64 %67, %45
  store i64 %68, ptr %29, align 16, !tbaa !11
  br label %69

69:                                               ; preds = %66, %.preheader.us87.us.us.us.us.us.new
  %70 = or disjoint i32 %.05780.us.us.us.us.us.us.us.us.us, 1
  %71 = and i32 %70, %.05882.us88.us.us.us.us.us
  %.not74.us.us.us.us.us.us.us.us.us.1 = icmp eq i32 %71, %.059101.us110.us.us
  br i1 %.not74.us.us.us.us.us.us.us.us.us.1, label %72, label %75

72:                                               ; preds = %69
  %73 = load i64, ptr %29, align 16, !tbaa !11
  %74 = add nsw i64 %73, %45
  store i64 %74, ptr %29, align 16, !tbaa !11
  br label %75

75:                                               ; preds = %72, %69
  %76 = add nuw i32 %.05780.us.us.us.us.us.us.us.us.us, 2
  %niter.next.1 = add i32 %niter, 2
  %niter.ncmp.1 = icmp eq i32 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us.unr-lcssa, label %.preheader.us87.us.us.us.us.us.new, !llvm.loop !17

._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us.unr-lcssa: ; preds = %75, %.preheader.us87.us.us.us.us.us
  %.05780.us.us.us.us.us.us.us.us.us.unr = phi i32 [ 0, %.preheader.us87.us.us.us.us.us ], [ %76, %75 ]
  %77 = and i32 %.05780.us.us.us.us.us.us.us.us.us.unr, %.05882.us88.us.us.us.us.us
  %.not74.us.us.us.us.us.us.us.us.us.epil = icmp eq i32 %77, %.059101.us110.us.us
  %or.cond173 = select i1 %lcmp.mod.not.not, i1 %.not74.us.us.us.us.us.us.us.us.us.epil, i1 false
  br i1 %or.cond173, label %78, label %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us

78:                                               ; preds = %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us.unr-lcssa
  %79 = load i64, ptr %29, align 16, !tbaa !11
  %80 = add nsw i64 %79, %45
  store i64 %80, ptr %29, align 16, !tbaa !11
  br label %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us

._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us: ; preds = %78, %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us.unr-lcssa
  %81 = add nuw i32 %.05882.us88.us.us.us.us.us, 1
  %exitcond147.not = icmp eq i32 %.05882.us88.us.us.us.us.us, %56
  br i1 %exitcond147.not, label %._crit_edge86.split.split.us.split.us.split.us.us.us.us, label %.preheader.us87.us.us.us.us.us, !llvm.loop !18

._crit_edge86.split.split.us.split.us.split.us.us.us.us: ; preds = %._crit_edge.split.us.split.us.split.us.us.us.us.us.us.us
  %82 = add nuw i32 %.059101.us110.us.us, 1
  %exitcond148.not = icmp eq i32 %.059101.us110.us.us, %51
  br i1 %exitcond148.not, label %.loopexit, label %.preheader75.us109.us.us, !llvm.loop !19

.preheader75.us109.us:                            ; preds = %.preheader75.lr.ph.split.split.split.us.split.us, %._crit_edge86.split.split.us.split.us.split.us120.us
  %.059101.us110.us = phi i32 [ %96, %._crit_edge86.split.split.us.split.us.split.us120.us ], [ 0, %.preheader75.lr.ph.split.split.split.us.split.us ]
  br label %.preheader.us87.us.us117.us

.preheader.us87.us.us117.us:                      ; preds = %.preheader75.us109.us, %._crit_edge.split.us.split.us.split.us98.us.us.us
  %.05882.us88.us.us118.us = phi i32 [ 0, %.preheader75.us109.us ], [ %95, %._crit_edge.split.us.split.us.split.us98.us.us.us ]
  br label %83

83:                                               ; preds = %93, %.preheader.us87.us.us117.us
  %.05780.us.us.us95.us.us.us = phi i32 [ 0, %.preheader.us87.us.us117.us ], [ %94, %93 ]
  %84 = and i32 %.05780.us.us.us95.us.us.us, %.05882.us88.us.us118.us
  %.not74.us.us.us96.us.us.us = icmp eq i32 %84, %.059101.us110.us
  br i1 %.not74.us.us.us96.us.us.us, label %85, label %93

85:                                               ; preds = %83
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv156) #7
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = icmp eq i32 %.05780.us.us.us95.us.us.us, %87
  %89 = zext i1 %88 to i64
  %90 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %indvars.iv.next157, i64 0, i64 0, i64 %89
  %91 = load i64, ptr %90, align 8, !tbaa !11
  %92 = add nsw i64 %91, %45
  store i64 %92, ptr %90, align 8, !tbaa !11
  br label %93

93:                                               ; preds = %85, %83
  %94 = add nuw i32 %.05780.us.us.us95.us.us.us, 1
  %exitcond143.not = icmp eq i32 %.05780.us.us.us95.us.us.us, %61
  br i1 %exitcond143.not, label %._crit_edge.split.us.split.us.split.us98.us.us.us, label %83, !llvm.loop !17

._crit_edge.split.us.split.us.split.us98.us.us.us: ; preds = %93
  %95 = add nuw i32 %.05882.us88.us.us118.us, 1
  %exitcond144.not = icmp eq i32 %.05882.us88.us.us118.us, %56
  br i1 %exitcond144.not, label %._crit_edge86.split.split.us.split.us.split.us120.us, label %.preheader.us87.us.us117.us, !llvm.loop !18

._crit_edge86.split.split.us.split.us.split.us120.us: ; preds = %._crit_edge.split.us.split.us.split.us98.us.us.us
  %96 = add nuw i32 %.059101.us110.us, 1
  %exitcond145.not = icmp eq i32 %.059101.us110.us, %51
  br i1 %exitcond145.not, label %.loopexit, label %.preheader75.us109.us, !llvm.loop !19

.preheader75.lr.ph.split.split.split.us.split:    ; preds = %.preheader75.lr.ph.split.split.split.us
  br i1 %.not70, label %.preheader75.us109.us122, label %.preheader75.us109

.preheader75.us109.us122:                         ; preds = %.preheader75.lr.ph.split.split.split.us.split, %._crit_edge86.split.split.us.split.us115.split.us.us
  %.059101.us110.us123 = phi i32 [ %110, %._crit_edge86.split.split.us.split.us115.split.us.us ], [ 0, %.preheader75.lr.ph.split.split.split.us.split ]
  br label %.preheader.us87.us112.us.us

.preheader.us87.us112.us.us:                      ; preds = %._crit_edge.split.us.split.us93.us.split.us.us.us, %.preheader75.us109.us122
  %.05882.us88.us113.us.us = phi i32 [ 0, %.preheader75.us109.us122 ], [ %109, %._crit_edge.split.us.split.us93.us.split.us.us.us ]
  br label %97

97:                                               ; preds = %107, %.preheader.us87.us112.us.us
  %.05780.us.us90.us.us.us.us = phi i32 [ 0, %.preheader.us87.us112.us.us ], [ %108, %107 ]
  %98 = and i32 %.05780.us.us90.us.us.us.us, %.05882.us88.us113.us.us
  %.not74.us.us91.us.us.us.us = icmp eq i32 %98, %.059101.us110.us123
  br i1 %.not74.us.us91.us.us.us.us, label %99, label %107

99:                                               ; preds = %97
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #7
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = icmp eq i32 %.05882.us88.us113.us.us, %101
  %103 = zext i1 %102 to i64
  %104 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %indvars.iv.next157, i64 0, i64 %103, i64 0
  %105 = load i64, ptr %104, align 16, !tbaa !11
  %106 = add nsw i64 %105, %45
  store i64 %106, ptr %104, align 16, !tbaa !11
  br label %107

107:                                              ; preds = %99, %97
  %108 = add nuw i32 %.05780.us.us90.us.us.us.us, 1
  %exitcond140.not = icmp eq i32 %.05780.us.us90.us.us.us.us, %61
  br i1 %exitcond140.not, label %._crit_edge.split.us.split.us93.us.split.us.us.us, label %97, !llvm.loop !17

._crit_edge.split.us.split.us93.us.split.us.us.us: ; preds = %107
  %109 = add nuw i32 %.05882.us88.us113.us.us, 1
  %exitcond141.not = icmp eq i32 %.05882.us88.us113.us.us, %56
  br i1 %exitcond141.not, label %._crit_edge86.split.split.us.split.us115.split.us.us, label %.preheader.us87.us112.us.us, !llvm.loop !18

._crit_edge86.split.split.us.split.us115.split.us.us: ; preds = %._crit_edge.split.us.split.us93.us.split.us.us.us
  %110 = add nuw i32 %.059101.us110.us123, 1
  %exitcond142.not = icmp eq i32 %.059101.us110.us123, %51
  br i1 %exitcond142.not, label %.loopexit, label %.preheader75.us109.us122, !llvm.loop !19

.preheader75.us109:                               ; preds = %.preheader75.lr.ph.split.split.split.us.split, %._crit_edge86.split.split.us.split.us115.split
  %.059101.us110 = phi i32 [ %128, %._crit_edge86.split.split.us.split.us115.split ], [ 0, %.preheader75.lr.ph.split.split.split.us.split ]
  br label %.preheader.us87.us112

.preheader.us87.us112:                            ; preds = %.preheader75.us109, %._crit_edge.split.us.split.us93.us.split
  %.05882.us88.us113 = phi i32 [ 0, %.preheader75.us109 ], [ %127, %._crit_edge.split.us.split.us93.us.split ]
  br label %111

111:                                              ; preds = %125, %.preheader.us87.us112
  %.05780.us.us90.us = phi i32 [ 0, %.preheader.us87.us112 ], [ %126, %125 ]
  %112 = and i32 %.05780.us.us90.us, %.05882.us88.us113
  %.not74.us.us91.us = icmp eq i32 %112, %.059101.us110
  br i1 %.not74.us.us91.us, label %113, label %125

113:                                              ; preds = %111
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #7
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = icmp eq i32 %.05882.us88.us113, %115
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv156) #7
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = icmp eq i32 %.05780.us.us90.us, %118
  %120 = zext i1 %116 to i64
  %121 = zext i1 %119 to i64
  %122 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %indvars.iv.next157, i64 0, i64 %120, i64 %121
  %123 = load i64, ptr %122, align 8, !tbaa !11
  %124 = add nsw i64 %123, %45
  store i64 %124, ptr %122, align 8, !tbaa !11
  br label %125

125:                                              ; preds = %113, %111
  %126 = add nuw i32 %.05780.us.us90.us, 1
  %exitcond137.not = icmp eq i32 %.05780.us.us90.us, %61
  br i1 %exitcond137.not, label %._crit_edge.split.us.split.us93.us.split, label %111, !llvm.loop !17

._crit_edge.split.us.split.us93.us.split:         ; preds = %125
  %127 = add nuw i32 %.05882.us88.us113, 1
  %exitcond138.not = icmp eq i32 %.05882.us88.us113, %56
  br i1 %exitcond138.not, label %._crit_edge86.split.split.us.split.us115.split, label %.preheader.us87.us112, !llvm.loop !18

._crit_edge86.split.split.us.split.us115.split:   ; preds = %._crit_edge.split.us.split.us93.us.split
  %128 = add nuw i32 %.059101.us110, 1
  %exitcond139.not = icmp eq i32 %.059101.us110, %51
  br i1 %exitcond139.not, label %.loopexit, label %.preheader75.us109, !llvm.loop !19

.preheader75:                                     ; preds = %.preheader75.lr.ph.split.split, %._crit_edge86.split.split
  %.059101 = phi i32 [ %129, %._crit_edge86.split.split ], [ 0, %.preheader75.lr.ph.split.split ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader75, %._crit_edge.split
  %.05882 = phi i32 [ 0, %.preheader75 ], [ %130, %._crit_edge.split ]
  br label %131

._crit_edge86.split.split:                        ; preds = %._crit_edge.split
  %129 = add nuw i32 %.059101, 1
  %exitcond136.not = icmp eq i32 %.059101, %51
  br i1 %exitcond136.not, label %.loopexit, label %.preheader75, !llvm.loop !19

._crit_edge.split:                                ; preds = %155
  %130 = add nuw i32 %.05882, 1
  %exitcond135.not = icmp eq i32 %.05882, %56
  br i1 %exitcond135.not, label %._crit_edge86.split.split, label %.preheader, !llvm.loop !18

131:                                              ; preds = %.preheader, %155
  %.05780 = phi i32 [ 0, %.preheader ], [ %156, %155 ]
  %132 = and i32 %.05780, %.05882
  %.not74 = icmp eq i32 %132, %.059101
  br i1 %.not74, label %133, label %155

133:                                              ; preds = %131
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv156) #7
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = icmp eq i32 %.059101, %135
  br i1 %.not69, label %141, label %137

137:                                              ; preds = %133
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv156) #7
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = icmp eq i32 %.05882, %139
  br label %141

141:                                              ; preds = %137, %133
  %142 = phi i1 [ false, %133 ], [ %140, %137 ]
  br i1 %.not70, label %147, label %143

143:                                              ; preds = %141
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv156) #7
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = icmp eq i32 %.05780, %145
  br label %147

147:                                              ; preds = %143, %141
  %148 = phi i1 [ false, %141 ], [ %146, %143 ]
  %149 = zext i1 %136 to i64
  %150 = zext i1 %142 to i64
  %151 = zext i1 %148 to i64
  %152 = getelementptr inbounds [31 x [2 x [2 x [2 x i64]]]], ptr @dp, i64 0, i64 %indvars.iv.next157, i64 %149, i64 %150, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !11
  %154 = add nsw i64 %153, %45
  store i64 %154, ptr %152, align 8, !tbaa !11
  br label %155

155:                                              ; preds = %131, %147
  %156 = add nuw i32 %.05780, 1
  %exitcond.not = icmp eq i32 %.05780, %61
  br i1 %exitcond.not, label %._crit_edge.split, label %131, !llvm.loop !17

.loopexit:                                        ; preds = %._crit_edge86.split.split, %._crit_edge86.split.split.us.split.us115.split, %._crit_edge86.split.split.us.split.us115.split.us.us, %._crit_edge86.split.split.us.split.us.split.us120.us, %._crit_edge86.split.split.us.split.us.split.us.us.us.us, %60, %43
  br i1 %.not70, label %43, label %42, !llvm.loop !20

157:                                              ; preds = %._crit_edge
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %159 unwind label %160

159:                                              ; preds = %157
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret void

160:                                              ; preds = %157, %._crit_edge
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %162

162:                                              ; preds = %160, %38
  %.pn = phi { ptr, i32 } [ %161, %160 ], [ %39, %38 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %163

163:                                              ; preds = %162, %36
  %.pn.pn = phi { ptr, i32 } [ %.pn, %162 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %164

164:                                              ; preds = %163, %34
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %163 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn.pn
}

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

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

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

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

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

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


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