; LLVM IR from albertobsd/keyhunt :: keyhunt_legacy.ll (Z13thread_bPloadPv)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl" = type { %"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Point = type { %class.Int, %class.Int, %class.Int }
%class.Int = type { [1 x %struct.__mpz_struct] }
%struct.__mpz_struct = type { i32, i32, ptr }
%struct.bPload = type { i32, i64, i64, i64, i64, i32, i32 }
%struct.bsgs_xvalue = type { [6 x i8], i64 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.bloom = type { i64, i64, i64, i8, x86_fp80, i8, i8, i8, double, ptr }

@Gn = external dso_local global %"class.std::vector", align 8
@_2Gn = external dso_local global %class.Point, align 8
@bPload_mutex = external dso_local global ptr, align 8
@FLAGREADEDFILE1 = external dso_local global i32, align 4
@FLAGREADEDFILE2 = external dso_local global i32, align 4
@FLAGREADEDFILE3 = external dso_local global i32, align 4
@FLAGREADEDFILE4 = external dso_local global i32, align 4
@BSGS_XVALUE_RAM = external dso_local global i64, align 8
@BSGS_BUFFERXPOINTLENGTH = external dso_local global i64, align 8
@bPtable = external dso_local global ptr, align 8
@bloom_bP = external dso_local global ptr, align 8
@bloom_bPx2nd = external dso_local global ptr, align 8
@bloom_bPx3rd = external dso_local global ptr, align 8
@bloom_bP_mutex = external dso_local global ptr, align 8
@bloom_bPx2nd_mutex = external dso_local global ptr, align 8
@bloom_bPx3rd_mutex = external dso_local global ptr, align 8
@bsgs_m2 = external dso_local global i64, align 8
@bsgs_m3 = external dso_local global i64, align 8
@secp = external dso_local global ptr, align 8

declare void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1

declare void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #4

declare void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0

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

declare void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8, ptr noundef nonnull align 8 dereferenceable(393296), ptr noundef) #0

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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) #6

; Function Attrs: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z13thread_bPloadPv(ptr noundef %0) #7 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca [32 x i8], align 16
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.Point, align 8
  %13 = alloca [513 x %class.Int], align 16
  %14 = alloca [1024 x %class.Point], align 16
  %15 = alloca %class.Int, align 8
  %16 = alloca %class.Int, align 8
  %17 = alloca %class.Int, align 8
  %18 = alloca %class.Int, align 8
  %19 = alloca %class.Point, align 8
  %20 = alloca %class.Point, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %class.Int, align 8
  %26 = alloca %class.Point, align 8
  %27 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %28 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #10
  invoke void @_ZN8IntGroupC1Ei(ptr noundef nonnull align 8 dereferenceable(20) %28, i32 noundef 513)
          to label %29 unwind label %84

29:                                               ; preds = %1
  store ptr %28, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #9
  call void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %12)
  call void @llvm.lifetime.start.p0(i64 8208, ptr %13) #9
  %30 = getelementptr inbounds [513 x %class.Int], ptr %13, i32 0, i32 0
  %31 = getelementptr inbounds %class.Int, ptr %30, i64 513
  br label %32

32:                                               ; preds = %34, %29
  %33 = phi ptr [ %30, %29 ], [ %35, %34 ]
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %34 unwind label %88

34:                                               ; preds = %32
  %35 = getelementptr inbounds %class.Int, ptr %33, i64 1
  %36 = icmp eq ptr %35, %31
  br i1 %36, label %37, label %32

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 49152, ptr %14) #9
  %38 = getelementptr inbounds [1024 x %class.Point], ptr %14, i32 0, i32 0
  %39 = getelementptr inbounds %class.Point, ptr %38, i64 1024
  br label %40

40:                                               ; preds = %42, %37
  %41 = phi ptr [ %38, %37 ], [ %43, %42 ]
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %41)
          to label %42 unwind label %98

42:                                               ; preds = %40
  %43 = getelementptr inbounds %class.Point, ptr %41, i64 1
  %44 = icmp eq ptr %43, %39
  br i1 %44, label %45, label %40

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %46 unwind label %108

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %47 unwind label %112

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %48 unwind label %116

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %49 unwind label %120

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #9
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %50 unwind label %124

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #9
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %51 unwind label %128

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 511, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %52, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #9
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.bPload, ptr %53, i32 0, i32 1
  %55 = load i64, ptr %54, align 8, !tbaa !11
  %56 = add i64 %55, 1
  invoke void @_ZN3IntC1Em(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef %56)
          to label %57 unwind label %132

57:                                               ; preds = %51
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.bPload, ptr %58, i32 0, i32 0
  %60 = load i32, ptr %59, align 8, !tbaa !14
  store i32 %60, ptr %24, align 4, !tbaa !9
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.bPload, ptr %61, i32 0, i32 1
  %63 = load i64, ptr %62, align 8, !tbaa !11
  store i64 %63, ptr %5, align 8, !tbaa !15
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.bPload, ptr %64, i32 0, i32 2
  %66 = load i64, ptr %65, align 8, !tbaa !16
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.bPload, ptr %67, i32 0, i32 1
  %69 = load i64, ptr %68, align 8, !tbaa !11
  %70 = sub i64 %66, %69
  %71 = udiv i64 %70, 1024
  store i64 %71, ptr %7, align 8, !tbaa !15
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.bPload, ptr %72, i32 0, i32 2
  %74 = load i64, ptr %73, align 8, !tbaa !16
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.bPload, ptr %75, i32 0, i32 1
  %77 = load i64, ptr %76, align 8, !tbaa !11
  %78 = sub i64 %74, %77
  %79 = urem i64 %78, 1024
  %80 = icmp ne i64 %79, 0
  br i1 %80, label %81, label %136

81:                                               ; preds = %57
  %82 = load i64, ptr %7, align 8, !tbaa !15
  %83 = add i64 %82, 1
  store i64 %83, ptr %7, align 8, !tbaa !15
  br label %136

84:                                               ; preds = %1
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %10, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %11, align 4
  call void @_ZdlPvm(ptr noundef %28, i64 noundef 24) #11
  br label %495

88:                                               ; preds = %32
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %10, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %11, align 4
  %92 = icmp eq ptr %30, %33
  br i1 %92, label %97, label %93

93:                                               ; preds = %93, %88
  %94 = phi ptr [ %33, %88 ], [ %95, %93 ]
  %95 = getelementptr inbounds %class.Int, ptr %94, i64 -1
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %95) #9
  %96 = icmp eq ptr %95, %30
  br i1 %96, label %97, label %93

97:                                               ; preds = %93, %88
  br label %494

