; LLVM IR from cselab/aphros :: src/test/range (main)

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

%"class.std::basic_ostream" = type { ptr, %"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.generic::Range" = type { i64, i64 }
%"class.generic::Range<unsigned long>::iterator" = type { i64 }
%class.FilterIterator = type { %"class.generic::Range", %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { i8 }
%"class.FilterIterator<generic::Range<unsigned long>>::iterator" = type { %"class.generic::Range<unsigned long>::iterator", ptr }
%class.FilterIterator.0 = type { %class.FilterIterator, %"class.std::function" }
%class.anon.1 = type { i8 }
%class.anon.3 = type { i8 }
%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator" = type { %"class.FilterIterator<generic::Range<unsigned long>>::iterator", ptr }
%class.TransformIterator = type { %"class.generic::Range", %"class.std::function.5" }
%"class.std::function.5" = type { %"class.std::_Function_base", ptr }
%class.anon.8 = type { i8 }
%"class.TransformIterator<unsigned long, generic::Range<unsigned long>>::iterator" = type { %"class.generic::Range<unsigned long>::iterator", ptr }
%class.TransformIterator.10 = type { %"class.generic::Range", %"class.std::function.11" }
%"class.std::function.11" = type { %"class.std::_Function_base", ptr }
%class.anon.14 = type { i8 }
%"class.TransformIterator<double, generic::Range<unsigned long>>::iterator" = type { %"class.generic::Range<unsigned long>::iterator", ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [65 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [181 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [130 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca %"class.generic::Range", align 8
  %4 = alloca %"class.generic::Range<unsigned long>::iterator", align 8
  %5 = alloca %"class.generic::Range<unsigned long>::iterator", align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %class.FilterIterator, align 8
  %9 = alloca %"class.generic::Range", align 8
  %10 = alloca %"class.std::function", align 8
  %11 = alloca %class.anon, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.FilterIterator<generic::Range<unsigned long>>::iterator", align 8
  %15 = alloca %"class.FilterIterator<generic::Range<unsigned long>>::iterator", align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %class.FilterIterator.0, align 8
  %19 = alloca %class.FilterIterator, align 8
  %20 = alloca %"class.generic::Range", align 8
  %21 = alloca %"class.std::function", align 8
  %22 = alloca %class.anon.1, align 1
  %23 = alloca %"class.std::function", align 8
  %24 = alloca %class.anon.3, align 1
  %25 = alloca %"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator", align 8
  %26 = alloca %"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator", align 8
  %27 = alloca i64, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %class.TransformIterator, align 8
  %30 = alloca %"class.generic::Range", align 8
  %31 = alloca %"class.std::function.5", align 8
  %32 = alloca %class.anon.8, align 1
  %33 = alloca %"class.TransformIterator<unsigned long, generic::Range<unsigned long>>::iterator", align 8
  %34 = alloca %"class.TransformIterator<unsigned long, generic::Range<unsigned long>>::iterator", align 8
  %35 = alloca i64, align 8
  %36 = alloca ptr, align 8
  %37 = alloca %class.TransformIterator.10, align 8
  %38 = alloca %"class.generic::Range", align 8
  %39 = alloca %"class.std::function.11", align 8
  %40 = alloca %class.anon.14, align 1
  %41 = alloca %"class.TransformIterator<double, generic::Range<unsigned long>>::iterator", align 8
  %42 = alloca %"class.TransformIterator<double, generic::Range<unsigned long>>::iterator", align 8
  %43 = alloca double, align 8
  store i32 0, ptr %1, align 4
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %3, i64 noundef 10, i64 noundef 20)
  store ptr %3, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = call i64 @_ZNK7generic5RangeImE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %46)
  %48 = getelementptr inbounds %"class.generic::Range<unsigned long>::iterator", ptr %4, i32 0, i32 0
  store i64 %47, ptr %48, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = call i64 @_ZNK7generic5RangeImE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %49)
  %51 = getelementptr inbounds %"class.generic::Range<unsigned long>::iterator", ptr %5, i32 0, i32 0
  store i64 %50, ptr %51, align 8
  br label %52

52:                                               ; preds = %60, %0
  %53 = call noundef zeroext i1 @_ZNK7generic5RangeImE8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %53, label %55, label %54

54:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  br label %62

55:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %56 = call noundef i64 @_ZNK7generic5RangeImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  store i64 %56, ptr %6, align 8, !tbaa !9
  %57 = load i64, ptr %6, align 8, !tbaa !9
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %57)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef @.str.2)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %60

60:                                               ; preds = %55
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7generic5RangeImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  br label %52

62:                                               ; preds = %54
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  call void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  %66 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 0
  %67 = load i64, ptr %66, align 8
  %68 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 1
  %69 = load i64, ptr %68, align 8
  invoke void @_Z18MakeFilterIteratorIN7generic5RangeImEEE14FilterIteratorIT_ES4_NS5_4FuncE(ptr dead_on_unwind writable sret(%class.FilterIterator) align 8 %8, i64 %67, i64 %69, ptr noundef %10)
          to label %70 unwind label %89

70:                                               ; preds = %62
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  store ptr %8, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = invoke { i64, ptr } @_ZNK14FilterIteratorIN7generic5RangeImEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %71)
          to label %73 unwind label %93

73:                                               ; preds = %70
  %74 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 0
  %75 = extractvalue { i64, ptr } %72, 0
  store i64 %75, ptr %74, align 8
  %76 = getelementptr inbounds { i64, ptr }, ptr %14, i32 0, i32 1
  %77 = extractvalue { i64, ptr } %72, 1
  store ptr %77, ptr %76, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = invoke { i64, ptr } @_ZNK14FilterIteratorIN7generic5RangeImEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %78)
          to label %80 unwind label %97

80:                                               ; preds = %73
  %81 = getelementptr inbounds { i64, ptr }, ptr %15, i32 0, i32 0
  %82 = extractvalue { i64, ptr } %79, 0
  store i64 %82, ptr %81, align 8
  %83 = getelementptr inbounds { i64, ptr }, ptr %15, i32 0, i32 1
  %84 = extractvalue { i64, ptr } %79, 1
  store ptr %84, ptr %83, align 8
  br label %85

85:                                               ; preds = %111, %80
  %86 = invoke noundef zeroext i1 @_ZNK14FilterIteratorIN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %87 unwind label %97

87:                                               ; preds = %85
  br i1 %86, label %101, label %88

88:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %119

89:                                               ; preds = %62
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %12, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  br label %118

93:                                               ; preds = %70
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %12, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %13, align 4
  br label %117

97:                                               ; preds = %109, %85, %73
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %12, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %13, align 4
  br label %116

101:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %102 = invoke noundef i64 @_ZN14FilterIteratorIN7generic5RangeImEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %103 unwind label %112

103:                                              ; preds = %101
  store i64 %102, ptr %16, align 8, !tbaa !9
  %104 = load i64, ptr %16, align 8, !tbaa !9
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %104)
          to label %106 unwind label %112

106:                                              ; preds = %103
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @.str.2)
          to label %108 unwind label %112

108:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %109

109:                                              ; preds = %108
  %110 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN14FilterIteratorIN7generic5RangeImEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %111 unwind label %97

111:                                              ; preds = %109
  br label %85

112:                                              ; preds = %106, %103, %101
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %12, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %116

116:                                              ; preds = %112, %97
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %117

117:                                              ; preds = %116, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #6
  br label %118

118:                                              ; preds = %117, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %289

119:                                              ; preds = %88
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 80, ptr %18) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %20, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  call void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  %123 = getelementptr inbounds { i64, i64 }, ptr %20, i32 0, i32 0
  %124 = load i64, ptr %123, align 8
  %125 = getelementptr inbounds { i64, i64 }, ptr %20, i32 0, i32 1
  %126 = load i64, ptr %125, align 8
  invoke void @_Z18MakeFilterIteratorIN7generic5RangeImEEE14FilterIteratorIT_ES4_NS5_4FuncE(ptr dead_on_unwind writable sret(%class.FilterIterator) align 8 %19, i64 %124, i64 %126, ptr noundef %21)
          to label %127 unwind label %137

127:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  call void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 1 dereferenceable(1) %24) #6
  invoke void @_Z18MakeFilterIteratorI14FilterIteratorIN7generic5RangeImEEEES0_IT_ES5_NS6_4FuncE(ptr dead_on_unwind writable sret(%class.FilterIterator.0) align 8 %18, ptr noundef %19, ptr noundef %23)
          to label %128 unwind label %141

128:                                              ; preds = %127
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  store ptr %18, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #6
  %129 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE5beginEv(ptr dead_on_unwind writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(80) %129)
          to label %130 unwind label %146

130:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  %131 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE3endEv(ptr dead_on_unwind writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8 %26, ptr noundef nonnull align 8 dereferenceable(80) %131)
          to label %132 unwind label %150

132:                                              ; preds = %130
  br label %133

133:                                              ; preds = %164, %132
  %134 = invoke noundef zeroext i1 @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE8iteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %135 unwind label %150

135:                                              ; preds = %133
  br i1 %134, label %154, label %136

136:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  call void @_ZN14FilterIteratorIS_IN7generic5RangeImEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %18) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %172

137:                                              ; preds = %119
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %12, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %13, align 4
  br label %145

141:                                              ; preds = %127
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %12, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  br label %145

145:                                              ; preds = %141, %137
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %171

146:                                              ; preds = %128
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %12, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %13, align 4
  br label %170

150:                                              ; preds = %162, %133, %130
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %12, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %13, align 4
  br label %169

154:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %155 = invoke noundef i64 @_ZN14FilterIteratorIS_IN7generic5RangeImEEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %156 unwind label %165

156:                                              ; preds = %154
  store i64 %155, ptr %27, align 8, !tbaa !9
  %157 = load i64, ptr %27, align 8, !tbaa !9
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %157)
          to label %159 unwind label %165

159:                                              ; preds = %156
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef @.str.2)
          to label %161 unwind label %165

161:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %162

162:                                              ; preds = %161
  %163 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN14FilterIteratorIS_IN7generic5RangeImEEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %164 unwind label %150

164:                                              ; preds = %162
  br label %133

165:                                              ; preds = %159, %156, %154
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %12, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %169

169:                                              ; preds = %165, %150
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  br label %170

170:                                              ; preds = %169, %146
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #6
  call void @_ZN14FilterIteratorIS_IN7generic5RangeImEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %18) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %18) #6
  br label %171

171:                                              ; preds = %170, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %289

172:                                              ; preds = %136
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %30, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #6
  call void @"_ZNSt8functionIFmmEEC2IZ4mainE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 1 dereferenceable(1) %32) #6
  %176 = getelementptr inbounds { i64, i64 }, ptr %30, i32 0, i32 0
  %177 = load i64, ptr %176, align 8
  %178 = getelementptr inbounds { i64, i64 }, ptr %30, i32 0, i32 1
  %179 = load i64, ptr %178, align 8
  invoke void @_Z21MakeTransformIteratorImN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind writable sret(%class.TransformIterator) align 8 %29, i64 %177, i64 %179, ptr noundef %31)
          to label %180 unwind label %199

180:                                              ; preds = %172
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  store ptr %29, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  %181 = load ptr, ptr %28, align 8, !tbaa !5
  %182 = invoke { i64, ptr } @_ZNK17TransformIteratorImN7generic5RangeImEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %181)
          to label %183 unwind label %203

183:                                              ; preds = %180
  %184 = getelementptr inbounds { i64, ptr }, ptr %33, i32 0, i32 0
  %185 = extractvalue { i64, ptr } %182, 0
  store i64 %185, ptr %184, align 8
  %186 = getelementptr inbounds { i64, ptr }, ptr %33, i32 0, i32 1
  %187 = extractvalue { i64, ptr } %182, 1
  store ptr %187, ptr %186, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #6
  %188 = load ptr, ptr %28, align 8, !tbaa !5
  %189 = invoke { i64, ptr } @_ZNK17TransformIteratorImN7generic5RangeImEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %188)
          to label %190 unwind label %207

190:                                              ; preds = %183
  %191 = getelementptr inbounds { i64, ptr }, ptr %34, i32 0, i32 0
  %192 = extractvalue { i64, ptr } %189, 0
  store i64 %192, ptr %191, align 8
  %193 = getelementptr inbounds { i64, ptr }, ptr %34, i32 0, i32 1
  %194 = extractvalue { i64, ptr } %189, 1
  store ptr %194, ptr %193, align 8
  br label %195

195:                                              ; preds = %221, %190
  %196 = invoke noundef zeroext i1 @_ZNK17TransformIteratorImN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %197 unwind label %207

197:                                              ; preds = %195
  br i1 %196, label %211, label %198

198:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @_ZN17TransformIteratorImN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %229

199:                                              ; preds = %172
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %12, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  br label %228

203:                                              ; preds = %180
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %12, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %13, align 4
  br label %227

207:                                              ; preds = %219, %195, %183
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %12, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %13, align 4
  br label %226

211:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %212 = invoke noundef i64 @_ZN17TransformIteratorImN7generic5RangeImEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %213 unwind label %222

213:                                              ; preds = %211
  store i64 %212, ptr %35, align 8, !tbaa !9
  %214 = load i64, ptr %35, align 8, !tbaa !9
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %214)
          to label %216 unwind label %222

216:                                              ; preds = %213
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef @.str.2)
          to label %218 unwind label %222

218:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %219

219:                                              ; preds = %218
  %220 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN17TransformIteratorImN7generic5RangeImEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %221 unwind label %207

221:                                              ; preds = %219
  br label %195

222:                                              ; preds = %216, %213, %211
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %12, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %226

226:                                              ; preds = %222, %207
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  br label %227

227:                                              ; preds = %226, %203
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @_ZN17TransformIteratorImN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %29) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  br label %228

228:                                              ; preds = %227, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %289

229:                                              ; preds = %198
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %231 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %37) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %38, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #6
  call void @"_ZNSt8functionIFdmEEC2IZ4mainE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 1 dereferenceable(1) %40) #6
  %233 = getelementptr inbounds { i64, i64 }, ptr %38, i32 0, i32 0
  %234 = load i64, ptr %233, align 8
  %235 = getelementptr inbounds { i64, i64 }, ptr %38, i32 0, i32 1
  %236 = load i64, ptr %235, align 8
  invoke void @_Z21MakeTransformIteratorIdN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind writable sret(%class.TransformIterator.10) align 8 %37, i64 %234, i64 %236, ptr noundef %39)
          to label %237 unwind label %256

237:                                              ; preds = %229
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  store ptr %37, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #6
  %238 = load ptr, ptr %36, align 8, !tbaa !5
  %239 = invoke { i64, ptr } @_ZNK17TransformIteratorIdN7generic5RangeImEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %238)
          to label %240 unwind label %260

240:                                              ; preds = %237
  %241 = getelementptr inbounds { i64, ptr }, ptr %41, i32 0, i32 0
  %242 = extractvalue { i64, ptr } %239, 0
  store i64 %242, ptr %241, align 8
  %243 = getelementptr inbounds { i64, ptr }, ptr %41, i32 0, i32 1
  %244 = extractvalue { i64, ptr } %239, 1
  store ptr %244, ptr %243, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #6
  %245 = load ptr, ptr %36, align 8, !tbaa !5
  %246 = invoke { i64, ptr } @_ZNK17TransformIteratorIdN7generic5RangeImEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %245)
          to label %247 unwind label %264

247:                                              ; preds = %240
  %248 = getelementptr inbounds { i64, ptr }, ptr %42, i32 0, i32 0
  %249 = extractvalue { i64, ptr } %246, 0
  store i64 %249, ptr %248, align 8
  %250 = getelementptr inbounds { i64, ptr }, ptr %42, i32 0, i32 1
  %251 = extractvalue { i64, ptr } %246, 1
  store ptr %251, ptr %250, align 8
  br label %252

252:                                              ; preds = %278, %247
  %253 = invoke noundef zeroext i1 @_ZNK17TransformIteratorIdN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %42)
          to label %254 unwind label %264

254:                                              ; preds = %252
  br i1 %253, label %268, label %255

255:                                              ; preds = %254
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  call void @_ZN17TransformIteratorIdN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %286

256:                                              ; preds = %229
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %12, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %13, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  br label %285

260:                                              ; preds = %237
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %12, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %13, align 4
  br label %284

264:                                              ; preds = %276, %252, %240
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %12, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %13, align 4
  br label %283

268:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %269 = invoke noundef double @_ZN17TransformIteratorIdN7generic5RangeImEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %270 unwind label %279

270:                                              ; preds = %268
  store double %269, ptr %43, align 8, !tbaa !11
  %271 = load double, ptr %43, align 8, !tbaa !11
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %271)
          to label %273 unwind label %279

273:                                              ; preds = %270
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @.str.2)
          to label %275 unwind label %279

275:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %276

276:                                              ; preds = %275
  %277 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN17TransformIteratorIdN7generic5RangeImEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %278 unwind label %264

278:                                              ; preds = %276
  br label %252

279:                                              ; preds = %273, %270, %268
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %12, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %283

283:                                              ; preds = %279, %264
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #6
  br label %284

284:                                              ; preds = %283, %260
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #6
  call void @_ZN17TransformIteratorIdN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #6
  br label %285

285:                                              ; preds = %284, %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %289

286:                                              ; preds = %255
  %287 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %288 = load i32, ptr %1, align 4
  ret i32 %288

289:                                              ; preds = %285, %228, %171, %118
  %290 = load ptr, ptr %12, align 8
  %291 = load i32, ptr %13, align 4
  %292 = insertvalue { ptr, i32 } poison, ptr %290, 0
  %293 = insertvalue { ptr, i32 } %292, i32 %291, 1
  resume { ptr, i32 } %293
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #3 align 2

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

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

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

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

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

; 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 dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7generic5RangeImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18MakeFilterIteratorIN7generic5RangeImEEE14FilterIteratorIT_ES4_NS5_4FuncE(ptr dead_on_unwind noalias writable sret(%class.FilterIterator) align 8, i64, i64, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18MakeFilterIteratorI14FilterIteratorIN7generic5RangeImEEEES0_IT_ES5_NS6_4FuncE(ptr dead_on_unwind noalias writable sret(%class.FilterIterator.0) align 8, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE8iteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21MakeTransformIteratorImN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind noalias writable sret(%class.TransformIterator) align 8, i64, i64, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFmmEEC2IZ4mainE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21MakeTransformIteratorIdN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind noalias writable sret(%class.TransformIterator.10) align 8, i64, i64, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFdmEEC2IZ4mainE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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


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

%"class.std::basic_ostream" = type { ptr, %"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.generic::Range" = type { i64, i64 }
%"class.generic::Range<unsigned long>::iterator" = type { i64 }
%class.FilterIterator = type { %"class.generic::Range", %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon = type { i8 }
%"class.FilterIterator<generic::Range<unsigned long>>::iterator" = type { %"class.generic::Range<unsigned long>::iterator", ptr }
%class.FilterIterator.0 = type { %class.FilterIterator, %"class.std::function" }
%class.anon.1 = type { i8 }
%class.anon.3 = type { i8 }
%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator" = type { %"class.FilterIterator<generic::Range<unsigned long>>::iterator", ptr }
%class.TransformIterator = type { %"class.generic::Range", %"class.std::function.5" }
%"class.std::function.5" = type { %"class.std::_Function_base", ptr }
%class.anon.8 = type { i8 }
%"class.TransformIterator<unsigned long, generic::Range<unsigned long>>::iterator" = type { %"class.generic::Range<unsigned long>::iterator", ptr }
%class.TransformIterator.10 = type { %"class.generic::Range", %"class.std::function.11" }
%"class.std::function.11" = type { %"class.std::_Function_base", ptr }
%class.anon.14 = type { i8 }
%"class.TransformIterator<double, generic::Range<unsigned long>>::iterator" = type { %"class.generic::Range<unsigned long>::iterator", ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [65 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [181 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [130 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.generic::Range", align 8
  %2 = alloca %"class.generic::Range<unsigned long>::iterator", align 8
  %3 = alloca %"class.generic::Range<unsigned long>::iterator", align 8
  %4 = alloca %class.FilterIterator, align 8
  %5 = alloca %"class.generic::Range", align 8
  %6 = alloca %"class.std::function", align 8
  %7 = alloca %class.anon, align 1
  %8 = alloca %"class.FilterIterator<generic::Range<unsigned long>>::iterator", align 8
  %9 = alloca %"class.FilterIterator<generic::Range<unsigned long>>::iterator", align 8
  %10 = alloca %class.FilterIterator.0, align 8
  %11 = alloca %class.FilterIterator, align 8
  %12 = alloca %"class.generic::Range", align 8
  %13 = alloca %"class.std::function", align 8
  %14 = alloca %class.anon.1, align 1
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %class.anon.3, align 1
  %17 = alloca %"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator", align 8
  %18 = alloca %"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator", align 8
  %19 = alloca %class.TransformIterator, align 8
  %20 = alloca %"class.generic::Range", align 8
  %21 = alloca %"class.std::function.5", align 8
  %22 = alloca %class.anon.8, align 1
  %23 = alloca %"class.TransformIterator<unsigned long, generic::Range<unsigned long>>::iterator", align 8
  %24 = alloca %"class.TransformIterator<unsigned long, generic::Range<unsigned long>>::iterator", align 8
  %25 = alloca %class.TransformIterator.10, align 8
  %26 = alloca %"class.generic::Range", align 8
  %27 = alloca %"class.std::function.11", align 8
  %28 = alloca %class.anon.14, align 1
  %29 = alloca %"class.TransformIterator<double, generic::Range<unsigned long>>::iterator", align 8
  %30 = alloca %"class.TransformIterator<double, generic::Range<unsigned long>>::iterator", align 8
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %1, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %33 = call i64 @_ZNK7generic5RangeImE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  store i64 %33, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %34 = call i64 @_ZNK7generic5RangeImE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  store i64 %34, ptr %3, align 8
  %35 = call noundef zeroext i1 @_ZNK7generic5RangeImE8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %35, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #6
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  %39 = load i64, ptr %5, align 8
  %40 = getelementptr inbounds i8, ptr %5, i64 8
  %41 = load i64, ptr %40, align 8
  invoke void @_Z18MakeFilterIteratorIN7generic5RangeImEEE14FilterIteratorIT_ES4_NS5_4FuncE(ptr dead_on_unwind nonnull writable sret(%class.FilterIterator) align 8 %4, i64 %39, i64 %41, ptr noundef nonnull %6)
          to label %47 unwind label %67

.lr.ph:                                           ; preds = %0, %.lr.ph
  %42 = call noundef i64 @_ZNK7generic5RangeImE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %42)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.2)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN7generic5RangeImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %46 = call noundef zeroext i1 @_ZNK7generic5RangeImE8iteratorneERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %46, label %.lr.ph, label %._crit_edge

47:                                               ; preds = %._crit_edge
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %48 = invoke { i64, ptr } @_ZNK14FilterIteratorIN7generic5RangeImEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %4)
          to label %49 unwind label %69

49:                                               ; preds = %47
  %50 = extractvalue { i64, ptr } %48, 0
  store i64 %50, ptr %8, align 8
  %51 = getelementptr inbounds i8, ptr %8, i64 8
  %52 = extractvalue { i64, ptr } %48, 1
  store ptr %52, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %53 = invoke { i64, ptr } @_ZNK14FilterIteratorIN7generic5RangeImEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4)
          to label %54 unwind label %.loopexit.split-lp50

54:                                               ; preds = %49
  %55 = extractvalue { i64, ptr } %53, 0
  store i64 %55, ptr %9, align 8
  %56 = getelementptr inbounds i8, ptr %9, i64 8
  %57 = extractvalue { i64, ptr } %53, 1
  store ptr %57, ptr %56, align 8
  br label %58

58:                                               ; preds = %76, %54
  %59 = call noundef zeroext i1 @_ZNK14FilterIteratorIN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9)
  br i1 %59, label %71, label %60

60:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %10) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %12, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  %64 = load i64, ptr %12, align 8
  %65 = getelementptr inbounds i8, ptr %12, i64 8
  %66 = load i64, ptr %65, align 8
  invoke void @_Z18MakeFilterIteratorIN7generic5RangeImEEE14FilterIteratorIT_ES4_NS5_4FuncE(ptr dead_on_unwind nonnull writable sret(%class.FilterIterator) align 8 %11, i64 %64, i64 %66, ptr noundef nonnull %13)
          to label %82 unwind label %93

67:                                               ; preds = %._crit_edge
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %178

69:                                               ; preds = %47
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %81

.loopexit49:                                      ; preds = %76
  %lpad.loopexit51 = landingpad { ptr, i32 }
          cleanup
  br label %80

.loopexit.split-lp50:                             ; preds = %49
  %lpad.loopexit.split-lp52 = landingpad { ptr, i32 }
          cleanup
  br label %80

71:                                               ; preds = %58
  %72 = call noundef i64 @_ZN14FilterIteratorIN7generic5RangeImEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %72)
          to label %74 unwind label %78

74:                                               ; preds = %71
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull @.str.2)
          to label %76 unwind label %78

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN14FilterIteratorIN7generic5RangeImEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %58 unwind label %.loopexit49

78:                                               ; preds = %74, %71
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %80

80:                                               ; preds = %.loopexit49, %.loopexit.split-lp50, %78
  %.pn44 = phi { ptr, i32 } [ %79, %78 ], [ %lpad.loopexit51, %.loopexit49 ], [ %lpad.loopexit.split-lp52, %.loopexit.split-lp50 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %81

81:                                               ; preds = %80, %69
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %80 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  br label %178

82:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_Z18MakeFilterIteratorI14FilterIteratorIN7generic5RangeImEEEES0_IT_ES5_NS6_4FuncE(ptr dead_on_unwind nonnull writable sret(%class.FilterIterator.0) align 8 %10, ptr noundef nonnull %11, ptr noundef nonnull %15)
          to label %83 unwind label %95

83:                                               ; preds = %82
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  invoke void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(80) %10)
          to label %84 unwind label %98

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  invoke void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8 %18, ptr noundef nonnull align 8 dereferenceable(80) %10)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %84, %105
  %85 = call noundef zeroext i1 @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE8iteratorneERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %18)
  br i1 %85, label %100, label %86

86:                                               ; preds = %.preheader
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @_ZN14FilterIteratorIS_IN7generic5RangeImEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %10) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #6
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %20, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #6
  call void @"_ZNSt8functionIFmmEEC2IZ4mainE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  %90 = load i64, ptr %20, align 8
  %91 = getelementptr inbounds i8, ptr %20, i64 8
  %92 = load i64, ptr %91, align 8
  invoke void @_Z21MakeTransformIteratorImN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind nonnull writable sret(%class.TransformIterator) align 8 %19, i64 %90, i64 %92, ptr noundef nonnull %21)
          to label %111 unwind label %129

93:                                               ; preds = %60
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %97

95:                                               ; preds = %82
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @_ZN14FilterIteratorIN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  br label %97

97:                                               ; preds = %95, %93
  %.pn = phi { ptr, i32 } [ %96, %95 ], [ %94, %93 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %178

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

.loopexit:                                        ; preds = %105
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %109

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

100:                                              ; preds = %.preheader
  %101 = call noundef i64 @_ZN14FilterIteratorIS_IN7generic5RangeImEEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(24) %17)
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %101)
          to label %103 unwind label %107

103:                                              ; preds = %100
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.2)
          to label %105 unwind label %107

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN14FilterIteratorIS_IN7generic5RangeImEEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %.preheader unwind label %.loopexit

107:                                              ; preds = %103, %100
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %109

109:                                              ; preds = %.loopexit, %.loopexit.split-lp, %107
  %.pn40 = phi { ptr, i32 } [ %108, %107 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  br label %110

110:                                              ; preds = %109, %98
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %109 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @_ZN14FilterIteratorIS_IN7generic5RangeImEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %10) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %10) #6
  br label %178

111:                                              ; preds = %86
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #6
  %112 = invoke { i64, ptr } @_ZNK17TransformIteratorImN7generic5RangeImEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %113 unwind label %131

113:                                              ; preds = %111
  %114 = extractvalue { i64, ptr } %112, 0
  store i64 %114, ptr %23, align 8
  %115 = getelementptr inbounds i8, ptr %23, i64 8
  %116 = extractvalue { i64, ptr } %112, 1
  store ptr %116, ptr %115, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #6
  %117 = invoke { i64, ptr } @_ZNK17TransformIteratorImN7generic5RangeImEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %118 unwind label %133

118:                                              ; preds = %113
  %119 = extractvalue { i64, ptr } %117, 0
  store i64 %119, ptr %24, align 8
  %120 = getelementptr inbounds i8, ptr %24, i64 8
  %121 = extractvalue { i64, ptr } %117, 1
  store ptr %121, ptr %120, align 8
  %122 = call noundef zeroext i1 @_ZNK17TransformIteratorImN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %24)
  br i1 %122, label %.lr.ph55, label %._crit_edge56

._crit_edge56:                                    ; preds = %140, %118
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  call void @_ZN17TransformIteratorImN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull @.str.1)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #6
  call void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %26, i64 noundef 10, i64 noundef 20)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #6
  call void @"_ZNSt8functionIFdmEEC2IZ4mainE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  %126 = load i64, ptr %26, align 8
  %127 = getelementptr inbounds i8, ptr %26, i64 8
  %128 = load i64, ptr %127, align 8
  invoke void @_Z21MakeTransformIteratorIdN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind nonnull writable sret(%class.TransformIterator.10) align 8 %25, i64 %126, i64 %128, ptr noundef nonnull %27)
          to label %147 unwind label %160

129:                                              ; preds = %86
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  br label %178

131:                                              ; preds = %111
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %146

133:                                              ; preds = %113
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %145

.lr.ph55:                                         ; preds = %118, %140
  %135 = invoke noundef i64 @_ZN17TransformIteratorImN7generic5RangeImEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %136 unwind label %143

136:                                              ; preds = %.lr.ph55
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %135)
          to label %138 unwind label %143

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull @.str.2)
          to label %140 unwind label %143

140:                                              ; preds = %138
  %141 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN17TransformIteratorImN7generic5RangeImEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  %142 = call noundef zeroext i1 @_ZNK17TransformIteratorImN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %24)
  br i1 %142, label %.lr.ph55, label %._crit_edge56

143:                                              ; preds = %138, %136, %.lr.ph55
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %145

145:                                              ; preds = %143, %133
  %.pn36 = phi { ptr, i32 } [ %144, %143 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #6
  br label %146

146:                                              ; preds = %145, %131
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %145 ], [ %132, %131 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #6
  call void @_ZN17TransformIteratorImN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #6
  br label %178

147:                                              ; preds = %._crit_edge56
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #6
  %148 = invoke { i64, ptr } @_ZNK17TransformIteratorIdN7generic5RangeImEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %149 unwind label %162

149:                                              ; preds = %147
  %150 = extractvalue { i64, ptr } %148, 0
  store i64 %150, ptr %29, align 8
  %151 = getelementptr inbounds i8, ptr %29, i64 8
  %152 = extractvalue { i64, ptr } %148, 1
  store ptr %152, ptr %151, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #6
  %153 = invoke { i64, ptr } @_ZNK17TransformIteratorIdN7generic5RangeImEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %154 unwind label %164

154:                                              ; preds = %149
  %155 = extractvalue { i64, ptr } %153, 0
  store i64 %155, ptr %30, align 8
  %156 = getelementptr inbounds i8, ptr %30, i64 8
  %157 = extractvalue { i64, ptr } %153, 1
  store ptr %157, ptr %156, align 8
  %158 = call noundef zeroext i1 @_ZNK17TransformIteratorIdN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %30)
  br i1 %158, label %.lr.ph58, label %._crit_edge59

._crit_edge59:                                    ; preds = %171, %154
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #6
  call void @_ZN17TransformIteratorIdN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #6
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  ret i32 0

160:                                              ; preds = %._crit_edge56
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #6
  br label %178

162:                                              ; preds = %147
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %177

164:                                              ; preds = %149
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %176

.lr.ph58:                                         ; preds = %154, %171
  %166 = invoke noundef double @_ZN17TransformIteratorIdN7generic5RangeImEEE8iteratordeEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %167 unwind label %174

167:                                              ; preds = %.lr.ph58
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %166)
          to label %169 unwind label %174

169:                                              ; preds = %167
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %168, ptr noundef nonnull @.str.2)
          to label %171 unwind label %174

171:                                              ; preds = %169
  %172 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN17TransformIteratorIdN7generic5RangeImEEE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %173 = call noundef zeroext i1 @_ZNK17TransformIteratorIdN7generic5RangeImEEE8iteratorneERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %30)
  br i1 %173, label %.lr.ph58, label %._crit_edge59

174:                                              ; preds = %169, %167, %.lr.ph58
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %176

176:                                              ; preds = %174, %164
  %.pn32 = phi { ptr, i32 } [ %175, %174 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #6
  br label %177

177:                                              ; preds = %176, %162
  %.pn32.pn = phi { ptr, i32 } [ %.pn32, %176 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #6
  call void @_ZN17TransformIteratorIdN7generic5RangeImEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #6
  br label %178

178:                                              ; preds = %160, %177, %129, %146, %97, %110, %67, %81
  %.pn44.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn, %81 ], [ %68, %67 ], [ %.pn40.pn, %110 ], [ %.pn, %97 ], [ %.pn36.pn, %146 ], [ %130, %129 ], [ %.pn32.pn, %177 ], [ %161, %160 ]
  resume { ptr, i32 } %.pn44.pn.pn.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7generic5RangeImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #3 align 2

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

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

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

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

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

; 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 dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7generic5RangeImE8iteratorppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18MakeFilterIteratorIN7generic5RangeImEEE14FilterIteratorIT_ES4_NS5_4FuncE(ptr dead_on_unwind noalias writable sret(%class.FilterIterator) align 8, i64, i64, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z18MakeFilterIteratorI14FilterIteratorIN7generic5RangeImEEEES0_IT_ES5_NS6_4FuncE(ptr dead_on_unwind noalias writable sret(%class.FilterIterator.0) align 8, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbmEEC2IZ4mainE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK14FilterIteratorIS_IN7generic5RangeImEEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.FilterIterator<FilterIterator<generic::Range<unsigned long>>>::iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21MakeTransformIteratorImN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind noalias writable sret(%class.TransformIterator) align 8, i64, i64, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFmmEEC2IZ4mainE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z21MakeTransformIteratorIdN7generic5RangeImEEE17TransformIteratorIT_T0_ES5_NS6_4FuncE(ptr dead_on_unwind noalias writable sret(%class.TransformIterator.10) align 8, i64, i64, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFdmEEC2IZ4mainE3$_4vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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


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