; LLVM IR from albertobsd/keyhunt :: bsgsd.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 { %union.anon }
%union.anon = type { [5 x i64] }
%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(120)) unnamed_addr #0

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

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

; 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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #0

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

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

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

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

; 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 120, ptr %11) #9
  call void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(120) %11)
  call void @llvm.lifetime.start.p0(i64 20520, 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(40) %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 122880, 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(120) %40)
          to label %41 unwind label %91

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 40, ptr %14) #9
  invoke void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %45 unwind label %101

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

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

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

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

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

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 40, 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(40) %24, i64 noundef %55)
          to label %56 unwind label %125

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

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

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

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
  br label %420

91:                                               ; preds = %39
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %9, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %10, align 4
  %95 = icmp eq ptr %37, %40
  br i1 %95, label %100, label %96

96:                                               ; preds = %96, %91
  %97 = phi ptr [ %40, %91 ], [ %98, %96 ]
  %98 = getelementptr inbounds %class.Point, ptr %97, i64 -1
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %98) #9
  %99 = icmp eq ptr %98, %37
  br i1 %99, label %100, label %96

100:                                              ; preds = %96, %91
  br label %419

101:                                              ; preds = %44
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %9, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %10, align 4
  br label %411

105:                                              ; preds = %45
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %9, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %10, align 4
  br label %410

109:                                              ; preds = %46
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %9, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %10, align 4
  br label %409

113:                                              ; preds = %47
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %9, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %10, align 4
  br label %408

117:                                              ; preds = %48
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %9, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %10, align 4
  br label %407

121:                                              ; preds = %49
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %9, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %10, align 4
  br label %406

125:                                              ; preds = %391, %132, %129, %50
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %9, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %10, align 4
  br label %405

129:                                              ; preds = %80, %56
  invoke void @_ZN3Int3AddEm(ptr noundef nonnull align 8 dereferenceable(40) %24, i64 noundef 512)
          to label %130 unwind label %125

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 120, ptr %25) #9
  %131 = 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(983240) %131, ptr noundef %24)
          to label %132 unwind label %141

132:                                              ; preds = %130
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %25, i64 120, i1 false), !tbaa.struct !17
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %25) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %25) #9
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 0
  invoke void @_ZN8IntGroup3SetEP3Int(ptr noundef nonnull align 8 dereferenceable(20) %133, ptr noundef %134)
          to label %135 unwind label %125

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

136:                                              ; preds = %384, %135
  %137 = load i64, ptr %26, align 8, !tbaa !15
  %138 = load i64, ptr %7, align 8, !tbaa !15
  %139 = icmp ult i64 %137, %138
  br i1 %139, label %145, label %140

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

141:                                              ; preds = %130
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %9, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %25) #9
  br label %405

145:                                              ; preds = %136
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %160, %145
  %147 = load i32, ptr %20, align 4, !tbaa !9
  %148 = load i32, ptr %22, align 4, !tbaa !9
  %149 = icmp slt i32 %147, %148
  br i1 %149, label %150, label %167

150:                                              ; preds = %146
  %151 = load i32, ptr %20, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %152
  %154 = load i32, ptr %20, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %155) #9
  %157 = getelementptr inbounds %class.Point, ptr %156, i32 0, i32 0
  %158 = getelementptr inbounds %class.Point, ptr %11, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %153, ptr noundef %157, ptr noundef %158)
          to label %159 unwind label %163

159:                                              ; preds = %150
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %20, align 4, !tbaa !9
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %20, align 4, !tbaa !9
  br label %146, !llvm.loop !19

163:                                              ; preds = %381, %379, %376, %374, %372, %370, %369, %364, %362, %336, %308, %276, %265, %263, %261, %260, %256, %254, %253, %248, %228, %226, %224, %223, %219, %217, %216, %211, %205, %203, %201, %200, %196, %190, %182, %176, %167, %150
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %9, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %405

167:                                              ; preds = %146
  %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(120) 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(40) %170, ptr noundef %174, ptr noundef %175)
          to label %176 unwind label %163

176:                                              ; preds = %167
  %177 = load i32, ptr %20, align 4, !tbaa !9
  %178 = add nsw i32 %177, 1
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %179
  %181 = getelementptr inbounds %class.Point, ptr %11, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %180, ptr noundef @_2Gn, ptr noundef %181)
          to label %182 unwind label %163

182:                                              ; preds = %176
  %183 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN8IntGroup6ModInvEv(ptr noundef nonnull align 8 dereferenceable(20) %183)
          to label %184 unwind label %163

184:                                              ; preds = %182
  %185 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 512
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %185, ptr align 8 %11, i64 120, i1 false), !tbaa.struct !17
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %186

186:                                              ; preds = %245, %184
  %187 = load i32, ptr %20, align 4, !tbaa !9
  %188 = load i32, ptr %22, align 4, !tbaa !9
  %189 = icmp slt i32 %187, %188
  br i1 %189, label %190, label %248

190:                                              ; preds = %186
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %11, i64 120, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %11, i64 120, i1 false), !tbaa.struct !17
  %191 = load i32, ptr %20, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %192) #9
  %194 = getelementptr inbounds %class.Point, ptr %193, i32 0, i32 1
  %195 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef %194, ptr noundef %195)
          to label %196 unwind label %163

196:                                              ; preds = %190
  %197 = load i32, ptr %20, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %198
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef %14, ptr noundef %199)
          to label %200 unwind label %163

200:                                              ; preds = %196
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef %16)
          to label %201 unwind label %163

201:                                              ; preds = %200
  %202 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %202)
          to label %203 unwind label %163

203:                                              ; preds = %201
  %204 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %204, ptr noundef %17)
          to label %205 unwind label %163

205:                                              ; preds = %203
  %206 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  %207 = load i32, ptr %20, align 4, !tbaa !9
  %208 = sext i32 %207 to i64
  %209 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %208) #9
  %210 = getelementptr inbounds %class.Point, ptr %209, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %206, ptr noundef %210)
          to label %211 unwind label %163

211:                                              ; preds = %205
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = sext i32 %212 to i64
  %214 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %213) #9
  %215 = getelementptr inbounds %class.Point, ptr %214, i32 0, i32 1
  invoke void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef %215)
          to label %216 unwind label %163

216:                                              ; preds = %211
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %217 unwind label %163

217:                                              ; preds = %216
  %218 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef %218)
          to label %219 unwind label %163

219:                                              ; preds = %217
  %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(40) %16, ptr noundef %15, ptr noundef %222)
          to label %223 unwind label %163

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

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

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

228:                                              ; preds = %226
  %229 = getelementptr inbounds %class.Point, ptr %19, 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(120) 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(40) %229, ptr noundef %233)
          to label %234 unwind label %163

234:                                              ; preds = %228
  %235 = load i32, ptr %20, align 4, !tbaa !9
  %236 = add nsw i32 %235, 1
  %237 = add nsw i32 512, %236
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 %238
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %239, ptr align 8 %18, i64 120, i1 false), !tbaa.struct !17
  %240 = load i32, ptr %20, align 4, !tbaa !9
  %241 = add nsw i32 %240, 1
  %242 = sub nsw i32 512, %241
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 %243
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %244, ptr align 8 %19, i64 120, i1 false), !tbaa.struct !17
  br label %245

245:                                              ; preds = %234
  %246 = load i32, ptr %20, align 4, !tbaa !9
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %20, align 4, !tbaa !9
  br label %186, !llvm.loop !21

248:                                              ; preds = %186
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %11, i64 120, i1 false), !tbaa.struct !17
  %249 = load i32, ptr %20, align 4, !tbaa !9
  %250 = sext i32 %249 to i64
  %251 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %250) #9
  %252 = getelementptr inbounds %class.Point, ptr %251, i32 0, i32 1
  invoke void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef %252)
          to label %253 unwind label %163

253:                                              ; preds = %248
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %254 unwind label %163

254:                                              ; preds = %253
  %255 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef %255)
          to label %256 unwind label %163

256:                                              ; preds = %254
  %257 = load i32, ptr %20, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %258
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef %15, ptr noundef %259)
          to label %260 unwind label %163

260:                                              ; preds = %256
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef %16)
          to label %261 unwind label %163

261:                                              ; preds = %260
  %262 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %262)
          to label %263 unwind label %163

263:                                              ; preds = %261
  %264 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %264, ptr noundef %17)
          to label %265 unwind label %163

265:                                              ; preds = %263
  %266 = getelementptr inbounds %class.Point, ptr %19, i32 0, i32 0
  %267 = load i32, ptr %20, align 4, !tbaa !9
  %268 = sext i32 %267 to i64
  %269 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %268) #9
  %270 = getelementptr inbounds %class.Point, ptr %269, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %266, ptr noundef %270)
          to label %271 unwind label %163

271:                                              ; preds = %265
  %272 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %272, ptr align 8 %19, i64 120, i1 false), !tbaa.struct !17
  store i64 0, ptr %6, align 8, !tbaa !15
  br label %273

273:                                              ; preds = %359, %271
  %274 = load i64, ptr %6, align 8, !tbaa !15
  %275 = icmp ult i64 %274, 1024
  br i1 %275, label %276, label %362

276:                                              ; preds = %273
  %277 = load i64, ptr %6, align 8, !tbaa !15
  %278 = getelementptr inbounds [1024 x %class.Point], ptr %13, i64 0, i64 %277
  %279 = getelementptr inbounds %class.Point, ptr %278, i32 0, i32 0
  %280 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  invoke void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(40) %279, ptr noundef %280)
          to label %281 unwind label %163

281:                                              ; preds = %276
  %282 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %283 = load i8, ptr %282, align 16, !tbaa !18
  %284 = zext i8 %283 to i32
  store i32 %284, ptr %21, align 4, !tbaa !9
  %285 = load i64, ptr %5, align 8, !tbaa !15
  %286 = load i64, ptr @bsgs_m3, align 8, !tbaa !15
  %287 = icmp ult i64 %285, %286
  br i1 %287, label %288, label %329

288:                                              ; preds = %281
  %289 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !9
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %305, label %291

291:                                              ; preds = %288
  %292 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %293 = load i64, ptr %5, align 8, !tbaa !15
  %294 = getelementptr inbounds %struct.bsgs_xvalue, ptr %292, i64 %293
  %295 = getelementptr inbounds %struct.bsgs_xvalue, ptr %294, i32 0, i32 0
  %296 = getelementptr inbounds [6 x i8], ptr %295, i64 0, i64 0
  %297 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %298 = getelementptr inbounds i8, ptr %297, i64 16
  %299 = load i64, ptr @BSGS_XVALUE_RAM, align 8, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %296, ptr align 1 %298, i64 %299, i1 false)
  %300 = load i64, ptr %5, align 8, !tbaa !15
  %301 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %302 = load i64, ptr %5, align 8, !tbaa !15
  %303 = getelementptr inbounds %struct.bsgs_xvalue, ptr %301, i64 %302
  %304 = getelementptr inbounds %struct.bsgs_xvalue, ptr %303, i32 0, i32 1
  store i64 %300, ptr %304, align 8, !tbaa !22
  br label %305

305:                                              ; preds = %291, %288
  %306 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !9
  %307 = icmp ne i32 %306, 0
  br i1 %307, label %328, label %308

308:                                              ; preds = %305
  %309 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  %310 = load i32, ptr %21, align 4, !tbaa !9
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds %union.pthread_mutex_t, ptr %309, i64 %311
  %313 = call i32 @pthread_mutex_lock(ptr noundef %312) #9
  %314 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %315 = load i32, ptr %21, align 4, !tbaa !9
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds %struct.bloom, ptr %314, i64 %316
  %318 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
  %319 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !15
  %320 = trunc i64 %319 to i32
  %321 = invoke i32 @bloom_add(ptr noundef %317, ptr noundef %318, i32 noundef %320)
          to label %322 unwind label %163

322:                                              ; preds = %308
  %323 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  %324 = load i32, ptr %21, align 4, !tbaa !9
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds %union.pthread_mutex_t, ptr %323, i64 %325
  %327 = call i32 @pthread_mutex_unlock(ptr noundef %326) #9
  br label %328

328:                                              ; preds = %322, %305
  br label %329

329:                                              ; preds = %328, %281
  %330 = load i64, ptr %5, align 8, !tbaa !15
  %331 = load i64, ptr @bsgs_m2, align 8, !tbaa !15
  %332 = icmp ult i64 %330, %331
  br i1 %332, label %333, label %356

333:                                              ; preds = %329
  %334 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !9
  %335 = icmp ne i32 %334, 0
  br i1 %335, label %356, label %336

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

350:                                              ; preds = %336
  %351 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  %352 = load i32, ptr %21, align 4, !tbaa !9
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds %union.pthread_mutex_t, ptr %351, i64 %353
  %355 = call i32 @pthread_mutex_unlock(ptr noundef %354) #9
  br label %356

356:                                              ; preds = %350, %333, %329
  %357 = load i64, ptr %5, align 8, !tbaa !15
  %358 = add i64 %357, 1
  store i64 %358, ptr %5, align 8, !tbaa !15
  br label %359

359:                                              ; preds = %356
  %360 = load i64, ptr %6, align 8, !tbaa !15
  %361 = add i64 %360, 1
  store i64 %361, ptr %6, align 8, !tbaa !15
  br label %273, !llvm.loop !24

362:                                              ; preds = %273
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %11, i64 120, i1 false), !tbaa.struct !17
  %363 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef getelementptr inbounds (%class.Point, ptr @_2Gn, i32 0, i32 1), ptr noundef %363)
          to label %364 unwind label %163

364:                                              ; preds = %362
  %365 = load i32, ptr %20, align 4, !tbaa !9
  %366 = add nsw i32 %365, 1
  %367 = sext i32 %366 to i64
  %368 = getelementptr inbounds [513 x %class.Int], ptr %12, i64 0, i64 %367
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef %14, ptr noundef %368)
          to label %369 unwind label %163

369:                                              ; preds = %364
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef %16)
          to label %370 unwind label %163

370:                                              ; preds = %369
  %371 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %371)
          to label %372 unwind label %163

372:                                              ; preds = %370
  %373 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %373, ptr noundef %17)
          to label %374 unwind label %163

374:                                              ; preds = %372
  %375 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %375, ptr noundef @_2Gn)
          to label %376 unwind label %163

376:                                              ; preds = %374
  %377 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  %378 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 0
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %377, ptr noundef @_2Gn, ptr noundef %378)
          to label %379 unwind label %163

379:                                              ; preds = %376
  %380 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %380, ptr noundef %16)
          to label %381 unwind label %163

381:                                              ; preds = %379
  %382 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 1
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %382, ptr noundef getelementptr inbounds (%class.Point, ptr @_2Gn, i32 0, i32 1))
          to label %383 unwind label %163

383:                                              ; preds = %381
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %18, i64 120, i1 false), !tbaa.struct !17
  br label %384

384:                                              ; preds = %383
  %385 = load i64, ptr %26, align 8, !tbaa !15
  %386 = add i64 %385, 1
  store i64 %386, ptr %26, align 8, !tbaa !15
  br label %136, !llvm.loop !25

387:                                              ; preds = %140
  %388 = load ptr, ptr %8, align 8, !tbaa !5
  %389 = icmp eq ptr %388, null
  br i1 %389, label %391, label %390

390:                                              ; preds = %387
  call void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %388) #9
  call void @_ZdlPvm(ptr noundef %388, i64 noundef 24) #11
  br label %391

391:                                              ; preds = %390, %387
  %392 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %393 = load i32, ptr %23, align 4, !tbaa !9
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds %union.pthread_mutex_t, ptr %392, i64 %394
  %396 = call i32 @pthread_mutex_lock(ptr noundef %395) #9
  %397 = load ptr, ptr %4, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.bPload, ptr %397, i32 0, i32 6
  store i32 1, ptr %398, align 4, !tbaa !26
  %399 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %400 = load i32, ptr %23, align 4, !tbaa !9
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds %union.pthread_mutex_t, ptr %399, i64 %401
  %403 = call i32 @pthread_mutex_unlock(ptr noundef %402) #9
  invoke void @pthread_exit(ptr noundef null) #12
          to label %404 unwind label %125

404:                                              ; preds = %391
  unreachable

405:                                              ; preds = %163, %141, %125
  call void @llvm.lifetime.end.p0(i64 40, 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(120) %19) #9
  br label %406

406:                                              ; preds = %405, %121
  call void @llvm.lifetime.end.p0(i64 120, ptr %19) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #9
  br label %407

407:                                              ; preds = %406, %117
  call void @llvm.lifetime.end.p0(i64 120, ptr %18) #9
  br label %408

408:                                              ; preds = %407, %113
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #9
  br label %409

409:                                              ; preds = %408, %109
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #9
  br label %410

410:                                              ; preds = %409, %105
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #9
  br label %411

411:                                              ; preds = %410, %101
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #9
  %412 = getelementptr inbounds [1024 x %class.Point], ptr %13, i32 0, i32 0
  %413 = getelementptr inbounds %class.Point, ptr %412, i64 1024
  br label %414

414:                                              ; preds = %414, %411
  %415 = phi ptr [ %413, %411 ], [ %416, %414 ]
  %416 = getelementptr inbounds %class.Point, ptr %415, i64 -1
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %416) #9
  %417 = icmp eq ptr %416, %412
  br i1 %417, label %418, label %414

418:                                              ; preds = %414
  br label %419

419:                                              ; preds = %418, %100
  call void @llvm.lifetime.end.p0(i64 122880, ptr %13) #9
  br label %420

420:                                              ; preds = %419, %87
  call void @llvm.lifetime.end.p0(i64 20520, ptr %12) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %11) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %11) #9
  br label %421

421:                                              ; preds = %420, %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 %422

422:                                              ; preds = %421
  %423 = load ptr, ptr %9, align 8
  %424 = load i32, ptr %10, align 4
  %425 = insertvalue { ptr, i32 } poison, ptr %423, 0
  %426 = insertvalue { ptr, i32 } %425, i32 %424, 1
  resume { ptr, i32 } %426
}

; 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 @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40), 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(40), ptr noundef, ptr noundef) #0

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

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

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

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

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

declare void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr 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

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

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

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{i64 0, i64 40, !18, i64 40, i64 40, !18, i64 80, i64 40, !18}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!23, !13, i64 8}
!23 = !{!"_ZTS11bsgs_xvalue", !7, i64 0, !13, i64 8}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = !{!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 { %union.anon }
%union.anon = type { [5 x i64] }
%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(120)) unnamed_addr #0

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

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

; 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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #0

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

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

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

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

; 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 %43

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

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

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

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

21:                                               ; preds = %22, %19
  %.idx80 = phi i64 [ 0, %19 ], [ %.add81, %22 ]
  %.ptr82 = getelementptr inbounds i8, ptr %5, i64 %.idx80
  invoke void @_ZN5PointC1Ev(ptr noundef nonnull align 8 dereferenceable(120) %.ptr82)
          to label %22 unwind label %47

22:                                               ; preds = %21
  %.add81 = add nuw nsw i64 %.idx80, 120
  %23 = icmp eq i64 %.add81, 122880
  br i1 %23, label %24, label %21

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

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

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

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

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

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

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

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

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

45:                                               ; preds = %16
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %207

47:                                               ; preds = %21
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = icmp eq i64 %.idx80, 0
  br i1 %49, label %.loopexit, label %.preheader103

.preheader103:                                    ; preds = %47, %.preheader103
  %50 = phi ptr [ %51, %.preheader103 ], [ %.ptr82, %47 ]
  %51 = getelementptr inbounds i8, ptr %50, i64 -120
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %51) #9
  %52 = icmp eq ptr %51, %5
  br i1 %52, label %.loopexit, label %.preheader103

53:                                               ; preds = %24
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %202

55:                                               ; preds = %25
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %201

57:                                               ; preds = %26
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %200

59:                                               ; preds = %27
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %199

61:                                               ; preds = %28
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %198

63:                                               ; preds = %29
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %197

65:                                               ; preds = %._crit_edge, %69, %34, %30
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

67:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %13) #9
  %68 = 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(983240) %68, ptr noundef nonnull %12)
          to label %69 unwind label %76

69:                                               ; preds = %67
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(120) %13, i64 120, i1 false), !tbaa.struct !15
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %13) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %13) #9
  invoke void @_ZN8IntGroup3SetEP3Int(ptr noundef nonnull align 8 dereferenceable(20) %14, ptr noundef nonnull %4)
          to label %.preheader102 unwind label %65

.preheader102:                                    ; preds = %69
  %.not117 = icmp eq i64 %spec.select, 0
  br i1 %.not117, label %._crit_edge, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.preheader102
  %70 = getelementptr inbounds i8, ptr %5, i64 61440
  %71 = getelementptr inbounds i8, ptr %10, i64 40
  %72 = getelementptr inbounds i8, ptr %11, i64 40
  %73 = getelementptr inbounds i8, ptr %2, i64 16
  %74 = getelementptr inbounds i8, ptr %4, i64 20440
  %75 = getelementptr inbounds i8, ptr %4, i64 20480
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %186
  %.0116 = phi i64 [ 0, %.preheader.lr.ph ], [ %187, %186 ]
  %.058115 = phi i64 [ %36, %.preheader.lr.ph ], [ %175, %186 ]
  br label %78

76:                                               ; preds = %67
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %13) #9
  br label %.loopexit.split-lp

78:                                               ; preds = %.preheader, %81
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next, %81 ]
  %79 = getelementptr inbounds [513 x %class.Int], ptr %4, i64 0, i64 %indvars.iv
  %80 = call noundef nonnull align 8 dereferenceable(120) 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(40) %79, ptr noundef nonnull %80, ptr noundef nonnull %3)
          to label %81 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

81:                                               ; preds = %78
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 511
  br i1 %exitcond.not, label %82, label %78, !llvm.loop !17

.loopexit96:                                      ; preds = %125, %141, %160
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %106, %105, %104, %103, %102, %101, %100, %97, %95, %94, %93, %92, %90, %87
  %lpad.loopexit97 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %82, %84, %85, %113, %116, %117, %118, %119, %120, %121, %122, %177, %178, %179, %180, %181, %182, %183, %184, %185
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

82:                                               ; preds = %81
  %83 = call noundef nonnull align 8 dereferenceable(120) 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(40) %74, ptr noundef nonnull %83, ptr noundef nonnull %3)
          to label %84 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

84:                                               ; preds = %82
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %75, ptr noundef nonnull @_2Gn, ptr noundef nonnull %3)
          to label %85 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

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

86:                                               ; preds = %85
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(120) %70, ptr noundef nonnull align 8 dereferenceable(120) %3, i64 120, i1 false), !tbaa.struct !15
  br label %87

87:                                               ; preds = %86, %108
  %indvars.iv126 = phi i64 [ 0, %86 ], [ %indvars.iv.next127, %108 ]
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %10, ptr noundef nonnull align 8 dereferenceable(120) %3, i64 120, i1 false), !tbaa.struct !15
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %11, ptr noundef nonnull align 8 dereferenceable(120) %3, i64 120, i1 false), !tbaa.struct !15
  %88 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv126) #9
  %89 = getelementptr inbounds i8, ptr %88, i64 40
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull %89, ptr noundef nonnull %71)
          to label %90 unwind label %.loopexit.split-lp.loopexit

90:                                               ; preds = %87
  %91 = getelementptr inbounds [513 x %class.Int], ptr %4, i64 0, i64 %indvars.iv126
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %6, ptr noundef nonnull %91)
          to label %92 unwind label %.loopexit.split-lp.loopexit

92:                                               ; preds = %90
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull %8)
          to label %93 unwind label %.loopexit.split-lp.loopexit

93:                                               ; preds = %92
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %94 unwind label %.loopexit.split-lp.loopexit

94:                                               ; preds = %93
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull %9)
          to label %95 unwind label %.loopexit.split-lp.loopexit

95:                                               ; preds = %94
  %96 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv126) #9
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull %96)
          to label %97 unwind label %.loopexit.split-lp.loopexit

97:                                               ; preds = %95
  %98 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv126) #9
  %99 = getelementptr inbounds i8, ptr %98, i64 40
  invoke void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %99)
          to label %100 unwind label %.loopexit.split-lp.loopexit

100:                                              ; preds = %97
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %101 unwind label %.loopexit.split-lp.loopexit

101:                                              ; preds = %100
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %72)
          to label %102 unwind label %.loopexit.split-lp.loopexit

102:                                              ; preds = %101
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %7, ptr noundef nonnull %91)
          to label %103 unwind label %.loopexit.split-lp.loopexit

103:                                              ; preds = %102
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull %8)
          to label %104 unwind label %.loopexit.split-lp.loopexit

104:                                              ; preds = %103
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %105 unwind label %.loopexit.split-lp.loopexit

105:                                              ; preds = %104
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull %9)
          to label %106 unwind label %.loopexit.split-lp.loopexit

106:                                              ; preds = %105
  %107 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef %indvars.iv126) #9
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull %107)
          to label %108 unwind label %.loopexit.split-lp.loopexit

108:                                              ; preds = %106
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %109 = add nuw nsw i64 %indvars.iv126, 513
  %110 = getelementptr inbounds [1024 x %class.Point], ptr %5, i64 0, i64 %109
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %110, ptr noundef nonnull align 8 dereferenceable(120) %10, i64 120, i1 false), !tbaa.struct !15
  %111 = sub nuw nsw i64 511, %indvars.iv126
  %112 = getelementptr inbounds [1024 x %class.Point], ptr %5, i64 0, i64 %111
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %112, ptr noundef nonnull align 8 dereferenceable(120) %11, i64 120, i1 false), !tbaa.struct !15
  %exitcond129.not = icmp eq i64 %indvars.iv.next127, 511
  br i1 %exitcond129.not, label %113, label %87, !llvm.loop !19

113:                                              ; preds = %108
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %11, ptr noundef nonnull align 8 dereferenceable(120) %3, i64 120, i1 false), !tbaa.struct !15
  %114 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @Gn, i64 noundef 511) #9
  %115 = getelementptr inbounds i8, ptr %114, i64 40
  invoke void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %115)
          to label %116 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

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

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

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

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

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

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

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

124:                                              ; preds = %122
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(120) %11, i64 120, i1 false), !tbaa.struct !15
  br label %125

125:                                              ; preds = %124, %174
  %.1113 = phi i64 [ %.058115, %124 ], [ %175, %174 ]
  %.059112 = phi i64 [ 0, %124 ], [ %176, %174 ]
  %126 = getelementptr inbounds [1024 x %class.Point], ptr %5, i64 0, i64 %.059112
  invoke void @_ZN3Int10Get32BytesEPh(ptr noundef nonnull align 8 dereferenceable(40) %126, ptr noundef nonnull %2)
          to label %127 unwind label %.loopexit96

127:                                              ; preds = %125
  %128 = load i8, ptr %2, align 16, !tbaa !16
  %129 = load i64, ptr @bsgs_m3, align 8, !tbaa !20
  %130 = icmp ult i64 %.1113, %129
  br i1 %130, label %131, label %155

131:                                              ; preds = %127
  %132 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !21
  %.not84 = icmp eq i32 %132, 0
  br i1 %.not84, label %133, label %139

133:                                              ; preds = %131
  %134 = load ptr, ptr @bPtable, align 8, !tbaa !13
  %135 = getelementptr inbounds %struct.bsgs_xvalue, ptr %134, i64 %.1113
  %136 = load i64, ptr @BSGS_XVALUE_RAM, align 8, !tbaa !20
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %135, ptr nonnull align 16 %73, i64 %136, i1 false)
  %137 = load ptr, ptr @bPtable, align 8, !tbaa !13
  %138 = getelementptr inbounds %struct.bsgs_xvalue, ptr %137, i64 %.1113, i32 1
  store i64 %.1113, ptr %138, align 8, !tbaa !22
  br label %139

139:                                              ; preds = %133, %131
  %140 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !21
  %.not85 = icmp eq i32 %140, 0
  br i1 %.not85, label %141, label %155

141:                                              ; preds = %139
  %142 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !13
  %143 = zext i8 %128 to i64
  %144 = getelementptr inbounds %union.pthread_mutex_t, ptr %142, i64 %143
  %145 = call i32 @pthread_mutex_lock(ptr noundef %144) #9
  %146 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !13
  %147 = getelementptr inbounds %struct.bloom, ptr %146, i64 %143
  %148 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !20
  %149 = trunc i64 %148 to i32
  %150 = invoke i32 @bloom_add(ptr noundef %147, ptr noundef nonnull %2, i32 noundef %149)
          to label %151 unwind label %.loopexit96

151:                                              ; preds = %141
  %152 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !13
  %153 = getelementptr inbounds %union.pthread_mutex_t, ptr %152, i64 %143
  %154 = call i32 @pthread_mutex_unlock(ptr noundef %153) #9
  br label %155

155:                                              ; preds = %139, %151, %127
  %156 = load i64, ptr @bsgs_m2, align 8, !tbaa !20
  %157 = icmp uge i64 %.1113, %156
  %158 = load i32, ptr @FLAGREADEDFILE2, align 4
  %159 = icmp ne i32 %158, 0
  %or.cond = select i1 %157, i1 true, i1 %159
  br i1 %or.cond, label %174, label %160

160:                                              ; preds = %155
  %161 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !13
  %162 = zext i8 %128 to i64
  %163 = getelementptr inbounds %union.pthread_mutex_t, ptr %161, i64 %162
  %164 = call i32 @pthread_mutex_lock(ptr noundef %163) #9
  %165 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !13
  %166 = getelementptr inbounds %struct.bloom, ptr %165, i64 %162
  %167 = load i64, ptr @BSGS_BUFFERXPOINTLENGTH, align 8, !tbaa !20
  %168 = trunc i64 %167 to i32
  %169 = invoke i32 @bloom_add(ptr noundef %166, ptr noundef nonnull %2, i32 noundef %168)
          to label %170 unwind label %.loopexit96

170:                                              ; preds = %160
  %171 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !13
  %172 = getelementptr inbounds %union.pthread_mutex_t, ptr %171, i64 %162
  %173 = call i32 @pthread_mutex_unlock(ptr noundef %172) #9
  br label %174

174:                                              ; preds = %170, %155
  %175 = add i64 %.1113, 1
  %176 = add nuw nsw i64 %.059112, 1
  %exitcond130.not = icmp eq i64 %176, 1024
  br i1 %exitcond130.not, label %177, label %125, !llvm.loop !24

177:                                              ; preds = %174
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %10, ptr noundef nonnull align 8 dereferenceable(120) %3, i64 120, i1 false), !tbaa.struct !15
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull getelementptr inbounds (i8, ptr @_2Gn, i64 40), ptr noundef nonnull %71)
          to label %178 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

178:                                              ; preds = %177
  invoke void @_ZN3Int8ModMulK1EPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %6, ptr noundef nonnull %75)
          to label %179 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

179:                                              ; preds = %178
  invoke void @_ZN3Int11ModSquareK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull %8)
          to label %180 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

180:                                              ; preds = %179
  invoke void @_ZN3Int6ModNegEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %181 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

181:                                              ; preds = %180
  invoke void @_ZN3Int6ModAddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull %9)
          to label %182 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

182:                                              ; preds = %181
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull @_2Gn)
          to label %183 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

183:                                              ; preds = %182
  invoke void @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %71, ptr noundef nonnull @_2Gn, ptr noundef nonnull %10)
          to label %184 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

184:                                              ; preds = %183
  invoke void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(40) %71, ptr noundef nonnull %8)
          to label %185 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

185:                                              ; preds = %184
  invoke void @_ZN3Int6ModSubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %71, ptr noundef nonnull getelementptr inbounds (i8, ptr @_2Gn, i64 40))
          to label %186 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

186:                                              ; preds = %185
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(120) %10, i64 120, i1 false), !tbaa.struct !15
  %187 = add nuw nsw i64 %.0116, 1
  %exitcond131.not = icmp eq i64 %187, %spec.select
  br i1 %exitcond131.not, label %._crit_edge, label %.preheader, !llvm.loop !25

._crit_edge:                                      ; preds = %186, %.preheader102
  call void @_ZN8IntGroupD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %14) #9
  call void @_ZdlPvm(ptr noundef nonnull %14, i64 noundef 24) #11
  %188 = load ptr, ptr @bPload_mutex, align 8, !tbaa !13
  %189 = sext i32 %35 to i64
  %190 = getelementptr inbounds %union.pthread_mutex_t, ptr %188, i64 %189
  %191 = call i32 @pthread_mutex_lock(ptr noundef %190) #9
  %192 = getelementptr inbounds i8, ptr %0, i64 44
  store i32 1, ptr %192, align 4, !tbaa !26
  %193 = load ptr, ptr @bPload_mutex, align 8, !tbaa !13
  %194 = getelementptr inbounds %union.pthread_mutex_t, ptr %193, i64 %189
  %195 = call i32 @pthread_mutex_unlock(ptr noundef %194) #9
  invoke void @pthread_exit(ptr noundef null) #12
          to label %196 unwind label %65

196:                                              ; preds = %._crit_edge
  unreachable

.loopexit.split-lp:                               ; preds = %.loopexit96, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %76, %65
  %.pn = phi { ptr, i32 } [ %66, %65 ], [ %77, %76 ], [ %lpad.loopexit, %.loopexit96 ], [ %lpad.loopexit97, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit100, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %11) #9
  br label %197

197:                                              ; preds = %.loopexit.split-lp, %63
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %11) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %10) #9
  br label %198

198:                                              ; preds = %197, %61
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %197 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %10) #9
  br label %199

199:                                              ; preds = %198, %59
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %198 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #9
  br label %200

200:                                              ; preds = %199, %57
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %199 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #9
  br label %201

201:                                              ; preds = %200, %55
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %200 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #9
  br label %202

202:                                              ; preds = %201, %53
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %201 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #9
  br label %203

203:                                              ; preds = %203, %202
  %204 = phi ptr [ %20, %202 ], [ %205, %203 ]
  %205 = getelementptr inbounds i8, ptr %204, i64 -120
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %205) #9
  %206 = icmp eq ptr %205, %5
  br i1 %206, label %.loopexit, label %203

.loopexit:                                        ; preds = %.preheader103, %203, %47
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %48, %47 ], [ %.pn.pn.pn.pn.pn.pn.pn, %203 ], [ %48, %.preheader103 ]
  call void @llvm.lifetime.end.p0(i64 122880, ptr nonnull %5) #9
  br label %207

207:                                              ; preds = %.loopexit, %45
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %.loopexit ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 20520, ptr nonnull %4) #9
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %3) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %3) #9
  br label %208

208:                                              ; preds = %207, %43
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %207 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #9
  resume { ptr, i32 } %.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 @_ZN3Int6ModSubEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40), 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(40), ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

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

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

declare void @_ZN3Int8ModMulK1EPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr 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

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

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

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

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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{i64 0, i64 40, !16, i64 40, i64 40, !16, i64 80, i64 40, !16}
!16 = !{!8, !8, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!10, !10, i64 0}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !10, i64 8}
!23 = !{!"_ZTS11bsgs_xvalue", !8, i64 0, !10, i64 8}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = !{!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