; LLVM IR from albertobsd/keyhunt :: bsgsd (main)

; 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] }
%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.oldbloom = type { i64, i64, i64, i8, x86_fp80, i8, i8, i8, double, [32 x i8], [32 x i8], ptr, %union.pthread_mutex_t }
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }
%struct.bloom = type { i64, i64, i64, i8, x86_fp80, i8, i8, i8, double, ptr }
%struct.checksumsha256 = type { [32 x i8], [32 x i8] }
%struct.bPload = type { i32, i64, i64, i64, i64, i32, i32 }

@THREADBPWORKLOAD = external dso_local global i32, align 4
@version = external dso_local global ptr, align 8
@ip_default = external dso_local global ptr, align 8
@IP = external dso_local global ptr, align 8
@port = external dso_local global i32, align 4
@GSn = external dso_local global %"class.std::vector", align 8
@_2GSn = external dso_local global %class.Point, align 8
@bsgs_modes = external dso_local global [5 x ptr], align 16
@tid = external dso_local global ptr, align 8
@write_keys = external dso_local global %union.pthread_mutex_t, align 8
@write_random = external dso_local global %union.pthread_mutex_t, align 8
@mutex_bsgs_thread = external dso_local global %union.pthread_mutex_t, align 8
@bPload_mutex = external dso_local global ptr, align 8
@FINISHED_THREADS_COUNTER = external dso_local global i64, align 8
@FINISHED_THREADS_BP = external dso_local global i64, align 8
@THREADCYCLES = external dso_local global i64, align 8
@THREADCOUNTER = external dso_local global i64, align 8
@FINISHED_ITEMS = external dso_local global i64, align 8
@OLDFINISHED_ITEMS = external dso_local global i64, align 8
@FLAGSKIPCHECKSUM = external dso_local global i32, align 4
@FLAGBSGSMODE = external dso_local global i32, align 4
@KFACTOR = external dso_local global i32, align 4
@NTHREADS = external dso_local global i32, align 4
@FLAGSAVEREADFILE = external dso_local global i32, align 4
@FLAGREADEDFILE1 = external dso_local global i32, align 4
@FLAGREADEDFILE2 = external dso_local global i32, align 4
@FLAGREADEDFILE3 = external dso_local global i32, align 4
@FLAGREADEDFILE4 = external dso_local global i32, align 4
@FLAGUPDATEFILE1 = external dso_local global i32, align 4
@FLAGMODE = external dso_local global i32, align 4
@FLAG_N = external dso_local global i32, align 4
@str_N = external dso_local global ptr, align 8
@stride = external dso_local global %class.Int, align 8
@bytes = external dso_local global i64, align 8
@checksum = external dso_local global [32 x i8], align 16
@checksum_backup = external dso_local global [32 x i8], align 16
@buffer_bloom_file = external dso_local global [1024 x i8], align 16
@bPtable = external dso_local global ptr, align 8
@oldbloom_bP = external dso_local global %struct.oldbloom, align 16
@bloom_bP = external dso_local global ptr, align 8
@bloom_bPx2nd = external dso_local global ptr, align 8
@bloom_bPx3rd = external dso_local global ptr, align 8
@bloom_bP_checksums = external dso_local global ptr, align 8
@bloom_bPx2nd_checksums = external dso_local global ptr, align 8
@bloom_bPx3rd_checksums = external dso_local global ptr, align 8
@bloom_bP_mutex = external dso_local global ptr, align 8
@bloom_bPx2nd_mutex = external dso_local global ptr, align 8
@bloom_bPx3rd_mutex = external dso_local global ptr, align 8
@bloom_bP_totalbytes = external dso_local global i64, align 8
@bloom_bP2_totalbytes = external dso_local global i64, align 8
@bloom_bP3_totalbytes = external dso_local global i64, align 8
@bsgs_m = external dso_local global i64, align 8
@bsgs_m2 = external dso_local global i64, align 8
@bsgs_m3 = external dso_local global i64, align 8
@bsgs_aux = external dso_local global i64, align 8
@BSGS_GROUP_SIZE = external dso_local global %class.Int, align 8
@BSGS_R = external dso_local global %class.Int, align 8
@BSGS_AUX = external dso_local global %class.Int, align 8
@BSGS_N = external dso_local global %class.Int, align 8
@BSGS_M = external dso_local global %class.Int, align 8
@BSGS_M_double = external dso_local global %class.Int, align 8
@BSGS_M2 = external dso_local global %class.Int, align 8
@BSGS_M2_double = external dso_local global %class.Int, align 8
@BSGS_M3 = external dso_local global %class.Int, align 8
@BSGS_M3_double = external dso_local global %class.Int, align 8
@ONE = external dso_local global %class.Int, align 8
@ZERO = external dso_local global %class.Int, align 8
@BSGS_MP = external dso_local global %class.Point, align 8
@BSGS_MP2 = external dso_local global %class.Point, align 8
@BSGS_MP3 = external dso_local global %class.Point, align 8
@BSGS_MP_double = external dso_local global %class.Point, align 8
@BSGS_MP2_double = external dso_local global %class.Point, align 8
@BSGS_MP3_double = external dso_local global %class.Point, align 8
@BSGS_AMP2 = external dso_local global %"class.std::vector", align 8
@BSGS_AMP3 = external dso_local global %"class.std::vector", align 8
@point_temp = external dso_local global %class.Point, align 8
@secp = external dso_local global ptr, align 8
@stderr = external global ptr, align 8
@.str.57 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [33 x i8], align 1
@optarg = external global ptr, align 8
@.str.61 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external global ptr, align 8
@.str.75 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca [32 x i8], align 16
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %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.Int, align 8
  %26 = alloca %class.Int, align 8
  %27 = alloca %class.Int, align 8
  %28 = alloca %class.Int, align 8
  %29 = alloca %class.Int, align 8
  %30 = alloca %class.Int, align 8
  %31 = alloca %class.Int, align 8
  %32 = alloca %class.Int, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i64, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i32, align 4
  %37 = alloca i64, align 8
  %38 = alloca i32, align 4
  %39 = alloca %class.Point, align 8
  %40 = alloca %class.Point, align 8
  %41 = alloca %class.Point, align 8
  %42 = alloca %class.Point, align 8
  %43 = alloca %class.Point, align 8
  %44 = alloca %class.Point, align 8
  %45 = alloca %class.Point, align 8
  %46 = alloca %class.Point, align 8
  %47 = alloca %class.Point, align 8
  %48 = alloca i32, align 4
  %49 = alloca %class.Point, align 8
  %50 = alloca %class.Point, align 8
  %51 = alloca %class.Point, align 8
  %52 = alloca %class.Point, align 8
  %53 = alloca %class.Point, align 8
  %54 = alloca %class.Point, align 8
  %55 = alloca %class.Point, align 8
  %56 = alloca %class.Point, align 8
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca %struct.sockaddr_in, align 4
  %60 = alloca [16 x i8], align 16
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca i64, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #15
  store ptr null, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #15
  store ptr null, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #15
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #15
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %24)
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %25)
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %26)
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %27)
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %28)
  call void @llvm.lifetime.start.p0(i64 40, ptr %29) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %29)
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %30)
  call void @llvm.lifetime.start.p0(i64 40, ptr %31) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %31)
  call void @llvm.lifetime.start.p0(i64 40, ptr %32) #15
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %32)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #15
  %65 = call i32 @pthread_mutex_init(ptr noundef @write_keys, ptr noundef null) #15
  %66 = call i32 @pthread_mutex_init(ptr noundef @write_random, ptr noundef null) #15
  %67 = call i32 @pthread_mutex_init(ptr noundef @mutex_bsgs_thread, ptr noundef null) #15
  %68 = call i64 @time(ptr noundef null) #15
  %69 = trunc i64 %68 to i32
  call void @srand(i32 noundef %69) #15
  %70 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 983240) #16
  invoke void @_ZN9Secp256K1C1Ev(ptr noundef nonnull align 8 dereferenceable(983240) %70)
          to label %71 unwind label %79

71:                                               ; preds = %2
  store ptr %70, ptr @secp, align 8, !tbaa !9
  %72 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240) %72)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @ZERO, i32 noundef 0)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @ONE, i32 noundef 1)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_GROUP_SIZE, i32 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #15
  %73 = call i64 @getrandom(ptr noundef %37, i64 noundef 8, i32 noundef 1)
  %74 = trunc i64 %73 to i32
  store i32 %74, ptr %38, align 4, !tbaa !5
  %75 = load i32, ptr %38, align 4, !tbaa !5
  %76 = icmp sgt i32 %75, 0
  br i1 %76, label %77, label %83

77:                                               ; preds = %71
  %78 = load i64, ptr %37, align 8, !tbaa !11
  call void @_Z5rseedm(i64 noundef %78)
  br label %86

79:                                               ; preds = %2
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %35, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %36, align 4
  call void @_ZdlPvm(ptr noundef %70, i64 noundef 983240) #17
  br label %2364

83:                                               ; preds = %71
  %84 = load ptr, ptr @stderr, align 8, !tbaa !9
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.57) #15
  call void @exit(i32 noundef 0) #18
  unreachable

86:                                               ; preds = %77
  store i32 8080, ptr @port, align 4, !tbaa !5
  %87 = load ptr, ptr @ip_default, align 8, !tbaa !9
  store ptr %87, ptr @IP, align 8, !tbaa !9
  %88 = load ptr, ptr @version, align 8, !tbaa !9
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.58, ptr noundef %88)
  br label %90

90:                                               ; preds = %144, %86
  %91 = load i32, ptr %4, align 4, !tbaa !5
  %92 = load ptr, ptr %5, align 8, !tbaa !9
  %93 = call i32 @getopt(i32 noundef %91, ptr noundef %92, ptr noundef @.str.59) #15
  store i32 %93, ptr %20, align 4, !tbaa !5
  %94 = icmp ne i32 %93, -1
  br i1 %94, label %95, label %145

95:                                               ; preds = %90
  %96 = load i32, ptr %20, align 4, !tbaa !5
  switch i32 %96, label %140 [
    i32 54, label %97
    i32 104, label %100
    i32 107, label %101
    i32 110, label %111
    i32 116, label %113
    i32 112, label %127
    i32 105, label %138
  ]

97:                                               ; preds = %95
  store i32 1, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %98 = load ptr, ptr @stderr, align 8, !tbaa !9
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.60) #15
  br label %144

100:                                              ; preds = %95
  call void @_Z4menuv()
  br label %144

101:                                              ; preds = %95
  %102 = load ptr, ptr @optarg, align 8, !tbaa !9
  %103 = call i64 @strtol(ptr noundef %102, ptr noundef null, i32 noundef 10) #15
  %104 = trunc i64 %103 to i32
  store i32 %104, ptr @KFACTOR, align 4, !tbaa !5
  %105 = load i32, ptr @KFACTOR, align 4, !tbaa !5
  %106 = icmp sle i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %101
  store i32 1, ptr @KFACTOR, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %107, %101
  %109 = load i32, ptr @KFACTOR, align 4, !tbaa !5
  %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.61, i32 noundef %109)
  br label %144

111:                                              ; preds = %95
  store i32 1, ptr @FLAG_N, align 4, !tbaa !5
  %112 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %112, ptr @str_N, align 8, !tbaa !9
  br label %144

113:                                              ; preds = %95
  %114 = load ptr, ptr @optarg, align 8, !tbaa !9
  %115 = call i64 @strtol(ptr noundef %114, ptr noundef null, i32 noundef 10) #15
  %116 = trunc i64 %115 to i32
  store i32 %116, ptr @NTHREADS, align 4, !tbaa !5
  %117 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %118 = icmp sle i32 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %113
  store i32 1, ptr @NTHREADS, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %119, %113
  %121 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %122 = icmp sgt i32 %121, 1
  %123 = zext i1 %122 to i64
  %124 = select i1 %122, ptr @.str.62, ptr @.str.63
  %125 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %126 = call i32 (ptr, ...) @printf(ptr noundef %124, i32 noundef %125)
  br label %144

127:                                              ; preds = %95
  %128 = load ptr, ptr @optarg, align 8, !tbaa !9
  %129 = call i64 @strtol(ptr noundef %128, ptr noundef null, i32 noundef 10) #15
  %130 = trunc i64 %129 to i32
  store i32 %130, ptr @port, align 4, !tbaa !5
  %131 = load i32, ptr @port, align 4, !tbaa !5
  %132 = icmp sle i32 %131, 0
  br i1 %132, label %136, label %133

133:                                              ; preds = %127
  %134 = load i32, ptr @port, align 4, !tbaa !5
  %135 = icmp sgt i32 %134, 65535
  br i1 %135, label %136, label %137

136:                                              ; preds = %133, %127
  store i32 8080, ptr @port, align 4, !tbaa !5
  br label %137

137:                                              ; preds = %136, %133
  br label %144

138:                                              ; preds = %95
  %139 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %139, ptr @IP, align 8, !tbaa !9
  br label %144

140:                                              ; preds = %95
  %141 = load ptr, ptr @stderr, align 8, !tbaa !9
  %142 = load i32, ptr %20, align 4, !tbaa !5
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef @.str.64, i32 noundef %142) #15
  call void @exit(i32 noundef 0) #18
  unreachable

144:                                              ; preds = %138, %137, %120, %111, %108, %100, %97
  br label %90, !llvm.loop !13

145:                                              ; preds = %90
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef @ONE)
  call void @_Z14init_generatorv()
  %146 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %147 = icmp eq i32 %146, 2
  br i1 %147, label %148, label %154

148:                                              ; preds = %145
  %149 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [5 x ptr], ptr @bsgs_modes, i64 0, i64 %150
  %152 = load ptr, ptr %151, align 8, !tbaa !9
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.65, ptr noundef %152)
  br label %154

154:                                              ; preds = %148, %145
  %155 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %156 = icmp eq i32 %155, 2
  br i1 %156, label %157, label %2297

157:                                              ; preds = %154
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i32 noundef 0)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i32 noundef 0)
  %158 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %158)
  %159 = load i32, ptr @FLAG_N, align 4, !tbaa !5
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %161, label %185

161:                                              ; preds = %157
  %162 = load ptr, ptr @str_N, align 8, !tbaa !9
  %163 = getelementptr inbounds i8, ptr %162, i64 0
  %164 = load i8, ptr %163, align 1, !tbaa !15
  %165 = sext i8 %164 to i32
  %166 = icmp eq i32 %165, 48
  br i1 %166, label %167, label %182

167:                                              ; preds = %161
  %168 = load ptr, ptr @str_N, align 8, !tbaa !9
  %169 = getelementptr inbounds i8, ptr %168, i64 1
  %170 = load i8, ptr %169, align 1, !tbaa !15
  %171 = sext i8 %170 to i32
  %172 = icmp eq i32 %171, 120
  br i1 %172, label %179, label %173

173:                                              ; preds = %167
  %174 = load ptr, ptr @str_N, align 8, !tbaa !9
  %175 = getelementptr inbounds i8, ptr %174, i64 1
  %176 = load i8, ptr %175, align 1, !tbaa !15
  %177 = sext i8 %176 to i32
  %178 = icmp eq i32 %177, 88
  br i1 %178, label %179, label %182

179:                                              ; preds = %173, %167
  %180 = load ptr, ptr @str_N, align 8, !tbaa !9
  %181 = getelementptr inbounds i8, ptr %180, i64 2
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef %181)
  br label %184

182:                                              ; preds = %173, %161
  %183 = load ptr, ptr @str_N, align 8, !tbaa !9
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef %183)
  br label %184

184:                                              ; preds = %182, %179
  br label %186

185:                                              ; preds = %157
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i64 noundef 17592186044416)
  br label %186

186:                                              ; preds = %185, %184
  %187 = call noundef zeroext i1 @_ZN3Int7HasSqrtEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  br i1 %187, label %188, label %189

188:                                              ; preds = %186
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, ptr noundef @BSGS_N)
  call void @_ZN3Int7ModSqrtEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  br label %192

189:                                              ; preds = %186
  %190 = load ptr, ptr @stderr, align 8, !tbaa !9
  %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.66) #15
  call void @exit(i32 noundef 0) #18
  unreachable

192:                                              ; preds = %188
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef @BSGS_M)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef @BSGS_GROUP_SIZE)
  %193 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  br i1 %193, label %199, label %194

194:                                              ; preds = %192
  %195 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_GROUP_SIZE)
  store ptr %195, ptr %9, align 8, !tbaa !9
  %196 = load ptr, ptr @stderr, align 8, !tbaa !9
  %197 = load ptr, ptr %9, align 8, !tbaa !9
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.67, ptr noundef %197) #15
  call void @exit(i32 noundef 0) #18
  unreachable

199:                                              ; preds = %192
  %200 = load i32, ptr @KFACTOR, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %201)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, i32 noundef 32)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef @BSGS_M)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef @BSGS_AUX)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2, ptr noundef @BSGS_M)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2, ptr noundef @BSGS_AUX, ptr noundef null)
  %202 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %202, label %204, label %203

203:                                              ; preds = %199
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  br label %204

204:                                              ; preds = %203, %199
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M_double, ptr noundef @BSGS_M)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2_double, ptr noundef @BSGS_M2)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef @BSGS_M2)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef @BSGS_AUX)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3, ptr noundef @BSGS_M2)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3, ptr noundef @BSGS_AUX, ptr noundef null)
  %205 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %205, label %207, label %206

206:                                              ; preds = %204
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  br label %207

207:                                              ; preds = %206, %204
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3_double, ptr noundef @BSGS_M3)
  %208 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  store i64 %208, ptr @bsgs_m2, align 8, !tbaa !11
  %209 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  store i64 %209, ptr @bsgs_m3, align 8, !tbaa !11
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef @BSGS_N)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef @BSGS_M, ptr noundef null)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef @BSGS_N)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef @BSGS_M)
  %210 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %210, label %212, label %211

211:                                              ; preds = %207
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef @BSGS_M)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef @BSGS_AUX)
  br label %212

212:                                              ; preds = %211, %207
  %213 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %213, ptr @bsgs_m, align 8, !tbaa !11
  %214 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  store i64 %214, ptr @bsgs_aux, align 8, !tbaa !11
  %215 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  store ptr %215, ptr %9, align 8, !tbaa !9
  %216 = load ptr, ptr %9, align 8, !tbaa !9
  %217 = call i32 (ptr, ...) @printf(ptr noundef @.str.68, ptr noundef %216)
  %218 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %218, ptr @bsgs_m, align 8, !tbaa !11
  %219 = load ptr, ptr %9, align 8, !tbaa !9
  call void @free(ptr noundef %219) #15
  %220 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %221 = udiv i64 %220, 256
  %222 = icmp ugt i64 %221, 10000
  br i1 %222, label %223, label %233

223:                                              ; preds = %212
  %224 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %225 = udiv i64 %224, 256
  store i64 %225, ptr %15, align 8, !tbaa !11
  %226 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %227 = urem i64 %226, 256
  %228 = icmp ne i64 %227, 0
  br i1 %228, label %229, label %232

229:                                              ; preds = %223
  %230 = load i64, ptr %15, align 8, !tbaa !11
  %231 = add i64 %230, 1
  store i64 %231, ptr %15, align 8, !tbaa !11
  br label %232

232:                                              ; preds = %229, %223
  br label %234

233:                                              ; preds = %212
  store i64 1000, ptr %15, align 8, !tbaa !11
  br label %234

234:                                              ; preds = %233, %232
  %235 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %236 = udiv i64 %235, 256
  %237 = icmp ugt i64 %236, 1000
  br i1 %237, label %238, label %248

238:                                              ; preds = %234
  %239 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %240 = udiv i64 %239, 256
  store i64 %240, ptr %16, align 8, !tbaa !11
  %241 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %242 = urem i64 %241, 256
  %243 = icmp ne i64 %242, 0
  br i1 %243, label %244, label %247

244:                                              ; preds = %238
  %245 = load i64, ptr %16, align 8, !tbaa !11
  %246 = add i64 %245, 1
  store i64 %246, ptr %16, align 8, !tbaa !11
  br label %247

247:                                              ; preds = %244, %238
  br label %249

248:                                              ; preds = %234
  store i64 1000, ptr %16, align 8, !tbaa !11
  br label %249

249:                                              ; preds = %248, %247
  %250 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %251 = udiv i64 %250, 256
  %252 = icmp ugt i64 %251, 1000
  br i1 %252, label %253, label %263

253:                                              ; preds = %249
  %254 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %255 = udiv i64 %254, 256
  store i64 %255, ptr %17, align 8, !tbaa !11
  %256 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %257 = urem i64 %256, 256
  %258 = icmp ne i64 %257, 0
  br i1 %258, label %259, label %262

259:                                              ; preds = %253
  %260 = load i64, ptr %17, align 8, !tbaa !11
  %261 = add i64 %260, 1
  store i64 %261, ptr %17, align 8, !tbaa !11
  br label %262

262:                                              ; preds = %259, %253
  br label %264

263:                                              ; preds = %249
  store i64 1000, ptr %17, align 8, !tbaa !11
  br label %264

264:                                              ; preds = %263, %262
  %265 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %266 = call i32 (ptr, ...) @printf(ptr noundef @.str.69, i64 noundef %265)
  %267 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 80) #19
  store ptr %267, ptr @bloom_bP, align 8, !tbaa !9
  %268 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %268, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.72, i32 noundef 551)
  %269 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 64) #19
  store ptr %269, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %270 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %270, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.73, i32 noundef 553)
  %271 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 40) #19
  store ptr %271, ptr @bloom_bP_mutex, align 8, !tbaa !9
  %272 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %272, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.74, i32 noundef 556)
  %273 = load ptr, ptr @stdout, align 8, !tbaa !9
  %274 = call i32 @fflush(ptr noundef %273)
  store i64 0, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %275

275:                                              ; preds = %304, %264
  %276 = load i32, ptr %22, align 4, !tbaa !5
  %277 = icmp slt i32 %276, 256
  br i1 %277, label %278, label %307

278:                                              ; preds = %275
  %279 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !9
  %280 = load i32, ptr %22, align 4, !tbaa !5
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds %union.pthread_mutex_t, ptr %279, i64 %281
  %283 = call i32 @pthread_mutex_init(ptr noundef %282, ptr noundef null) #15
  %284 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %285 = load i32, ptr %22, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds %struct.bloom, ptr %284, i64 %286
  %288 = load i64, ptr %15, align 8, !tbaa !11
  %289 = call i32 @bloom_init2(ptr noundef %287, i64 noundef %288, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %290 = icmp eq i32 %289, 1
  br i1 %290, label %291, label %295

291:                                              ; preds = %278
  %292 = load ptr, ptr @stderr, align 8, !tbaa !9
  %293 = load i32, ptr %22, align 4, !tbaa !5
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef @.str.75, i32 noundef %293) #15
  call void @exit(i32 noundef 0) #18
  unreachable

295:                                              ; preds = %278
  %296 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %297 = load i32, ptr %22, align 4, !tbaa !5
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds %struct.bloom, ptr %296, i64 %298
  %300 = getelementptr inbounds %struct.bloom, ptr %299, i32 0, i32 2
  %301 = load i64, ptr %300, align 16, !tbaa !16
  %302 = load i64, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  %303 = add i64 %302, %301
  store i64 %303, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  br label %304

304:                                              ; preds = %295
  %305 = load i32, ptr %22, align 4, !tbaa !5
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %22, align 4, !tbaa !5
  br label %275, !llvm.loop !20

307:                                              ; preds = %275
  %308 = load i64, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  %309 = uitofp i64 %308 to float
  %310 = fdiv float %309, 0x4130000000000000
  %311 = fpext float %310 to double
  %312 = call i32 (ptr, ...) @printf(ptr noundef @.str.76, double noundef %311)
  %313 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %314 = call i32 (ptr, ...) @printf(ptr noundef @.str.69, i64 noundef %313)
  %315 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 40) #19
  store ptr %315, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !9
  %316 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %316, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.77, i32 noundef 575)
  %317 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 80) #19
  store ptr %317, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %318 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %318, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.78, i32 noundef 577)
  %319 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 64) #19
  store ptr %319, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %320 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %320, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.79, i32 noundef 579)
  store i64 0, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %321

321:                                              ; preds = %350, %307
  %322 = load i32, ptr %22, align 4, !tbaa !5
  %323 = icmp slt i32 %322, 256
  br i1 %323, label %324, label %353

324:                                              ; preds = %321
  %325 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !9
  %326 = load i32, ptr %22, align 4, !tbaa !5
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds %union.pthread_mutex_t, ptr %325, i64 %327
  %329 = call i32 @pthread_mutex_init(ptr noundef %328, ptr noundef null) #15
  %330 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %331 = load i32, ptr %22, align 4, !tbaa !5
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds %struct.bloom, ptr %330, i64 %332
  %334 = load i64, ptr %16, align 8, !tbaa !11
  %335 = call i32 @bloom_init2(ptr noundef %333, i64 noundef %334, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %336 = icmp eq i32 %335, 1
  br i1 %336, label %337, label %341

337:                                              ; preds = %324
  %338 = load ptr, ptr @stderr, align 8, !tbaa !9
  %339 = load i32, ptr %22, align 4, !tbaa !5
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %338, ptr noundef @.str.75, i32 noundef %339) #15
  call void @exit(i32 noundef 0) #18
  unreachable

341:                                              ; preds = %324
  %342 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %343 = load i32, ptr %22, align 4, !tbaa !5
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds %struct.bloom, ptr %342, i64 %344
  %346 = getelementptr inbounds %struct.bloom, ptr %345, i32 0, i32 2
  %347 = load i64, ptr %346, align 16, !tbaa !16
  %348 = load i64, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  %349 = add i64 %348, %347
  store i64 %349, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  br label %350

350:                                              ; preds = %341
  %351 = load i32, ptr %22, align 4, !tbaa !5
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %22, align 4, !tbaa !5
  br label %321, !llvm.loop !21

353:                                              ; preds = %321
  %354 = load i64, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  %355 = uitofp i64 %354 to float
  %356 = fdiv float %355, 0x4130000000000000
  %357 = fpext float %356 to double
  %358 = call i32 (ptr, ...) @printf(ptr noundef @.str.76, double noundef %357)
  %359 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 40) #19
  store ptr %359, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !9
  %360 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %360, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.80, i32 noundef 593)
  %361 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 80) #19
  store ptr %361, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %362 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %362, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.81, i32 noundef 595)
  %363 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 64) #19
  store ptr %363, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %364 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %364, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.82, i32 noundef 597)
  %365 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %366 = call i32 (ptr, ...) @printf(ptr noundef @.str.69, i64 noundef %365)
  store i64 0, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %367

367:                                              ; preds = %396, %353
  %368 = load i32, ptr %22, align 4, !tbaa !5
  %369 = icmp slt i32 %368, 256
  br i1 %369, label %370, label %399

370:                                              ; preds = %367
  %371 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !9
  %372 = load i32, ptr %22, align 4, !tbaa !5
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds %union.pthread_mutex_t, ptr %371, i64 %373
  %375 = call i32 @pthread_mutex_init(ptr noundef %374, ptr noundef null) #15
  %376 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %377 = load i32, ptr %22, align 4, !tbaa !5
  %378 = sext i32 %377 to i64
  %379 = getelementptr inbounds %struct.bloom, ptr %376, i64 %378
  %380 = load i64, ptr %17, align 8, !tbaa !11
  %381 = call i32 @bloom_init2(ptr noundef %379, i64 noundef %380, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %382 = icmp eq i32 %381, 1
  br i1 %382, label %383, label %387

383:                                              ; preds = %370
  %384 = load ptr, ptr @stderr, align 8, !tbaa !9
  %385 = load i32, ptr %22, align 4, !tbaa !5
  %386 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %384, ptr noundef @.str.83, i32 noundef %385) #15
  call void @exit(i32 noundef 0) #18
  unreachable

387:                                              ; preds = %370
  %388 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %389 = load i32, ptr %22, align 4, !tbaa !5
  %390 = sext i32 %389 to i64
  %391 = getelementptr inbounds %struct.bloom, ptr %388, i64 %390
  %392 = getelementptr inbounds %struct.bloom, ptr %391, i32 0, i32 2
  %393 = load i64, ptr %392, align 16, !tbaa !16
  %394 = load i64, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  %395 = add i64 %394, %393
  store i64 %395, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  br label %396

396:                                              ; preds = %387
  %397 = load i32, ptr %22, align 4, !tbaa !5
  %398 = add nsw i32 %397, 1
  store i32 %398, ptr %22, align 4, !tbaa !5
  br label %367, !llvm.loop !22

399:                                              ; preds = %367
  %400 = load i64, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  %401 = uitofp i64 %400 to float
  %402 = fdiv float %401, 0x4130000000000000
  %403 = fpext float %402 to double
  %404 = call i32 (ptr, ...) @printf(ptr noundef @.str.76, double noundef %403)
  call void @llvm.lifetime.start.p0(i64 120, ptr %39) #15
  %405 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %39, ptr noundef nonnull align 8 dereferenceable(983240) %405, ptr noundef @BSGS_M)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP, ptr align 8 %39, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %39) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %39) #15
  call void @llvm.lifetime.start.p0(i64 120, ptr %40) #15
  %406 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %40, ptr noundef nonnull align 8 dereferenceable(983240) %406, ptr noundef @BSGS_M_double)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP_double, ptr align 8 %40, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %40) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %40) #15
  call void @llvm.lifetime.start.p0(i64 120, ptr %41) #15
  %407 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %41, ptr noundef nonnull align 8 dereferenceable(983240) %407, ptr noundef @BSGS_M2)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP2, ptr align 8 %41, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %41) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %41) #15
  call void @llvm.lifetime.start.p0(i64 120, ptr %42) #15
  %408 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %42, ptr noundef nonnull align 8 dereferenceable(983240) %408, ptr noundef @BSGS_M2_double)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP2_double, ptr align 8 %42, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %42) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %42) #15
  call void @llvm.lifetime.start.p0(i64 120, ptr %43) #15
  %409 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %43, ptr noundef nonnull align 8 dereferenceable(983240) %409, ptr noundef @BSGS_M3)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP3, ptr align 8 %43, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %43) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %43) #15
  call void @llvm.lifetime.start.p0(i64 120, ptr %44) #15
  %410 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %44, ptr noundef nonnull align 8 dereferenceable(983240) %410, ptr noundef @BSGS_M3_double)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP3_double, ptr align 8 %44, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %44) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %44) #15
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 32)
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 32)
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 512)
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 120, ptr %45) #15
  %411 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %45, ptr noundef nonnull align 8 dereferenceable(983240) %411, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP_double)
  call void @llvm.lifetime.start.p0(i64 120, ptr %46) #15
  invoke void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %46, ptr noundef nonnull align 8 dereferenceable(120) %45)
          to label %412 unwind label %421

412:                                              ; preds = %399
  %413 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 0) #15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %413, ptr align 8 %46, i64 120, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 120, ptr %47) #15
  %414 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %47, ptr noundef nonnull align 8 dereferenceable(983240) %414, ptr noundef nonnull align 8 dereferenceable(120) %46)
          to label %415 unwind label %425

415:                                              ; preds = %412
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %47, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %47) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %47) #15
  %416 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 1) #15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %416, ptr align 8 %46, i64 120, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #15
  store i32 2, ptr %48, align 4, !tbaa !5
  br label %417

417:                                              ; preds = %435, %415
  %418 = load i32, ptr %48, align 4, !tbaa !5
  %419 = icmp slt i32 %418, 512
  br i1 %419, label %429, label %420

420:                                              ; preds = %417
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #15
  br label %442

421:                                              ; preds = %399
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %35, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %36, align 4
  br label %2296

425:                                              ; preds = %412
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %35, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %47) #15
  br label %2295

429:                                              ; preds = %417
  call void @llvm.lifetime.start.p0(i64 120, ptr %49) #15
  %430 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind writable sret(%class.Point) align 8 %49, ptr noundef nonnull align 8 dereferenceable(983240) %430, ptr noundef nonnull align 8 dereferenceable(120) %46, ptr noundef nonnull align 8 dereferenceable(120) %45)
          to label %431 unwind label %438

431:                                              ; preds = %429
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %49, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %49) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %49) #15
  %432 = load i32, ptr %48, align 4, !tbaa !5
  %433 = sext i32 %432 to i64
  %434 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef %433) #15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %434, ptr align 8 %46, i64 120, i1 false), !tbaa.struct !23
  br label %435

435:                                              ; preds = %431
  %436 = load i32, ptr %48, align 4, !tbaa !5
  %437 = add nsw i32 %436, 1
  store i32 %437, ptr %48, align 4, !tbaa !5
  br label %417, !llvm.loop !24

438:                                              ; preds = %429
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %35, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %49) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #15
  br label %2295

442:                                              ; preds = %420
  call void @llvm.lifetime.start.p0(i64 120, ptr %50) #15
  %443 = load ptr, ptr @secp, align 8, !tbaa !9
  %444 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 511) #15
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %50, ptr noundef nonnull align 8 dereferenceable(983240) %443, ptr noundef nonnull align 8 dereferenceable(120) %444)
          to label %445 unwind label %475

445:                                              ; preds = %442
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @_2GSn, ptr align 8 %50, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %50) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %50) #15
  store i32 0, ptr %22, align 4, !tbaa !5
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2)
          to label %446 unwind label %479

446:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 120, ptr %51) #15
  %447 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %51, ptr noundef nonnull align 8 dereferenceable(983240) %447, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %448 unwind label %483

448:                                              ; preds = %446
  %449 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %449, ptr align 8 %51, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %51) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %51) #15
  %450 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #15
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %450)
          to label %451 unwind label %479

451:                                              ; preds = %448
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2_double)
          to label %452 unwind label %479

452:                                              ; preds = %451
  call void @llvm.lifetime.start.p0(i64 120, ptr %52) #15
  %453 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %52, ptr noundef nonnull align 8 dereferenceable(983240) %453, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %454 unwind label %487

454:                                              ; preds = %452
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @point_temp, ptr align 8 %52, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %52) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %52) #15
  store i32 1, ptr %22, align 4, !tbaa !5
  br label %455

455:                                              ; preds = %472, %454
  %456 = load i32, ptr %22, align 4, !tbaa !5
  %457 = icmp slt i32 %456, 32
  br i1 %457, label %458, label %495

458:                                              ; preds = %455
  call void @llvm.lifetime.start.p0(i64 120, ptr %53) #15
  %459 = load ptr, ptr @secp, align 8, !tbaa !9
  %460 = load i32, ptr %22, align 4, !tbaa !5
  %461 = sub nsw i32 %460, 1
  %462 = sext i32 %461 to i64
  %463 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %462) #15
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind writable sret(%class.Point) align 8 %53, ptr noundef nonnull align 8 dereferenceable(983240) %459, ptr noundef nonnull align 8 dereferenceable(120) %463, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %464 unwind label %491

464:                                              ; preds = %458
  %465 = load i32, ptr %22, align 4, !tbaa !5
  %466 = sext i32 %465 to i64
  %467 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %466) #15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %467, ptr align 8 %53, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %53) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %53) #15
  %468 = load i32, ptr %22, align 4, !tbaa !5
  %469 = sext i32 %468 to i64
  %470 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %469) #15
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %470)
          to label %471 unwind label %479

471:                                              ; preds = %464
  br label %472

472:                                              ; preds = %471
  %473 = load i32, ptr %22, align 4, !tbaa !5
  %474 = add nsw i32 %473, 1
  store i32 %474, ptr %22, align 4, !tbaa !5
  br label %455, !llvm.loop !25

475:                                              ; preds = %442
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %35, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %50) #15
  br label %2295

479:                                              ; preds = %2285, %2283, %2275, %2273, %2255, %2233, %2219, %2212, %2210, %2203, %2192, %2190, %2180, %2168, %2165, %2163, %2156, %2145, %2143, %2135, %2133, %2115, %2093, %2079, %2072, %2070, %2063, %2052, %2050, %2042, %2040, %2022, %2000, %1986, %1979, %1977, %1972, %1969, %1948, %1946, %1943, %1940, %1937, %1934, %1927, %1925, %1913, %1878, %1868, %1833, %1823, %1788, %1777, %1775, %1756, %1698, %1687, %1662, %1542, %1537, %1535, %1527, %1524, %1513, %1482, %1424, %1413, %1388, %1268, %1263, %1255, %1252, %1241, %1217, %1197, %1194, %1186, %1184, %1142, %1124, %1096, %1076, %1069, %1067, %1060, %1055, %1053, %1043, %1037, %1026, %1023, %1021, %1014, %1008, %1006, %999, %995, %993, %986, %984, %981, %973, %971, %929, %911, %883, %863, %856, %854, %847, %841, %839, %831, %829, %787, %739, %723, %716, %714, %707, %702, %700, %693, %690, %688, %680, %678, %636, %618, %590, %570, %563, %561, %554, %545, %537, %514, %501, %498, %495, %464, %451, %448, %445
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %35, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %36, align 4
  br label %2295

483:                                              ; preds = %446
  %484 = landingpad { ptr, i32 }
          cleanup
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %35, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %51) #15
  br label %2295

487:                                              ; preds = %452
  %488 = landingpad { ptr, i32 }
          cleanup
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %35, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %52) #15
  br label %2295

491:                                              ; preds = %458
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %35, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %53) #15
  br label %2295

495:                                              ; preds = %455
  store i32 0, ptr %22, align 4, !tbaa !5
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3)
          to label %496 unwind label %479

496:                                              ; preds = %495
  call void @llvm.lifetime.start.p0(i64 120, ptr %54) #15
  %497 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %54, ptr noundef nonnull align 8 dereferenceable(983240) %497, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %498 unwind label %525

498:                                              ; preds = %496
  %499 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %499, ptr align 8 %54, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %54) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %54) #15
  %500 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #15
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %500)
          to label %501 unwind label %479

501:                                              ; preds = %498
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3_double)
          to label %502 unwind label %479

502:                                              ; preds = %501
  call void @llvm.lifetime.start.p0(i64 120, ptr %55) #15
  %503 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %55, ptr noundef nonnull align 8 dereferenceable(983240) %503, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %504 unwind label %529

504:                                              ; preds = %502
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @point_temp, ptr align 8 %55, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %55) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %55) #15
  store i32 1, ptr %22, align 4, !tbaa !5
  br label %505

505:                                              ; preds = %522, %504
  %506 = load i32, ptr %22, align 4, !tbaa !5
  %507 = icmp slt i32 %506, 32
  br i1 %507, label %508, label %537

508:                                              ; preds = %505
  call void @llvm.lifetime.start.p0(i64 120, ptr %56) #15
  %509 = load ptr, ptr @secp, align 8, !tbaa !9
  %510 = load i32, ptr %22, align 4, !tbaa !5
  %511 = sub nsw i32 %510, 1
  %512 = sext i32 %511 to i64
  %513 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %512) #15
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind writable sret(%class.Point) align 8 %56, ptr noundef nonnull align 8 dereferenceable(983240) %509, ptr noundef nonnull align 8 dereferenceable(120) %513, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %514 unwind label %533

514:                                              ; preds = %508
  %515 = load i32, ptr %22, align 4, !tbaa !5
  %516 = sext i32 %515 to i64
  %517 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %516) #15
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %517, ptr align 8 %56, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %56) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %56) #15
  %518 = load i32, ptr %22, align 4, !tbaa !5
  %519 = sext i32 %518 to i64
  %520 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %519) #15
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %520)
          to label %521 unwind label %479

521:                                              ; preds = %514
  br label %522

522:                                              ; preds = %521
  %523 = load i32, ptr %22, align 4, !tbaa !5
  %524 = add nsw i32 %523, 1
  store i32 %524, ptr %22, align 4, !tbaa !5
  br label %505, !llvm.loop !26

525:                                              ; preds = %496
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %35, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %54) #15
  br label %2295

529:                                              ; preds = %502
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %35, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %55) #15
  br label %2295

533:                                              ; preds = %508
  %534 = landingpad { ptr, i32 }
          cleanup
  %535 = extractvalue { ptr, i32 } %534, 0
  store ptr %535, ptr %35, align 8
  %536 = extractvalue { ptr, i32 } %534, 1
  store i32 %536, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %56) #15
  br label %2295

537:                                              ; preds = %505
  %538 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %539 = mul i64 %538, 16
  store i64 %539, ptr @bytes, align 8, !tbaa !11
  %540 = load i64, ptr @bytes, align 8, !tbaa !11
  %541 = udiv i64 %540, 1048576
  %542 = uitofp i64 %541 to double
  %543 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %544 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.84, double noundef %542, i64 noundef %543)
          to label %545 unwind label %479

545:                                              ; preds = %537
  %546 = load i64, ptr @bytes, align 8, !tbaa !11
  %547 = call noalias ptr @malloc(i64 noundef %546) #20
  store ptr %547, ptr @bPtable, align 8, !tbaa !9
  %548 = load ptr, ptr @bPtable, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %548, ptr noundef @.str.70, ptr noundef @.str.85, ptr noundef @.str.86, i32 noundef 680)
          to label %549 unwind label %479

549:                                              ; preds = %545
  %550 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %551 = load i64, ptr @bytes, align 8, !tbaa !11
  call void @llvm.memset.p0.i64(ptr align 8 %550, i8 0, i64 %551, i1 false)
  %552 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !5
  %553 = icmp ne i32 %552, 0
  br i1 %553, label %554, label %1202

554:                                              ; preds = %549
  %555 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %556 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.87, i64 noundef %555) #15
  %557 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %558 unwind label %479

558:                                              ; preds = %554
  store ptr %557, ptr %6, align 8, !tbaa !9
  %559 = load ptr, ptr %6, align 8, !tbaa !9
  %560 = icmp ne ptr %559, null
  br i1 %560, label %561, label %707

561:                                              ; preds = %558
  %562 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.89, ptr noundef @buffer_bloom_file)
          to label %563 unwind label %479

563:                                              ; preds = %561
  %564 = load ptr, ptr @stdout, align 8, !tbaa !9
  %565 = invoke i32 @fflush(ptr noundef %564)
          to label %566 unwind label %479

566:                                              ; preds = %563
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %567

567:                                              ; preds = %685, %566
  %568 = load i32, ptr %22, align 4, !tbaa !5
  %569 = icmp slt i32 %568, 256
  br i1 %569, label %570, label %688

570:                                              ; preds = %567
  %571 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %572 = load i32, ptr %22, align 4, !tbaa !5
  %573 = sext i32 %572 to i64
  %574 = getelementptr inbounds %struct.bloom, ptr %571, i64 %573
  %575 = getelementptr inbounds %struct.bloom, ptr %574, i32 0, i32 9
  %576 = load ptr, ptr %575, align 16, !tbaa !27
  store ptr %576, ptr %10, align 8, !tbaa !9
  %577 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %578 = load i32, ptr %22, align 4, !tbaa !5
  %579 = sext i32 %578 to i64
  %580 = getelementptr inbounds %struct.bloom, ptr %577, i64 %579
  %581 = load ptr, ptr %6, align 8, !tbaa !9
  %582 = invoke i64 @fread(ptr noundef %580, i64 noundef 80, i64 noundef 1, ptr noundef %581)
          to label %583 unwind label %479

583:                                              ; preds = %570
  %584 = trunc i64 %582 to i32
  store i32 %584, ptr %19, align 4, !tbaa !5
  %585 = load i32, ptr %19, align 4, !tbaa !5
  %586 = icmp ne i32 %585, 1
  br i1 %586, label %587, label %590

587:                                              ; preds = %583
  %588 = load ptr, ptr @stderr, align 8, !tbaa !9
  %589 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %588, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

590:                                              ; preds = %583
  %591 = load ptr, ptr %10, align 8, !tbaa !9
  %592 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %593 = load i32, ptr %22, align 4, !tbaa !5
  %594 = sext i32 %593 to i64
  %595 = getelementptr inbounds %struct.bloom, ptr %592, i64 %594
  %596 = getelementptr inbounds %struct.bloom, ptr %595, i32 0, i32 9
  store ptr %591, ptr %596, align 16, !tbaa !27
  %597 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %598 = load i32, ptr %22, align 4, !tbaa !5
  %599 = sext i32 %598 to i64
  %600 = getelementptr inbounds %struct.bloom, ptr %597, i64 %599
  %601 = getelementptr inbounds %struct.bloom, ptr %600, i32 0, i32 9
  %602 = load ptr, ptr %601, align 16, !tbaa !27
  %603 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %604 = load i32, ptr %22, align 4, !tbaa !5
  %605 = sext i32 %604 to i64
  %606 = getelementptr inbounds %struct.bloom, ptr %603, i64 %605
  %607 = getelementptr inbounds %struct.bloom, ptr %606, i32 0, i32 2
  %608 = load i64, ptr %607, align 16, !tbaa !16
  %609 = load ptr, ptr %6, align 8, !tbaa !9
  %610 = invoke i64 @fread(ptr noundef %602, i64 noundef %608, i64 noundef 1, ptr noundef %609)
          to label %611 unwind label %479

611:                                              ; preds = %590
  %612 = trunc i64 %610 to i32
  store i32 %612, ptr %19, align 4, !tbaa !5
  %613 = load i32, ptr %19, align 4, !tbaa !5
  %614 = icmp ne i32 %613, 1
  br i1 %614, label %615, label %618

615:                                              ; preds = %611
  %616 = load ptr, ptr @stderr, align 8, !tbaa !9
  %617 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %616, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

618:                                              ; preds = %611
  %619 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %620 = load i32, ptr %22, align 4, !tbaa !5
  %621 = sext i32 %620 to i64
  %622 = getelementptr inbounds %struct.checksumsha256, ptr %619, i64 %621
  %623 = load ptr, ptr %6, align 8, !tbaa !9
  %624 = invoke i64 @fread(ptr noundef %622, i64 noundef 64, i64 noundef 1, ptr noundef %623)
          to label %625 unwind label %479

625:                                              ; preds = %618
  %626 = trunc i64 %624 to i32
  store i32 %626, ptr %19, align 4, !tbaa !5
  %627 = load i32, ptr %19, align 4, !tbaa !5
  %628 = icmp ne i32 %627, 1
  br i1 %628, label %629, label %632

629:                                              ; preds = %625
  %630 = load ptr, ptr @stderr, align 8, !tbaa !9
  %631 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %630, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

632:                                              ; preds = %625
  %633 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %633, i8 0, i64 32, i1 false)
  %634 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %635 = icmp eq i32 %634, 0
  br i1 %635, label %636, label %674

636:                                              ; preds = %632
  %637 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %638 = load i32, ptr %22, align 4, !tbaa !5
  %639 = sext i32 %638 to i64
  %640 = getelementptr inbounds %struct.bloom, ptr %637, i64 %639
  %641 = getelementptr inbounds %struct.bloom, ptr %640, i32 0, i32 9
  %642 = load ptr, ptr %641, align 16, !tbaa !27
  %643 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %644 = load i32, ptr %22, align 4, !tbaa !5
  %645 = sext i32 %644 to i64
  %646 = getelementptr inbounds %struct.bloom, ptr %643, i64 %645
  %647 = getelementptr inbounds %struct.bloom, ptr %646, i32 0, i32 2
  %648 = load i64, ptr %647, align 16, !tbaa !16
  %649 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %642, i64 noundef %648, ptr noundef %649)
          to label %650 unwind label %479

650:                                              ; preds = %636
  %651 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %652 = load i32, ptr %22, align 4, !tbaa !5
  %653 = sext i32 %652 to i64
  %654 = getelementptr inbounds %struct.checksumsha256, ptr %651, i64 %653
  %655 = getelementptr inbounds %struct.checksumsha256, ptr %654, i32 0, i32 0
  %656 = getelementptr inbounds [32 x i8], ptr %655, i64 0, i64 0
  %657 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %658 = call i32 @memcmp(ptr noundef %656, ptr noundef %657, i64 noundef 32) #21
  %659 = icmp ne i32 %658, 0
  br i1 %659, label %670, label %660

660:                                              ; preds = %650
  %661 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %662 = load i32, ptr %22, align 4, !tbaa !5
  %663 = sext i32 %662 to i64
  %664 = getelementptr inbounds %struct.checksumsha256, ptr %661, i64 %663
  %665 = getelementptr inbounds %struct.checksumsha256, ptr %664, i32 0, i32 1
  %666 = getelementptr inbounds [32 x i8], ptr %665, i64 0, i64 0
  %667 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %668 = call i32 @memcmp(ptr noundef %666, ptr noundef %667, i64 noundef 32) #21
  %669 = icmp ne i32 %668, 0
  br i1 %669, label %670, label %673

670:                                              ; preds = %660, %650
  %671 = load ptr, ptr @stderr, align 8, !tbaa !9
  %672 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %671, ptr noundef @.str.91, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

673:                                              ; preds = %660
  br label %674

674:                                              ; preds = %673, %632
  %675 = load i32, ptr %22, align 4, !tbaa !5
  %676 = srem i32 %675, 64
  %677 = icmp eq i32 %676, 0
  br i1 %677, label %678, label %684

678:                                              ; preds = %674
  %679 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %680 unwind label %479

680:                                              ; preds = %678
  %681 = load ptr, ptr @stdout, align 8, !tbaa !9
  %682 = invoke i32 @fflush(ptr noundef %681)
          to label %683 unwind label %479

683:                                              ; preds = %680
  br label %684

684:                                              ; preds = %683, %674
  br label %685

685:                                              ; preds = %684
  %686 = load i32, ptr %22, align 4, !tbaa !5
  %687 = add nsw i32 %686, 1
  store i32 %687, ptr %22, align 4, !tbaa !5
  br label %567, !llvm.loop !28

688:                                              ; preds = %567
  %689 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.93)
          to label %690 unwind label %479

690:                                              ; preds = %688
  %691 = load ptr, ptr %6, align 8, !tbaa !9
  %692 = invoke i32 @fclose(ptr noundef %691)
          to label %693 unwind label %479

693:                                              ; preds = %690
  call void @llvm.memset.p0.i64(ptr align 16 @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %694 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %695 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.94, i64 noundef %694) #15
  %696 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %697 unwind label %479

697:                                              ; preds = %693
  store ptr %696, ptr %6, align 8, !tbaa !9
  %698 = load ptr, ptr %6, align 8, !tbaa !9
  %699 = icmp ne ptr %698, null
  br i1 %699, label %700, label %706

700:                                              ; preds = %697
  %701 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.95, ptr noundef @buffer_bloom_file)
          to label %702 unwind label %479

702:                                              ; preds = %700
  %703 = load ptr, ptr %6, align 8, !tbaa !9
  %704 = invoke i32 @fclose(ptr noundef %703)
          to label %705 unwind label %479

705:                                              ; preds = %702
  br label %706

706:                                              ; preds = %705, %697
  store i32 1, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  br label %847

707:                                              ; preds = %558
  %708 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %709 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.94, i64 noundef %708) #15
  %710 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %711 unwind label %479

711:                                              ; preds = %707
  store ptr %710, ptr %6, align 8, !tbaa !9
  %712 = load ptr, ptr %6, align 8, !tbaa !9
  %713 = icmp ne ptr %712, null
  br i1 %713, label %714, label %845

714:                                              ; preds = %711
  %715 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.89, ptr noundef @buffer_bloom_file)
          to label %716 unwind label %479

716:                                              ; preds = %714
  %717 = load ptr, ptr @stdout, align 8, !tbaa !9
  %718 = invoke i32 @fflush(ptr noundef %717)
          to label %719 unwind label %479

719:                                              ; preds = %716
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %720

720:                                              ; preds = %836, %719
  %721 = load i32, ptr %22, align 4, !tbaa !5
  %722 = icmp slt i32 %721, 256
  br i1 %722, label %723, label %839

723:                                              ; preds = %720
  %724 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %725 = load i32, ptr %22, align 4, !tbaa !5
  %726 = sext i32 %725 to i64
  %727 = getelementptr inbounds %struct.bloom, ptr %724, i64 %726
  %728 = getelementptr inbounds %struct.bloom, ptr %727, i32 0, i32 9
  %729 = load ptr, ptr %728, align 16, !tbaa !27
  store ptr %729, ptr %10, align 8, !tbaa !9
  %730 = load ptr, ptr %6, align 8, !tbaa !9
  %731 = invoke i64 @fread(ptr noundef @oldbloom_bP, i64 noundef 176, i64 noundef 1, ptr noundef %730)
          to label %732 unwind label %479

732:                                              ; preds = %723
  %733 = trunc i64 %731 to i32
  store i32 %733, ptr %19, align 4, !tbaa !5
  %734 = load i32, ptr %19, align 4, !tbaa !5
  %735 = icmp ne i32 %734, 1
  br i1 %735, label %736, label %739

736:                                              ; preds = %732
  %737 = load ptr, ptr @stderr, align 8, !tbaa !9
  %738 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %737, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

739:                                              ; preds = %732
  %740 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %741 = load i32, ptr %22, align 4, !tbaa !5
  %742 = sext i32 %741 to i64
  %743 = getelementptr inbounds %struct.bloom, ptr %740, i64 %742
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %743, ptr align 16 @oldbloom_bP, i64 80, i1 false)
  %744 = load ptr, ptr %10, align 8, !tbaa !9
  %745 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %746 = load i32, ptr %22, align 4, !tbaa !5
  %747 = sext i32 %746 to i64
  %748 = getelementptr inbounds %struct.bloom, ptr %745, i64 %747
  %749 = getelementptr inbounds %struct.bloom, ptr %748, i32 0, i32 9
  store ptr %744, ptr %749, align 16, !tbaa !27
  %750 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %751 = load i32, ptr %22, align 4, !tbaa !5
  %752 = sext i32 %751 to i64
  %753 = getelementptr inbounds %struct.bloom, ptr %750, i64 %752
  %754 = getelementptr inbounds %struct.bloom, ptr %753, i32 0, i32 9
  %755 = load ptr, ptr %754, align 16, !tbaa !27
  %756 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %757 = load i32, ptr %22, align 4, !tbaa !5
  %758 = sext i32 %757 to i64
  %759 = getelementptr inbounds %struct.bloom, ptr %756, i64 %758
  %760 = getelementptr inbounds %struct.bloom, ptr %759, i32 0, i32 2
  %761 = load i64, ptr %760, align 16, !tbaa !16
  %762 = load ptr, ptr %6, align 8, !tbaa !9
  %763 = invoke i64 @fread(ptr noundef %755, i64 noundef %761, i64 noundef 1, ptr noundef %762)
          to label %764 unwind label %479

764:                                              ; preds = %739
  %765 = trunc i64 %763 to i32
  store i32 %765, ptr %19, align 4, !tbaa !5
  %766 = load i32, ptr %19, align 4, !tbaa !5
  %767 = icmp ne i32 %766, 1
  br i1 %767, label %768, label %771

768:                                              ; preds = %764
  %769 = load ptr, ptr @stderr, align 8, !tbaa !9
  %770 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %769, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

771:                                              ; preds = %764
  %772 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %773 = load i32, ptr %22, align 4, !tbaa !5
  %774 = sext i32 %773 to i64
  %775 = getelementptr inbounds %struct.checksumsha256, ptr %772, i64 %774
  %776 = getelementptr inbounds %struct.checksumsha256, ptr %775, i32 0, i32 0
  %777 = getelementptr inbounds [32 x i8], ptr %776, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %777, ptr align 16 getelementptr inbounds (%struct.oldbloom, ptr @oldbloom_bP, i32 0, i32 9), i64 32, i1 false)
  %778 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %779 = load i32, ptr %22, align 4, !tbaa !5
  %780 = sext i32 %779 to i64
  %781 = getelementptr inbounds %struct.checksumsha256, ptr %778, i64 %780
  %782 = getelementptr inbounds %struct.checksumsha256, ptr %781, i32 0, i32 1
  %783 = getelementptr inbounds [32 x i8], ptr %782, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %783, ptr align 16 getelementptr inbounds (%struct.oldbloom, ptr @oldbloom_bP, i32 0, i32 10), i64 32, i1 false)
  %784 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %784, i8 0, i64 32, i1 false)
  %785 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %786 = icmp eq i32 %785, 0
  br i1 %786, label %787, label %825

787:                                              ; preds = %771
  %788 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %789 = load i32, ptr %22, align 4, !tbaa !5
  %790 = sext i32 %789 to i64
  %791 = getelementptr inbounds %struct.bloom, ptr %788, i64 %790
  %792 = getelementptr inbounds %struct.bloom, ptr %791, i32 0, i32 9
  %793 = load ptr, ptr %792, align 16, !tbaa !27
  %794 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %795 = load i32, ptr %22, align 4, !tbaa !5
  %796 = sext i32 %795 to i64
  %797 = getelementptr inbounds %struct.bloom, ptr %794, i64 %796
  %798 = getelementptr inbounds %struct.bloom, ptr %797, i32 0, i32 2
  %799 = load i64, ptr %798, align 16, !tbaa !16
  %800 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %793, i64 noundef %799, ptr noundef %800)
          to label %801 unwind label %479

801:                                              ; preds = %787
  %802 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %803 = load i32, ptr %22, align 4, !tbaa !5
  %804 = sext i32 %803 to i64
  %805 = getelementptr inbounds %struct.checksumsha256, ptr %802, i64 %804
  %806 = getelementptr inbounds %struct.checksumsha256, ptr %805, i32 0, i32 0
  %807 = getelementptr inbounds [32 x i8], ptr %806, i64 0, i64 0
  %808 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %809 = call i32 @memcmp(ptr noundef %807, ptr noundef %808, i64 noundef 32) #21
  %810 = icmp ne i32 %809, 0
  br i1 %810, label %821, label %811

811:                                              ; preds = %801
  %812 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %813 = load i32, ptr %22, align 4, !tbaa !5
  %814 = sext i32 %813 to i64
  %815 = getelementptr inbounds %struct.checksumsha256, ptr %812, i64 %814
  %816 = getelementptr inbounds %struct.checksumsha256, ptr %815, i32 0, i32 1
  %817 = getelementptr inbounds [32 x i8], ptr %816, i64 0, i64 0
  %818 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %819 = call i32 @memcmp(ptr noundef %817, ptr noundef %818, i64 noundef 32) #21
  %820 = icmp ne i32 %819, 0
  br i1 %820, label %821, label %824

821:                                              ; preds = %811, %801
  %822 = load ptr, ptr @stderr, align 8, !tbaa !9
  %823 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %822, ptr noundef @.str.91, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

824:                                              ; preds = %811
  br label %825

825:                                              ; preds = %824, %771
  %826 = load i32, ptr %22, align 4, !tbaa !5
  %827 = srem i32 %826, 32
  %828 = icmp eq i32 %827, 0
  br i1 %828, label %829, label %835

829:                                              ; preds = %825
  %830 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %831 unwind label %479

831:                                              ; preds = %829
  %832 = load ptr, ptr @stdout, align 8, !tbaa !9
  %833 = invoke i32 @fflush(ptr noundef %832)
          to label %834 unwind label %479

834:                                              ; preds = %831
  br label %835

835:                                              ; preds = %834, %825
  br label %836

836:                                              ; preds = %835
  %837 = load i32, ptr %22, align 4, !tbaa !5
  %838 = add nsw i32 %837, 1
  store i32 %838, ptr %22, align 4, !tbaa !5
  br label %720, !llvm.loop !29

839:                                              ; preds = %720
  %840 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.93)
          to label %841 unwind label %479

841:                                              ; preds = %839
  %842 = load ptr, ptr %6, align 8, !tbaa !9
  %843 = invoke i32 @fclose(ptr noundef %842)
          to label %844 unwind label %479

844:                                              ; preds = %841
  store i32 1, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  store i32 1, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  br label %846

845:                                              ; preds = %711
  store i32 0, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  br label %846

846:                                              ; preds = %845, %844
  br label %847

847:                                              ; preds = %846, %706
  %848 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %849 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.96, i64 noundef %848) #15
  %850 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %851 unwind label %479

851:                                              ; preds = %847
  store ptr %850, ptr %7, align 8, !tbaa !9
  %852 = load ptr, ptr %7, align 8, !tbaa !9
  %853 = icmp ne ptr %852, null
  br i1 %853, label %854, label %1013

854:                                              ; preds = %851
  %855 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.89, ptr noundef @buffer_bloom_file)
          to label %856 unwind label %479

856:                                              ; preds = %854
  %857 = load ptr, ptr @stdout, align 8, !tbaa !9
  %858 = invoke i32 @fflush(ptr noundef %857)
          to label %859 unwind label %479

859:                                              ; preds = %856
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %860

860:                                              ; preds = %978, %859
  %861 = load i32, ptr %22, align 4, !tbaa !5
  %862 = icmp slt i32 %861, 256
  br i1 %862, label %863, label %981

863:                                              ; preds = %860
  %864 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %865 = load i32, ptr %22, align 4, !tbaa !5
  %866 = sext i32 %865 to i64
  %867 = getelementptr inbounds %struct.bloom, ptr %864, i64 %866
  %868 = getelementptr inbounds %struct.bloom, ptr %867, i32 0, i32 9
  %869 = load ptr, ptr %868, align 16, !tbaa !27
  store ptr %869, ptr %10, align 8, !tbaa !9
  %870 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %871 = load i32, ptr %22, align 4, !tbaa !5
  %872 = sext i32 %871 to i64
  %873 = getelementptr inbounds %struct.bloom, ptr %870, i64 %872
  %874 = load ptr, ptr %7, align 8, !tbaa !9
  %875 = invoke i64 @fread(ptr noundef %873, i64 noundef 80, i64 noundef 1, ptr noundef %874)
          to label %876 unwind label %479

876:                                              ; preds = %863
  %877 = trunc i64 %875 to i32
  store i32 %877, ptr %19, align 4, !tbaa !5
  %878 = load i32, ptr %19, align 4, !tbaa !5
  %879 = icmp ne i32 %878, 1
  br i1 %879, label %880, label %883

880:                                              ; preds = %876
  %881 = load ptr, ptr @stderr, align 8, !tbaa !9
  %882 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %881, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

883:                                              ; preds = %876
  %884 = load ptr, ptr %10, align 8, !tbaa !9
  %885 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %886 = load i32, ptr %22, align 4, !tbaa !5
  %887 = sext i32 %886 to i64
  %888 = getelementptr inbounds %struct.bloom, ptr %885, i64 %887
  %889 = getelementptr inbounds %struct.bloom, ptr %888, i32 0, i32 9
  store ptr %884, ptr %889, align 16, !tbaa !27
  %890 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %891 = load i32, ptr %22, align 4, !tbaa !5
  %892 = sext i32 %891 to i64
  %893 = getelementptr inbounds %struct.bloom, ptr %890, i64 %892
  %894 = getelementptr inbounds %struct.bloom, ptr %893, i32 0, i32 9
  %895 = load ptr, ptr %894, align 16, !tbaa !27
  %896 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %897 = load i32, ptr %22, align 4, !tbaa !5
  %898 = sext i32 %897 to i64
  %899 = getelementptr inbounds %struct.bloom, ptr %896, i64 %898
  %900 = getelementptr inbounds %struct.bloom, ptr %899, i32 0, i32 2
  %901 = load i64, ptr %900, align 16, !tbaa !16
  %902 = load ptr, ptr %7, align 8, !tbaa !9
  %903 = invoke i64 @fread(ptr noundef %895, i64 noundef %901, i64 noundef 1, ptr noundef %902)
          to label %904 unwind label %479

904:                                              ; preds = %883
  %905 = trunc i64 %903 to i32
  store i32 %905, ptr %19, align 4, !tbaa !5
  %906 = load i32, ptr %19, align 4, !tbaa !5
  %907 = icmp ne i32 %906, 1
  br i1 %907, label %908, label %911

908:                                              ; preds = %904
  %909 = load ptr, ptr @stderr, align 8, !tbaa !9
  %910 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %909, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

911:                                              ; preds = %904
  %912 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %913 = load i32, ptr %22, align 4, !tbaa !5
  %914 = sext i32 %913 to i64
  %915 = getelementptr inbounds %struct.checksumsha256, ptr %912, i64 %914
  %916 = load ptr, ptr %7, align 8, !tbaa !9
  %917 = invoke i64 @fread(ptr noundef %915, i64 noundef 64, i64 noundef 1, ptr noundef %916)
          to label %918 unwind label %479

918:                                              ; preds = %911
  %919 = trunc i64 %917 to i32
  store i32 %919, ptr %19, align 4, !tbaa !5
  %920 = load i32, ptr %19, align 4, !tbaa !5
  %921 = icmp ne i32 %920, 1
  br i1 %921, label %922, label %925

922:                                              ; preds = %918
  %923 = load ptr, ptr @stderr, align 8, !tbaa !9
  %924 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %923, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

925:                                              ; preds = %918
  %926 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %926, i8 0, i64 32, i1 false)
  %927 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %928 = icmp eq i32 %927, 0
  br i1 %928, label %929, label %967

929:                                              ; preds = %925
  %930 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %931 = load i32, ptr %22, align 4, !tbaa !5
  %932 = sext i32 %931 to i64
  %933 = getelementptr inbounds %struct.bloom, ptr %930, i64 %932
  %934 = getelementptr inbounds %struct.bloom, ptr %933, i32 0, i32 9
  %935 = load ptr, ptr %934, align 16, !tbaa !27
  %936 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %937 = load i32, ptr %22, align 4, !tbaa !5
  %938 = sext i32 %937 to i64
  %939 = getelementptr inbounds %struct.bloom, ptr %936, i64 %938
  %940 = getelementptr inbounds %struct.bloom, ptr %939, i32 0, i32 2
  %941 = load i64, ptr %940, align 16, !tbaa !16
  %942 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %935, i64 noundef %941, ptr noundef %942)
          to label %943 unwind label %479

943:                                              ; preds = %929
  %944 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %945 = load i32, ptr %22, align 4, !tbaa !5
  %946 = sext i32 %945 to i64
  %947 = getelementptr inbounds %struct.checksumsha256, ptr %944, i64 %946
  %948 = getelementptr inbounds %struct.checksumsha256, ptr %947, i32 0, i32 0
  %949 = getelementptr inbounds [32 x i8], ptr %948, i64 0, i64 0
  %950 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %951 = call i32 @memcmp(ptr noundef %949, ptr noundef %950, i64 noundef 32) #21
  %952 = icmp ne i32 %951, 0
  br i1 %952, label %963, label %953

953:                                              ; preds = %943
  %954 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %955 = load i32, ptr %22, align 4, !tbaa !5
  %956 = sext i32 %955 to i64
  %957 = getelementptr inbounds %struct.checksumsha256, ptr %954, i64 %956
  %958 = getelementptr inbounds %struct.checksumsha256, ptr %957, i32 0, i32 1
  %959 = getelementptr inbounds [32 x i8], ptr %958, i64 0, i64 0
  %960 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %961 = call i32 @memcmp(ptr noundef %959, ptr noundef %960, i64 noundef 32) #21
  %962 = icmp ne i32 %961, 0
  br i1 %962, label %963, label %966

963:                                              ; preds = %953, %943
  %964 = load ptr, ptr @stderr, align 8, !tbaa !9
  %965 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %964, ptr noundef @.str.91, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

966:                                              ; preds = %953
  br label %967

967:                                              ; preds = %966, %925
  %968 = load i32, ptr %22, align 4, !tbaa !5
  %969 = srem i32 %968, 64
  %970 = icmp eq i32 %969, 0
  br i1 %970, label %971, label %977

971:                                              ; preds = %967
  %972 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %973 unwind label %479

973:                                              ; preds = %971
  %974 = load ptr, ptr @stdout, align 8, !tbaa !9
  %975 = invoke i32 @fflush(ptr noundef %974)
          to label %976 unwind label %479

976:                                              ; preds = %973
  br label %977

977:                                              ; preds = %976, %967
  br label %978

978:                                              ; preds = %977
  %979 = load i32, ptr %22, align 4, !tbaa !5
  %980 = add nsw i32 %979, 1
  store i32 %980, ptr %22, align 4, !tbaa !5
  br label %860, !llvm.loop !30

981:                                              ; preds = %860
  %982 = load ptr, ptr %7, align 8, !tbaa !9
  %983 = invoke i32 @fclose(ptr noundef %982)
          to label %984 unwind label %479

984:                                              ; preds = %981
  %985 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.93)
          to label %986 unwind label %479

986:                                              ; preds = %984
  call void @llvm.memset.p0.i64(ptr align 16 @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %987 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %988 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.97, i64 noundef %987) #15
  %989 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %990 unwind label %479

990:                                              ; preds = %986
  store ptr %989, ptr %7, align 8, !tbaa !9
  %991 = load ptr, ptr %7, align 8, !tbaa !9
  %992 = icmp ne ptr %991, null
  br i1 %992, label %993, label %999

993:                                              ; preds = %990
  %994 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.95, ptr noundef @buffer_bloom_file)
          to label %995 unwind label %479

995:                                              ; preds = %993
  %996 = load ptr, ptr %7, align 8, !tbaa !9
  %997 = invoke i32 @fclose(ptr noundef %996)
          to label %998 unwind label %479

998:                                              ; preds = %995
  br label %999

999:                                              ; preds = %998, %990
  call void @llvm.memset.p0.i64(ptr align 16 @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %1000 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1001 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.98, i64 noundef %1000) #15
  %1002 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %1003 unwind label %479

1003:                                             ; preds = %999
  store ptr %1002, ptr %7, align 8, !tbaa !9
  %1004 = load ptr, ptr %7, align 8, !tbaa !9
  %1005 = icmp ne ptr %1004, null
  br i1 %1005, label %1006, label %1012

1006:                                             ; preds = %1003
  %1007 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.95, ptr noundef @buffer_bloom_file)
          to label %1008 unwind label %479

1008:                                             ; preds = %1006
  %1009 = load ptr, ptr %7, align 8, !tbaa !9
  %1010 = invoke i32 @fclose(ptr noundef %1009)
          to label %1011 unwind label %479

1011:                                             ; preds = %1008
  br label %1012

1012:                                             ; preds = %1011, %1003
  store i32 1, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  br label %1014

1013:                                             ; preds = %851
  store i32 0, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  br label %1014

1014:                                             ; preds = %1013, %1012
  %1015 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1016 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.99, i64 noundef %1015) #15
  %1017 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %1018 unwind label %479

1018:                                             ; preds = %1014
  store ptr %1017, ptr %8, align 8, !tbaa !9
  %1019 = load ptr, ptr %8, align 8, !tbaa !9
  %1020 = icmp ne ptr %1019, null
  br i1 %1020, label %1021, label %1059

1021:                                             ; preds = %1018
  %1022 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.100, ptr noundef @buffer_bloom_file)
          to label %1023 unwind label %479

1023:                                             ; preds = %1021
  %1024 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1025 = invoke i32 @fflush(ptr noundef %1024)
          to label %1026 unwind label %479

1026:                                             ; preds = %1023
  %1027 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %1028 = load i64, ptr @bytes, align 8, !tbaa !11
  %1029 = load ptr, ptr %8, align 8, !tbaa !9
  %1030 = invoke i64 @fread(ptr noundef %1027, i64 noundef %1028, i64 noundef 1, ptr noundef %1029)
          to label %1031 unwind label %479

1031:                                             ; preds = %1026
  store i64 %1030, ptr %34, align 8, !tbaa !11
  %1032 = load i64, ptr %34, align 8, !tbaa !11
  %1033 = icmp ne i64 %1032, 1
  br i1 %1033, label %1034, label %1037

1034:                                             ; preds = %1031
  %1035 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1036 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1035, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

1037:                                             ; preds = %1031
  %1038 = load ptr, ptr %8, align 8, !tbaa !9
  %1039 = invoke i64 @fread(ptr noundef @checksum, i64 noundef 32, i64 noundef 1, ptr noundef %1038)
          to label %1040 unwind label %479

1040:                                             ; preds = %1037
  store i64 %1039, ptr %34, align 8, !tbaa !11
  %1041 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %1042 = icmp eq i32 %1041, 0
  br i1 %1042, label %1043, label %1053

1043:                                             ; preds = %1040
  %1044 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %1045 = load i64, ptr @bytes, align 8, !tbaa !11
  invoke void @_Z6sha256PhmS_(ptr noundef %1044, i64 noundef %1045, ptr noundef @checksum_backup)
          to label %1046 unwind label %479

1046:                                             ; preds = %1043
  %1047 = call i32 @memcmp(ptr noundef @checksum, ptr noundef @checksum_backup, i64 noundef 32) #21
  %1048 = icmp ne i32 %1047, 0
  br i1 %1048, label %1049, label %1052

1049:                                             ; preds = %1046
  %1050 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1051 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1050, ptr noundef @.str.91, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

1052:                                             ; preds = %1046
  br label %1053

1053:                                             ; preds = %1052, %1040
  %1054 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.101)
          to label %1055 unwind label %479

1055:                                             ; preds = %1053
  %1056 = load ptr, ptr %8, align 8, !tbaa !9
  %1057 = invoke i32 @fclose(ptr noundef %1056)
          to label %1058 unwind label %479

1058:                                             ; preds = %1055
  store i32 1, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  br label %1060

1059:                                             ; preds = %1018
  store i32 0, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  br label %1060

1060:                                             ; preds = %1059, %1058
  %1061 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1062 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.102, i64 noundef %1061) #15
  %1063 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.88)
          to label %1064 unwind label %479

1064:                                             ; preds = %1060
  store ptr %1063, ptr %7, align 8, !tbaa !9
  %1065 = load ptr, ptr %7, align 8, !tbaa !9
  %1066 = icmp ne ptr %1065, null
  br i1 %1066, label %1067, label %1200

1067:                                             ; preds = %1064
  %1068 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.89, ptr noundef @buffer_bloom_file)
          to label %1069 unwind label %479

1069:                                             ; preds = %1067
  %1070 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1071 = invoke i32 @fflush(ptr noundef %1070)
          to label %1072 unwind label %479

1072:                                             ; preds = %1069
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1073

1073:                                             ; preds = %1191, %1072
  %1074 = load i32, ptr %22, align 4, !tbaa !5
  %1075 = icmp slt i32 %1074, 256
  br i1 %1075, label %1076, label %1194

1076:                                             ; preds = %1073
  %1077 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1078 = load i32, ptr %22, align 4, !tbaa !5
  %1079 = sext i32 %1078 to i64
  %1080 = getelementptr inbounds %struct.bloom, ptr %1077, i64 %1079
  %1081 = getelementptr inbounds %struct.bloom, ptr %1080, i32 0, i32 9
  %1082 = load ptr, ptr %1081, align 16, !tbaa !27
  store ptr %1082, ptr %10, align 8, !tbaa !9
  %1083 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1084 = load i32, ptr %22, align 4, !tbaa !5
  %1085 = sext i32 %1084 to i64
  %1086 = getelementptr inbounds %struct.bloom, ptr %1083, i64 %1085
  %1087 = load ptr, ptr %7, align 8, !tbaa !9
  %1088 = invoke i64 @fread(ptr noundef %1086, i64 noundef 80, i64 noundef 1, ptr noundef %1087)
          to label %1089 unwind label %479

1089:                                             ; preds = %1076
  %1090 = trunc i64 %1088 to i32
  store i32 %1090, ptr %19, align 4, !tbaa !5
  %1091 = load i32, ptr %19, align 4, !tbaa !5
  %1092 = icmp ne i32 %1091, 1
  br i1 %1092, label %1093, label %1096

1093:                                             ; preds = %1089
  %1094 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1095 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1094, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

1096:                                             ; preds = %1089
  %1097 = load ptr, ptr %10, align 8, !tbaa !9
  %1098 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1099 = load i32, ptr %22, align 4, !tbaa !5
  %1100 = sext i32 %1099 to i64
  %1101 = getelementptr inbounds %struct.bloom, ptr %1098, i64 %1100
  %1102 = getelementptr inbounds %struct.bloom, ptr %1101, i32 0, i32 9
  store ptr %1097, ptr %1102, align 16, !tbaa !27
  %1103 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1104 = load i32, ptr %22, align 4, !tbaa !5
  %1105 = sext i32 %1104 to i64
  %1106 = getelementptr inbounds %struct.bloom, ptr %1103, i64 %1105
  %1107 = getelementptr inbounds %struct.bloom, ptr %1106, i32 0, i32 9
  %1108 = load ptr, ptr %1107, align 16, !tbaa !27
  %1109 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1110 = load i32, ptr %22, align 4, !tbaa !5
  %1111 = sext i32 %1110 to i64
  %1112 = getelementptr inbounds %struct.bloom, ptr %1109, i64 %1111
  %1113 = getelementptr inbounds %struct.bloom, ptr %1112, i32 0, i32 2
  %1114 = load i64, ptr %1113, align 16, !tbaa !16
  %1115 = load ptr, ptr %7, align 8, !tbaa !9
  %1116 = invoke i64 @fread(ptr noundef %1108, i64 noundef %1114, i64 noundef 1, ptr noundef %1115)
          to label %1117 unwind label %479

1117:                                             ; preds = %1096
  %1118 = trunc i64 %1116 to i32
  store i32 %1118, ptr %19, align 4, !tbaa !5
  %1119 = load i32, ptr %19, align 4, !tbaa !5
  %1120 = icmp ne i32 %1119, 1
  br i1 %1120, label %1121, label %1124

1121:                                             ; preds = %1117
  %1122 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1122, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

1124:                                             ; preds = %1117
  %1125 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1126 = load i32, ptr %22, align 4, !tbaa !5
  %1127 = sext i32 %1126 to i64
  %1128 = getelementptr inbounds %struct.checksumsha256, ptr %1125, i64 %1127
  %1129 = load ptr, ptr %7, align 8, !tbaa !9
  %1130 = invoke i64 @fread(ptr noundef %1128, i64 noundef 64, i64 noundef 1, ptr noundef %1129)
          to label %1131 unwind label %479

1131:                                             ; preds = %1124
  %1132 = trunc i64 %1130 to i32
  store i32 %1132, ptr %19, align 4, !tbaa !5
  %1133 = load i32, ptr %19, align 4, !tbaa !5
  %1134 = icmp ne i32 %1133, 1
  br i1 %1134, label %1135, label %1138

1135:                                             ; preds = %1131
  %1136 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1136, ptr noundef @.str.90, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

1138:                                             ; preds = %1131
  %1139 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %1139, i8 0, i64 32, i1 false)
  %1140 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %1141 = icmp eq i32 %1140, 0
  br i1 %1141, label %1142, label %1180

1142:                                             ; preds = %1138
  %1143 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1144 = load i32, ptr %22, align 4, !tbaa !5
  %1145 = sext i32 %1144 to i64
  %1146 = getelementptr inbounds %struct.bloom, ptr %1143, i64 %1145
  %1147 = getelementptr inbounds %struct.bloom, ptr %1146, i32 0, i32 9
  %1148 = load ptr, ptr %1147, align 16, !tbaa !27
  %1149 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1150 = load i32, ptr %22, align 4, !tbaa !5
  %1151 = sext i32 %1150 to i64
  %1152 = getelementptr inbounds %struct.bloom, ptr %1149, i64 %1151
  %1153 = getelementptr inbounds %struct.bloom, ptr %1152, i32 0, i32 2
  %1154 = load i64, ptr %1153, align 16, !tbaa !16
  %1155 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1148, i64 noundef %1154, ptr noundef %1155)
          to label %1156 unwind label %479

1156:                                             ; preds = %1142
  %1157 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1158 = load i32, ptr %22, align 4, !tbaa !5
  %1159 = sext i32 %1158 to i64
  %1160 = getelementptr inbounds %struct.checksumsha256, ptr %1157, i64 %1159
  %1161 = getelementptr inbounds %struct.checksumsha256, ptr %1160, i32 0, i32 0
  %1162 = getelementptr inbounds [32 x i8], ptr %1161, i64 0, i64 0
  %1163 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %1164 = call i32 @memcmp(ptr noundef %1162, ptr noundef %1163, i64 noundef 32) #21
  %1165 = icmp ne i32 %1164, 0
  br i1 %1165, label %1176, label %1166

1166:                                             ; preds = %1156
  %1167 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1168 = load i32, ptr %22, align 4, !tbaa !5
  %1169 = sext i32 %1168 to i64
  %1170 = getelementptr inbounds %struct.checksumsha256, ptr %1167, i64 %1169
  %1171 = getelementptr inbounds %struct.checksumsha256, ptr %1170, i32 0, i32 1
  %1172 = getelementptr inbounds [32 x i8], ptr %1171, i64 0, i64 0
  %1173 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
  %1174 = call i32 @memcmp(ptr noundef %1172, ptr noundef %1173, i64 noundef 32) #21
  %1175 = icmp ne i32 %1174, 0
  br i1 %1175, label %1176, label %1179

1176:                                             ; preds = %1166, %1156
  %1177 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1177, ptr noundef @.str.91, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

1179:                                             ; preds = %1166
  br label %1180

1180:                                             ; preds = %1179, %1138
  %1181 = load i32, ptr %22, align 4, !tbaa !5
  %1182 = srem i32 %1181, 64
  %1183 = icmp eq i32 %1182, 0
  br i1 %1183, label %1184, label %1190

1184:                                             ; preds = %1180
  %1185 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %1186 unwind label %479

1186:                                             ; preds = %1184
  %1187 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1188 = invoke i32 @fflush(ptr noundef %1187)
          to label %1189 unwind label %479

1189:                                             ; preds = %1186
  br label %1190

1190:                                             ; preds = %1189, %1180
  br label %1191

1191:                                             ; preds = %1190
  %1192 = load i32, ptr %22, align 4, !tbaa !5
  %1193 = add nsw i32 %1192, 1
  store i32 %1193, ptr %22, align 4, !tbaa !5
  br label %1073, !llvm.loop !31

1194:                                             ; preds = %1073
  %1195 = load ptr, ptr %7, align 8, !tbaa !9
  %1196 = invoke i32 @fclose(ptr noundef %1195)
          to label %1197 unwind label %479

1197:                                             ; preds = %1194
  %1198 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.93)
          to label %1199 unwind label %479

1199:                                             ; preds = %1197
  store i32 1, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  br label %1201

1200:                                             ; preds = %1064
  store i32 0, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  br label %1201

1201:                                             ; preds = %1200, %1199
  br label %1202

1202:                                             ; preds = %1201, %549
  %1203 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1204 = icmp ne i32 %1203, 0
  br i1 %1204, label %1205, label %1214

1205:                                             ; preds = %1202
  %1206 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %1207 = icmp ne i32 %1206, 0
  br i1 %1207, label %1208, label %1214

1208:                                             ; preds = %1205
  %1209 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  %1210 = icmp ne i32 %1209, 0
  br i1 %1210, label %1211, label %1214

1211:                                             ; preds = %1208
  %1212 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %1213 = icmp ne i32 %1212, 0
  br i1 %1213, label %1766, label %1214

1214:                                             ; preds = %1211, %1208, %1205, %1202
  %1215 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1216 = icmp eq i32 %1215, 1
  br i1 %1216, label %1217, label %1491

1217:                                             ; preds = %1214
  %1218 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.103)
          to label %1219 unwind label %479

1219:                                             ; preds = %1217
  store i64 0, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  store i64 0, ptr @FINISHED_THREADS_BP, align 8, !tbaa !11
  store i64 0, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  store i32 0, ptr %21, align 4, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !11
  store i64 0, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1220 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1221 = zext i32 %1220 to i64
  %1222 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1223 = icmp uge i64 %1221, %1222
  br i1 %1223, label %1224, label %1227

1224:                                             ; preds = %1219
  %1225 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1226 = trunc i64 %1225 to i32
  store i32 %1226, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  br label %1227

1227:                                             ; preds = %1224, %1219
  %1228 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1229 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1230 = zext i32 %1229 to i64
  %1231 = udiv i64 %1228, %1230
  store i64 %1231, ptr @THREADCYCLES, align 8, !tbaa !11
  %1232 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1233 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1234 = zext i32 %1233 to i64
  %1235 = urem i64 %1232, %1234
  store i64 %1235, ptr %14, align 8, !tbaa !11
  %1236 = load i64, ptr %14, align 8, !tbaa !11
  %1237 = icmp ne i64 %1236, 0
  br i1 %1237, label %1238, label %1241

1238:                                             ; preds = %1227
  %1239 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1240 = add i64 %1239, 1
  store i64 %1240, ptr @THREADCYCLES, align 8, !tbaa !11
  br label %1241

1241:                                             ; preds = %1238, %1227
  %1242 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1243 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1244 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1245 = uitofp i64 %1244 to double
  %1246 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1247 = uitofp i64 %1246 to double
  %1248 = fdiv double %1245, %1247
  %1249 = fmul double %1248, 1.000000e+02
  %1250 = fptosi double %1249 to i32
  %1251 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.104, i64 noundef %1242, i64 noundef %1243, i32 noundef %1250)
          to label %1252 unwind label %479

1252:                                             ; preds = %1241
  %1253 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1254 = invoke i32 @fflush(ptr noundef %1253)
          to label %1255 unwind label %479

1255:                                             ; preds = %1252
  %1256 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1257 = sext i32 %1256 to i64
  %1258 = call noalias ptr @calloc(i64 noundef %1257, i64 noundef 8) #19
  store ptr %1258, ptr @tid, align 8, !tbaa !9
  %1259 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1260 = sext i32 %1259 to i64
  %1261 = call noalias ptr @calloc(i64 noundef %1260, i64 noundef 40) #19
  store ptr %1261, ptr @bPload_mutex, align 8, !tbaa !9
  %1262 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1262, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.105, i32 noundef 945)
          to label %1263 unwind label %479

1263:                                             ; preds = %1255
  %1264 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1265 = sext i32 %1264 to i64
  %1266 = call noalias ptr @calloc(i64 noundef %1265, i64 noundef 48) #19
  store ptr %1266, ptr %33, align 8, !tbaa !9
  %1267 = load ptr, ptr %33, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1267, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.106, i32 noundef 947)
          to label %1268 unwind label %479

1268:                                             ; preds = %1263
  %1269 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1270 = sext i32 %1269 to i64
  %1271 = call noalias ptr @calloc(i64 noundef %1270, i64 noundef 1) #19
  store ptr %1271, ptr %11, align 8, !tbaa !9
  %1272 = load ptr, ptr %11, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1272, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.107, i32 noundef 949)
          to label %1273 unwind label %479

1273:                                             ; preds = %1268
  %1274 = load ptr, ptr %11, align 8, !tbaa !9
  %1275 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1276 = sext i32 %1275 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %1274, i8 1, i64 %1276, i1 false)
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1277

1277:                                             ; preds = %1287, %1273
  %1278 = load i32, ptr %22, align 4, !tbaa !5
  %1279 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1280 = icmp slt i32 %1278, %1279
  br i1 %1280, label %1281, label %1290

1281:                                             ; preds = %1277
  %1282 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %1283 = load i32, ptr %22, align 4, !tbaa !5
  %1284 = sext i32 %1283 to i64
  %1285 = getelementptr inbounds %union.pthread_mutex_t, ptr %1282, i64 %1284
  %1286 = call i32 @pthread_mutex_init(ptr noundef %1285, ptr noundef null) #15
  br label %1287

1287:                                             ; preds = %1281
  %1288 = load i32, ptr %22, align 4, !tbaa !5
  %1289 = add nsw i32 %1288, 1
  store i32 %1289, ptr %22, align 4, !tbaa !5
  br label %1277, !llvm.loop !32

1290:                                             ; preds = %1277
  br label %1291

1291:                                             ; preds = %1478, %1290
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1292

1292:                                             ; preds = %1406, %1291
  %1293 = load i32, ptr %22, align 4, !tbaa !5
  %1294 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1295 = icmp slt i32 %1293, %1294
  br i1 %1295, label %1296, label %1300

1296:                                             ; preds = %1292
  %1297 = load i32, ptr %21, align 4, !tbaa !5
  %1298 = icmp ne i32 %1297, 0
  %1299 = xor i1 %1298, true
  br label %1300

1300:                                             ; preds = %1296, %1292
  %1301 = phi i1 [ false, %1292 ], [ %1299, %1296 ]
  br i1 %1301, label %1302, label %1409

1302:                                             ; preds = %1300
  %1303 = load ptr, ptr %11, align 8, !tbaa !9
  %1304 = load i32, ptr %22, align 4, !tbaa !5
  %1305 = sext i32 %1304 to i64
  %1306 = getelementptr inbounds i8, ptr %1303, i64 %1305
  %1307 = load i8, ptr %1306, align 1, !tbaa !15
  %1308 = icmp ne i8 %1307, 0
  br i1 %1308, label %1309, label %1405

1309:                                             ; preds = %1302
  %1310 = load i32, ptr %21, align 4, !tbaa !5
  %1311 = icmp ne i32 %1310, 0
  br i1 %1311, label %1405, label %1312

1312:                                             ; preds = %1309
  %1313 = load ptr, ptr %11, align 8, !tbaa !9
  %1314 = load i32, ptr %22, align 4, !tbaa !5
  %1315 = sext i32 %1314 to i64
  %1316 = getelementptr inbounds i8, ptr %1313, i64 %1315
  store i8 0, ptr %1316, align 1, !tbaa !15
  %1317 = load i64, ptr %13, align 8, !tbaa !11
  %1318 = load ptr, ptr %33, align 8, !tbaa !9
  %1319 = load i32, ptr %22, align 4, !tbaa !5
  %1320 = sext i32 %1319 to i64
  %1321 = getelementptr inbounds %struct.bPload, ptr %1318, i64 %1320
  %1322 = getelementptr inbounds %struct.bPload, ptr %1321, i32 0, i32 1
  store i64 %1317, ptr %1322, align 8, !tbaa !33
  %1323 = load i32, ptr %22, align 4, !tbaa !5
  %1324 = load ptr, ptr %33, align 8, !tbaa !9
  %1325 = load i32, ptr %22, align 4, !tbaa !5
  %1326 = sext i32 %1325 to i64
  %1327 = getelementptr inbounds %struct.bPload, ptr %1324, i64 %1326
  %1328 = getelementptr inbounds %struct.bPload, ptr %1327, i32 0, i32 0
  store i32 %1323, ptr %1328, align 8, !tbaa !35
  %1329 = load ptr, ptr %33, align 8, !tbaa !9
  %1330 = load i32, ptr %22, align 4, !tbaa !5
  %1331 = sext i32 %1330 to i64
  %1332 = getelementptr inbounds %struct.bPload, ptr %1329, i64 %1331
  %1333 = getelementptr inbounds %struct.bPload, ptr %1332, i32 0, i32 6
  store i32 0, ptr %1333, align 4, !tbaa !36
  %1334 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1335 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1336 = sub i64 %1335, 1
  %1337 = icmp ult i64 %1334, %1336
  br i1 %1337, label %1338, label %1355

1338:                                             ; preds = %1312
  %1339 = load i64, ptr %13, align 8, !tbaa !11
  %1340 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1341 = zext i32 %1340 to i64
  %1342 = add i64 %1339, %1341
  %1343 = load ptr, ptr %33, align 8, !tbaa !9
  %1344 = load i32, ptr %22, align 4, !tbaa !5
  %1345 = sext i32 %1344 to i64
  %1346 = getelementptr inbounds %struct.bPload, ptr %1343, i64 %1345
  %1347 = getelementptr inbounds %struct.bPload, ptr %1346, i32 0, i32 2
  store i64 %1342, ptr %1347, align 8, !tbaa !37
  %1348 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1349 = zext i32 %1348 to i64
  %1350 = load ptr, ptr %33, align 8, !tbaa !9
  %1351 = load i32, ptr %22, align 4, !tbaa !5
  %1352 = sext i32 %1351 to i64
  %1353 = getelementptr inbounds %struct.bPload, ptr %1350, i64 %1352
  %1354 = getelementptr inbounds %struct.bPload, ptr %1353, i32 0, i32 4
  store i64 %1349, ptr %1354, align 8, !tbaa !38
  br label %1376

1355:                                             ; preds = %1312
  %1356 = load i64, ptr %13, align 8, !tbaa !11
  %1357 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1358 = zext i32 %1357 to i64
  %1359 = add i64 %1356, %1358
  %1360 = load i64, ptr %14, align 8, !tbaa !11
  %1361 = add i64 %1359, %1360
  %1362 = load ptr, ptr %33, align 8, !tbaa !9
  %1363 = load i32, ptr %22, align 4, !tbaa !5
  %1364 = sext i32 %1363 to i64
  %1365 = getelementptr inbounds %struct.bPload, ptr %1362, i64 %1364
  %1366 = getelementptr inbounds %struct.bPload, ptr %1365, i32 0, i32 2
  store i64 %1361, ptr %1366, align 8, !tbaa !37
  %1367 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1368 = zext i32 %1367 to i64
  %1369 = load i64, ptr %14, align 8, !tbaa !11
  %1370 = add i64 %1368, %1369
  %1371 = load ptr, ptr %33, align 8, !tbaa !9
  %1372 = load i32, ptr %22, align 4, !tbaa !5
  %1373 = sext i32 %1372 to i64
  %1374 = getelementptr inbounds %struct.bPload, ptr %1371, i64 %1373
  %1375 = getelementptr inbounds %struct.bPload, ptr %1374, i32 0, i32 4
  store i64 %1370, ptr %1375, align 8, !tbaa !38
  store i32 1, ptr %21, align 4, !tbaa !5
  br label %1376

1376:                                             ; preds = %1355, %1338
  %1377 = load ptr, ptr @tid, align 8, !tbaa !9
  %1378 = load i32, ptr %22, align 4, !tbaa !5
  %1379 = sext i32 %1378 to i64
  %1380 = getelementptr inbounds i64, ptr %1377, i64 %1379
  %1381 = load ptr, ptr %33, align 8, !tbaa !9
  %1382 = load i32, ptr %22, align 4, !tbaa !5
  %1383 = sext i32 %1382 to i64
  %1384 = getelementptr inbounds %struct.bPload, ptr %1381, i64 %1383
  %1385 = call i32 @pthread_create(ptr noundef %1380, ptr noundef null, ptr noundef @_Z21thread_bPload_2bloomsPv, ptr noundef %1384) #15
  store i32 %1385, ptr %23, align 4, !tbaa !5
  %1386 = load i32, ptr %23, align 4, !tbaa !5
  %1387 = icmp ne i32 %1386, 0
  br i1 %1387, label %1388, label %1392

1388:                                             ; preds = %1376
  %1389 = load i32, ptr %23, align 4, !tbaa !5
  %1390 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.108, i32 noundef %1389)
          to label %1391 unwind label %479

1391:                                             ; preds = %1388
  call void @exit(i32 noundef 1) #18
  unreachable

1392:                                             ; preds = %1376
  %1393 = load ptr, ptr @tid, align 8, !tbaa !9
  %1394 = load i32, ptr %22, align 4, !tbaa !5
  %1395 = sext i32 %1394 to i64
  %1396 = getelementptr inbounds i64, ptr %1393, i64 %1395
  %1397 = load i64, ptr %1396, align 8, !tbaa !11
  %1398 = call i32 @pthread_detach(i64 noundef %1397) #15
  %1399 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1400 = zext i32 %1399 to i64
  %1401 = load i64, ptr %13, align 8, !tbaa !11
  %1402 = add i64 %1401, %1400
  store i64 %1402, ptr %13, align 8, !tbaa !11
  %1403 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1404 = add i64 %1403, 1
  store i64 %1404, ptr @THREADCOUNTER, align 8, !tbaa !11
  br label %1405

1405:                                             ; preds = %1392, %1309, %1302
  br label %1406

1406:                                             ; preds = %1405
  %1407 = load i32, ptr %22, align 4, !tbaa !5
  %1408 = add nsw i32 %1407, 1
  store i32 %1408, ptr %22, align 4, !tbaa !5
  br label %1292, !llvm.loop !39

1409:                                             ; preds = %1300
  %1410 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  %1411 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1412 = icmp ne i64 %1410, %1411
  br i1 %1412, label %1413, label %1429

1413:                                             ; preds = %1409
  %1414 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1415 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1416 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1417 = uitofp i64 %1416 to double
  %1418 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1419 = uitofp i64 %1418 to double
  %1420 = fdiv double %1417, %1419
  %1421 = fmul double %1420, 1.000000e+02
  %1422 = fptosi double %1421 to i32
  %1423 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.104, i64 noundef %1414, i64 noundef %1415, i32 noundef %1422)
          to label %1424 unwind label %479

1424:                                             ; preds = %1413
  %1425 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1426 = invoke i32 @fflush(ptr noundef %1425)
          to label %1427 unwind label %479

1427:                                             ; preds = %1424
  %1428 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  store i64 %1428, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  br label %1429

1429:                                             ; preds = %1427, %1409
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1430

1430:                                             ; preds = %1474, %1429
  %1431 = load i32, ptr %22, align 4, !tbaa !5
  %1432 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1433 = icmp slt i32 %1431, %1432
  br i1 %1433, label %1434, label %1477

1434:                                             ; preds = %1430
  %1435 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %1436 = load i32, ptr %22, align 4, !tbaa !5
  %1437 = sext i32 %1436 to i64
  %1438 = getelementptr inbounds %union.pthread_mutex_t, ptr %1435, i64 %1437
  %1439 = call i32 @pthread_mutex_lock(ptr noundef %1438) #15
  %1440 = load ptr, ptr %33, align 8, !tbaa !9
  %1441 = load i32, ptr %22, align 4, !tbaa !5
  %1442 = sext i32 %1441 to i64
  %1443 = getelementptr inbounds %struct.bPload, ptr %1440, i64 %1442
  %1444 = getelementptr inbounds %struct.bPload, ptr %1443, i32 0, i32 6
  %1445 = load i32, ptr %1444, align 4, !tbaa !36
  store i32 %1445, ptr %18, align 4, !tbaa !5
  %1446 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %1447 = load i32, ptr %22, align 4, !tbaa !5
  %1448 = sext i32 %1447 to i64
  %1449 = getelementptr inbounds %union.pthread_mutex_t, ptr %1446, i64 %1448
  %1450 = call i32 @pthread_mutex_unlock(ptr noundef %1449) #15
  %1451 = load i32, ptr %18, align 4, !tbaa !5
  %1452 = icmp ne i32 %1451, 0
  br i1 %1452, label %1453, label %1473

1453:                                             ; preds = %1434
  %1454 = load ptr, ptr %33, align 8, !tbaa !9
  %1455 = load i32, ptr %22, align 4, !tbaa !5
  %1456 = sext i32 %1455 to i64
  %1457 = getelementptr inbounds %struct.bPload, ptr %1454, i64 %1456
  %1458 = getelementptr inbounds %struct.bPload, ptr %1457, i32 0, i32 6
  store i32 0, ptr %1458, align 4, !tbaa !36
  %1459 = load ptr, ptr %11, align 8, !tbaa !9
  %1460 = load i32, ptr %22, align 4, !tbaa !5
  %1461 = sext i32 %1460 to i64
  %1462 = getelementptr inbounds i8, ptr %1459, i64 %1461
  store i8 1, ptr %1462, align 1, !tbaa !15
  %1463 = load ptr, ptr %33, align 8, !tbaa !9
  %1464 = load i32, ptr %22, align 4, !tbaa !5
  %1465 = sext i32 %1464 to i64
  %1466 = getelementptr inbounds %struct.bPload, ptr %1463, i64 %1465
  %1467 = getelementptr inbounds %struct.bPload, ptr %1466, i32 0, i32 4
  %1468 = load i64, ptr %1467, align 8, !tbaa !38
  %1469 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1470 = add i64 %1469, %1468
  store i64 %1470, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1471 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %1472 = add i64 %1471, 1
  store i64 %1472, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  br label %1473

1473:                                             ; preds = %1453, %1434
  br label %1474

1474:                                             ; preds = %1473
  %1475 = load i32, ptr %22, align 4, !tbaa !5
  %1476 = add nsw i32 %1475, 1
  store i32 %1476, ptr %22, align 4, !tbaa !5
  br label %1430, !llvm.loop !40

1477:                                             ; preds = %1430
  br label %1478

1478:                                             ; preds = %1477
  %1479 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %1480 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1481 = icmp ult i64 %1479, %1480
  br i1 %1481, label %1291, label %1482, !llvm.loop !41

1482:                                             ; preds = %1478
  %1483 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1484 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1485 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.109, i64 noundef %1483, i64 noundef %1484)
          to label %1486 unwind label %479

1486:                                             ; preds = %1482
  %1487 = load ptr, ptr @tid, align 8, !tbaa !9
  call void @free(ptr noundef %1487) #15
  %1488 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  call void @free(ptr noundef %1488) #15
  %1489 = load ptr, ptr %33, align 8, !tbaa !9
  call void @free(ptr noundef %1489) #15
  %1490 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free(ptr noundef %1490) #15
  br label %1765

1491:                                             ; preds = %1214
  store i64 0, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  store i64 0, ptr @FINISHED_THREADS_BP, align 8, !tbaa !11
  store i64 0, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  store i32 0, ptr %21, align 4, !tbaa !5
  store i64 0, ptr %13, align 8, !tbaa !11
  store i64 0, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1492 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1493 = zext i32 %1492 to i64
  %1494 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1495 = icmp uge i64 %1493, %1494
  br i1 %1495, label %1496, label %1499

1496:                                             ; preds = %1491
  %1497 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1498 = trunc i64 %1497 to i32
  store i32 %1498, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  br label %1499

1499:                                             ; preds = %1496, %1491
  %1500 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1501 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1502 = zext i32 %1501 to i64
  %1503 = udiv i64 %1500, %1502
  store i64 %1503, ptr @THREADCYCLES, align 8, !tbaa !11
  %1504 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1505 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1506 = zext i32 %1505 to i64
  %1507 = urem i64 %1504, %1506
  store i64 %1507, ptr %14, align 8, !tbaa !11
  %1508 = load i64, ptr %14, align 8, !tbaa !11
  %1509 = icmp ne i64 %1508, 0
  br i1 %1509, label %1510, label %1513

1510:                                             ; preds = %1499
  %1511 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1512 = add i64 %1511, 1
  store i64 %1512, ptr @THREADCYCLES, align 8, !tbaa !11
  br label %1513

1513:                                             ; preds = %1510, %1499
  %1514 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1515 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1516 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1517 = uitofp i64 %1516 to double
  %1518 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1519 = uitofp i64 %1518 to double
  %1520 = fdiv double %1517, %1519
  %1521 = fmul double %1520, 1.000000e+02
  %1522 = fptosi double %1521 to i32
  %1523 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.104, i64 noundef %1514, i64 noundef %1515, i32 noundef %1522)
          to label %1524 unwind label %479

1524:                                             ; preds = %1513
  %1525 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1526 = invoke i32 @fflush(ptr noundef %1525)
          to label %1527 unwind label %479

1527:                                             ; preds = %1524
  %1528 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1529 = sext i32 %1528 to i64
  %1530 = call noalias ptr @calloc(i64 noundef %1529, i64 noundef 8) #19
  store ptr %1530, ptr @tid, align 8, !tbaa !9
  %1531 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1532 = sext i32 %1531 to i64
  %1533 = call noalias ptr @calloc(i64 noundef %1532, i64 noundef 40) #19
  store ptr %1533, ptr @bPload_mutex, align 8, !tbaa !9
  %1534 = load ptr, ptr @tid, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1534, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.110, i32 noundef 1039)
          to label %1535 unwind label %479

1535:                                             ; preds = %1527
  %1536 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1536, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.105, i32 noundef 1040)
          to label %1537 unwind label %479

1537:                                             ; preds = %1535
  %1538 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1539 = sext i32 %1538 to i64
  %1540 = call noalias ptr @calloc(i64 noundef %1539, i64 noundef 48) #19
  store ptr %1540, ptr %33, align 8, !tbaa !9
  %1541 = load ptr, ptr %33, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1541, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.106, i32 noundef 1043)
          to label %1542 unwind label %479

1542:                                             ; preds = %1537
  %1543 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1544 = sext i32 %1543 to i64
  %1545 = call noalias ptr @calloc(i64 noundef %1544, i64 noundef 1) #19
  store ptr %1545, ptr %11, align 8, !tbaa !9
  %1546 = load ptr, ptr %11, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1546, ptr noundef @.str.70, ptr noundef @.str.71, ptr noundef @.str.107, i32 noundef 1045)
          to label %1547 unwind label %479

1547:                                             ; preds = %1542
  %1548 = load ptr, ptr %11, align 8, !tbaa !9
  %1549 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1550 = sext i32 %1549 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %1548, i8 1, i64 %1550, i1 false)
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1551

1551:                                             ; preds = %1561, %1547
  %1552 = load i32, ptr %22, align 4, !tbaa !5
  %1553 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1554 = icmp slt i32 %1552, %1553
  br i1 %1554, label %1555, label %1564

1555:                                             ; preds = %1551
  %1556 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %1557 = load i32, ptr %22, align 4, !tbaa !5
  %1558 = sext i32 %1557 to i64
  %1559 = getelementptr inbounds %union.pthread_mutex_t, ptr %1556, i64 %1558
  %1560 = call i32 @pthread_mutex_init(ptr noundef %1559, ptr noundef null) #15
  br label %1561

1561:                                             ; preds = %1555
  %1562 = load i32, ptr %22, align 4, !tbaa !5
  %1563 = add nsw i32 %1562, 1
  store i32 %1563, ptr %22, align 4, !tbaa !5
  br label %1551, !llvm.loop !42

1564:                                             ; preds = %1551
  br label %1565

1565:                                             ; preds = %1752, %1564
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1566

1566:                                             ; preds = %1680, %1565
  %1567 = load i32, ptr %22, align 4, !tbaa !5
  %1568 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1569 = icmp slt i32 %1567, %1568
  br i1 %1569, label %1570, label %1574

1570:                                             ; preds = %1566
  %1571 = load i32, ptr %21, align 4, !tbaa !5
  %1572 = icmp ne i32 %1571, 0
  %1573 = xor i1 %1572, true
  br label %1574

1574:                                             ; preds = %1570, %1566
  %1575 = phi i1 [ false, %1566 ], [ %1573, %1570 ]
  br i1 %1575, label %1576, label %1683

1576:                                             ; preds = %1574
  %1577 = load ptr, ptr %11, align 8, !tbaa !9
  %1578 = load i32, ptr %22, align 4, !tbaa !5
  %1579 = sext i32 %1578 to i64
  %1580 = getelementptr inbounds i8, ptr %1577, i64 %1579
  %1581 = load i8, ptr %1580, align 1, !tbaa !15
  %1582 = icmp ne i8 %1581, 0
  br i1 %1582, label %1583, label %1679

1583:                                             ; preds = %1576
  %1584 = load i32, ptr %21, align 4, !tbaa !5
  %1585 = icmp ne i32 %1584, 0
  br i1 %1585, label %1679, label %1586

1586:                                             ; preds = %1583
  %1587 = load ptr, ptr %11, align 8, !tbaa !9
  %1588 = load i32, ptr %22, align 4, !tbaa !5
  %1589 = sext i32 %1588 to i64
  %1590 = getelementptr inbounds i8, ptr %1587, i64 %1589
  store i8 0, ptr %1590, align 1, !tbaa !15
  %1591 = load i64, ptr %13, align 8, !tbaa !11
  %1592 = load ptr, ptr %33, align 8, !tbaa !9
  %1593 = load i32, ptr %22, align 4, !tbaa !5
  %1594 = sext i32 %1593 to i64
  %1595 = getelementptr inbounds %struct.bPload, ptr %1592, i64 %1594
  %1596 = getelementptr inbounds %struct.bPload, ptr %1595, i32 0, i32 1
  store i64 %1591, ptr %1596, align 8, !tbaa !33
  %1597 = load i32, ptr %22, align 4, !tbaa !5
  %1598 = load ptr, ptr %33, align 8, !tbaa !9
  %1599 = load i32, ptr %22, align 4, !tbaa !5
  %1600 = sext i32 %1599 to i64
  %1601 = getelementptr inbounds %struct.bPload, ptr %1598, i64 %1600
  %1602 = getelementptr inbounds %struct.bPload, ptr %1601, i32 0, i32 0
  store i32 %1597, ptr %1602, align 8, !tbaa !35
  %1603 = load ptr, ptr %33, align 8, !tbaa !9
  %1604 = load i32, ptr %22, align 4, !tbaa !5
  %1605 = sext i32 %1604 to i64
  %1606 = getelementptr inbounds %struct.bPload, ptr %1603, i64 %1605
  %1607 = getelementptr inbounds %struct.bPload, ptr %1606, i32 0, i32 6
  store i32 0, ptr %1607, align 4, !tbaa !36
  %1608 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1609 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1610 = sub i64 %1609, 1
  %1611 = icmp ult i64 %1608, %1610
  br i1 %1611, label %1612, label %1629

1612:                                             ; preds = %1586
  %1613 = load i64, ptr %13, align 8, !tbaa !11
  %1614 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1615 = zext i32 %1614 to i64
  %1616 = add i64 %1613, %1615
  %1617 = load ptr, ptr %33, align 8, !tbaa !9
  %1618 = load i32, ptr %22, align 4, !tbaa !5
  %1619 = sext i32 %1618 to i64
  %1620 = getelementptr inbounds %struct.bPload, ptr %1617, i64 %1619
  %1621 = getelementptr inbounds %struct.bPload, ptr %1620, i32 0, i32 2
  store i64 %1616, ptr %1621, align 8, !tbaa !37
  %1622 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1623 = zext i32 %1622 to i64
  %1624 = load ptr, ptr %33, align 8, !tbaa !9
  %1625 = load i32, ptr %22, align 4, !tbaa !5
  %1626 = sext i32 %1625 to i64
  %1627 = getelementptr inbounds %struct.bPload, ptr %1624, i64 %1626
  %1628 = getelementptr inbounds %struct.bPload, ptr %1627, i32 0, i32 4
  store i64 %1623, ptr %1628, align 8, !tbaa !38
  br label %1650

1629:                                             ; preds = %1586
  %1630 = load i64, ptr %13, align 8, !tbaa !11
  %1631 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1632 = zext i32 %1631 to i64
  %1633 = add i64 %1630, %1632
  %1634 = load i64, ptr %14, align 8, !tbaa !11
  %1635 = add i64 %1633, %1634
  %1636 = load ptr, ptr %33, align 8, !tbaa !9
  %1637 = load i32, ptr %22, align 4, !tbaa !5
  %1638 = sext i32 %1637 to i64
  %1639 = getelementptr inbounds %struct.bPload, ptr %1636, i64 %1638
  %1640 = getelementptr inbounds %struct.bPload, ptr %1639, i32 0, i32 2
  store i64 %1635, ptr %1640, align 8, !tbaa !37
  %1641 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1642 = zext i32 %1641 to i64
  %1643 = load i64, ptr %14, align 8, !tbaa !11
  %1644 = add i64 %1642, %1643
  %1645 = load ptr, ptr %33, align 8, !tbaa !9
  %1646 = load i32, ptr %22, align 4, !tbaa !5
  %1647 = sext i32 %1646 to i64
  %1648 = getelementptr inbounds %struct.bPload, ptr %1645, i64 %1647
  %1649 = getelementptr inbounds %struct.bPload, ptr %1648, i32 0, i32 4
  store i64 %1644, ptr %1649, align 8, !tbaa !38
  store i32 1, ptr %21, align 4, !tbaa !5
  br label %1650

1650:                                             ; preds = %1629, %1612
  %1651 = load ptr, ptr @tid, align 8, !tbaa !9
  %1652 = load i32, ptr %22, align 4, !tbaa !5
  %1653 = sext i32 %1652 to i64
  %1654 = getelementptr inbounds i64, ptr %1651, i64 %1653
  %1655 = load ptr, ptr %33, align 8, !tbaa !9
  %1656 = load i32, ptr %22, align 4, !tbaa !5
  %1657 = sext i32 %1656 to i64
  %1658 = getelementptr inbounds %struct.bPload, ptr %1655, i64 %1657
  %1659 = call i32 @pthread_create(ptr noundef %1654, ptr noundef null, ptr noundef @_Z13thread_bPloadPv, ptr noundef %1658) #15
  store i32 %1659, ptr %23, align 4, !tbaa !5
  %1660 = load i32, ptr %23, align 4, !tbaa !5
  %1661 = icmp ne i32 %1660, 0
  br i1 %1661, label %1662, label %1666

1662:                                             ; preds = %1650
  %1663 = load i32, ptr %23, align 4, !tbaa !5
  %1664 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.108, i32 noundef %1663)
          to label %1665 unwind label %479

1665:                                             ; preds = %1662
  call void @exit(i32 noundef 1) #18
  unreachable

1666:                                             ; preds = %1650
  %1667 = load ptr, ptr @tid, align 8, !tbaa !9
  %1668 = load i32, ptr %22, align 4, !tbaa !5
  %1669 = sext i32 %1668 to i64
  %1670 = getelementptr inbounds i64, ptr %1667, i64 %1669
  %1671 = load i64, ptr %1670, align 8, !tbaa !11
  %1672 = call i32 @pthread_detach(i64 noundef %1671) #15
  %1673 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1674 = zext i32 %1673 to i64
  %1675 = load i64, ptr %13, align 8, !tbaa !11
  %1676 = add i64 %1675, %1674
  store i64 %1676, ptr %13, align 8, !tbaa !11
  %1677 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1678 = add i64 %1677, 1
  store i64 %1678, ptr @THREADCOUNTER, align 8, !tbaa !11
  br label %1679

1679:                                             ; preds = %1666, %1583, %1576
  br label %1680

1680:                                             ; preds = %1679
  %1681 = load i32, ptr %22, align 4, !tbaa !5
  %1682 = add nsw i32 %1681, 1
  store i32 %1682, ptr %22, align 4, !tbaa !5
  br label %1566, !llvm.loop !43

1683:                                             ; preds = %1574
  %1684 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  %1685 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1686 = icmp ne i64 %1684, %1685
  br i1 %1686, label %1687, label %1703

1687:                                             ; preds = %1683
  %1688 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1689 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1690 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1691 = uitofp i64 %1690 to double
  %1692 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1693 = uitofp i64 %1692 to double
  %1694 = fdiv double %1691, %1693
  %1695 = fmul double %1694, 1.000000e+02
  %1696 = fptosi double %1695 to i32
  %1697 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.104, i64 noundef %1688, i64 noundef %1689, i32 noundef %1696)
          to label %1698 unwind label %479

1698:                                             ; preds = %1687
  %1699 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1700 = invoke i32 @fflush(ptr noundef %1699)
          to label %1701 unwind label %479

1701:                                             ; preds = %1698
  %1702 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  store i64 %1702, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  br label %1703

1703:                                             ; preds = %1701, %1683
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1704

1704:                                             ; preds = %1748, %1703
  %1705 = load i32, ptr %22, align 4, !tbaa !5
  %1706 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1707 = icmp slt i32 %1705, %1706
  br i1 %1707, label %1708, label %1751

1708:                                             ; preds = %1704
  %1709 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %1710 = load i32, ptr %22, align 4, !tbaa !5
  %1711 = sext i32 %1710 to i64
  %1712 = getelementptr inbounds %union.pthread_mutex_t, ptr %1709, i64 %1711
  %1713 = call i32 @pthread_mutex_lock(ptr noundef %1712) #15
  %1714 = load ptr, ptr %33, align 8, !tbaa !9
  %1715 = load i32, ptr %22, align 4, !tbaa !5
  %1716 = sext i32 %1715 to i64
  %1717 = getelementptr inbounds %struct.bPload, ptr %1714, i64 %1716
  %1718 = getelementptr inbounds %struct.bPload, ptr %1717, i32 0, i32 6
  %1719 = load i32, ptr %1718, align 4, !tbaa !36
  store i32 %1719, ptr %18, align 4, !tbaa !5
  %1720 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %1721 = load i32, ptr %22, align 4, !tbaa !5
  %1722 = sext i32 %1721 to i64
  %1723 = getelementptr inbounds %union.pthread_mutex_t, ptr %1720, i64 %1722
  %1724 = call i32 @pthread_mutex_unlock(ptr noundef %1723) #15
  %1725 = load i32, ptr %18, align 4, !tbaa !5
  %1726 = icmp ne i32 %1725, 0
  br i1 %1726, label %1727, label %1747

1727:                                             ; preds = %1708
  %1728 = load ptr, ptr %33, align 8, !tbaa !9
  %1729 = load i32, ptr %22, align 4, !tbaa !5
  %1730 = sext i32 %1729 to i64
  %1731 = getelementptr inbounds %struct.bPload, ptr %1728, i64 %1730
  %1732 = getelementptr inbounds %struct.bPload, ptr %1731, i32 0, i32 6
  store i32 0, ptr %1732, align 4, !tbaa !36
  %1733 = load ptr, ptr %11, align 8, !tbaa !9
  %1734 = load i32, ptr %22, align 4, !tbaa !5
  %1735 = sext i32 %1734 to i64
  %1736 = getelementptr inbounds i8, ptr %1733, i64 %1735
  store i8 1, ptr %1736, align 1, !tbaa !15
  %1737 = load ptr, ptr %33, align 8, !tbaa !9
  %1738 = load i32, ptr %22, align 4, !tbaa !5
  %1739 = sext i32 %1738 to i64
  %1740 = getelementptr inbounds %struct.bPload, ptr %1737, i64 %1739
  %1741 = getelementptr inbounds %struct.bPload, ptr %1740, i32 0, i32 4
  %1742 = load i64, ptr %1741, align 8, !tbaa !38
  %1743 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1744 = add i64 %1743, %1742
  store i64 %1744, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1745 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %1746 = add i64 %1745, 1
  store i64 %1746, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  br label %1747

1747:                                             ; preds = %1727, %1708
  br label %1748

1748:                                             ; preds = %1747
  %1749 = load i32, ptr %22, align 4, !tbaa !5
  %1750 = add nsw i32 %1749, 1
  store i32 %1750, ptr %22, align 4, !tbaa !5
  br label %1704, !llvm.loop !44

1751:                                             ; preds = %1704
  br label %1752

1752:                                             ; preds = %1751
  %1753 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %1754 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1755 = icmp ult i64 %1753, %1754
  br i1 %1755, label %1565, label %1756, !llvm.loop !45

1756:                                             ; preds = %1752
  %1757 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1758 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1759 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.109, i64 noundef %1757, i64 noundef %1758)
          to label %1760 unwind label %479

1760:                                             ; preds = %1756
  %1761 = load ptr, ptr @tid, align 8, !tbaa !9
  call void @free(ptr noundef %1761) #15
  %1762 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  call void @free(ptr noundef %1762) #15
  %1763 = load ptr, ptr %33, align 8, !tbaa !9
  call void @free(ptr noundef %1763) #15
  %1764 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free(ptr noundef %1764) #15
  br label %1765

1765:                                             ; preds = %1760, %1486
  br label %1766

1766:                                             ; preds = %1765, %1211
  %1767 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1768 = icmp ne i32 %1767, 0
  br i1 %1768, label %1769, label %1775

1769:                                             ; preds = %1766
  %1770 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %1771 = icmp ne i32 %1770, 0
  br i1 %1771, label %1772, label %1775

1772:                                             ; preds = %1769
  %1773 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %1774 = icmp ne i32 %1773, 0
  br i1 %1774, label %1781, label %1775

1775:                                             ; preds = %1772, %1769, %1766
  %1776 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.111)
          to label %1777 unwind label %479

1777:                                             ; preds = %1775
  %1778 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1779 = invoke i32 @fflush(ptr noundef %1778)
          to label %1780 unwind label %479

1780:                                             ; preds = %1777
  br label %1781

1781:                                             ; preds = %1780, %1772
  %1782 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1783 = icmp ne i32 %1782, 0
  br i1 %1783, label %1826, label %1784

1784:                                             ; preds = %1781
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1785

1785:                                             ; preds = %1820, %1784
  %1786 = load i32, ptr %22, align 4, !tbaa !5
  %1787 = icmp slt i32 %1786, 256
  br i1 %1787, label %1788, label %1823

1788:                                             ; preds = %1785
  %1789 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1790 = load i32, ptr %22, align 4, !tbaa !5
  %1791 = sext i32 %1790 to i64
  %1792 = getelementptr inbounds %struct.bloom, ptr %1789, i64 %1791
  %1793 = getelementptr inbounds %struct.bloom, ptr %1792, i32 0, i32 9
  %1794 = load ptr, ptr %1793, align 16, !tbaa !27
  %1795 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1796 = load i32, ptr %22, align 4, !tbaa !5
  %1797 = sext i32 %1796 to i64
  %1798 = getelementptr inbounds %struct.bloom, ptr %1795, i64 %1797
  %1799 = getelementptr inbounds %struct.bloom, ptr %1798, i32 0, i32 2
  %1800 = load i64, ptr %1799, align 16, !tbaa !16
  %1801 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1802 = load i32, ptr %22, align 4, !tbaa !5
  %1803 = sext i32 %1802 to i64
  %1804 = getelementptr inbounds %struct.checksumsha256, ptr %1801, i64 %1803
  %1805 = getelementptr inbounds %struct.checksumsha256, ptr %1804, i32 0, i32 0
  %1806 = getelementptr inbounds [32 x i8], ptr %1805, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1794, i64 noundef %1800, ptr noundef %1806)
          to label %1807 unwind label %479

1807:                                             ; preds = %1788
  %1808 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1809 = load i32, ptr %22, align 4, !tbaa !5
  %1810 = sext i32 %1809 to i64
  %1811 = getelementptr inbounds %struct.checksumsha256, ptr %1808, i64 %1810
  %1812 = getelementptr inbounds %struct.checksumsha256, ptr %1811, i32 0, i32 1
  %1813 = getelementptr inbounds [32 x i8], ptr %1812, i64 0, i64 0
  %1814 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1815 = load i32, ptr %22, align 4, !tbaa !5
  %1816 = sext i32 %1815 to i64
  %1817 = getelementptr inbounds %struct.checksumsha256, ptr %1814, i64 %1816
  %1818 = getelementptr inbounds %struct.checksumsha256, ptr %1817, i32 0, i32 0
  %1819 = getelementptr inbounds [32 x i8], ptr %1818, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1813, ptr align 1 %1819, i64 32, i1 false)
  br label %1820

1820:                                             ; preds = %1807
  %1821 = load i32, ptr %22, align 4, !tbaa !5
  %1822 = add nsw i32 %1821, 1
  store i32 %1822, ptr %22, align 4, !tbaa !5
  br label %1785, !llvm.loop !46

1823:                                             ; preds = %1785
  %1824 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %1825 unwind label %479

1825:                                             ; preds = %1823
  br label %1826

1826:                                             ; preds = %1825, %1781
  %1827 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %1828 = icmp ne i32 %1827, 0
  br i1 %1828, label %1871, label %1829

1829:                                             ; preds = %1826
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1830

1830:                                             ; preds = %1865, %1829
  %1831 = load i32, ptr %22, align 4, !tbaa !5
  %1832 = icmp slt i32 %1831, 256
  br i1 %1832, label %1833, label %1868

1833:                                             ; preds = %1830
  %1834 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1835 = load i32, ptr %22, align 4, !tbaa !5
  %1836 = sext i32 %1835 to i64
  %1837 = getelementptr inbounds %struct.bloom, ptr %1834, i64 %1836
  %1838 = getelementptr inbounds %struct.bloom, ptr %1837, i32 0, i32 9
  %1839 = load ptr, ptr %1838, align 16, !tbaa !27
  %1840 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1841 = load i32, ptr %22, align 4, !tbaa !5
  %1842 = sext i32 %1841 to i64
  %1843 = getelementptr inbounds %struct.bloom, ptr %1840, i64 %1842
  %1844 = getelementptr inbounds %struct.bloom, ptr %1843, i32 0, i32 2
  %1845 = load i64, ptr %1844, align 16, !tbaa !16
  %1846 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %1847 = load i32, ptr %22, align 4, !tbaa !5
  %1848 = sext i32 %1847 to i64
  %1849 = getelementptr inbounds %struct.checksumsha256, ptr %1846, i64 %1848
  %1850 = getelementptr inbounds %struct.checksumsha256, ptr %1849, i32 0, i32 0
  %1851 = getelementptr inbounds [32 x i8], ptr %1850, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1839, i64 noundef %1845, ptr noundef %1851)
          to label %1852 unwind label %479

1852:                                             ; preds = %1833
  %1853 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %1854 = load i32, ptr %22, align 4, !tbaa !5
  %1855 = sext i32 %1854 to i64
  %1856 = getelementptr inbounds %struct.checksumsha256, ptr %1853, i64 %1855
  %1857 = getelementptr inbounds %struct.checksumsha256, ptr %1856, i32 0, i32 1
  %1858 = getelementptr inbounds [32 x i8], ptr %1857, i64 0, i64 0
  %1859 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %1860 = load i32, ptr %22, align 4, !tbaa !5
  %1861 = sext i32 %1860 to i64
  %1862 = getelementptr inbounds %struct.checksumsha256, ptr %1859, i64 %1861
  %1863 = getelementptr inbounds %struct.checksumsha256, ptr %1862, i32 0, i32 0
  %1864 = getelementptr inbounds [32 x i8], ptr %1863, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1858, ptr align 1 %1864, i64 32, i1 false)
  br label %1865

1865:                                             ; preds = %1852
  %1866 = load i32, ptr %22, align 4, !tbaa !5
  %1867 = add nsw i32 %1866, 1
  store i32 %1867, ptr %22, align 4, !tbaa !5
  br label %1830, !llvm.loop !47

1868:                                             ; preds = %1830
  %1869 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %1870 unwind label %479

1870:                                             ; preds = %1868
  br label %1871

1871:                                             ; preds = %1870, %1826
  %1872 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %1873 = icmp ne i32 %1872, 0
  br i1 %1873, label %1916, label %1874

1874:                                             ; preds = %1871
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1875

1875:                                             ; preds = %1910, %1874
  %1876 = load i32, ptr %22, align 4, !tbaa !5
  %1877 = icmp slt i32 %1876, 256
  br i1 %1877, label %1878, label %1913

1878:                                             ; preds = %1875
  %1879 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1880 = load i32, ptr %22, align 4, !tbaa !5
  %1881 = sext i32 %1880 to i64
  %1882 = getelementptr inbounds %struct.bloom, ptr %1879, i64 %1881
  %1883 = getelementptr inbounds %struct.bloom, ptr %1882, i32 0, i32 9
  %1884 = load ptr, ptr %1883, align 16, !tbaa !27
  %1885 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1886 = load i32, ptr %22, align 4, !tbaa !5
  %1887 = sext i32 %1886 to i64
  %1888 = getelementptr inbounds %struct.bloom, ptr %1885, i64 %1887
  %1889 = getelementptr inbounds %struct.bloom, ptr %1888, i32 0, i32 2
  %1890 = load i64, ptr %1889, align 16, !tbaa !16
  %1891 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1892 = load i32, ptr %22, align 4, !tbaa !5
  %1893 = sext i32 %1892 to i64
  %1894 = getelementptr inbounds %struct.checksumsha256, ptr %1891, i64 %1893
  %1895 = getelementptr inbounds %struct.checksumsha256, ptr %1894, i32 0, i32 0
  %1896 = getelementptr inbounds [32 x i8], ptr %1895, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1884, i64 noundef %1890, ptr noundef %1896)
          to label %1897 unwind label %479

1897:                                             ; preds = %1878
  %1898 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1899 = load i32, ptr %22, align 4, !tbaa !5
  %1900 = sext i32 %1899 to i64
  %1901 = getelementptr inbounds %struct.checksumsha256, ptr %1898, i64 %1900
  %1902 = getelementptr inbounds %struct.checksumsha256, ptr %1901, i32 0, i32 1
  %1903 = getelementptr inbounds [32 x i8], ptr %1902, i64 0, i64 0
  %1904 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1905 = load i32, ptr %22, align 4, !tbaa !5
  %1906 = sext i32 %1905 to i64
  %1907 = getelementptr inbounds %struct.checksumsha256, ptr %1904, i64 %1906
  %1908 = getelementptr inbounds %struct.checksumsha256, ptr %1907, i32 0, i32 0
  %1909 = getelementptr inbounds [32 x i8], ptr %1908, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1903, ptr align 1 %1909, i64 32, i1 false)
  br label %1910

1910:                                             ; preds = %1897
  %1911 = load i32, ptr %22, align 4, !tbaa !5
  %1912 = add nsw i32 %1911, 1
  store i32 %1912, ptr %22, align 4, !tbaa !5
  br label %1875, !llvm.loop !48

1913:                                             ; preds = %1875
  %1914 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %1915 unwind label %479

1915:                                             ; preds = %1913
  br label %1916

1916:                                             ; preds = %1915, %1871
  %1917 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1918 = icmp ne i32 %1917, 0
  br i1 %1918, label %1919, label %1925

1919:                                             ; preds = %1916
  %1920 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %1921 = icmp ne i32 %1920, 0
  br i1 %1921, label %1922, label %1925

1922:                                             ; preds = %1919
  %1923 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %1924 = icmp ne i32 %1923, 0
  br i1 %1924, label %1931, label %1925

1925:                                             ; preds = %1922, %1919, %1916
  %1926 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.112)
          to label %1927 unwind label %479

1927:                                             ; preds = %1925
  %1928 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1929 = invoke i32 @fflush(ptr noundef %1928)
          to label %1930 unwind label %479

1930:                                             ; preds = %1927
  br label %1931

1931:                                             ; preds = %1930, %1922
  %1932 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  %1933 = icmp ne i32 %1932, 0
  br i1 %1933, label %1952, label %1934

1934:                                             ; preds = %1931
  %1935 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1936 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.113, i64 noundef %1935)
          to label %1937 unwind label %479

1937:                                             ; preds = %1934
  %1938 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1939 = invoke i32 @fflush(ptr noundef %1938)
          to label %1940 unwind label %479

1940:                                             ; preds = %1937
  %1941 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %1942 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  invoke void @_Z9bsgs_sortP11bsgs_xvaluel(ptr noundef %1941, i64 noundef %1942)
          to label %1943 unwind label %479

1943:                                             ; preds = %1940
  %1944 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %1945 = load i64, ptr @bytes, align 8, !tbaa !11
  invoke void @_Z6sha256PhmS_(ptr noundef %1944, i64 noundef %1945, ptr noundef @checksum)
          to label %1946 unwind label %479

1946:                                             ; preds = %1943
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @checksum_backup, ptr align 16 @checksum, i64 32, i1 false)
  %1947 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.114)
          to label %1948 unwind label %479

1948:                                             ; preds = %1946
  %1949 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1950 = invoke i32 @fflush(ptr noundef %1949)
          to label %1951 unwind label %479

1951:                                             ; preds = %1948
  br label %1952

1952:                                             ; preds = %1951, %1931
  %1953 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !5
  %1954 = icmp ne i32 %1953, 0
  br i1 %1954, label %1958, label %1955

1955:                                             ; preds = %1952
  %1956 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  %1957 = icmp ne i32 %1956, 0
  br i1 %1957, label %1958, label %2294

1958:                                             ; preds = %1955, %1952
  %1959 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1960 = icmp ne i32 %1959, 0
  br i1 %1960, label %1961, label %1964

1961:                                             ; preds = %1958
  %1962 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  %1963 = icmp ne i32 %1962, 0
  br i1 %1963, label %1964, label %2060

1964:                                             ; preds = %1961, %1958
  %1965 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1966 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.87, i64 noundef %1965) #15
  %1967 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  %1968 = icmp ne i32 %1967, 0
  br i1 %1968, label %1969, label %1972

1969:                                             ; preds = %1964
  %1970 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.115)
          to label %1971 unwind label %479

1971:                                             ; preds = %1969
  br label %1972

1972:                                             ; preds = %1971, %1964
  %1973 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.116)
          to label %1974 unwind label %479

1974:                                             ; preds = %1972
  store ptr %1973, ptr %6, align 8, !tbaa !9
  %1975 = load ptr, ptr %6, align 8, !tbaa !9
  %1976 = icmp ne ptr %1975, null
  br i1 %1976, label %1977, label %2056

1977:                                             ; preds = %1974
  %1978 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.117, ptr noundef @buffer_bloom_file)
          to label %1979 unwind label %479

1979:                                             ; preds = %1977
  %1980 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1981 = invoke i32 @fflush(ptr noundef %1980)
          to label %1982 unwind label %479

1982:                                             ; preds = %1979
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %1983

1983:                                             ; preds = %2047, %1982
  %1984 = load i32, ptr %22, align 4, !tbaa !5
  %1985 = icmp slt i32 %1984, 256
  br i1 %1985, label %1986, label %2050

1986:                                             ; preds = %1983
  %1987 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1988 = load i32, ptr %22, align 4, !tbaa !5
  %1989 = sext i32 %1988 to i64
  %1990 = getelementptr inbounds %struct.bloom, ptr %1987, i64 %1989
  %1991 = load ptr, ptr %6, align 8, !tbaa !9
  %1992 = invoke i64 @fwrite(ptr noundef %1990, i64 noundef 80, i64 noundef 1, ptr noundef %1991)
          to label %1993 unwind label %479

1993:                                             ; preds = %1986
  %1994 = trunc i64 %1992 to i32
  store i32 %1994, ptr %19, align 4, !tbaa !5
  %1995 = load i32, ptr %19, align 4, !tbaa !5
  %1996 = icmp ne i32 %1995, 1
  br i1 %1996, label %1997, label %2000

1997:                                             ; preds = %1993
  %1998 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1999 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1998, ptr noundef @.str.118, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2000:                                             ; preds = %1993
  %2001 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %2002 = load i32, ptr %22, align 4, !tbaa !5
  %2003 = sext i32 %2002 to i64
  %2004 = getelementptr inbounds %struct.bloom, ptr %2001, i64 %2003
  %2005 = getelementptr inbounds %struct.bloom, ptr %2004, i32 0, i32 9
  %2006 = load ptr, ptr %2005, align 16, !tbaa !27
  %2007 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %2008 = load i32, ptr %22, align 4, !tbaa !5
  %2009 = sext i32 %2008 to i64
  %2010 = getelementptr inbounds %struct.bloom, ptr %2007, i64 %2009
  %2011 = getelementptr inbounds %struct.bloom, ptr %2010, i32 0, i32 2
  %2012 = load i64, ptr %2011, align 16, !tbaa !16
  %2013 = load ptr, ptr %6, align 8, !tbaa !9
  %2014 = invoke i64 @fwrite(ptr noundef %2006, i64 noundef %2012, i64 noundef 1, ptr noundef %2013)
          to label %2015 unwind label %479

2015:                                             ; preds = %2000
  %2016 = trunc i64 %2014 to i32
  store i32 %2016, ptr %19, align 4, !tbaa !5
  %2017 = load i32, ptr %19, align 4, !tbaa !5
  %2018 = icmp ne i32 %2017, 1
  br i1 %2018, label %2019, label %2022

2019:                                             ; preds = %2015
  %2020 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2021 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2020, ptr noundef @.str.118, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2022:                                             ; preds = %2015
  %2023 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %2024 = load i32, ptr %22, align 4, !tbaa !5
  %2025 = sext i32 %2024 to i64
  %2026 = getelementptr inbounds %struct.checksumsha256, ptr %2023, i64 %2025
  %2027 = load ptr, ptr %6, align 8, !tbaa !9
  %2028 = invoke i64 @fwrite(ptr noundef %2026, i64 noundef 64, i64 noundef 1, ptr noundef %2027)
          to label %2029 unwind label %479

2029:                                             ; preds = %2022
  %2030 = trunc i64 %2028 to i32
  store i32 %2030, ptr %19, align 4, !tbaa !5
  %2031 = load i32, ptr %19, align 4, !tbaa !5
  %2032 = icmp ne i32 %2031, 1
  br i1 %2032, label %2033, label %2036

2033:                                             ; preds = %2029
  %2034 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2035 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2034, ptr noundef @.str.118, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2036:                                             ; preds = %2029
  %2037 = load i32, ptr %22, align 4, !tbaa !5
  %2038 = srem i32 %2037, 64
  %2039 = icmp eq i32 %2038, 0
  br i1 %2039, label %2040, label %2046

2040:                                             ; preds = %2036
  %2041 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %2042 unwind label %479

2042:                                             ; preds = %2040
  %2043 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2044 = invoke i32 @fflush(ptr noundef %2043)
          to label %2045 unwind label %479

2045:                                             ; preds = %2042
  br label %2046

2046:                                             ; preds = %2045, %2036
  br label %2047

2047:                                             ; preds = %2046
  %2048 = load i32, ptr %22, align 4, !tbaa !5
  %2049 = add nsw i32 %2048, 1
  store i32 %2049, ptr %22, align 4, !tbaa !5
  br label %1983, !llvm.loop !49

2050:                                             ; preds = %1983
  %2051 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.93)
          to label %2052 unwind label %479

2052:                                             ; preds = %2050
  %2053 = load ptr, ptr %6, align 8, !tbaa !9
  %2054 = invoke i32 @fclose(ptr noundef %2053)
          to label %2055 unwind label %479

2055:                                             ; preds = %2052
  br label %2059

2056:                                             ; preds = %1974
  %2057 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2058 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2057, ptr noundef @.str.119, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2059:                                             ; preds = %2055
  br label %2060

2060:                                             ; preds = %2059, %1961
  %2061 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %2062 = icmp ne i32 %2061, 0
  br i1 %2062, label %2153, label %2063

2063:                                             ; preds = %2060
  %2064 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %2065 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.96, i64 noundef %2064) #15
  %2066 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.116)
          to label %2067 unwind label %479

2067:                                             ; preds = %2063
  store ptr %2066, ptr %7, align 8, !tbaa !9
  %2068 = load ptr, ptr %7, align 8, !tbaa !9
  %2069 = icmp ne ptr %2068, null
  br i1 %2069, label %2070, label %2149

2070:                                             ; preds = %2067
  %2071 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.117, ptr noundef @buffer_bloom_file)
          to label %2072 unwind label %479

2072:                                             ; preds = %2070
  %2073 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2074 = invoke i32 @fflush(ptr noundef %2073)
          to label %2075 unwind label %479

2075:                                             ; preds = %2072
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %2076

2076:                                             ; preds = %2140, %2075
  %2077 = load i32, ptr %22, align 4, !tbaa !5
  %2078 = icmp slt i32 %2077, 256
  br i1 %2078, label %2079, label %2143

2079:                                             ; preds = %2076
  %2080 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2081 = load i32, ptr %22, align 4, !tbaa !5
  %2082 = sext i32 %2081 to i64
  %2083 = getelementptr inbounds %struct.bloom, ptr %2080, i64 %2082
  %2084 = load ptr, ptr %7, align 8, !tbaa !9
  %2085 = invoke i64 @fwrite(ptr noundef %2083, i64 noundef 80, i64 noundef 1, ptr noundef %2084)
          to label %2086 unwind label %479

2086:                                             ; preds = %2079
  %2087 = trunc i64 %2085 to i32
  store i32 %2087, ptr %19, align 4, !tbaa !5
  %2088 = load i32, ptr %19, align 4, !tbaa !5
  %2089 = icmp ne i32 %2088, 1
  br i1 %2089, label %2090, label %2093

2090:                                             ; preds = %2086
  %2091 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2092 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2091, ptr noundef @.str.120, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2093:                                             ; preds = %2086
  %2094 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2095 = load i32, ptr %22, align 4, !tbaa !5
  %2096 = sext i32 %2095 to i64
  %2097 = getelementptr inbounds %struct.bloom, ptr %2094, i64 %2096
  %2098 = getelementptr inbounds %struct.bloom, ptr %2097, i32 0, i32 9
  %2099 = load ptr, ptr %2098, align 16, !tbaa !27
  %2100 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2101 = load i32, ptr %22, align 4, !tbaa !5
  %2102 = sext i32 %2101 to i64
  %2103 = getelementptr inbounds %struct.bloom, ptr %2100, i64 %2102
  %2104 = getelementptr inbounds %struct.bloom, ptr %2103, i32 0, i32 2
  %2105 = load i64, ptr %2104, align 16, !tbaa !16
  %2106 = load ptr, ptr %7, align 8, !tbaa !9
  %2107 = invoke i64 @fwrite(ptr noundef %2099, i64 noundef %2105, i64 noundef 1, ptr noundef %2106)
          to label %2108 unwind label %479

2108:                                             ; preds = %2093
  %2109 = trunc i64 %2107 to i32
  store i32 %2109, ptr %19, align 4, !tbaa !5
  %2110 = load i32, ptr %19, align 4, !tbaa !5
  %2111 = icmp ne i32 %2110, 1
  br i1 %2111, label %2112, label %2115

2112:                                             ; preds = %2108
  %2113 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2113, ptr noundef @.str.120, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2115:                                             ; preds = %2108
  %2116 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %2117 = load i32, ptr %22, align 4, !tbaa !5
  %2118 = sext i32 %2117 to i64
  %2119 = getelementptr inbounds %struct.checksumsha256, ptr %2116, i64 %2118
  %2120 = load ptr, ptr %7, align 8, !tbaa !9
  %2121 = invoke i64 @fwrite(ptr noundef %2119, i64 noundef 64, i64 noundef 1, ptr noundef %2120)
          to label %2122 unwind label %479

2122:                                             ; preds = %2115
  %2123 = trunc i64 %2121 to i32
  store i32 %2123, ptr %19, align 4, !tbaa !5
  %2124 = load i32, ptr %19, align 4, !tbaa !5
  %2125 = icmp ne i32 %2124, 1
  br i1 %2125, label %2126, label %2129

2126:                                             ; preds = %2122
  %2127 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2127, ptr noundef @.str.118, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2129:                                             ; preds = %2122
  %2130 = load i32, ptr %22, align 4, !tbaa !5
  %2131 = srem i32 %2130, 64
  %2132 = icmp eq i32 %2131, 0
  br i1 %2132, label %2133, label %2139

2133:                                             ; preds = %2129
  %2134 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %2135 unwind label %479

2135:                                             ; preds = %2133
  %2136 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2137 = invoke i32 @fflush(ptr noundef %2136)
          to label %2138 unwind label %479

2138:                                             ; preds = %2135
  br label %2139

2139:                                             ; preds = %2138, %2129
  br label %2140

2140:                                             ; preds = %2139
  %2141 = load i32, ptr %22, align 4, !tbaa !5
  %2142 = add nsw i32 %2141, 1
  store i32 %2142, ptr %22, align 4, !tbaa !5
  br label %2076, !llvm.loop !50

2143:                                             ; preds = %2076
  %2144 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.93)
          to label %2145 unwind label %479

2145:                                             ; preds = %2143
  %2146 = load ptr, ptr %7, align 8, !tbaa !9
  %2147 = invoke i32 @fclose(ptr noundef %2146)
          to label %2148 unwind label %479

2148:                                             ; preds = %2145
  br label %2152

2149:                                             ; preds = %2067
  %2150 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2150, ptr noundef @.str.119, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2152:                                             ; preds = %2148
  br label %2153

2153:                                             ; preds = %2152, %2060
  %2154 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  %2155 = icmp ne i32 %2154, 0
  br i1 %2155, label %2200, label %2156

2156:                                             ; preds = %2153
  %2157 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %2158 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.99, i64 noundef %2157) #15
  %2159 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.116)
          to label %2160 unwind label %479

2160:                                             ; preds = %2156
  store ptr %2159, ptr %8, align 8, !tbaa !9
  %2161 = load ptr, ptr %8, align 8, !tbaa !9
  %2162 = icmp ne ptr %2161, null
  br i1 %2162, label %2163, label %2196

2163:                                             ; preds = %2160
  %2164 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.121, ptr noundef @buffer_bloom_file)
          to label %2165 unwind label %479

2165:                                             ; preds = %2163
  %2166 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2167 = invoke i32 @fflush(ptr noundef %2166)
          to label %2168 unwind label %479

2168:                                             ; preds = %2165
  %2169 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %2170 = load i64, ptr @bytes, align 8, !tbaa !11
  %2171 = load ptr, ptr %8, align 8, !tbaa !9
  %2172 = invoke i64 @fwrite(ptr noundef %2169, i64 noundef %2170, i64 noundef 1, ptr noundef %2171)
          to label %2173 unwind label %479

2173:                                             ; preds = %2168
  %2174 = trunc i64 %2172 to i32
  store i32 %2174, ptr %19, align 4, !tbaa !5
  %2175 = load i32, ptr %19, align 4, !tbaa !5
  %2176 = icmp ne i32 %2175, 1
  br i1 %2176, label %2177, label %2180

2177:                                             ; preds = %2173
  %2178 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2178, ptr noundef @.str.120, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2180:                                             ; preds = %2173
  %2181 = load ptr, ptr %8, align 8, !tbaa !9
  %2182 = invoke i64 @fwrite(ptr noundef @checksum, i64 noundef 32, i64 noundef 1, ptr noundef %2181)
          to label %2183 unwind label %479

2183:                                             ; preds = %2180
  %2184 = trunc i64 %2182 to i32
  store i32 %2184, ptr %19, align 4, !tbaa !5
  %2185 = load i32, ptr %19, align 4, !tbaa !5
  %2186 = icmp ne i32 %2185, 1
  br i1 %2186, label %2187, label %2190

2187:                                             ; preds = %2183
  %2188 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2188, ptr noundef @.str.120, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2190:                                             ; preds = %2183
  %2191 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.114)
          to label %2192 unwind label %479

2192:                                             ; preds = %2190
  %2193 = load ptr, ptr %8, align 8, !tbaa !9
  %2194 = invoke i32 @fclose(ptr noundef %2193)
          to label %2195 unwind label %479

2195:                                             ; preds = %2192
  br label %2199

2196:                                             ; preds = %2160
  %2197 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2197, ptr noundef @.str.119, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2199:                                             ; preds = %2195
  br label %2200

2200:                                             ; preds = %2199, %2153
  %2201 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %2202 = icmp ne i32 %2201, 0
  br i1 %2202, label %2293, label %2203

2203:                                             ; preds = %2200
  %2204 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %2205 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.102, i64 noundef %2204) #15
  %2206 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.116)
          to label %2207 unwind label %479

2207:                                             ; preds = %2203
  store ptr %2206, ptr %7, align 8, !tbaa !9
  %2208 = load ptr, ptr %7, align 8, !tbaa !9
  %2209 = icmp ne ptr %2208, null
  br i1 %2209, label %2210, label %2289

2210:                                             ; preds = %2207
  %2211 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.117, ptr noundef @buffer_bloom_file)
          to label %2212 unwind label %479

2212:                                             ; preds = %2210
  %2213 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2214 = invoke i32 @fflush(ptr noundef %2213)
          to label %2215 unwind label %479

2215:                                             ; preds = %2212
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %2216

2216:                                             ; preds = %2280, %2215
  %2217 = load i32, ptr %22, align 4, !tbaa !5
  %2218 = icmp slt i32 %2217, 256
  br i1 %2218, label %2219, label %2283

2219:                                             ; preds = %2216
  %2220 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2221 = load i32, ptr %22, align 4, !tbaa !5
  %2222 = sext i32 %2221 to i64
  %2223 = getelementptr inbounds %struct.bloom, ptr %2220, i64 %2222
  %2224 = load ptr, ptr %7, align 8, !tbaa !9
  %2225 = invoke i64 @fwrite(ptr noundef %2223, i64 noundef 80, i64 noundef 1, ptr noundef %2224)
          to label %2226 unwind label %479

2226:                                             ; preds = %2219
  %2227 = trunc i64 %2225 to i32
  store i32 %2227, ptr %19, align 4, !tbaa !5
  %2228 = load i32, ptr %19, align 4, !tbaa !5
  %2229 = icmp ne i32 %2228, 1
  br i1 %2229, label %2230, label %2233

2230:                                             ; preds = %2226
  %2231 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2231, ptr noundef @.str.120, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2233:                                             ; preds = %2226
  %2234 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2235 = load i32, ptr %22, align 4, !tbaa !5
  %2236 = sext i32 %2235 to i64
  %2237 = getelementptr inbounds %struct.bloom, ptr %2234, i64 %2236
  %2238 = getelementptr inbounds %struct.bloom, ptr %2237, i32 0, i32 9
  %2239 = load ptr, ptr %2238, align 16, !tbaa !27
  %2240 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2241 = load i32, ptr %22, align 4, !tbaa !5
  %2242 = sext i32 %2241 to i64
  %2243 = getelementptr inbounds %struct.bloom, ptr %2240, i64 %2242
  %2244 = getelementptr inbounds %struct.bloom, ptr %2243, i32 0, i32 2
  %2245 = load i64, ptr %2244, align 16, !tbaa !16
  %2246 = load ptr, ptr %7, align 8, !tbaa !9
  %2247 = invoke i64 @fwrite(ptr noundef %2239, i64 noundef %2245, i64 noundef 1, ptr noundef %2246)
          to label %2248 unwind label %479

2248:                                             ; preds = %2233
  %2249 = trunc i64 %2247 to i32
  store i32 %2249, ptr %19, align 4, !tbaa !5
  %2250 = load i32, ptr %19, align 4, !tbaa !5
  %2251 = icmp ne i32 %2250, 1
  br i1 %2251, label %2252, label %2255

2252:                                             ; preds = %2248
  %2253 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2253, ptr noundef @.str.120, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2255:                                             ; preds = %2248
  %2256 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %2257 = load i32, ptr %22, align 4, !tbaa !5
  %2258 = sext i32 %2257 to i64
  %2259 = getelementptr inbounds %struct.checksumsha256, ptr %2256, i64 %2258
  %2260 = load ptr, ptr %7, align 8, !tbaa !9
  %2261 = invoke i64 @fwrite(ptr noundef %2259, i64 noundef 64, i64 noundef 1, ptr noundef %2260)
          to label %2262 unwind label %479

2262:                                             ; preds = %2255
  %2263 = trunc i64 %2261 to i32
  store i32 %2263, ptr %19, align 4, !tbaa !5
  %2264 = load i32, ptr %19, align 4, !tbaa !5
  %2265 = icmp ne i32 %2264, 1
  br i1 %2265, label %2266, label %2269

2266:                                             ; preds = %2262
  %2267 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2267, ptr noundef @.str.118, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2269:                                             ; preds = %2262
  %2270 = load i32, ptr %22, align 4, !tbaa !5
  %2271 = srem i32 %2270, 64
  %2272 = icmp eq i32 %2271, 0
  br i1 %2272, label %2273, label %2279

2273:                                             ; preds = %2269
  %2274 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.92)
          to label %2275 unwind label %479

2275:                                             ; preds = %2273
  %2276 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2277 = invoke i32 @fflush(ptr noundef %2276)
          to label %2278 unwind label %479

2278:                                             ; preds = %2275
  br label %2279

2279:                                             ; preds = %2278, %2269
  br label %2280

2280:                                             ; preds = %2279
  %2281 = load i32, ptr %22, align 4, !tbaa !5
  %2282 = add nsw i32 %2281, 1
  store i32 %2282, ptr %22, align 4, !tbaa !5
  br label %2216, !llvm.loop !51

2283:                                             ; preds = %2216
  %2284 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.93)
          to label %2285 unwind label %479

2285:                                             ; preds = %2283
  %2286 = load ptr, ptr %7, align 8, !tbaa !9
  %2287 = invoke i32 @fclose(ptr noundef %2286)
          to label %2288 unwind label %479

2288:                                             ; preds = %2285
  br label %2292

2289:                                             ; preds = %2207
  %2290 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2291 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2290, ptr noundef @.str.119, ptr noundef @buffer_bloom_file) #15
  call void @exit(i32 noundef 0) #18
  unreachable

2292:                                             ; preds = %2288
  br label %2293

2293:                                             ; preds = %2292, %2200
  br label %2294

2294:                                             ; preds = %2293, %1955
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %46) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %46) #15
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %45) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %45) #15
  br label %2297

2295:                                             ; preds = %533, %529, %525, %491, %487, %483, %479, %475, %438, %425
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %46) #15
  br label %2296

2296:                                             ; preds = %2295, %421
  call void @llvm.lifetime.end.p0(i64 120, ptr %46) #15
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %45) #15
  call void @llvm.lifetime.end.p0(i64 120, ptr %45) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #15
  br label %2364

2297:                                             ; preds = %2294, %154
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #15
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #15
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #15
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #15
  store i32 16, ptr %62, align 4, !tbaa !5
  %2298 = call i32 @socket(i32 noundef 2, i32 noundef 1, i32 noundef 0) #15
  store i32 %2298, ptr %57, align 4, !tbaa !5
  %2299 = icmp eq i32 %2298, 0
  br i1 %2299, label %2300, label %2301

2300:                                             ; preds = %2297
  call void @perror(ptr noundef @.str.122)
  call void @exit(i32 noundef 1) #18
  unreachable

2301:                                             ; preds = %2297
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #15
  store i32 1, ptr %63, align 4, !tbaa !5
  %2302 = load i32, ptr %57, align 4, !tbaa !5
  %2303 = call i32 @setsockopt(i32 noundef %2302, i32 noundef 1, i32 noundef 15, ptr noundef %63, i32 noundef 4) #15
  %2304 = icmp ne i32 %2303, 0
  br i1 %2304, label %2305, label %2306

2305:                                             ; preds = %2301
  call void @perror(ptr noundef @.str.123)
  call void @exit(i32 noundef 1) #18
  unreachable

2306:                                             ; preds = %2301
  %2307 = getelementptr inbounds %struct.sockaddr_in, ptr %59, i32 0, i32 0
  store i16 2, ptr %2307, align 4, !tbaa !52
  %2308 = load ptr, ptr @IP, align 8, !tbaa !9
  %2309 = call i32 @inet_addr(ptr noundef %2308) #15
  %2310 = getelementptr inbounds %struct.sockaddr_in, ptr %59, i32 0, i32 2
  %2311 = getelementptr inbounds %struct.in_addr, ptr %2310, i32 0, i32 0
  store i32 %2309, ptr %2311, align 4, !tbaa !56
  %2312 = call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext 8080)
  %2313 = getelementptr inbounds %struct.sockaddr_in, ptr %59, i32 0, i32 1
  store i16 %2312, ptr %2313, align 2, !tbaa !57
  %2314 = load i32, ptr %57, align 4, !tbaa !5
  %2315 = call i32 @bind(i32 noundef %2314, ptr noundef %59, i32 noundef 16) #15
  %2316 = icmp slt i32 %2315, 0
  br i1 %2316, label %2317, label %2318

2317:                                             ; preds = %2306
  call void @perror(ptr noundef @.str.124)
  call void @exit(i32 noundef 1) #18
  unreachable

2318:                                             ; preds = %2306
  %2319 = load ptr, ptr @IP, align 8, !tbaa !9
  %2320 = load i32, ptr @port, align 4, !tbaa !5
  %2321 = call i32 (ptr, ...) @printf(ptr noundef @.str.125, ptr noundef %2319, i32 noundef %2320)
  %2322 = load i32, ptr %57, align 4, !tbaa !5
  %2323 = call i32 @listen(i32 noundef %2322, i32 noundef 3) #15
  %2324 = icmp slt i32 %2323, 0
  br i1 %2324, label %2325, label %2326

2325:                                             ; preds = %2318
  call void @perror(ptr noundef @.str.126)
  call void @exit(i32 noundef 1) #18
  unreachable

2326:                                             ; preds = %2318
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #15
  br label %2327

2327:                                             ; preds = %2358, %2326
  br label %2328

2328:                                             ; preds = %2327
  %2329 = load i32, ptr %57, align 4, !tbaa !5
  %2330 = call i32 @accept(i32 noundef %2329, ptr noundef %59, ptr noundef %62)
  store i32 %2330, ptr %58, align 4, !tbaa !5
  %2331 = icmp slt i32 %2330, 0
  br i1 %2331, label %2332, label %2333

2332:                                             ; preds = %2328
  call void @perror(ptr noundef @.str.127)
  call void @exit(i32 noundef 1) #18
  unreachable

2333:                                             ; preds = %2328
  %2334 = getelementptr inbounds %struct.sockaddr_in, ptr %59, i32 0, i32 2
  %2335 = getelementptr inbounds [16 x i8], ptr %60, i64 0, i64 0
  %2336 = call ptr @inet_ntop(i32 noundef 2, ptr noundef %2334, ptr noundef %2335, i32 noundef 16) #15
  %2337 = getelementptr inbounds %struct.sockaddr_in, ptr %59, i32 0, i32 1
  %2338 = load i16, ptr %2337, align 2, !tbaa !57
  %2339 = call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext %2338)
  %2340 = zext i16 %2339 to i32
  store i32 %2340, ptr %61, align 4, !tbaa !5
  %2341 = getelementptr inbounds [16 x i8], ptr %60, i64 0, i64 0
  %2342 = load i32, ptr %61, align 4, !tbaa !5
  %2343 = call i32 (ptr, ...) @printf(ptr noundef @.str.128, ptr noundef %2341, i32 noundef %2342)
  %2344 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2345 = call i32 @fflush(ptr noundef %2344)
  %2346 = call i32 @pthread_create(ptr noundef %64, ptr noundef null, ptr noundef @_Z14client_handlerPv, ptr noundef %58) #15
  %2347 = icmp ne i32 %2346, 0
  br i1 %2347, label %2348, label %2350

2348:                                             ; preds = %2333
  call void @perror(ptr noundef @.str.129)
  %2349 = call i32 (ptr, ...) @printf(ptr noundef @.str.130)
  br label %2358

2350:                                             ; preds = %2333
  %2351 = load i64, ptr %64, align 8, !tbaa !11
  %2352 = call i32 @pthread_join(i64 noundef %2351, ptr noundef null)
  %2353 = icmp ne i32 %2352, 0
  br i1 %2353, label %2354, label %2357

2354:                                             ; preds = %2350
  %2355 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2356 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2355, ptr noundef @.str.131) #15
  call void @exit(i32 noundef 1) #18
  unreachable

2357:                                             ; preds = %2350
  br label %2358

2358:                                             ; preds = %2357, %2348
  %2359 = getelementptr inbounds [16 x i8], ptr %60, i64 0, i64 0
  %2360 = load i32, ptr %61, align 4, !tbaa !5
  %2361 = call i32 (ptr, ...) @printf(ptr noundef @.str.132, ptr noundef %2359, i32 noundef %2360)
  %2362 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2363 = call i32 @fflush(ptr noundef %2362)
  br label %2327, !llvm.loop !58

2364:                                             ; preds = %2296, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %32) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %31) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %29) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #15
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #15
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #15
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #15
  br label %2365

2365:                                             ; preds = %2364
  %2366 = load ptr, ptr %35, align 8
  %2367 = load i32, ptr %36, align 4
  %2368 = insertvalue { ptr, i32 } poison, ptr %2366, 0
  %2369 = insertvalue { ptr, i32 } %2368, i32 %2367, 1
  resume { ptr, i32 } %2369
}

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

; Function Attrs: nounwind
declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind
declare void @srand(i32 noundef) #0

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #0

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

declare void @_ZN9Secp256K1C1Ev(ptr noundef nonnull align 8 dereferenceable(983240)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240)) #1

declare void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #1

declare i64 @getrandom(ptr noundef, i64 noundef, i32 noundef) #1

declare void @_Z5rseedm(i64 noundef) #1

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4menuv() #7

; Function Attrs: nounwind
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z14init_generatorv() #7

declare void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #1

declare void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #1

declare void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #1

declare noundef zeroext i1 @_ZN3Int7HasSqrtEv(ptr noundef nonnull align 8 dereferenceable(40)) #1

declare void @_ZN3Int7ModSqrtEv(ptr noundef nonnull align 8 dereferenceable(40)) #1

declare void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #1

declare noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40)) #1

declare noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40)) #1

declare void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #1

declare void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) #1

declare void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40)) #1

declare void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #1

declare noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40)) #1

declare noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40)) #1

; Function Attrs: nounwind
declare void @free(ptr noundef) #0

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #9

declare i32 @fflush(ptr noundef) #1

declare i32 @bloom_init2(ptr noundef, i64 noundef, x86_fp80 noundef) #1

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

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

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

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

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

declare void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #1

; 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) #9 align 2

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

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

declare void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) #1

declare void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120)) #1

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #11

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

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #0

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

declare void @_Z6sha256PhmS_(ptr noundef, i64 noundef, ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #13

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z21thread_bPload_2bloomsPv(ptr noundef) #7

; Function Attrs: nounwind
declare i32 @pthread_detach(i64 noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z13thread_bPloadPv(ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9bsgs_sortP11bsgs_xvaluel(ptr noundef, i64 noundef) #7

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

; Function Attrs: nounwind
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #0

declare void @perror(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind
declare i32 @inet_addr(ptr noundef) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext) #14

; Function Attrs: nounwind
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind
declare i32 @listen(i32 noundef, i32 noundef) #0

declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14client_handlerPv(ptr noundef) #7

declare i32 @pthread_join(i64 noundef, ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !12, i64 16}
!17 = !{!"_ZTS5bloom", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !18, i64 32, !7, i64 48, !7, i64 49, !7, i64 50, !19, i64 56, !10, i64 64}
!18 = !{!"long double", !7, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = !{i64 0, i64 40, !15, i64 40, i64 40, !15, i64 80, i64 40, !15}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = !{!17, !10, i64 64}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = !{!34, !12, i64 8}
!34 = !{!"_ZTS6bPload", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !6, i64 40, !6, i64 44}
!35 = !{!34, !6, i64 0}
!36 = !{!34, !6, i64 44}
!37 = !{!34, !12, i64 16}
!38 = !{!34, !12, i64 32}
!39 = distinct !{!39, !14}
!40 = distinct !{!40, !14}
!41 = distinct !{!41, !14}
!42 = distinct !{!42, !14}
!43 = distinct !{!43, !14}
!44 = distinct !{!44, !14}
!45 = distinct !{!45, !14}
!46 = distinct !{!46, !14}
!47 = distinct !{!47, !14}
!48 = distinct !{!48, !14}
!49 = distinct !{!49, !14}
!50 = distinct !{!50, !14}
!51 = distinct !{!51, !14}
!52 = !{!53, !54, i64 0}
!53 = !{!"_ZTS11sockaddr_in", !54, i64 0, !54, i64 2, !55, i64 4, !7, i64 8}
!54 = !{!"short", !7, i64 0}
!55 = !{!"_ZTS7in_addr", !6, i64 0}
!56 = !{!53, !6, i64 4}
!57 = !{!53, !54, i64 2}
!58 = distinct !{!58, !14}


; 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] }
%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.oldbloom = type { i64, i64, i64, i8, x86_fp80, i8, i8, i8, double, [32 x i8], [32 x i8], ptr, %union.pthread_mutex_t }
%struct.sockaddr_in = type { i16, i16, %struct.in_addr, [8 x i8] }
%struct.in_addr = type { i32 }
%struct.bloom = type { i64, i64, i64, i8, x86_fp80, i8, i8, i8, double, ptr }
%struct.checksumsha256 = type { [32 x i8], [32 x i8] }
%struct.bPload = type { i32, i64, i64, i64, i64, i32, i32 }

@THREADBPWORKLOAD = external dso_local local_unnamed_addr global i32, align 4
@version = external dso_local local_unnamed_addr global ptr, align 8
@ip_default = external dso_local local_unnamed_addr global ptr, align 8
@IP = external dso_local local_unnamed_addr global ptr, align 8
@port = external dso_local local_unnamed_addr global i32, align 4
@GSn = external dso_local global %"class.std::vector", align 8
@_2GSn = external dso_local local_unnamed_addr global %class.Point, align 8
@bsgs_modes = external dso_local local_unnamed_addr global [5 x ptr], align 16
@tid = external dso_local local_unnamed_addr global ptr, align 8
@write_keys = external dso_local global %union.pthread_mutex_t, align 8
@write_random = external dso_local global %union.pthread_mutex_t, align 8
@mutex_bsgs_thread = external dso_local global %union.pthread_mutex_t, align 8
@bPload_mutex = external dso_local local_unnamed_addr global ptr, align 8
@FINISHED_THREADS_COUNTER = external dso_local local_unnamed_addr global i64, align 8
@FINISHED_THREADS_BP = external dso_local local_unnamed_addr global i64, align 8
@THREADCYCLES = external dso_local local_unnamed_addr global i64, align 8
@THREADCOUNTER = external dso_local local_unnamed_addr global i64, align 8
@FINISHED_ITEMS = external dso_local local_unnamed_addr global i64, align 8
@OLDFINISHED_ITEMS = external dso_local local_unnamed_addr global i64, align 8
@FLAGSKIPCHECKSUM = external dso_local local_unnamed_addr global i32, align 4
@FLAGBSGSMODE = external dso_local local_unnamed_addr global i32, align 4
@KFACTOR = external dso_local local_unnamed_addr global i32, align 4
@NTHREADS = external dso_local local_unnamed_addr global i32, align 4
@FLAGSAVEREADFILE = external dso_local local_unnamed_addr global i32, align 4
@FLAGREADEDFILE1 = external dso_local local_unnamed_addr global i32, align 4
@FLAGREADEDFILE2 = external dso_local local_unnamed_addr global i32, align 4
@FLAGREADEDFILE3 = external dso_local local_unnamed_addr global i32, align 4
@FLAGREADEDFILE4 = external dso_local local_unnamed_addr global i32, align 4
@FLAGUPDATEFILE1 = external dso_local local_unnamed_addr global i32, align 4
@FLAGMODE = external dso_local local_unnamed_addr global i32, align 4
@FLAG_N = external dso_local local_unnamed_addr global i32, align 4
@str_N = external dso_local local_unnamed_addr global ptr, align 8
@stride = external dso_local global %class.Int, align 8
@bytes = external dso_local local_unnamed_addr global i64, align 8
@checksum = external dso_local global [32 x i8], align 16
@checksum_backup = external dso_local global [32 x i8], align 16
@buffer_bloom_file = external dso_local global [1024 x i8], align 16
@bPtable = external dso_local local_unnamed_addr global ptr, align 8
@oldbloom_bP = external dso_local global %struct.oldbloom, align 16
@bloom_bP = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx2nd = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx3rd = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bP_checksums = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx2nd_checksums = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx3rd_checksums = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bP_mutex = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx2nd_mutex = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bPx3rd_mutex = external dso_local local_unnamed_addr global ptr, align 8
@bloom_bP_totalbytes = external dso_local local_unnamed_addr global i64, align 8
@bloom_bP2_totalbytes = external dso_local local_unnamed_addr global i64, align 8
@bloom_bP3_totalbytes = external dso_local local_unnamed_addr global i64, align 8
@bsgs_m = external dso_local local_unnamed_addr global i64, 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
@bsgs_aux = external dso_local local_unnamed_addr global i64, align 8
@BSGS_GROUP_SIZE = external dso_local global %class.Int, align 8
@BSGS_R = external dso_local global %class.Int, align 8
@BSGS_AUX = external dso_local global %class.Int, align 8
@BSGS_N = external dso_local global %class.Int, align 8
@BSGS_M = external dso_local global %class.Int, align 8
@BSGS_M_double = external dso_local global %class.Int, align 8
@BSGS_M2 = external dso_local global %class.Int, align 8
@BSGS_M2_double = external dso_local global %class.Int, align 8
@BSGS_M3 = external dso_local global %class.Int, align 8
@BSGS_M3_double = external dso_local global %class.Int, align 8
@ONE = external dso_local global %class.Int, align 8
@ZERO = external dso_local global %class.Int, align 8
@BSGS_MP = external dso_local local_unnamed_addr global %class.Point, align 8
@BSGS_MP2 = external dso_local global %class.Point, align 8
@BSGS_MP3 = external dso_local global %class.Point, align 8
@BSGS_MP_double = external dso_local global %class.Point, align 8
@BSGS_MP2_double = external dso_local global %class.Point, align 8
@BSGS_MP3_double = external dso_local global %class.Point, align 8
@BSGS_AMP2 = external dso_local global %"class.std::vector", align 8
@BSGS_AMP3 = external dso_local global %"class.std::vector", align 8
@point_temp = external dso_local global %class.Point, align 8
@secp = external dso_local local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.57 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [33 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.61 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.75 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse noreturn uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca [32 x i8], align 16
  %4 = alloca %class.Int, align 8
  %5 = alloca %class.Int, align 8
  %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.Int, align 8
  %11 = alloca %class.Int, align 8
  %12 = alloca %class.Int, align 8
  %13 = alloca i64, align 8
  %14 = alloca %class.Point, align 8
  %15 = alloca %class.Point, align 8
  %16 = alloca %class.Point, align 8
  %17 = alloca %class.Point, align 8
  %18 = alloca %class.Point, align 8
  %19 = alloca %class.Point, align 8
  %20 = alloca %class.Point, align 8
  %21 = alloca %class.Point, align 8
  %22 = alloca %class.Point, align 8
  %23 = alloca %class.Point, align 8
  %24 = alloca %class.Point, align 8
  %25 = alloca %class.Point, align 8
  %26 = alloca %class.Point, align 8
  %27 = alloca %class.Point, align 8
  %28 = alloca %class.Point, align 8
  %29 = alloca %class.Point, align 8
  %30 = alloca %class.Point, align 8
  %31 = alloca i32, align 4
  %32 = alloca %struct.sockaddr_in, align 4
  %33 = alloca [16 x i8], align 16
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #19
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %6)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %10)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #19
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %12)
  %37 = call i32 @pthread_mutex_init(ptr noundef nonnull @write_keys, ptr noundef null) #19
  %38 = call i32 @pthread_mutex_init(ptr noundef nonnull @write_random, ptr noundef null) #19
  %39 = call i32 @pthread_mutex_init(ptr noundef nonnull @mutex_bsgs_thread, ptr noundef null) #19
  %40 = call i64 @time(ptr noundef null) #19
  %41 = trunc i64 %40 to i32
  call void @srand(i32 noundef %41) #19
  %42 = call noalias noundef nonnull dereferenceable(983240) ptr @_Znwm(i64 noundef 983240) #20
  invoke void @_ZN9Secp256K1C1Ev(ptr noundef nonnull align 8 dereferenceable(983240) %42)
          to label %43 unwind label %52

43:                                               ; preds = %2
  store ptr %42, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240) %42)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @ZERO, i32 noundef 0)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @ONE, i32 noundef 1)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_GROUP_SIZE, i32 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #19
  %44 = call i64 @getrandom(ptr noundef nonnull %13, i64 noundef 8, i32 noundef 1)
  %45 = trunc i64 %44 to i32
  %46 = icmp sgt i32 %45, 0
  br i1 %46, label %47, label %54

47:                                               ; preds = %43
  %48 = load i64, ptr %13, align 8, !tbaa !9
  call void @_Z5rseedm(i64 noundef %48)
  store i32 8080, ptr @port, align 4, !tbaa !11
  %49 = load ptr, ptr @ip_default, align 8, !tbaa !5
  store ptr %49, ptr @IP, align 8, !tbaa !5
  %50 = load ptr, ptr @version, align 8, !tbaa !5
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.58, ptr noundef %50)
  br label %57

52:                                               ; preds = %2
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %42, i64 noundef 983240) #21
  br label %1237

54:                                               ; preds = %43
  %55 = load ptr, ptr @stderr, align 8, !tbaa !5
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull @.str.57) #22
  call void @exit(i32 noundef 0) #23
  unreachable

57:                                               ; preds = %.backedge, %47
  %58 = call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.59) #19
  switch i32 %58, label %84 [
    i32 -1, label %87
    i32 54, label %59
    i32 104, label %62
    i32 107, label %63
    i32 110, label %68
    i32 116, label %70
    i32 112, label %77
    i32 105, label %82
  ]

59:                                               ; preds = %57
  store i32 1, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %60 = load ptr, ptr @stderr, align 8, !tbaa !5
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.60) #22
  br label %.backedge

62:                                               ; preds = %57
  call void @_Z4menuv()
  br label %.backedge

63:                                               ; preds = %57
  %64 = load ptr, ptr @optarg, align 8, !tbaa !5
  %65 = call i64 @strtol(ptr nocapture noundef %64, ptr noundef null, i32 noundef 10) #19
  %66 = trunc i64 %65 to i32
  %spec.store.select = call i32 @llvm.smax.i32(i32 %66, i32 1)
  store i32 %spec.store.select, ptr @KFACTOR, align 4
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.61, i32 noundef %spec.store.select)
  br label %.backedge

68:                                               ; preds = %57
  store i32 1, ptr @FLAG_N, align 4, !tbaa !11
  %69 = load ptr, ptr @optarg, align 8, !tbaa !5
  store ptr %69, ptr @str_N, align 8, !tbaa !5
  br label %.backedge

70:                                               ; preds = %57
  %71 = load ptr, ptr @optarg, align 8, !tbaa !5
  %72 = call i64 @strtol(ptr nocapture noundef %71, ptr noundef null, i32 noundef 10) #19
  %73 = trunc i64 %72 to i32
  %spec.store.select1 = call i32 @llvm.smax.i32(i32 %73, i32 1)
  store i32 %spec.store.select1, ptr @NTHREADS, align 4
  %74 = icmp sgt i32 %73, 1
  %75 = select i1 %74, ptr @.str.62, ptr @.str.63
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %75, i32 noundef %spec.store.select1)
  br label %.backedge

77:                                               ; preds = %57
  %78 = load ptr, ptr @optarg, align 8, !tbaa !5
  %79 = call i64 @strtol(ptr nocapture noundef %78, ptr noundef null, i32 noundef 10) #19
  %80 = trunc i64 %79 to i32
  %81 = add i32 %80, -65536
  %or.cond = icmp ult i32 %81, -65535
  %spec.store.select25 = select i1 %or.cond, i32 8080, i32 %80
  store i32 %spec.store.select25, ptr @port, align 4
  br label %.backedge

.backedge:                                        ; preds = %77, %82, %70, %68, %63, %62, %59
  br label %57, !llvm.loop !13

82:                                               ; preds = %57
  %83 = load ptr, ptr @optarg, align 8, !tbaa !5
  store ptr %83, ptr @IP, align 8, !tbaa !5
  br label %.backedge

84:                                               ; preds = %57
  %85 = load ptr, ptr @stderr, align 8, !tbaa !5
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str.64, i32 noundef %58) #22
  call void @exit(i32 noundef 0) #23
  unreachable

87:                                               ; preds = %57
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef nonnull @ONE)
  call void @_Z14init_generatorv()
  %88 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %89 = icmp eq i32 %88, 2
  br i1 %89, label %90, label %.thread

90:                                               ; preds = %87
  %91 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !11
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [5 x ptr], ptr @bsgs_modes, i64 0, i64 %92
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  %95 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.65, ptr noundef %94)
  %.pr = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %96 = icmp eq i32 %.pr, 2
  br i1 %96, label %97, label %.thread

97:                                               ; preds = %90
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i32 noundef 0)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i32 noundef 0)
  %98 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %98)
  %99 = load i32, ptr @FLAG_N, align 4, !tbaa !11
  %.not409 = icmp eq i32 %99, 0
  br i1 %.not409, label %110, label %100

100:                                              ; preds = %97
  %101 = load ptr, ptr @str_N, align 8, !tbaa !5
  %102 = load i8, ptr %101, align 1, !tbaa !15
  %103 = icmp eq i8 %102, 48
  br i1 %103, label %104, label %109

104:                                              ; preds = %100
  %105 = getelementptr inbounds i8, ptr %101, i64 1
  %106 = load i8, ptr %105, align 1, !tbaa !15
  switch i8 %106, label %109 [
    i8 120, label %107
    i8 88, label %107
  ]

107:                                              ; preds = %104, %104
  %108 = getelementptr inbounds i8, ptr %101, i64 2
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef nonnull %108)
  br label %111

109:                                              ; preds = %104, %100
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef nonnull %101)
  br label %111

110:                                              ; preds = %97
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i64 noundef 17592186044416)
  br label %111

111:                                              ; preds = %107, %109, %110
  %112 = call noundef zeroext i1 @_ZN3Int7HasSqrtEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  br i1 %112, label %113, label %115

113:                                              ; preds = %111
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, ptr noundef nonnull @BSGS_N)
  call void @_ZN3Int7ModSqrtEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef nonnull @BSGS_M)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef nonnull @BSGS_GROUP_SIZE)
  %114 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  br i1 %114, label %122, label %118

115:                                              ; preds = %111
  %116 = load ptr, ptr @stderr, align 8, !tbaa !5
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef nonnull @.str.66) #22
  call void @exit(i32 noundef 0) #23
  unreachable

118:                                              ; preds = %113
  %119 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_GROUP_SIZE)
  %120 = load ptr, ptr @stderr, align 8, !tbaa !5
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef nonnull @.str.67, ptr noundef %119) #22
  call void @exit(i32 noundef 0) #23
  unreachable

122:                                              ; preds = %113
  %123 = load i32, ptr @KFACTOR, align 4, !tbaa !11
  %124 = sext i32 %123 to i64
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %124)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, i32 noundef 32)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef nonnull @BSGS_M)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef nonnull @BSGS_AUX)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2, ptr noundef nonnull @BSGS_M)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2, ptr noundef nonnull @BSGS_AUX, ptr noundef null)
  %125 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  br label %127

127:                                              ; preds = %126, %122
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M_double, ptr noundef nonnull @BSGS_M)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2_double, ptr noundef nonnull @BSGS_M2)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef nonnull @BSGS_M2)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef nonnull @BSGS_AUX)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3, ptr noundef nonnull @BSGS_M2)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3, ptr noundef nonnull @BSGS_AUX, ptr noundef null)
  %128 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %128, label %130, label %129

129:                                              ; preds = %127
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  br label %130

130:                                              ; preds = %129, %127
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3_double, ptr noundef nonnull @BSGS_M3)
  %131 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  store i64 %131, ptr @bsgs_m2, align 8, !tbaa !9
  %132 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  store i64 %132, ptr @bsgs_m3, align 8, !tbaa !9
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef nonnull @BSGS_N)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX, ptr noundef nonnull @BSGS_M, ptr noundef null)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef nonnull @BSGS_N)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R, ptr noundef nonnull @BSGS_M)
  %133 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %133, label %135, label %134

134:                                              ; preds = %130
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef nonnull @BSGS_M)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef nonnull @BSGS_AUX)
  br label %135

135:                                              ; preds = %134, %130
  %136 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %136, ptr @bsgs_m, align 8, !tbaa !9
  %137 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  store i64 %137, ptr @bsgs_aux, align 8, !tbaa !9
  %138 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  %139 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.68, ptr noundef %138)
  %140 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %140, ptr @bsgs_m, align 8, !tbaa !9
  call void @free(ptr noundef %138) #19
  %141 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %142 = lshr i64 %141, 8
  %143 = icmp ugt i64 %141, 2560255
  %144 = and i64 %141, 255
  %.not410 = icmp ne i64 %144, 0
  %145 = zext i1 %.not410 to i64
  %spec.select = add nuw nsw i64 %142, %145
  %.0378 = select i1 %143, i64 %spec.select, i64 1000
  %146 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %147 = lshr i64 %146, 8
  %148 = icmp ugt i64 %146, 256255
  %149 = and i64 %146, 255
  %.not411 = icmp ne i64 %149, 0
  %150 = zext i1 %.not411 to i64
  %spec.select495 = add nuw nsw i64 %147, %150
  %.0377 = select i1 %148, i64 %spec.select495, i64 1000
  %151 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %152 = lshr i64 %151, 8
  %153 = icmp ugt i64 %151, 256255
  %154 = and i64 %151, 255
  %.not412 = icmp ne i64 %154, 0
  %155 = zext i1 %.not412 to i64
  %spec.select496 = add nuw nsw i64 %152, %155
  %.0376 = select i1 %153, i64 %spec.select496, i64 1000
  %156 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.69, i64 noundef %141)
  %157 = call noalias dereferenceable_or_null(20480) ptr @calloc(i64 noundef 256, i64 noundef 80) #24
  store ptr %157, ptr @bloom_bP, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %157, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.72, i32 noundef 551)
  %158 = call noalias dereferenceable_or_null(16384) ptr @calloc(i64 noundef 256, i64 noundef 64) #24
  store ptr %158, ptr @bloom_bP_checksums, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %158, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.73, i32 noundef 553)
  %159 = call noalias dereferenceable_or_null(10240) ptr @calloc(i64 noundef 256, i64 noundef 40) #24
  store ptr %159, ptr @bloom_bP_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %159, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.74, i32 noundef 556)
  %160 = load ptr, ptr @stdout, align 8, !tbaa !5
  %161 = call i32 @fflush(ptr noundef %160)
  store i64 0, ptr @bloom_bP_totalbytes, align 8, !tbaa !9
  br label %162

162:                                              ; preds = %135, %174
  %indvars.iv = phi i64 [ 0, %135 ], [ %indvars.iv.next, %174 ]
  %163 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !5
  %164 = getelementptr inbounds %union.pthread_mutex_t, ptr %163, i64 %indvars.iv
  %165 = call i32 @pthread_mutex_init(ptr noundef %164, ptr noundef null) #19
  %166 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.bloom, ptr %166, i64 %indvars.iv
  %168 = call i32 @bloom_init2(ptr noundef %167, i64 noundef %.0378, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %169 = icmp eq i32 %168, 1
  br i1 %169, label %170, label %174

170:                                              ; preds = %162
  %171 = trunc nuw nsw i64 %indvars.iv to i32
  %172 = load ptr, ptr @stderr, align 8, !tbaa !5
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef nonnull @.str.75, i32 noundef %171) #22
  call void @exit(i32 noundef 0) #23
  unreachable

174:                                              ; preds = %162
  %175 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.bloom, ptr %175, i64 %indvars.iv, i32 2
  %177 = load i64, ptr %176, align 16, !tbaa !16
  %178 = load i64, ptr @bloom_bP_totalbytes, align 8, !tbaa !9
  %179 = add i64 %178, %177
  store i64 %179, ptr @bloom_bP_totalbytes, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 256
  br i1 %exitcond.not, label %180, label %162, !llvm.loop !20

180:                                              ; preds = %174
  %181 = uitofp i64 %179 to float
  %182 = fmul float %181, 0x3EB0000000000000
  %183 = fpext float %182 to double
  %184 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.76, double noundef %183)
  %185 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.69, i64 noundef %185)
  %187 = call noalias dereferenceable_or_null(10240) ptr @calloc(i64 noundef 256, i64 noundef 40) #24
  store ptr %187, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %187, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.77, i32 noundef 575)
  %188 = call noalias dereferenceable_or_null(20480) ptr @calloc(i64 noundef 256, i64 noundef 80) #24
  store ptr %188, ptr @bloom_bPx2nd, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %188, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.78, i32 noundef 577)
  %189 = call noalias dereferenceable_or_null(16384) ptr @calloc(i64 noundef 256, i64 noundef 64) #24
  store ptr %189, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %189, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.79, i32 noundef 579)
  store i64 0, ptr @bloom_bP2_totalbytes, align 8, !tbaa !9
  br label %190

190:                                              ; preds = %180, %202
  %indvars.iv584 = phi i64 [ 0, %180 ], [ %indvars.iv.next585, %202 ]
  %191 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  %192 = getelementptr inbounds %union.pthread_mutex_t, ptr %191, i64 %indvars.iv584
  %193 = call i32 @pthread_mutex_init(ptr noundef %192, ptr noundef null) #19
  %194 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.bloom, ptr %194, i64 %indvars.iv584
  %196 = call i32 @bloom_init2(ptr noundef %195, i64 noundef %.0377, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %197 = icmp eq i32 %196, 1
  br i1 %197, label %198, label %202

198:                                              ; preds = %190
  %199 = trunc nuw nsw i64 %indvars.iv584 to i32
  %200 = load ptr, ptr @stderr, align 8, !tbaa !5
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef nonnull @.str.75, i32 noundef %199) #22
  call void @exit(i32 noundef 0) #23
  unreachable

202:                                              ; preds = %190
  %203 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.bloom, ptr %203, i64 %indvars.iv584, i32 2
  %205 = load i64, ptr %204, align 16, !tbaa !16
  %206 = load i64, ptr @bloom_bP2_totalbytes, align 8, !tbaa !9
  %207 = add i64 %206, %205
  store i64 %207, ptr @bloom_bP2_totalbytes, align 8, !tbaa !9
  %indvars.iv.next585 = add nuw nsw i64 %indvars.iv584, 1
  %exitcond587.not = icmp eq i64 %indvars.iv.next585, 256
  br i1 %exitcond587.not, label %208, label %190, !llvm.loop !21

208:                                              ; preds = %202
  %209 = uitofp i64 %207 to float
  %210 = fmul float %209, 0x3EB0000000000000
  %211 = fpext float %210 to double
  %212 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.76, double noundef %211)
  %213 = call noalias dereferenceable_or_null(10240) ptr @calloc(i64 noundef 256, i64 noundef 40) #24
  store ptr %213, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %213, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.80, i32 noundef 593)
  %214 = call noalias dereferenceable_or_null(20480) ptr @calloc(i64 noundef 256, i64 noundef 80) #24
  store ptr %214, ptr @bloom_bPx3rd, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %214, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.81, i32 noundef 595)
  %215 = call noalias dereferenceable_or_null(16384) ptr @calloc(i64 noundef 256, i64 noundef 64) #24
  store ptr %215, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %215, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.82, i32 noundef 597)
  %216 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %217 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.69, i64 noundef %216)
  store i64 0, ptr @bloom_bP3_totalbytes, align 8, !tbaa !9
  br label %218

218:                                              ; preds = %208, %230
  %indvars.iv588 = phi i64 [ 0, %208 ], [ %indvars.iv.next589, %230 ]
  %219 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  %220 = getelementptr inbounds %union.pthread_mutex_t, ptr %219, i64 %indvars.iv588
  %221 = call i32 @pthread_mutex_init(ptr noundef %220, ptr noundef null) #19
  %222 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.bloom, ptr %222, i64 %indvars.iv588
  %224 = call i32 @bloom_init2(ptr noundef %223, i64 noundef %.0376, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %225 = icmp eq i32 %224, 1
  br i1 %225, label %226, label %230

226:                                              ; preds = %218
  %227 = trunc nuw nsw i64 %indvars.iv588 to i32
  %228 = load ptr, ptr @stderr, align 8, !tbaa !5
  %229 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %228, ptr noundef nonnull @.str.83, i32 noundef %227) #22
  call void @exit(i32 noundef 0) #23
  unreachable

230:                                              ; preds = %218
  %231 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.bloom, ptr %231, i64 %indvars.iv588, i32 2
  %233 = load i64, ptr %232, align 16, !tbaa !16
  %234 = load i64, ptr @bloom_bP3_totalbytes, align 8, !tbaa !9
  %235 = add i64 %234, %233
  store i64 %235, ptr @bloom_bP3_totalbytes, align 8, !tbaa !9
  %indvars.iv.next589 = add nuw nsw i64 %indvars.iv588, 1
  %exitcond591.not = icmp eq i64 %indvars.iv.next589, 256
  br i1 %exitcond591.not, label %236, label %218, !llvm.loop !22

236:                                              ; preds = %230
  %237 = uitofp i64 %235 to float
  %238 = fmul float %237, 0x3EB0000000000000
  %239 = fpext float %238 to double
  %240 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.76, double noundef %239)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %14) #19
  %241 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %14, ptr noundef nonnull align 8 dereferenceable(983240) %241, ptr noundef nonnull @BSGS_M)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP, ptr noundef nonnull align 8 dereferenceable(120) %14, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %14) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %14) #19
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %15) #19
  %242 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %15, ptr noundef nonnull align 8 dereferenceable(983240) %242, ptr noundef nonnull @BSGS_M_double)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP_double, ptr noundef nonnull align 8 dereferenceable(120) %15, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %15) #19
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %16) #19
  %243 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %16, ptr noundef nonnull align 8 dereferenceable(983240) %243, ptr noundef nonnull @BSGS_M2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2, ptr noundef nonnull align 8 dereferenceable(120) %16, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %16) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %16) #19
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %17) #19
  %244 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %17, ptr noundef nonnull align 8 dereferenceable(983240) %244, ptr noundef nonnull @BSGS_M2_double)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2_double, ptr noundef nonnull align 8 dereferenceable(120) %17, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %17) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %17) #19
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %18) #19
  %245 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %18, ptr noundef nonnull align 8 dereferenceable(983240) %245, ptr noundef nonnull @BSGS_M3)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3, ptr noundef nonnull align 8 dereferenceable(120) %18, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %18) #19
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %19) #19
  %246 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %19, ptr noundef nonnull align 8 dereferenceable(983240) %246, ptr noundef nonnull @BSGS_M3_double)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3_double, ptr noundef nonnull align 8 dereferenceable(120) %19, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %19) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %19) #19
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 32)
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 32)
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 512)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %20) #19
  %247 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %20, ptr noundef nonnull align 8 dereferenceable(983240) %247, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP_double)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %21) #19
  invoke void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %21, ptr noundef nonnull align 8 dereferenceable(120) %20)
          to label %248 unwind label %256

248:                                              ; preds = %236
  %249 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 0) #19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %249, ptr noundef nonnull align 8 dereferenceable(120) %21, i64 120, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %22) #19
  %250 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %22, ptr noundef nonnull align 8 dereferenceable(983240) %250, ptr noundef nonnull align 8 dereferenceable(120) %21)
          to label %251 unwind label %258

251:                                              ; preds = %248
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %21, ptr noundef nonnull align 8 dereferenceable(120) %22, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %22) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %22) #19
  %252 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 1) #19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %252, ptr noundef nonnull align 8 dereferenceable(120) %21, i64 120, i1 false), !tbaa.struct !23
  br label %260

253:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %24) #19
  %254 = load ptr, ptr @secp, align 8, !tbaa !5
  %255 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 511) #19
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %24, ptr noundef nonnull align 8 dereferenceable(983240) %254, ptr noundef nonnull align 8 dereferenceable(120) %255)
          to label %266 unwind label %284

256:                                              ; preds = %236
  %257 = landingpad { ptr, i32 }
          cleanup
  br label %1189

258:                                              ; preds = %248
  %259 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %22) #19
  br label %.loopexit.split-lp

260:                                              ; preds = %251, %262
  %indvars.iv592 = phi i64 [ 2, %251 ], [ %indvars.iv.next593, %262 ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %23) #19
  %261 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %23, ptr noundef nonnull align 8 dereferenceable(983240) %261, ptr noundef nonnull align 8 dereferenceable(120) %21, ptr noundef nonnull align 8 dereferenceable(120) %20)
          to label %262 unwind label %264

262:                                              ; preds = %260
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %21, ptr noundef nonnull align 8 dereferenceable(120) %23, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %23) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %23) #19
  %263 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef %indvars.iv592) #19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %263, ptr noundef nonnull align 8 dereferenceable(120) %21, i64 120, i1 false), !tbaa.struct !23
  %indvars.iv.next593 = add nuw nsw i64 %indvars.iv592, 1
  %exitcond595.not = icmp eq i64 %indvars.iv.next593, 512
  br i1 %exitcond595.not, label %253, label %260, !llvm.loop !24

264:                                              ; preds = %260
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %23) #19
  br label %.loopexit.split-lp

266:                                              ; preds = %253
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @_2GSn, ptr noundef nonnull align 8 dereferenceable(120) %24, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %24) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %24) #19
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2)
          to label %267 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

267:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %25) #19
  %268 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %25, ptr noundef nonnull align 8 dereferenceable(983240) %268, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %269 unwind label %286

269:                                              ; preds = %267
  %270 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %270, ptr noundef nonnull align 8 dereferenceable(120) %25, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %25) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %25) #19
  %271 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #19
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %271)
          to label %272 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

272:                                              ; preds = %269
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2_double)
          to label %273 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

273:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %26) #19
  %274 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %26, ptr noundef nonnull align 8 dereferenceable(983240) %274, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %275 unwind label %288

275:                                              ; preds = %273
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) %26, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %26) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %26) #19
  br label %276

276:                                              ; preds = %275, %283
  %indvars.iv596 = phi i64 [ 1, %275 ], [ %indvars.iv.next597, %283 ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %27) #19
  %277 = load ptr, ptr @secp, align 8, !tbaa !5
  %278 = add nsw i64 %indvars.iv596, -1
  %279 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %278) #19
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %27, ptr noundef nonnull align 8 dereferenceable(983240) %277, ptr noundef nonnull align 8 dereferenceable(120) %279, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %280 unwind label %290

280:                                              ; preds = %276
  %281 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %indvars.iv596) #19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %281, ptr noundef nonnull align 8 dereferenceable(120) %27, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %27) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %27) #19
  %282 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %indvars.iv596) #19
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %282)
          to label %283 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

283:                                              ; preds = %280
  %indvars.iv.next597 = add nuw nsw i64 %indvars.iv596, 1
  %exitcond599.not = icmp eq i64 %indvars.iv.next597, 32
  br i1 %exitcond599.not, label %292, label %276, !llvm.loop !25

284:                                              ; preds = %253
  %285 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %24) #19
  br label %.loopexit.split-lp

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

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

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

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

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

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

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

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

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

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %266, %269, %272, %292, %295, %298, %568, %979, %986
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

286:                                              ; preds = %267
  %287 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %25) #19
  br label %.loopexit.split-lp

288:                                              ; preds = %273
  %289 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %26) #19
  br label %.loopexit.split-lp

290:                                              ; preds = %276
  %291 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %27) #19
  br label %.loopexit.split-lp

292:                                              ; preds = %283
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3)
          to label %293 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

293:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %28) #19
  %294 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %28, ptr noundef nonnull align 8 dereferenceable(983240) %294, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %295 unwind label %310

295:                                              ; preds = %293
  %296 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %296, ptr noundef nonnull align 8 dereferenceable(120) %28, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %28) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %28) #19
  %297 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #19
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %297)
          to label %298 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

298:                                              ; preds = %295
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3_double)
          to label %299 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

299:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %29) #19
  %300 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %29, ptr noundef nonnull align 8 dereferenceable(983240) %300, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %301 unwind label %312

301:                                              ; preds = %299
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) %29, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %29) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %29) #19
  br label %302

302:                                              ; preds = %301, %309
  %indvars.iv600 = phi i64 [ 1, %301 ], [ %indvars.iv.next601, %309 ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %30) #19
  %303 = load ptr, ptr @secp, align 8, !tbaa !5
  %304 = add nsw i64 %indvars.iv600, -1
  %305 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %304) #19
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %30, ptr noundef nonnull align 8 dereferenceable(983240) %303, ptr noundef nonnull align 8 dereferenceable(120) %305, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %306 unwind label %314

306:                                              ; preds = %302
  %307 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %indvars.iv600) #19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %307, ptr noundef nonnull align 8 dereferenceable(120) %30, i64 120, i1 false), !tbaa.struct !23
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %30) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %30) #19
  %308 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %indvars.iv600) #19
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %308)
          to label %309 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

309:                                              ; preds = %306
  %indvars.iv.next601 = add nuw nsw i64 %indvars.iv600, 1
  %exitcond603.not = icmp eq i64 %indvars.iv.next601, 32
  br i1 %exitcond603.not, label %316, label %302, !llvm.loop !26

310:                                              ; preds = %293
  %311 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %28) #19
  br label %.loopexit.split-lp

312:                                              ; preds = %299
  %313 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %29) #19
  br label %.loopexit.split-lp

314:                                              ; preds = %302
  %315 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %30) #19
  br label %.loopexit.split-lp

316:                                              ; preds = %309
  %317 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %318 = shl i64 %317, 4
  store i64 %318, ptr @bytes, align 8, !tbaa !9
  %319 = lshr i64 %318, 20
  %320 = uitofp nneg i64 %319 to double
  %321 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.84, double noundef %320, i64 noundef %317)
  %322 = load i64, ptr @bytes, align 8, !tbaa !9
  %323 = call noalias ptr @malloc(i64 noundef %322) #25
  store ptr %323, ptr @bPtable, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %323, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.85, ptr noundef nonnull @.str.86, i32 noundef 680)
  %324 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %325 = load i64, ptr @bytes, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 8 %324, i8 0, i64 %325, i1 false)
  %326 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !11
  %.not413 = icmp eq i32 %326, 0
  br i1 %.not413, label %._crit_edge665, label %327

._crit_edge665:                                   ; preds = %316
  %.pre = load i32, ptr @FLAGREADEDFILE4, align 4
  br label %648

327:                                              ; preds = %316
  %328 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %329 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.87, i64 noundef %328) #19
  %330 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not414 = icmp eq ptr %330, null
  br i1 %.not414, label %402, label %331

331:                                              ; preds = %327
  %332 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.89, ptr noundef nonnull @buffer_bloom_file)
  %333 = load ptr, ptr @stdout, align 8, !tbaa !5
  %334 = call i32 @fflush(ptr noundef %333)
  br label %335

335:                                              ; preds = %331, %392
  %indvars.iv604 = phi i64 [ 0, %331 ], [ %indvars.iv.next605, %392 ]
  %336 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.bloom, ptr %336, i64 %indvars.iv604
  %338 = getelementptr inbounds i8, ptr %337, i64 64
  %339 = load ptr, ptr %338, align 16, !tbaa !27
  %340 = call i64 @fread(ptr noundef %337, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %330)
  %341 = and i64 %340, 4294967295
  %.not485 = icmp eq i64 %341, 1
  br i1 %.not485, label %345, label %342

342:                                              ; preds = %335
  %343 = load ptr, ptr @stderr, align 8, !tbaa !5
  %344 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %343, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

345:                                              ; preds = %335
  %346 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.bloom, ptr %346, i64 %indvars.iv604, i32 9
  store ptr %339, ptr %347, align 16, !tbaa !27
  %348 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.bloom, ptr %348, i64 %indvars.iv604
  %350 = getelementptr inbounds i8, ptr %349, i64 64
  %351 = load ptr, ptr %350, align 16, !tbaa !27
  %352 = getelementptr inbounds i8, ptr %349, i64 16
  %353 = load i64, ptr %352, align 16, !tbaa !16
  %354 = call i64 @fread(ptr noundef %351, i64 noundef %353, i64 noundef 1, ptr noundef nonnull %330)
  %355 = and i64 %354, 4294967295
  %.not486 = icmp eq i64 %355, 1
  br i1 %.not486, label %359, label %356

356:                                              ; preds = %345
  %357 = load ptr, ptr @stderr, align 8, !tbaa !5
  %358 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %357, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

359:                                              ; preds = %345
  %360 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.checksumsha256, ptr %360, i64 %indvars.iv604
  %362 = call i64 @fread(ptr noundef %361, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %330)
  %363 = and i64 %362, 4294967295
  %.not487 = icmp eq i64 %363, 1
  br i1 %.not487, label %367, label %364

364:                                              ; preds = %359
  %365 = load ptr, ptr @stderr, align 8, !tbaa !5
  %366 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %365, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

367:                                              ; preds = %359
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, i8 0, i64 32, i1 false)
  %368 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %369 = icmp eq i32 %368, 0
  br i1 %369, label %370, label %385

370:                                              ; preds = %367
  %371 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.bloom, ptr %371, i64 %indvars.iv604
  %373 = getelementptr inbounds i8, ptr %372, i64 64
  %374 = load ptr, ptr %373, align 16, !tbaa !27
  %375 = getelementptr inbounds i8, ptr %372, i64 16
  %376 = load i64, ptr %375, align 16, !tbaa !16
  invoke void @_Z6sha256PhmS_(ptr noundef %374, i64 noundef %376, ptr noundef nonnull %3)
          to label %377 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

377:                                              ; preds = %370
  %378 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.checksumsha256, ptr %378, i64 %indvars.iv604
  %bcmp488 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %379, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not489 = icmp eq i32 %bcmp488, 0
  br i1 %.not489, label %380, label %382

380:                                              ; preds = %377
  %381 = getelementptr inbounds i8, ptr %379, i64 32
  %bcmp490 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %381, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not491 = icmp eq i32 %bcmp490, 0
  br i1 %.not491, label %385, label %382

382:                                              ; preds = %380, %377
  %383 = load ptr, ptr @stderr, align 8, !tbaa !5
  %384 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %383, ptr noundef nonnull @.str.91, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

385:                                              ; preds = %380, %367
  %386 = and i64 %indvars.iv604, 63
  %387 = icmp eq i64 %386, 0
  br i1 %387, label %388, label %392

388:                                              ; preds = %385
  %389 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %390 = load ptr, ptr @stdout, align 8, !tbaa !5
  %391 = call i32 @fflush(ptr noundef %390)
  br label %392

392:                                              ; preds = %385, %388
  %indvars.iv.next605 = add nuw nsw i64 %indvars.iv604, 1
  %exitcond607.not = icmp eq i64 %indvars.iv.next605, 256
  br i1 %exitcond607.not, label %393, label %335, !llvm.loop !28

393:                                              ; preds = %392
  %394 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  %395 = call i32 @fclose(ptr noundef nonnull %330)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %396 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %397 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.94, i64 noundef %396) #19
  %398 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not421 = icmp eq ptr %398, null
  br i1 %.not421, label %468, label %399

399:                                              ; preds = %393
  %400 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.95, ptr noundef nonnull @buffer_bloom_file)
  %401 = call i32 @fclose(ptr noundef nonnull %398)
  br label %468

402:                                              ; preds = %327
  %403 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %404 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.94, i64 noundef %403) #19
  %405 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not415 = icmp eq ptr %405, null
  br i1 %.not415, label %468, label %406

406:                                              ; preds = %402
  %407 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.89, ptr noundef nonnull @buffer_bloom_file)
  %408 = load ptr, ptr @stdout, align 8, !tbaa !5
  %409 = call i32 @fflush(ptr noundef %408)
  br label %410

410:                                              ; preds = %406, %464
  %indvars.iv608 = phi i64 [ 0, %406 ], [ %indvars.iv.next609, %464 ]
  %411 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.bloom, ptr %411, i64 %indvars.iv608, i32 9
  %413 = load ptr, ptr %412, align 16, !tbaa !27
  %414 = call i64 @fread(ptr noundef nonnull @oldbloom_bP, i64 noundef 176, i64 noundef 1, ptr noundef nonnull %405)
  %415 = and i64 %414, 4294967295
  %.not416 = icmp eq i64 %415, 1
  br i1 %.not416, label %419, label %416

416:                                              ; preds = %410
  %417 = load ptr, ptr @stderr, align 8, !tbaa !5
  %418 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %417, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

419:                                              ; preds = %410
  %420 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.bloom, ptr %420, i64 %indvars.iv608
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %421, ptr noundef nonnull align 16 dereferenceable(80) @oldbloom_bP, i64 80, i1 false)
  %422 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.bloom, ptr %422, i64 %indvars.iv608, i32 9
  store ptr %413, ptr %423, align 16, !tbaa !27
  %424 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.bloom, ptr %424, i64 %indvars.iv608
  %426 = getelementptr inbounds i8, ptr %425, i64 64
  %427 = load ptr, ptr %426, align 16, !tbaa !27
  %428 = getelementptr inbounds i8, ptr %425, i64 16
  %429 = load i64, ptr %428, align 16, !tbaa !16
  %430 = call i64 @fread(ptr noundef %427, i64 noundef %429, i64 noundef 1, ptr noundef nonnull %405)
  %431 = and i64 %430, 4294967295
  %.not417 = icmp eq i64 %431, 1
  br i1 %.not417, label %435, label %432

432:                                              ; preds = %419
  %433 = load ptr, ptr @stderr, align 8, !tbaa !5
  %434 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %433, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

435:                                              ; preds = %419
  %436 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.checksumsha256, ptr %436, i64 %indvars.iv608
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %437, ptr noundef nonnull align 16 dereferenceable(32) getelementptr inbounds (i8, ptr @oldbloom_bP, i64 64), i64 32, i1 false)
  %438 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.checksumsha256, ptr %438, i64 %indvars.iv608, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %439, ptr noundef nonnull align 16 dereferenceable(32) getelementptr inbounds (i8, ptr @oldbloom_bP, i64 96), i64 32, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, i8 0, i64 32, i1 false)
  %440 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %441 = icmp eq i32 %440, 0
  br i1 %441, label %442, label %457

442:                                              ; preds = %435
  %443 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.bloom, ptr %443, i64 %indvars.iv608
  %445 = getelementptr inbounds i8, ptr %444, i64 64
  %446 = load ptr, ptr %445, align 16, !tbaa !27
  %447 = getelementptr inbounds i8, ptr %444, i64 16
  %448 = load i64, ptr %447, align 16, !tbaa !16
  invoke void @_Z6sha256PhmS_(ptr noundef %446, i64 noundef %448, ptr noundef nonnull %3)
          to label %449 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

449:                                              ; preds = %442
  %450 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.checksumsha256, ptr %450, i64 %indvars.iv608
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %451, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not418 = icmp eq i32 %bcmp, 0
  br i1 %.not418, label %452, label %454

452:                                              ; preds = %449
  %453 = getelementptr inbounds i8, ptr %451, i64 32
  %bcmp419 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %453, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not420 = icmp eq i32 %bcmp419, 0
  br i1 %.not420, label %457, label %454

454:                                              ; preds = %452, %449
  %455 = load ptr, ptr @stderr, align 8, !tbaa !5
  %456 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %455, ptr noundef nonnull @.str.91, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

457:                                              ; preds = %452, %435
  %458 = and i64 %indvars.iv608, 31
  %459 = icmp eq i64 %458, 0
  br i1 %459, label %460, label %464

460:                                              ; preds = %457
  %461 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %462 = load ptr, ptr @stdout, align 8, !tbaa !5
  %463 = call i32 @fflush(ptr noundef %462)
  br label %464

464:                                              ; preds = %457, %460
  %indvars.iv.next609 = add nuw nsw i64 %indvars.iv608, 1
  %exitcond611.not = icmp eq i64 %indvars.iv.next609, 256
  br i1 %exitcond611.not, label %465, label %410, !llvm.loop !29

465:                                              ; preds = %464
  %466 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  %467 = call i32 @fclose(ptr noundef nonnull %405)
  store i32 1, ptr @FLAGUPDATEFILE1, align 4, !tbaa !11
  br label %468

468:                                              ; preds = %402, %393, %399, %465
  %.sink692 = phi i32 [ 1, %465 ], [ 1, %399 ], [ 1, %393 ], [ 0, %402 ]
  store i32 %.sink692, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %469 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %470 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.96, i64 noundef %469) #19
  %471 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not422 = icmp eq ptr %471, null
  br i1 %.not422, label %550, label %472

472:                                              ; preds = %468
  %473 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.89, ptr noundef nonnull @buffer_bloom_file)
  %474 = load ptr, ptr @stdout, align 8, !tbaa !5
  %475 = call i32 @fflush(ptr noundef %474)
  br label %476

476:                                              ; preds = %472, %533
  %indvars.iv612 = phi i64 [ 0, %472 ], [ %indvars.iv.next613, %533 ]
  %477 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.bloom, ptr %477, i64 %indvars.iv612
  %479 = getelementptr inbounds i8, ptr %478, i64 64
  %480 = load ptr, ptr %479, align 16, !tbaa !27
  %481 = call i64 @fread(ptr noundef %478, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %471)
  %482 = and i64 %481, 4294967295
  %.not478 = icmp eq i64 %482, 1
  br i1 %.not478, label %486, label %483

483:                                              ; preds = %476
  %484 = load ptr, ptr @stderr, align 8, !tbaa !5
  %485 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %484, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

486:                                              ; preds = %476
  %487 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.bloom, ptr %487, i64 %indvars.iv612, i32 9
  store ptr %480, ptr %488, align 16, !tbaa !27
  %489 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %490 = getelementptr inbounds %struct.bloom, ptr %489, i64 %indvars.iv612
  %491 = getelementptr inbounds i8, ptr %490, i64 64
  %492 = load ptr, ptr %491, align 16, !tbaa !27
  %493 = getelementptr inbounds i8, ptr %490, i64 16
  %494 = load i64, ptr %493, align 16, !tbaa !16
  %495 = call i64 @fread(ptr noundef %492, i64 noundef %494, i64 noundef 1, ptr noundef nonnull %471)
  %496 = and i64 %495, 4294967295
  %.not479 = icmp eq i64 %496, 1
  br i1 %.not479, label %500, label %497

497:                                              ; preds = %486
  %498 = load ptr, ptr @stderr, align 8, !tbaa !5
  %499 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %498, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

500:                                              ; preds = %486
  %501 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.checksumsha256, ptr %501, i64 %indvars.iv612
  %503 = call i64 @fread(ptr noundef %502, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %471)
  %504 = and i64 %503, 4294967295
  %.not480 = icmp eq i64 %504, 1
  br i1 %.not480, label %508, label %505

505:                                              ; preds = %500
  %506 = load ptr, ptr @stderr, align 8, !tbaa !5
  %507 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %506, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

508:                                              ; preds = %500
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, i8 0, i64 32, i1 false)
  %509 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %510 = icmp eq i32 %509, 0
  br i1 %510, label %511, label %526

511:                                              ; preds = %508
  %512 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct.bloom, ptr %512, i64 %indvars.iv612
  %514 = getelementptr inbounds i8, ptr %513, i64 64
  %515 = load ptr, ptr %514, align 16, !tbaa !27
  %516 = getelementptr inbounds i8, ptr %513, i64 16
  %517 = load i64, ptr %516, align 16, !tbaa !16
  invoke void @_Z6sha256PhmS_(ptr noundef %515, i64 noundef %517, ptr noundef nonnull %3)
          to label %518 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

518:                                              ; preds = %511
  %519 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.checksumsha256, ptr %519, i64 %indvars.iv612
  %bcmp481 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %520, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not482 = icmp eq i32 %bcmp481, 0
  br i1 %.not482, label %521, label %523

521:                                              ; preds = %518
  %522 = getelementptr inbounds i8, ptr %520, i64 32
  %bcmp483 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %522, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not484 = icmp eq i32 %bcmp483, 0
  br i1 %.not484, label %526, label %523

523:                                              ; preds = %521, %518
  %524 = load ptr, ptr @stderr, align 8, !tbaa !5
  %525 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %524, ptr noundef nonnull @.str.91, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

526:                                              ; preds = %521, %508
  %527 = and i64 %indvars.iv612, 63
  %528 = icmp eq i64 %527, 0
  br i1 %528, label %529, label %533

529:                                              ; preds = %526
  %530 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %531 = load ptr, ptr @stdout, align 8, !tbaa !5
  %532 = call i32 @fflush(ptr noundef %531)
  br label %533

533:                                              ; preds = %526, %529
  %indvars.iv.next613 = add nuw nsw i64 %indvars.iv612, 1
  %exitcond615.not = icmp eq i64 %indvars.iv.next613, 256
  br i1 %exitcond615.not, label %534, label %476, !llvm.loop !30

534:                                              ; preds = %533
  %535 = call i32 @fclose(ptr noundef nonnull %471)
  %536 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %537 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %538 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.97, i64 noundef %537) #19
  %539 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not423 = icmp eq ptr %539, null
  br i1 %.not423, label %543, label %540

540:                                              ; preds = %534
  %541 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.95, ptr noundef nonnull @buffer_bloom_file)
  %542 = call i32 @fclose(ptr noundef nonnull %539)
  br label %543

543:                                              ; preds = %540, %534
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %544 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %545 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.98, i64 noundef %544) #19
  %546 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not424 = icmp eq ptr %546, null
  br i1 %.not424, label %550, label %547

547:                                              ; preds = %543
  %548 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.95, ptr noundef nonnull @buffer_bloom_file)
  %549 = call i32 @fclose(ptr noundef nonnull %546)
  br label %550

550:                                              ; preds = %468, %543, %547
  %storemerge = phi i32 [ 1, %547 ], [ 1, %543 ], [ 0, %468 ]
  store i32 %storemerge, ptr @FLAGREADEDFILE2, align 4, !tbaa !11
  %551 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %552 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.99, i64 noundef %551) #19
  %553 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not425 = icmp eq ptr %553, null
  br i1 %.not425, label %578, label %554

554:                                              ; preds = %550
  %555 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.100, ptr noundef nonnull @buffer_bloom_file)
  %556 = load ptr, ptr @stdout, align 8, !tbaa !5
  %557 = call i32 @fflush(ptr noundef %556)
  %558 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %559 = load i64, ptr @bytes, align 8, !tbaa !9
  %560 = call i64 @fread(ptr noundef %558, i64 noundef %559, i64 noundef 1, ptr noundef nonnull %553)
  %.not427 = icmp eq i64 %560, 1
  br i1 %.not427, label %564, label %561

561:                                              ; preds = %554
  %562 = load ptr, ptr @stderr, align 8, !tbaa !5
  %563 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %562, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

564:                                              ; preds = %554
  %565 = call i64 @fread(ptr noundef nonnull @checksum, i64 noundef 32, i64 noundef 1, ptr noundef nonnull %553)
  %566 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %567 = icmp eq i32 %566, 0
  br i1 %567, label %568, label %575

568:                                              ; preds = %564
  %569 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %570 = load i64, ptr @bytes, align 8, !tbaa !9
  invoke void @_Z6sha256PhmS_(ptr noundef %569, i64 noundef %570, ptr noundef nonnull @checksum_backup)
          to label %571 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

571:                                              ; preds = %568
  %bcmp428 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) @checksum, ptr noundef nonnull dereferenceable(32) @checksum_backup, i64 32)
  %.not429 = icmp eq i32 %bcmp428, 0
  br i1 %.not429, label %575, label %572

572:                                              ; preds = %571
  %573 = load ptr, ptr @stderr, align 8, !tbaa !5
  %574 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %573, ptr noundef nonnull @.str.91, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

575:                                              ; preds = %571, %564
  %576 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.101)
  %577 = call i32 @fclose(ptr noundef nonnull %553)
  br label %578

578:                                              ; preds = %550, %575
  %storemerge426 = phi i32 [ 1, %575 ], [ 0, %550 ]
  store i32 %storemerge426, ptr @FLAGREADEDFILE3, align 4, !tbaa !11
  %579 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %580 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.102, i64 noundef %579) #19
  %581 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.88)
  %.not430 = icmp eq ptr %581, null
  br i1 %.not430, label %647, label %582

582:                                              ; preds = %578
  %583 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.89, ptr noundef nonnull @buffer_bloom_file)
  %584 = load ptr, ptr @stdout, align 8, !tbaa !5
  %585 = call i32 @fflush(ptr noundef %584)
  br label %586

586:                                              ; preds = %582, %643
  %indvars.iv616 = phi i64 [ 0, %582 ], [ %indvars.iv.next617, %643 ]
  %587 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.bloom, ptr %587, i64 %indvars.iv616
  %589 = getelementptr inbounds i8, ptr %588, i64 64
  %590 = load ptr, ptr %589, align 16, !tbaa !27
  %591 = call i64 @fread(ptr noundef %588, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %581)
  %592 = and i64 %591, 4294967295
  %.not471 = icmp eq i64 %592, 1
  br i1 %.not471, label %596, label %593

593:                                              ; preds = %586
  %594 = load ptr, ptr @stderr, align 8, !tbaa !5
  %595 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %594, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

596:                                              ; preds = %586
  %597 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %598 = getelementptr inbounds %struct.bloom, ptr %597, i64 %indvars.iv616, i32 9
  store ptr %590, ptr %598, align 16, !tbaa !27
  %599 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %600 = getelementptr inbounds %struct.bloom, ptr %599, i64 %indvars.iv616
  %601 = getelementptr inbounds i8, ptr %600, i64 64
  %602 = load ptr, ptr %601, align 16, !tbaa !27
  %603 = getelementptr inbounds i8, ptr %600, i64 16
  %604 = load i64, ptr %603, align 16, !tbaa !16
  %605 = call i64 @fread(ptr noundef %602, i64 noundef %604, i64 noundef 1, ptr noundef nonnull %581)
  %606 = and i64 %605, 4294967295
  %.not472 = icmp eq i64 %606, 1
  br i1 %.not472, label %610, label %607

607:                                              ; preds = %596
  %608 = load ptr, ptr @stderr, align 8, !tbaa !5
  %609 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %608, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

610:                                              ; preds = %596
  %611 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %612 = getelementptr inbounds %struct.checksumsha256, ptr %611, i64 %indvars.iv616
  %613 = call i64 @fread(ptr noundef %612, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %581)
  %614 = and i64 %613, 4294967295
  %.not473 = icmp eq i64 %614, 1
  br i1 %.not473, label %618, label %615

615:                                              ; preds = %610
  %616 = load ptr, ptr @stderr, align 8, !tbaa !5
  %617 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %616, ptr noundef nonnull @.str.90, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

618:                                              ; preds = %610
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %3, i8 0, i64 32, i1 false)
  %619 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %620 = icmp eq i32 %619, 0
  br i1 %620, label %621, label %636

621:                                              ; preds = %618
  %622 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %623 = getelementptr inbounds %struct.bloom, ptr %622, i64 %indvars.iv616
  %624 = getelementptr inbounds i8, ptr %623, i64 64
  %625 = load ptr, ptr %624, align 16, !tbaa !27
  %626 = getelementptr inbounds i8, ptr %623, i64 16
  %627 = load i64, ptr %626, align 16, !tbaa !16
  invoke void @_Z6sha256PhmS_(ptr noundef %625, i64 noundef %627, ptr noundef nonnull %3)
          to label %628 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

628:                                              ; preds = %621
  %629 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %630 = getelementptr inbounds %struct.checksumsha256, ptr %629, i64 %indvars.iv616
  %bcmp474 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %630, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not475 = icmp eq i32 %bcmp474, 0
  br i1 %.not475, label %631, label %633

631:                                              ; preds = %628
  %632 = getelementptr inbounds i8, ptr %630, i64 32
  %bcmp476 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %632, ptr noundef nonnull dereferenceable(32) %3, i64 32)
  %.not477 = icmp eq i32 %bcmp476, 0
  br i1 %.not477, label %636, label %633

633:                                              ; preds = %631, %628
  %634 = load ptr, ptr @stderr, align 8, !tbaa !5
  %635 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %634, ptr noundef nonnull @.str.91, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

636:                                              ; preds = %631, %618
  %637 = and i64 %indvars.iv616, 63
  %638 = icmp eq i64 %637, 0
  br i1 %638, label %639, label %643

639:                                              ; preds = %636
  %640 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %641 = load ptr, ptr @stdout, align 8, !tbaa !5
  %642 = call i32 @fflush(ptr noundef %641)
  br label %643

643:                                              ; preds = %636, %639
  %indvars.iv.next617 = add nuw nsw i64 %indvars.iv616, 1
  %exitcond619.not = icmp eq i64 %indvars.iv.next617, 256
  br i1 %exitcond619.not, label %644, label %586, !llvm.loop !31

644:                                              ; preds = %643
  %645 = call i32 @fclose(ptr noundef nonnull %581)
  %646 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  store i32 1, ptr @FLAGREADEDFILE4, align 4, !tbaa !11
  br label %648

647:                                              ; preds = %578
  store i32 0, ptr @FLAGREADEDFILE4, align 4, !tbaa !11
  br label %648

648:                                              ; preds = %._crit_edge665, %644, %647
  %649 = phi i32 [ %.pre, %._crit_edge665 ], [ 1, %644 ], [ 0, %647 ]
  %650 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %651 = icmp ne i32 %650, 0
  %652 = load i32, ptr @FLAGREADEDFILE2, align 4
  %653 = icmp ne i32 %652, 0
  %or.cond4 = select i1 %651, i1 %653, i1 false
  %654 = load i32, ptr @FLAGREADEDFILE3, align 4
  %655 = icmp ne i32 %654, 0
  %or.cond6 = select i1 %or.cond4, i1 %655, i1 false
  %656 = icmp ne i32 %649, 0
  %or.cond8 = select i1 %or.cond6, i1 %656, i1 false
  br i1 %or.cond8, label %910, label %657

657:                                              ; preds = %648
  %658 = icmp eq i32 %650, 1
  br i1 %658, label %659, label %783

659:                                              ; preds = %657
  %660 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.103)
  store i64 0, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  store i64 0, ptr @FINISHED_THREADS_BP, align 8, !tbaa !9
  store i64 0, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  store i64 0, ptr @THREADCOUNTER, align 8, !tbaa !9
  %661 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %662 = zext i32 %661 to i64
  %663 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %.not438 = icmp ugt i64 %663, %662
  br i1 %.not438, label %666, label %664

664:                                              ; preds = %659
  %665 = trunc nuw i64 %663 to i32
  store i32 %665, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  br label %666

666:                                              ; preds = %664, %659
  %.pre-phi = phi i64 [ %663, %664 ], [ %662, %659 ]
  %667 = udiv i64 %663, %.pre-phi
  %668 = urem i64 %663, %.pre-phi
  %.not439 = icmp ne i64 %668, 0
  %669 = zext i1 %.not439 to i64
  %spec.select497 = add i64 %667, %669
  store i64 %spec.select497, ptr @THREADCYCLES, align 8, !tbaa !9
  %670 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %671 = uitofp i64 %670 to double
  %672 = fdiv double 0.000000e+00, %671
  %673 = fmul double %672, 1.000000e+02
  %674 = fptosi double %673 to i32
  %675 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.104, i64 noundef 0, i64 noundef %670, i32 noundef %674)
  %676 = load ptr, ptr @stdout, align 8, !tbaa !5
  %677 = call i32 @fflush(ptr noundef %676)
  %678 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %679 = sext i32 %678 to i64
  %680 = call noalias ptr @calloc(i64 noundef %679, i64 noundef 8) #24
  store ptr %680, ptr @tid, align 8, !tbaa !5
  %681 = call noalias ptr @calloc(i64 noundef %679, i64 noundef 40) #24
  store ptr %681, ptr @bPload_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %681, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.105, i32 noundef 945)
  %682 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %683 = sext i32 %682 to i64
  %684 = call noalias ptr @calloc(i64 noundef %683, i64 noundef 48) #24
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %684, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.106, i32 noundef 947)
  %685 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %686 = sext i32 %685 to i64
  %687 = call noalias ptr @calloc(i64 noundef %686, i64 noundef 1) #24
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %687, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.107, i32 noundef 949)
  %688 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %689 = sext i32 %688 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %687, i8 1, i64 %689, i1 false)
  %690 = icmp sgt i32 %688, 0
  br i1 %690, label %.lr.ph555, label %.preheader506.preheader

.lr.ph555:                                        ; preds = %666, %.lr.ph555
  %indvars.iv629 = phi i64 [ %indvars.iv.next630, %.lr.ph555 ], [ 0, %666 ]
  %691 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %692 = getelementptr inbounds %union.pthread_mutex_t, ptr %691, i64 %indvars.iv629
  %693 = call i32 @pthread_mutex_init(ptr noundef %692, ptr noundef null) #19
  %indvars.iv.next630 = add nuw nsw i64 %indvars.iv629, 1
  %694 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %695 = sext i32 %694 to i64
  %696 = icmp slt i64 %indvars.iv.next630, %695
  br i1 %696, label %.lr.ph555, label %.preheader506.preheader, !llvm.loop !32

.preheader506.preheader:                          ; preds = %.lr.ph555, %666
  %.ph = phi i32 [ %688, %666 ], [ %694, %.lr.ph555 ]
  br label %.preheader506

.preheader506:                                    ; preds = %.preheader506.preheader, %._crit_edge567
  %697 = phi i32 [ %779, %._crit_edge567 ], [ %.ph, %.preheader506.preheader ]
  %.0379 = phi i64 [ %.1380.lcssa, %._crit_edge567 ], [ 0, %.preheader506.preheader ]
  %.0368 = phi i32 [ %.1369.lcssa, %._crit_edge567 ], [ 0, %.preheader506.preheader ]
  %698 = icmp sgt i32 %697, 0
  %.not441556 = icmp eq i32 %.0368, 0
  %699 = select i1 %698, i1 %.not441556, i1 false
  br i1 %699, label %.lr.ph560, label %._crit_edge561

.lr.ph560:                                        ; preds = %.preheader506, %735
  %700 = phi i32 [ %736, %735 ], [ %697, %.preheader506 ]
  %701 = phi i32 [ %737, %735 ], [ %697, %.preheader506 ]
  %indvars.iv632 = phi i64 [ %indvars.iv.next633, %735 ], [ 0, %.preheader506 ]
  %.1380557 = phi i64 [ %.2381, %735 ], [ %.0379, %.preheader506 ]
  %702 = getelementptr inbounds i8, ptr %687, i64 %indvars.iv632
  %703 = load i8, ptr %702, align 1, !tbaa !15
  %704 = icmp eq i8 %703, 0
  br i1 %704, label %735, label %705

705:                                              ; preds = %.lr.ph560
  store i8 0, ptr %702, align 1, !tbaa !15
  %706 = getelementptr inbounds %struct.bPload, ptr %684, i64 %indvars.iv632
  %707 = getelementptr inbounds i8, ptr %706, i64 8
  store i64 %.1380557, ptr %707, align 8, !tbaa !33
  %708 = trunc nuw nsw i64 %indvars.iv632 to i32
  store i32 %708, ptr %706, align 8, !tbaa !35
  %709 = getelementptr inbounds i8, ptr %706, i64 44
  store i32 0, ptr %709, align 4, !tbaa !36
  %710 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %711 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %712 = add i64 %711, -1
  %713 = icmp uge i64 %710, %712
  %714 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %715 = zext i32 %714 to i64
  %716 = select i1 %713, i64 %668, i64 0
  %.sink662.v = add i64 %.1380557, %716
  %.sink662 = add i64 %.sink662.v, %715
  %717 = select i1 %713, i64 %668, i64 0
  %.sink = add nuw nsw i64 %717, %715
  %718 = getelementptr inbounds i8, ptr %706, i64 16
  store i64 %.sink662, ptr %718, align 8
  %719 = getelementptr inbounds i8, ptr %706, i64 32
  store i64 %.sink, ptr %719, align 8
  %720 = load ptr, ptr @tid, align 8, !tbaa !5
  %721 = getelementptr inbounds i64, ptr %720, i64 %indvars.iv632
  %722 = call i32 @pthread_create(ptr noundef %721, ptr noundef null, ptr noundef nonnull @_Z21thread_bPload_2bloomsPv, ptr noundef nonnull %706) #19
  %.not444 = icmp eq i32 %722, 0
  br i1 %.not444, label %725, label %723

723:                                              ; preds = %705
  %724 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.108, i32 noundef %722)
  call void @exit(i32 noundef 1) #23
  unreachable

725:                                              ; preds = %705
  %.2370 = zext i1 %713 to i32
  %726 = load ptr, ptr @tid, align 8, !tbaa !5
  %727 = getelementptr inbounds i64, ptr %726, i64 %indvars.iv632
  %728 = load i64, ptr %727, align 8, !tbaa !9
  %729 = call i32 @pthread_detach(i64 noundef %728) #19
  %730 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %731 = zext i32 %730 to i64
  %732 = add i64 %.1380557, %731
  %733 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %734 = add i64 %733, 1
  store i64 %734, ptr @THREADCOUNTER, align 8, !tbaa !9
  %.pre668 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %735

735:                                              ; preds = %.lr.ph560, %725
  %736 = phi i32 [ %700, %.lr.ph560 ], [ %.pre668, %725 ]
  %737 = phi i32 [ %701, %.lr.ph560 ], [ %.pre668, %725 ]
  %.2381 = phi i64 [ %.1380557, %.lr.ph560 ], [ %732, %725 ]
  %.3371 = phi i32 [ 0, %.lr.ph560 ], [ %.2370, %725 ]
  %indvars.iv.next633 = add nuw nsw i64 %indvars.iv632, 1
  %738 = sext i32 %737 to i64
  %739 = icmp slt i64 %indvars.iv.next633, %738
  %.not441 = icmp eq i32 %.3371, 0
  %740 = and i1 %739, %.not441
  br i1 %740, label %.lr.ph560, label %._crit_edge561, !llvm.loop !37

._crit_edge561:                                   ; preds = %735, %.preheader506
  %741 = phi i32 [ %697, %.preheader506 ], [ %736, %735 ]
  %.1380.lcssa = phi i64 [ %.0379, %.preheader506 ], [ %.2381, %735 ]
  %.1369.lcssa = phi i32 [ %.0368, %.preheader506 ], [ %.3371, %735 ]
  %742 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %743 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %.not442 = icmp eq i64 %742, %743
  br i1 %.not442, label %755, label %744

744:                                              ; preds = %._crit_edge561
  %745 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %746 = uitofp i64 %743 to double
  %747 = uitofp i64 %745 to double
  %748 = fdiv double %746, %747
  %749 = fmul double %748, 1.000000e+02
  %750 = fptosi double %749 to i32
  %751 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.104, i64 noundef %743, i64 noundef %745, i32 noundef %750)
  %752 = load ptr, ptr @stdout, align 8, !tbaa !5
  %753 = call i32 @fflush(ptr noundef %752)
  %754 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  store i64 %754, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %.pre669 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %755

755:                                              ; preds = %744, %._crit_edge561
  %756 = phi i32 [ %.pre669, %744 ], [ %741, %._crit_edge561 ]
  %757 = icmp sgt i32 %756, 0
  br i1 %757, label %.lr.ph566, label %._crit_edge567

.lr.ph566:                                        ; preds = %755, %775
  %indvars.iv635 = phi i64 [ %indvars.iv.next636, %775 ], [ 0, %755 ]
  %758 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %759 = getelementptr inbounds %union.pthread_mutex_t, ptr %758, i64 %indvars.iv635
  %760 = call i32 @pthread_mutex_lock(ptr noundef %759) #19
  %761 = getelementptr inbounds %struct.bPload, ptr %684, i64 %indvars.iv635
  %762 = getelementptr inbounds i8, ptr %761, i64 44
  %763 = load i32, ptr %762, align 4, !tbaa !36
  %764 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %765 = getelementptr inbounds %union.pthread_mutex_t, ptr %764, i64 %indvars.iv635
  %766 = call i32 @pthread_mutex_unlock(ptr noundef %765) #19
  %.not443 = icmp eq i32 %763, 0
  br i1 %.not443, label %775, label %767

767:                                              ; preds = %.lr.ph566
  store i32 0, ptr %762, align 4, !tbaa !36
  %768 = getelementptr inbounds i8, ptr %687, i64 %indvars.iv635
  store i8 1, ptr %768, align 1, !tbaa !15
  %769 = getelementptr inbounds i8, ptr %761, i64 32
  %770 = load i64, ptr %769, align 8, !tbaa !38
  %771 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %772 = add i64 %771, %770
  store i64 %772, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %773 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %774 = add i64 %773, 1
  store i64 %774, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  br label %775

775:                                              ; preds = %.lr.ph566, %767
  %indvars.iv.next636 = add nuw nsw i64 %indvars.iv635, 1
  %776 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %777 = sext i32 %776 to i64
  %778 = icmp slt i64 %indvars.iv.next636, %777
  br i1 %778, label %.lr.ph566, label %._crit_edge567, !llvm.loop !39

._crit_edge567:                                   ; preds = %775, %755
  %779 = phi i32 [ %756, %755 ], [ %776, %775 ]
  %780 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %781 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %782 = icmp ult i64 %780, %781
  br i1 %782, label %.preheader506, label %.sink.split, !llvm.loop !40

783:                                              ; preds = %657
  store i64 0, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  store i64 0, ptr @FINISHED_THREADS_BP, align 8, !tbaa !9
  store i64 0, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  store i64 0, ptr @THREADCOUNTER, align 8, !tbaa !9
  %784 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %785 = zext i32 %784 to i64
  %786 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %.not431 = icmp ugt i64 %786, %785
  br i1 %.not431, label %789, label %787

787:                                              ; preds = %783
  %788 = trunc nuw i64 %786 to i32
  store i32 %788, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  br label %789

789:                                              ; preds = %787, %783
  %.pre-phi674 = phi i64 [ %786, %787 ], [ %785, %783 ]
  %790 = udiv i64 %786, %.pre-phi674
  %791 = urem i64 %786, %.pre-phi674
  %.not432 = icmp ne i64 %791, 0
  %792 = zext i1 %.not432 to i64
  %spec.select498 = add i64 %790, %792
  store i64 %spec.select498, ptr @THREADCYCLES, align 8, !tbaa !9
  %793 = uitofp i64 %786 to double
  %794 = fdiv double 0.000000e+00, %793
  %795 = fmul double %794, 1.000000e+02
  %796 = fptosi double %795 to i32
  %797 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.104, i64 noundef 0, i64 noundef %786, i32 noundef %796)
  %798 = load ptr, ptr @stdout, align 8, !tbaa !5
  %799 = call i32 @fflush(ptr noundef %798)
  %800 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %801 = sext i32 %800 to i64
  %802 = call noalias ptr @calloc(i64 noundef %801, i64 noundef 8) #24
  store ptr %802, ptr @tid, align 8, !tbaa !5
  %803 = call noalias ptr @calloc(i64 noundef %801, i64 noundef 40) #24
  store ptr %803, ptr @bPload_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %802, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.110, i32 noundef 1039)
  %804 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %804, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.105, i32 noundef 1040)
  %805 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %806 = sext i32 %805 to i64
  %807 = call noalias ptr @calloc(i64 noundef %806, i64 noundef 48) #24
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %807, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.106, i32 noundef 1043)
  %808 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %809 = sext i32 %808 to i64
  %810 = call noalias ptr @calloc(i64 noundef %809, i64 noundef 1) #24
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %810, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71, ptr noundef nonnull @.str.107, i32 noundef 1045)
  %811 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %812 = sext i32 %811 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %810, i8 1, i64 %812, i1 false)
  %813 = icmp sgt i32 %811, 0
  br i1 %813, label %.lr.ph, label %.preheader507.preheader

.lr.ph:                                           ; preds = %789, %.lr.ph
  %indvars.iv620 = phi i64 [ %indvars.iv.next621, %.lr.ph ], [ 0, %789 ]
  %814 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %815 = getelementptr inbounds %union.pthread_mutex_t, ptr %814, i64 %indvars.iv620
  %816 = call i32 @pthread_mutex_init(ptr noundef %815, ptr noundef null) #19
  %indvars.iv.next621 = add nuw nsw i64 %indvars.iv620, 1
  %817 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %818 = sext i32 %817 to i64
  %819 = icmp slt i64 %indvars.iv.next621, %818
  br i1 %819, label %.lr.ph, label %.preheader507.preheader, !llvm.loop !41

.preheader507.preheader:                          ; preds = %.lr.ph, %789
  %.ph718 = phi i32 [ %811, %789 ], [ %817, %.lr.ph ]
  br label %.preheader507

.preheader507:                                    ; preds = %.preheader507.preheader, %._crit_edge552
  %820 = phi i32 [ %902, %._crit_edge552 ], [ %.ph718, %.preheader507.preheader ]
  %.3382 = phi i64 [ %.4383.lcssa, %._crit_edge552 ], [ 0, %.preheader507.preheader ]
  %.4372 = phi i32 [ %.5373.lcssa, %._crit_edge552 ], [ 0, %.preheader507.preheader ]
  %821 = icmp sgt i32 %820, 0
  %.not434544 = icmp eq i32 %.4372, 0
  %822 = select i1 %821, i1 %.not434544, i1 false
  br i1 %822, label %.lr.ph547, label %._crit_edge

.lr.ph547:                                        ; preds = %.preheader507, %858
  %823 = phi i32 [ %859, %858 ], [ %820, %.preheader507 ]
  %824 = phi i32 [ %860, %858 ], [ %820, %.preheader507 ]
  %indvars.iv623 = phi i64 [ %indvars.iv.next624, %858 ], [ 0, %.preheader507 ]
  %.4383545 = phi i64 [ %.5384, %858 ], [ %.3382, %.preheader507 ]
  %825 = getelementptr inbounds i8, ptr %810, i64 %indvars.iv623
  %826 = load i8, ptr %825, align 1, !tbaa !15
  %827 = icmp eq i8 %826, 0
  br i1 %827, label %858, label %828

828:                                              ; preds = %.lr.ph547
  store i8 0, ptr %825, align 1, !tbaa !15
  %829 = getelementptr inbounds %struct.bPload, ptr %807, i64 %indvars.iv623
  %830 = getelementptr inbounds i8, ptr %829, i64 8
  store i64 %.4383545, ptr %830, align 8, !tbaa !33
  %831 = trunc nuw nsw i64 %indvars.iv623 to i32
  store i32 %831, ptr %829, align 8, !tbaa !35
  %832 = getelementptr inbounds i8, ptr %829, i64 44
  store i32 0, ptr %832, align 4, !tbaa !36
  %833 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %834 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %835 = add i64 %834, -1
  %836 = icmp uge i64 %833, %835
  %837 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %838 = zext i32 %837 to i64
  %839 = select i1 %836, i64 %791, i64 0
  %.sink664.v = add i64 %.4383545, %839
  %.sink664 = add i64 %.sink664.v, %838
  %840 = select i1 %836, i64 %791, i64 0
  %.sink663 = add nuw nsw i64 %840, %838
  %841 = getelementptr inbounds i8, ptr %829, i64 16
  store i64 %.sink664, ptr %841, align 8
  %842 = getelementptr inbounds i8, ptr %829, i64 32
  store i64 %.sink663, ptr %842, align 8
  %843 = load ptr, ptr @tid, align 8, !tbaa !5
  %844 = getelementptr inbounds i64, ptr %843, i64 %indvars.iv623
  %845 = call i32 @pthread_create(ptr noundef %844, ptr noundef null, ptr noundef nonnull @_Z13thread_bPloadPv, ptr noundef nonnull %829) #19
  %.not437 = icmp eq i32 %845, 0
  br i1 %.not437, label %848, label %846

846:                                              ; preds = %828
  %847 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.108, i32 noundef %845)
  call void @exit(i32 noundef 1) #23
  unreachable

848:                                              ; preds = %828
  %.6374 = zext i1 %836 to i32
  %849 = load ptr, ptr @tid, align 8, !tbaa !5
  %850 = getelementptr inbounds i64, ptr %849, i64 %indvars.iv623
  %851 = load i64, ptr %850, align 8, !tbaa !9
  %852 = call i32 @pthread_detach(i64 noundef %851) #19
  %853 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %854 = zext i32 %853 to i64
  %855 = add i64 %.4383545, %854
  %856 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %857 = add i64 %856, 1
  store i64 %857, ptr @THREADCOUNTER, align 8, !tbaa !9
  %.pre666 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %858

858:                                              ; preds = %.lr.ph547, %848
  %859 = phi i32 [ %823, %.lr.ph547 ], [ %.pre666, %848 ]
  %860 = phi i32 [ %824, %.lr.ph547 ], [ %.pre666, %848 ]
  %.5384 = phi i64 [ %.4383545, %.lr.ph547 ], [ %855, %848 ]
  %.7375 = phi i32 [ 0, %.lr.ph547 ], [ %.6374, %848 ]
  %indvars.iv.next624 = add nuw nsw i64 %indvars.iv623, 1
  %861 = sext i32 %860 to i64
  %862 = icmp slt i64 %indvars.iv.next624, %861
  %.not434 = icmp eq i32 %.7375, 0
  %863 = and i1 %862, %.not434
  br i1 %863, label %.lr.ph547, label %._crit_edge, !llvm.loop !42

._crit_edge:                                      ; preds = %858, %.preheader507
  %864 = phi i32 [ %820, %.preheader507 ], [ %859, %858 ]
  %.4383.lcssa = phi i64 [ %.3382, %.preheader507 ], [ %.5384, %858 ]
  %.5373.lcssa = phi i32 [ %.4372, %.preheader507 ], [ %.7375, %858 ]
  %865 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %866 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %.not435 = icmp eq i64 %865, %866
  br i1 %.not435, label %878, label %867

867:                                              ; preds = %._crit_edge
  %868 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %869 = uitofp i64 %866 to double
  %870 = uitofp i64 %868 to double
  %871 = fdiv double %869, %870
  %872 = fmul double %871, 1.000000e+02
  %873 = fptosi double %872 to i32
  %874 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.104, i64 noundef %866, i64 noundef %868, i32 noundef %873)
  %875 = load ptr, ptr @stdout, align 8, !tbaa !5
  %876 = call i32 @fflush(ptr noundef %875)
  %877 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  store i64 %877, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %.pre667 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %878

878:                                              ; preds = %867, %._crit_edge
  %879 = phi i32 [ %.pre667, %867 ], [ %864, %._crit_edge ]
  %880 = icmp sgt i32 %879, 0
  br i1 %880, label %.lr.ph551, label %._crit_edge552

.lr.ph551:                                        ; preds = %878, %898
  %indvars.iv626 = phi i64 [ %indvars.iv.next627, %898 ], [ 0, %878 ]
  %881 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %882 = getelementptr inbounds %union.pthread_mutex_t, ptr %881, i64 %indvars.iv626
  %883 = call i32 @pthread_mutex_lock(ptr noundef %882) #19
  %884 = getelementptr inbounds %struct.bPload, ptr %807, i64 %indvars.iv626
  %885 = getelementptr inbounds i8, ptr %884, i64 44
  %886 = load i32, ptr %885, align 4, !tbaa !36
  %887 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %888 = getelementptr inbounds %union.pthread_mutex_t, ptr %887, i64 %indvars.iv626
  %889 = call i32 @pthread_mutex_unlock(ptr noundef %888) #19
  %.not436 = icmp eq i32 %886, 0
  br i1 %.not436, label %898, label %890

890:                                              ; preds = %.lr.ph551
  store i32 0, ptr %885, align 4, !tbaa !36
  %891 = getelementptr inbounds i8, ptr %810, i64 %indvars.iv626
  store i8 1, ptr %891, align 1, !tbaa !15
  %892 = getelementptr inbounds i8, ptr %884, i64 32
  %893 = load i64, ptr %892, align 8, !tbaa !38
  %894 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %895 = add i64 %894, %893
  store i64 %895, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %896 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %897 = add i64 %896, 1
  store i64 %897, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  br label %898

898:                                              ; preds = %.lr.ph551, %890
  %indvars.iv.next627 = add nuw nsw i64 %indvars.iv626, 1
  %899 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %900 = sext i32 %899 to i64
  %901 = icmp slt i64 %indvars.iv.next627, %900
  br i1 %901, label %.lr.ph551, label %._crit_edge552, !llvm.loop !43

._crit_edge552:                                   ; preds = %898, %878
  %902 = phi i32 [ %879, %878 ], [ %899, %898 ]
  %903 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %904 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %905 = icmp ult i64 %903, %904
  br i1 %905, label %.preheader507, label %.sink.split, !llvm.loop !44

.sink.split:                                      ; preds = %._crit_edge552, %._crit_edge567
  %bsgs_m2.sink = phi ptr [ @bsgs_m2, %._crit_edge567 ], [ @bsgs_m, %._crit_edge552 ]
  %.sink694 = phi ptr [ %684, %._crit_edge567 ], [ %807, %._crit_edge552 ]
  %.sink693 = phi ptr [ %687, %._crit_edge567 ], [ %810, %._crit_edge552 ]
  %906 = load i64, ptr %bsgs_m2.sink, align 8, !tbaa !9
  %907 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.109, i64 noundef %906, i64 noundef %906)
  %908 = load ptr, ptr @tid, align 8, !tbaa !5
  call void @free(ptr noundef %908) #19
  %909 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  call void @free(ptr noundef %909) #19
  call void @free(ptr noundef %.sink694) #19
  call void @free(ptr noundef %.sink693) #19
  br label %910

910:                                              ; preds = %.sink.split, %648
  %911 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %912 = icmp ne i32 %911, 0
  %913 = load i32, ptr @FLAGREADEDFILE2, align 4
  %914 = icmp ne i32 %913, 0
  %or.cond14 = select i1 %912, i1 %914, i1 false
  %915 = load i32, ptr @FLAGREADEDFILE4, align 4
  %916 = icmp ne i32 %915, 0
  %or.cond16 = select i1 %or.cond14, i1 %916, i1 false
  br i1 %or.cond16, label %.thread675, label %917

917:                                              ; preds = %910
  %918 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.111)
  %919 = load ptr, ptr @stdout, align 8, !tbaa !5
  %920 = call i32 @fflush(ptr noundef %919)
  %.pre670 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %.not445 = icmp eq i32 %.pre670, 0
  br i1 %.not445, label %.preheader503, label %.thread675

.preheader503:                                    ; preds = %917, %929
  %indvars.iv638 = phi i64 [ %indvars.iv.next639, %929 ], [ 0, %917 ]
  %921 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %922 = getelementptr inbounds %struct.bloom, ptr %921, i64 %indvars.iv638
  %923 = getelementptr inbounds i8, ptr %922, i64 64
  %924 = load ptr, ptr %923, align 16, !tbaa !27
  %925 = getelementptr inbounds i8, ptr %922, i64 16
  %926 = load i64, ptr %925, align 16, !tbaa !16
  %927 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %928 = getelementptr inbounds %struct.checksumsha256, ptr %927, i64 %indvars.iv638
  invoke void @_Z6sha256PhmS_(ptr noundef %924, i64 noundef %926, ptr noundef %928)
          to label %929 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

929:                                              ; preds = %.preheader503
  %930 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %931 = getelementptr inbounds %struct.checksumsha256, ptr %930, i64 %indvars.iv638
  %932 = getelementptr inbounds i8, ptr %931, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %932, ptr noundef nonnull align 1 dereferenceable(32) %931, i64 32, i1 false)
  %indvars.iv.next639 = add nuw nsw i64 %indvars.iv638, 1
  %exitcond641.not = icmp eq i64 %indvars.iv.next639, 256
  br i1 %exitcond641.not, label %933, label %.preheader503, !llvm.loop !45

933:                                              ; preds = %929
  %934 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  br label %.thread675

.thread675:                                       ; preds = %910, %933, %917
  %935 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !11
  %.not446 = icmp eq i32 %935, 0
  br i1 %.not446, label %.preheader499, label %950

.preheader499:                                    ; preds = %.thread675, %944
  %indvars.iv642 = phi i64 [ %indvars.iv.next643, %944 ], [ 0, %.thread675 ]
  %936 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %937 = getelementptr inbounds %struct.bloom, ptr %936, i64 %indvars.iv642
  %938 = getelementptr inbounds i8, ptr %937, i64 64
  %939 = load ptr, ptr %938, align 16, !tbaa !27
  %940 = getelementptr inbounds i8, ptr %937, i64 16
  %941 = load i64, ptr %940, align 16, !tbaa !16
  %942 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %943 = getelementptr inbounds %struct.checksumsha256, ptr %942, i64 %indvars.iv642
  invoke void @_Z6sha256PhmS_(ptr noundef %939, i64 noundef %941, ptr noundef %943)
          to label %944 unwind label %.loopexit.split-lp.loopexit

944:                                              ; preds = %.preheader499
  %945 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %946 = getelementptr inbounds %struct.checksumsha256, ptr %945, i64 %indvars.iv642
  %947 = getelementptr inbounds i8, ptr %946, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %947, ptr noundef nonnull align 1 dereferenceable(32) %946, i64 32, i1 false)
  %indvars.iv.next643 = add nuw nsw i64 %indvars.iv642, 1
  %exitcond645.not = icmp eq i64 %indvars.iv.next643, 256
  br i1 %exitcond645.not, label %948, label %.preheader499, !llvm.loop !46

948:                                              ; preds = %944
  %949 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  br label %950

950:                                              ; preds = %948, %.thread675
  %951 = load i32, ptr @FLAGREADEDFILE4, align 4
  %.not447 = icmp eq i32 %951, 0
  br i1 %.not447, label %.preheader, label %966

.preheader:                                       ; preds = %950, %960
  %indvars.iv646 = phi i64 [ %indvars.iv.next647, %960 ], [ 0, %950 ]
  %952 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %953 = getelementptr inbounds %struct.bloom, ptr %952, i64 %indvars.iv646
  %954 = getelementptr inbounds i8, ptr %953, i64 64
  %955 = load ptr, ptr %954, align 16, !tbaa !27
  %956 = getelementptr inbounds i8, ptr %953, i64 16
  %957 = load i64, ptr %956, align 16, !tbaa !16
  %958 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %959 = getelementptr inbounds %struct.checksumsha256, ptr %958, i64 %indvars.iv646
  invoke void @_Z6sha256PhmS_(ptr noundef %955, i64 noundef %957, ptr noundef %959)
          to label %960 unwind label %.loopexit

960:                                              ; preds = %.preheader
  %961 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %962 = getelementptr inbounds %struct.checksumsha256, ptr %961, i64 %indvars.iv646
  %963 = getelementptr inbounds i8, ptr %962, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %963, ptr noundef nonnull align 1 dereferenceable(32) %962, i64 32, i1 false)
  %indvars.iv.next647 = add nuw nsw i64 %indvars.iv646, 1
  %exitcond649.not = icmp eq i64 %indvars.iv.next647, 256
  br i1 %exitcond649.not, label %964, label %.preheader, !llvm.loop !47

964:                                              ; preds = %960
  %965 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %.pre671 = load i32, ptr @FLAGREADEDFILE4, align 4
  br label %966

966:                                              ; preds = %964, %950
  %967 = phi i32 [ %.pre671, %964 ], [ %951, %950 ]
  %968 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %969 = icmp ne i32 %968, 0
  %970 = load i32, ptr @FLAGREADEDFILE2, align 4
  %971 = icmp ne i32 %970, 0
  %or.cond18 = select i1 %969, i1 %971, i1 false
  %972 = icmp ne i32 %967, 0
  %or.cond20 = select i1 %or.cond18, i1 %972, i1 false
  br i1 %or.cond20, label %977, label %973

973:                                              ; preds = %966
  %974 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.112)
  %975 = load ptr, ptr @stdout, align 8, !tbaa !5
  %976 = call i32 @fflush(ptr noundef %975)
  br label %977

977:                                              ; preds = %966, %973
  %978 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !11
  %.not448 = icmp eq i32 %978, 0
  br i1 %.not448, label %979, label %993

979:                                              ; preds = %977
  %980 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %981 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.113, i64 noundef %980)
  %982 = load ptr, ptr @stdout, align 8, !tbaa !5
  %983 = call i32 @fflush(ptr noundef %982)
  %984 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %985 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  invoke void @_Z9bsgs_sortP11bsgs_xvaluel(ptr noundef %984, i64 noundef %985)
          to label %986 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

986:                                              ; preds = %979
  %987 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %988 = load i64, ptr @bytes, align 8, !tbaa !9
  invoke void @_Z6sha256PhmS_(ptr noundef %987, i64 noundef %988, ptr noundef nonnull @checksum)
          to label %989 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

989:                                              ; preds = %986
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) @checksum_backup, ptr noundef nonnull align 16 dereferenceable(32) @checksum, i64 32, i1 false)
  %990 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.114)
  %991 = load ptr, ptr @stdout, align 8, !tbaa !5
  %992 = call i32 @fflush(ptr noundef %991)
  br label %993

993:                                              ; preds = %989, %977
  %994 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !11
  %995 = icmp ne i32 %994, 0
  %996 = load i32, ptr @FLAGUPDATEFILE1, align 4
  %997 = icmp ne i32 %996, 0
  %or.cond22 = select i1 %995, i1 true, i1 %997
  br i1 %or.cond22, label %998, label %1188

998:                                              ; preds = %993
  %999 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %1000 = icmp eq i32 %999, 0
  %or.cond24 = select i1 %1000, i1 true, i1 %997
  br i1 %or.cond24, label %1001, label %1055

1001:                                             ; preds = %998
  %1002 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %1003 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.87, i64 noundef %1002) #19
  %1004 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !11
  %.not449 = icmp eq i32 %1004, 0
  br i1 %.not449, label %1007, label %1005

1005:                                             ; preds = %1001
  %1006 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.115)
  br label %1007

1007:                                             ; preds = %1005, %1001
  %1008 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.116)
  %.not450 = icmp eq ptr %1008, null
  br i1 %.not450, label %1052, label %1009

1009:                                             ; preds = %1007
  %1010 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.117, ptr noundef nonnull @buffer_bloom_file)
  %1011 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1012 = call i32 @fflush(ptr noundef %1011)
  br label %1013

1013:                                             ; preds = %1009, %1048
  %indvars.iv650 = phi i64 [ 0, %1009 ], [ %indvars.iv.next651, %1048 ]
  %1014 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %1015 = getelementptr inbounds %struct.bloom, ptr %1014, i64 %indvars.iv650
  %1016 = call i64 @fwrite(ptr noundef %1015, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %1008)
  %1017 = and i64 %1016, 4294967295
  %.not468 = icmp eq i64 %1017, 1
  br i1 %.not468, label %1021, label %1018

1018:                                             ; preds = %1013
  %1019 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1020 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1019, ptr noundef nonnull @.str.118, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1021:                                             ; preds = %1013
  %1022 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %1023 = getelementptr inbounds %struct.bloom, ptr %1022, i64 %indvars.iv650
  %1024 = getelementptr inbounds i8, ptr %1023, i64 64
  %1025 = load ptr, ptr %1024, align 16, !tbaa !27
  %1026 = getelementptr inbounds i8, ptr %1023, i64 16
  %1027 = load i64, ptr %1026, align 16, !tbaa !16
  %1028 = call i64 @fwrite(ptr noundef %1025, i64 noundef %1027, i64 noundef 1, ptr noundef nonnull %1008)
  %1029 = and i64 %1028, 4294967295
  %.not469 = icmp eq i64 %1029, 1
  br i1 %.not469, label %1033, label %1030

1030:                                             ; preds = %1021
  %1031 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1032 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1031, ptr noundef nonnull @.str.118, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1033:                                             ; preds = %1021
  %1034 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %1035 = getelementptr inbounds %struct.checksumsha256, ptr %1034, i64 %indvars.iv650
  %1036 = call i64 @fwrite(ptr noundef %1035, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %1008)
  %1037 = and i64 %1036, 4294967295
  %.not470 = icmp eq i64 %1037, 1
  br i1 %.not470, label %1041, label %1038

1038:                                             ; preds = %1033
  %1039 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1040 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1039, ptr noundef nonnull @.str.118, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1041:                                             ; preds = %1033
  %1042 = and i64 %indvars.iv650, 63
  %1043 = icmp eq i64 %1042, 0
  br i1 %1043, label %1044, label %1048

1044:                                             ; preds = %1041
  %1045 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %1046 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1047 = call i32 @fflush(ptr noundef %1046)
  br label %1048

1048:                                             ; preds = %1041, %1044
  %indvars.iv.next651 = add nuw nsw i64 %indvars.iv650, 1
  %exitcond653.not = icmp eq i64 %indvars.iv.next651, 256
  br i1 %exitcond653.not, label %1049, label %1013, !llvm.loop !48

1049:                                             ; preds = %1048
  %1050 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  %1051 = call i32 @fclose(ptr noundef nonnull %1008)
  br label %1055

1052:                                             ; preds = %1007
  %1053 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1054 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1053, ptr noundef nonnull @.str.119, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1055:                                             ; preds = %998, %1049
  %1056 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !11
  %.not451 = icmp eq i32 %1056, 0
  br i1 %.not451, label %1057, label %1107

1057:                                             ; preds = %1055
  %1058 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %1059 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.96, i64 noundef %1058) #19
  %1060 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.116)
  %.not452 = icmp eq ptr %1060, null
  br i1 %.not452, label %1104, label %1061

1061:                                             ; preds = %1057
  %1062 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.117, ptr noundef nonnull @buffer_bloom_file)
  %1063 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1064 = call i32 @fflush(ptr noundef %1063)
  br label %1065

1065:                                             ; preds = %1061, %1100
  %indvars.iv654 = phi i64 [ 0, %1061 ], [ %indvars.iv.next655, %1100 ]
  %1066 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %1067 = getelementptr inbounds %struct.bloom, ptr %1066, i64 %indvars.iv654
  %1068 = call i64 @fwrite(ptr noundef %1067, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %1060)
  %1069 = and i64 %1068, 4294967295
  %.not453 = icmp eq i64 %1069, 1
  br i1 %.not453, label %1073, label %1070

1070:                                             ; preds = %1065
  %1071 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1072 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1071, ptr noundef nonnull @.str.120, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1073:                                             ; preds = %1065
  %1074 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %1075 = getelementptr inbounds %struct.bloom, ptr %1074, i64 %indvars.iv654
  %1076 = getelementptr inbounds i8, ptr %1075, i64 64
  %1077 = load ptr, ptr %1076, align 16, !tbaa !27
  %1078 = getelementptr inbounds i8, ptr %1075, i64 16
  %1079 = load i64, ptr %1078, align 16, !tbaa !16
  %1080 = call i64 @fwrite(ptr noundef %1077, i64 noundef %1079, i64 noundef 1, ptr noundef nonnull %1060)
  %1081 = and i64 %1080, 4294967295
  %.not454 = icmp eq i64 %1081, 1
  br i1 %.not454, label %1085, label %1082

1082:                                             ; preds = %1073
  %1083 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1084 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1083, ptr noundef nonnull @.str.120, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1085:                                             ; preds = %1073
  %1086 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %1087 = getelementptr inbounds %struct.checksumsha256, ptr %1086, i64 %indvars.iv654
  %1088 = call i64 @fwrite(ptr noundef %1087, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %1060)
  %1089 = and i64 %1088, 4294967295
  %.not455 = icmp eq i64 %1089, 1
  br i1 %.not455, label %1093, label %1090

1090:                                             ; preds = %1085
  %1091 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1092 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1091, ptr noundef nonnull @.str.118, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1093:                                             ; preds = %1085
  %1094 = and i64 %indvars.iv654, 63
  %1095 = icmp eq i64 %1094, 0
  br i1 %1095, label %1096, label %1100

1096:                                             ; preds = %1093
  %1097 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %1098 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1099 = call i32 @fflush(ptr noundef %1098)
  br label %1100

1100:                                             ; preds = %1093, %1096
  %indvars.iv.next655 = add nuw nsw i64 %indvars.iv654, 1
  %exitcond657.not = icmp eq i64 %indvars.iv.next655, 256
  br i1 %exitcond657.not, label %1101, label %1065, !llvm.loop !49

1101:                                             ; preds = %1100
  %1102 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  %1103 = call i32 @fclose(ptr noundef nonnull %1060)
  br label %1107

1104:                                             ; preds = %1057
  %1105 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1105, ptr noundef nonnull @.str.119, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1107:                                             ; preds = %1101, %1055
  %1108 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !11
  %.not456 = icmp eq i32 %1108, 0
  br i1 %.not456, label %1109, label %1136

1109:                                             ; preds = %1107
  %1110 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %1111 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.99, i64 noundef %1110) #19
  %1112 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.116)
  %.not457 = icmp eq ptr %1112, null
  br i1 %.not457, label %1133, label %1113

1113:                                             ; preds = %1109
  %1114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.121, ptr noundef nonnull @buffer_bloom_file)
  %1115 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1116 = call i32 @fflush(ptr noundef %1115)
  %1117 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %1118 = load i64, ptr @bytes, align 8, !tbaa !9
  %1119 = call i64 @fwrite(ptr noundef %1117, i64 noundef %1118, i64 noundef 1, ptr noundef nonnull %1112)
  %1120 = and i64 %1119, 4294967295
  %.not458 = icmp eq i64 %1120, 1
  br i1 %.not458, label %1124, label %1121

1121:                                             ; preds = %1113
  %1122 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1122, ptr noundef nonnull @.str.120, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1124:                                             ; preds = %1113
  %1125 = call i64 @fwrite(ptr noundef nonnull @checksum, i64 noundef 32, i64 noundef 1, ptr noundef nonnull %1112)
  %1126 = and i64 %1125, 4294967295
  %.not459 = icmp eq i64 %1126, 1
  br i1 %.not459, label %1130, label %1127

1127:                                             ; preds = %1124
  %1128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1128, ptr noundef nonnull @.str.120, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1130:                                             ; preds = %1124
  %1131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.114)
  %1132 = call i32 @fclose(ptr noundef nonnull %1112)
  br label %1136

1133:                                             ; preds = %1109
  %1134 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1134, ptr noundef nonnull @.str.119, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1136:                                             ; preds = %1130, %1107
  %1137 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !11
  %.not460 = icmp eq i32 %1137, 0
  br i1 %.not460, label %1138, label %1188

1138:                                             ; preds = %1136
  %1139 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %1140 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.102, i64 noundef %1139) #19
  %1141 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.116)
  %.not461 = icmp eq ptr %1141, null
  br i1 %.not461, label %1185, label %1142

1142:                                             ; preds = %1138
  %1143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.117, ptr noundef nonnull @buffer_bloom_file)
  %1144 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1145 = call i32 @fflush(ptr noundef %1144)
  br label %1146

1146:                                             ; preds = %1142, %1181
  %indvars.iv658 = phi i64 [ 0, %1142 ], [ %indvars.iv.next659, %1181 ]
  %1147 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1148 = getelementptr inbounds %struct.bloom, ptr %1147, i64 %indvars.iv658
  %1149 = call i64 @fwrite(ptr noundef %1148, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %1141)
  %1150 = and i64 %1149, 4294967295
  %.not462 = icmp eq i64 %1150, 1
  br i1 %.not462, label %1154, label %1151

1151:                                             ; preds = %1146
  %1152 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1152, ptr noundef nonnull @.str.120, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1154:                                             ; preds = %1146
  %1155 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1156 = getelementptr inbounds %struct.bloom, ptr %1155, i64 %indvars.iv658
  %1157 = getelementptr inbounds i8, ptr %1156, i64 64
  %1158 = load ptr, ptr %1157, align 16, !tbaa !27
  %1159 = getelementptr inbounds i8, ptr %1156, i64 16
  %1160 = load i64, ptr %1159, align 16, !tbaa !16
  %1161 = call i64 @fwrite(ptr noundef %1158, i64 noundef %1160, i64 noundef 1, ptr noundef nonnull %1141)
  %1162 = and i64 %1161, 4294967295
  %.not463 = icmp eq i64 %1162, 1
  br i1 %.not463, label %1166, label %1163

1163:                                             ; preds = %1154
  %1164 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1164, ptr noundef nonnull @.str.120, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1166:                                             ; preds = %1154
  %1167 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %1168 = getelementptr inbounds %struct.checksumsha256, ptr %1167, i64 %indvars.iv658
  %1169 = call i64 @fwrite(ptr noundef %1168, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %1141)
  %1170 = and i64 %1169, 4294967295
  %.not464 = icmp eq i64 %1170, 1
  br i1 %.not464, label %1174, label %1171

1171:                                             ; preds = %1166
  %1172 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1172, ptr noundef nonnull @.str.118, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1174:                                             ; preds = %1166
  %1175 = and i64 %indvars.iv658, 63
  %1176 = icmp eq i64 %1175, 0
  br i1 %1176, label %1177, label %1181

1177:                                             ; preds = %1174
  %1178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  %1179 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1180 = call i32 @fflush(ptr noundef %1179)
  br label %1181

1181:                                             ; preds = %1174, %1177
  %indvars.iv.next659 = add nuw nsw i64 %indvars.iv658, 1
  %exitcond661.not = icmp eq i64 %indvars.iv.next659, 256
  br i1 %exitcond661.not, label %1182, label %1146, !llvm.loop !50

1182:                                             ; preds = %1181
  %1183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.93)
  %1184 = call i32 @fclose(ptr noundef nonnull %1141)
  br label %1188

1185:                                             ; preds = %1138
  %1186 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1186, ptr noundef nonnull @.str.119, ptr noundef nonnull @buffer_bloom_file) #22
  call void @exit(i32 noundef 0) #23
  unreachable

1188:                                             ; preds = %1136, %1182, %993
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %21) #19
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %20) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %20) #19
  br label %.thread

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit, %314, %312, %310, %290, %288, %286, %284, %264, %258
  %.pn = phi { ptr, i32 } [ %265, %264 ], [ %291, %290 ], [ %315, %314 ], [ %313, %312 ], [ %311, %310 ], [ %289, %288 ], [ %287, %286 ], [ %285, %284 ], [ %259, %258 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit500, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit504, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit508, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit511, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit513, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit516, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit518, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit521, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #19
  br label %1189

1189:                                             ; preds = %.loopexit.split-lp, %256
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %257, %256 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %21) #19
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %20) #19
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %20) #19
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #19
  br label %1237

.thread:                                          ; preds = %87, %1188, %90
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #19
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #19
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #19
  store i32 16, ptr %34, align 4, !tbaa !11
  %1190 = call i32 @socket(i32 noundef 2, i32 noundef 1, i32 noundef 0) #19
  %1191 = icmp eq i32 %1190, 0
  br i1 %1191, label %1192, label %1193

1192:                                             ; preds = %.thread
  call void @perror(ptr noundef nonnull @.str.122) #26
  call void @exit(i32 noundef 1) #23
  unreachable

1193:                                             ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #19
  store i32 1, ptr %35, align 4, !tbaa !11
  %1194 = call i32 @setsockopt(i32 noundef %1190, i32 noundef 1, i32 noundef 15, ptr noundef nonnull %35, i32 noundef 4) #19
  %.not465 = icmp eq i32 %1194, 0
  br i1 %.not465, label %1196, label %1195

1195:                                             ; preds = %1193
  call void @perror(ptr noundef nonnull @.str.123) #26
  call void @exit(i32 noundef 1) #23
  unreachable

1196:                                             ; preds = %1193
  store i16 2, ptr %32, align 4, !tbaa !51
  %1197 = load ptr, ptr @IP, align 8, !tbaa !5
  %1198 = call i32 @inet_addr(ptr noundef %1197) #19
  %1199 = getelementptr inbounds i8, ptr %32, i64 4
  store i32 %1198, ptr %1199, align 4, !tbaa !55
  %1200 = call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext 8080)
  %1201 = getelementptr inbounds i8, ptr %32, i64 2
  store i16 %1200, ptr %1201, align 2, !tbaa !56
  %1202 = call i32 @bind(i32 noundef %1190, ptr noundef nonnull %32, i32 noundef 16) #19
  %1203 = icmp slt i32 %1202, 0
  br i1 %1203, label %1204, label %1205

1204:                                             ; preds = %1196
  call void @perror(ptr noundef nonnull @.str.124) #26
  call void @exit(i32 noundef 1) #23
  unreachable

1205:                                             ; preds = %1196
  %1206 = load ptr, ptr @IP, align 8, !tbaa !5
  %1207 = load i32, ptr @port, align 4, !tbaa !11
  %1208 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.125, ptr noundef %1206, i32 noundef %1207)
  %1209 = call i32 @listen(i32 noundef %1190, i32 noundef 3) #19
  %1210 = icmp slt i32 %1209, 0
  br i1 %1210, label %1211, label %1212

1211:                                             ; preds = %1205
  call void @perror(ptr noundef nonnull @.str.126) #26
  call void @exit(i32 noundef 1) #23
  unreachable

1212:                                             ; preds = %1205
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #19
  %1213 = call i32 @accept(i32 noundef %1190, ptr noundef nonnull %32, ptr noundef nonnull %34)
  store i32 %1213, ptr %31, align 4, !tbaa !11
  %1214 = icmp slt i32 %1213, 0
  br i1 %1214, label %._crit_edge576, label %.lr.ph575

._crit_edge576:                                   ; preds = %1231, %1212
  call void @perror(ptr noundef nonnull @.str.127) #26
  call void @exit(i32 noundef 1) #23
  unreachable

.lr.ph575:                                        ; preds = %1212, %1231
  %1215 = call ptr @inet_ntop(i32 noundef 2, ptr noundef nonnull %1199, ptr noundef nonnull %33, i32 noundef 16) #19
  %1216 = load i16, ptr %1201, align 2, !tbaa !56
  %1217 = call noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext %1216)
  %1218 = zext i16 %1217 to i32
  %1219 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.128, ptr noundef nonnull %33, i32 noundef %1218)
  %1220 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1221 = call i32 @fflush(ptr noundef %1220)
  %1222 = call i32 @pthread_create(ptr noundef nonnull %36, ptr noundef null, ptr noundef nonnull @_Z14client_handlerPv, ptr noundef nonnull %31) #19
  %.not466 = icmp eq i32 %1222, 0
  br i1 %.not466, label %1225, label %1223

1223:                                             ; preds = %.lr.ph575
  call void @perror(ptr noundef nonnull @.str.129) #26
  %1224 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.130)
  br label %1231

1225:                                             ; preds = %.lr.ph575
  %1226 = load i64, ptr %36, align 8, !tbaa !9
  %1227 = call i32 @pthread_join(i64 noundef %1226, ptr noundef null)
  %.not467 = icmp eq i32 %1227, 0
  br i1 %.not467, label %1231, label %1228

1228:                                             ; preds = %1225
  %1229 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1229, ptr noundef nonnull @.str.131) #22
  call void @exit(i32 noundef 1) #23
  unreachable

1231:                                             ; preds = %1225, %1223
  %1232 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.132, ptr noundef nonnull %33, i32 noundef %1218)
  %1233 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1234 = call i32 @fflush(ptr noundef %1233)
  %1235 = call i32 @accept(i32 noundef %1190, ptr noundef nonnull %32, ptr noundef nonnull %34)
  store i32 %1235, ptr %31, align 4, !tbaa !11
  %1236 = icmp slt i32 %1235, 0
  br i1 %1236, label %._crit_edge576, label %.lr.ph575, !llvm.loop !57

1237:                                             ; preds = %1189, %52
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %1189 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #19
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #19
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #19
  resume { ptr, i32 } %.pn.pn.pn
}

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

; Function Attrs: nounwind
declare i32 @pthread_mutex_init(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #0

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

declare void @_ZN9Secp256K1C1Ev(ptr noundef nonnull align 8 dereferenceable(983240)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240)) local_unnamed_addr #1

declare void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #1

declare i64 @getrandom(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

declare void @_Z5rseedm(i64 noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4menuv() local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #9

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z14init_generatorv() local_unnamed_addr #8

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

declare void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #1

declare void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN3Int7HasSqrtEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

declare void @_ZN3Int7ModSqrtEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

declare void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

declare noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

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

declare void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

declare void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

declare noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #11

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #12

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #6

declare i32 @bloom_init2(ptr noundef, i64 noundef, x86_fp80 noundef) local_unnamed_addr #1

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 #1

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

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

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

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

declare void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #1

; 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 #12 align 2

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

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

declare void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #1

declare void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #14

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

; Function Attrs: nofree nounwind
declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #6

declare void @_Z6sha256PhmS_(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z21thread_bPload_2bloomsPv(ptr noundef) #8

; Function Attrs: nounwind
declare i32 @pthread_detach(i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z13thread_bPloadPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9bsgs_sortP11bsgs_xvaluel(ptr noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #6

; Function Attrs: nounwind
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i32 @inet_addr(ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i16 @_ZL10__bswap_16t(i16 noundef zeroext) local_unnamed_addr #16

; Function Attrs: nounwind
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i32 @listen(i32 noundef, i32 noundef) local_unnamed_addr #0

declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare ptr @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14client_handlerPv(ptr noundef) #8

declare i32 @pthread_join(i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #17

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #18

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress norecurse 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #6 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #12 = { 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 #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #14 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #15 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #16 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #17 = { nofree nounwind willreturn memory(argmem: read) }
attributes #18 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #19 = { nounwind }
attributes #20 = { builtin allocsize(0) }
attributes #21 = { builtin nounwind }
attributes #22 = { cold nounwind }
attributes #23 = { noreturn nounwind }
attributes #24 = { nounwind allocsize(0,1) }
attributes #25 = { nounwind allocsize(0) }
attributes #26 = { cold }

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !10, i64 16}
!17 = !{!"_ZTS5bloom", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !18, i64 32, !7, i64 48, !7, i64 49, !7, i64 50, !19, i64 56, !6, i64 64}
!18 = !{!"long double", !7, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = !{i64 0, i64 40, !15, i64 40, i64 40, !15, i64 80, i64 40, !15}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = !{!17, !6, i64 64}
!28 = distinct !{!28, !14}
!29 = distinct !{!29, !14}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = !{!34, !10, i64 8}
!34 = !{!"_ZTS6bPload", !12, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !12, i64 40, !12, i64 44}
!35 = !{!34, !12, i64 0}
!36 = !{!34, !12, i64 44}
!37 = distinct !{!37, !14}
!38 = !{!34, !10, i64 32}
!39 = distinct !{!39, !14}
!40 = distinct !{!40, !14}
!41 = distinct !{!41, !14}
!42 = distinct !{!42, !14}
!43 = distinct !{!43, !14}
!44 = distinct !{!44, !14}
!45 = distinct !{!45, !14}
!46 = distinct !{!46, !14}
!47 = distinct !{!47, !14}
!48 = distinct !{!48, !14}
!49 = distinct !{!49, !14}
!50 = distinct !{!50, !14}
!51 = !{!52, !53, i64 0}
!52 = !{!"_ZTS11sockaddr_in", !53, i64 0, !53, i64 2, !54, i64 4, !7, i64 8}
!53 = !{!"short", !7, i64 0}
!54 = !{!"_ZTS7in_addr", !12, i64 0}
!55 = !{!52, !12, i64 4}
!56 = !{!52, !53, i64 2}
!57 = distinct !{!57, !14}


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