; LLVM IR from anaeim/apriori :: main.ll (Z9create_c1v)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl" }
%"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl" = type { %"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl_data" }
%"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.8 }
%union.anon.8 = type { i32 }
%"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 }
%struct.lk = type <{ %"class.std::map", i32, [4 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, int>, std::_Select1st<std::pair<const std::set<int>, int>>, std::less<std::set<int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, int>, std::_Select1st<std::pair<const std::set<int>, int>>, std::less<std::set<int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__cxx11::basic_istringstream" = type { %"class.std::basic_istream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::set" = type { %"class.std::_Rb_tree.12" }
%"class.std::_Rb_tree.12" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::pair.20" = type <{ %"class.std::set", i32, [4 x i8] }>
%"struct.std::pair.17" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.23" = type <{ %"class.std::set", i32, [4 x i8] }>

@min_support_count = external dso_local global double, align 8
@num_items = external dso_local global i32, align 4
@num_transactions = external dso_local global i32, align 4
@max_itemset_size = external dso_local global i32, align 4
@min_support = external dso_local global double, align 8
@transactions = external dso_local global %"class.std::vector", align 8
@_Z9data_fileB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@all_lk = external dso_local global %"class.std::vector.3", align 8

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9create_c1v() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::basic_ifstream", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.lk, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::__cxx11::basic_istringstream", align 8
  %9 = alloca %"class.std::set", align 8
  %10 = alloca %"class.std::set", align 8
  %11 = alloca %"struct.std::pair", align 8
  %12 = alloca %"struct.std::pair", align 8
  %13 = alloca %"struct.std::pair.20", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair.17", align 8
  %16 = alloca %struct.lk, align 8
  %17 = alloca %"class.std::set", align 8
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %21 = alloca %"struct.std::pair.23", align 8
  %22 = alloca %"struct.std::pair.17", align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr %1) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull align 8 dereferenceable(32) @_Z9data_fileB5cxx11, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %5) #6
  call void @_ZN2lkC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %5) #6
  %23 = getelementptr inbounds %struct.lk, ptr %5, i32 0, i32 1
  store i32 1, ptr %23, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %113, %0
  %25 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %26 unwind label %69

26:                                               ; preds = %24
  %27 = load ptr, ptr %25, align 8, !tbaa !20
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr %25, i64 %29
  %31 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %30)
          to label %32 unwind label %69

32:                                               ; preds = %26
  br i1 %31, label %33, label %116

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 384, ptr %8) #6
  invoke void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120) %8, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef 8)
          to label %34 unwind label %73

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  store i32 0, ptr %4, align 4, !tbaa !22
  br label %35

35:                                               ; preds = %103, %34
  %36 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %37 unwind label %77

37:                                               ; preds = %35
  %38 = load ptr, ptr %36, align 8, !tbaa !20
  %39 = getelementptr i8, ptr %38, i64 -24
  %40 = load i64, ptr %39, align 8
  %41 = getelementptr inbounds i8, ptr %36, i64 %40
  %42 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %41)
          to label %43 unwind label %77

43:                                               ; preds = %37
  br i1 %42, label %44, label %104

44:                                               ; preds = %43
  %45 = load i32, ptr %4, align 4, !tbaa !22
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %4, align 4, !tbaa !22
  %47 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %48 unwind label %77

48:                                               ; preds = %44
  %49 = getelementptr inbounds { ptr, i8 }, ptr %11, i32 0, i32 0
  %50 = extractvalue { ptr, i8 } %47, 0
  store ptr %50, ptr %49, align 8
  %51 = getelementptr inbounds { ptr, i8 }, ptr %11, i32 0, i32 1
  %52 = extractvalue { ptr, i8 } %47, 1
  store i8 %52, ptr %51, align 8
  %53 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %54 unwind label %77

54:                                               ; preds = %48
  %55 = getelementptr inbounds { ptr, i8 }, ptr %12, i32 0, i32 0
  %56 = extractvalue { ptr, i8 } %53, 0
  store ptr %56, ptr %55, align 8
  %57 = getelementptr inbounds { ptr, i8 }, ptr %12, i32 0, i32 1
  %58 = extractvalue { ptr, i8 } %53, 1
  store i8 %58, ptr %57, align 8
  %59 = getelementptr inbounds %struct.lk, ptr %5, i32 0, i32 0
  %60 = invoke noundef i64 @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE5countERS7_(ptr noundef nonnull align 8 dereferenceable(48) %59, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %61 unwind label %77

61:                                               ; preds = %54
  %62 = icmp ugt i64 %60, 0
  br i1 %62, label %63, label %81

63:                                               ; preds = %61
  %64 = getelementptr inbounds %struct.lk, ptr %5, i32 0, i32 0
  %65 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %64, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %66 unwind label %77

66:                                               ; preds = %63
  %67 = load i32, ptr %65, align 4, !tbaa !22
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %65, align 4, !tbaa !22
  br label %101

69:                                               ; preds = %26, %24
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %6, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %7, align 4
  br label %178

73:                                               ; preds = %33
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %6, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %7, align 4
  br label %115

77:                                               ; preds = %110, %101, %63, %54, %48, %44, %37, %35
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %6, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %7, align 4
  br label %114

81:                                               ; preds = %61
  %82 = getelementptr inbounds %struct.lk, ptr %5, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 56, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 1, ptr %14, align 4, !tbaa !22
  invoke void @_ZNSt4pairISt3setIiSt4lessIiESaIiEEiEC2IRS4_iTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 8 dereferenceable(52) %13, ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %83 unwind label %92

83:                                               ; preds = %81
  %84 = invoke { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertIS6_IS4_iEEENSt9enable_ifIXsr16is_constructibleIS8_T_EE5valueES6_ISt17_Rb_tree_iteratorIS8_EbEE4typeEOSE_(ptr noundef nonnull align 8 dereferenceable(48) %82, ptr noundef nonnull align 8 dereferenceable(52) %13)
          to label %85 unwind label %96

85:                                               ; preds = %83
  %86 = getelementptr inbounds { ptr, i8 }, ptr %15, i32 0, i32 0
  %87 = extractvalue { ptr, i8 } %84, 0
  store ptr %87, ptr %86, align 8
  %88 = getelementptr inbounds { ptr, i8 }, ptr %15, i32 0, i32 1
  %89 = extractvalue { ptr, i8 } %84, 1
  store i8 %89, ptr %88, align 8
  call void @_ZNSt4pairISt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #6
  %90 = load i32, ptr @num_items, align 4, !tbaa !22
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr @num_items, align 4, !tbaa !22
  br label %101

92:                                               ; preds = %81
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %6, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %7, align 4
  br label %100

96:                                               ; preds = %83
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %6, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %7, align 4
  call void @_ZNSt4pairISt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %13) #6
  br label %100

100:                                              ; preds = %96, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #6
  br label %114

101:                                              ; preds = %85, %66
  %102 = invoke noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %103 unwind label %77

103:                                              ; preds = %101
  br label %35, !llvm.loop !23

104:                                              ; preds = %43
  %105 = load i32, ptr %4, align 4, !tbaa !22
  %106 = load i32, ptr @max_itemset_size, align 4, !tbaa !22
  %107 = icmp sgt i32 %105, %106
  br i1 %107, label %108, label %110

108:                                              ; preds = %104
  %109 = load i32, ptr %4, align 4, !tbaa !22
  store i32 %109, ptr @max_itemset_size, align 4, !tbaa !22
  br label %110

110:                                              ; preds = %108, %104
  %111 = load i32, ptr @num_transactions, align 4, !tbaa !22
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr @num_transactions, align 4, !tbaa !22
  invoke void @_ZNSt6vectorISt3setIiSt4lessIiESaIiEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) @transactions, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %113 unwind label %77

113:                                              ; preds = %110
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #6
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %8) #6
  call void @llvm.lifetime.end.p0(i64 384, ptr %8) #6
  br label %24, !llvm.loop !25

114:                                              ; preds = %100, %77
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #6
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %8) #6
  br label %115

115:                                              ; preds = %114, %73
  call void @llvm.lifetime.end.p0(i64 384, ptr %8) #6
  br label %178

116:                                              ; preds = %32
  %117 = load double, ptr @min_support, align 8, !tbaa !26
  %118 = load i32, ptr @num_transactions, align 4, !tbaa !22
  %119 = sitofp i32 %118 to double
  %120 = fmul double %117, %119
  store double %120, ptr @min_support_count, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #6
  call void @_ZN2lkC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %16) #6
  %121 = getelementptr inbounds %struct.lk, ptr %16, i32 0, i32 1
  store i32 1, ptr %121, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %122 = getelementptr inbounds %struct.lk, ptr %5, i32 0, i32 0
  %123 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %122) #6
  %124 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %19, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  br label %125

125:                                              ; preds = %166, %116
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %126 = getelementptr inbounds %struct.lk, ptr %5, i32 0, i32 0
  %127 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %126) #6
  %128 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %20, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEESA_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %169

131:                                              ; preds = %125
  %132 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %133 = getelementptr inbounds %"struct.std::pair.23", ptr %132, i32 0, i32 0
  %134 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIiSt4lessIiESaIiEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull align 8 dereferenceable(48) %133)
          to label %135 unwind label %152

135:                                              ; preds = %131
  %136 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %137 = getelementptr inbounds %"struct.std::pair.23", ptr %136, i32 0, i32 1
  %138 = load i32, ptr %137, align 8, !tbaa !28
  store i32 %138, ptr %18, align 4, !tbaa !22
  %139 = load i32, ptr %18, align 4, !tbaa !22
  %140 = sitofp i32 %139 to double
  %141 = load double, ptr @min_support_count, align 8, !tbaa !26
  %142 = fcmp oge double %140, %141
  br i1 %142, label %143, label %165

143:                                              ; preds = %135
  %144 = getelementptr inbounds %struct.lk, ptr %16, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 56, ptr %21) #6
  invoke void @_ZNSt4pairIKSt3setIiSt4lessIiESaIiEEiEC2IRS4_RiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISB_SC_EEEbE4typeELb1EEEOSB_OSC_(ptr noundef nonnull align 8 dereferenceable(52) %21, ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %145 unwind label %156

145:                                              ; preds = %143
  %146 = invoke { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertEOS8_(ptr noundef nonnull align 8 dereferenceable(48) %144, ptr noundef nonnull align 8 dereferenceable(52) %21)
          to label %147 unwind label %160

147:                                              ; preds = %145
  %148 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 0
  %149 = extractvalue { ptr, i8 } %146, 0
  store ptr %149, ptr %148, align 8
  %150 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 1
  %151 = extractvalue { ptr, i8 } %146, 1
  store i8 %151, ptr %150, align 8
  call void @_ZNSt4pairIKSt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %21) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #6
  br label %165

152:                                              ; preds = %131
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %6, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %7, align 4
  br label %168

156:                                              ; preds = %143
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %6, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %7, align 4
  br label %164

160:                                              ; preds = %145
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %6, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %7, align 4
  call void @_ZNSt4pairIKSt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %21) #6
  br label %164

164:                                              ; preds = %160, %156
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #6
  br label %168

165:                                              ; preds = %147, %135
  br label %166

166:                                              ; preds = %165
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %125, !llvm.loop !35

168:                                              ; preds = %164, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %177

169:                                              ; preds = %130
  %170 = getelementptr inbounds %struct.lk, ptr %5, i32 0, i32 0
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %170) #6
  invoke void @_ZNSt6vectorI2lkSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @all_lk, ptr noundef nonnull align 8 dereferenceable(52) %16)
          to label %171 unwind label %173

171:                                              ; preds = %169
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
          to label %172 unwind label %173

172:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %16) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #6
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr %1) #6
  ret void

173:                                              ; preds = %171, %169
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %6, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %7, align 4
  br label %177

177:                                              ; preds = %173, %168
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %16) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #6
  br label %178

178:                                              ; preds = %177, %115, %69
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %5) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr %1) #6
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %6, align 8
  %181 = load i32, ptr %7, align 4
  %182 = insertvalue { ptr, i32 } poison, ptr %180, 0
  %183 = insertvalue { ptr, i32 } %182, i32 %181, 1
  resume { ptr, i32 } %183
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertIS6_IS4_iEEENSt9enable_ifIXsr16is_constructibleIS8_T_EE5valueES6_ISt17_Rb_tree_iteratorIS8_EbEE4typeEOSE_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(52)) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertEOS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(52)) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

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

!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, !19, i64 48}
!6 = !{!"_ZTS2lk", !7, i64 0, !19, i64 48}
!7 = !{!"_ZTSSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE", !8, i64 0}
!8 = !{!"_ZTSSt8_Rb_treeISt3setIiSt4lessIiESaIiEESt4pairIKS4_iESt10_Select1stIS7_ES1_IS4_ESaIS7_EE", !9, i64 0}
!9 = !{!"_ZTSNSt8_Rb_treeISt3setIiSt4lessIiESaIiEESt4pairIKS4_iESt10_Select1stIS7_ES1_IS4_ESaIS7_EE13_Rb_tree_implISA_Lb1EEE", !10, i64 0, !12, i64 8}
!10 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt3setIiS0_IiESaIiEEEE", !11, i64 0}
!11 = !{!"_ZTSSt4lessISt3setIiS_IiESaIiEEE"}
!12 = !{!"_ZTSSt15_Rb_tree_header", !13, i64 0, !18, i64 32}
!13 = !{!"_ZTSSt18_Rb_tree_node_base", !14, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!14 = !{!"_ZTSSt14_Rb_tree_color", !15, i64 0}
!15 = !{!"omnipotent char", !16, i64 0}
!16 = !{!"Simple C++ TBAA"}
!17 = !{!"any pointer", !15, i64 0}
!18 = !{!"long", !15, i64 0}
!19 = !{!"int", !15, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !16, i64 0}
!22 = !{!19, !19, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !15, i64 0}
!28 = !{!29, !19, i64 48}
!29 = !{!"_ZTSSt4pairIKSt3setIiSt4lessIiESaIiEEiE", !30, i64 0, !19, i64 48}
!30 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !33, i64 0, !12, i64 8}
!33 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !34, i64 0}
!34 = !{!"_ZTSSt4lessIiE"}
!35 = distinct !{!35, !24}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl" }
%"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl" = type { %"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl_data" }
%"struct.std::_Vector_base<lk, std::allocator<lk>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.8 }
%union.anon.8 = type { i32 }
%"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 }
%struct.lk = type <{ %"class.std::map", i32, [4 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, int>, std::_Select1st<std::pair<const std::set<int>, int>>, std::less<std::set<int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::set<int>, std::pair<const std::set<int>, int>, std::_Select1st<std::pair<const std::set<int>, int>>, std::less<std::set<int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__cxx11::basic_istringstream" = type { %"class.std::basic_istream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::set" = type { %"class.std::_Rb_tree.12" }
%"class.std::_Rb_tree.12" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.20" = type <{ %"class.std::set", i32, [4 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.23" = type <{ %"class.std::set", i32, [4 x i8] }>

@min_support_count = external dso_local local_unnamed_addr global double, align 8
@num_items = external dso_local local_unnamed_addr global i32, align 4
@num_transactions = external dso_local local_unnamed_addr global i32, align 4
@max_itemset_size = external dso_local local_unnamed_addr global i32, align 4
@min_support = external dso_local local_unnamed_addr global double, align 8
@transactions = external dso_local global %"class.std::vector", align 8
@_Z9data_fileB5cxx11 = external dso_local global %"class.std::__cxx11::basic_string", align 8
@all_lk = external dso_local global %"class.std::vector.3", align 8

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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) #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z9create_c1v() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::basic_ifstream", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca i32, align 4
  %4 = alloca %struct.lk, align 8
  %5 = alloca %"class.std::__cxx11::basic_istringstream", align 8
  %6 = alloca %"class.std::set", align 8
  %7 = alloca %"class.std::set", align 8
  %8 = alloca %"struct.std::pair.20", align 8
  %9 = alloca i32, align 4
  %10 = alloca %struct.lk, align 8
  %11 = alloca %"class.std::set", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca %"struct.std::pair.23", align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %1) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull align 8 dereferenceable(32) @_Z9data_fileB5cxx11, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #6
  call void @_ZN2lkC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %4) #6
  %16 = getelementptr inbounds i8, ptr %4, i64 48
  store i32 1, ptr %16, align 8, !tbaa !5
  br label %17

17:                                               ; preds = %71, %0
  %18 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %19 unwind label %47

19:                                               ; preds = %17
  %20 = load ptr, ptr %18, align 8, !tbaa !20
  %21 = getelementptr i8, ptr %20, i64 -24
  %22 = load i64, ptr %21, align 8
  %23 = getelementptr inbounds i8, ptr %18, i64 %22
  %24 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %23)
          to label %25 unwind label %47

25:                                               ; preds = %19
  br i1 %24, label %26, label %74

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 384, ptr nonnull %5) #6
  invoke void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef 8)
          to label %27 unwind label %49

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  br label %28

28:                                               ; preds = %60, %27
  %.0 = phi i32 [ 0, %27 ], [ %38, %60 ]
  %29 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %30 unwind label %.loopexit

30:                                               ; preds = %28
  %31 = load ptr, ptr %29, align 8, !tbaa !20
  %32 = getelementptr i8, ptr %31, i64 -24
  %33 = load i64, ptr %32, align 8
  %34 = getelementptr inbounds i8, ptr %29, i64 %33
  %35 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %34)
          to label %36 unwind label %.loopexit

36:                                               ; preds = %30
  br i1 %35, label %37, label %64

37:                                               ; preds = %36
  %38 = add nuw nsw i32 %.0, 1
  %39 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %40 unwind label %.loopexit

40:                                               ; preds = %37
  %41 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %42 unwind label %.loopexit

42:                                               ; preds = %40
  %43 = invoke noundef i64 @_ZNKSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE5countERS7_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %44 unwind label %.loopexit

44:                                               ; preds = %42
  %.not = icmp eq i64 %43, 0
  br i1 %.not, label %51, label %45

45:                                               ; preds = %44
  %46 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEEixERS7_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %60 unwind label %.loopexit

47:                                               ; preds = %19, %17
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %113

49:                                               ; preds = %26
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %73

.loopexit:                                        ; preds = %28, %30, %37, %40, %42, %45, %60
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %72

.loopexit.split-lp:                               ; preds = %68
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %72

51:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  store i32 1, ptr %9, align 4, !tbaa !22
  invoke void @_ZNSt4pairISt3setIiSt4lessIiESaIiEEiEC2IRS4_iTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS9_SA_EEEbE4typeELb1EEEOS9_OSA_(ptr noundef nonnull align 8 dereferenceable(52) %8, ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %52 unwind label %55

52:                                               ; preds = %51
  %53 = invoke { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertIS6_IS4_iEEENSt9enable_ifIXsr16is_constructibleIS8_T_EE5valueES6_ISt17_Rb_tree_iteratorIS8_EbEE4typeEOSE_(ptr noundef nonnull align 8 dereferenceable(48) %4, ptr noundef nonnull align 8 dereferenceable(52) %8)
          to label %54 unwind label %57

54:                                               ; preds = %52
  call void @_ZNSt4pairISt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #6
  br label %60

55:                                               ; preds = %51
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %52
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairISt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %8) #6
  br label %59

59:                                               ; preds = %57, %55
  %.pn21 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %8) #6
  br label %72

60:                                               ; preds = %45, %54
  %num_items.sink37 = phi ptr [ @num_items, %54 ], [ %46, %45 ]
  %61 = load i32, ptr %num_items.sink37, align 4, !tbaa !22
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %num_items.sink37, align 4, !tbaa !22
  %63 = invoke noundef i64 @_ZNSt3setIiSt4lessIiESaIiEE5eraseERKi(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %28 unwind label %.loopexit, !llvm.loop !23

64:                                               ; preds = %36
  %65 = load i32, ptr @max_itemset_size, align 4, !tbaa !22
  %66 = icmp sgt i32 %.0, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  store i32 %.0, ptr @max_itemset_size, align 4, !tbaa !22
  br label %68

68:                                               ; preds = %67, %64
  %69 = load i32, ptr @num_transactions, align 4, !tbaa !22
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr @num_transactions, align 4, !tbaa !22
  invoke void @_ZNSt6vectorISt3setIiSt4lessIiESaIiEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(24) @transactions, ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %71 unwind label %.loopexit.split-lp

71:                                               ; preds = %68
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %5) #6
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %5) #6
  br label %17, !llvm.loop !25

72:                                               ; preds = %.loopexit, %.loopexit.split-lp, %59
  %.pn23 = phi { ptr, i32 } [ %.pn21, %59 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120) %5) #6
  br label %73

73:                                               ; preds = %72, %49
  %.pn23.pn = phi { ptr, i32 } [ %.pn23, %72 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 384, ptr nonnull %5) #6
  br label %113

74:                                               ; preds = %25
  %75 = load double, ptr @min_support, align 8, !tbaa !26
  %76 = load i32, ptr @num_transactions, align 4, !tbaa !22
  %77 = sitofp i32 %76 to double
  %78 = fmul double %75, %77
  store double %78, ptr @min_support_count, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #6
  call void @_ZN2lkC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %10) #6
  %79 = getelementptr inbounds i8, ptr %10, i64 48
  store i32 1, ptr %79, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %80 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  store ptr %80, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %81 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  store ptr %81, ptr %14, align 8
  %82 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br i1 %82, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %103, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE5clearEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  invoke void @_ZNSt6vectorI2lkSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @all_lk, ptr noundef nonnull align 8 dereferenceable(52) %10)
          to label %108 unwind label %110

.lr.ph:                                           ; preds = %74, %103
  %83 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %84 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3setIiSt4lessIiESaIiEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %83)
          to label %85 unwind label %96

85:                                               ; preds = %.lr.ph
  %86 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %87 = getelementptr inbounds i8, ptr %86, i64 48
  %88 = load i32, ptr %87, align 8, !tbaa !28
  store i32 %88, ptr %12, align 4, !tbaa !22
  %89 = sitofp i32 %88 to double
  %90 = load double, ptr @min_support_count, align 8, !tbaa !26
  %91 = fcmp ugt double %90, %89
  br i1 %91, label %103, label %92

92:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %15) #6
  invoke void @_ZNSt4pairIKSt3setIiSt4lessIiESaIiEEiEC2IRS4_RiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISB_SC_EEEbE4typeELb1EEEOSB_OSC_(ptr noundef nonnull align 8 dereferenceable(52) %15, ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %93 unwind label %98

93:                                               ; preds = %92
  %94 = invoke { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertEOS8_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(52) %15)
          to label %95 unwind label %100

95:                                               ; preds = %93
  call void @_ZNSt4pairIKSt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %15) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %15) #6
  br label %103

96:                                               ; preds = %.lr.ph
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %107

98:                                               ; preds = %92
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %102

100:                                              ; preds = %93
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIKSt3setIiSt4lessIiESaIiEEiED2Ev(ptr noundef nonnull align 8 dereferenceable(52) %15) #6
  br label %102

102:                                              ; preds = %100, %98
  %.pn = phi { ptr, i32 } [ %101, %100 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %15) #6
  br label %107

103:                                              ; preds = %85, %95
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %105 = call ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  store ptr %105, ptr %14, align 8
  %106 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br i1 %106, label %.lr.ph, label %._crit_edge, !llvm.loop !35

107:                                              ; preds = %102, %96
  %.pn.pn = phi { ptr, i32 } [ %.pn, %102 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %112

108:                                              ; preds = %._crit_edge
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %1)
          to label %109 unwind label %110

109:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #6
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %10) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #6
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #6
  ret void

110:                                              ; preds = %108, %._crit_edge
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %112

112:                                              ; preds = %110, %107
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %107 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #6
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %10) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #6
  br label %113

113:                                              ; preds = %112, %73, %47
  %.pn23.pn.pn = phi { ptr, i32 } [ %.pn23.pn, %73 ], [ %.pn.pn.pn, %112 ], [ %48, %47 ]
  call void @_ZN2lkD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %4) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn23.pn.pn
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_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 #4

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertIS6_IS4_iEEENSt9enable_ifIXsr16is_constructibleIS8_T_EE5valueES6_ISt17_Rb_tree_iteratorIS8_EbEE4typeEOSE_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKSt3setIiSt4lessIiESaIiEEiEESA_(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 ptr @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE6insertEOS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

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

!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, !19, i64 48}
!6 = !{!"_ZTS2lk", !7, i64 0, !19, i64 48}
!7 = !{!"_ZTSSt3mapISt3setIiSt4lessIiESaIiEEiS1_IS4_ESaISt4pairIKS4_iEEE", !8, i64 0}
!8 = !{!"_ZTSSt8_Rb_treeISt3setIiSt4lessIiESaIiEESt4pairIKS4_iESt10_Select1stIS7_ES1_IS4_ESaIS7_EE", !9, i64 0}
!9 = !{!"_ZTSNSt8_Rb_treeISt3setIiSt4lessIiESaIiEESt4pairIKS4_iESt10_Select1stIS7_ES1_IS4_ESaIS7_EE13_Rb_tree_implISA_Lb1EEE", !10, i64 0, !12, i64 8}
!10 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt3setIiS0_IiESaIiEEEE", !11, i64 0}
!11 = !{!"_ZTSSt4lessISt3setIiS_IiESaIiEEE"}
!12 = !{!"_ZTSSt15_Rb_tree_header", !13, i64 0, !18, i64 32}
!13 = !{!"_ZTSSt18_Rb_tree_node_base", !14, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!14 = !{!"_ZTSSt14_Rb_tree_color", !15, i64 0}
!15 = !{!"omnipotent char", !16, i64 0}
!16 = !{!"Simple C++ TBAA"}
!17 = !{!"any pointer", !15, i64 0}
!18 = !{!"long", !15, i64 0}
!19 = !{!"int", !15, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !16, i64 0}
!22 = !{!19, !19, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !15, i64 0}
!28 = !{!29, !19, i64 48}
!29 = !{!"_ZTSSt4pairIKSt3setIiSt4lessIiESaIiEEiE", !30, i64 0, !19, i64 48}
!30 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !33, i64 0, !12, i64 8}
!33 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !34, i64 0}
!34 = !{!"_ZTSSt4lessIiE"}
!35 = distinct !{!35, !24}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass