; LLVM IR from sgtlaugh/algovault :: code_library (linear_recurrence)

; 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"

%struct.LinearRecurrence = type { i64, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.5" = type { i8 }

@constinit = external hidden constant [6 x i32], align 4
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [87 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [48 x i8], align 1
@stderr = external global ptr, align 8
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.LinearRecurrence, align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::initializer_list", align 8
  %11 = alloca [3 x i32], align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::initializer_list", align 8
  %15 = alloca [6 x i32], align 4
  %16 = alloca %struct.LinearRecurrence, align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::initializer_list", align 8
  %20 = alloca [2 x i32], align 4
  %21 = alloca %"class.std::initializer_list", align 8
  %22 = alloca [4 x i32], align 4
  %23 = alloca %struct.LinearRecurrence, align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %struct.LinearRecurrence, align 8
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca %"class.std::vector", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %"class.std::initializer_list", align 8
  %32 = alloca [2 x i32], align 4
  %33 = alloca %"class.std::allocator.5", align 1
  %34 = alloca i64, align 8
  %35 = alloca %struct.LinearRecurrence, align 8
  %36 = alloca %"class.std::vector", align 8
  %37 = alloca %"class.std::vector", align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr %7) #10
  call void @_ZN16LinearRecurrenceC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7)
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #10
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #10
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #10
  store i32 1, ptr %11, align 4, !tbaa !5
  %38 = getelementptr inbounds i32, ptr %11, i64 1
  store i32 2, ptr %38, align 4, !tbaa !5
  %39 = getelementptr inbounds i32, ptr %11, i64 2
  store i32 4, ptr %39, align 4, !tbaa !5
  %40 = getelementptr inbounds %"class.std::initializer_list", ptr %10, i32 0, i32 0
  store ptr %11, ptr %40, align 8, !tbaa !9
  %41 = getelementptr inbounds %"class.std::initializer_list", ptr %10, i32 0, i32 1
  store i64 3, ptr %41, align 8, !tbaa !13
  %42 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8
  %44 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %45 = load i64, ptr %44, align 8
  %46 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr %43, i64 %45)
          to label %47 unwind label %66

47:                                               ; preds = %0
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 @constinit, i64 24, i1 false), !tbaa.struct !14
  %48 = getelementptr inbounds %"class.std::initializer_list", ptr %14, i32 0, i32 0
  store ptr %15, ptr %48, align 8, !tbaa !9
  %49 = getelementptr inbounds %"class.std::initializer_list", ptr %14, i32 0, i32 1
  store i64 6, ptr %49, align 8, !tbaa !13
  %50 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8
  %52 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %53 = load i64, ptr %52, align 8
  %54 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %51, i64 %53)
          to label %55 unwind label %70

55:                                               ; preds = %47
  store i32 100, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr %16) #10
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %56 unwind label %74

56:                                               ; preds = %55
  %57 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %58 unwind label %78

58:                                               ; preds = %56
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %16, ptr noundef %17, i32 noundef %57, ptr noundef %18)
          to label %59 unwind label %82

59:                                               ; preds = %58
  %60 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 8 dereferenceable(80) %16) #10
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %16) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %16) #10
  %61 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 6)
          to label %62 unwind label %88

62:                                               ; preds = %59
  %63 = icmp eq i32 %61, 44
  br i1 %63, label %64, label %65

64:                                               ; preds = %62
  br label %93

65:                                               ; preds = %62
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.7, i32 noundef 607, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

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

70:                                               ; preds = %47
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %12, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  br label %348

74:                                               ; preds = %55
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %12, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %13, align 4
  br label %87

78:                                               ; preds = %56
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %12, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %13, align 4
  br label %86

82:                                               ; preds = %58
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %12, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %13, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  br label %86

86:                                               ; preds = %82, %78
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  br label %87

87:                                               ; preds = %86, %74
  call void @llvm.lifetime.end.p0(i64 80, ptr %16) #10
  br label %348

88:                                               ; preds = %298, %268, %223, %216, %209, %192, %182, %175, %168, %138, %107, %100, %93, %59
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %12, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %13, align 4
  br label %348

92:                                               ; No predecessors!
  br label %93

93:                                               ; preds = %92, %64
  %94 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 9)
          to label %95 unwind label %88

95:                                               ; preds = %93
  %96 = icmp eq i32 %94, 90
  br i1 %96, label %97, label %98

97:                                               ; preds = %95
  br label %100

98:                                               ; preds = %95
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.7, i32 noundef 608, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

99:                                               ; No predecessors!
  br label %100

100:                                              ; preds = %99, %97
  %101 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 10)
          to label %102 unwind label %88

102:                                              ; preds = %100
  %103 = icmp eq i32 %101, 83
  br i1 %103, label %104, label %105

104:                                              ; preds = %102
  br label %107

105:                                              ; preds = %102
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.7, i32 noundef 609, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

106:                                              ; No predecessors!
  br label %107

107:                                              ; preds = %106, %104
  %108 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 1000000000000000000)
          to label %109 unwind label %88

109:                                              ; preds = %107
  %110 = icmp eq i32 %108, 19
  br i1 %110, label %111, label %112

111:                                              ; preds = %109
  br label %114

112:                                              ; preds = %109
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.7, i32 noundef 610, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

113:                                              ; No predecessors!
  br label %114

114:                                              ; preds = %113, %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  store i32 1, ptr %20, align 4, !tbaa !5
  %115 = getelementptr inbounds i32, ptr %20, i64 1
  store i32 1, ptr %115, align 4, !tbaa !5
  %116 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 0
  store ptr %20, ptr %116, align 8, !tbaa !9
  %117 = getelementptr inbounds %"class.std::initializer_list", ptr %19, i32 0, i32 1
  store i64 2, ptr %117, align 8, !tbaa !13
  %118 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  %120 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %121 = load i64, ptr %120, align 8
  %122 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr %119, i64 %121)
          to label %123 unwind label %145

123:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #10
  store i32 0, ptr %22, align 4, !tbaa !5
  %124 = getelementptr inbounds i32, ptr %22, i64 1
  store i32 1, ptr %124, align 4, !tbaa !5
  %125 = getelementptr inbounds i32, ptr %22, i64 2
  store i32 1, ptr %125, align 4, !tbaa !5
  %126 = getelementptr inbounds i32, ptr %22, i64 3
  store i32 2, ptr %126, align 4, !tbaa !5
  %127 = getelementptr inbounds %"class.std::initializer_list", ptr %21, i32 0, i32 0
  store ptr %22, ptr %127, align 8, !tbaa !9
  %128 = getelementptr inbounds %"class.std::initializer_list", ptr %21, i32 0, i32 1
  store i64 4, ptr %128, align 8, !tbaa !13
  %129 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8
  %131 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %132 = load i64, ptr %131, align 8
  %133 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %130, i64 %132)
          to label %134 unwind label %149

134:                                              ; preds = %123
  store i32 1000000007, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr %23) #10
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %135 unwind label %153

135:                                              ; preds = %134
  %136 = load i32, ptr %6, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %137 unwind label %157

137:                                              ; preds = %135
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %23, ptr noundef %24, i32 noundef %136, ptr noundef %25)
          to label %138 unwind label %161

138:                                              ; preds = %137
  %139 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 8 dereferenceable(80) %23) #10
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %23) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #10
  %140 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 8)
          to label %141 unwind label %88

141:                                              ; preds = %138
  %142 = icmp eq i32 %140, 21
  br i1 %142, label %143, label %144

143:                                              ; preds = %141
  br label %168

144:                                              ; preds = %141
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.7, i32 noundef 617, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

145:                                              ; preds = %114
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %12, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %348

149:                                              ; preds = %123
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %12, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #10
  br label %348

153:                                              ; preds = %134
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %12, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %13, align 4
  br label %166

157:                                              ; preds = %135
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %12, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %13, align 4
  br label %165

161:                                              ; preds = %137
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %12, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %13, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  br label %165

165:                                              ; preds = %161, %157
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  br label %166

166:                                              ; preds = %165, %153
  call void @llvm.lifetime.end.p0(i64 80, ptr %23) #10
  br label %348

167:                                              ; No predecessors!
  br label %168

168:                                              ; preds = %167, %143
  %169 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 9)
          to label %170 unwind label %88

170:                                              ; preds = %168
  %171 = icmp eq i32 %169, 34
  br i1 %171, label %172, label %173

172:                                              ; preds = %170
  br label %175

173:                                              ; preds = %170
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.7, i32 noundef 618, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

174:                                              ; No predecessors!
  br label %175

175:                                              ; preds = %174, %172
  %176 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 10)
          to label %177 unwind label %88

177:                                              ; preds = %175
  %178 = icmp eq i32 %176, 55
  br i1 %178, label %179, label %180

179:                                              ; preds = %177
  br label %182

180:                                              ; preds = %177
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.7, i32 noundef 619, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

181:                                              ; No predecessors!
  br label %182

182:                                              ; preds = %181, %179
  %183 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 1000000000000000000)
          to label %184 unwind label %88

184:                                              ; preds = %182
  %185 = icmp eq i32 %183, 209783453
  br i1 %185, label %186, label %187

186:                                              ; preds = %184
  br label %189

187:                                              ; preds = %184
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.7, i32 noundef 620, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

188:                                              ; No predecessors!
  br label %189

189:                                              ; preds = %188, %186
  call void @llvm.lifetime.start.p0(i64 80, ptr %26) #10
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %190 unwind label %199

190:                                              ; preds = %189
  %191 = load i32, ptr %6, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #10
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %26, ptr noundef %27, i32 noundef %191, ptr noundef %28)
          to label %192 unwind label %203

192:                                              ; preds = %190
  %193 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 8 dereferenceable(80) %26) #10
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %26) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #10
  %194 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 8)
          to label %195 unwind label %88

195:                                              ; preds = %192
  %196 = icmp eq i32 %194, 21
  br i1 %196, label %197, label %198

197:                                              ; preds = %195
  br label %209

198:                                              ; preds = %195
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.7, i32 noundef 624, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

199:                                              ; preds = %189
  %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
  br label %207

203:                                              ; preds = %190
  %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
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #10
  br label %207

207:                                              ; preds = %203, %199
  call void @llvm.lifetime.end.p0(i64 80, ptr %26) #10
  br label %348

208:                                              ; No predecessors!
  br label %209

209:                                              ; preds = %208, %197
  %210 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 9)
          to label %211 unwind label %88

211:                                              ; preds = %209
  %212 = icmp eq i32 %210, 34
  br i1 %212, label %213, label %214

213:                                              ; preds = %211
  br label %216

214:                                              ; preds = %211
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.7, i32 noundef 625, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

215:                                              ; No predecessors!
  br label %216

216:                                              ; preds = %215, %213
  %217 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 10)
          to label %218 unwind label %88

218:                                              ; preds = %216
  %219 = icmp eq i32 %217, 55
  br i1 %219, label %220, label %221

220:                                              ; preds = %218
  br label %223

221:                                              ; preds = %218
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.7, i32 noundef 626, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

222:                                              ; No predecessors!
  br label %223

223:                                              ; preds = %222, %220
  %224 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 1000000000000000000)
          to label %225 unwind label %88

225:                                              ; preds = %223
  %226 = icmp eq i32 %224, 209783453
  br i1 %226, label %227, label %228

227:                                              ; preds = %225
  br label %230

228:                                              ; preds = %225
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.7, i32 noundef 627, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

229:                                              ; No predecessors!
  br label %230

230:                                              ; preds = %229, %227
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #10
  invoke void @_ZN16LinearRecurrence9nth_termsExi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %29, ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 8, i32 noundef 2)
          to label %231 unwind label %244

231:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  store i32 21, ptr %32, align 4, !tbaa !5
  %232 = getelementptr inbounds i32, ptr %32, i64 1
  store i32 34, ptr %232, align 4, !tbaa !5
  %233 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 0
  store ptr %32, ptr %233, align 8, !tbaa !9
  %234 = getelementptr inbounds %"class.std::initializer_list", ptr %31, i32 0, i32 1
  store i64 2, ptr %234, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #10
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #10
  %235 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %236 = load ptr, ptr %235, align 8
  %237 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %238 = load i64, ptr %237, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr %236, i64 %238, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %239 unwind label %248

239:                                              ; preds = %231
  %240 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %30)
          to label %241 unwind label %252

241:                                              ; preds = %239
  br i1 %240, label %242, label %243

242:                                              ; preds = %241
  br label %257

243:                                              ; preds = %241
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.7, i32 noundef 630, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

244:                                              ; preds = %230
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %12, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %13, align 4
  br label %271

248:                                              ; preds = %231
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %12, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %13, align 4
  br label %270

252:                                              ; preds = %239
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %12, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %13, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #10
  br label %270

256:                                              ; No predecessors!
  br label %257

257:                                              ; preds = %256, %242
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #10
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #10
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  store i32 10000, ptr %4, align 4, !tbaa !5
  store i32 1000000007, ptr %6, align 4, !tbaa !5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %258

258:                                              ; preds = %301, %257
  %259 = load i32, ptr %2, align 4, !tbaa !5
  %260 = load i32, ptr %4, align 4, !tbaa !5
  %261 = mul nsw i32 2, %260
  %262 = add nsw i32 %261, 10
  %263 = icmp slt i32 %259, %262
  br i1 %263, label %264, label %304

264:                                              ; preds = %258
  %265 = load i32, ptr %2, align 4, !tbaa !5
  %266 = load i32, ptr %4, align 4, !tbaa !5
  %267 = icmp slt i32 %265, %266
  br i1 %267, label %268, label %272

268:                                              ; preds = %264
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %269 unwind label %88

269:                                              ; preds = %268
  br label %300

270:                                              ; preds = %252, %248
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #10
  br label %271

271:                                              ; preds = %270, %244
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #10
  br label %348

272:                                              ; preds = %264
  store i32 0, ptr %5, align 4, !tbaa !5
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %273

273:                                              ; preds = %295, %272
  %274 = load i32, ptr %3, align 4, !tbaa !5
  %275 = load i32, ptr %4, align 4, !tbaa !5
  %276 = icmp sle i32 %274, %275
  br i1 %276, label %277, label %298

277:                                              ; preds = %273
  %278 = load i32, ptr %5, align 4, !tbaa !5
  %279 = sext i32 %278 to i64
  %280 = load i32, ptr %2, align 4, !tbaa !5
  %281 = load i32, ptr %3, align 4, !tbaa !5
  %282 = sub nsw i32 %280, %281
  %283 = sext i32 %282 to i64
  %284 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %283) #10
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = load i32, ptr %3, align 4, !tbaa !5
  %288 = sext i32 %287 to i64
  %289 = mul nsw i64 %286, %288
  %290 = add nsw i64 %279, %289
  %291 = load i32, ptr %6, align 4, !tbaa !5
  %292 = sext i32 %291 to i64
  %293 = srem i64 %290, %292
  %294 = trunc i64 %293 to i32
  store i32 %294, ptr %5, align 4, !tbaa !5
  br label %295

295:                                              ; preds = %277
  %296 = load i32, ptr %3, align 4, !tbaa !5
  %297 = add nsw i32 %296, 1
  store i32 %297, ptr %3, align 4, !tbaa !5
  br label %273, !llvm.loop !16

298:                                              ; preds = %273
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %299 unwind label %88

299:                                              ; preds = %298
  br label %300

300:                                              ; preds = %299, %269
  br label %301

301:                                              ; preds = %300
  %302 = load i32, ptr %2, align 4, !tbaa !5
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr %2, align 4, !tbaa !5
  br label %258, !llvm.loop !18

304:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %305 = call i64 @clock() #10
  store i64 %305, ptr %34, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 80, ptr %35) #10
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %306 unwind label %317

306:                                              ; preds = %304
  %307 = load i32, ptr %6, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %35, ptr noundef %36, i32 noundef %307, ptr noundef %37)
          to label %308 unwind label %321

308:                                              ; preds = %306
  %309 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 8 dereferenceable(80) %35) #10
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %35) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %35) #10
  %310 = getelementptr inbounds %struct.LinearRecurrence, ptr %7, i32 0, i32 3
  %311 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %310) #10
  %312 = trunc i64 %311 to i32
  %313 = load i32, ptr %4, align 4, !tbaa !5
  %314 = icmp eq i32 %312, %313
  br i1 %314, label %315, label %316

315:                                              ; preds = %308
  br label %327

316:                                              ; preds = %308
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.7, i32 noundef 655, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

317:                                              ; preds = %304
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %12, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %13, align 4
  br label %325

321:                                              ; preds = %306
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %12, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %13, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #10
  br label %325

325:                                              ; preds = %321, %317
  call void @llvm.lifetime.end.p0(i64 80, ptr %35) #10
  br label %347

326:                                              ; No predecessors!
  br label %327

327:                                              ; preds = %326, %315
  %328 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %7, i64 noundef 1000000000000000000)
          to label %329 unwind label %333

329:                                              ; preds = %327
  %330 = icmp eq i32 %328, 255380209
  br i1 %330, label %331, label %332

331:                                              ; preds = %329
  br label %338

332:                                              ; preds = %329
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.7, i32 noundef 656, ptr noundef @__PRETTY_FUNCTION__.main) #11
  unreachable

333:                                              ; preds = %327
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %12, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %13, align 4
  br label %347

337:                                              ; No predecessors!
  br label %338

338:                                              ; preds = %337, %331
  %339 = load ptr, ptr @stderr, align 8, !tbaa !20
  %340 = call i64 @clock() #10
  %341 = load i64, ptr %34, align 8, !tbaa !19
  %342 = sub nsw i64 %340, %341
  %343 = sitofp i64 %342 to double
  %344 = fdiv double %343, 1.000000e+06
  %345 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %339, ptr noundef @.str.18, double noundef %344) #10
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #10
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  %346 = load i32, ptr %1, align 4
  ret i32 %346

347:                                              ; preds = %333, %325
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %348

348:                                              ; preds = %347, %271, %207, %166, %149, %145, %88, %87, %70, %66
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #10
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #10
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  br label %349

349:                                              ; preds = %348
  %350 = load ptr, ptr %12, align 8
  %351 = load i32, ptr %13, align 4
  %352 = insertvalue { ptr, i32 } poison, ptr %350, 0
  %353 = insertvalue { ptr, i32 } %352, i32 %351, 1
  resume { ptr, i32 } %353
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16LinearRecurrence9nth_termsExi(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(80), i64 noundef, i32 noundef) #5 align 2

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

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

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

; Function Attrs: nounwind
declare i64 @clock() #9

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #9

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

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

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

%struct.LinearRecurrence = type { i64, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }

@constinit = external hidden local_unnamed_addr constant [6 x i32], align 4
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [87 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [48 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %struct.LinearRecurrence, align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca [3 x i32], align 4
  %7 = alloca [6 x i32], align 4
  %8 = alloca %struct.LinearRecurrence, align 8
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca [2 x i32], align 4
  %12 = alloca [4 x i32], align 16
  %13 = alloca %struct.LinearRecurrence, align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %struct.LinearRecurrence, align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca [2 x i32], align 4
  %22 = alloca %"class.std::allocator.5", align 1
  %23 = alloca %struct.LinearRecurrence, align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca %"class.std::vector", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #11
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #11
  call void @_ZN16LinearRecurrenceC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #11
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #11
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #11
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #11
  store i32 1, ptr %6, align 4, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 2, ptr %26, align 4, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %6, i64 8
  store i32 4, ptr %27, align 4, !tbaa !5
  %28 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %6, i64 3)
          to label %29 unwind label %40

29:                                               ; preds = %0
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(24) @constinit, i64 24, i1 false), !tbaa.struct !9
  %30 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr nonnull %7, i64 6)
          to label %31 unwind label %42

31:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #11
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %8) #11
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %32 unwind label %44

32:                                               ; preds = %31
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %33 unwind label %46

33:                                               ; preds = %32
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %8, ptr noundef nonnull %9, i32 noundef 100, ptr noundef nonnull %10)
          to label %34 unwind label %48

34:                                               ; preds = %33
  %35 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(80) %8) #11
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %8) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %8) #11
  %36 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 6)
          to label %37 unwind label %.loopexit.split-lp

37:                                               ; preds = %34
  %38 = icmp eq i32 %36, 44
  br i1 %38, label %52, label %39

39:                                               ; preds = %37
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, i32 noundef 607, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

40:                                               ; preds = %0
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #11
  br label %202

42:                                               ; preds = %29
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #11
  br label %202

44:                                               ; preds = %31
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %51

46:                                               ; preds = %32
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %50

48:                                               ; preds = %33
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #11
  br label %50

50:                                               ; preds = %48, %46
  %.pn = phi { ptr, i32 } [ %49, %48 ], [ %47, %46 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #11
  br label %51

51:                                               ; preds = %50, %44
  %.pn.pn = phi { ptr, i32 } [ %.pn, %50 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %8) #11
  br label %202

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

.loopexit.split-lp:                               ; preds = %34, %52, %57, %62, %75, %93, %98, %103, %110, %121, %126, %131
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %202

52:                                               ; preds = %37
  %53 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 9)
          to label %54 unwind label %.loopexit.split-lp

54:                                               ; preds = %52
  %55 = icmp eq i32 %53, 90
  br i1 %55, label %57, label %56

56:                                               ; preds = %54
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.7, i32 noundef 608, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

57:                                               ; preds = %54
  %58 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 10)
          to label %59 unwind label %.loopexit.split-lp

59:                                               ; preds = %57
  %60 = icmp eq i32 %58, 83
  br i1 %60, label %62, label %61

61:                                               ; preds = %59
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.7, i32 noundef 609, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

62:                                               ; preds = %59
  %63 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 1000000000000000000)
          to label %64 unwind label %.loopexit.split-lp

64:                                               ; preds = %62
  %65 = icmp eq i32 %63, 19
  br i1 %65, label %67, label %66

66:                                               ; preds = %64
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.7, i32 noundef 610, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

67:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  store i32 1, ptr %11, align 4, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %11, i64 4
  store i32 1, ptr %68, align 4, !tbaa !5
  %69 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %11, i64 2)
          to label %70 unwind label %81

70:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  store <4 x i32> <i32 0, i32 1, i32 1, i32 2>, ptr %12, align 16, !tbaa !5
  %71 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr nonnull %12, i64 4)
          to label %72 unwind label %83

72:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %13) #11
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %73 unwind label %85

73:                                               ; preds = %72
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %74 unwind label %87

74:                                               ; preds = %73
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %13, ptr noundef nonnull %14, i32 noundef 1000000007, ptr noundef nonnull %15)
          to label %75 unwind label %89

75:                                               ; preds = %74
  %76 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(80) %13) #11
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %13) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #11
  %77 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 8)
          to label %78 unwind label %.loopexit.split-lp

78:                                               ; preds = %75
  %79 = icmp eq i32 %77, 21
  br i1 %79, label %93, label %80

80:                                               ; preds = %78
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.7, i32 noundef 617, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

81:                                               ; preds = %67
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %202

83:                                               ; preds = %70
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  br label %202

85:                                               ; preds = %72
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %92

87:                                               ; preds = %73
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %91

89:                                               ; preds = %74
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #11
  br label %91

91:                                               ; preds = %89, %87
  %.pn38 = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #11
  br label %92

92:                                               ; preds = %91, %85
  %.pn38.pn = phi { ptr, i32 } [ %.pn38, %91 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %13) #11
  br label %202

93:                                               ; preds = %78
  %94 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 9)
          to label %95 unwind label %.loopexit.split-lp

95:                                               ; preds = %93
  %96 = icmp eq i32 %94, 34
  br i1 %96, label %98, label %97

97:                                               ; preds = %95
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.7, i32 noundef 618, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

98:                                               ; preds = %95
  %99 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 10)
          to label %100 unwind label %.loopexit.split-lp

100:                                              ; preds = %98
  %101 = icmp eq i32 %99, 55
  br i1 %101, label %103, label %102

102:                                              ; preds = %100
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, i32 noundef 619, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

103:                                              ; preds = %100
  %104 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 1000000000000000000)
          to label %105 unwind label %.loopexit.split-lp

105:                                              ; preds = %103
  %106 = icmp eq i32 %104, 209783453
  br i1 %106, label %108, label %107

107:                                              ; preds = %105
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.7, i32 noundef 620, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

108:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %16) #11
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %109 unwind label %116

109:                                              ; preds = %108
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %18, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #11
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %16, ptr noundef nonnull %17, i32 noundef 1000000007, ptr noundef nonnull %18)
          to label %110 unwind label %118

110:                                              ; preds = %109
  %111 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(80) %16) #11
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %16) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %16) #11
  %112 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 8)
          to label %113 unwind label %.loopexit.split-lp

113:                                              ; preds = %110
  %114 = icmp eq i32 %112, 21
  br i1 %114, label %121, label %115

115:                                              ; preds = %113
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.7, i32 noundef 624, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

116:                                              ; preds = %108
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %120

118:                                              ; preds = %109
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #11
  br label %120

120:                                              ; preds = %118, %116
  %.pn41 = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %16) #11
  br label %202

121:                                              ; preds = %113
  %122 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 9)
          to label %123 unwind label %.loopexit.split-lp

123:                                              ; preds = %121
  %124 = icmp eq i32 %122, 34
  br i1 %124, label %126, label %125

125:                                              ; preds = %123
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.7, i32 noundef 625, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

126:                                              ; preds = %123
  %127 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 10)
          to label %128 unwind label %.loopexit.split-lp

128:                                              ; preds = %126
  %129 = icmp eq i32 %127, 55
  br i1 %129, label %131, label %130

130:                                              ; preds = %128
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, i32 noundef 626, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

131:                                              ; preds = %128
  %132 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 1000000000000000000)
          to label %133 unwind label %.loopexit.split-lp

133:                                              ; preds = %131
  %134 = icmp eq i32 %132, 209783453
  br i1 %134, label %136, label %135

135:                                              ; preds = %133
  call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.7, i32 noundef 627, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

136:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #11
  invoke void @_ZN16LinearRecurrence9nth_termsExi(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 8, i32 noundef 2)
          to label %137 unwind label %143

137:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #11
  store i32 21, ptr %21, align 4, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %21, i64 4
  store i32 34, ptr %138, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #11
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #11
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr nonnull %21, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %139 unwind label %145

139:                                              ; preds = %137
  %140 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %141 unwind label %147

141:                                              ; preds = %139
  br i1 %140, label %149, label %142

142:                                              ; preds = %141
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.7, i32 noundef 630, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

143:                                              ; preds = %136
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %154

145:                                              ; preds = %137
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %153

147:                                              ; preds = %139
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  br label %153

149:                                              ; preds = %141
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #11
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %150

150:                                              ; preds = %149, %169
  %storemerge53 = phi i32 [ 0, %149 ], [ %171, %169 ]
  %151 = icmp slt i32 %storemerge53, 10000
  br i1 %151, label %.invoke, label %155

.invoke:                                          ; preds = %156, %150
  %152 = phi ptr [ %1, %150 ], [ %2, %156 ]
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %152)
          to label %169 unwind label %.loopexit

153:                                              ; preds = %147, %145
  %.pn43 = phi { ptr, i32 } [ %148, %147 ], [ %146, %145 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #11
  br label %154

154:                                              ; preds = %153, %143
  %.pn43.pn = phi { ptr, i32 } [ %.pn43, %153 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #11
  br label %202

155:                                              ; preds = %150
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %156

156:                                              ; preds = %155, %156
  %157 = phi i64 [ 0, %155 ], [ %167, %156 ]
  %indvars.iv = phi i64 [ 1, %155 ], [ %indvars.iv.next, %156 ]
  %158 = load i32, ptr %1, align 4, !tbaa !5
  %159 = trunc nuw nsw i64 %indvars.iv to i32
  %160 = sub nsw i32 %158, %159
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %161) #11
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = mul nsw i64 %indvars.iv, %164
  %166 = add nsw i64 %165, %157
  %167 = srem i64 %166, 1000000007
  %168 = trunc nsw i64 %167 to i32
  store i32 %168, ptr %2, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 10001
  br i1 %exitcond.not, label %.invoke, label %156, !llvm.loop !11

169:                                              ; preds = %.invoke
  %170 = load i32, ptr %1, align 4, !tbaa !5
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %1, align 4, !tbaa !5
  %172 = icmp slt i32 %170, 20009
  br i1 %172, label %150, label %173, !llvm.loop !13

173:                                              ; preds = %169
  %174 = call i64 @clock() #11
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %23) #11
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %175 unwind label %183

175:                                              ; preds = %173
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %25, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #11
  invoke void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80) %23, ptr noundef nonnull %24, i32 noundef 1000000007, ptr noundef nonnull %25)
          to label %176 unwind label %185

176:                                              ; preds = %175
  %177 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(80) %23) #11
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %23) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %23) #11
  %178 = getelementptr inbounds i8, ptr %3, i64 56
  %179 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %178) #11
  %180 = and i64 %179, 4294967295
  %181 = icmp eq i64 %180, 10000
  br i1 %181, label %188, label %182

182:                                              ; preds = %176
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.7, i32 noundef 655, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

183:                                              ; preds = %173
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %187

185:                                              ; preds = %175
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #11
  br label %187

187:                                              ; preds = %185, %183
  %.pn46 = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %23) #11
  br label %202

188:                                              ; preds = %176
  %189 = invoke noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80) %3, i64 noundef 1000000000000000000)
          to label %190 unwind label %193

190:                                              ; preds = %188
  %191 = icmp eq i32 %189, 255380209
  br i1 %191, label %195, label %192

192:                                              ; preds = %190
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.7, i32 noundef 656, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #12
  unreachable

193:                                              ; preds = %188
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %202

195:                                              ; preds = %190
  %196 = load ptr, ptr @stderr, align 8, !tbaa !14
  %197 = call i64 @clock() #11
  %198 = sub nsw i64 %197, %174
  %199 = sitofp i64 %198 to double
  %200 = fdiv double %199, 1.000000e+06
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef nonnull @.str.18, double noundef %200) #13
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #11
  ret i32 0

202:                                              ; preds = %.loopexit, %.loopexit.split-lp, %187, %193, %154, %120, %92, %83, %81, %51, %42, %40
  %.pn50 = phi { ptr, i32 } [ %.pn43.pn, %154 ], [ %.pn41, %120 ], [ %.pn38.pn, %92 ], [ %84, %83 ], [ %82, %81 ], [ %.pn.pn, %51 ], [ %43, %42 ], [ %41, %40 ], [ %194, %193 ], [ %.pn46, %187 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #11
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #11
  call void @_ZN16LinearRecurrenceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #11
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #11
  resume { ptr, i32 } %.pn50
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16LinearRecurrenceC2ESt6vectorIiSaIiEEiS2_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef, ptr noundef) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN16LinearRecurrenceaSEOS_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN16LinearRecurrence8nth_termEx(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN16LinearRecurrence9nth_termsExi(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(80), i64 noundef, i32 noundef) local_unnamed_addr #5 align 2

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

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

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

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #10

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 24, !10}
!10 = !{!7, !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass