; LLVM IR from VastoLorde95/Competitive-Programming :: Hackerrank/Codesprints 2017/Codesprint 9/Problem E (brute)

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

@g = external dso_local global [100100 x %"class.std::vector"], align 16
@comp = external dso_local global [100100 x %"class.std::vector.0"], align 16
@vis = external dso_local global [100100 x i32], align 16
@n = external dso_local global i32, align 4
@e = external dso_local global i32, align 4
@poss = external dso_local global [100100 x [10 x i32]], align 16
@ans = external dso_local global [10 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [130 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsii(i32 noundef, i32 noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4dfs2ii(i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3cbsii(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::pair", align 4
  %7 = alloca %"struct.std::pair", align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca [1024 x i64], align 16
  %29 = alloca ptr, align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %45 = alloca ptr, align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %48 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %49 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %50 = getelementptr i8, ptr %49, i64 -24
  %51 = load i64, ptr %50, align 8
  %52 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %51
  %53 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %52, ptr noundef null)
  %54 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %55 = getelementptr i8, ptr %54, i64 -24
  %56 = load i64, ptr %55, align 8
  %57 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %56
  %58 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %57, ptr noundef null)
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr noundef nonnull align 4 dereferenceable(4) @e)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #10
  store i32 0, ptr %2, align 4, !tbaa !8
  br label %61

61:                                               ; preds = %83, %0
  %62 = load i32, ptr %2, align 4, !tbaa !8
  %63 = load i32, ptr @e, align 4, !tbaa !8
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  br label %86

66:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  %67 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %68 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %70 = load i32, ptr %5, align 4, !tbaa !8
  %71 = srem i32 %70, 10
  store i32 %71, ptr %5, align 4, !tbaa !8
  %72 = load i32, ptr %3, align 4, !tbaa !8
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @g, i64 0, i64 %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %75 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store i64 %75, ptr %6, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  %76 = load i32, ptr %4, align 4, !tbaa !8
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @g, i64 0, i64 %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %79 = load i32, ptr %5, align 4, !tbaa !8
  %80 = sub nsw i32 10, %79
  %81 = srem i32 %80, 10
  store i32 %81, ptr %8, align 4, !tbaa !8
  %82 = call i64 @_ZSt9make_pairIRiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i64 %82, ptr %7, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %83

83:                                               ; preds = %66
  %84 = load i32, ptr %2, align 4, !tbaa !8
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %2, align 4, !tbaa !8
  br label %61, !llvm.loop !11

86:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  store i32 0, ptr %9, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  store i32 1, ptr %10, align 4, !tbaa !8
  br label %87

87:                                               ; preds = %103, %86
  %88 = load i32, ptr %10, align 4, !tbaa !8
  %89 = load i32, ptr @n, align 4, !tbaa !8
  %90 = icmp sle i32 %88, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %106

92:                                               ; preds = %87
  %93 = load i32, ptr %10, align 4, !tbaa !8
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [100100 x i32], ptr @vis, i64 0, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !8
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %99

98:                                               ; preds = %92
  br label %103

99:                                               ; preds = %92
  %100 = load i32, ptr %10, align 4, !tbaa !8
  %101 = load i32, ptr %9, align 4, !tbaa !8
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %9, align 4, !tbaa !8
  call void @_Z3dfsii(i32 noundef %100, i32 noundef %101)
  br label %103

103:                                              ; preds = %99, %98
  %104 = load i32, ptr %10, align 4, !tbaa !8
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %10, align 4, !tbaa !8
  br label %87, !llvm.loop !13

106:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store i32 0, ptr %11, align 4, !tbaa !8
  br label %107

107:                                              ; preds = %441, %106
  %108 = load i32, ptr %11, align 4, !tbaa !8
  %109 = load i32, ptr %9, align 4, !tbaa !8
  %110 = icmp slt i32 %108, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %107
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  br label %444

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  %113 = load i32, ptr %11, align 4, !tbaa !8
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %114
  %116 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #10
  %117 = trunc i64 %116 to i32
  store i32 %117, ptr %13, align 4, !tbaa !8
  %118 = load i32, ptr %13, align 4, !tbaa !8
  %119 = icmp sle i32 %118, 100100
  br i1 %119, label %120, label %220

120:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %121 = load i32, ptr %11, align 4, !tbaa !8
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %122
  store ptr %123, ptr %14, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  %124 = load ptr, ptr %14, align 8, !tbaa !14
  %125 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %124) #10
  %126 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %15, i32 0, i32 0
  store ptr %125, ptr %126, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %127 = load ptr, ptr %14, align 8, !tbaa !14
  %128 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #10
  %129 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %16, i32 0, i32 0
  store ptr %128, ptr %129, align 8
  br label %130

130:                                              ; preds = %217, %120
  %131 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  br i1 %131, label %133, label %132

132:                                              ; preds = %130
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %219

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  store ptr %134, ptr %17, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %135 = load i32, ptr %11, align 4, !tbaa !8
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %136
  store ptr %137, ptr %18, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %138 = load ptr, ptr %18, align 8, !tbaa !14
  %139 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #10
  %140 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %19, i32 0, i32 0
  store ptr %139, ptr %140, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  %141 = load ptr, ptr %18, align 8, !tbaa !14
  %142 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %141) #10
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %20, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  br label %144

144:                                              ; preds = %165, %133
  %145 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #10
  br i1 %145, label %147, label %146

146:                                              ; preds = %144
  store i32 13, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  br label %167

147:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  store ptr %148, ptr %21, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  store i32 0, ptr %22, align 4, !tbaa !8
  br label %149

149:                                              ; preds = %161, %147
  %150 = load i32, ptr %22, align 4, !tbaa !8
  %151 = icmp slt i32 %150, 10
  br i1 %151, label %153, label %152

152:                                              ; preds = %149
  store i32 15, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %164

153:                                              ; preds = %149
  %154 = load ptr, ptr %21, align 8, !tbaa !14
  %155 = load i32, ptr %154, align 4, !tbaa !8
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %156
  %158 = load i32, ptr %22, align 4, !tbaa !8
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [10 x i32], ptr %157, i64 0, i64 %159
  store i32 0, ptr %160, align 4, !tbaa !8
  br label %161

161:                                              ; preds = %153
  %162 = load i32, ptr %22, align 4, !tbaa !8
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %22, align 4, !tbaa !8
  br label %149, !llvm.loop !16

164:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %165

165:                                              ; preds = %164
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  br label %144

167:                                              ; preds = %146
  %168 = load ptr, ptr %17, align 8, !tbaa !14
  %169 = load i32, ptr %168, align 4, !tbaa !8
  call void @_Z4dfs2ii(i32 noundef %169, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %170 = load i32, ptr %11, align 4, !tbaa !8
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %171
  store ptr %172, ptr %23, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %173 = load ptr, ptr %23, align 8, !tbaa !14
  %174 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %173) #10
  %175 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %24, i32 0, i32 0
  store ptr %174, ptr %175, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %176 = load ptr, ptr %23, align 8, !tbaa !14
  %177 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #10
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %25, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  br label %179

179:                                              ; preds = %214, %167
  %180 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #10
  br i1 %180, label %182, label %181

181:                                              ; preds = %179
  store i32 18, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %216

182:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %183 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  store ptr %183, ptr %26, align 8, !tbaa !14
  %184 = load ptr, ptr %17, align 8, !tbaa !14
  %185 = load i32, ptr %184, align 4, !tbaa !8
  %186 = load ptr, ptr %26, align 8, !tbaa !14
  %187 = load i32, ptr %186, align 4, !tbaa !8
  %188 = icmp ne i32 %185, %187
  br i1 %188, label %189, label %213

189:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  store i32 0, ptr %27, align 4, !tbaa !8
  br label %190

190:                                              ; preds = %209, %189
  %191 = load i32, ptr %27, align 4, !tbaa !8
  %192 = icmp slt i32 %191, 10
  br i1 %192, label %194, label %193

193:                                              ; preds = %190
  store i32 20, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  br label %212

194:                                              ; preds = %190
  %195 = load ptr, ptr %26, align 8, !tbaa !14
  %196 = load i32, ptr %195, align 4, !tbaa !8
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %197
  %199 = load i32, ptr %27, align 4, !tbaa !8
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [10 x i32], ptr %198, i64 0, i64 %200
  %202 = load i32, ptr %201, align 4, !tbaa !8
  %203 = sext i32 %202 to i64
  %204 = load i32, ptr %27, align 4, !tbaa !8
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %205
  %207 = load i64, ptr %206, align 8, !tbaa !17
  %208 = add nsw i64 %207, %203
  store i64 %208, ptr %206, align 8, !tbaa !17
  br label %209

209:                                              ; preds = %194
  %210 = load i32, ptr %27, align 4, !tbaa !8
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %27, align 4, !tbaa !8
  br label %190, !llvm.loop !19

212:                                              ; preds = %193
  br label %213

213:                                              ; preds = %212, %182
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  br label %214

214:                                              ; preds = %213
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #10
  br label %179

216:                                              ; preds = %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  br label %217

217:                                              ; preds = %216
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  br label %130

219:                                              ; preds = %132
  br label %440

220:                                              ; preds = %112
  %221 = load i32, ptr %11, align 4, !tbaa !8
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %222
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef 0) #10
  %225 = load i32, ptr %224, align 4, !tbaa !8
  call void @_Z4dfs2ii(i32 noundef %225, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8192, ptr %28) #10
  %226 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %226, i8 0, i64 8192, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %227 = load i32, ptr %11, align 4, !tbaa !8
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %228
  store ptr %229, ptr %29, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %230 = load ptr, ptr %29, align 8, !tbaa !14
  %231 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %230) #10
  %232 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %30, i32 0, i32 0
  store ptr %231, ptr %232, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %233 = load ptr, ptr %29, align 8, !tbaa !14
  %234 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %233) #10
  %235 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %31, i32 0, i32 0
  store ptr %234, ptr %235, align 8
  br label %236

236:                                              ; preds = %280, %220
  %237 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #10
  br i1 %237, label %239, label %238

238:                                              ; preds = %236
  store i32 23, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  br label %282

239:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %240 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  store ptr %240, ptr %32, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  store i32 0, ptr %33, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  store i32 0, ptr %34, align 4, !tbaa !8
  br label %241

241:                                              ; preds = %261, %239
  %242 = load i32, ptr %34, align 4, !tbaa !8
  %243 = icmp slt i32 %242, 10
  br i1 %243, label %245, label %244

244:                                              ; preds = %241
  store i32 25, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  br label %264

245:                                              ; preds = %241
  %246 = load ptr, ptr %32, align 8, !tbaa !14
  %247 = load i32, ptr %246, align 4, !tbaa !8
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %248
  %250 = load i32, ptr %34, align 4, !tbaa !8
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [10 x i32], ptr %249, i64 0, i64 %251
  %253 = load i32, ptr %252, align 4, !tbaa !8
  %254 = icmp ne i32 %253, 0
  br i1 %254, label %255, label %260

255:                                              ; preds = %245
  %256 = load i32, ptr %34, align 4, !tbaa !8
  %257 = shl i32 1, %256
  %258 = load i32, ptr %33, align 4, !tbaa !8
  %259 = or i32 %258, %257
  store i32 %259, ptr %33, align 4, !tbaa !8
  br label %260

260:                                              ; preds = %255, %245
  br label %261

261:                                              ; preds = %260
  %262 = load i32, ptr %34, align 4, !tbaa !8
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %34, align 4, !tbaa !8
  br label %241, !llvm.loop !20

264:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  %265 = load i32, ptr %33, align 4, !tbaa !8
  store i32 %265, ptr %35, align 4, !tbaa !8
  br label %266

266:                                              ; preds = %269, %264
  %267 = load i32, ptr %35, align 4, !tbaa !8
  %268 = icmp sgt i32 %267, 0
  br i1 %268, label %269, label %279

269:                                              ; preds = %266
  %270 = load i32, ptr %35, align 4, !tbaa !8
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %271
  %273 = load i64, ptr %272, align 8, !tbaa !17
  %274 = add nsw i64 %273, 1
  store i64 %274, ptr %272, align 8, !tbaa !17
  %275 = load i32, ptr %33, align 4, !tbaa !8
  %276 = load i32, ptr %35, align 4, !tbaa !8
  %277 = sub nsw i32 %276, 1
  %278 = and i32 %275, %277
  store i32 %278, ptr %35, align 4, !tbaa !8
  br label %266, !llvm.loop !21

279:                                              ; preds = %266
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %280

280:                                              ; preds = %279
  %281 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  br label %236

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

283:                                              ; preds = %302, %282
  %284 = load i32, ptr %36, align 4, !tbaa !8
  %285 = icmp slt i32 %284, 10
  br i1 %285, label %287, label %286

286:                                              ; preds = %283
  store i32 30, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  br label %305

287:                                              ; preds = %283
  %288 = load i32, ptr %36, align 4, !tbaa !8
  %289 = shl i32 1, %288
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %290
  %292 = load i64, ptr %291, align 8, !tbaa !17
  %293 = load i32, ptr %36, align 4, !tbaa !8
  %294 = shl i32 1, %293
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %295
  %297 = load i64, ptr %296, align 8, !tbaa !17
  %298 = sub nsw i64 %297, 1
  %299 = mul nsw i64 %292, %298
  %300 = load i64, ptr @ans, align 16, !tbaa !17
  %301 = add nsw i64 %300, %299
  store i64 %301, ptr @ans, align 16, !tbaa !17
  br label %302

302:                                              ; preds = %287
  %303 = load i32, ptr %36, align 4, !tbaa !8
  %304 = add nsw i32 %303, 1
  store i32 %304, ptr %36, align 4, !tbaa !8
  br label %283, !llvm.loop !22

305:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  store i32 1, ptr %37, align 4, !tbaa !8
  br label %306

306:                                              ; preds = %366, %305
  %307 = load i32, ptr %37, align 4, !tbaa !8
  %308 = icmp slt i32 %307, 10
  br i1 %308, label %310, label %309

309:                                              ; preds = %306
  store i32 33, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  br label %369

310:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  store i32 1, ptr %38, align 4, !tbaa !8
  br label %311

311:                                              ; preds = %362, %310
  %312 = load i32, ptr %38, align 4, !tbaa !8
  %313 = icmp slt i32 %312, 1024
  br i1 %313, label %315, label %314

314:                                              ; preds = %311
  store i32 36, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  br label %365

315:                                              ; preds = %311
  %316 = load i32, ptr %38, align 4, !tbaa !8
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %317
  %319 = load i64, ptr %318, align 8, !tbaa !17
  %320 = icmp ne i64 %319, 0
  br i1 %320, label %322, label %321

321:                                              ; preds = %315
  br label %362

322:                                              ; preds = %315
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  %323 = load i32, ptr %38, align 4, !tbaa !8
  %324 = call i32 @llvm.ctpop.i32(i32 %323)
  store i32 %324, ptr %39, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #10
  %325 = load i32, ptr %38, align 4, !tbaa !8
  %326 = load i32, ptr %37, align 4, !tbaa !8
  %327 = call noundef i32 @_Z3cbsii(i32 noundef %325, i32 noundef %326)
  store i32 %327, ptr %40, align 4, !tbaa !8
  %328 = load i32, ptr %39, align 4, !tbaa !8
  %329 = and i32 %328, 1
  %330 = icmp ne i32 %329, 0
  br i1 %330, label %331, label %346

331:                                              ; preds = %322
  %332 = load i32, ptr %38, align 4, !tbaa !8
  %333 = sext i32 %332 to i64
  %334 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %333
  %335 = load i64, ptr %334, align 8, !tbaa !17
  %336 = load i32, ptr %40, align 4, !tbaa !8
  %337 = sext i32 %336 to i64
  %338 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %337
  %339 = load i64, ptr %338, align 8, !tbaa !17
  %340 = mul nsw i64 %335, %339
  %341 = load i32, ptr %37, align 4, !tbaa !8
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %342
  %344 = load i64, ptr %343, align 8, !tbaa !17
  %345 = add nsw i64 %344, %340
  store i64 %345, ptr %343, align 8, !tbaa !17
  br label %361

346:                                              ; preds = %322
  %347 = load i32, ptr %38, align 4, !tbaa !8
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %348
  %350 = load i64, ptr %349, align 8, !tbaa !17
  %351 = load i32, ptr %40, align 4, !tbaa !8
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds [1024 x i64], ptr %28, i64 0, i64 %352
  %354 = load i64, ptr %353, align 8, !tbaa !17
  %355 = mul nsw i64 %350, %354
  %356 = load i32, ptr %37, align 4, !tbaa !8
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %357
  %359 = load i64, ptr %358, align 8, !tbaa !17
  %360 = sub nsw i64 %359, %355
  store i64 %360, ptr %358, align 8, !tbaa !17
  br label %361

361:                                              ; preds = %346, %331
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  br label %362

362:                                              ; preds = %361, %321
  %363 = load i32, ptr %38, align 4, !tbaa !8
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr %38, align 4, !tbaa !8
  br label %311, !llvm.loop !23

365:                                              ; preds = %314
  br label %366

366:                                              ; preds = %365
  %367 = load i32, ptr %37, align 4, !tbaa !8
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %37, align 4, !tbaa !8
  br label %306, !llvm.loop !24

369:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  store i32 1, ptr %41, align 4, !tbaa !8
  br label %370

370:                                              ; preds = %436, %369
  %371 = load i32, ptr %41, align 4, !tbaa !8
  %372 = icmp slt i32 %371, 10
  br i1 %372, label %374, label %373

373:                                              ; preds = %370
  store i32 39, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %439

374:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  %375 = load i32, ptr %11, align 4, !tbaa !8
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %376
  store ptr %377, ptr %42, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  %378 = load ptr, ptr %42, align 8, !tbaa !14
  %379 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %378) #10
  %380 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %43, i32 0, i32 0
  store ptr %379, ptr %380, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #10
  %381 = load ptr, ptr %42, align 8, !tbaa !14
  %382 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %381) #10
  %383 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %44, i32 0, i32 0
  store ptr %382, ptr %383, align 8
  br label %384

384:                                              ; preds = %433, %374
  %385 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #10
  br i1 %385, label %387, label %386

386:                                              ; preds = %384
  store i32 42, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  br label %435

387:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #10
  %388 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #10
  store ptr %388, ptr %45, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #10
  store i32 0, ptr %46, align 4, !tbaa !8
  br label %389

389:                                              ; preds = %428, %387
  %390 = load i32, ptr %46, align 4, !tbaa !8
  %391 = icmp slt i32 %390, 10
  br i1 %391, label %393, label %392

392:                                              ; preds = %389
  store i32 44, ptr %12, align 4
  br label %431

393:                                              ; preds = %389
  %394 = load ptr, ptr %45, align 8, !tbaa !14
  %395 = load i32, ptr %394, align 4, !tbaa !8
  %396 = sext i32 %395 to i64
  %397 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %396
  %398 = load i32, ptr %46, align 4, !tbaa !8
  %399 = sext i32 %398 to i64
  %400 = getelementptr inbounds [10 x i32], ptr %397, i64 0, i64 %399
  %401 = load i32, ptr %400, align 4, !tbaa !8
  %402 = icmp ne i32 %401, 0
  br i1 %402, label %403, label %427

403:                                              ; preds = %393
  %404 = load i32, ptr %46, align 4, !tbaa !8
  %405 = load i32, ptr %41, align 4, !tbaa !8
  %406 = add nsw i32 %404, %405
  %407 = icmp slt i32 %406, 10
  br i1 %407, label %408, label %427

408:                                              ; preds = %403
  %409 = load ptr, ptr %45, align 8, !tbaa !14
  %410 = load i32, ptr %409, align 4, !tbaa !8
  %411 = sext i32 %410 to i64
  %412 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %411
  %413 = load i32, ptr %46, align 4, !tbaa !8
  %414 = load i32, ptr %41, align 4, !tbaa !8
  %415 = add nsw i32 %413, %414
  %416 = srem i32 %415, 10
  %417 = sext i32 %416 to i64
  %418 = getelementptr inbounds [10 x i32], ptr %412, i64 0, i64 %417
  %419 = load i32, ptr %418, align 4, !tbaa !8
  %420 = icmp ne i32 %419, 0
  br i1 %420, label %421, label %427

421:                                              ; preds = %408
  %422 = load i32, ptr %41, align 4, !tbaa !8
  %423 = sext i32 %422 to i64
  %424 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %423
  %425 = load i64, ptr %424, align 8, !tbaa !17
  %426 = add nsw i64 %425, -1
  store i64 %426, ptr %424, align 8, !tbaa !17
  store i32 44, ptr %12, align 4
  br label %431

427:                                              ; preds = %408, %403, %393
  br label %428

428:                                              ; preds = %427
  %429 = load i32, ptr %46, align 4, !tbaa !8
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %46, align 4, !tbaa !8
  br label %389, !llvm.loop !25

431:                                              ; preds = %421, %392
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #10
  br label %432

432:                                              ; preds = %431
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #10
  br label %433

433:                                              ; preds = %432
  %434 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #10
  br label %384

435:                                              ; preds = %386
  br label %436

436:                                              ; preds = %435
  %437 = load i32, ptr %41, align 4, !tbaa !8
  %438 = add nsw i32 %437, 1
  store i32 %438, ptr %41, align 4, !tbaa !8
  br label %370, !llvm.loop !26

439:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 8192, ptr %28) #10
  br label %440

440:                                              ; preds = %439, %219
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  br label %441

441:                                              ; preds = %440
  %442 = load i32, ptr %11, align 4, !tbaa !8
  %443 = add nsw i32 %442, 1
  store i32 %443, ptr %11, align 4, !tbaa !8
  br label %107, !llvm.loop !27

444:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #10
  store i32 0, ptr %47, align 4, !tbaa !8
  br label %445

445:                                              ; preds = %465, %444
  %446 = load i32, ptr %47, align 4, !tbaa !8
  %447 = icmp slt i32 %446, 10
  br i1 %447, label %449, label %448

448:                                              ; preds = %445
  store i32 47, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #10
  br label %468

449:                                              ; preds = %445
  %450 = load i32, ptr %47, align 4, !tbaa !8
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %451
  %453 = load i64, ptr %452, align 8, !tbaa !17
  %454 = icmp sge i64 %453, 0
  br i1 %454, label %455, label %456

455:                                              ; preds = %449
  br label %458

456:                                              ; preds = %449
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.4, i32 noundef 181, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

457:                                              ; No predecessors!
  br label %458

458:                                              ; preds = %457, %455
  %459 = load i32, ptr %47, align 4, !tbaa !8
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %460
  %462 = load i64, ptr %461, align 8, !tbaa !17
  %463 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %462)
  %464 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %463, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %465

465:                                              ; preds = %458
  %466 = load i32, ptr %47, align 4, !tbaa !8
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %47, align 4, !tbaa !8
  br label %445, !llvm.loop !28

468:                                              ; preds = %448
  store i32 0, ptr %1, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  %469 = load i32, ptr %1, align 4
  ret i32 %469
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #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 nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

; 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !10, i64 0}
!16 = distinct !{!16, !12}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !10, i64 0}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}
!28 = distinct !{!28, !12}


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

@g = external dso_local global [100100 x %"class.std::vector"], align 16
@comp = external dso_local global [100100 x %"class.std::vector.0"], align 16
@vis = external dso_local local_unnamed_addr global [100100 x i32], align 16
@n = external dso_local global i32, align 4
@e = external dso_local global i32, align 4
@poss = external dso_local local_unnamed_addr global [100100 x [10 x i32]], align 16
@ans = external dso_local local_unnamed_addr global [10 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [130 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsii(i32 noundef, 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

; 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 uwtable
declare dso_local void @_Z4dfs2ii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3cbsii(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca %"struct.std::pair", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %13 = alloca [1024 x i64], align 16
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %18 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %19 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %20 = getelementptr i8, ptr %19, i64 -24
  %21 = load i64, ptr %20, align 8
  %22 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %21
  %23 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %22, ptr noundef null)
  %24 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %25 = getelementptr i8, ptr %24, i64 -24
  %26 = load i64, ptr %25, align 8
  %27 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %26
  %28 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %27, ptr noundef null)
  %29 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %30 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(4) @e)
  %31 = load i32, ptr @e, align 4, !tbaa !8
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph, label %.preheader117

.preheader117:                                    ; preds = %.lr.ph, %0
  %33 = load i32, ptr @n, align 4, !tbaa !8
  %.not119 = icmp slt i32 %33, 1
  br i1 %.not119, label %.preheader, label %.lr.ph122

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.087118 = phi i32 [ %50, %.lr.ph ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  %34 = 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)
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %37 = load i32, ptr %3, align 4, !tbaa !8
  %38 = srem i32 %37, 10
  store i32 %38, ptr %3, align 4, !tbaa !8
  %39 = load i32, ptr %1, align 4, !tbaa !8
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @g, i64 0, i64 %40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #11
  %42 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3)
  store i64 %42, ptr %4, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #11
  %43 = load i32, ptr %2, align 4, !tbaa !8
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @g, i64 0, i64 %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #11
  %46 = load i32, ptr %3, align 4, !tbaa !8
  %47 = sub nsw i32 10, %46
  %48 = srem i32 %47, 10
  store i32 %48, ptr %6, align 4, !tbaa !8
  %49 = call i64 @_ZSt9make_pairIRiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %6)
  store i64 %49, ptr %5, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #11
  %50 = add nuw nsw i32 %.087118, 1
  %51 = load i32, ptr @e, align 4, !tbaa !8
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %.lr.ph, label %.preheader117, !llvm.loop !11

.preheader116:                                    ; preds = %60
  %53 = icmp sgt i32 %.1, 0
  br i1 %53, label %.lr.ph150.preheader, label %.preheader

.lr.ph150.preheader:                              ; preds = %.preheader116
  %wide.trip.count = zext nneg i32 %.1 to i64
  %.phi.trans.insert = getelementptr inbounds i8, ptr %13, i64 8
  %.phi.trans.insert188 = getelementptr inbounds i8, ptr %13, i64 16
  %.phi.trans.insert190 = getelementptr inbounds i8, ptr %13, i64 32
  %.phi.trans.insert192 = getelementptr inbounds i8, ptr %13, i64 64
  %.phi.trans.insert194 = getelementptr inbounds i8, ptr %13, i64 128
  %.phi.trans.insert196 = getelementptr inbounds i8, ptr %13, i64 256
  %.phi.trans.insert198 = getelementptr inbounds i8, ptr %13, i64 512
  %.phi.trans.insert200 = getelementptr inbounds i8, ptr %13, i64 1024
  %.phi.trans.insert202 = getelementptr inbounds i8, ptr %13, i64 2048
  %.phi.trans.insert204 = getelementptr inbounds i8, ptr %13, i64 4096
  br label %.lr.ph150

.lr.ph122:                                        ; preds = %.preheader117, %60
  %54 = phi i32 [ %61, %60 ], [ %33, %.preheader117 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %60 ], [ 1, %.preheader117 ]
  %.089121 = phi i32 [ %.1, %60 ], [ 0, %.preheader117 ]
  %55 = getelementptr inbounds [100100 x i32], ptr @vis, i64 0, i64 %indvars.iv
  %56 = load i32, ptr %55, align 4, !tbaa !8
  %.not109 = icmp eq i32 %56, 0
  br i1 %.not109, label %57, label %60

57:                                               ; preds = %.lr.ph122
  %58 = add nsw i32 %.089121, 1
  %59 = trunc nuw nsw i64 %indvars.iv to i32
  call void @_Z3dfsii(i32 noundef %59, i32 noundef %.089121)
  %.pre = load i32, ptr @n, align 4, !tbaa !8
  br label %60

60:                                               ; preds = %.lr.ph122, %57
  %61 = phi i32 [ %54, %.lr.ph122 ], [ %.pre, %57 ]
  %.1 = phi i32 [ %.089121, %.lr.ph122 ], [ %58, %57 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %62 = sext i32 %61 to i64
  %.not.not = icmp slt i64 %indvars.iv, %62
  br i1 %.not.not, label %.lr.ph122, label %.preheader116, !llvm.loop !13

.preheader:                                       ; preds = %315, %.preheader117, %.preheader116
  %63 = load i64, ptr @ans, align 16, !tbaa !14
  %64 = icmp sgt i64 %63, -1
  br i1 %64, label %317, label %316

.lr.ph150:                                        ; preds = %.lr.ph150.preheader, %315
  %indvars.iv179 = phi i64 [ 0, %.lr.ph150.preheader ], [ %indvars.iv.next180, %315 ]
  %65 = getelementptr inbounds [100100 x %"class.std::vector.0"], ptr @comp, i64 0, i64 %indvars.iv179
  %66 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  %67 = trunc i64 %66 to i32
  %68 = icmp slt i32 %67, 100101
  br i1 %68, label %69, label %147

69:                                               ; preds = %.lr.ph150
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  %70 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %70, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  %71 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %71, ptr %8, align 8
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #11
  br i1 %72, label %.lr.ph147, label %._crit_edge148

._crit_edge148:                                   ; preds = %._crit_edge145, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  br label %315

.lr.ph147:                                        ; preds = %69, %._crit_edge145
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #11
  %74 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %74, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %75 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %75, ptr %10, align 8
  %76 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #11
  br i1 %76, label %.lr.ph140, label %._crit_edge141

._crit_edge141:                                   ; preds = %.lr.ph140, %.lr.ph147
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #11
  %77 = load i32, ptr %73, align 4, !tbaa !8
  call void @_Z4dfs2ii(i32 noundef %77, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  %78 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %78, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  %79 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %79, ptr %12, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  br i1 %80, label %.lr.ph144, label %._crit_edge145

.lr.ph140:                                        ; preds = %.lr.ph147, %.lr.ph140
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #11
  %82 = load i32, ptr %81, align 4, !tbaa !8
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %83, i64 0
  store i32 0, ptr %84, align 8, !tbaa !8
  %85 = load i32, ptr %81, align 4, !tbaa !8
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %86, i64 1
  store i32 0, ptr %87, align 4, !tbaa !8
  %88 = load i32, ptr %81, align 4, !tbaa !8
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %89, i64 2
  store i32 0, ptr %90, align 8, !tbaa !8
  %91 = load i32, ptr %81, align 4, !tbaa !8
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %92, i64 3
  store i32 0, ptr %93, align 4, !tbaa !8
  %94 = load i32, ptr %81, align 4, !tbaa !8
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %95, i64 4
  store i32 0, ptr %96, align 8, !tbaa !8
  %97 = load i32, ptr %81, align 4, !tbaa !8
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %98, i64 5
  store i32 0, ptr %99, align 4, !tbaa !8
  %100 = load i32, ptr %81, align 4, !tbaa !8
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %101, i64 6
  store i32 0, ptr %102, align 8, !tbaa !8
  %103 = load i32, ptr %81, align 4, !tbaa !8
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %104, i64 7
  store i32 0, ptr %105, align 4, !tbaa !8
  %106 = load i32, ptr %81, align 4, !tbaa !8
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %107, i64 8
  store i32 0, ptr %108, align 8, !tbaa !8
  %109 = load i32, ptr %81, align 4, !tbaa !8
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %110, i64 9
  store i32 0, ptr %111, align 4, !tbaa !8
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #11
  %113 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #11
  br i1 %113, label %.lr.ph140, label %._crit_edge141

._crit_edge145:                                   ; preds = %.loopexit, %._crit_edge141
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #11
  %115 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #11
  br i1 %115, label %.lr.ph147, label %._crit_edge148

.lr.ph144:                                        ; preds = %._crit_edge141, %.loopexit
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  %117 = load i32, ptr %73, align 4, !tbaa !8
  %118 = load i32, ptr %116, align 4, !tbaa !8
  %.not108 = icmp eq i32 %117, %118
  br i1 %.not108, label %.loopexit, label %.preheader110

.preheader110:                                    ; preds = %.lr.ph144
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %119, i64 0
  %121 = load <2 x i32>, ptr %120, align 8, !tbaa !8
  %122 = sext <2 x i32> %121 to <2 x i64>
  %123 = load <2 x i64>, ptr @ans, align 16, !tbaa !14
  %124 = add nsw <2 x i64> %123, %122
  store <2 x i64> %124, ptr @ans, align 16, !tbaa !14
  %125 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %119, i64 2
  %126 = load <2 x i32>, ptr %125, align 8, !tbaa !8
  %127 = sext <2 x i32> %126 to <2 x i64>
  %128 = load <2 x i64>, ptr getelementptr inbounds (i8, ptr @ans, i64 16), align 16, !tbaa !14
  %129 = add nsw <2 x i64> %128, %127
  store <2 x i64> %129, ptr getelementptr inbounds (i8, ptr @ans, i64 16), align 16, !tbaa !14
  %130 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %119, i64 4
  %131 = load <2 x i32>, ptr %130, align 8, !tbaa !8
  %132 = sext <2 x i32> %131 to <2 x i64>
  %133 = load <2 x i64>, ptr getelementptr inbounds (i8, ptr @ans, i64 32), align 16, !tbaa !14
  %134 = add nsw <2 x i64> %133, %132
  store <2 x i64> %134, ptr getelementptr inbounds (i8, ptr @ans, i64 32), align 16, !tbaa !14
  %135 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %119, i64 6
  %136 = load <2 x i32>, ptr %135, align 8, !tbaa !8
  %137 = sext <2 x i32> %136 to <2 x i64>
  %138 = load <2 x i64>, ptr getelementptr inbounds (i8, ptr @ans, i64 48), align 16, !tbaa !14
  %139 = add nsw <2 x i64> %138, %137
  store <2 x i64> %139, ptr getelementptr inbounds (i8, ptr @ans, i64 48), align 16, !tbaa !14
  %140 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %119, i64 8
  %141 = load <2 x i32>, ptr %140, align 8, !tbaa !8
  %142 = sext <2 x i32> %141 to <2 x i64>
  %143 = load <2 x i64>, ptr getelementptr inbounds (i8, ptr @ans, i64 64), align 16, !tbaa !14
  %144 = add nsw <2 x i64> %143, %142
  store <2 x i64> %144, ptr getelementptr inbounds (i8, ptr @ans, i64 64), align 16, !tbaa !14
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader110, %.lr.ph144
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  %146 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  br i1 %146, label %.lr.ph144, label %._crit_edge145

147:                                              ; preds = %.lr.ph150
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef 0) #11
  %149 = load i32, ptr %148, align 4, !tbaa !8
  call void @_Z4dfs2ii(i32 noundef %149, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8192, ptr nonnull %13) #11
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(8192) %13, i8 0, i64 8192, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #11
  %150 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %150, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #11
  %151 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %151, ptr %15, align 8
  %152 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  br i1 %152, label %.lr.ph128, label %._crit_edge129

._crit_edge129.loopexit:                          ; preds = %._crit_edge
  %.pre187 = load i64, ptr %.phi.trans.insert, align 8, !tbaa !14
  %.pre189 = load i64, ptr %.phi.trans.insert188, align 16, !tbaa !14
  %.pre191 = load i64, ptr %.phi.trans.insert190, align 16, !tbaa !14
  %.pre193 = load i64, ptr %.phi.trans.insert192, align 16, !tbaa !14
  %.pre195 = load i64, ptr %.phi.trans.insert194, align 16, !tbaa !14
  %.pre197 = load i64, ptr %.phi.trans.insert196, align 16, !tbaa !14
  %.pre199 = load i64, ptr %.phi.trans.insert198, align 16, !tbaa !14
  %.pre201 = load i64, ptr %.phi.trans.insert200, align 16, !tbaa !14
  %.pre203 = load i64, ptr %.phi.trans.insert202, align 16, !tbaa !14
  %.pre205 = load i64, ptr %.phi.trans.insert204, align 16, !tbaa !14
  br label %._crit_edge129

._crit_edge129:                                   ; preds = %._crit_edge129.loopexit, %147
  %153 = phi i64 [ %.pre205, %._crit_edge129.loopexit ], [ 0, %147 ]
  %154 = phi i64 [ %.pre203, %._crit_edge129.loopexit ], [ 0, %147 ]
  %155 = phi i64 [ %.pre201, %._crit_edge129.loopexit ], [ 0, %147 ]
  %156 = phi i64 [ %.pre199, %._crit_edge129.loopexit ], [ 0, %147 ]
  %157 = phi i64 [ %.pre197, %._crit_edge129.loopexit ], [ 0, %147 ]
  %158 = phi i64 [ %.pre195, %._crit_edge129.loopexit ], [ 0, %147 ]
  %159 = phi i64 [ %.pre193, %._crit_edge129.loopexit ], [ 0, %147 ]
  %160 = phi i64 [ %.pre191, %._crit_edge129.loopexit ], [ 0, %147 ]
  %161 = phi i64 [ %.pre189, %._crit_edge129.loopexit ], [ 0, %147 ]
  %162 = phi i64 [ %.pre187, %._crit_edge129.loopexit ], [ 0, %147 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #11
  %ans.promoted = load i64, ptr @ans, align 16, !tbaa !14
  %163 = add nsw i64 %162, -1
  %164 = mul nsw i64 %163, %162
  %165 = add nsw i64 %164, %ans.promoted
  %166 = add nsw i64 %161, -1
  %167 = mul nsw i64 %166, %161
  %168 = add nsw i64 %167, %165
  %169 = add nsw i64 %160, -1
  %170 = mul nsw i64 %169, %160
  %171 = add nsw i64 %170, %168
  %172 = add nsw i64 %159, -1
  %173 = mul nsw i64 %172, %159
  %174 = add nsw i64 %173, %171
  %175 = add nsw i64 %158, -1
  %176 = mul nsw i64 %175, %158
  %177 = add nsw i64 %176, %174
  %178 = add nsw i64 %157, -1
  %179 = mul nsw i64 %178, %157
  %180 = add nsw i64 %179, %177
  %181 = add nsw i64 %156, -1
  %182 = mul nsw i64 %181, %156
  %183 = add nsw i64 %182, %180
  %184 = add nsw i64 %155, -1
  %185 = mul nsw i64 %184, %155
  %186 = add nsw i64 %185, %183
  %187 = add nsw i64 %154, -1
  %188 = mul nsw i64 %187, %154
  %189 = add nsw i64 %188, %186
  %190 = add nsw i64 %153, -1
  %191 = mul nsw i64 %190, %153
  %192 = add nsw i64 %191, %189
  store i64 %192, ptr @ans, align 16, !tbaa !14
  br label %.preheader112

.lr.ph128:                                        ; preds = %147, %._crit_edge
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #11
  %194 = load i32, ptr %193, align 4, !tbaa !8
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %195, i64 0
  %197 = load i32, ptr %196, align 8, !tbaa !8
  %.not107 = icmp ne i32 %197, 0
  %198 = zext i1 %.not107 to i32
  %199 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %195, i64 1
  %200 = load <8 x i32>, ptr %199, align 4, !tbaa !8
  %201 = icmp eq <8 x i32> %200, zeroinitializer
  %202 = select <8 x i1> %201, <8 x i32> zeroinitializer, <8 x i32> <i32 2, i32 4, i32 8, i32 16, i32 32, i32 64, i32 128, i32 256>
  %203 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %195, i64 9
  %204 = load i32, ptr %203, align 4, !tbaa !8
  %.not107.9 = icmp eq i32 %204, 0
  %205 = select i1 %.not107.9, i32 0, i32 512
  %206 = call i32 @llvm.vector.reduce.or.v8i32(<8 x i32> %202)
  %op.rdx = or disjoint i32 %206, %205
  %op.rdx224 = or disjoint i32 %op.rdx, %198
  %.not223 = icmp eq i32 %op.rdx224, 0
  br i1 %.not223, label %._crit_edge, label %.lr.ph126

.lr.ph126:                                        ; preds = %.lr.ph128, %.lr.ph126
  %.094125 = phi i32 [ %212, %.lr.ph126 ], [ %op.rdx224, %.lr.ph128 ]
  %207 = zext nneg i32 %.094125 to i64
  %208 = getelementptr inbounds [1024 x i64], ptr %13, i64 0, i64 %207
  %209 = load i64, ptr %208, align 8, !tbaa !14
  %210 = add nsw i64 %209, 1
  store i64 %210, ptr %208, align 8, !tbaa !14
  %211 = add nsw i32 %.094125, 1023
  %212 = and i32 %211, %op.rdx224
  %.not = icmp eq i32 %212, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph126, !llvm.loop !16

._crit_edge:                                      ; preds = %.lr.ph126, %.lr.ph128
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #11
  %214 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #11
  br i1 %214, label %.lr.ph128, label %._crit_edge129.loopexit

.preheader112:                                    ; preds = %._crit_edge129, %217
  %indvars.iv159 = phi i64 [ 1, %._crit_edge129 ], [ %indvars.iv.next160, %217 ]
  %215 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %indvars.iv159
  %216 = trunc nuw nsw i64 %indvars.iv159 to i32
  br label %218

217:                                              ; preds = %231
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %exitcond162.not = icmp eq i64 %indvars.iv.next160, 10
  br i1 %exitcond162.not, label %.preheader114, label %.preheader112, !llvm.loop !17

218:                                              ; preds = %.preheader112, %231
  %indvars.iv156 = phi i64 [ 1, %.preheader112 ], [ %indvars.iv.next157, %231 ]
  %219 = getelementptr inbounds [1024 x i64], ptr %13, i64 0, i64 %indvars.iv156
  %220 = load i64, ptr %219, align 8, !tbaa !14
  %.not105 = icmp eq i64 %220, 0
  br i1 %.not105, label %231, label %.sink.split

.sink.split:                                      ; preds = %218
  %221 = trunc nuw nsw i64 %indvars.iv156 to i32
  %222 = call range(i32 0, 11) i32 @llvm.ctpop.i32(i32 %221)
  %223 = call noundef i32 @_Z3cbsii(i32 noundef %221, i32 noundef %216)
  %224 = and i32 %222, 1
  %.not106 = icmp eq i32 %224, 0
  %225 = sext i32 %223 to i64
  %226 = getelementptr inbounds [1024 x i64], ptr %13, i64 0, i64 %225
  %227 = load i64, ptr %226, align 8, !tbaa !14
  %228 = mul nsw i64 %227, %220
  %229 = load i64, ptr %215, align 8, !tbaa !14
  %230 = sub i64 0, %228
  %.sink.p = select i1 %.not106, i64 %230, i64 %228
  %.sink = add i64 %229, %.sink.p
  store i64 %.sink, ptr %215, align 8, !tbaa !14
  br label %231

231:                                              ; preds = %.sink.split, %218
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next157, 1024
  br i1 %exitcond.not, label %217, label %218, !llvm.loop !18

232:                                              ; preds = %._crit_edge136
  call void @llvm.lifetime.end.p0(i64 8192, ptr nonnull %13) #11
  br label %315

.preheader114:                                    ; preds = %217, %._crit_edge136
  %indvars.iv167 = phi i64 [ %indvars.iv.next168, %._crit_edge136 ], [ 1, %217 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %233 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %233, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #11
  %234 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #11
  store ptr %234, ptr %17, align 8
  %235 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #11
  br i1 %235, label %.lr.ph135, label %._crit_edge136

.lr.ph135:                                        ; preds = %.preheader114
  %236 = getelementptr inbounds [10 x i64], ptr @ans, i64 0, i64 %indvars.iv167
  %237 = icmp ugt i64 %indvars.iv167, 8
  %238 = add nuw nsw i64 %indvars.iv167, 1
  %239 = icmp ugt i64 %indvars.iv167, 7
  %240 = add nuw nsw i64 %indvars.iv167, 2
  %241 = icmp ugt i64 %indvars.iv167, 6
  %242 = add nuw nsw i64 %indvars.iv167, 3
  %243 = icmp ugt i64 %indvars.iv167, 5
  %244 = add nuw nsw i64 %indvars.iv167, 4
  %245 = icmp ugt i64 %indvars.iv167, 4
  %246 = add nuw nsw i64 %indvars.iv167, 5
  %247 = icmp ugt i64 %indvars.iv167, 3
  %248 = add nuw nsw i64 %indvars.iv167, 6
  %249 = icmp ugt i64 %indvars.iv167, 2
  %250 = add nuw nsw i64 %indvars.iv167, 7
  %251 = icmp ugt i64 %indvars.iv167, 1
  %252 = add nuw nsw i64 %indvars.iv167, 8
  br label %253

._crit_edge136:                                   ; preds = %.loopexit111, %.preheader114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %exitcond170.not = icmp eq i64 %indvars.iv.next168, 10
  br i1 %exitcond170.not, label %232, label %.preheader114, !llvm.loop !19

253:                                              ; preds = %.lr.ph135, %.loopexit111
  %254 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #11
  %255 = load i32, ptr %254, align 4, !tbaa !8
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 0
  %258 = load i32, ptr %257, align 8, !tbaa !8
  %.not103 = icmp eq i32 %258, 0
  br i1 %.not103, label %265, label %259

259:                                              ; preds = %253
  %260 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %indvars.iv167
  %261 = load i32, ptr %260, align 4, !tbaa !8
  %.not104 = icmp eq i32 %261, 0
  br i1 %.not104, label %265, label %262

262:                                              ; preds = %310, %304, %298, %292, %286, %280, %274, %268, %259
  %263 = load i64, ptr %236, align 8, !tbaa !14
  %264 = add nsw i64 %263, -1
  store i64 %264, ptr %236, align 8, !tbaa !14
  br label %.loopexit111

265:                                              ; preds = %253, %259
  %266 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 1
  %267 = load i32, ptr %266, align 4, !tbaa !8
  %.not103.1 = icmp eq i32 %267, 0
  %brmerge = or i1 %.not103.1, %237
  br i1 %brmerge, label %271, label %268

268:                                              ; preds = %265
  %269 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %238
  %270 = load i32, ptr %269, align 4, !tbaa !8
  %.not104.1 = icmp eq i32 %270, 0
  br i1 %.not104.1, label %271, label %262

271:                                              ; preds = %265, %268
  %272 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 2
  %273 = load i32, ptr %272, align 8, !tbaa !8
  %.not103.2 = icmp eq i32 %273, 0
  %brmerge210 = or i1 %.not103.2, %239
  br i1 %brmerge210, label %277, label %274

274:                                              ; preds = %271
  %275 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %240
  %276 = load i32, ptr %275, align 4, !tbaa !8
  %.not104.2 = icmp eq i32 %276, 0
  br i1 %.not104.2, label %277, label %262

277:                                              ; preds = %271, %274
  %278 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 3
  %279 = load i32, ptr %278, align 4, !tbaa !8
  %.not103.3 = icmp eq i32 %279, 0
  %brmerge212 = or i1 %.not103.3, %241
  br i1 %brmerge212, label %283, label %280

280:                                              ; preds = %277
  %281 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %242
  %282 = load i32, ptr %281, align 4, !tbaa !8
  %.not104.3 = icmp eq i32 %282, 0
  br i1 %.not104.3, label %283, label %262

283:                                              ; preds = %277, %280
  %284 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 4
  %285 = load i32, ptr %284, align 8, !tbaa !8
  %.not103.4 = icmp eq i32 %285, 0
  %brmerge214 = or i1 %.not103.4, %243
  br i1 %brmerge214, label %289, label %286

286:                                              ; preds = %283
  %287 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %244
  %288 = load i32, ptr %287, align 4, !tbaa !8
  %.not104.4 = icmp eq i32 %288, 0
  br i1 %.not104.4, label %289, label %262

289:                                              ; preds = %283, %286
  %290 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 5
  %291 = load i32, ptr %290, align 4, !tbaa !8
  %.not103.5 = icmp eq i32 %291, 0
  %brmerge216 = or i1 %.not103.5, %245
  br i1 %brmerge216, label %295, label %292

292:                                              ; preds = %289
  %293 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %246
  %294 = load i32, ptr %293, align 4, !tbaa !8
  %.not104.5 = icmp eq i32 %294, 0
  br i1 %.not104.5, label %295, label %262

295:                                              ; preds = %289, %292
  %296 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 6
  %297 = load i32, ptr %296, align 8, !tbaa !8
  %.not103.6 = icmp eq i32 %297, 0
  %brmerge218 = or i1 %.not103.6, %247
  br i1 %brmerge218, label %301, label %298

298:                                              ; preds = %295
  %299 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %248
  %300 = load i32, ptr %299, align 4, !tbaa !8
  %.not104.6 = icmp eq i32 %300, 0
  br i1 %.not104.6, label %301, label %262

301:                                              ; preds = %295, %298
  %302 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 7
  %303 = load i32, ptr %302, align 4, !tbaa !8
  %.not103.7 = icmp eq i32 %303, 0
  %brmerge220 = or i1 %.not103.7, %249
  br i1 %brmerge220, label %307, label %304

304:                                              ; preds = %301
  %305 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %250
  %306 = load i32, ptr %305, align 4, !tbaa !8
  %.not104.7 = icmp eq i32 %306, 0
  br i1 %.not104.7, label %307, label %262

307:                                              ; preds = %301, %304
  %308 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 8
  %309 = load i32, ptr %308, align 8, !tbaa !8
  %.not103.8 = icmp eq i32 %309, 0
  %brmerge222 = or i1 %.not103.8, %251
  br i1 %brmerge222, label %.loopexit111, label %310

310:                                              ; preds = %307
  %311 = getelementptr inbounds [100100 x [10 x i32]], ptr @poss, i64 0, i64 %256, i64 %252
  %312 = load i32, ptr %311, align 4, !tbaa !8
  %.not104.8 = icmp eq i32 %312, 0
  br i1 %.not104.8, label %.loopexit111, label %262

.loopexit111:                                     ; preds = %310, %307, %262
  %313 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #11
  %314 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #11
  br i1 %314, label %253, label %._crit_edge136

315:                                              ; preds = %232, %._crit_edge148
  %indvars.iv.next180 = add nuw nsw i64 %indvars.iv179, 1
  %exitcond182.not = icmp eq i64 %indvars.iv.next180, %wide.trip.count
  br i1 %exitcond182.not, label %.preheader, label %.lr.ph150, !llvm.loop !20

316:                                              ; preds = %357, %352, %347, %342, %337, %332, %327, %322, %317, %.preheader
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.4, i32 noundef 181, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

317:                                              ; preds = %.preheader
  %318 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %63)
  %319 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %318, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %320 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 8), align 8, !tbaa !14
  %321 = icmp sgt i64 %320, -1
  br i1 %321, label %322, label %316

322:                                              ; preds = %317
  %323 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %320)
  %324 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %325 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 16), align 16, !tbaa !14
  %326 = icmp sgt i64 %325, -1
  br i1 %326, label %327, label %316

327:                                              ; preds = %322
  %328 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %325)
  %329 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %328, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %330 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 24), align 8, !tbaa !14
  %331 = icmp sgt i64 %330, -1
  br i1 %331, label %332, label %316

332:                                              ; preds = %327
  %333 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %330)
  %334 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %333, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %335 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 32), align 16, !tbaa !14
  %336 = icmp sgt i64 %335, -1
  br i1 %336, label %337, label %316

337:                                              ; preds = %332
  %338 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %335)
  %339 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %338, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %340 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 40), align 8, !tbaa !14
  %341 = icmp sgt i64 %340, -1
  br i1 %341, label %342, label %316

342:                                              ; preds = %337
  %343 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %340)
  %344 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %343, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %345 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 48), align 16, !tbaa !14
  %346 = icmp sgt i64 %345, -1
  br i1 %346, label %347, label %316

347:                                              ; preds = %342
  %348 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %345)
  %349 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %348, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %350 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 56), align 8, !tbaa !14
  %351 = icmp sgt i64 %350, -1
  br i1 %351, label %352, label %316

352:                                              ; preds = %347
  %353 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %350)
  %354 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %353, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %355 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 64), align 16, !tbaa !14
  %356 = icmp sgt i64 %355, -1
  br i1 %356, label %357, label %316

357:                                              ; preds = %352
  %358 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %355)
  %359 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %358, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %360 = load i64, ptr getelementptr inbounds (i8, ptr @ans, i64 72), align 8, !tbaa !14
  %361 = icmp sgt i64 %360, -1
  br i1 %361, label %362, label %316

362:                                              ; preds = %357
  %363 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %360)
  %364 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %363, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0
}

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

; 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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) 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 nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.or.v8i32(<8 x i32>) #10

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !10, i64 0}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


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