98:                                               ; preds = %40
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %10, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %11, align 4
  %102 = icmp eq ptr %38, %41
  br i1 %102, label %107, label %103

103:                                              ; preds = %103, %98
  %104 = phi ptr [ %41, %98 ], [ %105, %103 ]
  %105 = getelementptr inbounds %class.Point, ptr %104, i64 -1
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %105) #9
  %106 = icmp eq ptr %105, %38
  br i1 %106, label %107, label %103

107:                                              ; preds = %103, %98
  br label %486

108:                                              ; preds = %45
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %10, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %11, align 4
  br label %478

112:                                              ; preds = %46
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %10, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %11, align 4
  br label %477

116:                                              ; preds = %47
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %10, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %11, align 4
  br label %476

120:                                              ; preds = %48
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %10, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %11, align 4
  br label %475

124:                                              ; preds = %49
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %10, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %11, align 4
  br label %474

128:                                              ; preds = %50
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %10, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %11, align 4
  br label %473

132:                                              ; preds = %51
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %10, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %11, align 4
  br label %472

136:                                              ; preds = %81, %57
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.bPload, ptr %137, i32 0, i32 2
  %139 = load i64, ptr %138, align 8, !tbaa !16
  store i64 %139, ptr %8, align 8, !tbaa !15
  invoke void @_ZN3Int3AddEm(ptr noundef nonnull align 8 dereferenceable(16) %25, i64 noundef 512)
          to label %140 unwind label %153

140:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #9
  %141 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %26, ptr noundef nonnull align 8 dereferenceable(393296) %141, ptr noundef %25)
          to label %142 unwind label %157

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %26)
          to label %144 unwind label %161

144:                                              ; preds = %142
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #9
  %145 = load ptr, ptr %9, align 8, !tbaa !5
  %146 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 0
  invoke void @_ZN8IntGroup3SetEP3Int(ptr noundef nonnull align 8 dereferenceable(20) %145, ptr noundef %146)
          to label %147 unwind label %153

147:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  store i64 0, ptr %27, align 8, !tbaa !15
  br label %148

148:                                              ; preds = %450, %147
  %149 = load i64, ptr %27, align 8, !tbaa !15
  %150 = load i64, ptr %7, align 8, !tbaa !15
  %151 = icmp ult i64 %149, %150
  br i1 %151, label %166, label %152

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

153:                                              ; preds = %457, %144, %136
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %10, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %11, align 4
  br label %471

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

161:                                              ; preds = %142
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %10, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %11, align 4
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %26) #9
  br label %165

165:                                              ; preds = %161, %157
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #9
  br label %471

166:                                              ; preds = %148
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %181, %166
  %168 = load i32, ptr %21, align 4, !tbaa !9
  %169 = load i32, ptr %23, align 4, !tbaa !9
  %170 = icmp slt i32 %168, %169
  br i1 %170, label %171, label %188

171:                                              ; preds = %167
  %172 = load i32, ptr %21, align 4, !tbaa !9
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 %173
  %175 = load i32, ptr %21, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %176) #9
  %178 = getelementptr inbounds %class.Point, ptr %177, i32 0, i32 0
  %179 = getelementptr inbounds %class.Point, ptr %12, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %174, ptr noundef %178, ptr noundef %179)
          to label %180 unwind label %184

180:                                              ; preds = %171
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %21, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %21, align 4, !tbaa !9
  br label %167, !llvm.loop !17

184:                                              ; preds = %447, %445, %443, %440, %438, %436, %434, %433, %428, %426, %424, %398, %371, %343, %311, %304, %298, %296, %294, %293, %289, %287, %286, %281, %279, %268, %261, %255, %253, %251, %250, %246, %244, %243, %238, %232, %230, %228, %227, %223, %217, %215, %213, %205, %203, %197, %188, %171
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %10, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %471

188:                                              ; preds = %167
  %189 = load i32, ptr %21, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 %190
  %192 = load i32, ptr %21, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %193) #9
  %195 = getelementptr inbounds %class.Point, ptr %194, i32 0, i32 0
  %196 = getelementptr inbounds %class.Point, ptr %12, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %191, ptr noundef %195, ptr noundef %196)
          to label %197 unwind label %184

197:                                              ; preds = %188
  %198 = load i32, ptr %21, align 4, !tbaa !9
  %199 = add nsw i32 %198, 1
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 %200
  %202 = getelementptr inbounds %class.Point, ptr %12, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %201, ptr noundef @_2Gn, ptr noundef %202)
          to label %203 unwind label %184

203:                                              ; preds = %197
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN8IntGroup6ModInvEv(ptr noundef nonnull align 8 dereferenceable(20) %204)
          to label %205 unwind label %184

205:                                              ; preds = %203
  %206 = getelementptr inbounds [1024 x %class.Point], ptr %14, i64 0, i64 512
  %207 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %206, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %208 unwind label %184

208:                                              ; preds = %205
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %209

209:                                              ; preds = %276, %208
  %210 = load i32, ptr %21, align 4, !tbaa !9
  %211 = load i32, ptr %23, align 4, !tbaa !9
  %212 = icmp slt i32 %210, %211
  br i1 %212, label %213, label %279

213:                                              ; preds = %209
  %214 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %215 unwind label %184

215:                                              ; preds = %213
  %216 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %217 unwind label %184

217:                                              ; preds = %215
  %218 = load i32, ptr %21, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %219) #9
  %221 = getelementptr inbounds %class.Point, ptr %220, i32 0, i32 1
  %222 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %221, ptr noundef %222)
          to label %223 unwind label %184

223:                                              ; preds = %217
  %224 = load i32, ptr %21, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 %225
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %15, ptr noundef %226)
          to label %227 unwind label %184

227:                                              ; preds = %223
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %17)
          to label %228 unwind label %184

228:                                              ; preds = %227
  %229 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %229)
          to label %230 unwind label %184

230:                                              ; preds = %228
  %231 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %231, ptr noundef %18)
          to label %232 unwind label %184

232:                                              ; preds = %230
  %233 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  %234 = load i32, ptr %21, align 4, !tbaa !9
  %235 = sext i32 %234 to i64
  %236 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %235) #9
  %237 = getelementptr inbounds %class.Point, ptr %236, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %233, ptr noundef %237)
          to label %238 unwind label %184

238:                                              ; preds = %232
  %239 = load i32, ptr %21, align 4, !tbaa !9
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %240) #9
  %242 = getelementptr inbounds %class.Point, ptr %241, i32 0, i32 1
  invoke void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %242)
          to label %243 unwind label %184

243:                                              ; preds = %238
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %244 unwind label %184

244:                                              ; preds = %243
  %245 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %245)
          to label %246 unwind label %184

246:                                              ; preds = %244
  %247 = load i32, ptr %21, align 4, !tbaa !9
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 %248
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %16, ptr noundef %249)
          to label %250 unwind label %184

250:                                              ; preds = %246
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %17)
          to label %251 unwind label %184

251:                                              ; preds = %250
  %252 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %252)
          to label %253 unwind label %184

253:                                              ; preds = %251
  %254 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %254, ptr noundef %18)
          to label %255 unwind label %184

255:                                              ; preds = %253
  %256 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 0
  %257 = load i32, ptr %21, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %258) #9
  %260 = getelementptr inbounds %class.Point, ptr %259, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %256, ptr noundef %260)
          to label %261 unwind label %184

261:                                              ; preds = %255
  %262 = load i32, ptr %21, align 4, !tbaa !9
  %263 = add nsw i32 %262, 1
  %264 = add nsw i32 512, %263
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [1024 x %class.Point], ptr %14, i64 0, i64 %265
  %267 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %266, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %268 unwind label %184

268:                                              ; preds = %261
  %269 = load i32, ptr %21, align 4, !tbaa !9
  %270 = add nsw i32 %269, 1
  %271 = sub nsw i32 512, %270
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds [1024 x %class.Point], ptr %14, i64 0, i64 %272
  %274 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %273, ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %275 unwind label %184

275:                                              ; preds = %268
  br label %276

276:                                              ; preds = %275
  %277 = load i32, ptr %21, align 4, !tbaa !9
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr %21, align 4, !tbaa !9
  br label %209, !llvm.loop !19

279:                                              ; preds = %209
  %280 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %281 unwind label %184

281:                                              ; preds = %279
  %282 = load i32, ptr %21, align 4, !tbaa !9
  %283 = sext i32 %282 to i64
  %284 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %283) #9
  %285 = getelementptr inbounds %class.Point, ptr %284, i32 0, i32 1
  invoke void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %285)
          to label %286 unwind label %184

286:                                              ; preds = %281
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %287 unwind label %184

287:                                              ; preds = %286
  %288 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %288)
          to label %289 unwind label %184

289:                                              ; preds = %287
  %290 = load i32, ptr %21, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 %291
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %16, ptr noundef %292)
          to label %293 unwind label %184

293:                                              ; preds = %289
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %17)
          to label %294 unwind label %184

294:                                              ; preds = %293
  %295 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %295)
          to label %296 unwind label %184

296:                                              ; preds = %294
  %297 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %297, ptr noundef %18)
          to label %298 unwind label %184

298:                                              ; preds = %296
  %299 = getelementptr inbounds %class.Point, ptr %20, i32 0, i32 0
  %300 = load i32, ptr %21, align 4, !tbaa !9
  %301 = sext i32 %300 to i64
  %302 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %301) #9
  %303 = getelementptr inbounds %class.Point, ptr %302, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %299, ptr noundef %303)
          to label %304 unwind label %184

304:                                              ; preds = %298
  %305 = getelementptr inbounds [1024 x %class.Point], ptr %14, i64 0, i64 0
  %306 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %305, ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %307 unwind label %184

307:                                              ; preds = %304
  store i64 0, ptr %6, align 8, !tbaa !15
  br label %308

308:                                              ; preds = %421, %307
  %309 = load i64, ptr %6, align 8, !tbaa !15
  %310 = icmp ult i64 %309, 1024
  br i1 %310, label %311, label %424

311:                                              ; preds = %308
  %312 = load i64, ptr %6, align 8, !tbaa !15
  %313 = getelementptr inbounds [1024 x %class.Point], ptr %14, i64 0, i64 %312
  %314 = getelementptr inbounds %class.Point, ptr %313, i32 0, i32 0
  %315 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  invoke void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(16) %314, ptr noundef %315)
          to label %316 unwind label %184

316:                                              ; preds = %311
  %317 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %318 = load i8, ptr %317, align 16, !tbaa !20
  %319 = zext i8 %318 to i32
  store i32 %319, ptr %22, align 4, !tbaa !9
  %320 = load i64, ptr %5, align 8, !tbaa !15
  %321 = load i64, ptr @bsgs_m3, align 8, !tbaa !15
  %322 = icmp ult i64 %320, %321
  br i1 %322, label %323, label %364

323:                                              ; preds = %316
  %324 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !9
  %325 = icmp ne i32 %324, 0
  br i1 %325, label %340, label %326

326:                                              ; preds = %323
  %327 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %328 = load i64, ptr %5, align 8, !tbaa !15
  %329 = getelementptr inbounds %struct.bsgs_xvalue, ptr %327, i64 %328
  %330 = getelementptr inbounds %struct.bsgs_xvalue, ptr %329, i32 0, i32 0
  %331 = getelementptr inbounds [6 x i8], ptr %330, i64 0, i64 0
  %332 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %333 = getelementptr inbounds i8, ptr %332, i64 16
  %334 = load i64, ptr @BSGS_XVALUE_RAM, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %331, ptr align 1 %333, i64 %334, i1 false)
  %335 = load i64, ptr %5, align 8, !tbaa !15
  %336 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %337 = load i64, ptr %5, align 8, !tbaa !15
  %338 = getelementptr inbounds %struct.bsgs_xvalue, ptr %336, i64 %337
  %339 = getelementptr inbounds %struct.bsgs_xvalue, ptr %338, i32 0, i32 1
  store i64 %335, ptr %339, align 8, !tbaa !21
  br label %340

340:                                              ; preds = %326, %323
  %341 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !9
  %342 = icmp ne i32 %341, 0
  br i1 %342, label %363, label %343

343:                                              ; preds = %340
  %344 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  %345 = load i32, ptr %22, align 4, !tbaa !9
  %346 = sext i32 %345 to i64
  %347 = getelementptr inbounds %union.pthread_mutex_t, ptr %344, i64 %346
  %348 = call i32 @pthread_mutex_lock(ptr noundef %347) #9
  %349 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %350 = load i32, ptr %22, align 4, !tbaa !9
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds %struct.bloom, ptr %349, i64 %351
  %353 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %354 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !15
  %355 = trunc i64 %354 to i32
  %356 = invoke i32 @bloom_add(ptr noundef %352, ptr noundef %353, i32 noundef %355)
          to label %357 unwind label %184

357:                                              ; preds = %343
  %358 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  %359 = load i32, ptr %22, align 4, !tbaa !9
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds %union.pthread_mutex_t, ptr %358, i64 %360
  %362 = call i32 @pthread_mutex_unlock(ptr noundef %361) #9
  br label %363

363:                                              ; preds = %357, %340
  br label %364

364:                                              ; preds = %363, %316
  %365 = load i64, ptr %5, align 8, !tbaa !15
  %366 = load i64, ptr @bsgs_m2, align 8, !tbaa !15
  %367 = icmp ult i64 %365, %366
  br i1 %367, label %368, label %391

368:                                              ; preds = %364
  %369 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !9
  %370 = icmp ne i32 %369, 0
  br i1 %370, label %391, label %371

371:                                              ; preds = %368
  %372 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  %373 = load i32, ptr %22, align 4, !tbaa !9
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds %union.pthread_mutex_t, ptr %372, i64 %374
  %376 = call i32 @pthread_mutex_lock(ptr noundef %375) #9
  %377 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %378 = load i32, ptr %22, align 4, !tbaa !9
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds %struct.bloom, ptr %377, i64 %379
  %381 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %382 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !15
  %383 = trunc i64 %382 to i32
  %384 = invoke i32 @bloom_add(ptr noundef %380, ptr noundef %381, i32 noundef %383)
          to label %385 unwind label %184

385:                                              ; preds = %371
  %386 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  %387 = load i32, ptr %22, align 4, !tbaa !9
  %388 = sext i32 %387 to i64
  %389 = getelementptr inbounds %union.pthread_mutex_t, ptr %386, i64 %388
  %390 = call i32 @pthread_mutex_unlock(ptr noundef %389) #9
  br label %391

391:                                              ; preds = %385, %368, %364
  %392 = load i64, ptr %5, align 8, !tbaa !15
  %393 = load i64, ptr %8, align 8, !tbaa !15
  %394 = icmp ult i64 %392, %393
  br i1 %394, label %395, label %418

395:                                              ; preds = %391
  %396 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !9
  %397 = icmp ne i32 %396, 0
  br i1 %397, label %418, label %398

398:                                              ; preds = %395
  %399 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !5
  %400 = load i32, ptr %22, align 4, !tbaa !9
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds %union.pthread_mutex_t, ptr %399, i64 %401
  %403 = call i32 @pthread_mutex_lock(ptr noundef %402) #9
  %404 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %405 = load i32, ptr %22, align 4, !tbaa !9
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds %struct.bloom, ptr %404, i64 %406
  %408 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %409 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !15
  %410 = trunc i64 %409 to i32
  %411 = invoke i32 @bloom_add(ptr noundef %407, ptr noundef %408, i32 noundef %410)
          to label %412 unwind label %184

412:                                              ; preds = %398
  %413 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !5
  %414 = load i32, ptr %22, align 4, !tbaa !9
  %415 = sext i32 %414 to i64
  %416 = getelementptr inbounds %union.pthread_mutex_t, ptr %413, i64 %415
  %417 = call i32 @pthread_mutex_unlock(ptr noundef %416) #9
  br label %418

418:                                              ; preds = %412, %395, %391
  %419 = load i64, ptr %5, align 8, !tbaa !15
  %420 = add i64 %419, 1
  store i64 %420, ptr %5, align 8, !tbaa !15
  br label %421

421:                                              ; preds = %418
  %422 = load i64, ptr %6, align 8, !tbaa !15
  %423 = add i64 %422, 1
  store i64 %423, ptr %6, align 8, !tbaa !15
  br label %308, !llvm.loop !23

424:                                              ; preds = %308
  %425 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %426 unwind label %184

426:                                              ; preds = %424
  %427 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef getelementptr inbounds (%class.Point, ptr @_2Gn, i32 0, i32 1), ptr noundef %427)
          to label %428 unwind label %184

428:                                              ; preds = %426
  %429 = load i32, ptr %21, align 4, !tbaa !9
  %430 = add nsw i32 %429, 1
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds [513 x %class.Int], ptr %13, i64 0, i64 %431
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %15, ptr noundef %432)
          to label %433 unwind label %184

433:                                              ; preds = %428
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %17)
          to label %434 unwind label %184

434:                                              ; preds = %433
  %435 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %435)
          to label %436 unwind label %184

436:                                              ; preds = %434
  %437 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %437, ptr noundef %18)
          to label %438 unwind label %184

438:                                              ; preds = %436
  %439 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %439, ptr noundef @_2Gn)
          to label %440 unwind label %184

440:                                              ; preds = %438
  %441 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  %442 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %441, ptr noundef @_2Gn, ptr noundef %442)
          to label %443 unwind label %184

443:                                              ; preds = %440
  %444 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %444, ptr noundef %17)
          to label %445 unwind label %184

445:                                              ; preds = %443
  %446 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %446, ptr noundef getelementptr inbounds (%class.Point, ptr @_2Gn, i32 0, i32 1))
          to label %447 unwind label %184

447:                                              ; preds = %445
  %448 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %449 unwind label %184

449:                                              ; preds = %447
  br label %450

450:                                              ; preds = %449
  %451 = load i64, ptr %27, align 8, !tbaa !15
  %452 = add i64 %451, 1
  store i64 %452, ptr %27, align 8, !tbaa !15
  br label %148, !llvm.loop !24

453:                                              ; preds = %152
  %454 = load ptr, ptr %9, align 8, !tbaa !5
  %455 = icmp eq ptr %454, null
  br i1 %455, label %457, label %456

456:                                              ; preds = %453
  call void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %454) #9
  call void @_ZdlPvm(ptr noundef %454, i64 noundef 24) #11
  br label %457

457:                                              ; preds = %456, %453
  %458 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %459 = load i32, ptr %24, align 4, !tbaa !9
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds %union.pthread_mutex_t, ptr %458, i64 %460
  %462 = call i32 @pthread_mutex_lock(ptr noundef %461) #9
  %463 = load ptr, ptr %4, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.bPload, ptr %463, i32 0, i32 6
  store i32 1, ptr %464, align 4, !tbaa !25
  %465 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %466 = load i32, ptr %24, align 4, !tbaa !9
  %467 = sext i32 %466 to i64
  %468 = getelementptr inbounds %union.pthread_mutex_t, ptr %465, i64 %467
  %469 = call i32 @pthread_mutex_unlock(ptr noundef %468) #9
  invoke void @pthread_exit(ptr noundef null) #12
          to label %470 unwind label %153

470:                                              ; preds = %457
  unreachable

471:                                              ; preds = %184, %165, %153
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #9
  br label %472

472:                                              ; preds = %471, %132
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #9
  br label %473

473:                                              ; preds = %472, %128
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #9
  br label %474

474:                                              ; preds = %473, %124
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #9
  br label %475

475:                                              ; preds = %474, %120
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  br label %476

476:                                              ; preds = %475, %116
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #9
  br label %477

477:                                              ; preds = %476, %112
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #9
  br label %478

478:                                              ; preds = %477, %108
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  %479 = getelementptr inbounds [1024 x %class.Point], ptr %14, i32 0, i32 0
  %480 = getelementptr inbounds %class.Point, ptr %479, i64 1024
  br label %481

481:                                              ; preds = %481, %478
  %482 = phi ptr [ %480, %478 ], [ %483, %481 ]
  %483 = getelementptr inbounds %class.Point, ptr %482, i64 -1
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %483) #9
  %484 = icmp eq ptr %483, %479
  br i1 %484, label %485, label %481

485:                                              ; preds = %481
  br label %486

486:                                              ; preds = %485, %107
  call void @llvm.lifetime.end.p0(i64 49152, ptr %14) #9
  %487 = getelementptr inbounds [513 x %class.Int], ptr %13, i32 0, i32 0
  %488 = getelementptr inbounds %class.Int, ptr %487, i64 513
  br label %489

489:                                              ; preds = %489, %486
  %490 = phi ptr [ %488, %486 ], [ %491, %489 ]
  %491 = getelementptr inbounds %class.Int, ptr %490, i64 -1
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %491) #9
  %492 = icmp eq ptr %491, %487
  br i1 %492, label %493, label %489

493:                                              ; preds = %489
  br label %494

494:                                              ; preds = %493, %97
  call void @llvm.lifetime.end.p0(i64 8208, ptr %13) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #9
  br label %495

495:                                              ; preds = %494, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #9
  br label %496

496:                                              ; preds = %495
  %497 = load ptr, ptr %10, align 8
  %498 = load i32, ptr %11, align 4
  %499 = insertvalue { ptr, i32 } poison, ptr %497, 0
  %500 = insertvalue { ptr, i32 } %499, i32 %498, 1
  resume { ptr, i32 } %500
}

declare void @_ZN8IntGroupC1Ei(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) unnamed_addr #0

declare void @_ZN8IntGroup3SetEP3Int(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) #0

declare void @_ZN3Int3AddEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #0

declare void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #0

declare void @_ZN8IntGroup6ModInvEv(ptr noundef nonnull align 8 dereferenceable(20)) #0

declare void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #0

declare void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0

declare void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16)) #0

declare void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0

declare void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0

declare void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0

declare void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0

declare void @_ZN3IntC1Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #0

declare i32 @bloom_add(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind
declare void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

; Function Attrs: noreturn
declare void @pthread_exit(ptr noundef) #8

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

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

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl" = type { %"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Point, std::allocator<Point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Point = type { %class.Int, %class.Int, %class.Int }
%class.Int = type { [1 x %struct.__mpz_struct] }
%struct.__mpz_struct = type { i32, i32, ptr }
%struct.bsgs_xvalue = type { [6 x i8], i64 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.bloom = type { i64, i64, i64, i8, x86_fp80, i8, i8, i8, double, ptr }

@Gn = external dso_local global %"class.std::vector", align 8
@_2Gn = external dso_local global %class.Point, align 8
@bPload_mutex = external dso_local local_unnamed_addr global ptr, align 8
@FLAGREADEDFILE1 = external dso_local local_unnamed_addr global i32, align 4
@FLAGREADEDFILE2 = external dso_local local_unnamed_addr global i32, align 4
@FLAGREADEDFILE3 = external dso_local local_unnamed_addr global i32, align 4
@FLAGREADEDFILE4 = external dso_local local_unnamed_addr global i32, align 4
@BSGS_XVALUE_RAM = external dso_local local_unnamed_addr global i64, align 8
@BSGS_BUFFERXPOINTLENGTH = external dso_local local_unnamed_addr global i64, align 8
@bPtable = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bP = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx2nd = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx3rd = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bP_mutex = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx2nd_mutex = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx3rd_mutex = external dso_local local_unnamed_addr global ptr, align 8
@bsgs_m2 = external dso_local local_unnamed_addr global i64, align 8
@bsgs_m3 = external dso_local local_unnamed_addr global i64, align 8
@secp = external dso_local local_unnamed_addr global ptr, align 8

declare void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #1

declare void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

declare void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0

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

declare void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8, ptr noundef nonnull align 8 dereferenceable(393296), ptr noundef) local_unnamed_addr #0

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0

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

; Function Attrs: mustprogress 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) #6

; Function Attrs: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress noreturn uwtable
define dso_local noalias noundef nonnull ptr @_Z13thread_bPloadPv(ptr nocapture noundef %0) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %2 = alloca [32 x i8], align 16
  %3 = alloca %class.Point, align 8
  %4 = alloca [513 x %class.Int], align 16
  %5 = alloca [1024 x %class.Point], align 16
  %6 = alloca %class.Int, align 8
  %7 = alloca %class.Int, align 8
  %8 = alloca %class.Int, align 8
  %9 = alloca %class.Int, align 8
  %10 = alloca %class.Point, align 8
  %11 = alloca %class.Point, align 8
  %12 = alloca %class.Int, align 8
  %13 = alloca %class.Point, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #9
  %14 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #10
  invoke void @_ZN8IntGroupC1Ei(ptr noundef nonnull align 8 dereferenceable(20) %14, i32 noundef 513)
          to label %15 unwind label %44

15:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #9
  call void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %3)
  call void @llvm.lifetime.start.p0(i64 8208, ptr nonnull %4) #9
  %16 = getelementptr inbounds i8, ptr %4, i64 8208
  br label %17

17:                                               ; preds = %18, %15
  %.idx = phi i64 [ 0, %15 ], [ %.add, %18 ]
  %.ptr = getelementptr inbounds i8, ptr %4, i64 %.idx
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr)
          to label %18 unwind label %46

18:                                               ; preds = %17
  %.add = add nuw nsw i64 %.idx, 16
  %19 = icmp eq i64 %.add, 8208
  br i1 %19, label %20, label %17

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 49152, ptr nonnull %5) #9
  %21 = getelementptr inbounds i8, ptr %5, i64 49152
  br label %22

22:                                               ; preds = %23, %20
  %.idx92 = phi i64 [ 0, %20 ], [ %.add93, %23 ]
  %.ptr94 = getelementptr inbounds i8, ptr %5, i64 %.idx92
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %.ptr94)
          to label %23 unwind label %52

23:                                               ; preds = %22
  %.add93 = add nuw nsw i64 %.idx92, 48
  %24 = icmp eq i64 %.add93, 49152
  br i1 %24, label %25, label %22

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %26 unwind label %58

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %27 unwind label %60

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %28 unwind label %62

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %29 unwind label %64

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #9
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %30 unwind label %66

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #9
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %31 unwind label %68

31:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #9
  %32 = getelementptr inbounds i8, ptr %0, i64 8
  %33 = load i64, ptr %32, align 8, !tbaa !5
  %34 = add i64 %33, 1
  invoke void @_ZN3IntC1Em(ptr noundef nonnull align 8 dereferenceable(16) %12, i64 noundef %34)
          to label %35 unwind label %70

35:                                               ; preds = %31
  %36 = load i32, ptr %0, align 8, !tbaa !11
  %37 = load i64, ptr %32, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %0, i64 16
  %39 = load i64, ptr %38, align 8, !tbaa !12
  %40 = sub i64 %39, %37
  %41 = lshr i64 %40, 10
  %42 = and i64 %40, 1023
  %.not = icmp ne i64 %42, 0
  %43 = zext i1 %.not to i64
  %spec.select = add nuw nsw i64 %41, %43
  invoke void @_ZN3Int3AddEm(ptr noundef nonnull align 8 dereferenceable(16) %12, i64 noundef 512)
          to label %72 unwind label %83

44:                                               ; preds = %1
  %45 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 24) #11
  br label %256

46:                                               ; preds = %17
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = icmp eq i64 %.idx, 0
  br i1 %48, label %.loopexit, label %.preheader123

.preheader123:                                    ; preds = %46, %.preheader123
  %49 = phi ptr [ %50, %.preheader123 ], [ %.ptr, %46 ]
  %50 = getelementptr inbounds i8, ptr %49, i64 -16
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %50) #9
  %51 = icmp eq ptr %50, %4
  br i1 %51, label %.loopexit, label %.preheader123

52:                                               ; preds = %22
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = icmp eq i64 %.idx92, 0
  br i1 %54, label %.loopexit111, label %.preheader121

.preheader121:                                    ; preds = %52, %.preheader121
  %55 = phi ptr [ %56, %.preheader121 ], [ %.ptr94, %52 ]
  %56 = getelementptr inbounds i8, ptr %55, i64 -48
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %56) #9
  %57 = icmp eq ptr %56, %5
  br i1 %57, label %.loopexit111, label %.preheader121

58:                                               ; preds = %25
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %247

60:                                               ; preds = %26
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %246

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

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

66:                                               ; preds = %29
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %243

68:                                               ; preds = %30
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %242

70:                                               ; preds = %31
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %241

72:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #9
  %73 = load ptr, ptr @secp, align 8, !tbaa !13
  invoke void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %13, ptr noundef nonnull align 8 dereferenceable(393296) %73, ptr noundef nonnull %12)
          to label %74 unwind label %85

74:                                               ; preds = %72
  %75 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %76 unwind label %87

76:                                               ; preds = %74
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #9
  invoke void @_ZN8IntGroup3SetEP3Int(ptr noundef nonnull align 8 dereferenceable(20) %14, ptr noundef nonnull %4)
          to label %.preheader120 unwind label %83

.preheader120:                                    ; preds = %76
  %.not138 = icmp eq i64 %spec.select, 0
  br i1 %.not138, label %._crit_edge, label %.preheader117.lr.ph

.preheader117.lr.ph:                              ; preds = %.preheader120
  %77 = getelementptr inbounds i8, ptr %5, i64 24576
  %78 = getelementptr inbounds i8, ptr %10, i64 16
  %79 = getelementptr inbounds i8, ptr %11, i64 16
  %80 = getelementptr inbounds i8, ptr %2, i64 16
  %81 = getelementptr inbounds i8, ptr %4, i64 8176
  %82 = getelementptr inbounds i8, ptr %4, i64 8192
  br label %.preheader117

.preheader117:                                    ; preds = %.preheader117.lr.ph, %230
  %.0137 = phi i64 [ 0, %.preheader117.lr.ph ], [ %231, %230 ]
  %.066136 = phi i64 [ %37, %.preheader117.lr.ph ], [ %215, %230 ]
  br label %90

83:                                               ; preds = %._crit_edge, %76, %35
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

87:                                               ; preds = %74
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #9
  br label %89

89:                                               ; preds = %87, %85
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #9
  br label %.loopexit.split-lp

90:                                               ; preds = %.preheader117, %93
  %indvars.iv = phi i64 [ 0, %.preheader117 ], [ %indvars.iv.next, %93 ]
  %91 = getelementptr inbounds [513 x %class.Int], ptr %4, i64 0, i64 %indvars.iv
  %92 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv) #9
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %91, ptr noundef nonnull %92, ptr noundef nonnull %3)
          to label %93 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

93:                                               ; preds = %90
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 511
  br i1 %exitcond.not, label %94, label %90, !llvm.loop !15

.loopexit112:                                     ; preds = %.preheader, %163, %182, %200
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %129, %125, %123, %122, %121, %120, %119, %118, %117, %114, %112, %111, %110, %109, %107, %104, %102, %100
  %lpad.loopexit114 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %94, %96, %97, %98, %133, %135, %138, %139, %140, %141, %142, %143, %144, %146, %217, %219, %220, %221, %222, %223, %224, %225, %226, %227, %228
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

94:                                               ; preds = %93
  %95 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef 511) #9
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull %95, ptr noundef nonnull %3)
          to label %96 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

96:                                               ; preds = %94
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef nonnull @_2Gn, ptr noundef nonnull %3)
          to label %97 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

97:                                               ; preds = %96
  invoke void @_ZN8IntGroup6ModInvEv(ptr noundef nonnull align 8 dereferenceable(20) %14)
          to label %98 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

98:                                               ; preds = %97
  %99 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %77, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %.preheader113 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader113:                                    ; preds = %98, %129
  %indvars.iv149 = phi i64 [ %indvars.iv.next150, %129 ], [ 0, %98 ]
  %exitcond152.not = icmp eq i64 %indvars.iv149, 511
  br i1 %exitcond152.not, label %133, label %100

100:                                              ; preds = %.preheader113
  %101 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %102 unwind label %.loopexit.split-lp.loopexit

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %104 unwind label %.loopexit.split-lp.loopexit

104:                                              ; preds = %102
  %105 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv149) #9
  %106 = getelementptr inbounds i8, ptr %105, i64 16
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull %106, ptr noundef nonnull %78)
          to label %107 unwind label %.loopexit.split-lp.loopexit

107:                                              ; preds = %104
  %108 = getelementptr inbounds [513 x %class.Int], ptr %4, i64 0, i64 %indvars.iv149
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %6, ptr noundef nonnull %108)
          to label %109 unwind label %.loopexit.split-lp.loopexit

109:                                              ; preds = %107
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %8)
          to label %110 unwind label %.loopexit.split-lp.loopexit

110:                                              ; preds = %109
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %111 unwind label %.loopexit.split-lp.loopexit

111:                                              ; preds = %110
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull %9)
          to label %112 unwind label %.loopexit.split-lp.loopexit

112:                                              ; preds = %111
  %113 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv149) #9
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull %113)
          to label %114 unwind label %.loopexit.split-lp.loopexit

114:                                              ; preds = %112
  %115 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv149) #9
  %116 = getelementptr inbounds i8, ptr %115, i64 16
  invoke void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %116)
          to label %117 unwind label %.loopexit.split-lp.loopexit

117:                                              ; preds = %114
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %118 unwind label %.loopexit.split-lp.loopexit

118:                                              ; preds = %117
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %79)
          to label %119 unwind label %.loopexit.split-lp.loopexit

119:                                              ; preds = %118
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %7, ptr noundef nonnull %108)
          to label %120 unwind label %.loopexit.split-lp.loopexit

120:                                              ; preds = %119
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %8)
          to label %121 unwind label %.loopexit.split-lp.loopexit

121:                                              ; preds = %120
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %122 unwind label %.loopexit.split-lp.loopexit

122:                                              ; preds = %121
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull %9)
          to label %123 unwind label %.loopexit.split-lp.loopexit

123:                                              ; preds = %122
  %124 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv149) #9
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull %124)
          to label %125 unwind label %.loopexit.split-lp.loopexit

125:                                              ; preds = %123
  %126 = add nuw nsw i64 %indvars.iv149, 513
  %127 = getelementptr inbounds [1024 x %class.Point], ptr %5, i64 0, i64 %126
  %128 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %127, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %129 unwind label %.loopexit.split-lp.loopexit

129:                                              ; preds = %125
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %130 = sub nuw nsw i64 511, %indvars.iv149
  %131 = getelementptr inbounds [1024 x %class.Point], ptr %5, i64 0, i64 %130
  %132 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %131, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %.preheader113 unwind label %.loopexit.split-lp.loopexit, !llvm.loop !17

133:                                              ; preds = %.preheader113
  %134 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %135 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

135:                                              ; preds = %133
  %136 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef 511) #9
  %137 = getelementptr inbounds i8, ptr %136, i64 16
  invoke void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %137)
          to label %138 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

138:                                              ; preds = %135
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %139 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

139:                                              ; preds = %138
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %79)
          to label %140 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

140:                                              ; preds = %139
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %7, ptr noundef nonnull %81)
          to label %141 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

141:                                              ; preds = %140
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %8)
          to label %142 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

142:                                              ; preds = %141
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %143 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

143:                                              ; preds = %142
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull %9)
          to label %144 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

144:                                              ; preds = %143
  %145 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef 511) #9
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull %145)
          to label %146 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

146:                                              ; preds = %144
  %147 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader:                                       ; preds = %146, %214
  %.1134 = phi i64 [ %215, %214 ], [ %.066136, %146 ]
  %.067133 = phi i64 [ %216, %214 ], [ 0, %146 ]
  %148 = getelementptr inbounds [1024 x %class.Point], ptr %5, i64 0, i64 %.067133
  invoke void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(16) %148, ptr noundef nonnull %2)
          to label %149 unwind label %.loopexit112

149:                                              ; preds = %.preheader
  %150 = load i8, ptr %2, align 16, !tbaa !18
  %151 = load i64, ptr @bsgs_m3, align 8, !tbaa !19
  %152 = icmp ult i64 %.1134, %151
  br i1 %152, label %153, label %177

153:                                              ; preds = %149
  %154 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !20
  %.not97 = icmp eq i32 %154, 0
  br i1 %.not97, label %155, label %161

155:                                              ; preds = %153
  %156 = load ptr, ptr @bPtable, align 8, !tbaa !13
  %157 = getelementptr inbounds %struct.bsgs_xvalue, ptr %156, i64 %.1134
  %158 = load i64, ptr @BSGS_XVALUE_RAM, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %157, ptr nonnull align 16 %80, i64 %158, i1 false)
  %159 = load ptr, ptr @bPtable, align 8, !tbaa !13
  %160 = getelementptr inbounds %struct.bsgs_xvalue, ptr %159, i64 %.1134, i32 1
  store i64 %.1134, ptr %160, align 8, !tbaa !21
  br label %161

161:                                              ; preds = %155, %153
  %162 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !20
  %.not98 = icmp eq i32 %162, 0
  br i1 %.not98, label %163, label %177

163:                                              ; preds = %161
  %164 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !13
  %165 = zext i8 %150 to i64
  %166 = getelementptr inbounds %union.pthread_mutex_t, ptr %164, i64 %165
  %167 = call i32 @pthread_mutex_lock(ptr noundef %166) #9
  %168 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !13
  %169 = getelementptr inbounds %struct.bloom, ptr %168, i64 %165
  %170 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !19
  %171 = trunc i64 %170 to i32
  %172 = invoke i32 @bloom_add(ptr noundef %169, ptr noundef nonnull %2, i32 noundef %171)
          to label %173 unwind label %.loopexit112

173:                                              ; preds = %163
  %174 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !13
  %175 = getelementptr inbounds %union.pthread_mutex_t, ptr %174, i64 %165
  %176 = call i32 @pthread_mutex_unlock(ptr noundef %175) #9
  br label %177

177:                                              ; preds = %161, %173, %149
  %178 = load i64, ptr @bsgs_m2, align 8, !tbaa !19
  %179 = icmp uge i64 %.1134, %178
  %180 = load i32, ptr @FLAGREADEDFILE2, align 4
  %181 = icmp ne i32 %180, 0
  %or.cond = select i1 %179, i1 true, i1 %181
  br i1 %or.cond, label %196, label %182

182:                                              ; preds = %177
  %183 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !13
  %184 = zext i8 %150 to i64
  %185 = getelementptr inbounds %union.pthread_mutex_t, ptr %183, i64 %184
  %186 = call i32 @pthread_mutex_lock(ptr noundef %185) #9
  %187 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !13
  %188 = getelementptr inbounds %struct.bloom, ptr %187, i64 %184
  %189 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !19
  %190 = trunc i64 %189 to i32
  %191 = invoke i32 @bloom_add(ptr noundef %188, ptr noundef nonnull %2, i32 noundef %190)
          to label %192 unwind label %.loopexit112

192:                                              ; preds = %182
  %193 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !13
  %194 = getelementptr inbounds %union.pthread_mutex_t, ptr %193, i64 %184
  %195 = call i32 @pthread_mutex_unlock(ptr noundef %194) #9
  br label %196

196:                                              ; preds = %192, %177
  %197 = icmp uge i64 %.1134, %39
  %198 = load i32, ptr @FLAGREADEDFILE1, align 4
  %199 = icmp ne i32 %198, 0
  %or.cond3 = select i1 %197, i1 true, i1 %199
  br i1 %or.cond3, label %214, label %200

200:                                              ; preds = %196
  %201 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !13
  %202 = zext i8 %150 to i64
  %203 = getelementptr inbounds %union.pthread_mutex_t, ptr %201, i64 %202
  %204 = call i32 @pthread_mutex_lock(ptr noundef %203) #9
  %205 = load ptr, ptr @bloom_bP, align 8, !tbaa !13
  %206 = getelementptr inbounds %struct.bloom, ptr %205, i64 %202
  %207 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !19
  %208 = trunc i64 %207 to i32
  %209 = invoke i32 @bloom_add(ptr noundef %206, ptr noundef nonnull %2, i32 noundef %208)
          to label %210 unwind label %.loopexit112

210:                                              ; preds = %200
  %211 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !13
  %212 = getelementptr inbounds %union.pthread_mutex_t, ptr %211, i64 %202
  %213 = call i32 @pthread_mutex_unlock(ptr noundef %212) #9
  br label %214

214:                                              ; preds = %210, %196
  %215 = add i64 %.1134, 1
  %216 = add nuw nsw i64 %.067133, 1
  %exitcond153.not = icmp eq i64 %216, 1024
  br i1 %exitcond153.not, label %217, label %.preheader, !llvm.loop !23

217:                                              ; preds = %214
  %218 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %219 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

219:                                              ; preds = %217
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull getelementptr inbounds (i8, ptr @_2Gn, i64 16), ptr noundef nonnull %78)
          to label %220 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

220:                                              ; preds = %219
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull %6, ptr noundef nonnull %82)
          to label %221 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

221:                                              ; preds = %220
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull %8)
          to label %222 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

222:                                              ; preds = %221
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %223 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

223:                                              ; preds = %222
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull %9)
          to label %224 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

224:                                              ; preds = %223
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull @_2Gn)
          to label %225 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

225:                                              ; preds = %224
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull @_2Gn, ptr noundef nonnull %10)
          to label %226 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

226:                                              ; preds = %225
  invoke void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull %8)
          to label %227 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

227:                                              ; preds = %226
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull getelementptr inbounds (i8, ptr @_2Gn, i64 16))
          to label %228 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

228:                                              ; preds = %227
  %229 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %230 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

230:                                              ; preds = %228
  %231 = add nuw nsw i64 %.0137, 1
  %exitcond154.not = icmp eq i64 %231, %spec.select
  br i1 %exitcond154.not, label %._crit_edge, label %.preheader117, !llvm.loop !24

._crit_edge:                                      ; preds = %230, %.preheader120
  call void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %14) #9
  call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 24) #11
  %232 = load ptr, ptr @bPload_mutex, align 8, !tbaa !13
  %233 = sext i32 %36 to i64
  %234 = getelementptr inbounds %union.pthread_mutex_t, ptr %232, i64 %233
  %235 = call i32 @pthread_mutex_lock(ptr noundef %234) #9
  %236 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 1, ptr %236, align 4, !tbaa !25
  %237 = load ptr, ptr @bPload_mutex, align 8, !tbaa !13
  %238 = getelementptr inbounds %union.pthread_mutex_t, ptr %237, i64 %233
  %239 = call i32 @pthread_mutex_unlock(ptr noundef %238) #9
  invoke void @pthread_exit(ptr noundef null) #12
          to label %240 unwind label %83

240:                                              ; preds = %._crit_edge
  unreachable

.loopexit.split-lp:                               ; preds = %.loopexit112, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %89, %83
  %.pn99 = phi { ptr, i32 } [ %84, %83 ], [ %.pn, %89 ], [ %lpad.loopexit, %.loopexit112 ], [ %lpad.loopexit114, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit118, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #9
  br label %241

241:                                              ; preds = %.loopexit.split-lp, %70
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %.loopexit.split-lp ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #9
  br label %242

242:                                              ; preds = %241, %68
  %.pn99.pn.pn = phi { ptr, i32 } [ %.pn99.pn, %241 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #9
  br label %243

243:                                              ; preds = %242, %66
  %.pn99.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn, %242 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #9
  br label %244

244:                                              ; preds = %243, %64
  %.pn99.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn.pn, %243 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #9
  br label %245

245:                                              ; preds = %244, %62
  %.pn99.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn.pn.pn, %244 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #9
  br label %246

246:                                              ; preds = %245, %60
  %.pn99.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn.pn.pn.pn, %245 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #9
  br label %247

247:                                              ; preds = %246, %58
  %.pn99.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn.pn.pn.pn.pn, %246 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  br label %248

248:                                              ; preds = %248, %247
  %249 = phi ptr [ %21, %247 ], [ %250, %248 ]
  %250 = getelementptr inbounds i8, ptr %249, i64 -48
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %250) #9
  %251 = icmp eq ptr %250, %5
  br i1 %251, label %.loopexit111, label %248

.loopexit111:                                     ; preds = %.preheader121, %248, %52
  %.pn99.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %53, %52 ], [ %.pn99.pn.pn.pn.pn.pn.pn.pn, %248 ], [ %53, %.preheader121 ]
  call void @llvm.lifetime.end.p0(i64 49152, ptr nonnull %5) #9
  br label %252

252:                                              ; preds = %252, %.loopexit111
  %253 = phi ptr [ %16, %.loopexit111 ], [ %254, %252 ]
  %254 = getelementptr inbounds i8, ptr %253, i64 -16
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %254) #9
  %255 = icmp eq ptr %254, %4
  br i1 %255, label %.loopexit, label %252

.loopexit:                                        ; preds = %.preheader123, %252, %46
  %.pn99.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %47, %46 ], [ %.pn99.pn.pn.pn.pn.pn.pn.pn.pn, %252 ], [ %47, %.preheader123 ]
  call void @llvm.lifetime.end.p0(i64 8208, ptr nonnull %4) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #9
  br label %256

256:                                              ; preds = %.loopexit, %44
  %.pn99.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.loopexit ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  resume { ptr, i32 } %.pn99.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @_ZN8IntGroupC1Ei(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) unnamed_addr #0

declare void @_ZN8IntGroup3SetEP3Int(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef) local_unnamed_addr #0

declare void @_ZN3Int3AddEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #0

declare void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN8IntGroup6ModInvEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #0

declare void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0

declare void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0

declare void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0

declare void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0

declare void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0

declare void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0

declare void @_ZN3IntC1Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #0

declare i32 @bloom_add(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

; Function Attrs: noreturn
declare void @pthread_exit(ptr noundef) local_unnamed_addr #8

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

!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, !10, i64 8}
!6 = !{!"_ZTS6bPload", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 44}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !10, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!8, !8, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !10, i64 8}
!22 = !{!"_ZTS11bsgs_xvalue", !8, i64 0, !10, i64 8}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = !{!6, !7, i64 44}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass