; LLVM IR from kazunetakahashi/atcoder :: 2018/0211_rco-contest-2018-qual (A)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.1" = type { i32 }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::tuple.6" = type { %"struct.std::_Tuple_impl.base", [4 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.8", %"struct.std::_Head_base.1" }>
%"struct.std::_Tuple_impl.8" = type { %"struct.std::_Tuple_impl.9", %"struct.std::_Head_base.11" }
%"struct.std::_Tuple_impl.9" = type { %"struct.std::_Head_base.10" }
%"struct.std::_Head_base.10" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Head_base.11" = type { %"class.std::vector" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::random_device" = type { %union.anon.2 }
%union.anon.2 = type { %"class.std::mersenne_twister_engine" }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.27" = type { i8 }
%"class.std::chrono::duration.30" = type { i64 }
%"class.__gnu_cxx::__normal_iterator.31" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.32" = type { ptr }

@N = external dso_local global i32, align 4
@K = external dso_local global i32, align 4
@H = external dso_local global i32, align 4
@W = external dso_local global i32, align 4
@T = external dso_local global i32, align 4
@_Z1MB5cxx11 = external dso_local global [100 x [50 x %"class.std::__cxx11::basic_string"]], align 16
@start = external dso_local global [100 x %"class.std::tuple"], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000), i64 noundef) unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000)) #0 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::chrono::time_point", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::tuple", align 4
  %10 = alloca %"class.std::random_device", align 8
  %11 = alloca %"class.std::vector.18", align 8
  %12 = alloca %"class.std::vector.18", align 8
  %13 = alloca %"class.std::mersenne_twister_engine", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::chrono::time_point", align 8
  %17 = alloca %"class.std::vector.23", align 8
  %18 = alloca i8, align 1
  %19 = alloca %"class.std::allocator.27", align 1
  %20 = alloca %"class.std::chrono::time_point", align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.std::chrono::duration.30", align 8
  %23 = alloca %"class.std::chrono::duration", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca %"class.std::vector", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::tuple.6", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca i32, align 4
  %35 = alloca %"struct.std::_Bit_reference", align 8
  %36 = alloca %"struct.std::_Bit_reference", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %41 = alloca i32, align 4
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %46 = alloca i32, align 4
  %47 = alloca %"class.std::tuple.6", align 8
  %48 = alloca %"class.std::tuple.6", align 8
  %49 = alloca %"class.std::tuple.6", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #9
  %50 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #9
  %51 = getelementptr inbounds %"class.std::chrono::time_point", ptr %2, i32 0, i32 0
  %52 = getelementptr inbounds %"class.std::chrono::duration", ptr %51, i32 0, i32 0
  store i64 %50, ptr %52, align 8
  %53 = 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)
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 4 dereferenceable(4) @K)
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 4 dereferenceable(4) @H)
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 4 dereferenceable(4) @W)
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 4 dereferenceable(4) @T)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #9
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %124, %0
  %59 = load i32, ptr %3, align 4, !tbaa !5
  %60 = load i32, ptr @N, align 4, !tbaa !5
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %63, label %62

62:                                               ; preds = %58
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #9
  br label %127

63:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %77, %63
  %65 = load i32, ptr %5, align 4, !tbaa !5
  %66 = load i32, ptr @H, align 4, !tbaa !5
  %67 = icmp slt i32 %65, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %64
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %80

69:                                               ; preds = %64
  %70 = load i32, ptr %3, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [100 x [50 x %"class.std::__cxx11::basic_string"]], ptr @_Z1MB5cxx11, i64 0, i64 %71
  %73 = load i32, ptr %5, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [50 x %"class.std::__cxx11::basic_string"], ptr %72, i64 0, i64 %74
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %75)
  br label %77

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

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

81:                                               ; preds = %120, %80
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = load i32, ptr @H, align 4, !tbaa !5
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %86, label %85

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

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

87:                                               ; preds = %115, %86
  %88 = load i32, ptr %8, align 4, !tbaa !5
  %89 = load i32, ptr @W, align 4, !tbaa !5
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %87
  store i32 11, ptr %4, align 4
  br label %118

92:                                               ; preds = %87
  %93 = load i32, ptr %3, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [100 x [50 x %"class.std::__cxx11::basic_string"]], ptr @_Z1MB5cxx11, i64 0, i64 %94
  %96 = load i32, ptr %7, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [50 x %"class.std::__cxx11::basic_string"], ptr %95, i64 0, i64 %97
  %99 = load i32, ptr %8, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %98, i64 noundef %100)
  %102 = load i8, ptr %101, align 1, !tbaa !13
  %103 = sext i8 %102 to i32
  %104 = icmp eq i32 %103, 64
  br i1 %104, label %105, label %110

105:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  call void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 4 %9, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %106 = load i32, ptr %3, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [100 x %"class.std::tuple"], ptr @start, i64 0, i64 %107
  %109 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5tupleIJiiEEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %108, ptr noundef nonnull align 4 dereferenceable(8) %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  store i8 1, ptr %6, align 1, !tbaa !11
  store i32 11, ptr %4, align 4
  br label %118

110:                                              ; preds = %92
  %111 = load i8, ptr %6, align 1, !tbaa !11, !range !14, !noundef !15
  %112 = trunc i8 %111 to i1
  br i1 %112, label %113, label %114

113:                                              ; preds = %110
  store i32 11, ptr %4, align 4
  br label %118

114:                                              ; preds = %110
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %8, align 4, !tbaa !5
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %8, align 4, !tbaa !5
  br label %87, !llvm.loop !16

118:                                              ; preds = %113, %105, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %7, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %7, align 4, !tbaa !5
  br label %81, !llvm.loop !17

123:                                              ; preds = %85
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #9
  br label %124

124:                                              ; preds = %123
  %125 = load i32, ptr %3, align 4, !tbaa !5
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %3, align 4, !tbaa !5
  br label %58, !llvm.loop !18

127:                                              ; preds = %62
  call void @llvm.lifetime.start.p0(i64 5000, ptr %10) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %10)
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #9
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #9
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr %13) #9
  %128 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %10)
          to label %129 unwind label %182

129:                                              ; preds = %127
  %130 = zext i32 %128 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %13, i64 noundef %130)
          to label %131 unwind label %182

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %132 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #9
  %133 = getelementptr inbounds %"class.std::chrono::time_point", ptr %16, i32 0, i32 0
  %134 = getelementptr inbounds %"class.std::chrono::duration", ptr %133, i32 0, i32 0
  store i64 %132, ptr %134, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #9
  store i8 0, ptr %18, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #9
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %17, i64 noundef 10000, ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %135 unwind label %186

135:                                              ; preds = %131
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  br label %136

136:                                              ; preds = %396, %135
  br label %137

137:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %138 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #9
  %139 = getelementptr inbounds %"class.std::chrono::time_point", ptr %20, i32 0, i32 0
  %140 = getelementptr inbounds %"class.std::chrono::duration", ptr %139, i32 0, i32 0
  store i64 %138, ptr %140, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %20, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %141 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %142 unwind label %190

142:                                              ; preds = %137
  %143 = getelementptr inbounds %"class.std::chrono::duration", ptr %23, i32 0, i32 0
  store i64 %141, ptr %143, align 8
  %144 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %145 unwind label %190

145:                                              ; preds = %142
  %146 = getelementptr inbounds %"class.std::chrono::duration.30", ptr %22, i32 0, i32 0
  store i64 %144, ptr %146, align 8
  %147 = invoke noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %148 unwind label %190

148:                                              ; preds = %145
  %149 = sitofp i64 %147 to double
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  store double %149, ptr %21, align 8, !tbaa !22
  %150 = load double, ptr %21, align 8, !tbaa !22
  %151 = fcmp ogt double %150, 3.950000e+03
  br i1 %151, label %152, label %212

152:                                              ; preds = %148
  %153 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %154 unwind label %194

154:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %155 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %156 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %25, i32 0, i32 0
  store ptr %155, ptr %156, align 8
  %157 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %158 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %26, i32 0, i32 0
  store ptr %157, ptr %158, align 8
  %159 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %25, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8
  %161 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %26, i32 0, i32 0
  %162 = load ptr, ptr %161, align 8
  %163 = invoke ptr @_ZSt11max_elementIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES5_EES3_IS6_SaIS6_EEEEET_SB_SB_(ptr %160, ptr %162)
          to label %164 unwind label %198

164:                                              ; preds = %154
  %165 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %24, i32 0, i32 0
  store ptr %163, ptr %165, align 8
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.9)
          to label %167 unwind label %198

167:                                              ; preds = %164
  %168 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %168) #9
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %166, i32 noundef %170)
          to label %172 unwind label %198

172:                                              ; preds = %167
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %174 unwind label %198

174:                                              ; preds = %172
  %175 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  %176 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %175) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %176)
          to label %177 unwind label %198

177:                                              ; preds = %174
  %178 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  %179 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm2EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %178) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %179)
          to label %180 unwind label %202

180:                                              ; preds = %177
  invoke void @_Z5flushSt6vectorIiSaIiEES1_(ptr noundef %27, ptr noundef %28)
          to label %181 unwind label %206

181:                                              ; preds = %180
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %394

182:                                              ; preds = %129, %127
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %14, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %15, align 4
  br label %401

186:                                              ; preds = %131
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %14, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  br label %400

190:                                              ; preds = %145, %142, %137
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %14, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %397

194:                                              ; preds = %152
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %14, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %15, align 4
  br label %397

198:                                              ; preds = %174, %172, %167, %164, %154
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %14, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %15, align 4
  br label %211

202:                                              ; preds = %177
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %14, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %15, align 4
  br label %210

206:                                              ; preds = %180
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %14, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %15, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #9
  br label %210

210:                                              ; preds = %206, %202
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  br label %211

211:                                              ; preds = %210, %198
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %397

212:                                              ; preds = %148
  %213 = load double, ptr %21, align 8, !tbaa !22
  %214 = fcmp olt double %213, 3.000000e+02
  br i1 %214, label %215, label %256

215:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  store i32 0, ptr %30, align 4, !tbaa !5
  br label %216

216:                                              ; preds = %226, %215
  %217 = load i32, ptr %30, align 4, !tbaa !5
  %218 = icmp slt i32 %217, 100
  br i1 %218, label %220, label %219

219:                                              ; preds = %216
  store i32 16, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %233

220:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %221 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %13)
          to label %222 unwind label %229

222:                                              ; preds = %220
  %223 = urem i64 %221, 4
  %224 = trunc i64 %223 to i32
  store i32 %224, ptr %31, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %225 unwind label %229

225:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  br label %226

226:                                              ; preds = %225
  %227 = load i32, ptr %30, align 4, !tbaa !5
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %30, align 4, !tbaa !5
  br label %216, !llvm.loop !24

229:                                              ; preds = %222, %220
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %14, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %255

233:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 56, ptr %32) #9
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %234 unwind label %241

234:                                              ; preds = %233
  invoke void @_Z10make_stateSt6vectorIiSaIiEE(ptr dead_on_unwind writable sret(%"class.std::tuple.6") align 8 %32, ptr noundef %33)
          to label %235 unwind label %245

235:                                              ; preds = %234
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %32) #9
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %238 = icmp sgt i32 %237, 0
  br i1 %238, label %239, label %253

239:                                              ; preds = %235
  invoke void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(52) %32)
          to label %240 unwind label %249

240:                                              ; preds = %239
  br label %253

241:                                              ; preds = %233
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %14, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %15, align 4
  br label %254

245:                                              ; preds = %234
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %14, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %15, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  br label %254

249:                                              ; preds = %239
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %14, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %15, align 4
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %32) #9
  br label %254

253:                                              ; preds = %240, %235
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %32) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #9
  br label %392

254:                                              ; preds = %249, %245, %241
  call void @llvm.lifetime.end.p0(i64 56, ptr %32) #9
  br label %255

255:                                              ; preds = %254, %229
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #9
  br label %397

256:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %257 = load double, ptr %21, align 8, !tbaa !22
  %258 = fsub double %257, 3.000000e+02
  %259 = fdiv double %258, 2.000000e+01
  %260 = fptosi double %259 to i32
  store i32 %260, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #9
  %261 = load i32, ptr %34, align 4, !tbaa !5
  %262 = sext i32 %261 to i64
  %263 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %17, i64 noundef %262)
          to label %264 unwind label %332

264:                                              ; preds = %256
  %265 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %266 = extractvalue { ptr, i64 } %263, 0
  store ptr %266, ptr %265, align 8
  %267 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %268 = extractvalue { ptr, i64 } %263, 1
  store i64 %268, ptr %267, align 8
  %269 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %35) #9
  %270 = xor i1 %269, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #9
  br i1 %270, label %271, label %355

271:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #9
  %272 = load i32, ptr %34, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %17, i64 noundef %273)
          to label %275 unwind label %336

275:                                              ; preds = %271
  %276 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %277 = extractvalue { ptr, i64 } %274, 0
  store ptr %277, ptr %276, align 8
  %278 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %279 = extractvalue { ptr, i64 } %274, 1
  store i64 %279, ptr %278, align 8
  %280 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %36, i1 noundef zeroext true) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #9
  %281 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  %282 = trunc i64 %281 to i32
  %283 = icmp sge i32 %282, 10
  br i1 %283, label %284, label %354

284:                                              ; preds = %275
  %285 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %286 unwind label %340

286:                                              ; preds = %284
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  %287 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %288 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %37, i32 0, i32 0
  store ptr %287, ptr %288, align 8
  %289 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %290 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %38, i32 0, i32 0
  store ptr %289, ptr %290, align 8
  %291 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %37, i32 0, i32 0
  %292 = load ptr, ptr %291, align 8
  %293 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %38, i32 0, i32 0
  %294 = load ptr, ptr %293, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES5_EES3_IS6_SaIS6_EEEEEvT_SB_(ptr %292, ptr %294)
          to label %295 unwind label %340

295:                                              ; preds = %286
  %296 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %297 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %39, i32 0, i32 0
  store ptr %296, ptr %297, align 8
  %298 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %299 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %40, i32 0, i32 0
  store ptr %298, ptr %299, align 8
  %300 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %39, i32 0, i32 0
  %301 = load ptr, ptr %300, align 8
  %302 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %40, i32 0, i32 0
  %303 = load ptr, ptr %302, align 8
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES5_EES3_IS6_SaIS6_EEEEEvT_SB_(ptr %301, ptr %303)
          to label %304 unwind label %340

304:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %305 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %306 = udiv i64 %305, 4
  %307 = trunc i64 %306 to i32
  store i32 %307, ptr %41, align 4, !tbaa !5
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.10)
          to label %309 unwind label %344

309:                                              ; preds = %304
  %310 = load i32, ptr %41, align 4, !tbaa !5
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %308, i32 noundef %310)
          to label %312 unwind label %344

312:                                              ; preds = %309
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %311, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %314 unwind label %344

314:                                              ; preds = %312
  br label %315

315:                                              ; preds = %330, %314
  %316 = load i32, ptr %41, align 4, !tbaa !5
  %317 = zext i32 %316 to i64
  %318 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %319 = icmp ult i64 %317, %318
  br i1 %319, label %320, label %352

320:                                              ; preds = %315
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  %321 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %322 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %44, i32 0, i32 0
  store ptr %321, ptr %322, align 8
  %323 = load i32, ptr %41, align 4, !tbaa !5
  %324 = zext i32 %323 to i64
  %325 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %44, i64 noundef %324) #9
  %326 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %43, i32 0, i32 0
  store ptr %325, ptr %326, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #9
  %327 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.32", ptr %42, i32 0, i32 0
  %328 = load ptr, ptr %327, align 8
  %329 = invoke ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS3_S5_EE(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %328)
          to label %330 unwind label %348

330:                                              ; preds = %320
  %331 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %45, i32 0, i32 0
  store ptr %329, ptr %331, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  br label %315, !llvm.loop !25

332:                                              ; preds = %256
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %14, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #9
  br label %391

336:                                              ; preds = %271
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %14, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #9
  br label %391

340:                                              ; preds = %295, %286, %284
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %14, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %15, align 4
  br label %391

344:                                              ; preds = %312, %309, %304
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %14, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %15, align 4
  br label %353

348:                                              ; preds = %320
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %14, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  br label %353

352:                                              ; preds = %315
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %354

353:                                              ; preds = %348, %344
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %391

354:                                              ; preds = %352, %275
  br label %355

355:                                              ; preds = %354, %264
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  %356 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %357 = trunc i64 %356 to i32
  store i32 %357, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr %47) #9
  %358 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %13)
          to label %359 unwind label %372

359:                                              ; preds = %355
  %360 = load i32, ptr %46, align 4, !tbaa !5
  %361 = sext i32 %360 to i64
  %362 = urem i64 %358, %361
  %363 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %362) #9
  invoke void @_ZNSt5tupleIJiSt6vectorIiSaIiEES2_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(52) %47, ptr noundef nonnull align 8 dereferenceable(52) %363)
          to label %364 unwind label %372

364:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 56, ptr %48) #9
  invoke void @_ZNSt5tupleIJiSt6vectorIiSaIiEES2_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(52) %49, ptr noundef nonnull align 8 dereferenceable(52) %47)
          to label %365 unwind label %376

365:                                              ; preds = %364
  invoke void @_Z17make_state_longerSt5tupleIJiSt6vectorIiSaIiEES2_EEi(ptr dead_on_unwind writable sret(%"class.std::tuple.6") align 8 %48, ptr noundef %49, i32 noundef 12)
          to label %366 unwind label %380

366:                                              ; preds = %365
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %49) #9
  %367 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %48) #9
  %368 = load i32, ptr %367, align 4, !tbaa !5
  %369 = icmp sgt i32 %368, 0
  br i1 %369, label %370, label %388

370:                                              ; preds = %366
  invoke void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(52) %48)
          to label %371 unwind label %384

371:                                              ; preds = %370
  br label %388

372:                                              ; preds = %359, %355
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %14, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %15, align 4
  br label %390

376:                                              ; preds = %364
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %14, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %15, align 4
  br label %389

380:                                              ; preds = %365
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %14, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %15, align 4
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %49) #9
  br label %389

384:                                              ; preds = %370
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %14, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %15, align 4
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %48) #9
  br label %389

388:                                              ; preds = %371, %366
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %48) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %48) #9
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %47) #9
  call void @llvm.lifetime.end.p0(i64 56, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %392

389:                                              ; preds = %384, %380, %376
  call void @llvm.lifetime.end.p0(i64 56, ptr %48) #9
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %47) #9
  br label %390

390:                                              ; preds = %389, %372
  call void @llvm.lifetime.end.p0(i64 56, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  br label %391

391:                                              ; preds = %390, %353, %340, %336, %332
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %397

392:                                              ; preds = %388, %253
  br label %393

393:                                              ; preds = %392
  store i32 0, ptr %4, align 4
  br label %394

394:                                              ; preds = %393, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  %395 = load i32, ptr %4, align 4
  switch i32 %395, label %398 [
    i32 0, label %396
  ]

396:                                              ; preds = %394
  br label %136, !llvm.loop !26

397:                                              ; preds = %391, %255, %211, %194, %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #9
  br label %400

398:                                              ; preds = %394
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %13) #9
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %10) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  %399 = load i32, ptr %1, align 4
  ret i32 %399

400:                                              ; preds = %397, %186
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %401

401:                                              ; preds = %400, %182
  call void @llvm.lifetime.end.p0(i64 5000, ptr %13) #9
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %10) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  br label %402

402:                                              ; preds = %401
  %403 = load ptr, ptr %14, align 8
  %404 = load i32, ptr %15, align 4
  %405 = insertvalue { ptr, i32 } poison, ptr %403, 0
  %406 = insertvalue { ptr, i32 } %405, i32 %404, 1
  resume { ptr, i32 } %406
}

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() #6

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8)) #0

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5tupleIJiSt6vectorIiSaIiEES2_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #0 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = !{i64 0, i64 8, !20}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !7, i64 0}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { i32 }
%"struct.std::_Head_base.1" = type { i32 }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::tuple.6" = type { %"struct.std::_Tuple_impl.base", [4 x i8] }
%"struct.std::_Tuple_impl.base" = type <{ %"struct.std::_Tuple_impl.8", %"struct.std::_Head_base.1" }>
%"struct.std::_Tuple_impl.8" = type { %"struct.std::_Tuple_impl.9", %"struct.std::_Head_base.11" }
%"struct.std::_Tuple_impl.9" = type { %"struct.std::_Head_base.10" }
%"struct.std::_Head_base.10" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Head_base.11" = type { %"class.std::vector" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::random_device" = type { %union.anon.2 }
%union.anon.2 = type { %"class.std::mersenne_twister_engine" }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, std::vector<int>, std::vector<int>>, std::allocator<std::tuple<int, std::vector<int>, std::vector<int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.27" = type { i8 }
%"class.std::chrono::duration.30" = type { i64 }
%"class.__gnu_cxx::__normal_iterator.31" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.32" = type { ptr }

@N = external dso_local global i32, align 4
@K = external dso_local global i32, align 4
@H = external dso_local global i32, align 4
@W = external dso_local global i32, align 4
@T = external dso_local global i32, align 4
@_Z1MB5cxx11 = external dso_local global [100 x [50 x %"class.std::__cxx11::basic_string"]], align 16
@start = external dso_local global [100 x %"class.std::tuple"], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.9 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000), i64 noundef) unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5flushSt6vectorIiSaIiEES1_(ptr noundef, ptr noundef) local_unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::chrono::time_point", align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::tuple", align 4
  %5 = alloca %"class.std::random_device", align 8
  %6 = alloca %"class.std::vector.18", align 8
  %7 = alloca %"class.std::vector.18", align 8
  %8 = alloca %"class.std::mersenne_twister_engine", align 8
  %9 = alloca %"class.std::chrono::time_point", align 8
  %10 = alloca %"class.std::vector.23", align 8
  %11 = alloca i8, align 1
  %12 = alloca %"class.std::allocator.27", align 1
  %13 = alloca %"class.std::chrono::duration.30", align 8
  %14 = alloca %"class.std::chrono::duration", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::tuple.6", align 8
  %21 = alloca %"class.std::vector", align 8
  %22 = alloca %"struct.std::_Bit_reference", align 8
  %23 = alloca %"struct.std::_Bit_reference", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.32", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %27 = alloca %"class.std::tuple.6", align 8
  %28 = alloca %"class.std::tuple.6", align 8
  %29 = alloca %"class.std::tuple.6", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  %30 = tail call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %30, ptr %1, align 8
  %31 = 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)
  %32 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(4) @K)
  %33 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(4) @H)
  %34 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) @W)
  %35 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(4) @T)
  %36 = load i32, ptr @N, align 4, !tbaa !5
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.preheader70.preheader, label %._crit_edge81

.preheader70.preheader:                           ; preds = %0
  %.pre = load i32, ptr @H, align 4, !tbaa !5
  br label %.preheader70

.preheader70:                                     ; preds = %.preheader70.preheader, %._crit_edge79
  %38 = phi i32 [ %.pre, %.preheader70.preheader ], [ %50, %._crit_edge79 ]
  %indvars.iv86 = phi i64 [ 0, %.preheader70.preheader ], [ %indvars.iv.next87, %._crit_edge79 ]
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %.preheader70
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  br label %._crit_edge79

._crit_edge81:                                    ; preds = %._crit_edge79, %0
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %5) #8
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %5)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %8) #8
  %40 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %5)
          to label %79 unwind label %116

._crit_edge:                                      ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  store i32 0, ptr %2, align 4, !tbaa !5
  %41 = icmp sgt i32 %47, 0
  br i1 %41, label %.lr.ph78, label %._crit_edge79

.lr.ph78:                                         ; preds = %._crit_edge
  %42 = getelementptr inbounds [100 x %"class.std::tuple"], ptr @start, i64 0, i64 %indvars.iv86
  %43 = load i32, ptr @W, align 4, !tbaa !5
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %.lr.ph78.split, label %._crit_edge79

.lr.ph:                                           ; preds = %.preheader70, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader70 ]
  %45 = getelementptr inbounds [100 x [50 x %"class.std::__cxx11::basic_string"]], ptr @_Z1MB5cxx11, i64 0, i64 %indvars.iv86, i64 %indvars.iv
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %45)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %47 = load i32, ptr @H, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = icmp slt i64 %indvars.iv.next, %48
  br i1 %49, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge79:                                    ; preds = %.loopexit69, %.lr.ph78, %._crit_edge.thread, %._crit_edge
  %50 = phi i32 [ %47, %._crit_edge ], [ %38, %._crit_edge.thread ], [ %47, %.lr.ph78 ], [ %77, %.loopexit69 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  %indvars.iv.next87 = add nuw nsw i64 %indvars.iv86, 1
  %51 = load i32, ptr @N, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = icmp slt i64 %indvars.iv.next87, %52
  br i1 %53, label %.preheader70, label %._crit_edge81, !llvm.loop !11

.lr.ph78.splitthread-pre-split:                   ; preds = %.loopexit69
  %.pr = load i32, ptr @W, align 4, !tbaa !5
  br label %.lr.ph78.split

.lr.ph78.split:                                   ; preds = %.lr.ph78, %.lr.ph78.splitthread-pre-split
  %54 = phi i32 [ %.pr, %.lr.ph78.splitthread-pre-split ], [ %43, %.lr.ph78 ]
  %55 = phi i32 [ %76, %.lr.ph78.splitthread-pre-split ], [ 0, %.lr.ph78 ]
  %.03376 = phi i1 [ %.134, %.lr.ph78.splitthread-pre-split ], [ false, %.lr.ph78 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 0, ptr %3, align 4, !tbaa !5
  %56 = icmp sgt i32 %54, 0
  br i1 %56, label %.lr.ph74, label %.loopexit69

.lr.ph74:                                         ; preds = %.lr.ph78.split
  br i1 %.03376, label %.lr.ph74.split.us, label %.lr.ph74.split

.lr.ph74.split.us:                                ; preds = %.lr.ph74
  %57 = sext i32 %55 to i64
  %58 = getelementptr inbounds [100 x [50 x %"class.std::__cxx11::basic_string"]], ptr @_Z1MB5cxx11, i64 0, i64 %indvars.iv86, i64 %57
  %59 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %58, i64 noundef 0)
  %60 = load i8, ptr %59, align 1, !tbaa !12
  %61 = icmp eq i8 %60, 64
  br i1 %61, label %.split.us, label %.loopexit69

.lr.ph74.split:                                   ; preds = %.lr.ph74, %70
  %storemerge6772 = phi i32 [ %72, %70 ], [ 0, %.lr.ph74 ]
  %62 = load i32, ptr %2, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [100 x [50 x %"class.std::__cxx11::basic_string"]], ptr @_Z1MB5cxx11, i64 0, i64 %indvars.iv86, i64 %63
  %65 = sext i32 %storemerge6772 to i64
  %66 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %64, i64 noundef %65)
  %67 = load i8, ptr %66, align 1, !tbaa !12
  %68 = icmp eq i8 %67, 64
  br i1 %68, label %.split.us, label %70

.split.us:                                        ; preds = %.lr.ph74.split, %.lr.ph74.split.us
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  call void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 4 %4, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %69 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5tupleIJiiEEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %42, ptr noundef nonnull align 4 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %.loopexit69

70:                                               ; preds = %.lr.ph74.split
  %71 = load i32, ptr %3, align 4, !tbaa !5
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %3, align 4, !tbaa !5
  %73 = load i32, ptr @W, align 4, !tbaa !5
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %.lr.ph74.split, label %.loopexit69, !llvm.loop !13

.loopexit69:                                      ; preds = %70, %.lr.ph78.split, %.lr.ph74.split.us, %.split.us
  %.134 = phi i1 [ true, %.split.us ], [ true, %.lr.ph74.split.us ], [ %.03376, %.lr.ph78.split ], [ false, %70 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %2, align 4, !tbaa !5
  %77 = load i32, ptr @H, align 4, !tbaa !5
  %78 = icmp slt i32 %76, %77
  br i1 %78, label %.lr.ph78.splitthread-pre-split, label %._crit_edge79, !llvm.loop !14

79:                                               ; preds = %._crit_edge81
  %80 = zext i32 %40 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %8, i64 noundef %80)
          to label %81 unwind label %116

81:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %82 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %82, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  store i8 0, ptr %11, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %10, i64 noundef 10000, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %.split84 unwind label %118

.split84:                                         ; preds = %81
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  %83 = getelementptr inbounds i8, ptr %22, i64 8
  %84 = getelementptr inbounds i8, ptr %23, i64 8
  br label %85

85:                                               ; preds = %.backedge, %.split84
  %86 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %86, ptr %9, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %87 = invoke i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %88 unwind label %120

88:                                               ; preds = %85
  store i64 %87, ptr %14, align 8
  %89 = invoke i64 @_ZNSt6chrono13duration_castINS_8durationIlSt5ratioILl1ELl1000EEEElS2_ILl1ELl1000000000EEEENSt9enable_ifIXsr13__is_durationIT_EE5valueES7_E4typeERKNS1_IT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %90 unwind label %120

90:                                               ; preds = %88
  store i64 %89, ptr %13, align 8
  %91 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
  %92 = sitofp i64 %91 to double
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %93 = icmp slt i64 %91, 3951
  br i1 %93, label %132, label %94

94:                                               ; preds = %90
  %95 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %96 unwind label %122

96:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %97 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %98 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %99 = invoke ptr @_ZSt11max_elementIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES5_EES3_IS6_SaIS6_EEEEET_SB_SB_(ptr %97, ptr %98)
          to label %100 unwind label %124

100:                                              ; preds = %96
  store ptr %99, ptr %15, align 8
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.9)
          to label %102 unwind label %124

102:                                              ; preds = %100
  %103 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %103) #8
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %101, i32 noundef %105)
          to label %107 unwind label %124

107:                                              ; preds = %102
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %106, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %109 unwind label %124

109:                                              ; preds = %107
  %110 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %111 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm1EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %110) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %111)
          to label %112 unwind label %124

112:                                              ; preds = %109
  %113 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZSt3getILm2EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %113) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %114)
          to label %115 unwind label %126

115:                                              ; preds = %112
  invoke void @_Z5flushSt6vectorIiSaIiEES1_(ptr noundef nonnull %16, ptr noundef nonnull %17)
          to label %.thread unwind label %128

.thread:                                          ; preds = %115
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %8) #8
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %5) #8
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  ret i32 0

116:                                              ; preds = %79, %._crit_edge81
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %242

118:                                              ; preds = %81
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  br label %241

120:                                              ; preds = %88, %85
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %240

122:                                              ; preds = %94
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %240

124:                                              ; preds = %109, %107, %102, %100, %96
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %131

126:                                              ; preds = %112
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %130

128:                                              ; preds = %115
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  br label %130

130:                                              ; preds = %128, %126
  %.pn61 = phi { ptr, i32 } [ %129, %128 ], [ %127, %126 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %131

131:                                              ; preds = %130, %124
  %.pn61.pn = phi { ptr, i32 } [ %.pn61, %130 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %240

132:                                              ; preds = %90
  %133 = icmp slt i64 %91, 300
  br i1 %133, label %134, label %160

134:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  br label %136

135:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %20) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %145 unwind label %151

136:                                              ; preds = %134, %141
  %.04883 = phi i32 [ 0, %134 ], [ %142, %141 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  %137 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %8)
          to label %138 unwind label %143

138:                                              ; preds = %136
  %139 = trunc i64 %137 to i32
  %140 = and i32 %139, 3
  store i32 %140, ptr %19, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %141 unwind label %143

141:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  %142 = add nuw nsw i32 %.04883, 1
  %exitcond.not = icmp eq i32 %142, 100
  br i1 %exitcond.not, label %135, label %136, !llvm.loop !20

143:                                              ; preds = %138, %136
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  br label %159

145:                                              ; preds = %135
  invoke void @_Z10make_stateSt6vectorIiSaIiEE(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.6") align 8 %20, ptr noundef nonnull %21)
          to label %146 unwind label %153

146:                                              ; preds = %145
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %20) #8
  %148 = load i32, ptr %147, align 4, !tbaa !5
  %149 = icmp sgt i32 %148, 0
  br i1 %149, label %150, label %157

150:                                              ; preds = %146
  invoke void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(52) %20)
          to label %157 unwind label %155

151:                                              ; preds = %135
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %158

153:                                              ; preds = %145
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  br label %158

155:                                              ; preds = %150
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %20) #8
  br label %158

157:                                              ; preds = %150, %146
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %20) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  br label %.backedge

158:                                              ; preds = %155, %153, %151
  %.pn57 = phi { ptr, i32 } [ %156, %155 ], [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #8
  br label %159

159:                                              ; preds = %158, %143
  %.pn59 = phi { ptr, i32 } [ %144, %143 ], [ %.pn57, %158 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  br label %240

160:                                              ; preds = %132
  %161 = fadd double %92, -3.000000e+02
  %162 = fdiv double %161, 2.000000e+01
  %163 = fptosi double %162 to i32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #8
  %164 = sext i32 %163 to i64
  %165 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %10, i64 noundef %164)
          to label %166 unwind label %206

166:                                              ; preds = %160
  %167 = extractvalue { ptr, i64 } %165, 0
  store ptr %167, ptr %22, align 8
  %168 = extractvalue { ptr, i64 } %165, 1
  store i64 %168, ptr %83, align 8
  %169 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  br i1 %169, label %.loopexit, label %170

170:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #8
  %171 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %10, i64 noundef %164)
          to label %172 unwind label %208

172:                                              ; preds = %170
  %173 = extractvalue { ptr, i64 } %171, 0
  store ptr %173, ptr %23, align 8
  %174 = extractvalue { ptr, i64 } %171, 1
  store i64 %174, ptr %84, align 8
  %175 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %23, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #8
  %176 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %177 = trunc i64 %176 to i32
  %178 = icmp sgt i32 %177, 9
  br i1 %178, label %179, label %.loopexit

179:                                              ; preds = %172
  %180 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %181 unwind label %210

181:                                              ; preds = %179
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %182 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %183 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES5_EES3_IS6_SaIS6_EEEEEvT_SB_(ptr %182, ptr %183)
          to label %184 unwind label %210

184:                                              ; preds = %181
  %185 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %186 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES5_EES3_IS6_SaIS6_EEEEEvT_SB_(ptr %185, ptr %186)
          to label %187 unwind label %210

187:                                              ; preds = %184
  %188 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %189 = lshr i64 %188, 2
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.10)
          to label %191 unwind label %212

191:                                              ; preds = %187
  %192 = trunc i64 %189 to i32
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %190, i32 noundef %192)
          to label %194 unwind label %212

194:                                              ; preds = %191
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.preheader unwind label %212

.preheader:                                       ; preds = %194
  %196 = and i64 %189, 4294967295
  %197 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %198 = icmp ult i64 %196, %197
  br i1 %198, label %.lr.ph82, label %.loopexit

.lr.ph82:                                         ; preds = %.preheader, %203
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  %199 = call ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  store ptr %199, ptr %26, align 8
  %200 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %26, i64 noundef %196) #8
  store ptr %200, ptr %25, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt5tupleIJiSt6vectorIiSaIiEES4_EES2_IS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %201 = load ptr, ptr %24, align 8
  %202 = invoke ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS3_S5_EE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr %201)
          to label %203 unwind label %214

203:                                              ; preds = %.lr.ph82
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  %204 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  %205 = icmp ult i64 %196, %204
  br i1 %205, label %.lr.ph82, label %.loopexit, !llvm.loop !21

206:                                              ; preds = %160
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  br label %240

208:                                              ; preds = %170
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #8
  br label %240

210:                                              ; preds = %184, %181, %179
  %211 = landingpad { ptr, i32 }
          cleanup
  br label %240

212:                                              ; preds = %194, %191, %187
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %240

214:                                              ; preds = %.lr.ph82
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br label %240

.loopexit:                                        ; preds = %203, %.preheader, %172, %166
  %216 = call noundef i64 @_ZNKSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %27) #8
  %217 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEclEv(ptr noundef nonnull align 8 dereferenceable(5000) %8)
          to label %218 unwind label %229

218:                                              ; preds = %.loopexit
  %sext = shl i64 %216, 32
  %219 = ashr exact i64 %sext, 32
  %220 = urem i64 %217, %219
  %221 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %220) #8
  invoke void @_ZNSt5tupleIJiSt6vectorIiSaIiEES2_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(52) %27, ptr noundef nonnull align 8 dereferenceable(52) %221)
          to label %222 unwind label %229

222:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %28) #8
  invoke void @_ZNSt5tupleIJiSt6vectorIiSaIiEES2_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(52) %29, ptr noundef nonnull align 8 dereferenceable(52) %27)
          to label %223 unwind label %231

223:                                              ; preds = %222
  invoke void @_Z17make_state_longerSt5tupleIJiSt6vectorIiSaIiEES2_EEi(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.6") align 8 %28, ptr noundef nonnull %29, i32 noundef 12)
          to label %224 unwind label %233

224:                                              ; preds = %223
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %29) #8
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm0EJiSt6vectorIiSaIiEES2_EERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS7_(ptr noundef nonnull align 8 dereferenceable(52) %28) #8
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = icmp sgt i32 %226, 0
  br i1 %227, label %228, label %237

228:                                              ; preds = %224
  invoke void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(52) %28)
          to label %237 unwind label %235

229:                                              ; preds = %218, %.loopexit
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %239

231:                                              ; preds = %222
  %232 = landingpad { ptr, i32 }
          cleanup
  br label %238

233:                                              ; preds = %223
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %29) #8
  br label %238

235:                                              ; preds = %228
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %28) #8
  br label %238

237:                                              ; preds = %228, %224
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %28) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %28) #8
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %27) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #8
  br label %.backedge

.backedge:                                        ; preds = %237, %157
  br label %85

238:                                              ; preds = %235, %233, %231
  %.pn = phi { ptr, i32 } [ %236, %235 ], [ %234, %233 ], [ %232, %231 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %28) #8
  call void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %27) #8
  br label %239

239:                                              ; preds = %238, %229
  %.pn.pn = phi { ptr, i32 } [ %.pn, %238 ], [ %230, %229 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #8
  br label %240

240:                                              ; preds = %206, %208, %210, %239, %214, %212, %159, %131, %122, %120
  %.pn61.pn.pn = phi { ptr, i32 } [ %.pn61.pn, %131 ], [ %123, %122 ], [ %.pn59, %159 ], [ %121, %120 ], [ %.pn.pn, %239 ], [ %211, %210 ], [ %209, %208 ], [ %207, %206 ], [ %215, %214 ], [ %213, %212 ]
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #8
  br label %241

241:                                              ; preds = %240, %118
  %.pn61.pn.pn.pn = phi { ptr, i32 } [ %.pn61.pn.pn, %240 ], [ %119, %118 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %242

242:                                              ; preds = %241, %116
  %.pn61.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn61.pn.pn.pn, %241 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %8) #8
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @_ZNSt6vectorISt5tupleIJiS_IiSaIiEES2_EESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %5) #8
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn61.pn.pn.pn.pn
}

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() local_unnamed_addr #6

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt11max_elementIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiSt6vectorIiSaIiEES5_EES3_IS6_SaIS6_EEEEET_SB_SB_(ptr, ptr) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt11_Tuple_implILm1EJSt6vectorIiSaIiEES2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5tupleIJiSt6vectorIiSaIiEES2_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #0 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10, !15}
!15 = !{!"llvm.loop.unswitch.partial.disable"}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}


; Effective O3 passes: ADCEPass,AggressiveInstCombinePass,ConstraintEliminationPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass