; LLVM IR from kimwalisch/primesieve :: test (vector)

; 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.primesieve::Array" = type { [10 x i32] }
%"class.primesieve::Vector" = type { ptr, ptr, ptr }
%"class.std::random_device" = type { %union.anon }
%union.anon = type { %"class.std::mersenne_twister_engine" }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.std::uniform_int_distribution" = type { %"struct.std::uniform_int_distribution<unsigned long>::param_type" }
%"struct.std::uniform_int_distribution<unsigned long>::param_type" = type { i64, i64 }
%"class.primesieve::Vector.0" = type { ptr, ptr, ptr }
%"class.primesieve::Vector.1" = type { ptr, ptr, ptr }
%"class.primesieve::Vector.2" = type { ptr, ptr, ptr }
%"class.std::uniform_int_distribution.3" = type { %"struct.std::uniform_int_distribution<>::param_type" }
%"struct.std::uniform_int_distribution<>::param_type" = type { i32, i32 }
%struct.pod_t = type { i32, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@__const.main.arr1 = external hidden unnamed_addr constant %"class.primesieve::Array", align 4
@.str.31 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5checkb(i1 noundef zeroext) #0

; 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: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca %"class.primesieve::Vector", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.std::random_device", align 8
  %9 = alloca %"class.std::mersenne_twister_engine", align 8
  %10 = alloca %"class.std::uniform_int_distribution", align 8
  %11 = alloca i64, align 8
  %12 = alloca %"class.primesieve::Vector.0", align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"class.std::random_device", align 8
  %16 = alloca %"class.std::mersenne_twister_engine", align 8
  %17 = alloca %"class.std::uniform_int_distribution", align 8
  %18 = alloca i64, align 8
  %19 = alloca %"class.primesieve::Vector.1", align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::random_device", align 8
  %24 = alloca %"class.std::mersenne_twister_engine", align 8
  %25 = alloca %"class.std::uniform_int_distribution", align 8
  %26 = alloca i64, align 8
  %27 = alloca %"class.primesieve::Vector.2", align 8
  %28 = alloca %"class.std::random_device", align 8
  %29 = alloca %"class.std::mersenne_twister_engine", align 8
  %30 = alloca %"class.std::uniform_int_distribution.3", align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.primesieve::Vector.2", align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::random_device", align 8
  %36 = alloca %"class.std::mersenne_twister_engine", align 8
  %37 = alloca %"class.std::uniform_int_distribution.3", align 4
  %38 = alloca i32, align 4
  %39 = alloca %"class.primesieve::Vector.2", align 8
  %40 = alloca i32, align 4
  %41 = alloca %"class.primesieve::Vector.2", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"class.primesieve::Array", align 4
  %44 = alloca %"class.primesieve::Array", align 4
  %45 = alloca i32, align 4
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca ptr, align 8
  %49 = alloca ptr, align 8
  %50 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #9
  store i64 10, ptr %2, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %71, %0
  %52 = load i64, ptr %2, align 8, !tbaa !5
  %53 = icmp ule i64 %52, 27
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  br label %88

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #9
  call void @_ZN10primesieve6VectorIcSaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %56 = load i64, ptr %2, align 8, !tbaa !5
  %57 = shl i64 1, %56
  invoke void @_ZN10primesieve6VectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %57)
          to label %58 unwind label %74

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %59 = call noundef i64 @_ZNK10primesieve6VectorIcSaIcEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  store i64 %59, ptr %6, align 8, !tbaa !5
  invoke void @_ZN10primesieve6VectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 100)
          to label %60 unwind label %78

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %61 = call noundef i64 @_ZNK10primesieve6VectorIcSaIcEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  store i64 %61, ptr %7, align 8, !tbaa !5
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %63 unwind label %82

63:                                               ; preds = %60
  %64 = load i64, ptr %6, align 8, !tbaa !5
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %62, i64 noundef %64)
          to label %66 unwind label %82

66:                                               ; preds = %63
  %67 = load i64, ptr %6, align 8, !tbaa !5
  %68 = load i64, ptr %7, align 8, !tbaa !5
  %69 = icmp eq i64 %67, %68
  invoke void @_Z5checkb(i1 noundef zeroext %69)
          to label %70 unwind label %82

70:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @_ZN10primesieve6VectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #9
  br label %71

71:                                               ; preds = %70
  %72 = load i64, ptr %2, align 8, !tbaa !5
  %73 = add i64 %72, 1
  store i64 %73, ptr %2, align 8, !tbaa !5
  br label %51, !llvm.loop !9

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

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

82:                                               ; preds = %66, %63, %60
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %4, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %86

86:                                               ; preds = %82, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %87

87:                                               ; preds = %86, %74
  call void @_ZN10primesieve6VectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #9
  br label %687

88:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 5000, ptr %8) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %8)
  call void @llvm.lifetime.start.p0(i64 5000, ptr %9) #9
  %89 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %8)
          to label %90 unwind label %101

90:                                               ; preds = %88
  %91 = zext i32 %89 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %9, i64 noundef %91)
          to label %92 unwind label %101

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #9
  invoke void @_ZNSt24uniform_int_distributionImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %10, i64 noundef 100, i64 noundef 200)
          to label %93 unwind label %105

93:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %94 = invoke noundef i64 @_ZNSt24uniform_int_distributionImEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEmRT_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(5000) %9)
          to label %95 unwind label %109

95:                                               ; preds = %93
  store i64 %94, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #9
  call void @_ZN10primesieve6VectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %96

96:                                               ; preds = %115, %95
  %97 = load i64, ptr %13, align 8, !tbaa !5
  %98 = load i64, ptr %11, align 8, !tbaa !5
  %99 = icmp ule i64 %97, %98
  br i1 %99, label %113, label %100

100:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %122

101:                                              ; preds = %90, %88
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %4, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %5, align 4
  br label %170

105:                                              ; preds = %92
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %4, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %5, align 4
  br label %169

109:                                              ; preds = %93
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %4, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %5, align 4
  br label %168

113:                                              ; preds = %96
  invoke void @_ZN10primesieve6VectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %114 unwind label %118

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  %116 = load i64, ptr %13, align 8, !tbaa !5
  %117 = add i64 %116, 1
  store i64 %117, ptr %13, align 8, !tbaa !5
  br label %96, !llvm.loop !11

118:                                              ; preds = %113
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %4, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %167

122:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  store i64 0, ptr %14, align 8, !tbaa !5
  br label %123

123:                                              ; preds = %145, %122
  %124 = load i64, ptr %14, align 8, !tbaa !5
  %125 = load i64, ptr %11, align 8, !tbaa !5
  %126 = icmp ule i64 %124, %125
  br i1 %126, label %128, label %127

127:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %152

128:                                              ; preds = %123
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %130 unwind label %148

130:                                              ; preds = %128
  %131 = load i64, ptr %14, align 8, !tbaa !5
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %129, i64 noundef %131)
          to label %133 unwind label %148

133:                                              ; preds = %130
  %134 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef @.str.6)
          to label %135 unwind label %148

135:                                              ; preds = %133
  %136 = load i64, ptr %14, align 8, !tbaa !5
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %134, i64 noundef %136)
          to label %138 unwind label %148

138:                                              ; preds = %135
  %139 = load i64, ptr %14, align 8, !tbaa !5
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %139) #9
  %141 = load i64, ptr %140, align 8, !tbaa !5
  %142 = load i64, ptr %14, align 8, !tbaa !5
  %143 = icmp eq i64 %141, %142
  invoke void @_Z5checkb(i1 noundef zeroext %143)
          to label %144 unwind label %148

144:                                              ; preds = %138
  br label %145

145:                                              ; preds = %144
  %146 = load i64, ptr %14, align 8, !tbaa !5
  %147 = add i64 %146, 1
  store i64 %147, ptr %14, align 8, !tbaa !5
  br label %123, !llvm.loop !12

148:                                              ; preds = %138, %135, %133, %130, %128
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %4, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %167

152:                                              ; preds = %127
  call void @_ZN10primesieve6VectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %9) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %8) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr %15) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %15)
  call void @llvm.lifetime.start.p0(i64 5000, ptr %16) #9
  %153 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %15)
          to label %154 unwind label %171

154:                                              ; preds = %152
  %155 = zext i32 %153 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %16, i64 noundef %155)
          to label %156 unwind label %171

156:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  invoke void @_ZNSt24uniform_int_distributionImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef 100, i64 noundef 200)
          to label %157 unwind label %175

157:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %158 = invoke noundef i64 @_ZNSt24uniform_int_distributionImEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEmRT_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(5000) %16)
          to label %159 unwind label %179

159:                                              ; preds = %157
  store i64 %158, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #9
  %160 = load i64, ptr %18, align 8, !tbaa !5
  invoke void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEC2Em(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %160)
          to label %161 unwind label %183

161:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  store i64 0, ptr %20, align 8, !tbaa !5
  br label %162

162:                                              ; preds = %216, %161
  %163 = load i64, ptr %20, align 8, !tbaa !5
  %164 = load i64, ptr %18, align 8, !tbaa !5
  %165 = icmp ult i64 %163, %164
  br i1 %165, label %187, label %166

166:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %223

167:                                              ; preds = %148, %118
  call void @_ZN10primesieve6VectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  br label %168

168:                                              ; preds = %167, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  br label %169

169:                                              ; preds = %168, %105
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #9
  br label %170

170:                                              ; preds = %169, %101
  call void @llvm.lifetime.end.p0(i64 5000, ptr %9) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %8) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %8) #9
  br label %687

171:                                              ; preds = %154, %152
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %4, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %5, align 4
  br label %561

175:                                              ; preds = %156
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %4, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %5, align 4
  br label %560

179:                                              ; preds = %157
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %4, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %5, align 4
  br label %559

183:                                              ; preds = %159
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %4, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %5, align 4
  br label %558

187:                                              ; preds = %162
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %189 unwind label %219

189:                                              ; preds = %187
  %190 = load i64, ptr %20, align 8, !tbaa !5
  %191 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %190) #9
  %192 = getelementptr inbounds %struct.pod_t, ptr %191, i32 0, i32 0
  %193 = load i32, ptr %192, align 4, !tbaa !13
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %188, i32 noundef %193)
          to label %195 unwind label %219

195:                                              ; preds = %189
  %196 = load i64, ptr %20, align 8, !tbaa !5
  %197 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %196) #9
  %198 = getelementptr inbounds %struct.pod_t, ptr %197, i32 0, i32 0
  %199 = load i32, ptr %198, align 4, !tbaa !13
  %200 = icmp eq i32 %199, 100
  invoke void @_Z5checkb(i1 noundef zeroext %200)
          to label %201 unwind label %219

201:                                              ; preds = %195
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %203 unwind label %219

203:                                              ; preds = %201
  %204 = load i64, ptr %20, align 8, !tbaa !5
  %205 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %204) #9
  %206 = getelementptr inbounds %struct.pod_t, ptr %205, i32 0, i32 1
  %207 = load i32, ptr %206, align 4, !tbaa !16
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %202, i32 noundef %207)
          to label %209 unwind label %219

209:                                              ; preds = %203
  %210 = load i64, ptr %20, align 8, !tbaa !5
  %211 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %210) #9
  %212 = getelementptr inbounds %struct.pod_t, ptr %211, i32 0, i32 1
  %213 = load i32, ptr %212, align 4, !tbaa !16
  %214 = icmp eq i32 %213, 200
  invoke void @_Z5checkb(i1 noundef zeroext %214)
          to label %215 unwind label %219

215:                                              ; preds = %209
  br label %216

216:                                              ; preds = %215
  %217 = load i64, ptr %20, align 8, !tbaa !5
  %218 = add i64 %217, 1
  store i64 %218, ptr %20, align 8, !tbaa !5
  br label %162, !llvm.loop !17

219:                                              ; preds = %209, %203, %201, %195, %189, %187
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %4, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %557

223:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 7, ptr %21, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 8, ptr %22, align 4, !tbaa !18
  invoke void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE12emplace_backIJiiEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %224 unwind label %549

224:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %226 unwind label %553

226:                                              ; preds = %224
  %227 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  %228 = getelementptr inbounds %struct.pod_t, ptr %227, i32 0, i32 0
  %229 = load i32, ptr %228, align 4, !tbaa !13
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %225, i32 noundef %229)
          to label %231 unwind label %553

231:                                              ; preds = %226
  %232 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  %233 = getelementptr inbounds %struct.pod_t, ptr %232, i32 0, i32 0
  %234 = load i32, ptr %233, align 4, !tbaa !13
  %235 = icmp eq i32 %234, 7
  invoke void @_Z5checkb(i1 noundef zeroext %235)
          to label %236 unwind label %553

236:                                              ; preds = %231
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %238 unwind label %553

238:                                              ; preds = %236
  %239 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  %240 = getelementptr inbounds %struct.pod_t, ptr %239, i32 0, i32 1
  %241 = load i32, ptr %240, align 4, !tbaa !16
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %237, i32 noundef %241)
          to label %243 unwind label %553

243:                                              ; preds = %238
  %244 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  %245 = getelementptr inbounds %struct.pod_t, ptr %244, i32 0, i32 1
  %246 = load i32, ptr %245, align 4, !tbaa !16
  %247 = icmp eq i32 %246, 8
  invoke void @_Z5checkb(i1 noundef zeroext %247)
          to label %248 unwind label %553

248:                                              ; preds = %243
  call void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %16) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %15) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr %23) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %23)
  call void @llvm.lifetime.start.p0(i64 5000, ptr %24) #9
  %249 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %23)
          to label %250 unwind label %562

250:                                              ; preds = %248
  %251 = zext i32 %249 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %24, i64 noundef %251)
          to label %252 unwind label %562

252:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #9
  invoke void @_ZNSt24uniform_int_distributionImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef 10000, i64 noundef 20000)
          to label %253 unwind label %566

253:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %254 = invoke noundef i64 @_ZNSt24uniform_int_distributionImEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEmRT_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(5000) %24)
          to label %255 unwind label %570

255:                                              ; preds = %253
  store i64 %254, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #9
  call void @_ZN10primesieve6VectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 0)
          to label %256 unwind label %574

256:                                              ; preds = %255
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %258 unwind label %574

258:                                              ; preds = %256
  %259 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %257, i64 noundef %259)
          to label %261 unwind label %574

261:                                              ; preds = %258
  %262 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %263 = icmp eq i64 %262, 0
  invoke void @_Z5checkb(i1 noundef zeroext %263)
          to label %264 unwind label %574

264:                                              ; preds = %261
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %266 unwind label %574

266:                                              ; preds = %264
  %267 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %265, i64 noundef %267)
          to label %269 unwind label %574

269:                                              ; preds = %266
  %270 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %271 = icmp eq i64 %270, 0
  invoke void @_Z5checkb(i1 noundef zeroext %271)
          to label %272 unwind label %574

272:                                              ; preds = %269
  %273 = load i64, ptr %26, align 8, !tbaa !5
  invoke void @_ZN10primesieve6VectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %273)
          to label %274 unwind label %574

274:                                              ; preds = %272
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.12)
          to label %276 unwind label %574

276:                                              ; preds = %274
  %277 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %275, i64 noundef %277)
          to label %279 unwind label %574

279:                                              ; preds = %276
  %280 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %281 = icmp eq i64 %280, 0
  invoke void @_Z5checkb(i1 noundef zeroext %281)
          to label %282 unwind label %574

282:                                              ; preds = %279
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.13)
          to label %284 unwind label %574

284:                                              ; preds = %282
  %285 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %283, i1 noundef zeroext %285)
          to label %287 unwind label %574

287:                                              ; preds = %284
  %288 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %289 = zext i1 %288 to i32
  %290 = icmp eq i32 %289, 1
  invoke void @_Z5checkb(i1 noundef zeroext %290)
          to label %291 unwind label %574

291:                                              ; preds = %287
  %292 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
          to label %293 unwind label %574

293:                                              ; preds = %291
  %294 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %292, i64 noundef %294)
          to label %296 unwind label %574

296:                                              ; preds = %293
  %297 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %298 = load i64, ptr %26, align 8, !tbaa !5
  %299 = icmp eq i64 %297, %298
  invoke void @_Z5checkb(i1 noundef zeroext %299)
          to label %300 unwind label %574

300:                                              ; preds = %296
  %301 = load i64, ptr %26, align 8, !tbaa !5
  %302 = udiv i64 %301, 2
  invoke void @_ZN10primesieve6VectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %302)
          to label %303 unwind label %574

303:                                              ; preds = %300
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.15)
          to label %305 unwind label %574

305:                                              ; preds = %303
  %306 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %307 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %304, i64 noundef %306)
          to label %308 unwind label %574

308:                                              ; preds = %305
  %309 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %310 = icmp eq i64 %309, 0
  invoke void @_Z5checkb(i1 noundef zeroext %310)
          to label %311 unwind label %574

311:                                              ; preds = %308
  %312 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
          to label %313 unwind label %574

313:                                              ; preds = %311
  %314 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %315 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %312, i1 noundef zeroext %314)
          to label %316 unwind label %574

316:                                              ; preds = %313
  %317 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %318 = zext i1 %317 to i32
  %319 = icmp eq i32 %318, 1
  invoke void @_Z5checkb(i1 noundef zeroext %319)
          to label %320 unwind label %574

320:                                              ; preds = %316
  %321 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.17)
          to label %322 unwind label %574

322:                                              ; preds = %320
  %323 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %324 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %321, i64 noundef %323)
          to label %325 unwind label %574

325:                                              ; preds = %322
  %326 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %327 = load i64, ptr %26, align 8, !tbaa !5
  %328 = icmp eq i64 %326, %327
  invoke void @_Z5checkb(i1 noundef zeroext %328)
          to label %329 unwind label %574

329:                                              ; preds = %325
  %330 = load i64, ptr %26, align 8, !tbaa !5
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %330)
          to label %331 unwind label %574

331:                                              ; preds = %329
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
          to label %333 unwind label %574

333:                                              ; preds = %331
  %334 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %335 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %332, i64 noundef %334)
          to label %336 unwind label %574

336:                                              ; preds = %333
  %337 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %338 = load i64, ptr %26, align 8, !tbaa !5
  %339 = icmp eq i64 %337, %338
  invoke void @_Z5checkb(i1 noundef zeroext %339)
          to label %340 unwind label %574

340:                                              ; preds = %336
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.19)
          to label %342 unwind label %574

342:                                              ; preds = %340
  %343 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %341, i64 noundef %343)
          to label %345 unwind label %574

345:                                              ; preds = %342
  %346 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %347 = load i64, ptr %26, align 8, !tbaa !5
  %348 = icmp eq i64 %346, %347
  invoke void @_Z5checkb(i1 noundef zeroext %348)
          to label %349 unwind label %574

349:                                              ; preds = %345
  %350 = load i64, ptr %26, align 8, !tbaa !5
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %350)
          to label %351 unwind label %574

351:                                              ; preds = %349
  %352 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
          to label %353 unwind label %574

353:                                              ; preds = %351
  %354 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %352, i64 noundef %354)
          to label %356 unwind label %574

356:                                              ; preds = %353
  %357 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %358 = load i64, ptr %26, align 8, !tbaa !5
  %359 = icmp eq i64 %357, %358
  invoke void @_Z5checkb(i1 noundef zeroext %359)
          to label %360 unwind label %574

360:                                              ; preds = %356
  %361 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.21)
          to label %362 unwind label %574

362:                                              ; preds = %360
  %363 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %364 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %361, i64 noundef %363)
          to label %365 unwind label %574

365:                                              ; preds = %362
  %366 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %367 = load i64, ptr %26, align 8, !tbaa !5
  %368 = icmp eq i64 %366, %367
  invoke void @_Z5checkb(i1 noundef zeroext %368)
          to label %369 unwind label %574

369:                                              ; preds = %365
  %370 = load i64, ptr %26, align 8, !tbaa !5
  %371 = udiv i64 %370, 2
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %371)
          to label %372 unwind label %574

372:                                              ; preds = %369
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.22)
          to label %374 unwind label %574

374:                                              ; preds = %372
  %375 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %373, i64 noundef %375)
          to label %377 unwind label %574

377:                                              ; preds = %374
  %378 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %379 = load i64, ptr %26, align 8, !tbaa !5
  %380 = udiv i64 %379, 2
  %381 = icmp eq i64 %378, %380
  invoke void @_Z5checkb(i1 noundef zeroext %381)
          to label %382 unwind label %574

382:                                              ; preds = %377
  %383 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.23)
          to label %384 unwind label %574

384:                                              ; preds = %382
  %385 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %386 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %383, i64 noundef %385)
          to label %387 unwind label %574

387:                                              ; preds = %384
  %388 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %389 = load i64, ptr %26, align 8, !tbaa !5
  %390 = icmp eq i64 %388, %389
  invoke void @_Z5checkb(i1 noundef zeroext %390)
          to label %391 unwind label %574

391:                                              ; preds = %387
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 0)
          to label %392 unwind label %574

392:                                              ; preds = %391
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %394 unwind label %574

394:                                              ; preds = %392
  %395 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %396 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %393, i64 noundef %395)
          to label %397 unwind label %574

397:                                              ; preds = %394
  %398 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %399 = icmp eq i64 %398, 0
  invoke void @_Z5checkb(i1 noundef zeroext %399)
          to label %400 unwind label %574

400:                                              ; preds = %397
  %401 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %402 unwind label %574

402:                                              ; preds = %400
  %403 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %404 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %401, i64 noundef %403)
          to label %405 unwind label %574

405:                                              ; preds = %402
  %406 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %407 = load i64, ptr %26, align 8, !tbaa !5
  %408 = icmp eq i64 %406, %407
  invoke void @_Z5checkb(i1 noundef zeroext %408)
          to label %409 unwind label %574

409:                                              ; preds = %405
  %410 = load i64, ptr %26, align 8, !tbaa !5
  %411 = mul i64 %410, 2
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %411)
          to label %412 unwind label %574

412:                                              ; preds = %409
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.24)
          to label %414 unwind label %574

414:                                              ; preds = %412
  %415 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %416 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %413, i64 noundef %415)
          to label %417 unwind label %574

417:                                              ; preds = %414
  %418 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %419 = load i64, ptr %26, align 8, !tbaa !5
  %420 = mul i64 %419, 2
  %421 = icmp eq i64 %418, %420
  invoke void @_Z5checkb(i1 noundef zeroext %421)
          to label %422 unwind label %574

422:                                              ; preds = %417
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.25)
          to label %424 unwind label %574

424:                                              ; preds = %422
  %425 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %426 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %423, i64 noundef %425)
          to label %427 unwind label %574

427:                                              ; preds = %424
  %428 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %429 = load i64, ptr %26, align 8, !tbaa !5
  %430 = mul i64 %429, 2
  %431 = icmp uge i64 %428, %430
  invoke void @_Z5checkb(i1 noundef zeroext %431)
          to label %432 unwind label %574

432:                                              ; preds = %427
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %24) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %23) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr %28) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %28)
  call void @llvm.lifetime.start.p0(i64 5000, ptr %29) #9
  %433 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %28)
          to label %434 unwind label %581

434:                                              ; preds = %432
  %435 = zext i32 %433 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %29, i64 noundef %435)
          to label %436 unwind label %581

436:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef 10000, i32 noundef 20000)
          to label %437 unwind label %585

437:                                              ; preds = %436
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %438 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(5000) %29)
          to label %439 unwind label %589

439:                                              ; preds = %437
  store i32 %438, ptr %31, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #9
  %440 = load i32, ptr %31, align 4, !tbaa !18
  %441 = sext i32 %440 to i64
  invoke void @_ZN10primesieve6VectorIiSaIiEEC2Em(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %441)
          to label %442 unwind label %593

442:                                              ; preds = %439
  %443 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #9
  %444 = load i32, ptr %31, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  store i32 123, ptr %33, align 4, !tbaa !18
  %445 = invoke noundef ptr @_ZSt6fill_nIPiiiET_S1_T0_RKT1_(ptr noundef %443, i32 noundef %444, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %446 unwind label %597

446:                                              ; preds = %442
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0)
          to label %447 unwind label %601

447:                                              ; preds = %446
  %448 = load i32, ptr %31, align 4, !tbaa !18
  %449 = sext i32 %448 to i64
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %449)
          to label %450 unwind label %601

450:                                              ; preds = %447
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %451 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #9
  %452 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #9
  %453 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  %454 = getelementptr inbounds i32, ptr %452, i64 %453
  %455 = invoke noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef %451, ptr noundef %454, i32 noundef 0)
          to label %456 unwind label %605

456:                                              ; preds = %450
  store i32 %455, ptr %34, align 4, !tbaa !18
  %457 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.26)
          to label %458 unwind label %605

458:                                              ; preds = %456
  %459 = load i32, ptr %34, align 4, !tbaa !18
  %460 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %457, i32 noundef %459)
          to label %461 unwind label %605

461:                                              ; preds = %458
  %462 = load i32, ptr %34, align 4, !tbaa !18
  %463 = load i32, ptr %31, align 4, !tbaa !18
  %464 = mul nsw i32 123, %463
  %465 = icmp eq i32 %462, %464
  invoke void @_Z5checkb(i1 noundef zeroext %465)
          to label %466 unwind label %605

466:                                              ; preds = %461
  %467 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.27)
          to label %468 unwind label %605

468:                                              ; preds = %466
  %469 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  %470 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %467, ptr noundef %469)
          to label %471 unwind label %605

471:                                              ; preds = %468
  %472 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  %473 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  %474 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  %475 = getelementptr inbounds i32, ptr %473, i64 %474
  %476 = icmp eq ptr %472, %475
  invoke void @_Z5checkb(i1 noundef zeroext %476)
          to label %477 unwind label %605

477:                                              ; preds = %471
  %478 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  %479 = mul i64 %478, 2
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %479)
          to label %480 unwind label %605

480:                                              ; preds = %477
  %481 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #9
  %482 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #9
  %483 = load i32, ptr %31, align 4, !tbaa !18
  %484 = sext i32 %483 to i64
  %485 = getelementptr inbounds i32, ptr %482, i64 %484
  %486 = invoke noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef %481, ptr noundef %485, i32 noundef 0)
          to label %487 unwind label %605

487:                                              ; preds = %480
  store i32 %486, ptr %34, align 4, !tbaa !18
  %488 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.28)
          to label %489 unwind label %605

489:                                              ; preds = %487
  %490 = load i32, ptr %34, align 4, !tbaa !18
  %491 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %488, i32 noundef %490)
          to label %492 unwind label %605

492:                                              ; preds = %489
  %493 = load i32, ptr %34, align 4, !tbaa !18
  %494 = load i32, ptr %31, align 4, !tbaa !18
  %495 = mul nsw i32 123, %494
  %496 = icmp eq i32 %493, %495
  invoke void @_Z5checkb(i1 noundef zeroext %496)
          to label %497 unwind label %605

497:                                              ; preds = %492
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %29) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %28) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr %35) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %35)
  call void @llvm.lifetime.start.p0(i64 5000, ptr %36) #9
  %498 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %35)
          to label %499 unwind label %614

499:                                              ; preds = %497
  %500 = zext i32 %498 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %36, i64 noundef %500)
          to label %501 unwind label %614

501:                                              ; preds = %499
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %37, i32 noundef 10000, i32 noundef 20000)
          to label %502 unwind label %618

502:                                              ; preds = %501
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %503 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(5000) %36)
          to label %504 unwind label %622

504:                                              ; preds = %502
  store i32 %503, ptr %38, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #9
  %505 = load i32, ptr %38, align 4, !tbaa !18
  %506 = sext i32 %505 to i64
  invoke void @_ZN10primesieve6VectorIiSaIiEEC2Em(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %506)
          to label %507 unwind label %626

507:                                              ; preds = %504
  %508 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef 0) #9
  %509 = load i32, ptr %38, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  store i32 123, ptr %40, align 4, !tbaa !18
  %510 = invoke noundef ptr @_ZSt6fill_nIPiiiET_S1_T0_RKT1_(ptr noundef %508, i32 noundef %509, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %511 unwind label %630

511:                                              ; preds = %507
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #9
  call void @_ZN10primesieve6VectorIiSaIiEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  %512 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.29)
          to label %513 unwind label %634

513:                                              ; preds = %511
  %514 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  %515 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %512, i1 noundef zeroext %514)
          to label %516 unwind label %634

516:                                              ; preds = %513
  %517 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  %518 = zext i1 %517 to i32
  %519 = icmp eq i32 %518, 1
  invoke void @_Z5checkb(i1 noundef zeroext %519)
          to label %520 unwind label %634

520:                                              ; preds = %516
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  %521 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  %522 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  %523 = invoke noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef %521, ptr noundef %522, i32 noundef 0)
          to label %524 unwind label %638

524:                                              ; preds = %520
  store i32 %523, ptr %42, align 4, !tbaa !18
  %525 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.30)
          to label %526 unwind label %638

526:                                              ; preds = %524
  %527 = load i32, ptr %42, align 4, !tbaa !18
  %528 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %525, i32 noundef %527)
          to label %529 unwind label %638

529:                                              ; preds = %526
  %530 = load i32, ptr %42, align 4, !tbaa !18
  %531 = load i32, ptr %38, align 4, !tbaa !18
  %532 = mul nsw i32 123, %531
  %533 = icmp eq i32 %530, %532
  invoke void @_Z5checkb(i1 noundef zeroext %533)
          to label %534 unwind label %638

534:                                              ; preds = %529
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #9
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %36) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %35) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 @__const.main.arr1, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %44) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %43, i64 40, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  store i32 0, ptr %45, align 4, !tbaa !18
  call void @_ZN10primesieve5ArrayIjLm10EE4fillERKj(ptr noundef nonnull align 4 dereferenceable(40) %43, ptr noundef nonnull align 4 dereferenceable(4) %45)
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  %535 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  %536 = call noundef i64 @_ZNK10primesieve5ArrayIjLm10EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(40) %44) #9
  %537 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %535, i64 noundef %536)
  %538 = call noundef i64 @_ZNK10primesieve5ArrayIjLm10EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(40) %44) #9
  %539 = icmp eq i64 %538, 10
  call void @_Z5checkb(i1 noundef zeroext %539)
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #9
  store ptr %43, ptr %46, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  %540 = load ptr, ptr %46, align 8, !tbaa !21
  %541 = call noundef ptr @_ZN10primesieve5ArrayIjLm10EE5beginEv(ptr noundef nonnull align 4 dereferenceable(40) %540) #9
  store ptr %541, ptr %47, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #9
  %542 = load ptr, ptr %46, align 8, !tbaa !21
  %543 = call noundef ptr @_ZN10primesieve5ArrayIjLm10EE3endEv(ptr noundef nonnull align 4 dereferenceable(40) %542) #9
  store ptr %543, ptr %48, align 8, !tbaa !21
  br label %544

544:                                              ; preds = %657, %534
  %545 = load ptr, ptr %47, align 8, !tbaa !21
  %546 = load ptr, ptr %48, align 8, !tbaa !21
  %547 = icmp ne ptr %545, %546
  br i1 %547, label %648, label %548

548:                                              ; preds = %544
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  br label %660

549:                                              ; preds = %223
  %550 = landingpad { ptr, i32 }
          cleanup
  %551 = extractvalue { ptr, i32 } %550, 0
  store ptr %551, ptr %4, align 8
  %552 = extractvalue { ptr, i32 } %550, 1
  store i32 %552, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %557

553:                                              ; preds = %243, %238, %236, %231, %226, %224
  %554 = landingpad { ptr, i32 }
          cleanup
  %555 = extractvalue { ptr, i32 } %554, 0
  store ptr %555, ptr %4, align 8
  %556 = extractvalue { ptr, i32 } %554, 1
  store i32 %556, ptr %5, align 4
  br label %557

557:                                              ; preds = %553, %549, %219
  call void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  br label %558

558:                                              ; preds = %557, %183
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #9
  br label %559

559:                                              ; preds = %558, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %560

560:                                              ; preds = %559, %175
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %561

561:                                              ; preds = %560, %171
  call void @llvm.lifetime.end.p0(i64 5000, ptr %16) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %15) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %15) #9
  br label %687

562:                                              ; preds = %250, %248
  %563 = landingpad { ptr, i32 }
          cleanup
  %564 = extractvalue { ptr, i32 } %563, 0
  store ptr %564, ptr %4, align 8
  %565 = extractvalue { ptr, i32 } %563, 1
  store i32 %565, ptr %5, align 4
  br label %580

566:                                              ; preds = %252
  %567 = landingpad { ptr, i32 }
          cleanup
  %568 = extractvalue { ptr, i32 } %567, 0
  store ptr %568, ptr %4, align 8
  %569 = extractvalue { ptr, i32 } %567, 1
  store i32 %569, ptr %5, align 4
  br label %579

570:                                              ; preds = %253
  %571 = landingpad { ptr, i32 }
          cleanup
  %572 = extractvalue { ptr, i32 } %571, 0
  store ptr %572, ptr %4, align 8
  %573 = extractvalue { ptr, i32 } %571, 1
  store i32 %573, ptr %5, align 4
  br label %578

574:                                              ; preds = %427, %424, %422, %417, %414, %412, %409, %405, %402, %400, %397, %394, %392, %391, %387, %384, %382, %377, %374, %372, %369, %365, %362, %360, %356, %353, %351, %349, %345, %342, %340, %336, %333, %331, %329, %325, %322, %320, %316, %313, %311, %308, %305, %303, %300, %296, %293, %291, %287, %284, %282, %279, %276, %274, %272, %269, %266, %264, %261, %258, %256, %255
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %4, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %5, align 4
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #9
  br label %578

578:                                              ; preds = %574, %570
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %579

579:                                              ; preds = %578, %566
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  br label %580

580:                                              ; preds = %579, %562
  call void @llvm.lifetime.end.p0(i64 5000, ptr %24) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %23) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %23) #9
  br label %687

581:                                              ; preds = %434, %432
  %582 = landingpad { ptr, i32 }
          cleanup
  %583 = extractvalue { ptr, i32 } %582, 0
  store ptr %583, ptr %4, align 8
  %584 = extractvalue { ptr, i32 } %582, 1
  store i32 %584, ptr %5, align 4
  br label %613

585:                                              ; preds = %436
  %586 = landingpad { ptr, i32 }
          cleanup
  %587 = extractvalue { ptr, i32 } %586, 0
  store ptr %587, ptr %4, align 8
  %588 = extractvalue { ptr, i32 } %586, 1
  store i32 %588, ptr %5, align 4
  br label %612

589:                                              ; preds = %437
  %590 = landingpad { ptr, i32 }
          cleanup
  %591 = extractvalue { ptr, i32 } %590, 0
  store ptr %591, ptr %4, align 8
  %592 = extractvalue { ptr, i32 } %590, 1
  store i32 %592, ptr %5, align 4
  br label %611

593:                                              ; preds = %439
  %594 = landingpad { ptr, i32 }
          cleanup
  %595 = extractvalue { ptr, i32 } %594, 0
  store ptr %595, ptr %4, align 8
  %596 = extractvalue { ptr, i32 } %594, 1
  store i32 %596, ptr %5, align 4
  br label %610

597:                                              ; preds = %442
  %598 = landingpad { ptr, i32 }
          cleanup
  %599 = extractvalue { ptr, i32 } %598, 0
  store ptr %599, ptr %4, align 8
  %600 = extractvalue { ptr, i32 } %598, 1
  store i32 %600, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  br label %609

601:                                              ; preds = %447, %446
  %602 = landingpad { ptr, i32 }
          cleanup
  %603 = extractvalue { ptr, i32 } %602, 0
  store ptr %603, ptr %4, align 8
  %604 = extractvalue { ptr, i32 } %602, 1
  store i32 %604, ptr %5, align 4
  br label %609

605:                                              ; preds = %492, %489, %487, %480, %477, %471, %468, %466, %461, %458, %456, %450
  %606 = landingpad { ptr, i32 }
          cleanup
  %607 = extractvalue { ptr, i32 } %606, 0
  store ptr %607, ptr %4, align 8
  %608 = extractvalue { ptr, i32 } %606, 1
  store i32 %608, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %609

609:                                              ; preds = %605, %601, %597
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #9
  br label %610

610:                                              ; preds = %609, %593
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #9
  br label %611

611:                                              ; preds = %610, %589
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  br label %612

612:                                              ; preds = %611, %585
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %613

613:                                              ; preds = %612, %581
  call void @llvm.lifetime.end.p0(i64 5000, ptr %29) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %28) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %28) #9
  br label %687

614:                                              ; preds = %499, %497
  %615 = landingpad { ptr, i32 }
          cleanup
  %616 = extractvalue { ptr, i32 } %615, 0
  store ptr %616, ptr %4, align 8
  %617 = extractvalue { ptr, i32 } %615, 1
  store i32 %617, ptr %5, align 4
  br label %647

618:                                              ; preds = %501
  %619 = landingpad { ptr, i32 }
          cleanup
  %620 = extractvalue { ptr, i32 } %619, 0
  store ptr %620, ptr %4, align 8
  %621 = extractvalue { ptr, i32 } %619, 1
  store i32 %621, ptr %5, align 4
  br label %646

622:                                              ; preds = %502
  %623 = landingpad { ptr, i32 }
          cleanup
  %624 = extractvalue { ptr, i32 } %623, 0
  store ptr %624, ptr %4, align 8
  %625 = extractvalue { ptr, i32 } %623, 1
  store i32 %625, ptr %5, align 4
  br label %645

626:                                              ; preds = %504
  %627 = landingpad { ptr, i32 }
          cleanup
  %628 = extractvalue { ptr, i32 } %627, 0
  store ptr %628, ptr %4, align 8
  %629 = extractvalue { ptr, i32 } %627, 1
  store i32 %629, ptr %5, align 4
  br label %644

630:                                              ; preds = %507
  %631 = landingpad { ptr, i32 }
          cleanup
  %632 = extractvalue { ptr, i32 } %631, 0
  store ptr %632, ptr %4, align 8
  %633 = extractvalue { ptr, i32 } %631, 1
  store i32 %633, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  br label %643

634:                                              ; preds = %516, %513, %511
  %635 = landingpad { ptr, i32 }
          cleanup
  %636 = extractvalue { ptr, i32 } %635, 0
  store ptr %636, ptr %4, align 8
  %637 = extractvalue { ptr, i32 } %635, 1
  store i32 %637, ptr %5, align 4
  br label %642

638:                                              ; preds = %529, %526, %524, %520
  %639 = landingpad { ptr, i32 }
          cleanup
  %640 = extractvalue { ptr, i32 } %639, 0
  store ptr %640, ptr %4, align 8
  %641 = extractvalue { ptr, i32 } %639, 1
  store i32 %641, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %642

642:                                              ; preds = %638, %634
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #9
  br label %643

643:                                              ; preds = %642, %630
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #9
  br label %644

644:                                              ; preds = %643, %626
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #9
  br label %645

645:                                              ; preds = %644, %622
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  br label %646

646:                                              ; preds = %645, %618
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  br label %647

647:                                              ; preds = %646, %614
  call void @llvm.lifetime.end.p0(i64 5000, ptr %36) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %35) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr %35) #9
  br label %687

648:                                              ; preds = %544
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  %649 = load ptr, ptr %47, align 8, !tbaa !21
  store ptr %649, ptr %49, align 8, !tbaa !21
  %650 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.32)
  %651 = load ptr, ptr %49, align 8, !tbaa !21
  %652 = load i32, ptr %651, align 4, !tbaa !18
  %653 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %650, i32 noundef %652)
  %654 = load ptr, ptr %49, align 8, !tbaa !21
  %655 = load i32, ptr %654, align 4, !tbaa !18
  %656 = icmp eq i32 %655, 0
  call void @_Z5checkb(i1 noundef zeroext %656)
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  br label %657

657:                                              ; preds = %648
  %658 = load ptr, ptr %47, align 8, !tbaa !21
  %659 = getelementptr inbounds i32, ptr %658, i32 1
  store ptr %659, ptr %47, align 8, !tbaa !21
  br label %544

660:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #9
  store i64 0, ptr %50, align 8, !tbaa !5
  br label %661

661:                                              ; preds = %680, %660
  %662 = load i64, ptr %50, align 8, !tbaa !5
  %663 = icmp ult i64 %662, 10
  br i1 %663, label %665, label %664

664:                                              ; preds = %661
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  br label %683

665:                                              ; preds = %661
  %666 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.33)
  %667 = load i64, ptr %50, align 8, !tbaa !5
  %668 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %666, i64 noundef %667)
  %669 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %668, ptr noundef @.str.34)
  %670 = load i64, ptr %50, align 8, !tbaa !5
  %671 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %44, i64 noundef %670) #9
  %672 = load i32, ptr %671, align 4, !tbaa !18
  %673 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %669, i32 noundef %672)
  %674 = load i64, ptr %50, align 8, !tbaa !5
  %675 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %44, i64 noundef %674) #9
  %676 = load i32, ptr %675, align 4, !tbaa !18
  %677 = zext i32 %676 to i64
  %678 = load i64, ptr %50, align 8, !tbaa !5
  %679 = icmp eq i64 %677, %678
  call void @_Z5checkb(i1 noundef zeroext %679)
  br label %680

680:                                              ; preds = %665
  %681 = load i64, ptr %50, align 8, !tbaa !5
  %682 = add i64 %681, 1
  store i64 %682, ptr %50, align 8, !tbaa !5
  br label %661, !llvm.loop !23

683:                                              ; preds = %664
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #9
  %684 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %685 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.35)
  %686 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %685, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0

687:                                              ; preds = %647, %613, %580, %561, %170, %87
  %688 = load ptr, ptr %4, align 8
  %689 = load i32, ptr %5, align 4
  %690 = insertvalue { ptr, i32 } poison, ptr %688, 0
  %691 = insertvalue { ptr, i32 } %690, i32 %689, 1
  resume { ptr, i32 } %691
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6fill_nIPiiiET_S1_T0_RKT1_(ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef, ptr noundef, i32 noundef) #7

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40), i64 noundef) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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


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

%"class.std::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.primesieve::Array" = type { [10 x i32] }
%"class.primesieve::Vector" = type { ptr, ptr, ptr }
%"class.std::random_device" = type { %union.anon }
%union.anon = type { %"class.std::mersenne_twister_engine" }
%"class.std::mersenne_twister_engine" = type { [624 x i64], i64 }
%"class.std::uniform_int_distribution" = type { %"struct.std::uniform_int_distribution<unsigned long>::param_type" }
%"struct.std::uniform_int_distribution<unsigned long>::param_type" = type { i64, i64 }
%"class.primesieve::Vector.0" = type { ptr, ptr, ptr }
%"class.primesieve::Vector.1" = type { ptr, ptr, ptr }
%"class.primesieve::Vector.2" = type { ptr, ptr, ptr }
%"class.std::uniform_int_distribution.3" = type { %"struct.std::uniform_int_distribution<>::param_type" }
%"struct.std::uniform_int_distribution<>::param_type" = type { i32, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.4 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@__const.main.arr1 = external hidden unnamed_addr constant %"class.primesieve::Array", align 4
@.str.31 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5checkb(i1 noundef zeroext) local_unnamed_addr #0

; 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 norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.primesieve::Vector", align 8
  %2 = alloca %"class.std::random_device", align 8
  %3 = alloca %"class.std::mersenne_twister_engine", align 8
  %4 = alloca %"class.std::uniform_int_distribution", align 8
  %5 = alloca %"class.primesieve::Vector.0", align 8
  %6 = alloca i64, align 8
  %7 = alloca %"class.std::random_device", align 8
  %8 = alloca %"class.std::mersenne_twister_engine", align 8
  %9 = alloca %"class.std::uniform_int_distribution", align 8
  %10 = alloca %"class.primesieve::Vector.1", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::random_device", align 8
  %14 = alloca %"class.std::mersenne_twister_engine", align 8
  %15 = alloca %"class.std::uniform_int_distribution", align 8
  %16 = alloca %"class.primesieve::Vector.2", align 8
  %17 = alloca %"class.std::random_device", align 8
  %18 = alloca %"class.std::mersenne_twister_engine", align 8
  %19 = alloca %"class.std::uniform_int_distribution.3", align 4
  %20 = alloca %"class.primesieve::Vector.2", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::random_device", align 8
  %23 = alloca %"class.std::mersenne_twister_engine", align 8
  %24 = alloca %"class.std::uniform_int_distribution.3", align 4
  %25 = alloca %"class.primesieve::Vector.2", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.primesieve::Vector.2", align 8
  %28 = alloca %"class.primesieve::Array", align 4
  %29 = alloca %"class.primesieve::Array", align 4
  %30 = alloca i32, align 4
  br label %33

31:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %2) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %2)
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %3) #9
  %32 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %2)
          to label %53 unwind label %60

33:                                               ; preds = %0, %44
  %.069135 = phi i64 [ 10, %0 ], [ %45, %44 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #9
  call void @_ZN10primesieve6VectorIcSaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %34 = shl nuw nsw i64 1, %.069135
  invoke void @_ZN10primesieve6VectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %34)
          to label %35 unwind label %46

35:                                               ; preds = %33
  %36 = call noundef i64 @_ZNK10primesieve6VectorIcSaIcEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  invoke void @_ZN10primesieve6VectorIcSaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 100)
          to label %37 unwind label %48

37:                                               ; preds = %35
  %38 = call noundef i64 @_ZNK10primesieve6VectorIcSaIcEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %39 = invoke 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)
          to label %40 unwind label %50

40:                                               ; preds = %37
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %39, i64 noundef %36)
          to label %42 unwind label %50

42:                                               ; preds = %40
  %43 = icmp eq i64 %36, %38
  invoke void @_Z5checkb(i1 noundef zeroext %43)
          to label %44 unwind label %50

44:                                               ; preds = %42
  call void @_ZN10primesieve6VectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #9
  %45 = add nuw nsw i64 %.069135, 1
  %exitcond.not = icmp eq i64 %45, 28
  br i1 %exitcond.not, label %31, label %33, !llvm.loop !5

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

48:                                               ; preds = %35
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %52

50:                                               ; preds = %42, %40, %37
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %52

52:                                               ; preds = %48, %50, %46
  %.pn130.pn = phi { ptr, i32 } [ %47, %46 ], [ %51, %50 ], [ %49, %48 ]
  call void @_ZN10primesieve6VectorIcSaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #9
  br label %554

53:                                               ; preds = %31
  %54 = zext i32 %32 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %3, i64 noundef %54)
          to label %55 unwind label %60

55:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  invoke void @_ZNSt24uniform_int_distributionImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 100, i64 noundef 200)
          to label %56 unwind label %62

56:                                               ; preds = %55
  %57 = invoke noundef i64 @_ZNSt24uniform_int_distributionImEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEmRT_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(5000) %3)
          to label %58 unwind label %64

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #9
  call void @_ZN10primesieve6VectorImSaImEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store i64 0, ptr %6, align 8, !tbaa !7
  br label %66

59:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %74

60:                                               ; preds = %53, %31
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %98

62:                                               ; preds = %55
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %97

64:                                               ; preds = %56
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %97

66:                                               ; preds = %58, %67
  invoke void @_ZN10primesieve6VectorImSaImEE9push_backERKm(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %67 unwind label %70

67:                                               ; preds = %66
  %68 = load i64, ptr %6, align 8, !tbaa !7
  %69 = add i64 %68, 1
  store i64 %69, ptr %6, align 8, !tbaa !7
  %.not = icmp ugt i64 %69, %57
  br i1 %.not, label %59, label %66, !llvm.loop !11

70:                                               ; preds = %66
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %96

72:                                               ; preds = %86
  call void @_ZN10primesieve6VectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %3) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %2) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %2) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %7) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %7)
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %8) #9
  %73 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %7)
          to label %90 unwind label %99

74:                                               ; preds = %59, %86
  %.098136 = phi i64 [ 0, %59 ], [ %87, %86 ]
  %75 = invoke 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)
          to label %76 unwind label %88

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %75, i64 noundef %.098136)
          to label %78 unwind label %88

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @.str.6)
          to label %80 unwind label %88

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %79, i64 noundef %.098136)
          to label %82 unwind label %88

82:                                               ; preds = %80
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN10primesieve6VectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.098136) #9
  %84 = load i64, ptr %83, align 8, !tbaa !7
  %85 = icmp eq i64 %84, %.098136
  invoke void @_Z5checkb(i1 noundef zeroext %85)
          to label %86 unwind label %88

86:                                               ; preds = %82
  %87 = add i64 %.098136, 1
  %.not101 = icmp ugt i64 %87, %57
  br i1 %.not101, label %72, label %74, !llvm.loop !12

88:                                               ; preds = %82, %80, %78, %76, %74
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %96

90:                                               ; preds = %72
  %91 = zext i32 %73 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %8, i64 noundef %91)
          to label %92 unwind label %99

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  invoke void @_ZNSt24uniform_int_distributionImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %9, i64 noundef 100, i64 noundef 200)
          to label %93 unwind label %101

93:                                               ; preds = %92
  %94 = invoke noundef i64 @_ZNSt24uniform_int_distributionImEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEmRT_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(5000) %8)
          to label %95 unwind label %103

95:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #9
  invoke void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEC2Em(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %94)
          to label %.preheader134 unwind label %105

.preheader134:                                    ; preds = %95
  %.not143 = icmp eq i64 %94, 0
  br i1 %.not143, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %128, %.preheader134
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #9
  store i32 7, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #9
  store i32 8, ptr %12, align 4, !tbaa !13
  invoke void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE12emplace_backIJiiEEEvDpOT_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %132 unwind label %493

96:                                               ; preds = %88, %70
  %.pn125 = phi { ptr, i32 } [ %71, %70 ], [ %89, %88 ]
  call void @_ZN10primesieve6VectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  br label %97

97:                                               ; preds = %64, %96, %62
  %.pn125.pn.pn = phi { ptr, i32 } [ %63, %62 ], [ %.pn125, %96 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  br label %98

98:                                               ; preds = %97, %60
  %.pn125.pn.pn.pn = phi { ptr, i32 } [ %.pn125.pn.pn, %97 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %3) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %2) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %2) #9
  br label %554

99:                                               ; preds = %90, %72
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %500

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

103:                                              ; preds = %93
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %499

105:                                              ; preds = %95
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %498

.lr.ph:                                           ; preds = %.preheader134, %128
  %.099137 = phi i64 [ %129, %128 ], [ 0, %.preheader134 ]
  %107 = invoke 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)
          to label %108 unwind label %130

108:                                              ; preds = %.lr.ph
  %109 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.099137) #9
  %110 = load i32, ptr %109, align 4, !tbaa !15
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %107, i32 noundef %110)
          to label %112 unwind label %130

112:                                              ; preds = %108
  %113 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.099137) #9
  %114 = load i32, ptr %113, align 4, !tbaa !15
  %115 = icmp eq i32 %114, 100
  invoke void @_Z5checkb(i1 noundef zeroext %115)
          to label %116 unwind label %130

116:                                              ; preds = %112
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
          to label %118 unwind label %130

118:                                              ; preds = %116
  %119 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.099137) #9
  %120 = getelementptr inbounds i8, ptr %119, i64 4
  %121 = load i32, ptr %120, align 4, !tbaa !17
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %117, i32 noundef %121)
          to label %123 unwind label %130

123:                                              ; preds = %118
  %124 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.099137) #9
  %125 = getelementptr inbounds i8, ptr %124, i64 4
  %126 = load i32, ptr %125, align 4, !tbaa !17
  %127 = icmp eq i32 %126, 200
  invoke void @_Z5checkb(i1 noundef zeroext %127)
          to label %128 unwind label %130

128:                                              ; preds = %123
  %129 = add nuw i64 %.099137, 1
  %exitcond144.not = icmp eq i64 %129, %94
  br i1 %exitcond144.not, label %._crit_edge, label %.lr.ph, !llvm.loop !18

130:                                              ; preds = %123, %118, %116, %112, %108, %.lr.ph
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %497

132:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
          to label %134 unwind label %495

134:                                              ; preds = %132
  %135 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %136 = load i32, ptr %135, align 4, !tbaa !15
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %133, i32 noundef %136)
          to label %138 unwind label %495

138:                                              ; preds = %134
  %139 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %140 = load i32, ptr %139, align 4, !tbaa !15
  %141 = icmp eq i32 %140, 7
  invoke void @_Z5checkb(i1 noundef zeroext %141)
          to label %142 unwind label %495

142:                                              ; preds = %138
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
          to label %144 unwind label %495

144:                                              ; preds = %142
  %145 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %146 = getelementptr inbounds i8, ptr %145, i64 4
  %147 = load i32, ptr %146, align 4, !tbaa !17
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %143, i32 noundef %147)
          to label %149 unwind label %495

149:                                              ; preds = %144
  %150 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  %151 = getelementptr inbounds i8, ptr %150, i64 4
  %152 = load i32, ptr %151, align 4, !tbaa !17
  %153 = icmp eq i32 %152, 8
  invoke void @_Z5checkb(i1 noundef zeroext %153)
          to label %154 unwind label %495

154:                                              ; preds = %149
  call void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %8) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %7) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %13) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %13)
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %14) #9
  %155 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %13)
          to label %156 unwind label %501

156:                                              ; preds = %154
  %157 = zext i32 %155 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %14, i64 noundef %157)
          to label %158 unwind label %501

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #9
  invoke void @_ZNSt24uniform_int_distributionImEC2Emm(ptr noundef nonnull align 8 dereferenceable(16) %15, i64 noundef 10000, i64 noundef 20000)
          to label %159 unwind label %503

159:                                              ; preds = %158
  %160 = invoke noundef i64 @_ZNSt24uniform_int_distributionImEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEmRT_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(5000) %14)
          to label %161 unwind label %505

161:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #9
  call void @_ZN10primesieve6VectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0)
          to label %162 unwind label %507

162:                                              ; preds = %161
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
          to label %164 unwind label %507

164:                                              ; preds = %162
  %165 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %163, i64 noundef %165)
          to label %167 unwind label %507

167:                                              ; preds = %164
  %168 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %169 = icmp eq i64 %168, 0
  invoke void @_Z5checkb(i1 noundef zeroext %169)
          to label %170 unwind label %507

170:                                              ; preds = %167
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.11)
          to label %172 unwind label %507

172:                                              ; preds = %170
  %173 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %171, i64 noundef %173)
          to label %175 unwind label %507

175:                                              ; preds = %172
  %176 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %177 = icmp eq i64 %176, 0
  invoke void @_Z5checkb(i1 noundef zeroext %177)
          to label %178 unwind label %507

178:                                              ; preds = %175
  invoke void @_ZN10primesieve6VectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %160)
          to label %179 unwind label %507

179:                                              ; preds = %178
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.12)
          to label %181 unwind label %507

181:                                              ; preds = %179
  %182 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %180, i64 noundef %182)
          to label %184 unwind label %507

184:                                              ; preds = %181
  %185 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %186 = icmp eq i64 %185, 0
  invoke void @_Z5checkb(i1 noundef zeroext %186)
          to label %187 unwind label %507

187:                                              ; preds = %184
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.13)
          to label %189 unwind label %507

189:                                              ; preds = %187
  %190 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %188, i1 noundef zeroext %190)
          to label %192 unwind label %507

192:                                              ; preds = %189
  %193 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  invoke void @_Z5checkb(i1 noundef zeroext %193)
          to label %194 unwind label %507

194:                                              ; preds = %192
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.14)
          to label %196 unwind label %507

196:                                              ; preds = %194
  %197 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %195, i64 noundef %197)
          to label %199 unwind label %507

199:                                              ; preds = %196
  %200 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %201 = icmp eq i64 %200, %160
  invoke void @_Z5checkb(i1 noundef zeroext %201)
          to label %202 unwind label %507

202:                                              ; preds = %199
  %203 = lshr i64 %160, 1
  invoke void @_ZN10primesieve6VectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %203)
          to label %204 unwind label %507

204:                                              ; preds = %202
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.15)
          to label %206 unwind label %507

206:                                              ; preds = %204
  %207 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %205, i64 noundef %207)
          to label %209 unwind label %507

209:                                              ; preds = %206
  %210 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %211 = icmp eq i64 %210, 0
  invoke void @_Z5checkb(i1 noundef zeroext %211)
          to label %212 unwind label %507

212:                                              ; preds = %209
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.16)
          to label %214 unwind label %507

214:                                              ; preds = %212
  %215 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %213, i1 noundef zeroext %215)
          to label %217 unwind label %507

217:                                              ; preds = %214
  %218 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  invoke void @_Z5checkb(i1 noundef zeroext %218)
          to label %219 unwind label %507

219:                                              ; preds = %217
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.17)
          to label %221 unwind label %507

221:                                              ; preds = %219
  %222 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %220, i64 noundef %222)
          to label %224 unwind label %507

224:                                              ; preds = %221
  %225 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %226 = icmp eq i64 %225, %160
  invoke void @_Z5checkb(i1 noundef zeroext %226)
          to label %227 unwind label %507

227:                                              ; preds = %224
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %160)
          to label %228 unwind label %507

228:                                              ; preds = %227
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.18)
          to label %230 unwind label %507

230:                                              ; preds = %228
  %231 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %229, i64 noundef %231)
          to label %233 unwind label %507

233:                                              ; preds = %230
  %234 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %235 = icmp eq i64 %234, %160
  invoke void @_Z5checkb(i1 noundef zeroext %235)
          to label %236 unwind label %507

236:                                              ; preds = %233
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.19)
          to label %238 unwind label %507

238:                                              ; preds = %236
  %239 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %237, i64 noundef %239)
          to label %241 unwind label %507

241:                                              ; preds = %238
  %242 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %243 = icmp eq i64 %242, %160
  invoke void @_Z5checkb(i1 noundef zeroext %243)
          to label %244 unwind label %507

244:                                              ; preds = %241
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %160)
          to label %245 unwind label %507

245:                                              ; preds = %244
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
          to label %247 unwind label %507

247:                                              ; preds = %245
  %248 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %246, i64 noundef %248)
          to label %250 unwind label %507

250:                                              ; preds = %247
  %251 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %252 = icmp eq i64 %251, %160
  invoke void @_Z5checkb(i1 noundef zeroext %252)
          to label %253 unwind label %507

253:                                              ; preds = %250
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.21)
          to label %255 unwind label %507

255:                                              ; preds = %253
  %256 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %254, i64 noundef %256)
          to label %258 unwind label %507

258:                                              ; preds = %255
  %259 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %260 = icmp eq i64 %259, %160
  invoke void @_Z5checkb(i1 noundef zeroext %260)
          to label %261 unwind label %507

261:                                              ; preds = %258
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %203)
          to label %262 unwind label %507

262:                                              ; preds = %261
  %263 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.22)
          to label %264 unwind label %507

264:                                              ; preds = %262
  %265 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %263, i64 noundef %265)
          to label %267 unwind label %507

267:                                              ; preds = %264
  %268 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %269 = icmp eq i64 %268, %203
  invoke void @_Z5checkb(i1 noundef zeroext %269)
          to label %270 unwind label %507

270:                                              ; preds = %267
  %271 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.23)
          to label %272 unwind label %507

272:                                              ; preds = %270
  %273 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %271, i64 noundef %273)
          to label %275 unwind label %507

275:                                              ; preds = %272
  %276 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %277 = icmp eq i64 %276, %160
  invoke void @_Z5checkb(i1 noundef zeroext %277)
          to label %278 unwind label %507

278:                                              ; preds = %275
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0)
          to label %279 unwind label %507

279:                                              ; preds = %278
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
          to label %281 unwind label %507

281:                                              ; preds = %279
  %282 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %280, i64 noundef %282)
          to label %284 unwind label %507

284:                                              ; preds = %281
  %285 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %286 = icmp eq i64 %285, 0
  invoke void @_Z5checkb(i1 noundef zeroext %286)
          to label %287 unwind label %507

287:                                              ; preds = %284
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.11)
          to label %289 unwind label %507

289:                                              ; preds = %287
  %290 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %288, i64 noundef %290)
          to label %292 unwind label %507

292:                                              ; preds = %289
  %293 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %294 = icmp eq i64 %293, %160
  invoke void @_Z5checkb(i1 noundef zeroext %294)
          to label %295 unwind label %507

295:                                              ; preds = %292
  %296 = shl i64 %160, 1
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %296)
          to label %297 unwind label %507

297:                                              ; preds = %295
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.24)
          to label %299 unwind label %507

299:                                              ; preds = %297
  %300 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %301 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %298, i64 noundef %300)
          to label %302 unwind label %507

302:                                              ; preds = %299
  %303 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %304 = icmp eq i64 %303, %296
  invoke void @_Z5checkb(i1 noundef zeroext %304)
          to label %305 unwind label %507

305:                                              ; preds = %302
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.25)
          to label %307 unwind label %507

307:                                              ; preds = %305
  %308 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %309 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %306, i64 noundef %308)
          to label %310 unwind label %507

310:                                              ; preds = %307
  %311 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  %312 = icmp uge i64 %311, %296
  invoke void @_Z5checkb(i1 noundef zeroext %312)
          to label %313 unwind label %507

313:                                              ; preds = %310
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %14) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %13) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %17) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %17)
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %18) #9
  %314 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %17)
          to label %315 unwind label %511

315:                                              ; preds = %313
  %316 = zext i32 %314 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %18, i64 noundef %316)
          to label %317 unwind label %511

317:                                              ; preds = %315
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef 10000, i32 noundef 20000)
          to label %318 unwind label %513

318:                                              ; preds = %317
  %319 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(5000) %18)
          to label %320 unwind label %515

320:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #9
  %321 = sext i32 %319 to i64
  invoke void @_ZN10primesieve6VectorIiSaIiEEC2Em(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %321)
          to label %322 unwind label %517

322:                                              ; preds = %320
  %323 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #9
  store i32 123, ptr %21, align 4, !tbaa !13
  %324 = invoke noundef ptr @_ZSt6fill_nIPiiiET_S1_T0_RKT1_(ptr noundef nonnull %323, i32 noundef %319, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %325 unwind label %519

325:                                              ; preds = %322
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #9
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0)
          to label %326 unwind label %521

326:                                              ; preds = %325
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %321)
          to label %327 unwind label %521

327:                                              ; preds = %326
  %328 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %329 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %330 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %331 = getelementptr inbounds i32, ptr %329, i64 %330
  %332 = call noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef nonnull %328, ptr noundef nonnull %331, i32 noundef 0)
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.26)
          to label %334 unwind label %523

334:                                              ; preds = %327
  %335 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %333, i32 noundef %332)
          to label %336 unwind label %523

336:                                              ; preds = %334
  %337 = mul nsw i32 %319, 123
  %338 = icmp eq i32 %332, %337
  invoke void @_Z5checkb(i1 noundef zeroext %338)
          to label %339 unwind label %523

339:                                              ; preds = %336
  %340 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.27)
          to label %341 unwind label %523

341:                                              ; preds = %339
  %342 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPKv(ptr noundef nonnull align 8 dereferenceable(8) %340, ptr noundef %342)
          to label %344 unwind label %523

344:                                              ; preds = %341
  %345 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %346 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %347 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %348 = getelementptr inbounds i32, ptr %346, i64 %347
  %349 = icmp eq ptr %345, %348
  invoke void @_Z5checkb(i1 noundef zeroext %349)
          to label %350 unwind label %523

350:                                              ; preds = %344
  %351 = call noundef i64 @_ZNK10primesieve6VectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  %352 = shl i64 %351, 1
  invoke void @_ZN10primesieve6VectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %352)
          to label %353 unwind label %523

353:                                              ; preds = %350
  %354 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #9
  %356 = getelementptr inbounds i32, ptr %355, i64 %321
  %357 = call noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef nonnull %354, ptr noundef nonnull %356, i32 noundef 0)
  %358 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.28)
          to label %359 unwind label %523

359:                                              ; preds = %353
  %360 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %358, i32 noundef %357)
          to label %361 unwind label %523

361:                                              ; preds = %359
  %362 = icmp eq i32 %357, %337
  invoke void @_Z5checkb(i1 noundef zeroext %362)
          to label %363 unwind label %523

363:                                              ; preds = %361
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %18) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %17) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %22) #9
  call void @_ZNSt13random_deviceC2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %22)
  call void @llvm.lifetime.start.p0(i64 5000, ptr nonnull %23) #9
  %364 = invoke noundef i32 @_ZNSt13random_deviceclEv(ptr noundef nonnull align 8 dereferenceable(5000) %22)
          to label %365 unwind label %529

365:                                              ; preds = %363
  %366 = zext i32 %364 to i64
  invoke void @_ZNSt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEC2Em(ptr noundef nonnull align 8 dereferenceable(5000) %23, i64 noundef %366)
          to label %367 unwind label %529

367:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #9
  invoke void @_ZNSt24uniform_int_distributionIiEC2Eii(ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef 10000, i32 noundef 20000)
          to label %368 unwind label %531

368:                                              ; preds = %367
  %369 = invoke noundef i32 @_ZNSt24uniform_int_distributionIiEclISt23mersenne_twister_engineImLm32ELm624ELm397ELm31ELm2567483615ELm11ELm4294967295ELm7ELm2636928640ELm15ELm4022730752ELm18ELm1812433253EEEEiRT_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(5000) %23)
          to label %370 unwind label %533

370:                                              ; preds = %368
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #9
  %371 = sext i32 %369 to i64
  invoke void @_ZN10primesieve6VectorIiSaIiEEC2Em(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %371)
          to label %372 unwind label %535

372:                                              ; preds = %370
  %373 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve6VectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #9
  store i32 123, ptr %26, align 4, !tbaa !13
  %374 = invoke noundef ptr @_ZSt6fill_nIPiiiET_S1_T0_RKT1_(ptr noundef nonnull %373, i32 noundef %369, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %375 unwind label %537

375:                                              ; preds = %372
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #9
  call void @_ZN10primesieve6VectorIiSaIiEEC2EOS2_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.29)
          to label %377 unwind label %539

377:                                              ; preds = %375
  %378 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  %379 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %376, i1 noundef zeroext %378)
          to label %380 unwind label %539

380:                                              ; preds = %377
  %381 = call noundef zeroext i1 @_ZNK10primesieve6VectorIiSaIiEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  invoke void @_Z5checkb(i1 noundef zeroext %381)
          to label %382 unwind label %539

382:                                              ; preds = %380
  %383 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %384 = call noundef ptr @_ZN10primesieve6VectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  %385 = call noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef %383, ptr noundef %384, i32 noundef 0)
  %386 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.30)
          to label %387 unwind label %541

387:                                              ; preds = %382
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %386, i32 noundef %385)
          to label %389 unwind label %541

389:                                              ; preds = %387
  %390 = mul nsw i32 %369, 123
  %391 = icmp eq i32 %385, %390
  invoke void @_Z5checkb(i1 noundef zeroext %391)
          to label %392 unwind label %541

392:                                              ; preds = %389
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #9
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %23) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %22) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %28) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %28, ptr noundef nonnull align 4 dereferenceable(40) @__const.main.arr1, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %29) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %29, ptr noundef nonnull align 4 dereferenceable(40) @__const.main.arr1, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #9
  store i32 0, ptr %30, align 4, !tbaa !13
  call void @_ZN10primesieve5ArrayIjLm10EE4fillERKj(ptr noundef nonnull align 4 dereferenceable(40) %28, ptr noundef nonnull align 4 dereferenceable(4) %30)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #9
  %393 = 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.31)
  %394 = call noundef i64 @_ZNK10primesieve5ArrayIjLm10EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(40) %29) #9
  %395 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %393, i64 noundef %394)
  %396 = call noundef i64 @_ZNK10primesieve5ArrayIjLm10EE4sizeEv(ptr noundef nonnull align 4 dereferenceable(40) %29) #9
  %397 = icmp eq i64 %396, 10
  call void @_Z5checkb(i1 noundef zeroext %397)
  %398 = call noundef ptr @_ZN10primesieve5ArrayIjLm10EE5beginEv(ptr noundef nonnull align 4 dereferenceable(40) %28) #9
  %399 = call noundef ptr @_ZN10primesieve5ArrayIjLm10EE3endEv(ptr noundef nonnull align 4 dereferenceable(40) %28) #9
  %.not118138 = icmp eq ptr %398, %399
  br i1 %.not118138, label %.preheader, label %.lr.ph141

.preheader:                                       ; preds = %.lr.ph141, %392
  %400 = 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.33)
  %401 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %400, i64 noundef 0)
  %402 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %401, ptr noundef nonnull @.str.34)
  %403 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 0) #9
  %404 = load i32, ptr %403, align 4, !tbaa !13
  %405 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %402, i32 noundef %404)
  %406 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 0) #9
  %407 = load i32, ptr %406, align 4, !tbaa !13
  %408 = icmp eq i32 %407, 0
  call void @_Z5checkb(i1 noundef zeroext %408)
  %409 = 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.33)
  %410 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %409, i64 noundef 1)
  %411 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %410, ptr noundef nonnull @.str.34)
  %412 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 1) #9
  %413 = load i32, ptr %412, align 4, !tbaa !13
  %414 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %411, i32 noundef %413)
  %415 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 1) #9
  %416 = load i32, ptr %415, align 4, !tbaa !13
  %417 = icmp eq i32 %416, 1
  call void @_Z5checkb(i1 noundef zeroext %417)
  %418 = 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.33)
  %419 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %418, i64 noundef 2)
  %420 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %419, ptr noundef nonnull @.str.34)
  %421 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 2) #9
  %422 = load i32, ptr %421, align 4, !tbaa !13
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %420, i32 noundef %422)
  %424 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 2) #9
  %425 = load i32, ptr %424, align 4, !tbaa !13
  %426 = icmp eq i32 %425, 2
  call void @_Z5checkb(i1 noundef zeroext %426)
  %427 = 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.33)
  %428 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %427, i64 noundef 3)
  %429 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %428, ptr noundef nonnull @.str.34)
  %430 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 3) #9
  %431 = load i32, ptr %430, align 4, !tbaa !13
  %432 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %429, i32 noundef %431)
  %433 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 3) #9
  %434 = load i32, ptr %433, align 4, !tbaa !13
  %435 = icmp eq i32 %434, 3
  call void @_Z5checkb(i1 noundef zeroext %435)
  %436 = 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.33)
  %437 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %436, i64 noundef 4)
  %438 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %437, ptr noundef nonnull @.str.34)
  %439 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 4) #9
  %440 = load i32, ptr %439, align 4, !tbaa !13
  %441 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %438, i32 noundef %440)
  %442 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 4) #9
  %443 = load i32, ptr %442, align 4, !tbaa !13
  %444 = icmp eq i32 %443, 4
  call void @_Z5checkb(i1 noundef zeroext %444)
  %445 = 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.33)
  %446 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %445, i64 noundef 5)
  %447 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %446, ptr noundef nonnull @.str.34)
  %448 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 5) #9
  %449 = load i32, ptr %448, align 4, !tbaa !13
  %450 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %447, i32 noundef %449)
  %451 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 5) #9
  %452 = load i32, ptr %451, align 4, !tbaa !13
  %453 = icmp eq i32 %452, 5
  call void @_Z5checkb(i1 noundef zeroext %453)
  %454 = 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.33)
  %455 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %454, i64 noundef 6)
  %456 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %455, ptr noundef nonnull @.str.34)
  %457 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 6) #9
  %458 = load i32, ptr %457, align 4, !tbaa !13
  %459 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %456, i32 noundef %458)
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 6) #9
  %461 = load i32, ptr %460, align 4, !tbaa !13
  %462 = icmp eq i32 %461, 6
  call void @_Z5checkb(i1 noundef zeroext %462)
  %463 = 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.33)
  %464 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %463, i64 noundef 7)
  %465 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %464, ptr noundef nonnull @.str.34)
  %466 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 7) #9
  %467 = load i32, ptr %466, align 4, !tbaa !13
  %468 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %465, i32 noundef %467)
  %469 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 7) #9
  %470 = load i32, ptr %469, align 4, !tbaa !13
  %471 = icmp eq i32 %470, 7
  call void @_Z5checkb(i1 noundef zeroext %471)
  %472 = 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.33)
  %473 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %472, i64 noundef 8)
  %474 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %473, ptr noundef nonnull @.str.34)
  %475 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 8) #9
  %476 = load i32, ptr %475, align 4, !tbaa !13
  %477 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %474, i32 noundef %476)
  %478 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 8) #9
  %479 = load i32, ptr %478, align 4, !tbaa !13
  %480 = icmp eq i32 %479, 8
  call void @_Z5checkb(i1 noundef zeroext %480)
  %481 = 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.33)
  %482 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %481, i64 noundef 9)
  %483 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %482, ptr noundef nonnull @.str.34)
  %484 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 9) #9
  %485 = load i32, ptr %484, align 4, !tbaa !13
  %486 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %483, i32 noundef %485)
  %487 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40) %29, i64 noundef 9) #9
  %488 = load i32, ptr %487, align 4, !tbaa !13
  %489 = icmp eq i32 %488, 9
  call void @_Z5checkb(i1 noundef zeroext %489)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #9
  %490 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %491 = 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.35)
  %492 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %491, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0

493:                                              ; preds = %._crit_edge
  %494 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  br label %497

495:                                              ; preds = %149, %144, %142, %138, %134, %132
  %496 = landingpad { ptr, i32 }
          cleanup
  br label %497

497:                                              ; preds = %495, %493, %130
  %.pn119 = phi { ptr, i32 } [ %131, %130 ], [ %496, %495 ], [ %494, %493 ]
  call void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #9
  br label %498

498:                                              ; preds = %497, %105
  %.pn119.pn = phi { ptr, i32 } [ %.pn119, %497 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #9
  br label %499

499:                                              ; preds = %103, %498, %101
  %.pn119.pn.pn.pn = phi { ptr, i32 } [ %102, %101 ], [ %.pn119.pn, %498 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  br label %500

500:                                              ; preds = %499, %99
  %.pn119.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn, %499 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %8) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %7) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %7) #9
  br label %554

501:                                              ; preds = %156, %154
  %502 = landingpad { ptr, i32 }
          cleanup
  br label %510

503:                                              ; preds = %158
  %504 = landingpad { ptr, i32 }
          cleanup
  br label %509

505:                                              ; preds = %159
  %506 = landingpad { ptr, i32 }
          cleanup
  br label %509

507:                                              ; preds = %310, %307, %305, %302, %299, %297, %295, %292, %289, %287, %284, %281, %279, %278, %275, %272, %270, %267, %264, %262, %261, %258, %255, %253, %250, %247, %245, %244, %241, %238, %236, %233, %230, %228, %227, %224, %221, %219, %217, %214, %212, %209, %206, %204, %202, %199, %196, %194, %192, %189, %187, %184, %181, %179, %178, %175, %172, %170, %167, %164, %162, %161
  %508 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #9
  br label %509

509:                                              ; preds = %505, %507, %503
  %.pn.pn = phi { ptr, i32 } [ %504, %503 ], [ %508, %507 ], [ %506, %505 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  br label %510

510:                                              ; preds = %509, %501
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %509 ], [ %502, %501 ]
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %14) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %13) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %13) #9
  br label %554

511:                                              ; preds = %315, %313
  %512 = landingpad { ptr, i32 }
          cleanup
  br label %528

513:                                              ; preds = %317
  %514 = landingpad { ptr, i32 }
          cleanup
  br label %527

515:                                              ; preds = %318
  %516 = landingpad { ptr, i32 }
          cleanup
  br label %527

517:                                              ; preds = %320
  %518 = landingpad { ptr, i32 }
          cleanup
  br label %526

519:                                              ; preds = %322
  %520 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #9
  br label %525

521:                                              ; preds = %326, %325
  %522 = landingpad { ptr, i32 }
          cleanup
  br label %525

523:                                              ; preds = %361, %359, %353, %350, %344, %341, %339, %336, %334, %327
  %524 = landingpad { ptr, i32 }
          cleanup
  br label %525

525:                                              ; preds = %523, %521, %519
  %.pn105 = phi { ptr, i32 } [ %524, %523 ], [ %522, %521 ], [ %520, %519 ]
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #9
  br label %526

526:                                              ; preds = %525, %517
  %.pn105.pn = phi { ptr, i32 } [ %.pn105, %525 ], [ %518, %517 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #9
  br label %527

527:                                              ; preds = %515, %526, %513
  %.pn105.pn.pn.pn = phi { ptr, i32 } [ %514, %513 ], [ %.pn105.pn, %526 ], [ %516, %515 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %528

528:                                              ; preds = %527, %511
  %.pn105.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn105.pn.pn.pn, %527 ], [ %512, %511 ]
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %18) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %17) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %17) #9
  br label %554

529:                                              ; preds = %365, %363
  %530 = landingpad { ptr, i32 }
          cleanup
  br label %547

531:                                              ; preds = %367
  %532 = landingpad { ptr, i32 }
          cleanup
  br label %546

533:                                              ; preds = %368
  %534 = landingpad { ptr, i32 }
          cleanup
  br label %546

535:                                              ; preds = %370
  %536 = landingpad { ptr, i32 }
          cleanup
  br label %545

537:                                              ; preds = %372
  %538 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #9
  br label %544

539:                                              ; preds = %380, %377, %375
  %540 = landingpad { ptr, i32 }
          cleanup
  br label %543

541:                                              ; preds = %389, %387, %382
  %542 = landingpad { ptr, i32 }
          cleanup
  br label %543

543:                                              ; preds = %541, %539
  %.pn111 = phi { ptr, i32 } [ %542, %541 ], [ %540, %539 ]
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #9
  br label %544

544:                                              ; preds = %543, %537
  %.pn111.pn = phi { ptr, i32 } [ %.pn111, %543 ], [ %538, %537 ]
  call void @_ZN10primesieve6VectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  br label %545

545:                                              ; preds = %544, %535
  %.pn111.pn.pn = phi { ptr, i32 } [ %.pn111.pn, %544 ], [ %536, %535 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #9
  br label %546

546:                                              ; preds = %533, %545, %531
  %.pn111.pn.pn.pn.pn = phi { ptr, i32 } [ %532, %531 ], [ %.pn111.pn.pn, %545 ], [ %534, %533 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #9
  br label %547

547:                                              ; preds = %546, %529
  %.pn111.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn111.pn.pn.pn.pn, %546 ], [ %530, %529 ]
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %23) #9
  call void @_ZNSt13random_deviceD2Ev(ptr noundef nonnull align 8 dereferenceable(5000) %22) #9
  call void @llvm.lifetime.end.p0(i64 5000, ptr nonnull %22) #9
  br label %554

.lr.ph141:                                        ; preds = %392, %.lr.ph141
  %.071139 = phi ptr [ %553, %.lr.ph141 ], [ %398, %392 ]
  %548 = 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)
  %549 = load i32, ptr %.071139, align 4, !tbaa !13
  %550 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %548, i32 noundef %549)
  %551 = load i32, ptr %.071139, align 4, !tbaa !13
  %552 = icmp eq i32 %551, 0
  call void @_Z5checkb(i1 noundef zeroext %552)
  %553 = getelementptr inbounds i8, ptr %.071139, i64 4
  %.not118 = icmp eq ptr %553, %399
  br i1 %.not118, label %.preheader, label %.lr.ph141

554:                                              ; preds = %547, %528, %510, %500, %98, %52
  %.pn130.pn.pn = phi { ptr, i32 } [ %.pn130.pn, %52 ], [ %.pn125.pn.pn.pn, %98 ], [ %.pn119.pn.pn.pn.pn, %500 ], [ %.pn111.pn.pn.pn.pn.pn, %547 ], [ %.pn105.pn.pn.pn.pn, %528 ], [ %.pn.pn.pn, %510 ]
  resume { ptr, i32 } %.pn130.pn.pn
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN10primesieve6VectorIZ4mainE5pod_tSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt6fill_nIPiiiET_S1_T0_RKT1_(ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZSt10accumulateIPiiET0_T_S2_S1_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN10primesieve5ArrayIjLm10EEixEm(ptr noundef nonnull align 4 dereferenceable(40), i64 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass