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

; 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
@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_bPx2nd = external dso_local global ptr, align 8
@bloom_bPx3rd = 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: mustprogress uwtable
define dso_local noundef ptr @_Z21thread_bPload_2bloomsPv(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 ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.Point, align 8
  %12 = alloca [513 x %class.Int], align 16
  %13 = alloca [1024 x %class.Point], align 16
  %14 = alloca %class.Int, align 8
  %15 = alloca %class.Int, align 8
  %16 = alloca %class.Int, align 8
  %17 = alloca %class.Int, align 8
  %18 = alloca %class.Point, align 8
  %19 = alloca %class.Point, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %class.Int, align 8
  %25 = alloca %class.Point, align 8
  %26 = 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
  %27 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #10
  invoke void @_ZN8IntGroupC1Ei(ptr noundef nonnull align 8 dereferenceable(20) %27, i32 noundef 513)
          to label %28 unwind label %83

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

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

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

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

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

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

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

45:                                               ; preds = %44
  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 %111

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 %115

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 %119

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

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 %127

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

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

80:                                               ; preds = %56
  %81 = load i64, ptr %7, align 8, !tbaa !15
  %82 = add i64 %81, 1
  store i64 %82, ptr %7, align 8, !tbaa !15
  br label %135

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

87:                                               ; preds = %31
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %9, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %10, align 4
  %91 = icmp eq ptr %29, %32
  br i1 %91, label %96, label %92

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

96:                                               ; preds = %92, %87
  br label %463

97:                                               ; preds = %39
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %9, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %10, align 4
  %101 = icmp eq ptr %37, %40
  br i1 %101, label %106, label %102

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

106:                                              ; preds = %102, %97
  br label %455

107:                                              ; preds = %44
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %9, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %10, align 4
  br label %447

111:                                              ; preds = %45
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  br label %446

115:                                              ; preds = %46
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %9, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %10, align 4
  br label %445

119:                                              ; preds = %47
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %9, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %10, align 4
  br label %444

123:                                              ; preds = %48
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %9, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %10, align 4
  br label %443

127:                                              ; preds = %49
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %9, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %10, align 4
  br label %442

131:                                              ; preds = %50
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %9, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %10, align 4
  br label %441

135:                                              ; preds = %80, %56
  invoke void @_ZN3Int3AddEm(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef 512)
          to label %136 unwind label %149

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

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %25)
          to label %140 unwind label %157

140:                                              ; preds = %138
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #9
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 0
  invoke void @_ZN8IntGroup3SetEP3Int(ptr noundef nonnull align 8 dereferenceable(20) %141, ptr noundef %142)
          to label %143 unwind label %149

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

144:                                              ; preds = %419, %143
  %145 = load i64, ptr %26, align 8, !tbaa !15
  %146 = load i64, ptr %7, align 8, !tbaa !15
  %147 = icmp ult i64 %145, %146
  br i1 %147, label %162, label %148

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

149:                                              ; preds = %426, %140, %135
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %9, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %10, align 4
  br label %440

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

157:                                              ; preds = %138
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %9, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %10, align 4
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #9
  br label %161

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

162:                                              ; preds = %144
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %163

163:                                              ; preds = %177, %162
  %164 = load i32, ptr %20, align 4, !tbaa !9
  %165 = load i32, ptr %22, align 4, !tbaa !9
  %166 = icmp slt i32 %164, %165
  br i1 %166, label %167, label %184

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

176:                                              ; preds = %167
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %20, align 4, !tbaa !9
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %20, align 4, !tbaa !9
  br label %163, !llvm.loop !17

180:                                              ; preds = %416, %414, %412, %409, %407, %405, %403, %402, %397, %395, %393, %367, %339, %307, %300, %294, %292, %290, %289, %285, %283, %282, %277, %275, %264, %257, %251, %249, %247, %246, %242, %240, %239, %234, %228, %226, %224, %223, %219, %213, %211, %209, %201, %199, %193, %184, %167
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %9, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %440

184:                                              ; preds = %163
  %185 = load i32, ptr %20, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %186
  %188 = load i32, ptr %20, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %189) #9
  %191 = getelementptr inbounds %class.Point, ptr %190, i32 0, i32 0
  %192 = getelementptr inbounds %class.Point, ptr %11, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %187, ptr noundef %191, ptr noundef %192)
          to label %193 unwind label %180

193:                                              ; preds = %184
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = add nsw i32 %194, 1
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %196
  %198 = getelementptr inbounds %class.Point, ptr %11, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %197, ptr noundef @_2Gn, ptr noundef %198)
          to label %199 unwind label %180

199:                                              ; preds = %193
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN8IntGroup6ModInvEv(ptr noundef nonnull align 8 dereferenceable(20) %200)
          to label %201 unwind label %180

201:                                              ; preds = %199
  %202 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 512
  %203 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %202, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %204 unwind label %180

204:                                              ; preds = %201
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %205

205:                                              ; preds = %272, %204
  %206 = load i32, ptr %20, align 4, !tbaa !9
  %207 = load i32, ptr %22, align 4, !tbaa !9
  %208 = icmp slt i32 %206, %207
  br i1 %208, label %209, label %275

209:                                              ; preds = %205
  %210 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %211 unwind label %180

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %213 unwind label %180

213:                                              ; preds = %211
  %214 = load i32, ptr %20, align 4, !tbaa !9
  %215 = sext i32 %214 to i64
  %216 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %215) #9
  %217 = getelementptr inbounds %class.Point, ptr %216, i32 0, i32 1
  %218 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %217, ptr noundef %218)
          to label %219 unwind label %180

219:                                              ; preds = %213
  %220 = load i32, ptr %20, align 4, !tbaa !9
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %221
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %14, ptr noundef %222)
          to label %223 unwind label %180

223:                                              ; preds = %219
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %16)
          to label %224 unwind label %180

224:                                              ; preds = %223
  %225 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %225)
          to label %226 unwind label %180

226:                                              ; preds = %224
  %227 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %227, ptr noundef %17)
          to label %228 unwind label %180

228:                                              ; preds = %226
  %229 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  %230 = load i32, ptr %20, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %231) #9
  %233 = getelementptr inbounds %class.Point, ptr %232, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %229, ptr noundef %233)
          to label %234 unwind label %180

234:                                              ; preds = %228
  %235 = load i32, ptr %20, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %236) #9
  %238 = getelementptr inbounds %class.Point, ptr %237, i32 0, i32 1
  invoke void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %238)
          to label %239 unwind label %180

239:                                              ; preds = %234
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %240 unwind label %180

240:                                              ; preds = %239
  %241 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %241)
          to label %242 unwind label %180

242:                                              ; preds = %240
  %243 = load i32, ptr %20, align 4, !tbaa !9
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %244
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %15, ptr noundef %245)
          to label %246 unwind label %180

246:                                              ; preds = %242
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %16)
          to label %247 unwind label %180

247:                                              ; preds = %246
  %248 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %248)
          to label %249 unwind label %180

249:                                              ; preds = %247
  %250 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %250, ptr noundef %17)
          to label %251 unwind label %180

251:                                              ; preds = %249
  %252 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  %253 = load i32, ptr %20, align 4, !tbaa !9
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %254) #9
  %256 = getelementptr inbounds %class.Point, ptr %255, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %252, ptr noundef %256)
          to label %257 unwind label %180

257:                                              ; preds = %251
  %258 = load i32, ptr %20, align 4, !tbaa !9
  %259 = add nsw i32 %258, 1
  %260 = add nsw i32 512, %259
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 %261
  %263 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %262, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %264 unwind label %180

264:                                              ; preds = %257
  %265 = load i32, ptr %20, align 4, !tbaa !9
  %266 = add nsw i32 %265, 1
  %267 = sub nsw i32 512, %266
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 %268
  %270 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %269, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %271 unwind label %180

271:                                              ; preds = %264
  br label %272

272:                                              ; preds = %271
  %273 = load i32, ptr %20, align 4, !tbaa !9
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr %20, align 4, !tbaa !9
  br label %205, !llvm.loop !19

275:                                              ; preds = %205
  %276 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %277 unwind label %180

277:                                              ; preds = %275
  %278 = load i32, ptr %20, align 4, !tbaa !9
  %279 = sext i32 %278 to i64
  %280 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %279) #9
  %281 = getelementptr inbounds %class.Point, ptr %280, i32 0, i32 1
  invoke void @_ZN3Int3SetEPKS_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %281)
          to label %282 unwind label %180

282:                                              ; preds = %277
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %283 unwind label %180

283:                                              ; preds = %282
  %284 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %284)
          to label %285 unwind label %180

285:                                              ; preds = %283
  %286 = load i32, ptr %20, align 4, !tbaa !9
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %287
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %15, ptr noundef %288)
          to label %289 unwind label %180

289:                                              ; preds = %285
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %16)
          to label %290 unwind label %180

290:                                              ; preds = %289
  %291 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %291)
          to label %292 unwind label %180

292:                                              ; preds = %290
  %293 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %293, ptr noundef %17)
          to label %294 unwind label %180

294:                                              ; preds = %292
  %295 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  %296 = load i32, ptr %20, align 4, !tbaa !9
  %297 = sext i32 %296 to i64
  %298 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %297) #9
  %299 = getelementptr inbounds %class.Point, ptr %298, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %295, ptr noundef %299)
          to label %300 unwind label %180

300:                                              ; preds = %294
  %301 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 0
  %302 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %301, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %303 unwind label %180

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

304:                                              ; preds = %390, %303
  %305 = load i64, ptr %6, align 8, !tbaa !15
  %306 = icmp ult i64 %305, 1024
  br i1 %306, label %307, label %393

307:                                              ; preds = %304
  %308 = load i64, ptr %6, align 8, !tbaa !15
  %309 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 %308
  %310 = getelementptr inbounds %class.Point, ptr %309, i32 0, i32 0
  %311 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  invoke void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(16) %310, ptr noundef %311)
          to label %312 unwind label %180

312:                                              ; preds = %307
  %313 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %314 = load i8, ptr %313, align 16, !tbaa !20
  %315 = zext i8 %314 to i32
  store i32 %315, ptr %21, align 4, !tbaa !9
  %316 = load i64, ptr %5, align 8, !tbaa !15
  %317 = load i64, ptr @bsgs_m3, align 8, !tbaa !15
  %318 = icmp ult i64 %316, %317
  br i1 %318, label %319, label %360

319:                                              ; preds = %312
  %320 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !9
  %321 = icmp ne i32 %320, 0
  br i1 %321, label %336, label %322

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

336:                                              ; preds = %322, %319
  %337 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !9
  %338 = icmp ne i32 %337, 0
  br i1 %338, label %359, label %339

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

353:                                              ; preds = %339
  %354 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  %355 = load i32, ptr %21, align 4, !tbaa !9
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds %union.pthread_mutex_t, ptr %354, i64 %356
  %358 = call i32 @pthread_mutex_unlock(ptr noundef %357) #9
  br label %359

359:                                              ; preds = %353, %336
  br label %360

360:                                              ; preds = %359, %312
  %361 = load i64, ptr %5, align 8, !tbaa !15
  %362 = load i64, ptr @bsgs_m2, align 8, !tbaa !15
  %363 = icmp ult i64 %361, %362
  br i1 %363, label %364, label %387

364:                                              ; preds = %360
  %365 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !9
  %366 = icmp ne i32 %365, 0
  br i1 %366, label %387, label %367

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

381:                                              ; preds = %367
  %382 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  %383 = load i32, ptr %21, align 4, !tbaa !9
  %384 = sext i32 %383 to i64
  %385 = getelementptr inbounds %union.pthread_mutex_t, ptr %382, i64 %384
  %386 = call i32 @pthread_mutex_unlock(ptr noundef %385) #9
  br label %387

387:                                              ; preds = %381, %364, %360
  %388 = load i64, ptr %5, align 8, !tbaa !15
  %389 = add i64 %388, 1
  store i64 %389, ptr %5, align 8, !tbaa !15
  br label %390

390:                                              ; preds = %387
  %391 = load i64, ptr %6, align 8, !tbaa !15
  %392 = add i64 %391, 1
  store i64 %392, ptr %6, align 8, !tbaa !15
  br label %304, !llvm.loop !23

393:                                              ; preds = %304
  %394 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %395 unwind label %180

395:                                              ; preds = %393
  %396 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef getelementptr inbounds (%class.Point, ptr @_2Gn, i32 0, i32 1), ptr noundef %396)
          to label %397 unwind label %180

397:                                              ; preds = %395
  %398 = load i32, ptr %20, align 4, !tbaa !9
  %399 = add nsw i32 %398, 1
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %400
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %14, ptr noundef %401)
          to label %402 unwind label %180

402:                                              ; preds = %397
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %16)
          to label %403 unwind label %180

403:                                              ; preds = %402
  %404 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(16) %404)
          to label %405 unwind label %180

405:                                              ; preds = %403
  %406 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(16) %406, ptr noundef %17)
          to label %407 unwind label %180

407:                                              ; preds = %405
  %408 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %408, ptr noundef @_2Gn)
          to label %409 unwind label %180

409:                                              ; preds = %407
  %410 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  %411 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(16) %410, ptr noundef @_2Gn, ptr noundef %411)
          to label %412 unwind label %180

412:                                              ; preds = %409
  %413 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(16) %413, ptr noundef %16)
          to label %414 unwind label %180

414:                                              ; preds = %412
  %415 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(16) %415, ptr noundef getelementptr inbounds (%class.Point, ptr @_2Gn, i32 0, i32 1))
          to label %416 unwind label %180

416:                                              ; preds = %414
  %417 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN5PointaSERKS_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %418 unwind label %180

418:                                              ; preds = %416
  br label %419

419:                                              ; preds = %418
  %420 = load i64, ptr %26, align 8, !tbaa !15
  %421 = add i64 %420, 1
  store i64 %421, ptr %26, align 8, !tbaa !15
  br label %144, !llvm.loop !24

422:                                              ; preds = %148
  %423 = load ptr, ptr %8, align 8, !tbaa !5
  %424 = icmp eq ptr %423, null
  br i1 %424, label %426, label %425

425:                                              ; preds = %422
  call void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %423) #9
  call void @_ZdlPvm(ptr noundef %423, i64 noundef 24) #11
  br label %426

426:                                              ; preds = %425, %422
  %427 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %428 = load i32, ptr %23, align 4, !tbaa !9
  %429 = sext i32 %428 to i64
  %430 = getelementptr inbounds %union.pthread_mutex_t, ptr %427, i64 %429
  %431 = call i32 @pthread_mutex_lock(ptr noundef %430) #9
  %432 = load ptr, ptr %4, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.bPload, ptr %432, i32 0, i32 6
  store i32 1, ptr %433, align 4, !tbaa !25
  %434 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %435 = load i32, ptr %23, align 4, !tbaa !9
  %436 = sext i32 %435 to i64
  %437 = getelementptr inbounds %union.pthread_mutex_t, ptr %434, i64 %436
  %438 = call i32 @pthread_mutex_unlock(ptr noundef %437) #9
  invoke void @pthread_exit(ptr noundef null) #12
          to label %439 unwind label %149

439:                                              ; preds = %426
  unreachable

440:                                              ; preds = %180, %161, %149
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #9
  br label %441

441:                                              ; preds = %440, %131
  call void @llvm.lifetime.end.p0(i64 16, 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 @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #9
  br label %442

442:                                              ; preds = %441, %127
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #9
  br label %443

443:                                              ; preds = %442, %123
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  br label %444

444:                                              ; preds = %443, %119
  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 %445

445:                                              ; preds = %444, %115
  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 %446

446:                                              ; preds = %445, %111
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  br label %447

447:                                              ; preds = %446, %107
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  %448 = getelementptr inbounds [1024 x %class.Point], ptr %13, i32 0, i32 0
  %449 = getelementptr inbounds %class.Point, ptr %448, i64 1024
  br label %450

450:                                              ; preds = %450, %447
  %451 = phi ptr [ %449, %447 ], [ %452, %450 ]
  %452 = getelementptr inbounds %class.Point, ptr %451, i64 -1
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %452) #9
  %453 = icmp eq ptr %452, %448
  br i1 %453, label %454, label %450

454:                                              ; preds = %450
  br label %455

455:                                              ; preds = %454, %106
  call void @llvm.lifetime.end.p0(i64 49152, ptr %13) #9
  %456 = getelementptr inbounds [513 x %class.Int], ptr %12, i32 0, i32 0
  %457 = getelementptr inbounds %class.Int, ptr %456, i64 513
  br label %458

458:                                              ; preds = %458, %455
  %459 = phi ptr [ %457, %455 ], [ %460, %458 ]
  %460 = getelementptr inbounds %class.Int, ptr %459, i64 -1
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %460) #9
  %461 = icmp eq ptr %460, %456
  br i1 %461, label %462, label %458

462:                                              ; preds = %458
  br label %463

463:                                              ; preds = %462, %96
  call void @llvm.lifetime.end.p0(i64 8208, ptr %12) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #9
  br label %464

464:                                              ; preds = %463, %83
  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 %465

465:                                              ; preds = %464
  %466 = load ptr, ptr %9, align 8
  %467 = load i32, ptr %10, align 4
  %468 = insertvalue { ptr, i32 } poison, ptr %466, 0
  %469 = insertvalue { ptr, i32 } %468, i32 %467, 1
  resume { ptr, i32 } %469
}

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

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

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
@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_bPx2nd = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx3rd = 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: mustprogress noreturn uwtable
define dso_local noalias noundef nonnull ptr @_Z21thread_bPload_2bloomsPv(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
  %.idx84 = phi i64 [ 0, %20 ], [ %.add85, %23 ]
  %.ptr86 = getelementptr inbounds i8, ptr %5, i64 %.idx84
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %.ptr86)
          to label %23 unwind label %52

23:                                               ; preds = %22
  %.add85 = add nuw nsw i64 %.idx84, 48
  %24 = icmp eq i64 %.add85, 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 %238

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

.preheader115:                                    ; preds = %46, %.preheader115
  %49 = phi ptr [ %50, %.preheader115 ], [ %.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 %.preheader115

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

.preheader113:                                    ; preds = %52, %.preheader113
  %55 = phi ptr [ %56, %.preheader113 ], [ %.ptr86, %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 %.loopexit103, label %.preheader113

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

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

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

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

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

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

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

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 %.preheader112 unwind label %83

.preheader112:                                    ; preds = %76
  %.not130 = icmp eq i64 %spec.select, 0
  br i1 %.not130, label %._crit_edge, label %.preheader109.lr.ph

.preheader109.lr.ph:                              ; preds = %.preheader112
  %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 %.preheader109

.preheader109:                                    ; preds = %.preheader109.lr.ph, %212
  %.0129 = phi i64 [ 0, %.preheader109.lr.ph ], [ %213, %212 ]
  %.058128 = phi i64 [ %37, %.preheader109.lr.ph ], [ %197, %212 ]
  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 = %.preheader109, %93
  %indvars.iv = phi i64 [ 0, %.preheader109 ], [ %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

.loopexit104:                                     ; preds = %.preheader, %163, %182
  %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.loopexit106 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %90
  %lpad.loopexit110 = 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, %199, %201, %202, %203, %204, %205, %206, %207, %208, %209, %210
  %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 %.preheader105 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader105:                                    ; preds = %98, %129
  %indvars.iv141 = phi i64 [ %indvars.iv.next142, %129 ], [ 0, %98 ]
  %exitcond144.not = icmp eq i64 %indvars.iv141, 511
  br i1 %exitcond144.not, label %133, label %100

100:                                              ; preds = %.preheader105
  %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.iv141) #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.iv141
  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.iv141) #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.iv141) #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.iv141) #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.iv141, 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.next142 = add nuw nsw i64 %indvars.iv141, 1
  %130 = sub nuw nsw i64 511, %indvars.iv141
  %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 %.preheader105 unwind label %.loopexit.split-lp.loopexit, !llvm.loop !17

133:                                              ; preds = %.preheader105
  %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, %196
  %.1126 = phi i64 [ %197, %196 ], [ %.058128, %146 ]
  %.059125 = phi i64 [ %198, %196 ], [ 0, %146 ]
  %148 = getelementptr inbounds [1024 x %class.Point], ptr %5, i64 0, i64 %.059125
  invoke void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(16) %148, ptr noundef nonnull %2)
          to label %149 unwind label %.loopexit104

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 %.1126, %151
  br i1 %152, label %153, label %177

153:                                              ; preds = %149
  %154 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !20
  %.not89 = icmp eq i32 %154, 0
  br i1 %.not89, 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 %.1126
  %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 %.1126, i32 1
  store i64 %.1126, ptr %160, align 8, !tbaa !21
  br label %161

161:                                              ; preds = %155, %153
  %162 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !20
  %.not90 = icmp eq i32 %162, 0
  br i1 %.not90, 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 %.loopexit104

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 %.1126, %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 %.loopexit104

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 = add i64 %.1126, 1
  %198 = add nuw nsw i64 %.059125, 1
  %exitcond145.not = icmp eq i64 %198, 1024
  br i1 %exitcond145.not, label %199, label %.preheader, !llvm.loop !23

199:                                              ; preds = %196
  %200 = 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 %201 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

201:                                              ; preds = %199
  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 %202 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

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

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

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

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

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

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

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

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

210:                                              ; preds = %209
  %211 = 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 %212 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

212:                                              ; preds = %210
  %213 = add nuw nsw i64 %.0129, 1
  %exitcond146.not = icmp eq i64 %213, %spec.select
  br i1 %exitcond146.not, label %._crit_edge, label %.preheader109, !llvm.loop !24

._crit_edge:                                      ; preds = %212, %.preheader112
  call void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %14) #9
  call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 24) #11
  %214 = load ptr, ptr @bPload_mutex, align 8, !tbaa !13
  %215 = sext i32 %36 to i64
  %216 = getelementptr inbounds %union.pthread_mutex_t, ptr %214, i64 %215
  %217 = call i32 @pthread_mutex_lock(ptr noundef %216) #9
  %218 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 1, ptr %218, align 4, !tbaa !25
  %219 = load ptr, ptr @bPload_mutex, align 8, !tbaa !13
  %220 = getelementptr inbounds %union.pthread_mutex_t, ptr %219, i64 %215
  %221 = call i32 @pthread_mutex_unlock(ptr noundef %220) #9
  invoke void @pthread_exit(ptr noundef null) #12
          to label %222 unwind label %83

222:                                              ; preds = %._crit_edge
  unreachable

.loopexit.split-lp:                               ; preds = %.loopexit104, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %89, %83
  %.pn91 = phi { ptr, i32 } [ %84, %83 ], [ %.pn, %89 ], [ %lpad.loopexit, %.loopexit104 ], [ %lpad.loopexit106, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit110, %.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 %223

223:                                              ; preds = %.loopexit.split-lp, %70
  %.pn91.pn = phi { ptr, i32 } [ %.pn91, %.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 %224

224:                                              ; preds = %223, %68
  %.pn91.pn.pn = phi { ptr, i32 } [ %.pn91.pn, %223 ], [ %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 %225

225:                                              ; preds = %224, %66
  %.pn91.pn.pn.pn = phi { ptr, i32 } [ %.pn91.pn.pn, %224 ], [ %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 %226

226:                                              ; preds = %225, %64
  %.pn91.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn91.pn.pn.pn, %225 ], [ %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 %227

227:                                              ; preds = %226, %62
  %.pn91.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn91.pn.pn.pn.pn, %226 ], [ %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 %228

228:                                              ; preds = %227, %60
  %.pn91.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn91.pn.pn.pn.pn.pn, %227 ], [ %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 %229

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

230:                                              ; preds = %230, %229
  %231 = phi ptr [ %21, %229 ], [ %232, %230 ]
  %232 = getelementptr inbounds i8, ptr %231, i64 -48
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %232) #9
  %233 = icmp eq ptr %232, %5
  br i1 %233, label %.loopexit103, label %230

.loopexit103:                                     ; preds = %.preheader113, %230, %52
  %.pn91.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %53, %52 ], [ %.pn91.pn.pn.pn.pn.pn.pn.pn, %230 ], [ %53, %.preheader113 ]
  call void @llvm.lifetime.end.p0(i64 49152, ptr nonnull %5) #9
  br label %234

234:                                              ; preds = %234, %.loopexit103
  %235 = phi ptr [ %16, %.loopexit103 ], [ %236, %234 ]
  %236 = getelementptr inbounds i8, ptr %235, i64 -16
  call void @_ZN3IntD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %236) #9
  %237 = icmp eq ptr %236, %4
  br i1 %237, label %.loopexit, label %234

.loopexit:                                        ; preds = %.preheader115, %234, %46
  %.pn91.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %47, %46 ], [ %.pn91.pn.pn.pn.pn.pn.pn.pn.pn, %234 ], [ %47, %.preheader115 ]
  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 %238

238:                                              ; preds = %.loopexit, %44
  %.pn91.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn91.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 } %.pn91.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

; 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

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