; LLVM IR from albertobsd/keyhunt :: keyhunt (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.str_tokenizer = type { i32, i32, ptr }
%class.Secp256K1 = type { %class.Point, %class.Int, %class.Int, [8192 x %class.Point] }
%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 }
%struct.tothread = type { i32, ptr, ptr }

@THREADBPWORKLOAD = external dso_local global i32, align 4
@Ccoinbuffer = external dso_local global ptr, align 8
@str_baseminikey = external dso_local global ptr, align 8
@raw_baseminikey = external dso_local global ptr, align 8
@minikeyN = external dso_local global ptr, align 8
@minikey_n_limit = external dso_local global i32, align 4
@version = external dso_local global ptr, align 8
@GSn = external dso_local global %"class.std::vector", align 8
@_2GSn = external dso_local global %class.Point, align 8
@THREADOUTPUT = external dso_local global i32, align 4
@bit_range_str_min = external dso_local global ptr, align 8
@bit_range_str_max = external dso_local global ptr, align 8
@bsgs_modes = external dso_local global [5 x ptr], align 16
@modes = external dso_local global [7 x ptr], align 16
@cryptos = external dso_local global [3 x ptr], align 16
@publicsearch = external dso_local global [3 x ptr], align 16
@default_fileName = external dso_local global ptr, align 8
@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
@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
@vanity_bloom = external dso_local global ptr, align 8
@steps = external dso_local global ptr, align 8
@ends = external dso_local global ptr, align 8
@N = external dso_local global i64, align 8
@N_SEQUENTIAL_MAX = external dso_local global i64, align 8
@DEBUGCOUNT = external dso_local global i64, align 8
@OUTPUTSECONDS = external dso_local global %class.Int, align 8
@FLAGSKIPCHECKSUM = external dso_local global i32, align 4
@FLAGENDOMORPHISM = external dso_local global i32, align 4
@FLAGBLOOMMULTIPLIER = external dso_local global i32, align 4
@FLAGVANITY = external dso_local global i32, align 4
@FLAGBASEMINIKEY = external dso_local global i32, align 4
@FLAGBSGSMODE = external dso_local global i32, align 4
@FLAGDEBUG = external dso_local global i32, align 4
@FLAGQUIET = external dso_local global i32, align 4
@FLAGMATRIX = 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
@FLAGSTRIDE = external dso_local global i32, align 4
@FLAGSEARCH = external dso_local global i32, align 4
@FLAGBITRANGE = external dso_local global i32, align 4
@FLAGRANGE = external dso_local global i32, align 4
@FLAGFILE = external dso_local global i32, align 4
@FLAGMODE = external dso_local global i32, align 4
@FLAGCRYPTO = external dso_local global i32, align 4
@FLAGRANDOM = external dso_local global i32, align 4
@FLAG_N = external dso_local global i32, align 4
@bitrange = external dso_local global i32, align 4
@str_N = external dso_local global ptr, align 8
@range_start = external dso_local global ptr, align 8
@range_end = external dso_local global ptr, align 8
@str_stride = external dso_local global ptr, align 8
@stride = external dso_local global %class.Int, align 8
@bsgs_found = external dso_local global ptr, align 8
@OriginalPointsBSGS = external dso_local global %"class.std::vector", align 8
@OriginalPointsBSGScompressed = external dso_local global ptr, 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
@addressTable = 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_point_number = external dso_local global i32, align 4
@str_limits_prefixs = external dso_local global [7 x ptr], align 16
@str_limits = external dso_local global [7 x ptr], align 16
@int_limits = external dso_local global [7 x %class.Int], align 16
@BSGS_GROUP_SIZE = external dso_local global %class.Int, align 8
@BSGS_CURRENT = 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_N_double = 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
@MPZAUX = 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
@n_range_start = external dso_local global %class.Int, align 8
@n_range_end = external dso_local global %class.Int, align 8
@n_range_diff = external dso_local global %class.Int, align 8
@n_range_aux = external dso_local global %class.Int, align 8
@lambda = external dso_local global %class.Int, align 8
@lambda2 = external dso_local global %class.Int, align 8
@beta = external dso_local global %class.Int, align 8
@beta2 = external dso_local global %class.Int, align 8
@secp = external dso_local global ptr, align 8
@stderr = external global ptr, align 8
@.str.76 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [33 x i8], align 1
@optarg = external global ptr, align 8
@.str.80 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.148 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external global ptr, align 8
@.str.169 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.220 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [6 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 [2048 x i8], align 16
  %7 = alloca [32 x i8], align 16
  %8 = alloca ptr, align 8
  %9 = alloca %struct.str_tokenizer, align 8
  %10 = alloca %struct.str_tokenizer, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca %class.Int, align 8
  %42 = alloca %class.Int, align 8
  %43 = alloca %class.Int, align 8
  %44 = alloca %class.Int, align 8
  %45 = alloca %class.Int, align 8
  %46 = alloca %class.Int, align 8
  %47 = alloca %class.Int, align 8
  %48 = alloca %class.Int, align 8
  %49 = alloca %class.Int, align 8
  %50 = alloca ptr, align 8
  %51 = alloca i64, align 8
  %52 = alloca i32, align 4
  %53 = alloca ptr, align 8
  %54 = alloca i32, align 4
  %55 = alloca i64, align 8
  %56 = alloca i32, align 4
  %57 = alloca %class.Point, align 8
  %58 = alloca %class.Point, align 8
  %59 = alloca %class.Point, align 8
  %60 = alloca %class.Point, align 8
  %61 = alloca %class.Point, align 8
  %62 = alloca %class.Point, align 8
  %63 = alloca %class.Point, align 8
  %64 = alloca %class.Point, align 8
  %65 = alloca %class.Point, align 8
  %66 = alloca i32, align 4
  %67 = alloca %class.Point, align 8
  %68 = alloca %class.Point, align 8
  %69 = alloca %class.Point, align 8
  %70 = alloca %class.Point, align 8
  %71 = alloca %class.Point, align 8
  %72 = alloca %class.Point, align 8
  %73 = alloca %class.Point, align 8
  %74 = alloca %class.Point, 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 2048, ptr %6) #14
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #14
  store ptr null, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #14
  store ptr null, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #14
  store ptr null, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #14
  store ptr null, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #14
  store ptr null, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #14
  store ptr null, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #14
  store ptr null, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #14
  store ptr null, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #14
  store ptr null, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #14
  store ptr null, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #14
  store ptr null, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #14
  call void @llvm.lifetime.start.p0(i64 40, ptr %41) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %41)
  call void @llvm.lifetime.start.p0(i64 40, ptr %42) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %42)
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %43)
  call void @llvm.lifetime.start.p0(i64 40, ptr %44) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %44)
  call void @llvm.lifetime.start.p0(i64 40, ptr %45) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %45)
  call void @llvm.lifetime.start.p0(i64 40, ptr %46) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %46)
  call void @llvm.lifetime.start.p0(i64 40, ptr %47) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %47)
  call void @llvm.lifetime.start.p0(i64 40, ptr %48) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %48)
  call void @llvm.lifetime.start.p0(i64 40, ptr %49) #14
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %49)
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #14
  %75 = call i32 @pthread_mutex_init(ptr noundef @write_keys, ptr noundef null) #14
  %76 = call i32 @pthread_mutex_init(ptr noundef @write_random, ptr noundef null) #14
  %77 = call i32 @pthread_mutex_init(ptr noundef @bsgs_thread, ptr noundef null) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #14
  %78 = call i64 @time(ptr noundef null) #14
  %79 = trunc i64 %78 to i32
  call void @srand(i32 noundef %79) #14
  %80 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 983240) #15
  invoke void @_ZN9Secp256K1C1Ev(ptr noundef nonnull align 8 dereferenceable(983240) %80)
          to label %81 unwind label %89

81:                                               ; preds = %2
  store ptr %80, ptr @secp, align 8, !tbaa !9
  %82 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240) %82)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, i32 noundef 30)
  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 %55) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #14
  %83 = call i64 @getrandom(ptr noundef %55, i64 noundef 8, i32 noundef 1)
  %84 = trunc i64 %83 to i32
  store i32 %84, ptr %56, align 4, !tbaa !5
  %85 = load i32, ptr %56, align 4, !tbaa !5
  %86 = icmp sgt i32 %85, 0
  br i1 %86, label %87, label %93

87:                                               ; preds = %81
  %88 = load i64, ptr %55, align 8, !tbaa !11
  call void @_Z5rseedm(i64 noundef %88)
  br label %96

89:                                               ; preds = %2
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %53, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %54, align 4
  call void @_ZdlPvm(ptr noundef %80, i64 noundef 983240) #16
  br label %3251

93:                                               ; preds = %81
  %94 = load ptr, ptr @stderr, align 8, !tbaa !9
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.76) #14
  call void @exit(i32 noundef 1) #17
  unreachable

96:                                               ; preds = %87
  %97 = load ptr, ptr @version, align 8, !tbaa !9
  %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.77, ptr noundef %97)
  br label %99

99:                                               ; preds = %420, %96
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = load ptr, ptr %5, align 8, !tbaa !9
  %102 = call i32 @getopt(i32 noundef %100, ptr noundef %101, ptr noundef @.str.78) #14
  store i32 %102, ptr %37, align 4, !tbaa !5
  %103 = icmp ne i32 %102, -1
  br i1 %103, label %104, label %421

104:                                              ; preds = %99
  %105 = load i32, ptr %37, align 4, !tbaa !5
  switch i32 %105, label %416 [
    i32 104, label %106
    i32 54, label %107
    i32 66, label %110
    i32 98, label %125
    i32 99, label %154
    i32 67, label %166
    i32 100, label %225
    i32 101, label %227
    i32 102, label %229
    i32 73, label %231
    i32 107, label %233
    i32 108, label %243
    i32 77, label %253
    i32 109, label %255
    i32 110, label %282
    i32 113, label %284
    i32 82, label %286
    i32 114, label %288
    i32 115, label %340
    i32 83, label %354
    i32 116, label %355
    i32 118, label %369
    i32 56, label %394
    i32 122, label %406
  ]

106:                                              ; preds = %104
  call void @_Z4menuv()
  br label %420

107:                                              ; preds = %104
  store i32 1, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %108 = load ptr, ptr @stderr, align 8, !tbaa !9
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.79) #14
  br label %420

110:                                              ; preds = %104
  %111 = load ptr, ptr @optarg, align 8, !tbaa !9
  %112 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %111, ptr noundef @bsgs_modes, i32 noundef 5)
  store i32 %112, ptr %39, align 4, !tbaa !5
  %113 = load i32, ptr %39, align 4, !tbaa !5
  %114 = icmp sge i32 %113, 0
  br i1 %114, label %115, label %120

115:                                              ; preds = %110
  %116 = load i32, ptr %39, align 4, !tbaa !5
  %117 = icmp sle i32 %116, 4
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  %119 = load i32, ptr %39, align 4, !tbaa !5
  store i32 %119, ptr @FLAGBSGSMODE, align 4, !tbaa !5
  br label %124

120:                                              ; preds = %115, %110
  %121 = load ptr, ptr @stderr, align 8, !tbaa !9
  %122 = load ptr, ptr @optarg, align 8, !tbaa !9
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef @.str.80, ptr noundef %122) #14
  br label %124

124:                                              ; preds = %120, %118
  br label %420

125:                                              ; preds = %104
  %126 = load ptr, ptr @optarg, align 8, !tbaa !9
  %127 = call i64 @strtol(ptr noundef %126, ptr noundef null, i32 noundef 10) #14
  %128 = trunc i64 %127 to i32
  store i32 %128, ptr @bitrange, align 4, !tbaa !5
  %129 = load i32, ptr @bitrange, align 4, !tbaa !5
  %130 = icmp sgt i32 %129, 0
  br i1 %130, label %131, label %149

131:                                              ; preds = %125
  %132 = load i32, ptr @bitrange, align 4, !tbaa !5
  %133 = icmp sle i32 %132, 256
  br i1 %133, label %134, label %149

134:                                              ; preds = %131
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef @ONE)
  %135 = load i32, ptr @bitrange, align 4, !tbaa !5
  %136 = sub nsw i32 %135, 1
  call void @_ZN3Int6ShiftLEj(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, i32 noundef %136)
  %137 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX)
  store ptr %137, ptr @bit_range_str_min, align 8, !tbaa !9
  %138 = load ptr, ptr @bit_range_str_min, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %138, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.83, i32 noundef 513)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef @ONE)
  %139 = load i32, ptr @bitrange, align 4, !tbaa !5
  call void @_ZN3Int6ShiftLEj(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, i32 noundef %139)
  %140 = load ptr, ptr @secp, align 8, !tbaa !9
  %141 = getelementptr inbounds %class.Secp256K1, ptr %140, i32 0, i32 2
  %142 = call noundef zeroext i1 @_ZN3Int9IsGreaterEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef %141)
  br i1 %142, label %143, label %146

143:                                              ; preds = %134
  %144 = load ptr, ptr @secp, align 8, !tbaa !9
  %145 = getelementptr inbounds %class.Secp256K1, ptr %144, i32 0, i32 2
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef %145)
  br label %146

146:                                              ; preds = %143, %134
  %147 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX)
  store ptr %147, ptr @bit_range_str_max, align 8, !tbaa !9
  %148 = load ptr, ptr @bit_range_str_max, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %148, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.83, i32 noundef 520)
  store i32 1, ptr @FLAGBITRANGE, align 4, !tbaa !5
  br label %153

149:                                              ; preds = %131, %125
  %150 = load ptr, ptr @stderr, align 8, !tbaa !9
  %151 = load ptr, ptr @optarg, align 8, !tbaa !9
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %150, ptr noundef @.str.84, ptr noundef %151) #14
  br label %153

153:                                              ; preds = %149, %146
  br label %420

154:                                              ; preds = %104
  %155 = load ptr, ptr @optarg, align 8, !tbaa !9
  %156 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %155, ptr noundef @cryptos, i32 noundef 3)
  store i32 %156, ptr %39, align 4, !tbaa !5
  %157 = load i32, ptr %39, align 4, !tbaa !5
  switch i32 %157, label %161 [
    i32 0, label %158
    i32 1, label %159
  ]

158:                                              ; preds = %154
  store i32 1, ptr @FLAGCRYPTO, align 4, !tbaa !5
  br label %165

159:                                              ; preds = %154
  store i32 2, ptr @FLAGCRYPTO, align 4, !tbaa !5
  %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.85)
  br label %165

161:                                              ; preds = %154
  store i32 0, ptr @FLAGCRYPTO, align 4, !tbaa !5
  %162 = load ptr, ptr @stderr, align 8, !tbaa !9
  %163 = load ptr, ptr @optarg, align 8, !tbaa !9
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.86, ptr noundef %163) #14
  call void @exit(i32 noundef 1) #17
  unreachable

165:                                              ; preds = %159, %158
  br label %420

166:                                              ; preds = %104
  %167 = load ptr, ptr @optarg, align 8, !tbaa !9
  %168 = call i64 @strlen(ptr noundef %167) #18
  %169 = icmp eq i64 %168, 22
  br i1 %169, label %170, label %218

170:                                              ; preds = %166
  store i32 1, ptr @FLAGBASEMINIKEY, align 4, !tbaa !5
  %171 = call noalias ptr @malloc(i64 noundef 23) #19
  store ptr %171, ptr @str_baseminikey, align 8, !tbaa !9
  %172 = load ptr, ptr @str_baseminikey, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %172, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.87, i32 noundef 553)
  %173 = call noalias ptr @malloc(i64 noundef 23) #19
  store ptr %173, ptr @raw_baseminikey, align 8, !tbaa !9
  %174 = load ptr, ptr @raw_baseminikey, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %174, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.88, i32 noundef 555)
  %175 = load ptr, ptr @str_baseminikey, align 8, !tbaa !9
  %176 = load ptr, ptr @optarg, align 8, !tbaa !9
  %177 = call ptr @strncpy(ptr noundef %175, ptr noundef %176, i64 noundef 22) #14
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %178

178:                                              ; preds = %214, %170
  %179 = load i64, ptr %27, align 8, !tbaa !11
  %180 = icmp ult i64 %179, 21
  br i1 %180, label %181, label %217

181:                                              ; preds = %178
  %182 = load ptr, ptr @Ccoinbuffer, align 8, !tbaa !9
  %183 = load ptr, ptr @str_baseminikey, align 8, !tbaa !9
  %184 = load i64, ptr %27, align 8, !tbaa !11
  %185 = add i64 %184, 1
  %186 = getelementptr inbounds i8, ptr %183, i64 %185
  %187 = load i8, ptr %186, align 1, !tbaa !13
  %188 = sext i8 %187 to i32
  %189 = call noundef ptr @strchr(ptr noundef %182, i32 noundef %188) #18
  %190 = icmp ne ptr %189, null
  br i1 %190, label %191, label %210

191:                                              ; preds = %181
  %192 = load ptr, ptr @Ccoinbuffer, align 8, !tbaa !9
  %193 = load ptr, ptr @str_baseminikey, align 8, !tbaa !9
  %194 = load i64, ptr %27, align 8, !tbaa !11
  %195 = add i64 %194, 1
  %196 = getelementptr inbounds i8, ptr %193, i64 %195
  %197 = load i8, ptr %196, align 1, !tbaa !13
  %198 = sext i8 %197 to i32
  %199 = call noundef ptr @strchr(ptr noundef %192, i32 noundef %198) #18
  %200 = load ptr, ptr @Ccoinbuffer, align 8, !tbaa !9
  %201 = ptrtoint ptr %199 to i64
  %202 = ptrtoint ptr %200 to i64
  %203 = sub i64 %201, %202
  %204 = trunc i64 %203 to i32
  %205 = srem i32 %204, 58
  %206 = trunc i32 %205 to i8
  %207 = load ptr, ptr @raw_baseminikey, align 8, !tbaa !9
  %208 = load i64, ptr %27, align 8, !tbaa !11
  %209 = getelementptr inbounds i8, ptr %207, i64 %208
  store i8 %206, ptr %209, align 1, !tbaa !13
  br label %213

210:                                              ; preds = %181
  %211 = load ptr, ptr @stderr, align 8, !tbaa !9
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef @.str.89) #14
  call void @exit(i32 noundef 1) #17
  unreachable

213:                                              ; preds = %191
  br label %214

214:                                              ; preds = %213
  %215 = load i64, ptr %27, align 8, !tbaa !11
  %216 = add i64 %215, 1
  store i64 %216, ptr %27, align 8, !tbaa !11
  br label %178, !llvm.loop !14

217:                                              ; preds = %178
  br label %224

218:                                              ; preds = %166
  %219 = load ptr, ptr @stderr, align 8, !tbaa !9
  %220 = load ptr, ptr @optarg, align 8, !tbaa !9
  %221 = call i64 @strlen(ptr noundef %220) #18
  %222 = load ptr, ptr @optarg, align 8, !tbaa !9
  %223 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef @.str.90, i64 noundef %221, ptr noundef %222) #14
  call void @exit(i32 noundef 1) #17
  unreachable

224:                                              ; preds = %217
  br label %420

225:                                              ; preds = %104
  store i32 1, ptr @FLAGDEBUG, align 4, !tbaa !5
  %226 = call i32 (ptr, ...) @printf(ptr noundef @.str.91)
  br label %420

227:                                              ; preds = %104
  store i32 1, ptr @FLAGENDOMORPHISM, align 4, !tbaa !5
  %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.92)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @lambda, ptr noundef @.str.93)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @lambda2, ptr noundef @.str.94)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @beta, ptr noundef @.str.95)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @beta2, ptr noundef @.str.96)
  br label %420

229:                                              ; preds = %104
  store i32 1, ptr @FLAGFILE, align 4, !tbaa !5
  %230 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %230, ptr %11, align 8, !tbaa !9
  br label %420

231:                                              ; preds = %104
  store i32 1, ptr @FLAGSTRIDE, align 4, !tbaa !5
  %232 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %232, ptr @str_stride, align 8, !tbaa !9
  br label %420

233:                                              ; preds = %104
  %234 = load ptr, ptr @optarg, align 8, !tbaa !9
  %235 = call i64 @strtol(ptr noundef %234, ptr noundef null, i32 noundef 10) #14
  %236 = trunc i64 %235 to i32
  store i32 %236, ptr @KFACTOR, align 4, !tbaa !5
  %237 = load i32, ptr @KFACTOR, align 4, !tbaa !5
  %238 = icmp sle i32 %237, 0
  br i1 %238, label %239, label %240

239:                                              ; preds = %233
  store i32 1, ptr @KFACTOR, align 4, !tbaa !5
  br label %240

240:                                              ; preds = %239, %233
  %241 = load i32, ptr @KFACTOR, align 4, !tbaa !5
  %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.97, i32 noundef %241)
  br label %420

243:                                              ; preds = %104
  %244 = load ptr, ptr @optarg, align 8, !tbaa !9
  %245 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %244, ptr noundef @publicsearch, i32 noundef 3)
  switch i32 %245, label %252 [
    i32 0, label %246
    i32 1, label %248
    i32 2, label %250
  ]

246:                                              ; preds = %243
  store i32 0, ptr @FLAGSEARCH, align 4, !tbaa !5
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.98)
  br label %252

248:                                              ; preds = %243
  store i32 1, ptr @FLAGSEARCH, align 4, !tbaa !5
  %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.99)
  br label %252

250:                                              ; preds = %243
  store i32 2, ptr @FLAGSEARCH, align 4, !tbaa !5
  %251 = call i32 (ptr, ...) @printf(ptr noundef @.str.100)
  br label %252

252:                                              ; preds = %250, %248, %246, %243
  br label %420

253:                                              ; preds = %104
  store i32 1, ptr @FLAGMATRIX, align 4, !tbaa !5
  %254 = call i32 (ptr, ...) @printf(ptr noundef @.str.101)
  br label %420

255:                                              ; preds = %104
  %256 = load ptr, ptr @optarg, align 8, !tbaa !9
  %257 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %256, ptr noundef @modes, i32 noundef 7)
  switch i32 %257, label %277 [
    i32 0, label %258
    i32 1, label %260
    i32 2, label %262
    i32 3, label %263
    i32 4, label %265
    i32 5, label %267
    i32 6, label %269
  ]

258:                                              ; preds = %255
  store i32 0, ptr @FLAGMODE, align 4, !tbaa !5
  %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.102)
  br label %281

260:                                              ; preds = %255
  store i32 1, ptr @FLAGMODE, align 4, !tbaa !5
  %261 = call i32 (ptr, ...) @printf(ptr noundef @.str.103)
  br label %281

262:                                              ; preds = %255
  store i32 2, ptr @FLAGMODE, align 4, !tbaa !5
  br label %281

263:                                              ; preds = %255
  store i32 3, ptr @FLAGMODE, align 4, !tbaa !5
  store i32 1, ptr @FLAGCRYPTO, align 4, !tbaa !5
  %264 = call i32 (ptr, ...) @printf(ptr noundef @.str.104)
  br label %281

265:                                              ; preds = %255
  store i32 4, ptr @FLAGMODE, align 4, !tbaa !5
  %266 = call i32 (ptr, ...) @printf(ptr noundef @.str.105)
  call void @exit(i32 noundef 0) #17
  unreachable

267:                                              ; preds = %255
  store i32 5, ptr @FLAGMODE, align 4, !tbaa !5
  %268 = call i32 (ptr, ...) @printf(ptr noundef @.str.106)
  br label %281

269:                                              ; preds = %255
  store i32 6, ptr @FLAGMODE, align 4, !tbaa !5
  %270 = call i32 (ptr, ...) @printf(ptr noundef @.str.107)
  %271 = load ptr, ptr @vanity_bloom, align 8, !tbaa !9
  %272 = icmp eq ptr %271, null
  br i1 %272, label %273, label %276

273:                                              ; preds = %269
  %274 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 80) #20
  store ptr %274, ptr @vanity_bloom, align 8, !tbaa !9
  %275 = load ptr, ptr @vanity_bloom, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %275, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.109, i32 noundef 655)
  br label %276

276:                                              ; preds = %273, %269
  br label %281

277:                                              ; preds = %255
  %278 = load ptr, ptr @stderr, align 8, !tbaa !9
  %279 = load ptr, ptr @optarg, align 8, !tbaa !9
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef @.str.110, ptr noundef %279) #14
  call void @exit(i32 noundef 1) #17
  unreachable

281:                                              ; preds = %276, %267, %263, %262, %260, %258
  br label %420

282:                                              ; preds = %104
  store i32 1, ptr @FLAG_N, align 4, !tbaa !5
  %283 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %283, ptr @str_N, align 8, !tbaa !9
  br label %420

284:                                              ; preds = %104
  store i32 1, ptr @FLAGQUIET, align 4, !tbaa !5
  %285 = call i32 (ptr, ...) @printf(ptr noundef @.str.111)
  br label %420

286:                                              ; preds = %104
  %287 = call i32 (ptr, ...) @printf(ptr noundef @.str.112)
  store i32 1, ptr @FLAGRANDOM, align 4, !tbaa !5
  store i32 3, ptr @FLAGBSGSMODE, align 4, !tbaa !5
  br label %420

288:                                              ; preds = %104
  %289 = load ptr, ptr @optarg, align 8, !tbaa !9
  %290 = icmp ne ptr %289, null
  br i1 %290, label %291, label %339

291:                                              ; preds = %288
  %292 = load ptr, ptr @optarg, align 8, !tbaa !9
  call void @_Z15stringtokenizerPcP13str_tokenizer(ptr noundef %292, ptr noundef %9)
  %293 = getelementptr inbounds %struct.str_tokenizer, ptr %9, i32 0, i32 1
  %294 = load i32, ptr %293, align 4, !tbaa !16
  switch i32 %294, label %334 [
    i32 1, label %295
    i32 2, label %309
  ]

295:                                              ; preds = %291
  %296 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef %9)
  store ptr %296, ptr @range_start, align 8, !tbaa !9
  %297 = load ptr, ptr @range_start, align 8, !tbaa !9
  %298 = call noundef i32 @_Z10isValidHexPc(ptr noundef %297)
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %304

300:                                              ; preds = %295
  store i32 1, ptr @FLAGRANGE, align 4, !tbaa !5
  %301 = load ptr, ptr @secp, align 8, !tbaa !9
  %302 = getelementptr inbounds %class.Secp256K1, ptr %301, i32 0, i32 2
  %303 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) %302)
  store ptr %303, ptr @range_end, align 8, !tbaa !9
  br label %308

304:                                              ; preds = %295
  %305 = load ptr, ptr @stderr, align 8, !tbaa !9
  %306 = load ptr, ptr @range_start, align 8, !tbaa !9
  %307 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.113, ptr noundef %306) #14
  br label %308

308:                                              ; preds = %304, %300
  br label %338

309:                                              ; preds = %291
  %310 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef %9)
  store ptr %310, ptr @range_start, align 8, !tbaa !9
  %311 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef %9)
  store ptr %311, ptr @range_end, align 8, !tbaa !9
  %312 = load ptr, ptr @range_start, align 8, !tbaa !9
  %313 = call noundef i32 @_Z10isValidHexPc(ptr noundef %312)
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %320

315:                                              ; preds = %309
  %316 = load ptr, ptr @range_end, align 8, !tbaa !9
  %317 = call noundef i32 @_Z10isValidHexPc(ptr noundef %316)
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %319, label %320

319:                                              ; preds = %315
  store i32 1, ptr @FLAGRANGE, align 4, !tbaa !5
  br label %333

320:                                              ; preds = %315, %309
  %321 = load ptr, ptr @range_start, align 8, !tbaa !9
  %322 = call noundef i32 @_Z10isValidHexPc(ptr noundef %321)
  %323 = icmp ne i32 %322, 0
  br i1 %323, label %324, label %328

324:                                              ; preds = %320
  %325 = load ptr, ptr @stderr, align 8, !tbaa !9
  %326 = load ptr, ptr @range_start, align 8, !tbaa !9
  %327 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.114, ptr noundef %326) #14
  br label %332

328:                                              ; preds = %320
  %329 = load ptr, ptr @stderr, align 8, !tbaa !9
  %330 = load ptr, ptr @range_end, align 8, !tbaa !9
  %331 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.114, ptr noundef %330) #14
  br label %332

332:                                              ; preds = %328, %324
  br label %333

333:                                              ; preds = %332, %319
  br label %338

334:                                              ; preds = %291
  %335 = getelementptr inbounds %struct.str_tokenizer, ptr %9, i32 0, i32 1
  %336 = load i32, ptr %335, align 4, !tbaa !16
  %337 = call i32 (ptr, ...) @printf(ptr noundef @.str.115, i32 noundef %336)
  br label %338

338:                                              ; preds = %334, %333, %308
  br label %339

339:                                              ; preds = %338, %288
  br label %420

340:                                              ; preds = %104
  %341 = load ptr, ptr @optarg, align 8, !tbaa !9
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, ptr noundef %341)
  %342 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, ptr noundef @ZERO)
  br i1 %342, label %343, label %344

343:                                              ; preds = %340
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, i32 noundef 30)
  br label %344

344:                                              ; preds = %343, %340
  %345 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS)
  br i1 %345, label %346, label %348

346:                                              ; preds = %344
  %347 = call i32 (ptr, ...) @printf(ptr noundef @.str.116)
  br label %353

348:                                              ; preds = %344
  %349 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS)
  store ptr %349, ptr %12, align 8, !tbaa !9
  %350 = load ptr, ptr %12, align 8, !tbaa !9
  %351 = call i32 (ptr, ...) @printf(ptr noundef @.str.117, ptr noundef %350)
  %352 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %352) #14
  br label %353

353:                                              ; preds = %348, %346
  br label %420

354:                                              ; preds = %104
  store i32 1, ptr @FLAGSAVEREADFILE, align 4, !tbaa !5
  br label %420

355:                                              ; preds = %104
  %356 = load ptr, ptr @optarg, align 8, !tbaa !9
  %357 = call i64 @strtol(ptr noundef %356, ptr noundef null, i32 noundef 10) #14
  %358 = trunc i64 %357 to i32
  store i32 %358, ptr @NTHREADS, align 4, !tbaa !5
  %359 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %360 = icmp sle i32 %359, 0
  br i1 %360, label %361, label %362

361:                                              ; preds = %355
  store i32 1, ptr @NTHREADS, align 4, !tbaa !5
  br label %362

362:                                              ; preds = %361, %355
  %363 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %364 = icmp sgt i32 %363, 1
  %365 = zext i1 %364 to i64
  %366 = select i1 %364, ptr @.str.118, ptr @.str.119
  %367 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %368 = call i32 (ptr, ...) @printf(ptr noundef %366, i32 noundef %367)
  br label %420

369:                                              ; preds = %104
  store i32 1, ptr @FLAGVANITY, align 4, !tbaa !5
  %370 = load ptr, ptr @vanity_bloom, align 8, !tbaa !9
  %371 = icmp eq ptr %370, null
  br i1 %371, label %372, label %375

372:                                              ; preds = %369
  %373 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 80) #20
  store ptr %373, ptr @vanity_bloom, align 8, !tbaa !9
  %374 = load ptr, ptr @vanity_bloom, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %374, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.109, i32 noundef 740)
  br label %375

375:                                              ; preds = %372, %369
  %376 = load ptr, ptr @optarg, align 8, !tbaa !9
  %377 = call noundef zeroext i1 @_Z19isValidBase58StringPc(ptr noundef %376)
  br i1 %377, label %378, label %389

378:                                              ; preds = %375
  %379 = load ptr, ptr @optarg, align 8, !tbaa !9
  %380 = call noundef i32 @_Z9addvanityPc(ptr noundef %379)
  %381 = icmp sgt i32 %380, 0
  br i1 %381, label %382, label %385

382:                                              ; preds = %378
  %383 = load ptr, ptr @optarg, align 8, !tbaa !9
  %384 = call i32 (ptr, ...) @printf(ptr noundef @.str.120, ptr noundef %383)
  br label %388

385:                                              ; preds = %378
  %386 = load ptr, ptr @optarg, align 8, !tbaa !9
  %387 = call i32 (ptr, ...) @printf(ptr noundef @.str.121, ptr noundef %386)
  br label %388

388:                                              ; preds = %385, %382
  br label %393

389:                                              ; preds = %375
  %390 = load ptr, ptr @stderr, align 8, !tbaa !9
  %391 = load ptr, ptr @optarg, align 8, !tbaa !9
  %392 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %390, ptr noundef @.str.122, ptr noundef %391) #14
  br label %393

393:                                              ; preds = %389, %388
  br label %420

394:                                              ; preds = %104
  %395 = load ptr, ptr @optarg, align 8, !tbaa !9
  %396 = call i64 @strlen(ptr noundef %395) #18
  %397 = icmp eq i64 %396, 58
  br i1 %397, label %398, label %402

398:                                              ; preds = %394
  %399 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %399, ptr @Ccoinbuffer, align 8, !tbaa !9
  %400 = load ptr, ptr @Ccoinbuffer, align 8, !tbaa !9
  %401 = call i32 (ptr, ...) @printf(ptr noundef @.str.123, ptr noundef %400)
  br label %405

402:                                              ; preds = %394
  %403 = load ptr, ptr @stderr, align 8, !tbaa !9
  %404 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %403, ptr noundef @.str.124) #14
  call void @exit(i32 noundef 1) #17
  unreachable

405:                                              ; preds = %398
  br label %420

406:                                              ; preds = %104
  %407 = load ptr, ptr @optarg, align 8, !tbaa !9
  %408 = call i64 @strtol(ptr noundef %407, ptr noundef null, i32 noundef 10) #14
  %409 = trunc i64 %408 to i32
  store i32 %409, ptr @FLAGBLOOMMULTIPLIER, align 4, !tbaa !5
  %410 = load i32, ptr @FLAGBLOOMMULTIPLIER, align 4, !tbaa !5
  %411 = icmp sle i32 %410, 0
  br i1 %411, label %412, label %413

412:                                              ; preds = %406
  store i32 1, ptr @FLAGBLOOMMULTIPLIER, align 4, !tbaa !5
  br label %413

413:                                              ; preds = %412, %406
  %414 = load i32, ptr @FLAGBLOOMMULTIPLIER, align 4, !tbaa !5
  %415 = call i32 (ptr, ...) @printf(ptr noundef @.str.125, i32 noundef %414)
  br label %420

416:                                              ; preds = %104
  %417 = load ptr, ptr @stderr, align 8, !tbaa !9
  %418 = load i32, ptr %37, align 4, !tbaa !5
  %419 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %417, ptr noundef @.str.126, i32 noundef %418) #14
  call void @exit(i32 noundef 1) #17
  unreachable

420:                                              ; preds = %413, %405, %393, %362, %354, %353, %339, %286, %284, %282, %281, %253, %252, %240, %231, %229, %227, %225, %224, %165, %153, %124, %107, %106
  br label %99, !llvm.loop !18

421:                                              ; preds = %99
  %422 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !5
  %423 = icmp eq i32 %422, 2
  br i1 %423, label %424, label %430

424:                                              ; preds = %421
  %425 = load i32, ptr @FLAGENDOMORPHISM, align 4, !tbaa !5
  %426 = icmp ne i32 %425, 0
  br i1 %426, label %427, label %430

427:                                              ; preds = %424
  %428 = load ptr, ptr @stderr, align 8, !tbaa !9
  %429 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %428, ptr noundef @.str.127) #14
  call void @exit(i32 noundef 1) #17
  unreachable

430:                                              ; preds = %424, %421
  %431 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !5
  %432 = icmp eq i32 %431, 2
  br i1 %432, label %433, label %439

433:                                              ; preds = %430
  %434 = load i32, ptr @FLAGSTRIDE, align 4, !tbaa !5
  %435 = icmp ne i32 %434, 0
  br i1 %435, label %436, label %439

436:                                              ; preds = %433
  %437 = load ptr, ptr @stderr, align 8, !tbaa !9
  %438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %437, ptr noundef @.str.128) #14
  call void @exit(i32 noundef 1) #17
  unreachable

439:                                              ; preds = %433, %430
  %440 = load i32, ptr @FLAGSTRIDE, align 4, !tbaa !5
  %441 = icmp ne i32 %440, 0
  br i1 %441, label %442, label %462

442:                                              ; preds = %439
  %443 = load ptr, ptr @str_stride, align 8, !tbaa !9
  %444 = getelementptr inbounds i8, ptr %443, i64 0
  %445 = load i8, ptr %444, align 1, !tbaa !13
  %446 = sext i8 %445 to i32
  %447 = icmp eq i32 %446, 48
  br i1 %447, label %448, label %457

448:                                              ; preds = %442
  %449 = load ptr, ptr @str_stride, align 8, !tbaa !9
  %450 = getelementptr inbounds i8, ptr %449, i64 1
  %451 = load i8, ptr %450, align 1, !tbaa !13
  %452 = sext i8 %451 to i32
  %453 = icmp eq i32 %452, 120
  br i1 %453, label %454, label %457

454:                                              ; preds = %448
  %455 = load ptr, ptr @str_stride, align 8, !tbaa !9
  %456 = getelementptr inbounds i8, ptr %455, i64 2
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef %456)
  br label %459

457:                                              ; preds = %448, %442
  %458 = load ptr, ptr @str_stride, align 8, !tbaa !9
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef %458)
  br label %459

459:                                              ; preds = %457, %454
  %460 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @stride)
  %461 = call i32 (ptr, ...) @printf(ptr noundef @.str.129, ptr noundef %460)
  br label %463

462:                                              ; preds = %439
  store i32 1, ptr @FLAGSTRIDE, align 4, !tbaa !5
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef @ONE)
  br label %463

463:                                              ; preds = %462, %459
  call void @_Z14init_generatorv()
  %464 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %465 = icmp eq i32 %464, 2
  br i1 %465, label %466, label %472

466:                                              ; preds = %463
  %467 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !5
  %468 = sext i32 %467 to i64
  %469 = getelementptr inbounds [5 x ptr], ptr @bsgs_modes, i64 0, i64 %468
  %470 = load ptr, ptr %469, align 8, !tbaa !9
  %471 = call i32 (ptr, ...) @printf(ptr noundef @.str.130, ptr noundef %470)
  br label %472

472:                                              ; preds = %466, %463
  %473 = load i32, ptr @FLAGFILE, align 4, !tbaa !5
  %474 = icmp eq i32 %473, 0
  br i1 %474, label %475, label %477

475:                                              ; preds = %472
  %476 = load ptr, ptr @default_fileName, align 8, !tbaa !9
  store ptr %476, ptr %11, align 8, !tbaa !9
  br label %477

477:                                              ; preds = %475, %472
  %478 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %479 = icmp eq i32 %478, 1
  br i1 %479, label %480, label %485

480:                                              ; preds = %477
  %481 = load i32, ptr @FLAGCRYPTO, align 4, !tbaa !5
  %482 = icmp eq i32 %481, 0
  br i1 %482, label %483, label %485

483:                                              ; preds = %480
  store i32 1, ptr @FLAGCRYPTO, align 4, !tbaa !5
  %484 = call i32 (ptr, ...) @printf(ptr noundef @.str.131)
  br label %485

485:                                              ; preds = %483, %480, %477
  %486 = load i32, ptr @FLAGRANGE, align 4, !tbaa !5
  %487 = icmp ne i32 %486, 0
  br i1 %487, label %488, label %519

488:                                              ; preds = %485
  %489 = load ptr, ptr @range_start, align 8, !tbaa !9
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef %489)
  %490 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start)
  br i1 %490, label %491, label %492

491:                                              ; preds = %488
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start)
  br label %492

492:                                              ; preds = %491, %488
  %493 = load ptr, ptr @range_end, align 8, !tbaa !9
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %493)
  %494 = call noundef zeroext i1 @_ZN3Int7IsEqualEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef @n_range_end)
  %495 = zext i1 %494 to i32
  %496 = icmp eq i32 %495, 0
  br i1 %496, label %497, label %515

497:                                              ; preds = %492
  %498 = load ptr, ptr @secp, align 8, !tbaa !9
  %499 = getelementptr inbounds %class.Secp256K1, ptr %498, i32 0, i32 2
  %500 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef %499)
  br i1 %500, label %501, label %511

501:                                              ; preds = %497
  %502 = load ptr, ptr @secp, align 8, !tbaa !9
  %503 = getelementptr inbounds %class.Secp256K1, ptr %502, i32 0, i32 2
  %504 = call noundef zeroext i1 @_ZN3Int14IsLowerOrEqualEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %503)
  br i1 %504, label %505, label %511

505:                                              ; preds = %501
  %506 = call noundef zeroext i1 @_ZN3Int9IsGreaterEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef @n_range_end)
  br i1 %506, label %507, label %510

507:                                              ; preds = %505
  %508 = load ptr, ptr @stderr, align 8, !tbaa !9
  %509 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %508, ptr noundef @.str.132) #14
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_aux, ptr noundef @n_range_start)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef @n_range_end)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef @n_range_aux)
  br label %510

510:                                              ; preds = %507, %505
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_start)
  br label %514

511:                                              ; preds = %501, %497
  %512 = load ptr, ptr @stderr, align 8, !tbaa !9
  %513 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %512, ptr noundef @.str.133) #14
  store i32 0, ptr @FLAGRANGE, align 4, !tbaa !5
  br label %514

514:                                              ; preds = %511, %510
  br label %518

515:                                              ; preds = %492
  %516 = load ptr, ptr @stderr, align 8, !tbaa !9
  %517 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %516, ptr noundef @.str.134) #14
  store i32 0, ptr @FLAGRANGE, align 4, !tbaa !5
  br label %518

518:                                              ; preds = %515, %514
  br label %519

519:                                              ; preds = %518, %485
  %520 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %521 = icmp ne i32 %520, 2
  br i1 %521, label %522, label %551

522:                                              ; preds = %519
  %523 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %524 = icmp ne i32 %523, 5
  br i1 %524, label %525, label %551

525:                                              ; preds = %522
  %526 = load i64, ptr @DEBUGCOUNT, align 8, !tbaa !11
  %527 = trunc i64 %526 to i32
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i32 noundef %527)
  %528 = load i32, ptr @FLAGRANGE, align 4, !tbaa !5
  %529 = icmp eq i32 %528, 0
  br i1 %529, label %530, label %536

530:                                              ; preds = %525
  %531 = load i32, ptr @FLAGBITRANGE, align 4, !tbaa !5
  %532 = icmp eq i32 %531, 0
  br i1 %532, label %533, label %536

533:                                              ; preds = %530
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, i32 noundef 1)
  %534 = load ptr, ptr @secp, align 8, !tbaa !9
  %535 = getelementptr inbounds %class.Secp256K1, ptr %534, i32 0, i32 2
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %535)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_start)
  br label %550

536:                                              ; preds = %530, %525
  %537 = load i32, ptr @FLAGBITRANGE, align 4, !tbaa !5
  %538 = icmp ne i32 %537, 0
  br i1 %538, label %539, label %542

539:                                              ; preds = %536
  %540 = load ptr, ptr @bit_range_str_min, align 8, !tbaa !9
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef %540)
  %541 = load ptr, ptr @bit_range_str_max, align 8, !tbaa !9
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %541)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_start)
  br label %549

542:                                              ; preds = %536
  %543 = load i32, ptr @FLAGRANGE, align 4, !tbaa !5
  %544 = icmp eq i32 %543, 0
  br i1 %544, label %545, label %548

545:                                              ; preds = %542
  %546 = load ptr, ptr @stderr, align 8, !tbaa !9
  %547 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %546, ptr noundef @.str.135) #14
  br label %548

548:                                              ; preds = %545, %542
  br label %549

549:                                              ; preds = %548, %539
  br label %550

550:                                              ; preds = %549, %533
  br label %551

551:                                              ; preds = %550, %522, %519
  store i64 0, ptr @N, align 8, !tbaa !11
  %552 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %553 = icmp ne i32 %552, 2
  br i1 %553, label %554, label %682

554:                                              ; preds = %551
  %555 = load i32, ptr @FLAG_N, align 4, !tbaa !5
  %556 = icmp ne i32 %555, 0
  br i1 %556, label %557, label %589

557:                                              ; preds = %554
  %558 = load ptr, ptr @str_N, align 8, !tbaa !9
  %559 = getelementptr inbounds i8, ptr %558, i64 0
  %560 = load i8, ptr %559, align 1, !tbaa !13
  %561 = sext i8 %560 to i32
  %562 = icmp eq i32 %561, 48
  br i1 %562, label %563, label %572

563:                                              ; preds = %557
  %564 = load ptr, ptr @str_N, align 8, !tbaa !9
  %565 = getelementptr inbounds i8, ptr %564, i64 1
  %566 = load i8, ptr %565, align 1, !tbaa !13
  %567 = sext i8 %566 to i32
  %568 = icmp eq i32 %567, 120
  br i1 %568, label %569, label %572

569:                                              ; preds = %563
  %570 = load ptr, ptr @str_N, align 8, !tbaa !9
  %571 = call i64 @strtol(ptr noundef %570, ptr noundef null, i32 noundef 16) #14
  store i64 %571, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  br label %575

572:                                              ; preds = %563, %557
  %573 = load ptr, ptr @str_N, align 8, !tbaa !9
  %574 = call i64 @strtol(ptr noundef %573, ptr noundef null, i32 noundef 10) #14
  store i64 %574, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  br label %575

575:                                              ; preds = %572, %569
  %576 = load i64, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  %577 = icmp ult i64 %576, 1024
  br i1 %577, label %578, label %581

578:                                              ; preds = %575
  %579 = load ptr, ptr @stderr, align 8, !tbaa !9
  %580 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %579, ptr noundef @.str.136) #14
  store i32 0, ptr @FLAG_N, align 4, !tbaa !5
  store i64 4294967296, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  br label %581

581:                                              ; preds = %578, %575
  %582 = load i64, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  %583 = urem i64 %582, 1024
  %584 = icmp ne i64 %583, 0
  br i1 %584, label %585, label %588

585:                                              ; preds = %581
  %586 = load ptr, ptr @stderr, align 8, !tbaa !9
  %587 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %586, ptr noundef @.str.137) #14
  store i32 0, ptr @FLAG_N, align 4, !tbaa !5
  store i64 4294967296, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  br label %588

588:                                              ; preds = %585, %581
  br label %589

589:                                              ; preds = %588, %554
  %590 = load i64, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  %591 = inttoptr i64 %590 to ptr
  %592 = call i32 (ptr, ...) @printf(ptr noundef @.str.138, ptr noundef %591)
  %593 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %594 = icmp eq i32 %593, 5
  br i1 %594, label %595, label %631

595:                                              ; preds = %589
  %596 = load i64, ptr @DEBUGCOUNT, align 8, !tbaa !11
  %597 = trunc i64 %596 to i32
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i32 noundef %597)
  %598 = load i32, ptr @FLAGBASEMINIKEY, align 4, !tbaa !5
  %599 = icmp ne i32 %598, 0
  br i1 %599, label %600, label %603

600:                                              ; preds = %595
  %601 = load ptr, ptr @str_baseminikey, align 8, !tbaa !9
  %602 = call i32 (ptr, ...) @printf(ptr noundef @.str.139, ptr noundef %601)
  br label %603

603:                                              ; preds = %600, %595
  %604 = call noalias ptr @malloc(i64 noundef 22) #19
  store ptr %604, ptr @minikeyN, align 8, !tbaa !9
  %605 = load ptr, ptr @minikeyN, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %605, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.140, i32 noundef 893)
  store i64 0, ptr %27, align 8, !tbaa !11
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %49, i32 noundef 58)
  %606 = load i64, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !11
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef %606)
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %46, i64 noundef 253)
  store i64 20, ptr %27, align 8, !tbaa !11
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %607

607:                                              ; preds = %625, %603
  %608 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) %46)
  br i1 %608, label %617, label %609

609:                                              ; preds = %607
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %47, ptr noundef %46)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) %47, ptr noundef %49)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %48, ptr noundef %46)
  %610 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) %47)
  %611 = trunc i64 %610 to i8
  %612 = load ptr, ptr @minikeyN, align 8, !tbaa !9
  %613 = load i64, ptr %27, align 8, !tbaa !11
  %614 = getelementptr inbounds i8, ptr %612, i64 %613
  store i8 %611, ptr %614, align 1, !tbaa !13
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %48, ptr noundef %47)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %48, ptr noundef %49, ptr noundef null)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %46, ptr noundef %48)
  %615 = load i64, ptr %27, align 8, !tbaa !11
  %616 = add i64 %615, -1
  store i64 %616, ptr %27, align 8, !tbaa !11
  br label %618

617:                                              ; preds = %607
  store i32 1, ptr %38, align 4, !tbaa !5
  br label %618

618:                                              ; preds = %617, %609
  br label %619

619:                                              ; preds = %618
  %620 = load i32, ptr %38, align 4, !tbaa !5
  %621 = icmp ne i32 %620, 0
  br i1 %621, label %625, label %622

622:                                              ; preds = %619
  %623 = load i64, ptr %27, align 8, !tbaa !11
  %624 = icmp ugt i64 %623, 0
  br label %625

625:                                              ; preds = %622, %619
  %626 = phi i1 [ false, %619 ], [ %624, %622 ]
  br i1 %626, label %607, label %627, !llvm.loop !19

627:                                              ; preds = %625
  %628 = load i64, ptr %27, align 8, !tbaa !11
  %629 = sub i64 21, %628
  %630 = trunc i64 %629 to i32
  store i32 %630, ptr @minikey_n_limit, align 4, !tbaa !5
  br label %640

631:                                              ; preds = %589
  %632 = load i32, ptr @FLAGBITRANGE, align 4, !tbaa !5
  %633 = icmp ne i32 %632, 0
  br i1 %633, label %634, label %637

634:                                              ; preds = %631
  %635 = load i32, ptr @bitrange, align 4, !tbaa !5
  %636 = call i32 (ptr, ...) @printf(ptr noundef @.str.141, i32 noundef %635)
  br label %639

637:                                              ; preds = %631
  %638 = call i32 (ptr, ...) @printf(ptr noundef @.str.142)
  br label %639

639:                                              ; preds = %637, %634
  br label %640

640:                                              ; preds = %639, %627
  %641 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %642 = icmp ne i32 %641, 5
  br i1 %642, label %643, label %652

643:                                              ; preds = %640
  %644 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start)
  store ptr %644, ptr %12, align 8, !tbaa !9
  %645 = load ptr, ptr %12, align 8, !tbaa !9
  %646 = call i32 (ptr, ...) @printf(ptr noundef @.str.143, ptr noundef %645)
  %647 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %647) #14
  %648 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end)
  store ptr %648, ptr %12, align 8, !tbaa !9
  %649 = load ptr, ptr %12, align 8, !tbaa !9
  %650 = call i32 (ptr, ...) @printf(ptr noundef @.str.144, ptr noundef %649)
  %651 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %651) #14
  br label %652

652:                                              ; preds = %643, %640
  %653 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  switch i32 %653, label %668 [
    i32 5, label %654
    i32 3, label %654
    i32 1, label %654
    i32 0, label %654
    i32 6, label %661
  ]

654:                                              ; preds = %652, %652, %652, %652
  %655 = load ptr, ptr %11, align 8, !tbaa !9
  %656 = call noundef zeroext i1 @_Z15readFileAddressPc(ptr noundef %655)
  br i1 %656, label %660, label %657

657:                                              ; preds = %654
  %658 = load ptr, ptr @stderr, align 8, !tbaa !9
  %659 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %658, ptr noundef @.str.145) #14
  call void @exit(i32 noundef 1) #17
  unreachable

660:                                              ; preds = %654
  br label %668

661:                                              ; preds = %652
  %662 = load ptr, ptr %11, align 8, !tbaa !9
  %663 = call noundef zeroext i1 @_Z14readFileVanityPc(ptr noundef %662)
  br i1 %663, label %667, label %664

664:                                              ; preds = %661
  %665 = load ptr, ptr @stderr, align 8, !tbaa !9
  %666 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %665, ptr noundef @.str.145) #14
  call void @exit(i32 noundef 1) #17
  unreachable

667:                                              ; preds = %661
  br label %668

668:                                              ; preds = %667, %660, %652
  %669 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %670 = icmp ne i32 %669, 6
  br i1 %670, label %671, label %681

671:                                              ; preds = %668
  %672 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %673 = icmp ne i32 %672, 0
  br i1 %673, label %681, label %674

674:                                              ; preds = %671
  %675 = call i32 (ptr, ...) @printf(ptr noundef @.str.146)
  %676 = load ptr, ptr @addressTable, align 8, !tbaa !9
  %677 = load i64, ptr @N, align 8, !tbaa !11
  call void @_Z5_sortP13address_valuel(ptr noundef %676, i64 noundef %677)
  %678 = load i64, ptr @N, align 8, !tbaa !11
  %679 = call i32 (ptr, ...) @printf(ptr noundef @.str.147, i64 noundef %678)
  %680 = load ptr, ptr %11, align 8, !tbaa !9
  call void @_Z17writeFileIfNeededPKc(ptr noundef %680)
  br label %681

681:                                              ; preds = %674, %671, %668
  br label %682

682:                                              ; preds = %681, %551
  %683 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %684 = icmp eq i32 %683, 2
  br i1 %684, label %685, label %2982

685:                                              ; preds = %682
  %686 = load ptr, ptr %11, align 8, !tbaa !9
  %687 = call i32 (ptr, ...) @printf(ptr noundef @.str.148, ptr noundef %686)
  %688 = load ptr, ptr %11, align 8, !tbaa !9
  %689 = call noalias ptr @fopen(ptr noundef %688, ptr noundef @.str.149)
  store ptr %689, ptr %23, align 8, !tbaa !9
  %690 = load ptr, ptr %23, align 8, !tbaa !9
  %691 = icmp eq ptr %690, null
  br i1 %691, label %692, label %696

692:                                              ; preds = %685
  %693 = load ptr, ptr @stderr, align 8, !tbaa !9
  %694 = load ptr, ptr %11, align 8, !tbaa !9
  %695 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %693, ptr noundef @.str.150, ptr noundef %694) #14
  call void @exit(i32 noundef 1) #17
  unreachable

696:                                              ; preds = %685
  %697 = call noalias ptr @malloc(i64 noundef 1024) #19
  store ptr %697, ptr %13, align 8, !tbaa !9
  %698 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %698, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.151, i32 noundef 969)
  br label %699

699:                                              ; preds = %728, %696
  %700 = load ptr, ptr %23, align 8, !tbaa !9
  %701 = call i32 @feof(ptr noundef %700) #14
  %702 = icmp ne i32 %701, 0
  %703 = xor i1 %702, true
  br i1 %703, label %704, label %729

704:                                              ; preds = %699
  %705 = load ptr, ptr %13, align 8, !tbaa !9
  %706 = load ptr, ptr %23, align 8, !tbaa !9
  %707 = call ptr @fgets(ptr noundef %705, i32 noundef 1022, ptr noundef %706)
  %708 = load ptr, ptr %13, align 8, !tbaa !9
  %709 = icmp eq ptr %707, %708
  br i1 %709, label %710, label %728

710:                                              ; preds = %704
  %711 = load ptr, ptr %13, align 8, !tbaa !9
  %712 = call noundef ptr @_Z4trimPcPKc(ptr noundef %711, ptr noundef @.str.152)
  %713 = load ptr, ptr %13, align 8, !tbaa !9
  %714 = call i64 @strlen(ptr noundef %713) #18
  %715 = icmp uge i64 %714, 128
  br i1 %715, label %716, label %719

716:                                              ; preds = %710
  %717 = load i64, ptr @N, align 8, !tbaa !11
  %718 = add i64 %717, 1
  store i64 %718, ptr @N, align 8, !tbaa !11
  br label %727

719:                                              ; preds = %710
  %720 = load ptr, ptr %13, align 8, !tbaa !9
  %721 = call i64 @strlen(ptr noundef %720) #18
  %722 = icmp uge i64 %721, 66
  br i1 %722, label %723, label %726

723:                                              ; preds = %719
  %724 = load i64, ptr @N, align 8, !tbaa !11
  %725 = add i64 %724, 1
  store i64 %725, ptr @N, align 8, !tbaa !11
  br label %726

726:                                              ; preds = %723, %719
  br label %727

727:                                              ; preds = %726, %716
  br label %728

728:                                              ; preds = %727, %704
  br label %699, !llvm.loop !20

729:                                              ; preds = %699
  %730 = load i64, ptr @N, align 8, !tbaa !11
  %731 = icmp eq i64 %730, 0
  br i1 %731, label %732, label %735

732:                                              ; preds = %729
  %733 = load ptr, ptr @stderr, align 8, !tbaa !9
  %734 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %733, ptr noundef @.str.153) #14
  call void @exit(i32 noundef 1) #17
  unreachable

735:                                              ; preds = %729
  %736 = load i64, ptr @N, align 8, !tbaa !11
  %737 = call noalias ptr @calloc(i64 noundef %736, i64 noundef 4) #20
  store ptr %737, ptr @bsgs_found, align 8, !tbaa !9
  %738 = load ptr, ptr @bsgs_found, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %738, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.154, i32 noundef 987)
  %739 = load i64, ptr @N, align 8, !tbaa !11
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @OriginalPointsBSGS, i64 noundef %739)
  %740 = load i64, ptr @N, align 8, !tbaa !11
  %741 = mul i64 %740, 1
  %742 = call noalias ptr @malloc(i64 noundef %741) #19
  store ptr %742, ptr @OriginalPointsBSGScompressed, align 8, !tbaa !9
  %743 = load ptr, ptr @OriginalPointsBSGScompressed, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %743, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.155, i32 noundef 990)
  %744 = call noalias ptr @malloc(i64 noundef 65) #19
  store ptr %744, ptr %15, align 8, !tbaa !9
  %745 = load ptr, ptr %15, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %745, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.156, i32 noundef 992)
  %746 = call noalias ptr @malloc(i64 noundef 65) #19
  store ptr %746, ptr %16, align 8, !tbaa !9
  %747 = load ptr, ptr %16, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %747, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.157, i32 noundef 994)
  %748 = load ptr, ptr %23, align 8, !tbaa !9
  %749 = call i32 @fseek(ptr noundef %748, i64 noundef 0, i32 noundef 0)
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %750

750:                                              ; preds = %813, %735
  %751 = load ptr, ptr %23, align 8, !tbaa !9
  %752 = call i32 @feof(ptr noundef %751) #14
  %753 = icmp ne i32 %752, 0
  %754 = xor i1 %753, true
  br i1 %754, label %755, label %814

755:                                              ; preds = %750
  %756 = load ptr, ptr %13, align 8, !tbaa !9
  %757 = load ptr, ptr %23, align 8, !tbaa !9
  %758 = call ptr @fgets(ptr noundef %756, i32 noundef 1022, ptr noundef %757)
  %759 = load ptr, ptr %13, align 8, !tbaa !9
  %760 = icmp eq ptr %758, %759
  br i1 %760, label %761, label %813

761:                                              ; preds = %755
  %762 = load ptr, ptr %13, align 8, !tbaa !9
  %763 = call noundef ptr @_Z4trimPcPKc(ptr noundef %762, ptr noundef @.str.152)
  %764 = load ptr, ptr %13, align 8, !tbaa !9
  %765 = call i64 @strlen(ptr noundef %764) #18
  %766 = icmp uge i64 %765, 66
  br i1 %766, label %767, label %812

767:                                              ; preds = %761
  %768 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_Z15stringtokenizerPcP13str_tokenizer(ptr noundef %768, ptr noundef %10)
  %769 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef %10)
  store ptr %769, ptr %14, align 8, !tbaa !9
  %770 = load ptr, ptr %15, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %770, i8 0, i64 65, i1 false)
  %771 = load ptr, ptr %16, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %771, i8 0, i64 65, i1 false)
  %772 = load ptr, ptr %14, align 8, !tbaa !9
  %773 = call i64 @strlen(ptr noundef %772) #18
  switch i64 %773, label %806 [
    i64 66, label %774
    i64 130, label %790
  ]

774:                                              ; preds = %767
  %775 = load ptr, ptr @secp, align 8, !tbaa !9
  %776 = load ptr, ptr %14, align 8, !tbaa !9
  %777 = load i64, ptr %27, align 8, !tbaa !11
  %778 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @OriginalPointsBSGS, i64 noundef %777) #14
  %779 = load ptr, ptr @OriginalPointsBSGScompressed, align 8, !tbaa !9
  %780 = load i64, ptr %27, align 8, !tbaa !11
  %781 = getelementptr inbounds i8, ptr %779, i64 %780
  %782 = call noundef zeroext i1 @_ZN9Secp256K117ParsePublicKeyHexEPcR5PointRb(ptr noundef nonnull align 8 dereferenceable(983240) %775, ptr noundef %776, ptr noundef nonnull align 8 dereferenceable(120) %778, ptr noundef nonnull align 1 dereferenceable(1) %781)
  br i1 %782, label %783, label %786

783:                                              ; preds = %774
  %784 = load i64, ptr %27, align 8, !tbaa !11
  %785 = add i64 %784, 1
  store i64 %785, ptr %27, align 8, !tbaa !11
  br label %789

786:                                              ; preds = %774
  %787 = load i64, ptr @N, align 8, !tbaa !11
  %788 = add i64 %787, -1
  store i64 %788, ptr @N, align 8, !tbaa !11
  br label %789

789:                                              ; preds = %786, %783
  br label %811

790:                                              ; preds = %767
  %791 = load ptr, ptr @secp, align 8, !tbaa !9
  %792 = load ptr, ptr %14, align 8, !tbaa !9
  %793 = load i64, ptr %27, align 8, !tbaa !11
  %794 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @OriginalPointsBSGS, i64 noundef %793) #14
  %795 = load ptr, ptr @OriginalPointsBSGScompressed, align 8, !tbaa !9
  %796 = load i64, ptr %27, align 8, !tbaa !11
  %797 = getelementptr inbounds i8, ptr %795, i64 %796
  %798 = call noundef zeroext i1 @_ZN9Secp256K117ParsePublicKeyHexEPcR5PointRb(ptr noundef nonnull align 8 dereferenceable(983240) %791, ptr noundef %792, ptr noundef nonnull align 8 dereferenceable(120) %794, ptr noundef nonnull align 1 dereferenceable(1) %797)
  br i1 %798, label %799, label %802

799:                                              ; preds = %790
  %800 = load i64, ptr %27, align 8, !tbaa !11
  %801 = add i64 %800, 1
  store i64 %801, ptr %27, align 8, !tbaa !11
  br label %805

802:                                              ; preds = %790
  %803 = load i64, ptr @N, align 8, !tbaa !11
  %804 = add i64 %803, -1
  store i64 %804, ptr @N, align 8, !tbaa !11
  br label %805

805:                                              ; preds = %802, %799
  br label %811

806:                                              ; preds = %767
  %807 = load ptr, ptr %14, align 8, !tbaa !9
  %808 = call i32 (ptr, ...) @printf(ptr noundef @.str.158, ptr noundef %807)
  %809 = load i64, ptr @N, align 8, !tbaa !11
  %810 = add i64 %809, -1
  store i64 %810, ptr @N, align 8, !tbaa !11
  br label %811

811:                                              ; preds = %806, %805, %789
  call void @_Z13freetokenizerP13str_tokenizer(ptr noundef %10)
  br label %812

812:                                              ; preds = %811, %761
  br label %813

813:                                              ; preds = %812, %755
  br label %750, !llvm.loop !21

814:                                              ; preds = %750
  %815 = load ptr, ptr %23, align 8, !tbaa !9
  %816 = call i32 @fclose(ptr noundef %815)
  %817 = load i64, ptr @N, align 8, !tbaa !11
  %818 = trunc i64 %817 to i32
  store i32 %818, ptr @bsgs_point_number, align 4, !tbaa !5
  %819 = load i32, ptr @bsgs_point_number, align 4, !tbaa !5
  %820 = icmp ugt i32 %819, 0
  br i1 %820, label %821, label %824

821:                                              ; preds = %814
  %822 = load i32, ptr @bsgs_point_number, align 4, !tbaa !5
  %823 = call i32 (ptr, ...) @printf(ptr noundef @.str.159, i32 noundef %822)
  br label %827

824:                                              ; preds = %814
  %825 = load ptr, ptr @stderr, align 8, !tbaa !9
  %826 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %825, ptr noundef @.str.160) #14
  call void @exit(i32 noundef 1) #17
  unreachable

827:                                              ; preds = %821
  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)
  %828 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %828)
  %829 = load i32, ptr @FLAG_N, align 4, !tbaa !5
  %830 = icmp ne i32 %829, 0
  br i1 %830, label %831, label %849

831:                                              ; preds = %827
  %832 = load ptr, ptr @str_N, align 8, !tbaa !9
  %833 = getelementptr inbounds i8, ptr %832, i64 0
  %834 = load i8, ptr %833, align 1, !tbaa !13
  %835 = sext i8 %834 to i32
  %836 = icmp eq i32 %835, 48
  br i1 %836, label %837, label %846

837:                                              ; preds = %831
  %838 = load ptr, ptr @str_N, align 8, !tbaa !9
  %839 = getelementptr inbounds i8, ptr %838, i64 1
  %840 = load i8, ptr %839, align 1, !tbaa !13
  %841 = sext i8 %840 to i32
  %842 = icmp eq i32 %841, 120
  br i1 %842, label %843, label %846

843:                                              ; preds = %837
  %844 = load ptr, ptr @str_N, align 8, !tbaa !9
  %845 = getelementptr inbounds i8, ptr %844, i64 2
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef %845)
  br label %848

846:                                              ; preds = %837, %831
  %847 = load ptr, ptr @str_N, align 8, !tbaa !9
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef %847)
  br label %848

848:                                              ; preds = %846, %843
  br label %850

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

850:                                              ; preds = %849, %848
  %851 = call noundef zeroext i1 @_ZN3Int7HasSqrtEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  br i1 %851, label %852, label %853

852:                                              ; preds = %850
  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 %856

853:                                              ; preds = %850
  %854 = load ptr, ptr @stderr, align 8, !tbaa !9
  %855 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %854, ptr noundef @.str.161) #14
  call void @exit(i32 noundef 1) #17
  unreachable

856:                                              ; preds = %852
  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)
  %857 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  br i1 %857, label %863, label %858

858:                                              ; preds = %856
  %859 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_GROUP_SIZE)
  store ptr %859, ptr %12, align 8, !tbaa !9
  %860 = load ptr, ptr @stderr, align 8, !tbaa !9
  %861 = load ptr, ptr %12, align 8, !tbaa !9
  %862 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %860, ptr noundef @.str.162, ptr noundef %861) #14
  call void @exit(i32 noundef 1) #17
  unreachable

863:                                              ; preds = %856
  %864 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %864, ptr @bsgs_m, align 8, !tbaa !11
  %865 = load i32, ptr @FLAGRANGE, align 4, !tbaa !5
  %866 = icmp ne i32 %865, 0
  br i1 %866, label %870, label %867

867:                                              ; preds = %863
  %868 = load i32, ptr @FLAGBITRANGE, align 4, !tbaa !5
  %869 = icmp ne i32 %868, 0
  br i1 %869, label %870, label %889

870:                                              ; preds = %867, %863
  %871 = load i32, ptr @FLAGBITRANGE, align 4, !tbaa !5
  %872 = icmp ne i32 %871, 0
  br i1 %872, label %873, label %882

873:                                              ; preds = %870
  %874 = load ptr, ptr @bit_range_str_min, align 8, !tbaa !9
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef %874)
  %875 = load ptr, ptr @bit_range_str_max, align 8, !tbaa !9
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %875)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_start)
  %876 = load i32, ptr @bitrange, align 4, !tbaa !5
  %877 = call i32 (ptr, ...) @printf(ptr noundef @.str.141, i32 noundef %876)
  %878 = load ptr, ptr @bit_range_str_min, align 8, !tbaa !9
  %879 = call i32 (ptr, ...) @printf(ptr noundef @.str.143, ptr noundef %878)
  %880 = load ptr, ptr @bit_range_str_max, align 8, !tbaa !9
  %881 = call i32 (ptr, ...) @printf(ptr noundef @.str.144, ptr noundef %880)
  br label %888

882:                                              ; preds = %870
  %883 = call i32 (ptr, ...) @printf(ptr noundef @.str.142)
  %884 = load ptr, ptr @range_start, align 8, !tbaa !9
  %885 = call i32 (ptr, ...) @printf(ptr noundef @.str.143, ptr noundef %884)
  %886 = load ptr, ptr @range_end, align 8, !tbaa !9
  %887 = call i32 (ptr, ...) @printf(ptr noundef @.str.144, ptr noundef %886)
  br label %888

888:                                              ; preds = %882, %873
  br label %892

889:                                              ; preds = %867
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, i32 noundef 1)
  %890 = load ptr, ptr @secp, align 8, !tbaa !9
  %891 = getelementptr inbounds %class.Secp256K1, ptr %890, i32 0, i32 2
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %891)
  call void @_ZN3Int4RandEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @n_range_start, ptr noundef @n_range_end)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef @n_range_diff)
  br label %892

892:                                              ; preds = %889, %888
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_CURRENT, ptr noundef @n_range_start)
  %893 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef @BSGS_N)
  br i1 %893, label %894, label %897

894:                                              ; preds = %892
  %895 = load ptr, ptr @stderr, align 8, !tbaa !9
  %896 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %895, ptr noundef @.str.163) #14
  call void @exit(i32 noundef 1) #17
  unreachable

897:                                              ; preds = %892
  %898 = load i32, ptr @KFACTOR, align 4, !tbaa !5
  %899 = sext i32 %898 to i64
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %899)
  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)
  %900 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %900, label %902, label %901

901:                                              ; preds = %897
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  br label %902

902:                                              ; preds = %901, %897
  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)
  %903 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %903, label %905, label %904

904:                                              ; preds = %902
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  br label %905

905:                                              ; preds = %904, %902
  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)
  %906 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  store i64 %906, ptr @bsgs_m2, align 8, !tbaa !11
  %907 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  store i64 %907, 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)
  %908 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %908, label %910, label %909

909:                                              ; preds = %905
  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 %910

910:                                              ; preds = %909, %905
  %911 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %911, ptr @bsgs_m, align 8, !tbaa !11
  %912 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  store i64 %912, ptr @bsgs_aux, align 8, !tbaa !11
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N_double, ptr noundef @BSGS_N)
  %913 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  store ptr %913, ptr %12, align 8, !tbaa !9
  %914 = load ptr, ptr %12, align 8, !tbaa !9
  %915 = call i32 (ptr, ...) @printf(ptr noundef @.str.164, ptr noundef %914)
  %916 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %916) #14
  %917 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %918 = udiv i64 %917, 256
  %919 = icmp ugt i64 %918, 10000
  br i1 %919, label %920, label %930

920:                                              ; preds = %910
  %921 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %922 = udiv i64 %921, 256
  store i64 %922, ptr %30, align 8, !tbaa !11
  %923 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %924 = urem i64 %923, 256
  %925 = icmp ne i64 %924, 0
  br i1 %925, label %926, label %929

926:                                              ; preds = %920
  %927 = load i64, ptr %30, align 8, !tbaa !11
  %928 = add i64 %927, 1
  store i64 %928, ptr %30, align 8, !tbaa !11
  br label %929

929:                                              ; preds = %926, %920
  br label %931

930:                                              ; preds = %910
  store i64 1000, ptr %30, align 8, !tbaa !11
  br label %931

931:                                              ; preds = %930, %929
  %932 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %933 = udiv i64 %932, 256
  %934 = icmp ugt i64 %933, 1000
  br i1 %934, label %935, label %945

935:                                              ; preds = %931
  %936 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %937 = udiv i64 %936, 256
  store i64 %937, ptr %31, align 8, !tbaa !11
  %938 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %939 = urem i64 %938, 256
  %940 = icmp ne i64 %939, 0
  br i1 %940, label %941, label %944

941:                                              ; preds = %935
  %942 = load i64, ptr %31, align 8, !tbaa !11
  %943 = add i64 %942, 1
  store i64 %943, ptr %31, align 8, !tbaa !11
  br label %944

944:                                              ; preds = %941, %935
  br label %946

945:                                              ; preds = %931
  store i64 1000, ptr %31, align 8, !tbaa !11
  br label %946

946:                                              ; preds = %945, %944
  %947 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %948 = udiv i64 %947, 256
  %949 = icmp ugt i64 %948, 1000
  br i1 %949, label %950, label %960

950:                                              ; preds = %946
  %951 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %952 = udiv i64 %951, 256
  store i64 %952, ptr %32, align 8, !tbaa !11
  %953 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %954 = urem i64 %953, 256
  %955 = icmp ne i64 %954, 0
  br i1 %955, label %956, label %959

956:                                              ; preds = %950
  %957 = load i64, ptr %32, align 8, !tbaa !11
  %958 = add i64 %957, 1
  store i64 %958, ptr %32, align 8, !tbaa !11
  br label %959

959:                                              ; preds = %956, %950
  br label %961

960:                                              ; preds = %946
  store i64 1000, ptr %32, align 8, !tbaa !11
  br label %961

961:                                              ; preds = %960, %959
  %962 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %963 = call i32 (ptr, ...) @printf(ptr noundef @.str.165, i64 noundef %962)
  %964 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 80) #20
  store ptr %964, ptr @bloom_bP, align 8, !tbaa !9
  %965 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %965, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.166, i32 noundef 1216)
  %966 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 64) #20
  store ptr %966, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %967 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %967, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.167, i32 noundef 1218)
  %968 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 40) #20
  store ptr %968, ptr @bloom_bP_mutex, align 8, !tbaa !9
  %969 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %969, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.168, i32 noundef 1226)
  %970 = load ptr, ptr @stdout, align 8, !tbaa !9
  %971 = call i32 @fflush(ptr noundef %970)
  store i64 0, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %972

972:                                              ; preds = %998, %961
  %973 = load i64, ptr %27, align 8, !tbaa !11
  %974 = icmp ult i64 %973, 256
  br i1 %974, label %975, label %1001

975:                                              ; preds = %972
  %976 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !9
  %977 = load i64, ptr %27, align 8, !tbaa !11
  %978 = getelementptr inbounds %union.pthread_mutex_t, ptr %976, i64 %977
  %979 = call i32 @pthread_mutex_init(ptr noundef %978, ptr noundef null) #14
  %980 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %981 = load i64, ptr %27, align 8, !tbaa !11
  %982 = getelementptr inbounds %struct.bloom, ptr %980, i64 %981
  %983 = load i64, ptr %30, align 8, !tbaa !11
  %984 = call i32 @bloom_init2(ptr noundef %982, i64 noundef %983, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %985 = icmp eq i32 %984, 1
  br i1 %985, label %986, label %990

986:                                              ; preds = %975
  %987 = load ptr, ptr @stderr, align 8, !tbaa !9
  %988 = load i64, ptr %27, align 8, !tbaa !11
  %989 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %987, ptr noundef @.str.169, i64 noundef %988) #14
  call void @exit(i32 noundef 1) #17
  unreachable

990:                                              ; preds = %975
  %991 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %992 = load i64, ptr %27, align 8, !tbaa !11
  %993 = getelementptr inbounds %struct.bloom, ptr %991, i64 %992
  %994 = getelementptr inbounds %struct.bloom, ptr %993, i32 0, i32 2
  %995 = load i64, ptr %994, align 16, !tbaa !22
  %996 = load i64, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  %997 = add i64 %996, %995
  store i64 %997, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  br label %998

998:                                              ; preds = %990
  %999 = load i64, ptr %27, align 8, !tbaa !11
  %1000 = add i64 %999, 1
  store i64 %1000, ptr %27, align 8, !tbaa !11
  br label %972, !llvm.loop !26

1001:                                             ; preds = %972
  %1002 = load i64, ptr @bloom_bP_totalbytes, align 8, !tbaa !11
  %1003 = uitofp i64 %1002 to float
  %1004 = fdiv float %1003, 0x4130000000000000
  %1005 = fpext float %1004 to double
  %1006 = call i32 (ptr, ...) @printf(ptr noundef @.str.170, double noundef %1005)
  %1007 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1008 = call i32 (ptr, ...) @printf(ptr noundef @.str.165, i64 noundef %1007)
  %1009 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 40) #20
  store ptr %1009, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !9
  %1010 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1010, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.171, i32 noundef 1254)
  %1011 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 80) #20
  store ptr %1011, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1012 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1012, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.172, i32 noundef 1256)
  %1013 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 64) #20
  store ptr %1013, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %1014 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1014, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.173, i32 noundef 1258)
  store i64 0, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %1015

1015:                                             ; preds = %1041, %1001
  %1016 = load i64, ptr %27, align 8, !tbaa !11
  %1017 = icmp ult i64 %1016, 256
  br i1 %1017, label %1018, label %1044

1018:                                             ; preds = %1015
  %1019 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !9
  %1020 = load i64, ptr %27, align 8, !tbaa !11
  %1021 = getelementptr inbounds %union.pthread_mutex_t, ptr %1019, i64 %1020
  %1022 = call i32 @pthread_mutex_init(ptr noundef %1021, ptr noundef null) #14
  %1023 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1024 = load i64, ptr %27, align 8, !tbaa !11
  %1025 = getelementptr inbounds %struct.bloom, ptr %1023, i64 %1024
  %1026 = load i64, ptr %31, align 8, !tbaa !11
  %1027 = call i32 @bloom_init2(ptr noundef %1025, i64 noundef %1026, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %1028 = icmp eq i32 %1027, 1
  br i1 %1028, label %1029, label %1033

1029:                                             ; preds = %1018
  %1030 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1031 = load i64, ptr %27, align 8, !tbaa !11
  %1032 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1030, ptr noundef @.str.169, i64 noundef %1031) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1033:                                             ; preds = %1018
  %1034 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1035 = load i64, ptr %27, align 8, !tbaa !11
  %1036 = getelementptr inbounds %struct.bloom, ptr %1034, i64 %1035
  %1037 = getelementptr inbounds %struct.bloom, ptr %1036, i32 0, i32 2
  %1038 = load i64, ptr %1037, align 16, !tbaa !22
  %1039 = load i64, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  %1040 = add i64 %1039, %1038
  store i64 %1040, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  br label %1041

1041:                                             ; preds = %1033
  %1042 = load i64, ptr %27, align 8, !tbaa !11
  %1043 = add i64 %1042, 1
  store i64 %1043, ptr %27, align 8, !tbaa !11
  br label %1015, !llvm.loop !27

1044:                                             ; preds = %1015
  %1045 = load i64, ptr @bloom_bP2_totalbytes, align 8, !tbaa !11
  %1046 = uitofp i64 %1045 to float
  %1047 = fdiv float %1046, 0x4130000000000000
  %1048 = fpext float %1047 to double
  %1049 = call i32 (ptr, ...) @printf(ptr noundef @.str.170, double noundef %1048)
  %1050 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 40) #20
  store ptr %1050, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !9
  %1051 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1051, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.174, i32 noundef 1281)
  %1052 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 80) #20
  store ptr %1052, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1053 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1053, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.175, i32 noundef 1283)
  %1054 = call noalias ptr @calloc(i64 noundef 256, i64 noundef 64) #20
  store ptr %1054, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1055 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1055, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.176, i32 noundef 1285)
  %1056 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1057 = call i32 (ptr, ...) @printf(ptr noundef @.str.165, i64 noundef %1056)
  store i64 0, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %1058

1058:                                             ; preds = %1084, %1044
  %1059 = load i64, ptr %27, align 8, !tbaa !11
  %1060 = icmp ult i64 %1059, 256
  br i1 %1060, label %1061, label %1087

1061:                                             ; preds = %1058
  %1062 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !9
  %1063 = load i64, ptr %27, align 8, !tbaa !11
  %1064 = getelementptr inbounds %union.pthread_mutex_t, ptr %1062, i64 %1063
  %1065 = call i32 @pthread_mutex_init(ptr noundef %1064, ptr noundef null) #14
  %1066 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1067 = load i64, ptr %27, align 8, !tbaa !11
  %1068 = getelementptr inbounds %struct.bloom, ptr %1066, i64 %1067
  %1069 = load i64, ptr %32, align 8, !tbaa !11
  %1070 = call i32 @bloom_init2(ptr noundef %1068, i64 noundef %1069, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %1071 = icmp eq i32 %1070, 1
  br i1 %1071, label %1072, label %1076

1072:                                             ; preds = %1061
  %1073 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1074 = load i64, ptr %27, align 8, !tbaa !11
  %1075 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1073, ptr noundef @.str.177, i64 noundef %1074) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1076:                                             ; preds = %1061
  %1077 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1078 = load i64, ptr %27, align 8, !tbaa !11
  %1079 = getelementptr inbounds %struct.bloom, ptr %1077, i64 %1078
  %1080 = getelementptr inbounds %struct.bloom, ptr %1079, i32 0, i32 2
  %1081 = load i64, ptr %1080, align 16, !tbaa !22
  %1082 = load i64, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  %1083 = add i64 %1082, %1081
  store i64 %1083, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  br label %1084

1084:                                             ; preds = %1076
  %1085 = load i64, ptr %27, align 8, !tbaa !11
  %1086 = add i64 %1085, 1
  store i64 %1086, ptr %27, align 8, !tbaa !11
  br label %1058, !llvm.loop !28

1087:                                             ; preds = %1058
  %1088 = load i64, ptr @bloom_bP3_totalbytes, align 8, !tbaa !11
  %1089 = uitofp i64 %1088 to float
  %1090 = fdiv float %1089, 0x4130000000000000
  %1091 = fpext float %1090 to double
  %1092 = call i32 (ptr, ...) @printf(ptr noundef @.str.170, double noundef %1091)
  call void @llvm.lifetime.start.p0(i64 120, ptr %57) #14
  %1093 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %57, ptr noundef nonnull align 8 dereferenceable(983240) %1093, ptr noundef @BSGS_M)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP, ptr align 8 %57, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %57) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %57) #14
  call void @llvm.lifetime.start.p0(i64 120, ptr %58) #14
  %1094 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %58, ptr noundef nonnull align 8 dereferenceable(983240) %1094, ptr noundef @BSGS_M_double)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP_double, ptr align 8 %58, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %58) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %58) #14
  call void @llvm.lifetime.start.p0(i64 120, ptr %59) #14
  %1095 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %59, ptr noundef nonnull align 8 dereferenceable(983240) %1095, ptr noundef @BSGS_M2)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP2, ptr align 8 %59, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %59) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %59) #14
  call void @llvm.lifetime.start.p0(i64 120, ptr %60) #14
  %1096 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %60, ptr noundef nonnull align 8 dereferenceable(983240) %1096, ptr noundef @BSGS_M2_double)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP2_double, ptr align 8 %60, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %60) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %60) #14
  call void @llvm.lifetime.start.p0(i64 120, ptr %61) #14
  %1097 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %61, ptr noundef nonnull align 8 dereferenceable(983240) %1097, ptr noundef @BSGS_M3)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP3, ptr align 8 %61, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %61) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %61) #14
  call void @llvm.lifetime.start.p0(i64 120, ptr %62) #14
  %1098 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind writable sret(%class.Point) align 8 %62, ptr noundef nonnull align 8 dereferenceable(983240) %1098, ptr noundef @BSGS_M3_double)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @BSGS_MP3_double, ptr align 8 %62, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %62) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %62) #14
  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 i64 0, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 120, ptr %63) #14
  %1099 = load ptr, ptr @secp, align 8, !tbaa !9
  call void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %63, ptr noundef nonnull align 8 dereferenceable(983240) %1099, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP_double)
  call void @llvm.lifetime.start.p0(i64 120, ptr %64) #14
  invoke void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %64, ptr noundef nonnull align 8 dereferenceable(120) %63)
          to label %1100 unwind label %1109

1100:                                             ; preds = %1087
  %1101 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 0) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1101, ptr align 8 %64, i64 120, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.start.p0(i64 120, ptr %65) #14
  %1102 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %65, ptr noundef nonnull align 8 dereferenceable(983240) %1102, ptr noundef nonnull align 8 dereferenceable(120) %64)
          to label %1103 unwind label %1113

1103:                                             ; preds = %1100
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %64, ptr align 8 %65, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %65) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %65) #14
  %1104 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 1) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1104, ptr align 8 %64, i64 120, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #14
  store i32 2, ptr %66, align 4, !tbaa !5
  br label %1105

1105:                                             ; preds = %1123, %1103
  %1106 = load i32, ptr %66, align 4, !tbaa !5
  %1107 = icmp slt i32 %1106, 512
  br i1 %1107, label %1117, label %1108

1108:                                             ; preds = %1105
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #14
  br label %1130

1109:                                             ; preds = %1087
  %1110 = landingpad { ptr, i32 }
          cleanup
  %1111 = extractvalue { ptr, i32 } %1110, 0
  store ptr %1111, ptr %53, align 8
  %1112 = extractvalue { ptr, i32 } %1110, 1
  store i32 %1112, ptr %54, align 4
  br label %2981

1113:                                             ; preds = %1100
  %1114 = landingpad { ptr, i32 }
          cleanup
  %1115 = extractvalue { ptr, i32 } %1114, 0
  store ptr %1115, ptr %53, align 8
  %1116 = extractvalue { ptr, i32 } %1114, 1
  store i32 %1116, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %65) #14
  br label %2980

1117:                                             ; preds = %1105
  call void @llvm.lifetime.start.p0(i64 120, ptr %67) #14
  %1118 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind writable sret(%class.Point) align 8 %67, ptr noundef nonnull align 8 dereferenceable(983240) %1118, ptr noundef nonnull align 8 dereferenceable(120) %64, ptr noundef nonnull align 8 dereferenceable(120) %63)
          to label %1119 unwind label %1126

1119:                                             ; preds = %1117
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %64, ptr align 8 %67, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %67) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %67) #14
  %1120 = load i32, ptr %66, align 4, !tbaa !5
  %1121 = sext i32 %1120 to i64
  %1122 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef %1121) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1122, ptr align 8 %64, i64 120, i1 false), !tbaa.struct !29
  br label %1123

1123:                                             ; preds = %1119
  %1124 = load i32, ptr %66, align 4, !tbaa !5
  %1125 = add nsw i32 %1124, 1
  store i32 %1125, ptr %66, align 4, !tbaa !5
  br label %1105, !llvm.loop !30

1126:                                             ; preds = %1117
  %1127 = landingpad { ptr, i32 }
          cleanup
  %1128 = extractvalue { ptr, i32 } %1127, 0
  store ptr %1128, ptr %53, align 8
  %1129 = extractvalue { ptr, i32 } %1127, 1
  store i32 %1129, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %67) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #14
  br label %2980

1130:                                             ; preds = %1108
  call void @llvm.lifetime.start.p0(i64 120, ptr %68) #14
  %1131 = load ptr, ptr @secp, align 8, !tbaa !9
  %1132 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 511) #14
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %68, ptr noundef nonnull align 8 dereferenceable(983240) %1131, ptr noundef nonnull align 8 dereferenceable(120) %1132)
          to label %1133 unwind label %1161

1133:                                             ; preds = %1130
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @_2GSn, ptr align 8 %68, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %68) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %68) #14
  store i64 0, ptr %27, align 8, !tbaa !11
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2)
          to label %1134 unwind label %1165

1134:                                             ; preds = %1133
  call void @llvm.lifetime.start.p0(i64 120, ptr %69) #14
  %1135 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %69, ptr noundef nonnull align 8 dereferenceable(983240) %1135, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1136 unwind label %1169

1136:                                             ; preds = %1134
  %1137 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1137, ptr align 8 %69, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %69) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %69) #14
  %1138 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #14
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %1138)
          to label %1139 unwind label %1165

1139:                                             ; preds = %1136
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2_double)
          to label %1140 unwind label %1165

1140:                                             ; preds = %1139
  call void @llvm.lifetime.start.p0(i64 120, ptr %70) #14
  %1141 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %70, ptr noundef nonnull align 8 dereferenceable(983240) %1141, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1142 unwind label %1173

1142:                                             ; preds = %1140
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @point_temp, ptr align 8 %70, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %70) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %70) #14
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1143 unwind label %1165

1143:                                             ; preds = %1142
  store i64 1, ptr %27, align 8, !tbaa !11
  br label %1144

1144:                                             ; preds = %1158, %1143
  %1145 = load i64, ptr %27, align 8, !tbaa !11
  %1146 = icmp ult i64 %1145, 32
  br i1 %1146, label %1147, label %1181

1147:                                             ; preds = %1144
  call void @llvm.lifetime.start.p0(i64 120, ptr %71) #14
  %1148 = load ptr, ptr @secp, align 8, !tbaa !9
  %1149 = load i64, ptr %27, align 8, !tbaa !11
  %1150 = sub i64 %1149, 1
  %1151 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %1150) #14
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind writable sret(%class.Point) align 8 %71, ptr noundef nonnull align 8 dereferenceable(983240) %1148, ptr noundef nonnull align 8 dereferenceable(120) %1151, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1152 unwind label %1177

1152:                                             ; preds = %1147
  %1153 = load i64, ptr %27, align 8, !tbaa !11
  %1154 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %1153) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1154, ptr align 8 %71, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %71) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %71) #14
  %1155 = load i64, ptr %27, align 8, !tbaa !11
  %1156 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %1155) #14
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %1156)
          to label %1157 unwind label %1165

1157:                                             ; preds = %1152
  br label %1158

1158:                                             ; preds = %1157
  %1159 = load i64, ptr %27, align 8, !tbaa !11
  %1160 = add i64 %1159, 1
  store i64 %1160, ptr %27, align 8, !tbaa !11
  br label %1144, !llvm.loop !31

1161:                                             ; preds = %1130
  %1162 = landingpad { ptr, i32 }
          cleanup
  %1163 = extractvalue { ptr, i32 } %1162, 0
  store ptr %1163, ptr %53, align 8
  %1164 = extractvalue { ptr, i32 } %1162, 1
  store i32 %1164, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %68) #14
  br label %2980

1165:                                             ; preds = %2921, %2911, %2906, %2901, %2892, %2890, %2882, %2880, %2863, %2843, %2830, %2823, %2821, %2814, %2803, %2801, %2791, %2779, %2776, %2774, %2767, %2756, %2754, %2746, %2744, %2727, %2707, %2694, %2687, %2685, %2678, %2667, %2665, %2657, %2655, %2638, %2618, %2605, %2598, %2596, %2591, %2588, %2567, %2565, %2562, %2559, %2556, %2553, %2546, %2544, %2532, %2502, %2492, %2462, %2452, %2422, %2411, %2409, %2390, %2332, %2321, %2183, %2178, %2176, %2168, %2165, %2154, %2123, %2065, %2054, %1916, %1911, %1903, %1900, %1889, %1865, %1845, %1842, %1834, %1832, %1794, %1777, %1752, %1734, %1727, %1725, %1718, %1713, %1711, %1701, %1689, %1678, %1675, %1673, %1666, %1660, %1658, %1651, %1647, %1645, %1638, %1636, %1633, %1625, %1623, %1585, %1568, %1543, %1525, %1518, %1516, %1509, %1503, %1501, %1493, %1491, %1453, %1411, %1396, %1389, %1387, %1380, %1375, %1373, %1366, %1363, %1361, %1353, %1351, %1313, %1297, %1272, %1254, %1247, %1245, %1238, %1229, %1221, %1200, %1190, %1187, %1184, %1181, %1152, %1142, %1139, %1136, %1133
  %1166 = landingpad { ptr, i32 }
          cleanup
  %1167 = extractvalue { ptr, i32 } %1166, 0
  store ptr %1167, ptr %53, align 8
  %1168 = extractvalue { ptr, i32 } %1166, 1
  store i32 %1168, ptr %54, align 4
  br label %2980

1169:                                             ; preds = %1134
  %1170 = landingpad { ptr, i32 }
          cleanup
  %1171 = extractvalue { ptr, i32 } %1170, 0
  store ptr %1171, ptr %53, align 8
  %1172 = extractvalue { ptr, i32 } %1170, 1
  store i32 %1172, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %69) #14
  br label %2980

1173:                                             ; preds = %1140
  %1174 = landingpad { ptr, i32 }
          cleanup
  %1175 = extractvalue { ptr, i32 } %1174, 0
  store ptr %1175, ptr %53, align 8
  %1176 = extractvalue { ptr, i32 } %1174, 1
  store i32 %1176, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %70) #14
  br label %2980

1177:                                             ; preds = %1147
  %1178 = landingpad { ptr, i32 }
          cleanup
  %1179 = extractvalue { ptr, i32 } %1178, 0
  store ptr %1179, ptr %53, align 8
  %1180 = extractvalue { ptr, i32 } %1178, 1
  store i32 %1180, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %71) #14
  br label %2980

1181:                                             ; preds = %1144
  store i64 0, ptr %27, align 8, !tbaa !11
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3)
          to label %1182 unwind label %1165

1182:                                             ; preds = %1181
  call void @llvm.lifetime.start.p0(i64 120, ptr %72) #14
  %1183 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %72, ptr noundef nonnull align 8 dereferenceable(983240) %1183, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1184 unwind label %1209

1184:                                             ; preds = %1182
  %1185 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1185, ptr align 8 %72, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %72) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %72) #14
  %1186 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #14
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %1186)
          to label %1187 unwind label %1165

1187:                                             ; preds = %1184
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3_double)
          to label %1188 unwind label %1165

1188:                                             ; preds = %1187
  call void @llvm.lifetime.start.p0(i64 120, ptr %73) #14
  %1189 = load ptr, ptr @secp, align 8, !tbaa !9
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %73, ptr noundef nonnull align 8 dereferenceable(983240) %1189, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1190 unwind label %1213

1190:                                             ; preds = %1188
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 @point_temp, ptr align 8 %73, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %73) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %73) #14
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1191 unwind label %1165

1191:                                             ; preds = %1190
  store i64 1, ptr %27, align 8, !tbaa !11
  br label %1192

1192:                                             ; preds = %1206, %1191
  %1193 = load i64, ptr %27, align 8, !tbaa !11
  %1194 = icmp ult i64 %1193, 32
  br i1 %1194, label %1195, label %1221

1195:                                             ; preds = %1192
  call void @llvm.lifetime.start.p0(i64 120, ptr %74) #14
  %1196 = load ptr, ptr @secp, align 8, !tbaa !9
  %1197 = load i64, ptr %27, align 8, !tbaa !11
  %1198 = sub i64 %1197, 1
  %1199 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %1198) #14
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind writable sret(%class.Point) align 8 %74, ptr noundef nonnull align 8 dereferenceable(983240) %1196, ptr noundef nonnull align 8 dereferenceable(120) %1199, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %1200 unwind label %1217

1200:                                             ; preds = %1195
  %1201 = load i64, ptr %27, align 8, !tbaa !11
  %1202 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %1201) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1202, ptr align 8 %74, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %74) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %74) #14
  %1203 = load i64, ptr %27, align 8, !tbaa !11
  %1204 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %1203) #14
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %1204)
          to label %1205 unwind label %1165

1205:                                             ; preds = %1200
  br label %1206

1206:                                             ; preds = %1205
  %1207 = load i64, ptr %27, align 8, !tbaa !11
  %1208 = add i64 %1207, 1
  store i64 %1208, ptr %27, align 8, !tbaa !11
  br label %1192, !llvm.loop !32

1209:                                             ; preds = %1182
  %1210 = landingpad { ptr, i32 }
          cleanup
  %1211 = extractvalue { ptr, i32 } %1210, 0
  store ptr %1211, ptr %53, align 8
  %1212 = extractvalue { ptr, i32 } %1210, 1
  store i32 %1212, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %72) #14
  br label %2980

1213:                                             ; preds = %1188
  %1214 = landingpad { ptr, i32 }
          cleanup
  %1215 = extractvalue { ptr, i32 } %1214, 0
  store ptr %1215, ptr %53, align 8
  %1216 = extractvalue { ptr, i32 } %1214, 1
  store i32 %1216, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %73) #14
  br label %2980

1217:                                             ; preds = %1195
  %1218 = landingpad { ptr, i32 }
          cleanup
  %1219 = extractvalue { ptr, i32 } %1218, 0
  store ptr %1219, ptr %53, align 8
  %1220 = extractvalue { ptr, i32 } %1218, 1
  store i32 %1220, ptr %54, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %74) #14
  br label %2980

1221:                                             ; preds = %1192
  %1222 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1223 = mul i64 %1222, 16
  store i64 %1223, ptr @bytes, align 8, !tbaa !11
  %1224 = load i64, ptr @bytes, align 8, !tbaa !11
  %1225 = udiv i64 %1224, 1048576
  %1226 = uitofp i64 %1225 to double
  %1227 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1228 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.178, double noundef %1226, i64 noundef %1227)
          to label %1229 unwind label %1165

1229:                                             ; preds = %1221
  %1230 = load i64, ptr @bytes, align 8, !tbaa !11
  %1231 = call noalias ptr @malloc(i64 noundef %1230) #19
  store ptr %1231, ptr @bPtable, align 8, !tbaa !9
  %1232 = load ptr, ptr @bPtable, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1232, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.179, i32 noundef 1369)
          to label %1233 unwind label %1165

1233:                                             ; preds = %1229
  %1234 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %1235 = load i64, ptr @bytes, align 8, !tbaa !11
  call void @llvm.memset.p0.i64(ptr align 8 %1234, i8 0, i64 %1235, i1 false)
  %1236 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !5
  %1237 = icmp ne i32 %1236, 0
  br i1 %1237, label %1238, label %1850

1238:                                             ; preds = %1233
  %1239 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1240 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.180, i64 noundef %1239) #14
  %1241 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1242 unwind label %1165

1242:                                             ; preds = %1238
  store ptr %1241, ptr %24, align 8, !tbaa !9
  %1243 = load ptr, ptr %24, align 8, !tbaa !9
  %1244 = icmp ne ptr %1243, null
  br i1 %1244, label %1245, label %1380

1245:                                             ; preds = %1242
  %1246 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.181, ptr noundef @buffer_bloom_file)
          to label %1247 unwind label %1165

1247:                                             ; preds = %1245
  %1248 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1249 = invoke i32 @fflush(ptr noundef %1248)
          to label %1250 unwind label %1165

1250:                                             ; preds = %1247
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %1251

1251:                                             ; preds = %1358, %1250
  %1252 = load i64, ptr %27, align 8, !tbaa !11
  %1253 = icmp ult i64 %1252, 256
  br i1 %1253, label %1254, label %1361

1254:                                             ; preds = %1251
  %1255 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1256 = load i64, ptr %27, align 8, !tbaa !11
  %1257 = getelementptr inbounds %struct.bloom, ptr %1255, i64 %1256
  %1258 = getelementptr inbounds %struct.bloom, ptr %1257, i32 0, i32 9
  %1259 = load ptr, ptr %1258, align 16, !tbaa !33
  store ptr %1259, ptr %21, align 8, !tbaa !9
  %1260 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1261 = load i64, ptr %27, align 8, !tbaa !11
  %1262 = getelementptr inbounds %struct.bloom, ptr %1260, i64 %1261
  %1263 = load ptr, ptr %24, align 8, !tbaa !9
  %1264 = invoke i64 @fread(ptr noundef %1262, i64 noundef 80, i64 noundef 1, ptr noundef %1263)
          to label %1265 unwind label %1165

1265:                                             ; preds = %1254
  %1266 = trunc i64 %1264 to i32
  store i32 %1266, ptr %34, align 4, !tbaa !5
  %1267 = load i32, ptr %34, align 4, !tbaa !5
  %1268 = icmp ne i32 %1267, 1
  br i1 %1268, label %1269, label %1272

1269:                                             ; preds = %1265
  %1270 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1270, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1272:                                             ; preds = %1265
  %1273 = load ptr, ptr %21, align 8, !tbaa !9
  %1274 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1275 = load i64, ptr %27, align 8, !tbaa !11
  %1276 = getelementptr inbounds %struct.bloom, ptr %1274, i64 %1275
  %1277 = getelementptr inbounds %struct.bloom, ptr %1276, i32 0, i32 9
  store ptr %1273, ptr %1277, align 16, !tbaa !33
  %1278 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1279 = load i64, ptr %27, align 8, !tbaa !11
  %1280 = getelementptr inbounds %struct.bloom, ptr %1278, i64 %1279
  %1281 = getelementptr inbounds %struct.bloom, ptr %1280, i32 0, i32 9
  %1282 = load ptr, ptr %1281, align 16, !tbaa !33
  %1283 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1284 = load i64, ptr %27, align 8, !tbaa !11
  %1285 = getelementptr inbounds %struct.bloom, ptr %1283, i64 %1284
  %1286 = getelementptr inbounds %struct.bloom, ptr %1285, i32 0, i32 2
  %1287 = load i64, ptr %1286, align 16, !tbaa !22
  %1288 = load ptr, ptr %24, align 8, !tbaa !9
  %1289 = invoke i64 @fread(ptr noundef %1282, i64 noundef %1287, i64 noundef 1, ptr noundef %1288)
          to label %1290 unwind label %1165

1290:                                             ; preds = %1272
  %1291 = trunc i64 %1289 to i32
  store i32 %1291, ptr %34, align 4, !tbaa !5
  %1292 = load i32, ptr %34, align 4, !tbaa !5
  %1293 = icmp ne i32 %1292, 1
  br i1 %1293, label %1294, label %1297

1294:                                             ; preds = %1290
  %1295 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1296 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1295, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1297:                                             ; preds = %1290
  %1298 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1299 = load i64, ptr %27, align 8, !tbaa !11
  %1300 = getelementptr inbounds %struct.checksumsha256, ptr %1298, i64 %1299
  %1301 = load ptr, ptr %24, align 8, !tbaa !9
  %1302 = invoke i64 @fread(ptr noundef %1300, i64 noundef 64, i64 noundef 1, ptr noundef %1301)
          to label %1303 unwind label %1165

1303:                                             ; preds = %1297
  %1304 = trunc i64 %1302 to i32
  store i32 %1304, ptr %34, align 4, !tbaa !5
  %1305 = load i32, ptr %34, align 4, !tbaa !5
  %1306 = icmp ne i32 %1305, 1
  br i1 %1306, label %1307, label %1310

1307:                                             ; preds = %1303
  %1308 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1309 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1308, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1310:                                             ; preds = %1303
  %1311 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %1312 = icmp eq i32 %1311, 0
  br i1 %1312, label %1313, label %1347

1313:                                             ; preds = %1310
  %1314 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1315 = load i64, ptr %27, align 8, !tbaa !11
  %1316 = getelementptr inbounds %struct.bloom, ptr %1314, i64 %1315
  %1317 = getelementptr inbounds %struct.bloom, ptr %1316, i32 0, i32 9
  %1318 = load ptr, ptr %1317, align 16, !tbaa !33
  %1319 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1320 = load i64, ptr %27, align 8, !tbaa !11
  %1321 = getelementptr inbounds %struct.bloom, ptr %1319, i64 %1320
  %1322 = getelementptr inbounds %struct.bloom, ptr %1321, i32 0, i32 2
  %1323 = load i64, ptr %1322, align 16, !tbaa !22
  %1324 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1318, i64 noundef %1323, ptr noundef %1324)
          to label %1325 unwind label %1165

1325:                                             ; preds = %1313
  %1326 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1327 = load i64, ptr %27, align 8, !tbaa !11
  %1328 = getelementptr inbounds %struct.checksumsha256, ptr %1326, i64 %1327
  %1329 = getelementptr inbounds %struct.checksumsha256, ptr %1328, i32 0, i32 0
  %1330 = getelementptr inbounds [32 x i8], ptr %1329, i64 0, i64 0
  %1331 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1332 = call i32 @memcmp(ptr noundef %1330, ptr noundef %1331, i64 noundef 32) #18
  %1333 = icmp ne i32 %1332, 0
  br i1 %1333, label %1343, label %1334

1334:                                             ; preds = %1325
  %1335 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1336 = load i64, ptr %27, align 8, !tbaa !11
  %1337 = getelementptr inbounds %struct.checksumsha256, ptr %1335, i64 %1336
  %1338 = getelementptr inbounds %struct.checksumsha256, ptr %1337, i32 0, i32 1
  %1339 = getelementptr inbounds [32 x i8], ptr %1338, i64 0, i64 0
  %1340 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1341 = call i32 @memcmp(ptr noundef %1339, ptr noundef %1340, i64 noundef 32) #18
  %1342 = icmp ne i32 %1341, 0
  br i1 %1342, label %1343, label %1346

1343:                                             ; preds = %1334, %1325
  %1344 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1345 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1344, ptr noundef @.str.183, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1346:                                             ; preds = %1334
  br label %1347

1347:                                             ; preds = %1346, %1310
  %1348 = load i64, ptr %27, align 8, !tbaa !11
  %1349 = urem i64 %1348, 64
  %1350 = icmp eq i64 %1349, 0
  br i1 %1350, label %1351, label %1357

1351:                                             ; preds = %1347
  %1352 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %1353 unwind label %1165

1353:                                             ; preds = %1351
  %1354 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1355 = invoke i32 @fflush(ptr noundef %1354)
          to label %1356 unwind label %1165

1356:                                             ; preds = %1353
  br label %1357

1357:                                             ; preds = %1356, %1347
  br label %1358

1358:                                             ; preds = %1357
  %1359 = load i64, ptr %27, align 8, !tbaa !11
  %1360 = add i64 %1359, 1
  store i64 %1360, ptr %27, align 8, !tbaa !11
  br label %1251, !llvm.loop !34

1361:                                             ; preds = %1251
  %1362 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.185)
          to label %1363 unwind label %1165

1363:                                             ; preds = %1361
  %1364 = load ptr, ptr %24, align 8, !tbaa !9
  %1365 = invoke i32 @fclose(ptr noundef %1364)
          to label %1366 unwind label %1165

1366:                                             ; preds = %1363
  call void @llvm.memset.p0.i64(ptr align 16 @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %1367 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1368 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.186, i64 noundef %1367) #14
  %1369 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1370 unwind label %1165

1370:                                             ; preds = %1366
  store ptr %1369, ptr %24, align 8, !tbaa !9
  %1371 = load ptr, ptr %24, align 8, !tbaa !9
  %1372 = icmp ne ptr %1371, null
  br i1 %1372, label %1373, label %1379

1373:                                             ; preds = %1370
  %1374 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.187, ptr noundef @buffer_bloom_file)
          to label %1375 unwind label %1165

1375:                                             ; preds = %1373
  %1376 = load ptr, ptr %24, align 8, !tbaa !9
  %1377 = invoke i32 @fclose(ptr noundef %1376)
          to label %1378 unwind label %1165

1378:                                             ; preds = %1375
  br label %1379

1379:                                             ; preds = %1378, %1370
  store i32 1, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  br label %1509

1380:                                             ; preds = %1242
  %1381 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1382 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.186, i64 noundef %1381) #14
  %1383 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1384 unwind label %1165

1384:                                             ; preds = %1380
  store ptr %1383, ptr %24, align 8, !tbaa !9
  %1385 = load ptr, ptr %24, align 8, !tbaa !9
  %1386 = icmp ne ptr %1385, null
  br i1 %1386, label %1387, label %1507

1387:                                             ; preds = %1384
  %1388 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.181, ptr noundef @buffer_bloom_file)
          to label %1389 unwind label %1165

1389:                                             ; preds = %1387
  %1390 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1391 = invoke i32 @fflush(ptr noundef %1390)
          to label %1392 unwind label %1165

1392:                                             ; preds = %1389
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %1393

1393:                                             ; preds = %1498, %1392
  %1394 = load i64, ptr %27, align 8, !tbaa !11
  %1395 = icmp ult i64 %1394, 256
  br i1 %1395, label %1396, label %1501

1396:                                             ; preds = %1393
  %1397 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1398 = load i64, ptr %27, align 8, !tbaa !11
  %1399 = getelementptr inbounds %struct.bloom, ptr %1397, i64 %1398
  %1400 = getelementptr inbounds %struct.bloom, ptr %1399, i32 0, i32 9
  %1401 = load ptr, ptr %1400, align 16, !tbaa !33
  store ptr %1401, ptr %21, align 8, !tbaa !9
  %1402 = load ptr, ptr %24, align 8, !tbaa !9
  %1403 = invoke i64 @fread(ptr noundef @oldbloom_bP, i64 noundef 176, i64 noundef 1, ptr noundef %1402)
          to label %1404 unwind label %1165

1404:                                             ; preds = %1396
  %1405 = trunc i64 %1403 to i32
  store i32 %1405, ptr %34, align 4, !tbaa !5
  %1406 = load i32, ptr %34, align 4, !tbaa !5
  %1407 = icmp ne i32 %1406, 1
  br i1 %1407, label %1408, label %1411

1408:                                             ; preds = %1404
  %1409 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1410 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1409, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1411:                                             ; preds = %1404
  %1412 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1413 = load i64, ptr %27, align 8, !tbaa !11
  %1414 = getelementptr inbounds %struct.bloom, ptr %1412, i64 %1413
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1414, ptr align 16 @oldbloom_bP, i64 80, i1 false)
  %1415 = load ptr, ptr %21, align 8, !tbaa !9
  %1416 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1417 = load i64, ptr %27, align 8, !tbaa !11
  %1418 = getelementptr inbounds %struct.bloom, ptr %1416, i64 %1417
  %1419 = getelementptr inbounds %struct.bloom, ptr %1418, i32 0, i32 9
  store ptr %1415, ptr %1419, align 16, !tbaa !33
  %1420 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1421 = load i64, ptr %27, align 8, !tbaa !11
  %1422 = getelementptr inbounds %struct.bloom, ptr %1420, i64 %1421
  %1423 = getelementptr inbounds %struct.bloom, ptr %1422, i32 0, i32 9
  %1424 = load ptr, ptr %1423, align 16, !tbaa !33
  %1425 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1426 = load i64, ptr %27, align 8, !tbaa !11
  %1427 = getelementptr inbounds %struct.bloom, ptr %1425, i64 %1426
  %1428 = getelementptr inbounds %struct.bloom, ptr %1427, i32 0, i32 2
  %1429 = load i64, ptr %1428, align 16, !tbaa !22
  %1430 = load ptr, ptr %24, align 8, !tbaa !9
  %1431 = invoke i64 @fread(ptr noundef %1424, i64 noundef %1429, i64 noundef 1, ptr noundef %1430)
          to label %1432 unwind label %1165

1432:                                             ; preds = %1411
  %1433 = trunc i64 %1431 to i32
  store i32 %1433, ptr %34, align 4, !tbaa !5
  %1434 = load i32, ptr %34, align 4, !tbaa !5
  %1435 = icmp ne i32 %1434, 1
  br i1 %1435, label %1436, label %1439

1436:                                             ; preds = %1432
  %1437 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1438 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1437, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1439:                                             ; preds = %1432
  %1440 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1441 = load i64, ptr %27, align 8, !tbaa !11
  %1442 = getelementptr inbounds %struct.checksumsha256, ptr %1440, i64 %1441
  %1443 = getelementptr inbounds %struct.checksumsha256, ptr %1442, i32 0, i32 0
  %1444 = getelementptr inbounds [32 x i8], ptr %1443, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1444, ptr align 16 getelementptr inbounds (%struct.oldbloom, ptr @oldbloom_bP, i32 0, i32 9), i64 32, i1 false)
  %1445 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1446 = load i64, ptr %27, align 8, !tbaa !11
  %1447 = getelementptr inbounds %struct.checksumsha256, ptr %1445, i64 %1446
  %1448 = getelementptr inbounds %struct.checksumsha256, ptr %1447, i32 0, i32 1
  %1449 = getelementptr inbounds [32 x i8], ptr %1448, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1449, ptr align 16 getelementptr inbounds (%struct.oldbloom, ptr @oldbloom_bP, i32 0, i32 10), i64 32, i1 false)
  %1450 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %1450, i8 0, i64 32, i1 false)
  %1451 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %1452 = icmp eq i32 %1451, 0
  br i1 %1452, label %1453, label %1487

1453:                                             ; preds = %1439
  %1454 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1455 = load i64, ptr %27, align 8, !tbaa !11
  %1456 = getelementptr inbounds %struct.bloom, ptr %1454, i64 %1455
  %1457 = getelementptr inbounds %struct.bloom, ptr %1456, i32 0, i32 9
  %1458 = load ptr, ptr %1457, align 16, !tbaa !33
  %1459 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %1460 = load i64, ptr %27, align 8, !tbaa !11
  %1461 = getelementptr inbounds %struct.bloom, ptr %1459, i64 %1460
  %1462 = getelementptr inbounds %struct.bloom, ptr %1461, i32 0, i32 2
  %1463 = load i64, ptr %1462, align 16, !tbaa !22
  %1464 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1458, i64 noundef %1463, ptr noundef %1464)
          to label %1465 unwind label %1165

1465:                                             ; preds = %1453
  %1466 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1467 = load i64, ptr %27, align 8, !tbaa !11
  %1468 = getelementptr inbounds %struct.checksumsha256, ptr %1466, i64 %1467
  %1469 = getelementptr inbounds %struct.checksumsha256, ptr %1468, i32 0, i32 0
  %1470 = getelementptr inbounds [32 x i8], ptr %1469, i64 0, i64 0
  %1471 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1472 = call i32 @memcmp(ptr noundef %1470, ptr noundef %1471, i64 noundef 32) #18
  %1473 = icmp ne i32 %1472, 0
  br i1 %1473, label %1483, label %1474

1474:                                             ; preds = %1465
  %1475 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %1476 = load i64, ptr %27, align 8, !tbaa !11
  %1477 = getelementptr inbounds %struct.checksumsha256, ptr %1475, i64 %1476
  %1478 = getelementptr inbounds %struct.checksumsha256, ptr %1477, i32 0, i32 1
  %1479 = getelementptr inbounds [32 x i8], ptr %1478, i64 0, i64 0
  %1480 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1481 = call i32 @memcmp(ptr noundef %1479, ptr noundef %1480, i64 noundef 32) #18
  %1482 = icmp ne i32 %1481, 0
  br i1 %1482, label %1483, label %1486

1483:                                             ; preds = %1474, %1465
  %1484 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1485 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1484, ptr noundef @.str.183, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1486:                                             ; preds = %1474
  br label %1487

1487:                                             ; preds = %1486, %1439
  %1488 = load i64, ptr %27, align 8, !tbaa !11
  %1489 = urem i64 %1488, 32
  %1490 = icmp eq i64 %1489, 0
  br i1 %1490, label %1491, label %1497

1491:                                             ; preds = %1487
  %1492 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %1493 unwind label %1165

1493:                                             ; preds = %1491
  %1494 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1495 = invoke i32 @fflush(ptr noundef %1494)
          to label %1496 unwind label %1165

1496:                                             ; preds = %1493
  br label %1497

1497:                                             ; preds = %1496, %1487
  br label %1498

1498:                                             ; preds = %1497
  %1499 = load i64, ptr %27, align 8, !tbaa !11
  %1500 = add i64 %1499, 1
  store i64 %1500, ptr %27, align 8, !tbaa !11
  br label %1393, !llvm.loop !35

1501:                                             ; preds = %1393
  %1502 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.185)
          to label %1503 unwind label %1165

1503:                                             ; preds = %1501
  %1504 = load ptr, ptr %24, align 8, !tbaa !9
  %1505 = invoke i32 @fclose(ptr noundef %1504)
          to label %1506 unwind label %1165

1506:                                             ; preds = %1503
  store i32 1, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  store i32 1, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  br label %1508

1507:                                             ; preds = %1384
  store i32 0, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  br label %1508

1508:                                             ; preds = %1507, %1506
  br label %1509

1509:                                             ; preds = %1508, %1379
  %1510 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1511 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.188, i64 noundef %1510) #14
  %1512 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1513 unwind label %1165

1513:                                             ; preds = %1509
  store ptr %1512, ptr %25, align 8, !tbaa !9
  %1514 = load ptr, ptr %25, align 8, !tbaa !9
  %1515 = icmp ne ptr %1514, null
  br i1 %1515, label %1516, label %1665

1516:                                             ; preds = %1513
  %1517 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.181, ptr noundef @buffer_bloom_file)
          to label %1518 unwind label %1165

1518:                                             ; preds = %1516
  %1519 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1520 = invoke i32 @fflush(ptr noundef %1519)
          to label %1521 unwind label %1165

1521:                                             ; preds = %1518
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %1522

1522:                                             ; preds = %1630, %1521
  %1523 = load i64, ptr %27, align 8, !tbaa !11
  %1524 = icmp ult i64 %1523, 256
  br i1 %1524, label %1525, label %1633

1525:                                             ; preds = %1522
  %1526 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1527 = load i64, ptr %27, align 8, !tbaa !11
  %1528 = getelementptr inbounds %struct.bloom, ptr %1526, i64 %1527
  %1529 = getelementptr inbounds %struct.bloom, ptr %1528, i32 0, i32 9
  %1530 = load ptr, ptr %1529, align 16, !tbaa !33
  store ptr %1530, ptr %21, align 8, !tbaa !9
  %1531 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1532 = load i64, ptr %27, align 8, !tbaa !11
  %1533 = getelementptr inbounds %struct.bloom, ptr %1531, i64 %1532
  %1534 = load ptr, ptr %25, align 8, !tbaa !9
  %1535 = invoke i64 @fread(ptr noundef %1533, i64 noundef 80, i64 noundef 1, ptr noundef %1534)
          to label %1536 unwind label %1165

1536:                                             ; preds = %1525
  %1537 = trunc i64 %1535 to i32
  store i32 %1537, ptr %34, align 4, !tbaa !5
  %1538 = load i32, ptr %34, align 4, !tbaa !5
  %1539 = icmp ne i32 %1538, 1
  br i1 %1539, label %1540, label %1543

1540:                                             ; preds = %1536
  %1541 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1542 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1541, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1543:                                             ; preds = %1536
  %1544 = load ptr, ptr %21, align 8, !tbaa !9
  %1545 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1546 = load i64, ptr %27, align 8, !tbaa !11
  %1547 = getelementptr inbounds %struct.bloom, ptr %1545, i64 %1546
  %1548 = getelementptr inbounds %struct.bloom, ptr %1547, i32 0, i32 9
  store ptr %1544, ptr %1548, align 16, !tbaa !33
  %1549 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1550 = load i64, ptr %27, align 8, !tbaa !11
  %1551 = getelementptr inbounds %struct.bloom, ptr %1549, i64 %1550
  %1552 = getelementptr inbounds %struct.bloom, ptr %1551, i32 0, i32 9
  %1553 = load ptr, ptr %1552, align 16, !tbaa !33
  %1554 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1555 = load i64, ptr %27, align 8, !tbaa !11
  %1556 = getelementptr inbounds %struct.bloom, ptr %1554, i64 %1555
  %1557 = getelementptr inbounds %struct.bloom, ptr %1556, i32 0, i32 2
  %1558 = load i64, ptr %1557, align 16, !tbaa !22
  %1559 = load ptr, ptr %25, align 8, !tbaa !9
  %1560 = invoke i64 @fread(ptr noundef %1553, i64 noundef %1558, i64 noundef 1, ptr noundef %1559)
          to label %1561 unwind label %1165

1561:                                             ; preds = %1543
  %1562 = trunc i64 %1560 to i32
  store i32 %1562, ptr %34, align 4, !tbaa !5
  %1563 = load i32, ptr %34, align 4, !tbaa !5
  %1564 = icmp ne i32 %1563, 1
  br i1 %1564, label %1565, label %1568

1565:                                             ; preds = %1561
  %1566 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1567 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1566, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1568:                                             ; preds = %1561
  %1569 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %1570 = load i64, ptr %27, align 8, !tbaa !11
  %1571 = getelementptr inbounds %struct.checksumsha256, ptr %1569, i64 %1570
  %1572 = load ptr, ptr %25, align 8, !tbaa !9
  %1573 = invoke i64 @fread(ptr noundef %1571, i64 noundef 64, i64 noundef 1, ptr noundef %1572)
          to label %1574 unwind label %1165

1574:                                             ; preds = %1568
  %1575 = trunc i64 %1573 to i32
  store i32 %1575, ptr %34, align 4, !tbaa !5
  %1576 = load i32, ptr %34, align 4, !tbaa !5
  %1577 = icmp ne i32 %1576, 1
  br i1 %1577, label %1578, label %1581

1578:                                             ; preds = %1574
  %1579 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1580 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1579, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1581:                                             ; preds = %1574
  %1582 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %1582, i8 0, i64 32, i1 false)
  %1583 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %1584 = icmp eq i32 %1583, 0
  br i1 %1584, label %1585, label %1619

1585:                                             ; preds = %1581
  %1586 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1587 = load i64, ptr %27, align 8, !tbaa !11
  %1588 = getelementptr inbounds %struct.bloom, ptr %1586, i64 %1587
  %1589 = getelementptr inbounds %struct.bloom, ptr %1588, i32 0, i32 9
  %1590 = load ptr, ptr %1589, align 16, !tbaa !33
  %1591 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %1592 = load i64, ptr %27, align 8, !tbaa !11
  %1593 = getelementptr inbounds %struct.bloom, ptr %1591, i64 %1592
  %1594 = getelementptr inbounds %struct.bloom, ptr %1593, i32 0, i32 2
  %1595 = load i64, ptr %1594, align 16, !tbaa !22
  %1596 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1590, i64 noundef %1595, ptr noundef %1596)
          to label %1597 unwind label %1165

1597:                                             ; preds = %1585
  %1598 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %1599 = load i64, ptr %27, align 8, !tbaa !11
  %1600 = getelementptr inbounds %struct.checksumsha256, ptr %1598, i64 %1599
  %1601 = getelementptr inbounds %struct.checksumsha256, ptr %1600, i32 0, i32 0
  %1602 = getelementptr inbounds [32 x i8], ptr %1601, i64 0, i64 0
  %1603 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1604 = call i32 @memcmp(ptr noundef %1602, ptr noundef %1603, i64 noundef 32) #18
  %1605 = icmp ne i32 %1604, 0
  br i1 %1605, label %1615, label %1606

1606:                                             ; preds = %1597
  %1607 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %1608 = load i64, ptr %27, align 8, !tbaa !11
  %1609 = getelementptr inbounds %struct.checksumsha256, ptr %1607, i64 %1608
  %1610 = getelementptr inbounds %struct.checksumsha256, ptr %1609, i32 0, i32 1
  %1611 = getelementptr inbounds [32 x i8], ptr %1610, i64 0, i64 0
  %1612 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1613 = call i32 @memcmp(ptr noundef %1611, ptr noundef %1612, i64 noundef 32) #18
  %1614 = icmp ne i32 %1613, 0
  br i1 %1614, label %1615, label %1618

1615:                                             ; preds = %1606, %1597
  %1616 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1617 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1616, ptr noundef @.str.183, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1618:                                             ; preds = %1606
  br label %1619

1619:                                             ; preds = %1618, %1581
  %1620 = load i64, ptr %27, align 8, !tbaa !11
  %1621 = urem i64 %1620, 64
  %1622 = icmp eq i64 %1621, 0
  br i1 %1622, label %1623, label %1629

1623:                                             ; preds = %1619
  %1624 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %1625 unwind label %1165

1625:                                             ; preds = %1623
  %1626 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1627 = invoke i32 @fflush(ptr noundef %1626)
          to label %1628 unwind label %1165

1628:                                             ; preds = %1625
  br label %1629

1629:                                             ; preds = %1628, %1619
  br label %1630

1630:                                             ; preds = %1629
  %1631 = load i64, ptr %27, align 8, !tbaa !11
  %1632 = add i64 %1631, 1
  store i64 %1632, ptr %27, align 8, !tbaa !11
  br label %1522, !llvm.loop !36

1633:                                             ; preds = %1522
  %1634 = load ptr, ptr %25, align 8, !tbaa !9
  %1635 = invoke i32 @fclose(ptr noundef %1634)
          to label %1636 unwind label %1165

1636:                                             ; preds = %1633
  %1637 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.185)
          to label %1638 unwind label %1165

1638:                                             ; preds = %1636
  call void @llvm.memset.p0.i64(ptr align 16 @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %1639 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1640 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.189, i64 noundef %1639) #14
  %1641 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1642 unwind label %1165

1642:                                             ; preds = %1638
  store ptr %1641, ptr %25, align 8, !tbaa !9
  %1643 = load ptr, ptr %25, align 8, !tbaa !9
  %1644 = icmp ne ptr %1643, null
  br i1 %1644, label %1645, label %1651

1645:                                             ; preds = %1642
  %1646 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.187, ptr noundef @buffer_bloom_file)
          to label %1647 unwind label %1165

1647:                                             ; preds = %1645
  %1648 = load ptr, ptr %25, align 8, !tbaa !9
  %1649 = invoke i32 @fclose(ptr noundef %1648)
          to label %1650 unwind label %1165

1650:                                             ; preds = %1647
  br label %1651

1651:                                             ; preds = %1650, %1642
  call void @llvm.memset.p0.i64(ptr align 16 @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %1652 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1653 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.190, i64 noundef %1652) #14
  %1654 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1655 unwind label %1165

1655:                                             ; preds = %1651
  store ptr %1654, ptr %25, align 8, !tbaa !9
  %1656 = load ptr, ptr %25, align 8, !tbaa !9
  %1657 = icmp ne ptr %1656, null
  br i1 %1657, label %1658, label %1664

1658:                                             ; preds = %1655
  %1659 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.187, ptr noundef @buffer_bloom_file)
          to label %1660 unwind label %1165

1660:                                             ; preds = %1658
  %1661 = load ptr, ptr %25, align 8, !tbaa !9
  %1662 = invoke i32 @fclose(ptr noundef %1661)
          to label %1663 unwind label %1165

1663:                                             ; preds = %1660
  br label %1664

1664:                                             ; preds = %1663, %1655
  store i32 1, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  br label %1666

1665:                                             ; preds = %1513
  store i32 0, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  br label %1666

1666:                                             ; preds = %1665, %1664
  %1667 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1668 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.191, i64 noundef %1667) #14
  %1669 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1670 unwind label %1165

1670:                                             ; preds = %1666
  store ptr %1669, ptr %26, align 8, !tbaa !9
  %1671 = load ptr, ptr %26, align 8, !tbaa !9
  %1672 = icmp ne ptr %1671, null
  br i1 %1672, label %1673, label %1717

1673:                                             ; preds = %1670
  %1674 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.192, ptr noundef @buffer_bloom_file)
          to label %1675 unwind label %1165

1675:                                             ; preds = %1673
  %1676 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1677 = invoke i32 @fflush(ptr noundef %1676)
          to label %1678 unwind label %1165

1678:                                             ; preds = %1675
  %1679 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %1680 = load i64, ptr @bytes, align 8, !tbaa !11
  %1681 = load ptr, ptr %26, align 8, !tbaa !9
  %1682 = invoke i64 @fread(ptr noundef %1679, i64 noundef %1680, i64 noundef 1, ptr noundef %1681)
          to label %1683 unwind label %1165

1683:                                             ; preds = %1678
  store i64 %1682, ptr %51, align 8, !tbaa !11
  %1684 = load i64, ptr %51, align 8, !tbaa !11
  %1685 = icmp ne i64 %1684, 1
  br i1 %1685, label %1686, label %1689

1686:                                             ; preds = %1683
  %1687 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1688 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1687, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1689:                                             ; preds = %1683
  %1690 = load ptr, ptr %26, align 8, !tbaa !9
  %1691 = invoke i64 @fread(ptr noundef @checksum, i64 noundef 32, i64 noundef 1, ptr noundef %1690)
          to label %1692 unwind label %1165

1692:                                             ; preds = %1689
  store i64 %1691, ptr %51, align 8, !tbaa !11
  %1693 = load i64, ptr %51, align 8, !tbaa !11
  %1694 = icmp ne i64 %1693, 1
  br i1 %1694, label %1695, label %1698

1695:                                             ; preds = %1692
  %1696 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1697 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1696, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1698:                                             ; preds = %1692
  %1699 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %1700 = icmp eq i32 %1699, 0
  br i1 %1700, label %1701, label %1711

1701:                                             ; preds = %1698
  %1702 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %1703 = load i64, ptr @bytes, align 8, !tbaa !11
  invoke void @_Z6sha256PhmS_(ptr noundef %1702, i64 noundef %1703, ptr noundef @checksum_backup)
          to label %1704 unwind label %1165

1704:                                             ; preds = %1701
  %1705 = call i32 @memcmp(ptr noundef @checksum, ptr noundef @checksum_backup, i64 noundef 32) #18
  %1706 = icmp ne i32 %1705, 0
  br i1 %1706, label %1707, label %1710

1707:                                             ; preds = %1704
  %1708 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1709 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1708, ptr noundef @.str.183, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1710:                                             ; preds = %1704
  br label %1711

1711:                                             ; preds = %1710, %1698
  %1712 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.193)
          to label %1713 unwind label %1165

1713:                                             ; preds = %1711
  %1714 = load ptr, ptr %26, align 8, !tbaa !9
  %1715 = invoke i32 @fclose(ptr noundef %1714)
          to label %1716 unwind label %1165

1716:                                             ; preds = %1713
  store i32 1, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  br label %1718

1717:                                             ; preds = %1670
  store i32 0, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  br label %1718

1718:                                             ; preds = %1717, %1716
  %1719 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %1720 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.194, i64 noundef %1719) #14
  %1721 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.149)
          to label %1722 unwind label %1165

1722:                                             ; preds = %1718
  store ptr %1721, ptr %25, align 8, !tbaa !9
  %1723 = load ptr, ptr %25, align 8, !tbaa !9
  %1724 = icmp ne ptr %1723, null
  br i1 %1724, label %1725, label %1848

1725:                                             ; preds = %1722
  %1726 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.181, ptr noundef @buffer_bloom_file)
          to label %1727 unwind label %1165

1727:                                             ; preds = %1725
  %1728 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1729 = invoke i32 @fflush(ptr noundef %1728)
          to label %1730 unwind label %1165

1730:                                             ; preds = %1727
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %1731

1731:                                             ; preds = %1839, %1730
  %1732 = load i64, ptr %27, align 8, !tbaa !11
  %1733 = icmp ult i64 %1732, 256
  br i1 %1733, label %1734, label %1842

1734:                                             ; preds = %1731
  %1735 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1736 = load i64, ptr %27, align 8, !tbaa !11
  %1737 = getelementptr inbounds %struct.bloom, ptr %1735, i64 %1736
  %1738 = getelementptr inbounds %struct.bloom, ptr %1737, i32 0, i32 9
  %1739 = load ptr, ptr %1738, align 16, !tbaa !33
  store ptr %1739, ptr %21, align 8, !tbaa !9
  %1740 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1741 = load i64, ptr %27, align 8, !tbaa !11
  %1742 = getelementptr inbounds %struct.bloom, ptr %1740, i64 %1741
  %1743 = load ptr, ptr %25, align 8, !tbaa !9
  %1744 = invoke i64 @fread(ptr noundef %1742, i64 noundef 80, i64 noundef 1, ptr noundef %1743)
          to label %1745 unwind label %1165

1745:                                             ; preds = %1734
  %1746 = trunc i64 %1744 to i32
  store i32 %1746, ptr %34, align 4, !tbaa !5
  %1747 = load i32, ptr %34, align 4, !tbaa !5
  %1748 = icmp ne i32 %1747, 1
  br i1 %1748, label %1749, label %1752

1749:                                             ; preds = %1745
  %1750 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1751 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1750, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1752:                                             ; preds = %1745
  %1753 = load ptr, ptr %21, align 8, !tbaa !9
  %1754 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1755 = load i64, ptr %27, align 8, !tbaa !11
  %1756 = getelementptr inbounds %struct.bloom, ptr %1754, i64 %1755
  %1757 = getelementptr inbounds %struct.bloom, ptr %1756, i32 0, i32 9
  store ptr %1753, ptr %1757, align 16, !tbaa !33
  %1758 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1759 = load i64, ptr %27, align 8, !tbaa !11
  %1760 = getelementptr inbounds %struct.bloom, ptr %1758, i64 %1759
  %1761 = getelementptr inbounds %struct.bloom, ptr %1760, i32 0, i32 9
  %1762 = load ptr, ptr %1761, align 16, !tbaa !33
  %1763 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1764 = load i64, ptr %27, align 8, !tbaa !11
  %1765 = getelementptr inbounds %struct.bloom, ptr %1763, i64 %1764
  %1766 = getelementptr inbounds %struct.bloom, ptr %1765, i32 0, i32 2
  %1767 = load i64, ptr %1766, align 16, !tbaa !22
  %1768 = load ptr, ptr %25, align 8, !tbaa !9
  %1769 = invoke i64 @fread(ptr noundef %1762, i64 noundef %1767, i64 noundef 1, ptr noundef %1768)
          to label %1770 unwind label %1165

1770:                                             ; preds = %1752
  %1771 = trunc i64 %1769 to i32
  store i32 %1771, ptr %34, align 4, !tbaa !5
  %1772 = load i32, ptr %34, align 4, !tbaa !5
  %1773 = icmp ne i32 %1772, 1
  br i1 %1773, label %1774, label %1777

1774:                                             ; preds = %1770
  %1775 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1776 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1775, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1777:                                             ; preds = %1770
  %1778 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1779 = load i64, ptr %27, align 8, !tbaa !11
  %1780 = getelementptr inbounds %struct.checksumsha256, ptr %1778, i64 %1779
  %1781 = load ptr, ptr %25, align 8, !tbaa !9
  %1782 = invoke i64 @fread(ptr noundef %1780, i64 noundef 64, i64 noundef 1, ptr noundef %1781)
          to label %1783 unwind label %1165

1783:                                             ; preds = %1777
  %1784 = trunc i64 %1782 to i32
  store i32 %1784, ptr %34, align 4, !tbaa !5
  %1785 = load i32, ptr %34, align 4, !tbaa !5
  %1786 = icmp ne i32 %1785, 1
  br i1 %1786, label %1787, label %1790

1787:                                             ; preds = %1783
  %1788 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1789 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1788, ptr noundef @.str.182, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1790:                                             ; preds = %1783
  %1791 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %1791, i8 0, i64 32, i1 false)
  %1792 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !5
  %1793 = icmp eq i32 %1792, 0
  br i1 %1793, label %1794, label %1828

1794:                                             ; preds = %1790
  %1795 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1796 = load i64, ptr %27, align 8, !tbaa !11
  %1797 = getelementptr inbounds %struct.bloom, ptr %1795, i64 %1796
  %1798 = getelementptr inbounds %struct.bloom, ptr %1797, i32 0, i32 9
  %1799 = load ptr, ptr %1798, align 16, !tbaa !33
  %1800 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %1801 = load i64, ptr %27, align 8, !tbaa !11
  %1802 = getelementptr inbounds %struct.bloom, ptr %1800, i64 %1801
  %1803 = getelementptr inbounds %struct.bloom, ptr %1802, i32 0, i32 2
  %1804 = load i64, ptr %1803, align 16, !tbaa !22
  %1805 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %1799, i64 noundef %1804, ptr noundef %1805)
          to label %1806 unwind label %1165

1806:                                             ; preds = %1794
  %1807 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1808 = load i64, ptr %27, align 8, !tbaa !11
  %1809 = getelementptr inbounds %struct.checksumsha256, ptr %1807, i64 %1808
  %1810 = getelementptr inbounds %struct.checksumsha256, ptr %1809, i32 0, i32 0
  %1811 = getelementptr inbounds [32 x i8], ptr %1810, i64 0, i64 0
  %1812 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1813 = call i32 @memcmp(ptr noundef %1811, ptr noundef %1812, i64 noundef 32) #18
  %1814 = icmp ne i32 %1813, 0
  br i1 %1814, label %1824, label %1815

1815:                                             ; preds = %1806
  %1816 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %1817 = load i64, ptr %27, align 8, !tbaa !11
  %1818 = getelementptr inbounds %struct.checksumsha256, ptr %1816, i64 %1817
  %1819 = getelementptr inbounds %struct.checksumsha256, ptr %1818, i32 0, i32 1
  %1820 = getelementptr inbounds [32 x i8], ptr %1819, i64 0, i64 0
  %1821 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
  %1822 = call i32 @memcmp(ptr noundef %1820, ptr noundef %1821, i64 noundef 32) #18
  %1823 = icmp ne i32 %1822, 0
  br i1 %1823, label %1824, label %1827

1824:                                             ; preds = %1815, %1806
  %1825 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1826 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1825, ptr noundef @.str.183, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

1827:                                             ; preds = %1815
  br label %1828

1828:                                             ; preds = %1827, %1790
  %1829 = load i64, ptr %27, align 8, !tbaa !11
  %1830 = urem i64 %1829, 64
  %1831 = icmp eq i64 %1830, 0
  br i1 %1831, label %1832, label %1838

1832:                                             ; preds = %1828
  %1833 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %1834 unwind label %1165

1834:                                             ; preds = %1832
  %1835 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1836 = invoke i32 @fflush(ptr noundef %1835)
          to label %1837 unwind label %1165

1837:                                             ; preds = %1834
  br label %1838

1838:                                             ; preds = %1837, %1828
  br label %1839

1839:                                             ; preds = %1838
  %1840 = load i64, ptr %27, align 8, !tbaa !11
  %1841 = add i64 %1840, 1
  store i64 %1841, ptr %27, align 8, !tbaa !11
  br label %1731, !llvm.loop !37

1842:                                             ; preds = %1731
  %1843 = load ptr, ptr %25, align 8, !tbaa !9
  %1844 = invoke i32 @fclose(ptr noundef %1843)
          to label %1845 unwind label %1165

1845:                                             ; preds = %1842
  %1846 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.185)
          to label %1847 unwind label %1165

1847:                                             ; preds = %1845
  store i32 1, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  br label %1849

1848:                                             ; preds = %1722
  store i32 0, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  br label %1849

1849:                                             ; preds = %1848, %1847
  br label %1850

1850:                                             ; preds = %1849, %1233
  %1851 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1852 = icmp ne i32 %1851, 0
  br i1 %1852, label %1853, label %1862

1853:                                             ; preds = %1850
  %1854 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %1855 = icmp ne i32 %1854, 0
  br i1 %1855, label %1856, label %1862

1856:                                             ; preds = %1853
  %1857 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  %1858 = icmp ne i32 %1857, 0
  br i1 %1858, label %1859, label %1862

1859:                                             ; preds = %1856
  %1860 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %1861 = icmp ne i32 %1860, 0
  br i1 %1861, label %2400, label %1862

1862:                                             ; preds = %1859, %1856, %1853, %1850
  %1863 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %1864 = icmp eq i32 %1863, 1
  br i1 %1864, label %1865, label %2132

1865:                                             ; preds = %1862
  %1866 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.195)
          to label %1867 unwind label %1165

1867:                                             ; preds = %1865
  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 %38, align 4, !tbaa !5
  store i64 0, ptr %28, align 8, !tbaa !11
  store i64 0, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1868 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1869 = zext i32 %1868 to i64
  %1870 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1871 = icmp uge i64 %1869, %1870
  br i1 %1871, label %1872, label %1875

1872:                                             ; preds = %1867
  %1873 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1874 = trunc i64 %1873 to i32
  store i32 %1874, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  br label %1875

1875:                                             ; preds = %1872, %1867
  %1876 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1877 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1878 = zext i32 %1877 to i64
  %1879 = udiv i64 %1876, %1878
  store i64 %1879, ptr @THREADCYCLES, align 8, !tbaa !11
  %1880 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %1881 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1882 = zext i32 %1881 to i64
  %1883 = urem i64 %1880, %1882
  store i64 %1883, ptr %29, align 8, !tbaa !11
  %1884 = load i64, ptr %29, align 8, !tbaa !11
  %1885 = icmp ne i64 %1884, 0
  br i1 %1885, label %1886, label %1889

1886:                                             ; preds = %1875
  %1887 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1888 = add i64 %1887, 1
  store i64 %1888, ptr @THREADCYCLES, align 8, !tbaa !11
  br label %1889

1889:                                             ; preds = %1886, %1875
  %1890 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1891 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1892 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %1893 = uitofp i64 %1892 to double
  %1894 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %1895 = uitofp i64 %1894 to double
  %1896 = fdiv double %1893, %1895
  %1897 = fmul double %1896, 1.000000e+02
  %1898 = fptosi double %1897 to i32
  %1899 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.196, i64 noundef %1890, i64 noundef %1891, i32 noundef %1898)
          to label %1900 unwind label %1165

1900:                                             ; preds = %1889
  %1901 = load ptr, ptr @stdout, align 8, !tbaa !9
  %1902 = invoke i32 @fflush(ptr noundef %1901)
          to label %1903 unwind label %1165

1903:                                             ; preds = %1900
  %1904 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1905 = sext i32 %1904 to i64
  %1906 = call noalias ptr @calloc(i64 noundef %1905, i64 noundef 8) #20
  store ptr %1906, ptr @tid, align 8, !tbaa !9
  %1907 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1908 = sext i32 %1907 to i64
  %1909 = call noalias ptr @calloc(i64 noundef %1908, i64 noundef 40) #20
  store ptr %1909, ptr @bPload_mutex, align 8, !tbaa !9
  %1910 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1910, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.197, i32 noundef 1649)
          to label %1911 unwind label %1165

1911:                                             ; preds = %1903
  %1912 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1913 = sext i32 %1912 to i64
  %1914 = call noalias ptr @calloc(i64 noundef %1913, i64 noundef 48) #20
  store ptr %1914, ptr %50, align 8, !tbaa !9
  %1915 = load ptr, ptr %50, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1915, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.198, i32 noundef 1651)
          to label %1916 unwind label %1165

1916:                                             ; preds = %1911
  %1917 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1918 = sext i32 %1917 to i64
  %1919 = call noalias ptr @calloc(i64 noundef %1918, i64 noundef 1) #20
  store ptr %1919, ptr %22, align 8, !tbaa !9
  %1920 = load ptr, ptr %22, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1920, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.199, i32 noundef 1653)
          to label %1921 unwind label %1165

1921:                                             ; preds = %1916
  %1922 = load ptr, ptr %22, align 8, !tbaa !9
  %1923 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1924 = sext i32 %1923 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %1922, i8 1, i64 %1924, i1 false)
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %1925

1925:                                             ; preds = %1935, %1921
  %1926 = load i32, ptr %40, align 4, !tbaa !5
  %1927 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1928 = icmp slt i32 %1926, %1927
  br i1 %1928, label %1929, label %1938

1929:                                             ; preds = %1925
  %1930 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %1931 = load i32, ptr %40, align 4, !tbaa !5
  %1932 = sext i32 %1931 to i64
  %1933 = getelementptr inbounds %union.pthread_mutex_t, ptr %1930, i64 %1932
  %1934 = call i32 @pthread_mutex_init(ptr noundef %1933, ptr noundef null) #14
  br label %1935

1935:                                             ; preds = %1929
  %1936 = load i32, ptr %40, align 4, !tbaa !5
  %1937 = add nsw i32 %1936, 1
  store i32 %1937, ptr %40, align 4, !tbaa !5
  br label %1925, !llvm.loop !38

1938:                                             ; preds = %1925
  br label %1939

1939:                                             ; preds = %2119, %1938
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %1940

1940:                                             ; preds = %2047, %1939
  %1941 = load i32, ptr %40, align 4, !tbaa !5
  %1942 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %1943 = icmp slt i32 %1941, %1942
  br i1 %1943, label %1944, label %1948

1944:                                             ; preds = %1940
  %1945 = load i32, ptr %38, align 4, !tbaa !5
  %1946 = icmp ne i32 %1945, 0
  %1947 = xor i1 %1946, true
  br label %1948

1948:                                             ; preds = %1944, %1940
  %1949 = phi i1 [ false, %1940 ], [ %1947, %1944 ]
  br i1 %1949, label %1950, label %2050

1950:                                             ; preds = %1948
  %1951 = load ptr, ptr %22, align 8, !tbaa !9
  %1952 = load i32, ptr %40, align 4, !tbaa !5
  %1953 = sext i32 %1952 to i64
  %1954 = getelementptr inbounds i8, ptr %1951, i64 %1953
  %1955 = load i8, ptr %1954, align 1, !tbaa !13
  %1956 = icmp ne i8 %1955, 0
  br i1 %1956, label %1957, label %2046

1957:                                             ; preds = %1950
  %1958 = load i32, ptr %38, align 4, !tbaa !5
  %1959 = icmp ne i32 %1958, 0
  br i1 %1959, label %2046, label %1960

1960:                                             ; preds = %1957
  %1961 = load ptr, ptr %22, align 8, !tbaa !9
  %1962 = load i32, ptr %40, align 4, !tbaa !5
  %1963 = sext i32 %1962 to i64
  %1964 = getelementptr inbounds i8, ptr %1961, i64 %1963
  store i8 0, ptr %1964, align 1, !tbaa !13
  %1965 = load i64, ptr %28, align 8, !tbaa !11
  %1966 = load ptr, ptr %50, align 8, !tbaa !9
  %1967 = load i32, ptr %40, align 4, !tbaa !5
  %1968 = sext i32 %1967 to i64
  %1969 = getelementptr inbounds %struct.bPload, ptr %1966, i64 %1968
  %1970 = getelementptr inbounds %struct.bPload, ptr %1969, i32 0, i32 1
  store i64 %1965, ptr %1970, align 8, !tbaa !39
  %1971 = load i32, ptr %40, align 4, !tbaa !5
  %1972 = load ptr, ptr %50, align 8, !tbaa !9
  %1973 = load i32, ptr %40, align 4, !tbaa !5
  %1974 = sext i32 %1973 to i64
  %1975 = getelementptr inbounds %struct.bPload, ptr %1972, i64 %1974
  %1976 = getelementptr inbounds %struct.bPload, ptr %1975, i32 0, i32 0
  store i32 %1971, ptr %1976, align 8, !tbaa !41
  %1977 = load ptr, ptr %50, align 8, !tbaa !9
  %1978 = load i32, ptr %40, align 4, !tbaa !5
  %1979 = sext i32 %1978 to i64
  %1980 = getelementptr inbounds %struct.bPload, ptr %1977, i64 %1979
  %1981 = getelementptr inbounds %struct.bPload, ptr %1980, i32 0, i32 6
  store i32 0, ptr %1981, align 4, !tbaa !42
  %1982 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %1983 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %1984 = sub i64 %1983, 1
  %1985 = icmp ult i64 %1982, %1984
  br i1 %1985, label %1986, label %2003

1986:                                             ; preds = %1960
  %1987 = load i64, ptr %28, align 8, !tbaa !11
  %1988 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1989 = zext i32 %1988 to i64
  %1990 = add i64 %1987, %1989
  %1991 = load ptr, ptr %50, align 8, !tbaa !9
  %1992 = load i32, ptr %40, align 4, !tbaa !5
  %1993 = sext i32 %1992 to i64
  %1994 = getelementptr inbounds %struct.bPload, ptr %1991, i64 %1993
  %1995 = getelementptr inbounds %struct.bPload, ptr %1994, i32 0, i32 2
  store i64 %1990, ptr %1995, align 8, !tbaa !43
  %1996 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %1997 = zext i32 %1996 to i64
  %1998 = load ptr, ptr %50, align 8, !tbaa !9
  %1999 = load i32, ptr %40, align 4, !tbaa !5
  %2000 = sext i32 %1999 to i64
  %2001 = getelementptr inbounds %struct.bPload, ptr %1998, i64 %2000
  %2002 = getelementptr inbounds %struct.bPload, ptr %2001, i32 0, i32 4
  store i64 %1997, ptr %2002, align 8, !tbaa !44
  br label %2024

2003:                                             ; preds = %1960
  %2004 = load i64, ptr %28, align 8, !tbaa !11
  %2005 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2006 = zext i32 %2005 to i64
  %2007 = add i64 %2004, %2006
  %2008 = load i64, ptr %29, align 8, !tbaa !11
  %2009 = add i64 %2007, %2008
  %2010 = load ptr, ptr %50, align 8, !tbaa !9
  %2011 = load i32, ptr %40, align 4, !tbaa !5
  %2012 = sext i32 %2011 to i64
  %2013 = getelementptr inbounds %struct.bPload, ptr %2010, i64 %2012
  %2014 = getelementptr inbounds %struct.bPload, ptr %2013, i32 0, i32 2
  store i64 %2009, ptr %2014, align 8, !tbaa !43
  %2015 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2016 = zext i32 %2015 to i64
  %2017 = load i64, ptr %29, align 8, !tbaa !11
  %2018 = add i64 %2016, %2017
  %2019 = load ptr, ptr %50, align 8, !tbaa !9
  %2020 = load i32, ptr %40, align 4, !tbaa !5
  %2021 = sext i32 %2020 to i64
  %2022 = getelementptr inbounds %struct.bPload, ptr %2019, i64 %2021
  %2023 = getelementptr inbounds %struct.bPload, ptr %2022, i32 0, i32 4
  store i64 %2018, ptr %2023, align 8, !tbaa !44
  store i32 1, ptr %38, align 4, !tbaa !5
  br label %2024

2024:                                             ; preds = %2003, %1986
  %2025 = load ptr, ptr @tid, align 8, !tbaa !9
  %2026 = load i32, ptr %40, align 4, !tbaa !5
  %2027 = sext i32 %2026 to i64
  %2028 = getelementptr inbounds i64, ptr %2025, i64 %2027
  %2029 = load ptr, ptr %50, align 8, !tbaa !9
  %2030 = load i32, ptr %40, align 4, !tbaa !5
  %2031 = sext i32 %2030 to i64
  %2032 = getelementptr inbounds %struct.bPload, ptr %2029, i64 %2031
  %2033 = call i32 @pthread_create(ptr noundef %2028, ptr noundef null, ptr noundef @_Z21thread_bPload_2bloomsPv, ptr noundef %2032) #14
  store i32 %2033, ptr %52, align 4, !tbaa !5
  %2034 = load ptr, ptr @tid, align 8, !tbaa !9
  %2035 = load i32, ptr %40, align 4, !tbaa !5
  %2036 = sext i32 %2035 to i64
  %2037 = getelementptr inbounds i64, ptr %2034, i64 %2036
  %2038 = load i64, ptr %2037, align 8, !tbaa !11
  %2039 = call i32 @pthread_detach(i64 noundef %2038) #14
  %2040 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2041 = zext i32 %2040 to i64
  %2042 = load i64, ptr %28, align 8, !tbaa !11
  %2043 = add i64 %2042, %2041
  store i64 %2043, ptr %28, align 8, !tbaa !11
  %2044 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %2045 = add i64 %2044, 1
  store i64 %2045, ptr @THREADCOUNTER, align 8, !tbaa !11
  br label %2046

2046:                                             ; preds = %2024, %1957, %1950
  br label %2047

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

2050:                                             ; preds = %1948
  %2051 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  %2052 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2053 = icmp ne i64 %2051, %2052
  br i1 %2053, label %2054, label %2070

2054:                                             ; preds = %2050
  %2055 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2056 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %2057 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2058 = uitofp i64 %2057 to double
  %2059 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %2060 = uitofp i64 %2059 to double
  %2061 = fdiv double %2058, %2060
  %2062 = fmul double %2061, 1.000000e+02
  %2063 = fptosi double %2062 to i32
  %2064 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.196, i64 noundef %2055, i64 noundef %2056, i32 noundef %2063)
          to label %2065 unwind label %1165

2065:                                             ; preds = %2054
  %2066 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2067 = invoke i32 @fflush(ptr noundef %2066)
          to label %2068 unwind label %1165

2068:                                             ; preds = %2065
  %2069 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  store i64 %2069, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  br label %2070

2070:                                             ; preds = %2068, %2050
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %2071

2071:                                             ; preds = %2115, %2070
  %2072 = load i32, ptr %40, align 4, !tbaa !5
  %2073 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2074 = icmp slt i32 %2072, %2073
  br i1 %2074, label %2075, label %2118

2075:                                             ; preds = %2071
  %2076 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %2077 = load i32, ptr %40, align 4, !tbaa !5
  %2078 = sext i32 %2077 to i64
  %2079 = getelementptr inbounds %union.pthread_mutex_t, ptr %2076, i64 %2078
  %2080 = call i32 @pthread_mutex_lock(ptr noundef %2079) #14
  %2081 = load ptr, ptr %50, align 8, !tbaa !9
  %2082 = load i32, ptr %40, align 4, !tbaa !5
  %2083 = sext i32 %2082 to i64
  %2084 = getelementptr inbounds %struct.bPload, ptr %2081, i64 %2083
  %2085 = getelementptr inbounds %struct.bPload, ptr %2084, i32 0, i32 6
  %2086 = load i32, ptr %2085, align 4, !tbaa !42
  store i32 %2086, ptr %33, align 4, !tbaa !5
  %2087 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %2088 = load i32, ptr %40, align 4, !tbaa !5
  %2089 = sext i32 %2088 to i64
  %2090 = getelementptr inbounds %union.pthread_mutex_t, ptr %2087, i64 %2089
  %2091 = call i32 @pthread_mutex_unlock(ptr noundef %2090) #14
  %2092 = load i32, ptr %33, align 4, !tbaa !5
  %2093 = icmp ne i32 %2092, 0
  br i1 %2093, label %2094, label %2114

2094:                                             ; preds = %2075
  %2095 = load ptr, ptr %50, align 8, !tbaa !9
  %2096 = load i32, ptr %40, align 4, !tbaa !5
  %2097 = sext i32 %2096 to i64
  %2098 = getelementptr inbounds %struct.bPload, ptr %2095, i64 %2097
  %2099 = getelementptr inbounds %struct.bPload, ptr %2098, i32 0, i32 6
  store i32 0, ptr %2099, align 4, !tbaa !42
  %2100 = load ptr, ptr %22, align 8, !tbaa !9
  %2101 = load i32, ptr %40, align 4, !tbaa !5
  %2102 = sext i32 %2101 to i64
  %2103 = getelementptr inbounds i8, ptr %2100, i64 %2102
  store i8 1, ptr %2103, align 1, !tbaa !13
  %2104 = load ptr, ptr %50, align 8, !tbaa !9
  %2105 = load i32, ptr %40, align 4, !tbaa !5
  %2106 = sext i32 %2105 to i64
  %2107 = getelementptr inbounds %struct.bPload, ptr %2104, i64 %2106
  %2108 = getelementptr inbounds %struct.bPload, ptr %2107, i32 0, i32 4
  %2109 = load i64, ptr %2108, align 8, !tbaa !44
  %2110 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2111 = add i64 %2110, %2109
  store i64 %2111, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2112 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %2113 = add i64 %2112, 1
  store i64 %2113, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  br label %2114

2114:                                             ; preds = %2094, %2075
  br label %2115

2115:                                             ; preds = %2114
  %2116 = load i32, ptr %40, align 4, !tbaa !5
  %2117 = add nsw i32 %2116, 1
  store i32 %2117, ptr %40, align 4, !tbaa !5
  br label %2071, !llvm.loop !46

2118:                                             ; preds = %2071
  br label %2119

2119:                                             ; preds = %2118
  %2120 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %2121 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %2122 = icmp ult i64 %2120, %2121
  br i1 %2122, label %1939, label %2123, !llvm.loop !47

2123:                                             ; preds = %2119
  %2124 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %2125 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %2126 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.200, i64 noundef %2124, i64 noundef %2125)
          to label %2127 unwind label %1165

2127:                                             ; preds = %2123
  %2128 = load ptr, ptr @tid, align 8, !tbaa !9
  call void @free(ptr noundef %2128) #14
  %2129 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  call void @free(ptr noundef %2129) #14
  %2130 = load ptr, ptr %50, align 8, !tbaa !9
  call void @free(ptr noundef %2130) #14
  %2131 = load ptr, ptr %22, align 8, !tbaa !9
  call void @free(ptr noundef %2131) #14
  br label %2399

2132:                                             ; preds = %1862
  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 %38, align 4, !tbaa !5
  store i64 0, ptr %28, align 8, !tbaa !11
  store i64 0, ptr @THREADCOUNTER, align 8, !tbaa !11
  %2133 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2134 = zext i32 %2133 to i64
  %2135 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2136 = icmp uge i64 %2134, %2135
  br i1 %2136, label %2137, label %2140

2137:                                             ; preds = %2132
  %2138 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2139 = trunc i64 %2138 to i32
  store i32 %2139, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  br label %2140

2140:                                             ; preds = %2137, %2132
  %2141 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2142 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2143 = zext i32 %2142 to i64
  %2144 = udiv i64 %2141, %2143
  store i64 %2144, ptr @THREADCYCLES, align 8, !tbaa !11
  %2145 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2146 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2147 = zext i32 %2146 to i64
  %2148 = urem i64 %2145, %2147
  store i64 %2148, ptr %29, align 8, !tbaa !11
  %2149 = load i64, ptr %29, align 8, !tbaa !11
  %2150 = icmp ne i64 %2149, 0
  br i1 %2150, label %2151, label %2154

2151:                                             ; preds = %2140
  %2152 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %2153 = add i64 %2152, 1
  store i64 %2153, ptr @THREADCYCLES, align 8, !tbaa !11
  br label %2154

2154:                                             ; preds = %2151, %2140
  %2155 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2156 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2157 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2158 = uitofp i64 %2157 to double
  %2159 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2160 = uitofp i64 %2159 to double
  %2161 = fdiv double %2158, %2160
  %2162 = fmul double %2161, 1.000000e+02
  %2163 = fptosi double %2162 to i32
  %2164 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.196, i64 noundef %2155, i64 noundef %2156, i32 noundef %2163)
          to label %2165 unwind label %1165

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

2168:                                             ; preds = %2165
  %2169 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2170 = sext i32 %2169 to i64
  %2171 = call noalias ptr @calloc(i64 noundef %2170, i64 noundef 8) #20
  store ptr %2171, ptr @tid, align 8, !tbaa !9
  %2172 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2173 = sext i32 %2172 to i64
  %2174 = call noalias ptr @calloc(i64 noundef %2173, i64 noundef 40) #20
  store ptr %2174, ptr @bPload_mutex, align 8, !tbaa !9
  %2175 = load ptr, ptr @tid, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2175, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.201, i32 noundef 1759)
          to label %2176 unwind label %1165

2176:                                             ; preds = %2168
  %2177 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2177, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.197, i32 noundef 1760)
          to label %2178 unwind label %1165

2178:                                             ; preds = %2176
  %2179 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2180 = sext i32 %2179 to i64
  %2181 = call noalias ptr @calloc(i64 noundef %2180, i64 noundef 48) #20
  store ptr %2181, ptr %50, align 8, !tbaa !9
  %2182 = load ptr, ptr %50, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2182, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.198, i32 noundef 1763)
          to label %2183 unwind label %1165

2183:                                             ; preds = %2178
  %2184 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2185 = sext i32 %2184 to i64
  %2186 = call noalias ptr @calloc(i64 noundef %2185, i64 noundef 1) #20
  store ptr %2186, ptr %22, align 8, !tbaa !9
  %2187 = load ptr, ptr %22, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2187, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.199, i32 noundef 1765)
          to label %2188 unwind label %1165

2188:                                             ; preds = %2183
  %2189 = load ptr, ptr %22, align 8, !tbaa !9
  %2190 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2191 = sext i32 %2190 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %2189, i8 1, i64 %2191, i1 false)
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %2192

2192:                                             ; preds = %2202, %2188
  %2193 = load i32, ptr %40, align 4, !tbaa !5
  %2194 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2195 = icmp slt i32 %2193, %2194
  br i1 %2195, label %2196, label %2205

2196:                                             ; preds = %2192
  %2197 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %2198 = load i32, ptr %40, align 4, !tbaa !5
  %2199 = sext i32 %2198 to i64
  %2200 = getelementptr inbounds %union.pthread_mutex_t, ptr %2197, i64 %2199
  %2201 = call i32 @pthread_mutex_init(ptr noundef %2200, ptr noundef null) #14
  br label %2202

2202:                                             ; preds = %2196
  %2203 = load i32, ptr %40, align 4, !tbaa !5
  %2204 = add nsw i32 %2203, 1
  store i32 %2204, ptr %40, align 4, !tbaa !5
  br label %2192, !llvm.loop !48

2205:                                             ; preds = %2192
  br label %2206

2206:                                             ; preds = %2386, %2205
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %2207

2207:                                             ; preds = %2314, %2206
  %2208 = load i32, ptr %40, align 4, !tbaa !5
  %2209 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2210 = icmp slt i32 %2208, %2209
  br i1 %2210, label %2211, label %2215

2211:                                             ; preds = %2207
  %2212 = load i32, ptr %38, align 4, !tbaa !5
  %2213 = icmp ne i32 %2212, 0
  %2214 = xor i1 %2213, true
  br label %2215

2215:                                             ; preds = %2211, %2207
  %2216 = phi i1 [ false, %2207 ], [ %2214, %2211 ]
  br i1 %2216, label %2217, label %2317

2217:                                             ; preds = %2215
  %2218 = load ptr, ptr %22, align 8, !tbaa !9
  %2219 = load i32, ptr %40, align 4, !tbaa !5
  %2220 = sext i32 %2219 to i64
  %2221 = getelementptr inbounds i8, ptr %2218, i64 %2220
  %2222 = load i8, ptr %2221, align 1, !tbaa !13
  %2223 = icmp ne i8 %2222, 0
  br i1 %2223, label %2224, label %2313

2224:                                             ; preds = %2217
  %2225 = load i32, ptr %38, align 4, !tbaa !5
  %2226 = icmp ne i32 %2225, 0
  br i1 %2226, label %2313, label %2227

2227:                                             ; preds = %2224
  %2228 = load ptr, ptr %22, align 8, !tbaa !9
  %2229 = load i32, ptr %40, align 4, !tbaa !5
  %2230 = sext i32 %2229 to i64
  %2231 = getelementptr inbounds i8, ptr %2228, i64 %2230
  store i8 0, ptr %2231, align 1, !tbaa !13
  %2232 = load i64, ptr %28, align 8, !tbaa !11
  %2233 = load ptr, ptr %50, align 8, !tbaa !9
  %2234 = load i32, ptr %40, align 4, !tbaa !5
  %2235 = sext i32 %2234 to i64
  %2236 = getelementptr inbounds %struct.bPload, ptr %2233, i64 %2235
  %2237 = getelementptr inbounds %struct.bPload, ptr %2236, i32 0, i32 1
  store i64 %2232, ptr %2237, align 8, !tbaa !39
  %2238 = load i32, ptr %40, align 4, !tbaa !5
  %2239 = load ptr, ptr %50, align 8, !tbaa !9
  %2240 = load i32, ptr %40, align 4, !tbaa !5
  %2241 = sext i32 %2240 to i64
  %2242 = getelementptr inbounds %struct.bPload, ptr %2239, i64 %2241
  %2243 = getelementptr inbounds %struct.bPload, ptr %2242, i32 0, i32 0
  store i32 %2238, ptr %2243, align 8, !tbaa !41
  %2244 = load ptr, ptr %50, align 8, !tbaa !9
  %2245 = load i32, ptr %40, align 4, !tbaa !5
  %2246 = sext i32 %2245 to i64
  %2247 = getelementptr inbounds %struct.bPload, ptr %2244, i64 %2246
  %2248 = getelementptr inbounds %struct.bPload, ptr %2247, i32 0, i32 6
  store i32 0, ptr %2248, align 4, !tbaa !42
  %2249 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %2250 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %2251 = sub i64 %2250, 1
  %2252 = icmp ult i64 %2249, %2251
  br i1 %2252, label %2253, label %2270

2253:                                             ; preds = %2227
  %2254 = load i64, ptr %28, align 8, !tbaa !11
  %2255 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2256 = zext i32 %2255 to i64
  %2257 = add i64 %2254, %2256
  %2258 = load ptr, ptr %50, align 8, !tbaa !9
  %2259 = load i32, ptr %40, align 4, !tbaa !5
  %2260 = sext i32 %2259 to i64
  %2261 = getelementptr inbounds %struct.bPload, ptr %2258, i64 %2260
  %2262 = getelementptr inbounds %struct.bPload, ptr %2261, i32 0, i32 2
  store i64 %2257, ptr %2262, align 8, !tbaa !43
  %2263 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2264 = zext i32 %2263 to i64
  %2265 = load ptr, ptr %50, align 8, !tbaa !9
  %2266 = load i32, ptr %40, align 4, !tbaa !5
  %2267 = sext i32 %2266 to i64
  %2268 = getelementptr inbounds %struct.bPload, ptr %2265, i64 %2267
  %2269 = getelementptr inbounds %struct.bPload, ptr %2268, i32 0, i32 4
  store i64 %2264, ptr %2269, align 8, !tbaa !44
  br label %2291

2270:                                             ; preds = %2227
  %2271 = load i64, ptr %28, align 8, !tbaa !11
  %2272 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2273 = zext i32 %2272 to i64
  %2274 = add i64 %2271, %2273
  %2275 = load i64, ptr %29, align 8, !tbaa !11
  %2276 = add i64 %2274, %2275
  %2277 = load ptr, ptr %50, align 8, !tbaa !9
  %2278 = load i32, ptr %40, align 4, !tbaa !5
  %2279 = sext i32 %2278 to i64
  %2280 = getelementptr inbounds %struct.bPload, ptr %2277, i64 %2279
  %2281 = getelementptr inbounds %struct.bPload, ptr %2280, i32 0, i32 2
  store i64 %2276, ptr %2281, align 8, !tbaa !43
  %2282 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2283 = zext i32 %2282 to i64
  %2284 = load i64, ptr %29, align 8, !tbaa !11
  %2285 = add i64 %2283, %2284
  %2286 = load ptr, ptr %50, align 8, !tbaa !9
  %2287 = load i32, ptr %40, align 4, !tbaa !5
  %2288 = sext i32 %2287 to i64
  %2289 = getelementptr inbounds %struct.bPload, ptr %2286, i64 %2288
  %2290 = getelementptr inbounds %struct.bPload, ptr %2289, i32 0, i32 4
  store i64 %2285, ptr %2290, align 8, !tbaa !44
  store i32 1, ptr %38, align 4, !tbaa !5
  br label %2291

2291:                                             ; preds = %2270, %2253
  %2292 = load ptr, ptr @tid, align 8, !tbaa !9
  %2293 = load i32, ptr %40, align 4, !tbaa !5
  %2294 = sext i32 %2293 to i64
  %2295 = getelementptr inbounds i64, ptr %2292, i64 %2294
  %2296 = load ptr, ptr %50, align 8, !tbaa !9
  %2297 = load i32, ptr %40, align 4, !tbaa !5
  %2298 = sext i32 %2297 to i64
  %2299 = getelementptr inbounds %struct.bPload, ptr %2296, i64 %2298
  %2300 = call i32 @pthread_create(ptr noundef %2295, ptr noundef null, ptr noundef @_Z13thread_bPloadPv, ptr noundef %2299) #14
  store i32 %2300, ptr %52, align 4, !tbaa !5
  %2301 = load ptr, ptr @tid, align 8, !tbaa !9
  %2302 = load i32, ptr %40, align 4, !tbaa !5
  %2303 = sext i32 %2302 to i64
  %2304 = getelementptr inbounds i64, ptr %2301, i64 %2303
  %2305 = load i64, ptr %2304, align 8, !tbaa !11
  %2306 = call i32 @pthread_detach(i64 noundef %2305) #14
  %2307 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !5
  %2308 = zext i32 %2307 to i64
  %2309 = load i64, ptr %28, align 8, !tbaa !11
  %2310 = add i64 %2309, %2308
  store i64 %2310, ptr %28, align 8, !tbaa !11
  %2311 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !11
  %2312 = add i64 %2311, 1
  store i64 %2312, ptr @THREADCOUNTER, align 8, !tbaa !11
  br label %2313

2313:                                             ; preds = %2291, %2224, %2217
  br label %2314

2314:                                             ; preds = %2313
  %2315 = load i32, ptr %40, align 4, !tbaa !5
  %2316 = add nsw i32 %2315, 1
  store i32 %2316, ptr %40, align 4, !tbaa !5
  br label %2207, !llvm.loop !49

2317:                                             ; preds = %2215
  %2318 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  %2319 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2320 = icmp ne i64 %2318, %2319
  br i1 %2320, label %2321, label %2337

2321:                                             ; preds = %2317
  %2322 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2323 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2324 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2325 = uitofp i64 %2324 to double
  %2326 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2327 = uitofp i64 %2326 to double
  %2328 = fdiv double %2325, %2327
  %2329 = fmul double %2328, 1.000000e+02
  %2330 = fptosi double %2329 to i32
  %2331 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.196, i64 noundef %2322, i64 noundef %2323, i32 noundef %2330)
          to label %2332 unwind label %1165

2332:                                             ; preds = %2321
  %2333 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2334 = invoke i32 @fflush(ptr noundef %2333)
          to label %2335 unwind label %1165

2335:                                             ; preds = %2332
  %2336 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  store i64 %2336, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !11
  br label %2337

2337:                                             ; preds = %2335, %2317
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %2338

2338:                                             ; preds = %2382, %2337
  %2339 = load i32, ptr %40, align 4, !tbaa !5
  %2340 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2341 = icmp slt i32 %2339, %2340
  br i1 %2341, label %2342, label %2385

2342:                                             ; preds = %2338
  %2343 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %2344 = load i32, ptr %40, align 4, !tbaa !5
  %2345 = sext i32 %2344 to i64
  %2346 = getelementptr inbounds %union.pthread_mutex_t, ptr %2343, i64 %2345
  %2347 = call i32 @pthread_mutex_lock(ptr noundef %2346) #14
  %2348 = load ptr, ptr %50, align 8, !tbaa !9
  %2349 = load i32, ptr %40, align 4, !tbaa !5
  %2350 = sext i32 %2349 to i64
  %2351 = getelementptr inbounds %struct.bPload, ptr %2348, i64 %2350
  %2352 = getelementptr inbounds %struct.bPload, ptr %2351, i32 0, i32 6
  %2353 = load i32, ptr %2352, align 4, !tbaa !42
  store i32 %2353, ptr %33, align 4, !tbaa !5
  %2354 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  %2355 = load i32, ptr %40, align 4, !tbaa !5
  %2356 = sext i32 %2355 to i64
  %2357 = getelementptr inbounds %union.pthread_mutex_t, ptr %2354, i64 %2356
  %2358 = call i32 @pthread_mutex_unlock(ptr noundef %2357) #14
  %2359 = load i32, ptr %33, align 4, !tbaa !5
  %2360 = icmp ne i32 %2359, 0
  br i1 %2360, label %2361, label %2381

2361:                                             ; preds = %2342
  %2362 = load ptr, ptr %50, align 8, !tbaa !9
  %2363 = load i32, ptr %40, align 4, !tbaa !5
  %2364 = sext i32 %2363 to i64
  %2365 = getelementptr inbounds %struct.bPload, ptr %2362, i64 %2364
  %2366 = getelementptr inbounds %struct.bPload, ptr %2365, i32 0, i32 6
  store i32 0, ptr %2366, align 4, !tbaa !42
  %2367 = load ptr, ptr %22, align 8, !tbaa !9
  %2368 = load i32, ptr %40, align 4, !tbaa !5
  %2369 = sext i32 %2368 to i64
  %2370 = getelementptr inbounds i8, ptr %2367, i64 %2369
  store i8 1, ptr %2370, align 1, !tbaa !13
  %2371 = load ptr, ptr %50, align 8, !tbaa !9
  %2372 = load i32, ptr %40, align 4, !tbaa !5
  %2373 = sext i32 %2372 to i64
  %2374 = getelementptr inbounds %struct.bPload, ptr %2371, i64 %2373
  %2375 = getelementptr inbounds %struct.bPload, ptr %2374, i32 0, i32 4
  %2376 = load i64, ptr %2375, align 8, !tbaa !44
  %2377 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2378 = add i64 %2377, %2376
  store i64 %2378, ptr @FINISHED_ITEMS, align 8, !tbaa !11
  %2379 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %2380 = add i64 %2379, 1
  store i64 %2380, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  br label %2381

2381:                                             ; preds = %2361, %2342
  br label %2382

2382:                                             ; preds = %2381
  %2383 = load i32, ptr %40, align 4, !tbaa !5
  %2384 = add nsw i32 %2383, 1
  store i32 %2384, ptr %40, align 4, !tbaa !5
  br label %2338, !llvm.loop !50

2385:                                             ; preds = %2338
  br label %2386

2386:                                             ; preds = %2385
  %2387 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !11
  %2388 = load i64, ptr @THREADCYCLES, align 8, !tbaa !11
  %2389 = icmp ult i64 %2387, %2388
  br i1 %2389, label %2206, label %2390, !llvm.loop !51

2390:                                             ; preds = %2386
  %2391 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2392 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2393 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.200, i64 noundef %2391, i64 noundef %2392)
          to label %2394 unwind label %1165

2394:                                             ; preds = %2390
  %2395 = load ptr, ptr @tid, align 8, !tbaa !9
  call void @free(ptr noundef %2395) #14
  %2396 = load ptr, ptr @bPload_mutex, align 8, !tbaa !9
  call void @free(ptr noundef %2396) #14
  %2397 = load ptr, ptr %50, align 8, !tbaa !9
  call void @free(ptr noundef %2397) #14
  %2398 = load ptr, ptr %22, align 8, !tbaa !9
  call void @free(ptr noundef %2398) #14
  br label %2399

2399:                                             ; preds = %2394, %2127
  br label %2400

2400:                                             ; preds = %2399, %1859
  %2401 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %2402 = icmp ne i32 %2401, 0
  br i1 %2402, label %2403, label %2409

2403:                                             ; preds = %2400
  %2404 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %2405 = icmp ne i32 %2404, 0
  br i1 %2405, label %2406, label %2409

2406:                                             ; preds = %2403
  %2407 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %2408 = icmp ne i32 %2407, 0
  br i1 %2408, label %2415, label %2409

2409:                                             ; preds = %2406, %2403, %2400
  %2410 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.202)
          to label %2411 unwind label %1165

2411:                                             ; preds = %2409
  %2412 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2413 = invoke i32 @fflush(ptr noundef %2412)
          to label %2414 unwind label %1165

2414:                                             ; preds = %2411
  br label %2415

2415:                                             ; preds = %2414, %2406
  %2416 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %2417 = icmp ne i32 %2416, 0
  br i1 %2417, label %2455, label %2418

2418:                                             ; preds = %2415
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %2419

2419:                                             ; preds = %2449, %2418
  %2420 = load i64, ptr %27, align 8, !tbaa !11
  %2421 = icmp ult i64 %2420, 256
  br i1 %2421, label %2422, label %2452

2422:                                             ; preds = %2419
  %2423 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %2424 = load i64, ptr %27, align 8, !tbaa !11
  %2425 = getelementptr inbounds %struct.bloom, ptr %2423, i64 %2424
  %2426 = getelementptr inbounds %struct.bloom, ptr %2425, i32 0, i32 9
  %2427 = load ptr, ptr %2426, align 16, !tbaa !33
  %2428 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %2429 = load i64, ptr %27, align 8, !tbaa !11
  %2430 = getelementptr inbounds %struct.bloom, ptr %2428, i64 %2429
  %2431 = getelementptr inbounds %struct.bloom, ptr %2430, i32 0, i32 2
  %2432 = load i64, ptr %2431, align 16, !tbaa !22
  %2433 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %2434 = load i64, ptr %27, align 8, !tbaa !11
  %2435 = getelementptr inbounds %struct.checksumsha256, ptr %2433, i64 %2434
  %2436 = getelementptr inbounds %struct.checksumsha256, ptr %2435, i32 0, i32 0
  %2437 = getelementptr inbounds [32 x i8], ptr %2436, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %2427, i64 noundef %2432, ptr noundef %2437)
          to label %2438 unwind label %1165

2438:                                             ; preds = %2422
  %2439 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %2440 = load i64, ptr %27, align 8, !tbaa !11
  %2441 = getelementptr inbounds %struct.checksumsha256, ptr %2439, i64 %2440
  %2442 = getelementptr inbounds %struct.checksumsha256, ptr %2441, i32 0, i32 1
  %2443 = getelementptr inbounds [32 x i8], ptr %2442, i64 0, i64 0
  %2444 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %2445 = load i64, ptr %27, align 8, !tbaa !11
  %2446 = getelementptr inbounds %struct.checksumsha256, ptr %2444, i64 %2445
  %2447 = getelementptr inbounds %struct.checksumsha256, ptr %2446, i32 0, i32 0
  %2448 = getelementptr inbounds [32 x i8], ptr %2447, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2443, ptr align 1 %2448, i64 32, i1 false)
  br label %2449

2449:                                             ; preds = %2438
  %2450 = load i64, ptr %27, align 8, !tbaa !11
  %2451 = add i64 %2450, 1
  store i64 %2451, ptr %27, align 8, !tbaa !11
  br label %2419, !llvm.loop !52

2452:                                             ; preds = %2419
  %2453 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %2454 unwind label %1165

2454:                                             ; preds = %2452
  br label %2455

2455:                                             ; preds = %2454, %2415
  %2456 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %2457 = icmp ne i32 %2456, 0
  br i1 %2457, label %2495, label %2458

2458:                                             ; preds = %2455
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %2459

2459:                                             ; preds = %2489, %2458
  %2460 = load i64, ptr %27, align 8, !tbaa !11
  %2461 = icmp ult i64 %2460, 256
  br i1 %2461, label %2462, label %2492

2462:                                             ; preds = %2459
  %2463 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2464 = load i64, ptr %27, align 8, !tbaa !11
  %2465 = getelementptr inbounds %struct.bloom, ptr %2463, i64 %2464
  %2466 = getelementptr inbounds %struct.bloom, ptr %2465, i32 0, i32 9
  %2467 = load ptr, ptr %2466, align 16, !tbaa !33
  %2468 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2469 = load i64, ptr %27, align 8, !tbaa !11
  %2470 = getelementptr inbounds %struct.bloom, ptr %2468, i64 %2469
  %2471 = getelementptr inbounds %struct.bloom, ptr %2470, i32 0, i32 2
  %2472 = load i64, ptr %2471, align 16, !tbaa !22
  %2473 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %2474 = load i64, ptr %27, align 8, !tbaa !11
  %2475 = getelementptr inbounds %struct.checksumsha256, ptr %2473, i64 %2474
  %2476 = getelementptr inbounds %struct.checksumsha256, ptr %2475, i32 0, i32 0
  %2477 = getelementptr inbounds [32 x i8], ptr %2476, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %2467, i64 noundef %2472, ptr noundef %2477)
          to label %2478 unwind label %1165

2478:                                             ; preds = %2462
  %2479 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %2480 = load i64, ptr %27, align 8, !tbaa !11
  %2481 = getelementptr inbounds %struct.checksumsha256, ptr %2479, i64 %2480
  %2482 = getelementptr inbounds %struct.checksumsha256, ptr %2481, i32 0, i32 1
  %2483 = getelementptr inbounds [32 x i8], ptr %2482, i64 0, i64 0
  %2484 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %2485 = load i64, ptr %27, align 8, !tbaa !11
  %2486 = getelementptr inbounds %struct.checksumsha256, ptr %2484, i64 %2485
  %2487 = getelementptr inbounds %struct.checksumsha256, ptr %2486, i32 0, i32 0
  %2488 = getelementptr inbounds [32 x i8], ptr %2487, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2483, ptr align 1 %2488, i64 32, i1 false)
  br label %2489

2489:                                             ; preds = %2478
  %2490 = load i64, ptr %27, align 8, !tbaa !11
  %2491 = add i64 %2490, 1
  store i64 %2491, ptr %27, align 8, !tbaa !11
  br label %2459, !llvm.loop !53

2492:                                             ; preds = %2459
  %2493 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %2494 unwind label %1165

2494:                                             ; preds = %2492
  br label %2495

2495:                                             ; preds = %2494, %2455
  %2496 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %2497 = icmp ne i32 %2496, 0
  br i1 %2497, label %2535, label %2498

2498:                                             ; preds = %2495
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %2499

2499:                                             ; preds = %2529, %2498
  %2500 = load i64, ptr %27, align 8, !tbaa !11
  %2501 = icmp ult i64 %2500, 256
  br i1 %2501, label %2502, label %2532

2502:                                             ; preds = %2499
  %2503 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2504 = load i64, ptr %27, align 8, !tbaa !11
  %2505 = getelementptr inbounds %struct.bloom, ptr %2503, i64 %2504
  %2506 = getelementptr inbounds %struct.bloom, ptr %2505, i32 0, i32 9
  %2507 = load ptr, ptr %2506, align 16, !tbaa !33
  %2508 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2509 = load i64, ptr %27, align 8, !tbaa !11
  %2510 = getelementptr inbounds %struct.bloom, ptr %2508, i64 %2509
  %2511 = getelementptr inbounds %struct.bloom, ptr %2510, i32 0, i32 2
  %2512 = load i64, ptr %2511, align 16, !tbaa !22
  %2513 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %2514 = load i64, ptr %27, align 8, !tbaa !11
  %2515 = getelementptr inbounds %struct.checksumsha256, ptr %2513, i64 %2514
  %2516 = getelementptr inbounds %struct.checksumsha256, ptr %2515, i32 0, i32 0
  %2517 = getelementptr inbounds [32 x i8], ptr %2516, i64 0, i64 0
  invoke void @_Z6sha256PhmS_(ptr noundef %2507, i64 noundef %2512, ptr noundef %2517)
          to label %2518 unwind label %1165

2518:                                             ; preds = %2502
  %2519 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %2520 = load i64, ptr %27, align 8, !tbaa !11
  %2521 = getelementptr inbounds %struct.checksumsha256, ptr %2519, i64 %2520
  %2522 = getelementptr inbounds %struct.checksumsha256, ptr %2521, i32 0, i32 1
  %2523 = getelementptr inbounds [32 x i8], ptr %2522, i64 0, i64 0
  %2524 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %2525 = load i64, ptr %27, align 8, !tbaa !11
  %2526 = getelementptr inbounds %struct.checksumsha256, ptr %2524, i64 %2525
  %2527 = getelementptr inbounds %struct.checksumsha256, ptr %2526, i32 0, i32 0
  %2528 = getelementptr inbounds [32 x i8], ptr %2527, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2523, ptr align 1 %2528, i64 32, i1 false)
  br label %2529

2529:                                             ; preds = %2518
  %2530 = load i64, ptr %27, align 8, !tbaa !11
  %2531 = add i64 %2530, 1
  store i64 %2531, ptr %27, align 8, !tbaa !11
  br label %2499, !llvm.loop !54

2532:                                             ; preds = %2499
  %2533 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %2534 unwind label %1165

2534:                                             ; preds = %2532
  br label %2535

2535:                                             ; preds = %2534, %2495
  %2536 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %2537 = icmp ne i32 %2536, 0
  br i1 %2537, label %2538, label %2544

2538:                                             ; preds = %2535
  %2539 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %2540 = icmp ne i32 %2539, 0
  br i1 %2540, label %2541, label %2544

2541:                                             ; preds = %2538
  %2542 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %2543 = icmp ne i32 %2542, 0
  br i1 %2543, label %2550, label %2544

2544:                                             ; preds = %2541, %2538, %2535
  %2545 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.203)
          to label %2546 unwind label %1165

2546:                                             ; preds = %2544
  %2547 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2548 = invoke i32 @fflush(ptr noundef %2547)
          to label %2549 unwind label %1165

2549:                                             ; preds = %2546
  br label %2550

2550:                                             ; preds = %2549, %2541
  %2551 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  %2552 = icmp ne i32 %2551, 0
  br i1 %2552, label %2571, label %2553

2553:                                             ; preds = %2550
  %2554 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %2555 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.204, i64 noundef %2554)
          to label %2556 unwind label %1165

2556:                                             ; preds = %2553
  %2557 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2558 = invoke i32 @fflush(ptr noundef %2557)
          to label %2559 unwind label %1165

2559:                                             ; preds = %2556
  %2560 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %2561 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  invoke void @_Z9bsgs_sortP11bsgs_xvaluel(ptr noundef %2560, i64 noundef %2561)
          to label %2562 unwind label %1165

2562:                                             ; preds = %2559
  %2563 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %2564 = load i64, ptr @bytes, align 8, !tbaa !11
  invoke void @_Z6sha256PhmS_(ptr noundef %2563, i64 noundef %2564, ptr noundef @checksum)
          to label %2565 unwind label %1165

2565:                                             ; preds = %2562
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @checksum_backup, ptr align 16 @checksum, i64 32, i1 false)
  %2566 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.205)
          to label %2567 unwind label %1165

2567:                                             ; preds = %2565
  %2568 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2569 = invoke i32 @fflush(ptr noundef %2568)
          to label %2570 unwind label %1165

2570:                                             ; preds = %2567
  br label %2571

2571:                                             ; preds = %2570, %2550
  %2572 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !5
  %2573 = icmp ne i32 %2572, 0
  br i1 %2573, label %2577, label %2574

2574:                                             ; preds = %2571
  %2575 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  %2576 = icmp ne i32 %2575, 0
  br i1 %2576, label %2577, label %2901

2577:                                             ; preds = %2574, %2571
  %2578 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !5
  %2579 = icmp ne i32 %2578, 0
  br i1 %2579, label %2580, label %2583

2580:                                             ; preds = %2577
  %2581 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  %2582 = icmp ne i32 %2581, 0
  br i1 %2582, label %2583, label %2675

2583:                                             ; preds = %2580, %2577
  %2584 = load i64, ptr @bsgs_m, align 8, !tbaa !11
  %2585 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.180, i64 noundef %2584) #14
  %2586 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !5
  %2587 = icmp ne i32 %2586, 0
  br i1 %2587, label %2588, label %2591

2588:                                             ; preds = %2583
  %2589 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.206)
          to label %2590 unwind label %1165

2590:                                             ; preds = %2588
  br label %2591

2591:                                             ; preds = %2590, %2583
  %2592 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.207)
          to label %2593 unwind label %1165

2593:                                             ; preds = %2591
  store ptr %2592, ptr %24, align 8, !tbaa !9
  %2594 = load ptr, ptr %24, align 8, !tbaa !9
  %2595 = icmp ne ptr %2594, null
  br i1 %2595, label %2596, label %2671

2596:                                             ; preds = %2593
  %2597 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.208, ptr noundef @buffer_bloom_file)
          to label %2598 unwind label %1165

2598:                                             ; preds = %2596
  %2599 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2600 = invoke i32 @fflush(ptr noundef %2599)
          to label %2601 unwind label %1165

2601:                                             ; preds = %2598
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %2602

2602:                                             ; preds = %2662, %2601
  %2603 = load i64, ptr %27, align 8, !tbaa !11
  %2604 = icmp ult i64 %2603, 256
  br i1 %2604, label %2605, label %2665

2605:                                             ; preds = %2602
  %2606 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %2607 = load i64, ptr %27, align 8, !tbaa !11
  %2608 = getelementptr inbounds %struct.bloom, ptr %2606, i64 %2607
  %2609 = load ptr, ptr %24, align 8, !tbaa !9
  %2610 = invoke i64 @fwrite(ptr noundef %2608, i64 noundef 80, i64 noundef 1, ptr noundef %2609)
          to label %2611 unwind label %1165

2611:                                             ; preds = %2605
  %2612 = trunc i64 %2610 to i32
  store i32 %2612, ptr %34, align 4, !tbaa !5
  %2613 = load i32, ptr %34, align 4, !tbaa !5
  %2614 = icmp ne i32 %2613, 1
  br i1 %2614, label %2615, label %2618

2615:                                             ; preds = %2611
  %2616 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2617 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2616, ptr noundef @.str.209, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2618:                                             ; preds = %2611
  %2619 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %2620 = load i64, ptr %27, align 8, !tbaa !11
  %2621 = getelementptr inbounds %struct.bloom, ptr %2619, i64 %2620
  %2622 = getelementptr inbounds %struct.bloom, ptr %2621, i32 0, i32 9
  %2623 = load ptr, ptr %2622, align 16, !tbaa !33
  %2624 = load ptr, ptr @bloom_bP, align 8, !tbaa !9
  %2625 = load i64, ptr %27, align 8, !tbaa !11
  %2626 = getelementptr inbounds %struct.bloom, ptr %2624, i64 %2625
  %2627 = getelementptr inbounds %struct.bloom, ptr %2626, i32 0, i32 2
  %2628 = load i64, ptr %2627, align 16, !tbaa !22
  %2629 = load ptr, ptr %24, align 8, !tbaa !9
  %2630 = invoke i64 @fwrite(ptr noundef %2623, i64 noundef %2628, i64 noundef 1, ptr noundef %2629)
          to label %2631 unwind label %1165

2631:                                             ; preds = %2618
  %2632 = trunc i64 %2630 to i32
  store i32 %2632, ptr %34, align 4, !tbaa !5
  %2633 = load i32, ptr %34, align 4, !tbaa !5
  %2634 = icmp ne i32 %2633, 1
  br i1 %2634, label %2635, label %2638

2635:                                             ; preds = %2631
  %2636 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2637 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2636, ptr noundef @.str.209, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2638:                                             ; preds = %2631
  %2639 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !9
  %2640 = load i64, ptr %27, align 8, !tbaa !11
  %2641 = getelementptr inbounds %struct.checksumsha256, ptr %2639, i64 %2640
  %2642 = load ptr, ptr %24, align 8, !tbaa !9
  %2643 = invoke i64 @fwrite(ptr noundef %2641, i64 noundef 64, i64 noundef 1, ptr noundef %2642)
          to label %2644 unwind label %1165

2644:                                             ; preds = %2638
  %2645 = trunc i64 %2643 to i32
  store i32 %2645, ptr %34, align 4, !tbaa !5
  %2646 = load i32, ptr %34, align 4, !tbaa !5
  %2647 = icmp ne i32 %2646, 1
  br i1 %2647, label %2648, label %2651

2648:                                             ; preds = %2644
  %2649 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2650 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2649, ptr noundef @.str.209, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2651:                                             ; preds = %2644
  %2652 = load i64, ptr %27, align 8, !tbaa !11
  %2653 = urem i64 %2652, 64
  %2654 = icmp eq i64 %2653, 0
  br i1 %2654, label %2655, label %2661

2655:                                             ; preds = %2651
  %2656 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %2657 unwind label %1165

2657:                                             ; preds = %2655
  %2658 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2659 = invoke i32 @fflush(ptr noundef %2658)
          to label %2660 unwind label %1165

2660:                                             ; preds = %2657
  br label %2661

2661:                                             ; preds = %2660, %2651
  br label %2662

2662:                                             ; preds = %2661
  %2663 = load i64, ptr %27, align 8, !tbaa !11
  %2664 = add i64 %2663, 1
  store i64 %2664, ptr %27, align 8, !tbaa !11
  br label %2602, !llvm.loop !55

2665:                                             ; preds = %2602
  %2666 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.185)
          to label %2667 unwind label %1165

2667:                                             ; preds = %2665
  %2668 = load ptr, ptr %24, align 8, !tbaa !9
  %2669 = invoke i32 @fclose(ptr noundef %2668)
          to label %2670 unwind label %1165

2670:                                             ; preds = %2667
  br label %2674

2671:                                             ; preds = %2593
  %2672 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2673 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2672, ptr noundef @.str.210, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2674:                                             ; preds = %2670
  br label %2675

2675:                                             ; preds = %2674, %2580
  %2676 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !5
  %2677 = icmp ne i32 %2676, 0
  br i1 %2677, label %2764, label %2678

2678:                                             ; preds = %2675
  %2679 = load i64, ptr @bsgs_m2, align 8, !tbaa !11
  %2680 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.188, i64 noundef %2679) #14
  %2681 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.207)
          to label %2682 unwind label %1165

2682:                                             ; preds = %2678
  store ptr %2681, ptr %25, align 8, !tbaa !9
  %2683 = load ptr, ptr %25, align 8, !tbaa !9
  %2684 = icmp ne ptr %2683, null
  br i1 %2684, label %2685, label %2760

2685:                                             ; preds = %2682
  %2686 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.208, ptr noundef @buffer_bloom_file)
          to label %2687 unwind label %1165

2687:                                             ; preds = %2685
  %2688 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2689 = invoke i32 @fflush(ptr noundef %2688)
          to label %2690 unwind label %1165

2690:                                             ; preds = %2687
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %2691

2691:                                             ; preds = %2751, %2690
  %2692 = load i64, ptr %27, align 8, !tbaa !11
  %2693 = icmp ult i64 %2692, 256
  br i1 %2693, label %2694, label %2754

2694:                                             ; preds = %2691
  %2695 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2696 = load i64, ptr %27, align 8, !tbaa !11
  %2697 = getelementptr inbounds %struct.bloom, ptr %2695, i64 %2696
  %2698 = load ptr, ptr %25, align 8, !tbaa !9
  %2699 = invoke i64 @fwrite(ptr noundef %2697, i64 noundef 80, i64 noundef 1, ptr noundef %2698)
          to label %2700 unwind label %1165

2700:                                             ; preds = %2694
  %2701 = trunc i64 %2699 to i32
  store i32 %2701, ptr %34, align 4, !tbaa !5
  %2702 = load i32, ptr %34, align 4, !tbaa !5
  %2703 = icmp ne i32 %2702, 1
  br i1 %2703, label %2704, label %2707

2704:                                             ; preds = %2700
  %2705 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2706 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2705, ptr noundef @.str.211, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2707:                                             ; preds = %2700
  %2708 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2709 = load i64, ptr %27, align 8, !tbaa !11
  %2710 = getelementptr inbounds %struct.bloom, ptr %2708, i64 %2709
  %2711 = getelementptr inbounds %struct.bloom, ptr %2710, i32 0, i32 9
  %2712 = load ptr, ptr %2711, align 16, !tbaa !33
  %2713 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !9
  %2714 = load i64, ptr %27, align 8, !tbaa !11
  %2715 = getelementptr inbounds %struct.bloom, ptr %2713, i64 %2714
  %2716 = getelementptr inbounds %struct.bloom, ptr %2715, i32 0, i32 2
  %2717 = load i64, ptr %2716, align 16, !tbaa !22
  %2718 = load ptr, ptr %25, align 8, !tbaa !9
  %2719 = invoke i64 @fwrite(ptr noundef %2712, i64 noundef %2717, i64 noundef 1, ptr noundef %2718)
          to label %2720 unwind label %1165

2720:                                             ; preds = %2707
  %2721 = trunc i64 %2719 to i32
  store i32 %2721, ptr %34, align 4, !tbaa !5
  %2722 = load i32, ptr %34, align 4, !tbaa !5
  %2723 = icmp ne i32 %2722, 1
  br i1 %2723, label %2724, label %2727

2724:                                             ; preds = %2720
  %2725 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2726 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2725, ptr noundef @.str.211, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2727:                                             ; preds = %2720
  %2728 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !9
  %2729 = load i64, ptr %27, align 8, !tbaa !11
  %2730 = getelementptr inbounds %struct.checksumsha256, ptr %2728, i64 %2729
  %2731 = load ptr, ptr %25, align 8, !tbaa !9
  %2732 = invoke i64 @fwrite(ptr noundef %2730, i64 noundef 64, i64 noundef 1, ptr noundef %2731)
          to label %2733 unwind label %1165

2733:                                             ; preds = %2727
  %2734 = trunc i64 %2732 to i32
  store i32 %2734, ptr %34, align 4, !tbaa !5
  %2735 = load i32, ptr %34, align 4, !tbaa !5
  %2736 = icmp ne i32 %2735, 1
  br i1 %2736, label %2737, label %2740

2737:                                             ; preds = %2733
  %2738 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2739 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2738, ptr noundef @.str.209, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2740:                                             ; preds = %2733
  %2741 = load i64, ptr %27, align 8, !tbaa !11
  %2742 = urem i64 %2741, 64
  %2743 = icmp eq i64 %2742, 0
  br i1 %2743, label %2744, label %2750

2744:                                             ; preds = %2740
  %2745 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %2746 unwind label %1165

2746:                                             ; preds = %2744
  %2747 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2748 = invoke i32 @fflush(ptr noundef %2747)
          to label %2749 unwind label %1165

2749:                                             ; preds = %2746
  br label %2750

2750:                                             ; preds = %2749, %2740
  br label %2751

2751:                                             ; preds = %2750
  %2752 = load i64, ptr %27, align 8, !tbaa !11
  %2753 = add i64 %2752, 1
  store i64 %2753, ptr %27, align 8, !tbaa !11
  br label %2691, !llvm.loop !56

2754:                                             ; preds = %2691
  %2755 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.185)
          to label %2756 unwind label %1165

2756:                                             ; preds = %2754
  %2757 = load ptr, ptr %25, align 8, !tbaa !9
  %2758 = invoke i32 @fclose(ptr noundef %2757)
          to label %2759 unwind label %1165

2759:                                             ; preds = %2756
  br label %2763

2760:                                             ; preds = %2682
  %2761 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2762 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2761, ptr noundef @.str.210, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2763:                                             ; preds = %2759
  br label %2764

2764:                                             ; preds = %2763, %2675
  %2765 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !5
  %2766 = icmp ne i32 %2765, 0
  br i1 %2766, label %2811, label %2767

2767:                                             ; preds = %2764
  %2768 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %2769 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.191, i64 noundef %2768) #14
  %2770 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.207)
          to label %2771 unwind label %1165

2771:                                             ; preds = %2767
  store ptr %2770, ptr %26, align 8, !tbaa !9
  %2772 = load ptr, ptr %26, align 8, !tbaa !9
  %2773 = icmp ne ptr %2772, null
  br i1 %2773, label %2774, label %2807

2774:                                             ; preds = %2771
  %2775 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.212, ptr noundef @buffer_bloom_file)
          to label %2776 unwind label %1165

2776:                                             ; preds = %2774
  %2777 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2778 = invoke i32 @fflush(ptr noundef %2777)
          to label %2779 unwind label %1165

2779:                                             ; preds = %2776
  %2780 = load ptr, ptr @bPtable, align 8, !tbaa !9
  %2781 = load i64, ptr @bytes, align 8, !tbaa !11
  %2782 = load ptr, ptr %26, align 8, !tbaa !9
  %2783 = invoke i64 @fwrite(ptr noundef %2780, i64 noundef %2781, i64 noundef 1, ptr noundef %2782)
          to label %2784 unwind label %1165

2784:                                             ; preds = %2779
  %2785 = trunc i64 %2783 to i32
  store i32 %2785, ptr %34, align 4, !tbaa !5
  %2786 = load i32, ptr %34, align 4, !tbaa !5
  %2787 = icmp ne i32 %2786, 1
  br i1 %2787, label %2788, label %2791

2788:                                             ; preds = %2784
  %2789 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2790 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2789, ptr noundef @.str.211, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2791:                                             ; preds = %2784
  %2792 = load ptr, ptr %26, align 8, !tbaa !9
  %2793 = invoke i64 @fwrite(ptr noundef @checksum, i64 noundef 32, i64 noundef 1, ptr noundef %2792)
          to label %2794 unwind label %1165

2794:                                             ; preds = %2791
  %2795 = trunc i64 %2793 to i32
  store i32 %2795, ptr %34, align 4, !tbaa !5
  %2796 = load i32, ptr %34, align 4, !tbaa !5
  %2797 = icmp ne i32 %2796, 1
  br i1 %2797, label %2798, label %2801

2798:                                             ; preds = %2794
  %2799 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2800 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2799, ptr noundef @.str.211, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2801:                                             ; preds = %2794
  %2802 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.205)
          to label %2803 unwind label %1165

2803:                                             ; preds = %2801
  %2804 = load ptr, ptr %26, align 8, !tbaa !9
  %2805 = invoke i32 @fclose(ptr noundef %2804)
          to label %2806 unwind label %1165

2806:                                             ; preds = %2803
  br label %2810

2807:                                             ; preds = %2771
  %2808 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2809 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2808, ptr noundef @.str.210, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2810:                                             ; preds = %2806
  br label %2811

2811:                                             ; preds = %2810, %2764
  %2812 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !5
  %2813 = icmp ne i32 %2812, 0
  br i1 %2813, label %2900, label %2814

2814:                                             ; preds = %2811
  %2815 = load i64, ptr @bsgs_m3, align 8, !tbaa !11
  %2816 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef @buffer_bloom_file, i64 noundef 1024, ptr noundef @.str.194, i64 noundef %2815) #14
  %2817 = invoke noalias ptr @fopen(ptr noundef @buffer_bloom_file, ptr noundef @.str.207)
          to label %2818 unwind label %1165

2818:                                             ; preds = %2814
  store ptr %2817, ptr %25, align 8, !tbaa !9
  %2819 = load ptr, ptr %25, align 8, !tbaa !9
  %2820 = icmp ne ptr %2819, null
  br i1 %2820, label %2821, label %2896

2821:                                             ; preds = %2818
  %2822 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.208, ptr noundef @buffer_bloom_file)
          to label %2823 unwind label %1165

2823:                                             ; preds = %2821
  %2824 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2825 = invoke i32 @fflush(ptr noundef %2824)
          to label %2826 unwind label %1165

2826:                                             ; preds = %2823
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %2827

2827:                                             ; preds = %2887, %2826
  %2828 = load i64, ptr %27, align 8, !tbaa !11
  %2829 = icmp ult i64 %2828, 256
  br i1 %2829, label %2830, label %2890

2830:                                             ; preds = %2827
  %2831 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2832 = load i64, ptr %27, align 8, !tbaa !11
  %2833 = getelementptr inbounds %struct.bloom, ptr %2831, i64 %2832
  %2834 = load ptr, ptr %25, align 8, !tbaa !9
  %2835 = invoke i64 @fwrite(ptr noundef %2833, i64 noundef 80, i64 noundef 1, ptr noundef %2834)
          to label %2836 unwind label %1165

2836:                                             ; preds = %2830
  %2837 = trunc i64 %2835 to i32
  store i32 %2837, ptr %34, align 4, !tbaa !5
  %2838 = load i32, ptr %34, align 4, !tbaa !5
  %2839 = icmp ne i32 %2838, 1
  br i1 %2839, label %2840, label %2843

2840:                                             ; preds = %2836
  %2841 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2842 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2841, ptr noundef @.str.211, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2843:                                             ; preds = %2836
  %2844 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2845 = load i64, ptr %27, align 8, !tbaa !11
  %2846 = getelementptr inbounds %struct.bloom, ptr %2844, i64 %2845
  %2847 = getelementptr inbounds %struct.bloom, ptr %2846, i32 0, i32 9
  %2848 = load ptr, ptr %2847, align 16, !tbaa !33
  %2849 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !9
  %2850 = load i64, ptr %27, align 8, !tbaa !11
  %2851 = getelementptr inbounds %struct.bloom, ptr %2849, i64 %2850
  %2852 = getelementptr inbounds %struct.bloom, ptr %2851, i32 0, i32 2
  %2853 = load i64, ptr %2852, align 16, !tbaa !22
  %2854 = load ptr, ptr %25, align 8, !tbaa !9
  %2855 = invoke i64 @fwrite(ptr noundef %2848, i64 noundef %2853, i64 noundef 1, ptr noundef %2854)
          to label %2856 unwind label %1165

2856:                                             ; preds = %2843
  %2857 = trunc i64 %2855 to i32
  store i32 %2857, ptr %34, align 4, !tbaa !5
  %2858 = load i32, ptr %34, align 4, !tbaa !5
  %2859 = icmp ne i32 %2858, 1
  br i1 %2859, label %2860, label %2863

2860:                                             ; preds = %2856
  %2861 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2862 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2861, ptr noundef @.str.211, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2863:                                             ; preds = %2856
  %2864 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !9
  %2865 = load i64, ptr %27, align 8, !tbaa !11
  %2866 = getelementptr inbounds %struct.checksumsha256, ptr %2864, i64 %2865
  %2867 = load ptr, ptr %25, align 8, !tbaa !9
  %2868 = invoke i64 @fwrite(ptr noundef %2866, i64 noundef 64, i64 noundef 1, ptr noundef %2867)
          to label %2869 unwind label %1165

2869:                                             ; preds = %2863
  %2870 = trunc i64 %2868 to i32
  store i32 %2870, ptr %34, align 4, !tbaa !5
  %2871 = load i32, ptr %34, align 4, !tbaa !5
  %2872 = icmp ne i32 %2871, 1
  br i1 %2872, label %2873, label %2876

2873:                                             ; preds = %2869
  %2874 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2875 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2874, ptr noundef @.str.209, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2876:                                             ; preds = %2869
  %2877 = load i64, ptr %27, align 8, !tbaa !11
  %2878 = urem i64 %2877, 64
  %2879 = icmp eq i64 %2878, 0
  br i1 %2879, label %2880, label %2886

2880:                                             ; preds = %2876
  %2881 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.184)
          to label %2882 unwind label %1165

2882:                                             ; preds = %2880
  %2883 = load ptr, ptr @stdout, align 8, !tbaa !9
  %2884 = invoke i32 @fflush(ptr noundef %2883)
          to label %2885 unwind label %1165

2885:                                             ; preds = %2882
  br label %2886

2886:                                             ; preds = %2885, %2876
  br label %2887

2887:                                             ; preds = %2886
  %2888 = load i64, ptr %27, align 8, !tbaa !11
  %2889 = add i64 %2888, 1
  store i64 %2889, ptr %27, align 8, !tbaa !11
  br label %2827, !llvm.loop !57

2890:                                             ; preds = %2827
  %2891 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.185)
          to label %2892 unwind label %1165

2892:                                             ; preds = %2890
  %2893 = load ptr, ptr %25, align 8, !tbaa !9
  %2894 = invoke i32 @fclose(ptr noundef %2893)
          to label %2895 unwind label %1165

2895:                                             ; preds = %2892
  br label %2899

2896:                                             ; preds = %2818
  %2897 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2898 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2897, ptr noundef @.str.210, ptr noundef @buffer_bloom_file) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2899:                                             ; preds = %2895
  br label %2900

2900:                                             ; preds = %2899, %2811
  br label %2901

2901:                                             ; preds = %2900, %2574
  store i64 0, ptr %27, align 8, !tbaa !11
  %2902 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2903 = sext i32 %2902 to i64
  %2904 = call noalias ptr @calloc(i64 noundef %2903, i64 noundef 8) #20
  store ptr %2904, ptr @steps, align 8, !tbaa !9
  %2905 = load ptr, ptr @steps, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2905, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.213, i32 noundef 2030)
          to label %2906 unwind label %1165

2906:                                             ; preds = %2901
  %2907 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2908 = sext i32 %2907 to i64
  %2909 = call noalias ptr @calloc(i64 noundef %2908, i64 noundef 4) #20
  store ptr %2909, ptr @ends, align 8, !tbaa !9
  %2910 = load ptr, ptr @ends, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2910, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.214, i32 noundef 2032)
          to label %2911 unwind label %1165

2911:                                             ; preds = %2906
  %2912 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2913 = sext i32 %2912 to i64
  %2914 = call noalias ptr @calloc(i64 noundef %2913, i64 noundef 8) #20
  store ptr %2914, ptr @tid, align 8, !tbaa !9
  %2915 = load ptr, ptr @tid, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2915, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.201, i32 noundef 2038)
          to label %2916 unwind label %1165

2916:                                             ; preds = %2911
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %2917

2917:                                             ; preds = %2975, %2916
  %2918 = load i32, ptr %40, align 4, !tbaa !5
  %2919 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2920 = icmp slt i32 %2918, %2919
  br i1 %2920, label %2921, label %2978

2921:                                             ; preds = %2917
  %2922 = call noalias ptr @malloc(i64 noundef 24) #19
  store ptr %2922, ptr %8, align 8, !tbaa !9
  %2923 = load ptr, ptr %8, align 8, !tbaa !9
  invoke void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2923, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.215, i32 noundef 2042)
          to label %2924 unwind label %1165

2924:                                             ; preds = %2921
  %2925 = load i32, ptr %40, align 4, !tbaa !5
  %2926 = load ptr, ptr %8, align 8, !tbaa !9
  %2927 = getelementptr inbounds %struct.tothread, ptr %2926, i32 0, i32 0
  store i32 %2925, ptr %2927, align 8, !tbaa !58
  %2928 = load ptr, ptr @steps, align 8, !tbaa !9
  %2929 = load i32, ptr %40, align 4, !tbaa !5
  %2930 = sext i32 %2929 to i64
  %2931 = getelementptr inbounds i64, ptr %2928, i64 %2930
  store i64 0, ptr %2931, align 8, !tbaa !11
  store i32 0, ptr %52, align 4, !tbaa !5
  %2932 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !5
  switch i32 %2932, label %2968 [
    i32 0, label %2933
    i32 1, label %2940
    i32 2, label %2947
    i32 3, label %2954
    i32 4, label %2961
  ]

2933:                                             ; preds = %2924
  %2934 = load ptr, ptr @tid, align 8, !tbaa !9
  %2935 = load i32, ptr %40, align 4, !tbaa !5
  %2936 = sext i32 %2935 to i64
  %2937 = getelementptr inbounds i64, ptr %2934, i64 %2936
  %2938 = load ptr, ptr %8, align 8, !tbaa !9
  %2939 = call i32 @pthread_create(ptr noundef %2937, ptr noundef null, ptr noundef @_Z19thread_process_bsgsPv, ptr noundef %2938) #14
  store i32 %2939, ptr %52, align 4, !tbaa !5
  br label %2968

2940:                                             ; preds = %2924
  %2941 = load ptr, ptr @tid, align 8, !tbaa !9
  %2942 = load i32, ptr %40, align 4, !tbaa !5
  %2943 = sext i32 %2942 to i64
  %2944 = getelementptr inbounds i64, ptr %2941, i64 %2943
  %2945 = load ptr, ptr %8, align 8, !tbaa !9
  %2946 = call i32 @pthread_create(ptr noundef %2944, ptr noundef null, ptr noundef @_Z28thread_process_bsgs_backwardPv, ptr noundef %2945) #14
  store i32 %2946, ptr %52, align 4, !tbaa !5
  br label %2968

2947:                                             ; preds = %2924
  %2948 = load ptr, ptr @tid, align 8, !tbaa !9
  %2949 = load i32, ptr %40, align 4, !tbaa !5
  %2950 = sext i32 %2949 to i64
  %2951 = getelementptr inbounds i64, ptr %2948, i64 %2950
  %2952 = load ptr, ptr %8, align 8, !tbaa !9
  %2953 = call i32 @pthread_create(ptr noundef %2951, ptr noundef null, ptr noundef @_Z24thread_process_bsgs_bothPv, ptr noundef %2952) #14
  store i32 %2953, ptr %52, align 4, !tbaa !5
  br label %2968

2954:                                             ; preds = %2924
  %2955 = load ptr, ptr @tid, align 8, !tbaa !9
  %2956 = load i32, ptr %40, align 4, !tbaa !5
  %2957 = sext i32 %2956 to i64
  %2958 = getelementptr inbounds i64, ptr %2955, i64 %2957
  %2959 = load ptr, ptr %8, align 8, !tbaa !9
  %2960 = call i32 @pthread_create(ptr noundef %2958, ptr noundef null, ptr noundef @_Z26thread_process_bsgs_randomPv, ptr noundef %2959) #14
  store i32 %2960, ptr %52, align 4, !tbaa !5
  br label %2968

2961:                                             ; preds = %2924
  %2962 = load ptr, ptr @tid, align 8, !tbaa !9
  %2963 = load i32, ptr %40, align 4, !tbaa !5
  %2964 = sext i32 %2963 to i64
  %2965 = getelementptr inbounds i64, ptr %2962, i64 %2964
  %2966 = load ptr, ptr %8, align 8, !tbaa !9
  %2967 = call i32 @pthread_create(ptr noundef %2965, ptr noundef null, ptr noundef @_Z25thread_process_bsgs_dancePv, ptr noundef %2966) #14
  store i32 %2967, ptr %52, align 4, !tbaa !5
  br label %2968

2968:                                             ; preds = %2961, %2954, %2947, %2940, %2933, %2924
  %2969 = load i32, ptr %52, align 4, !tbaa !5
  %2970 = icmp ne i32 %2969, 0
  br i1 %2970, label %2971, label %2974

2971:                                             ; preds = %2968
  %2972 = load ptr, ptr @stderr, align 8, !tbaa !9
  %2973 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2972, ptr noundef @.str.216) #14
  call void @exit(i32 noundef 1) #17
  unreachable

2974:                                             ; preds = %2968
  br label %2975

2975:                                             ; preds = %2974
  %2976 = load i32, ptr %40, align 4, !tbaa !5
  %2977 = add nsw i32 %2976, 1
  store i32 %2977, ptr %40, align 4, !tbaa !5
  br label %2917, !llvm.loop !60

2978:                                             ; preds = %2917
  %2979 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free(ptr noundef %2979) #14
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %64) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %64) #14
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %63) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %63) #14
  br label %2982

2980:                                             ; preds = %1217, %1213, %1209, %1177, %1173, %1169, %1165, %1161, %1126, %1113
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %64) #14
  br label %2981

2981:                                             ; preds = %2980, %1109
  call void @llvm.lifetime.end.p0(i64 120, ptr %64) #14
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %63) #14
  call void @llvm.lifetime.end.p0(i64 120, ptr %63) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #14
  br label %3251

2982:                                             ; preds = %2978, %682
  %2983 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %2984 = icmp ne i32 %2983, 2
  br i1 %2984, label %2985, label %3045

2985:                                             ; preds = %2982
  %2986 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2987 = sext i32 %2986 to i64
  %2988 = call noalias ptr @calloc(i64 noundef %2987, i64 noundef 8) #20
  store ptr %2988, ptr @steps, align 8, !tbaa !9
  %2989 = load ptr, ptr @steps, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2989, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.213, i32 noundef 2095)
  %2990 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2991 = sext i32 %2990 to i64
  %2992 = call noalias ptr @calloc(i64 noundef %2991, i64 noundef 4) #20
  store ptr %2992, ptr @ends, align 8, !tbaa !9
  %2993 = load ptr, ptr @ends, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2993, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.214, i32 noundef 2097)
  %2994 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %2995 = sext i32 %2994 to i64
  %2996 = call noalias ptr @calloc(i64 noundef %2995, i64 noundef 8) #20
  store ptr %2996, ptr @tid, align 8, !tbaa !9
  %2997 = load ptr, ptr @tid, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %2997, ptr noundef @.str.81, ptr noundef @.str.108, ptr noundef @.str.201, i32 noundef 2103)
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %2998

2998:                                             ; preds = %3041, %2985
  %2999 = load i32, ptr %40, align 4, !tbaa !5
  %3000 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %3001 = icmp slt i32 %2999, %3000
  br i1 %3001, label %3002, label %3044

3002:                                             ; preds = %2998
  %3003 = call noalias ptr @malloc(i64 noundef 24) #19
  store ptr %3003, ptr %8, align 8, !tbaa !9
  %3004 = load ptr, ptr %8, align 8, !tbaa !9
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %3004, ptr noundef @.str.81, ptr noundef @.str.82, ptr noundef @.str.215, i32 noundef 2106)
  %3005 = load i32, ptr %40, align 4, !tbaa !5
  %3006 = load ptr, ptr %8, align 8, !tbaa !9
  %3007 = getelementptr inbounds %struct.tothread, ptr %3006, i32 0, i32 0
  store i32 %3005, ptr %3007, align 8, !tbaa !58
  %3008 = load ptr, ptr @steps, align 8, !tbaa !9
  %3009 = load i32, ptr %40, align 4, !tbaa !5
  %3010 = sext i32 %3009 to i64
  %3011 = getelementptr inbounds i64, ptr %3008, i64 %3010
  store i64 0, ptr %3011, align 8, !tbaa !11
  store i32 0, ptr %52, align 4, !tbaa !5
  %3012 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  switch i32 %3012, label %3034 [
    i32 1, label %3013
    i32 0, label %3013
    i32 3, label %3013
    i32 5, label %3020
    i32 6, label %3027
  ]

3013:                                             ; preds = %3002, %3002, %3002
  %3014 = load ptr, ptr @tid, align 8, !tbaa !9
  %3015 = load i32, ptr %40, align 4, !tbaa !5
  %3016 = sext i32 %3015 to i64
  %3017 = getelementptr inbounds i64, ptr %3014, i64 %3016
  %3018 = load ptr, ptr %8, align 8, !tbaa !9
  %3019 = call i32 @pthread_create(ptr noundef %3017, ptr noundef null, ptr noundef @_Z14thread_processPv, ptr noundef %3018) #14
  store i32 %3019, ptr %52, align 4, !tbaa !5
  br label %3034

3020:                                             ; preds = %3002
  %3021 = load ptr, ptr @tid, align 8, !tbaa !9
  %3022 = load i32, ptr %40, align 4, !tbaa !5
  %3023 = sext i32 %3022 to i64
  %3024 = getelementptr inbounds i64, ptr %3021, i64 %3023
  %3025 = load ptr, ptr %8, align 8, !tbaa !9
  %3026 = call i32 @pthread_create(ptr noundef %3024, ptr noundef null, ptr noundef @_Z23thread_process_minikeysPv, ptr noundef %3025) #14
  store i32 %3026, ptr %52, align 4, !tbaa !5
  br label %3034

3027:                                             ; preds = %3002
  %3028 = load ptr, ptr @tid, align 8, !tbaa !9
  %3029 = load i32, ptr %40, align 4, !tbaa !5
  %3030 = sext i32 %3029 to i64
  %3031 = getelementptr inbounds i64, ptr %3028, i64 %3030
  %3032 = load ptr, ptr %8, align 8, !tbaa !9
  %3033 = call i32 @pthread_create(ptr noundef %3031, ptr noundef null, ptr noundef @_Z21thread_process_vanityPv, ptr noundef %3032) #14
  store i32 %3033, ptr %52, align 4, !tbaa !5
  br label %3034

3034:                                             ; preds = %3027, %3020, %3013, %3002
  %3035 = load i32, ptr %52, align 4, !tbaa !5
  %3036 = icmp ne i32 %3035, 0
  br i1 %3036, label %3037, label %3040

3037:                                             ; preds = %3034
  %3038 = load ptr, ptr @stderr, align 8, !tbaa !9
  %3039 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3038, ptr noundef @.str.217) #14
  call void @exit(i32 noundef 1) #17
  unreachable

3040:                                             ; preds = %3034
  br label %3041

3041:                                             ; preds = %3040
  %3042 = load i32, ptr %40, align 4, !tbaa !5
  %3043 = add nsw i32 %3042, 1
  store i32 %3043, ptr %40, align 4, !tbaa !5
  br label %2998, !llvm.loop !61

3044:                                             ; preds = %2998
  br label %3045

3045:                                             ; preds = %3044, %2982
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %3046

3046:                                             ; preds = %3057, %3045
  %3047 = load i32, ptr %40, align 4, !tbaa !5
  %3048 = icmp slt i32 %3047, 7
  br i1 %3048, label %3049, label %3060

3049:                                             ; preds = %3046
  %3050 = load i32, ptr %40, align 4, !tbaa !5
  %3051 = sext i32 %3050 to i64
  %3052 = getelementptr inbounds [7 x %class.Int], ptr @int_limits, i64 0, i64 %3051
  %3053 = load i32, ptr %40, align 4, !tbaa !5
  %3054 = sext i32 %3053 to i64
  %3055 = getelementptr inbounds [7 x ptr], ptr @str_limits, i64 0, i64 %3054
  %3056 = load ptr, ptr %3055, align 8, !tbaa !9
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) %3052, ptr noundef %3056)
  br label %3057

3057:                                             ; preds = %3049
  %3058 = load i32, ptr %40, align 4, !tbaa !5
  %3059 = add nsw i32 %3058, 1
  store i32 %3059, ptr %40, align 4, !tbaa !5
  br label %3046, !llvm.loop !62

3060:                                             ; preds = %3046
  store i32 1, ptr %35, align 4, !tbaa !5
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %41, i32 noundef 0)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %42, i32 noundef 0)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef @BSGS_N)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %44, i32 noundef 0)
  br label %3061

3061:                                             ; preds = %3245, %3060
  call void @_Z8sleep_msi(i32 noundef 1000)
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) %44)
  store i32 1, ptr %36, align 4, !tbaa !5
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %3062

3062:                                             ; preds = %3079, %3061
  %3063 = load i32, ptr %40, align 4, !tbaa !5
  %3064 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %3065 = icmp slt i32 %3063, %3064
  br i1 %3065, label %3066, label %3069

3066:                                             ; preds = %3062
  %3067 = load i32, ptr %36, align 4, !tbaa !5
  %3068 = icmp ne i32 %3067, 0
  br label %3069

3069:                                             ; preds = %3066, %3062
  %3070 = phi i1 [ false, %3062 ], [ %3068, %3066 ]
  br i1 %3070, label %3071, label %3082

3071:                                             ; preds = %3069
  %3072 = load ptr, ptr @ends, align 8, !tbaa !9
  %3073 = load i32, ptr %40, align 4, !tbaa !5
  %3074 = sext i32 %3073 to i64
  %3075 = getelementptr inbounds i32, ptr %3072, i64 %3074
  %3076 = load i32, ptr %3075, align 4, !tbaa !5
  %3077 = load i32, ptr %36, align 4, !tbaa !5
  %3078 = and i32 %3077, %3076
  store i32 %3078, ptr %36, align 4, !tbaa !5
  br label %3079

3079:                                             ; preds = %3071
  %3080 = load i32, ptr %40, align 4, !tbaa !5
  %3081 = add nsw i32 %3080, 1
  store i32 %3081, ptr %40, align 4, !tbaa !5
  br label %3062, !llvm.loop !63

3082:                                             ; preds = %3069
  %3083 = load i32, ptr %36, align 4, !tbaa !5
  %3084 = icmp ne i32 %3083, 0
  br i1 %3084, label %3085, label %3086

3085:                                             ; preds = %3082
  store i32 0, ptr %35, align 4, !tbaa !5
  br label %3086

3086:                                             ; preds = %3085, %3082
  %3087 = call noundef zeroext i1 @_ZN3Int9IsGreaterEPS_(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, ptr noundef @ZERO)
  br i1 %3087, label %3088, label %3244

3088:                                             ; preds = %3086
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef %44)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef @OUTPUTSECONDS)
  %3089 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX)
  br i1 %3089, label %3090, label %3243

3090:                                             ; preds = %3088
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %41, i32 noundef 0)
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %3091

3091:                                             ; preds = %3101, %3090
  %3092 = load i32, ptr %40, align 4, !tbaa !5
  %3093 = load i32, ptr @NTHREADS, align 4, !tbaa !5
  %3094 = icmp slt i32 %3092, %3093
  br i1 %3094, label %3095, label %3104

3095:                                             ; preds = %3091
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %42, ptr noundef %43)
  %3096 = load ptr, ptr @steps, align 8, !tbaa !9
  %3097 = load i32, ptr %40, align 4, !tbaa !5
  %3098 = sext i32 %3097 to i64
  %3099 = getelementptr inbounds i64, ptr %3096, i64 %3098
  %3100 = load i64, ptr %3099, align 8, !tbaa !11
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %42, i64 noundef %3100)
  call void @_ZN3Int3AddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %41, ptr noundef %42)
  br label %3101

3101:                                             ; preds = %3095
  %3102 = load i32, ptr %40, align 4, !tbaa !5
  %3103 = add nsw i32 %3102, 1
  store i32 %3103, ptr %40, align 4, !tbaa !5
  br label %3091, !llvm.loop !64

3104:                                             ; preds = %3091
  %3105 = load i32, ptr @FLAGENDOMORPHISM, align 4, !tbaa !5
  %3106 = icmp ne i32 %3105, 0
  br i1 %3106, label %3107, label %3113

3107:                                             ; preds = %3104
  %3108 = load i32, ptr @FLAGMODE, align 4, !tbaa !5
  %3109 = icmp eq i32 %3108, 0
  br i1 %3109, label %3110, label %3111

3110:                                             ; preds = %3107
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %41, i64 noundef 3)
  br label %3112

3111:                                             ; preds = %3107
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %41, i64 noundef 6)
  br label %3112

3112:                                             ; preds = %3111, %3110
  br label %3118

3113:                                             ; preds = %3104
  %3114 = load i32, ptr @FLAGSEARCH, align 4, !tbaa !5
  %3115 = icmp eq i32 %3114, 1
  br i1 %3115, label %3116, label %3117

3116:                                             ; preds = %3113
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %41, i64 noundef 2)
  br label %3117

3117:                                             ; preds = %3116, %3113
  br label %3118

3118:                                             ; preds = %3117, %3112
  %3119 = call i32 @pthread_mutex_lock(ptr noundef @bsgs_thread) #14
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %42, ptr noundef %41)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %42, ptr noundef %44, ptr noundef null)
  %3120 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %44)
  store ptr %3120, ptr %17, align 8, !tbaa !9
  %3121 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %42)
  store ptr %3121, ptr %19, align 8, !tbaa !9
  %3122 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %41)
  store ptr %3122, ptr %18, align 8, !tbaa !9
  %3123 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) %42, ptr noundef @int_limits)
  br i1 %3123, label %3124, label %3140

3124:                                             ; preds = %3118
  %3125 = load i32, ptr @FLAGMATRIX, align 4, !tbaa !5
  %3126 = icmp ne i32 %3125, 0
  br i1 %3126, label %3127, label %3133

3127:                                             ; preds = %3124
  %3128 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
  %3129 = load ptr, ptr %18, align 8, !tbaa !9
  %3130 = load ptr, ptr %17, align 8, !tbaa !9
  %3131 = load ptr, ptr %19, align 8, !tbaa !9
  %3132 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %3128, ptr noundef @.str.218, ptr noundef %3129, ptr noundef %3130, ptr noundef %3131) #14
  br label %3139

3133:                                             ; preds = %3124
  %3134 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
  %3135 = load ptr, ptr %18, align 8, !tbaa !9
  %3136 = load ptr, ptr %17, align 8, !tbaa !9
  %3137 = load ptr, ptr %19, align 8, !tbaa !9
  %3138 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %3134, ptr noundef @.str.219, ptr noundef %3135, ptr noundef %3136, ptr noundef %3137) #14
  br label %3139

3139:                                             ; preds = %3133, %3127
  br label %3234

3140:                                             ; preds = %3118
  store i64 0, ptr %27, align 8, !tbaa !11
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %3141

3141:                                             ; preds = %3159, %3140
  %3142 = load i64, ptr %27, align 8, !tbaa !11
  %3143 = icmp ult i64 %3142, 6
  br i1 %3143, label %3144, label %3148

3144:                                             ; preds = %3141
  %3145 = load i32, ptr %38, align 4, !tbaa !5
  %3146 = icmp ne i32 %3145, 0
  %3147 = xor i1 %3146, true
  br label %3148

3148:                                             ; preds = %3144, %3141
  %3149 = phi i1 [ false, %3141 ], [ %3147, %3144 ]
  br i1 %3149, label %3150, label %3160

3150:                                             ; preds = %3148
  %3151 = load i64, ptr %27, align 8, !tbaa !11
  %3152 = add i64 %3151, 1
  %3153 = getelementptr inbounds [7 x %class.Int], ptr @int_limits, i64 0, i64 %3152
  %3154 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) %42, ptr noundef %3153)
  br i1 %3154, label %3155, label %3156

3155:                                             ; preds = %3150
  store i32 1, ptr %38, align 4, !tbaa !5
  br label %3159

3156:                                             ; preds = %3150
  %3157 = load i64, ptr %27, align 8, !tbaa !11
  %3158 = add i64 %3157, 1
  store i64 %3158, ptr %27, align 8, !tbaa !11
  br label %3159

3159:                                             ; preds = %3156, %3155
  br label %3141, !llvm.loop !65

3160:                                             ; preds = %3148
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef %42)
  %3161 = load i32, ptr %38, align 4, !tbaa !5
  %3162 = icmp ne i32 %3161, 0
  br i1 %3162, label %3163, label %3165

3163:                                             ; preds = %3160
  %3164 = load i64, ptr %27, align 8, !tbaa !11
  br label %3168

3165:                                             ; preds = %3160
  %3166 = load i64, ptr %27, align 8, !tbaa !11
  %3167 = sub i64 %3166, 1
  br label %3168

3168:                                             ; preds = %3165, %3163
  %3169 = phi i64 [ %3164, %3163 ], [ %3167, %3165 ]
  %3170 = getelementptr inbounds [7 x %class.Int], ptr @int_limits, i64 0, i64 %3169
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef %3170, ptr noundef null)
  %3171 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %45)
  store ptr %3171, ptr %20, align 8, !tbaa !9
  %3172 = load i32, ptr @FLAGMATRIX, align 4, !tbaa !5
  %3173 = icmp ne i32 %3172, 0
  br i1 %3173, label %3174, label %3192

3174:                                             ; preds = %3168
  %3175 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
  %3176 = load ptr, ptr %18, align 8, !tbaa !9
  %3177 = load ptr, ptr %17, align 8, !tbaa !9
  %3178 = load ptr, ptr %20, align 8, !tbaa !9
  %3179 = load i32, ptr %38, align 4, !tbaa !5
  %3180 = icmp ne i32 %3179, 0
  br i1 %3180, label %3181, label %3183

3181:                                             ; preds = %3174
  %3182 = load i64, ptr %27, align 8, !tbaa !11
  br label %3186

3183:                                             ; preds = %3174
  %3184 = load i64, ptr %27, align 8, !tbaa !11
  %3185 = sub i64 %3184, 1
  br label %3186

3186:                                             ; preds = %3183, %3181
  %3187 = phi i64 [ %3182, %3181 ], [ %3185, %3183 ]
  %3188 = getelementptr inbounds [7 x ptr], ptr @str_limits_prefixs, i64 0, i64 %3187
  %3189 = load ptr, ptr %3188, align 8, !tbaa !9
  %3190 = load ptr, ptr %19, align 8, !tbaa !9
  %3191 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %3175, ptr noundef @.str.220, ptr noundef %3176, ptr noundef %3177, ptr noundef %3178, ptr noundef %3189, ptr noundef %3190) #14
  br label %3232

3192:                                             ; preds = %3168
  %3193 = load i32, ptr @THREADOUTPUT, align 4, !tbaa !5
  %3194 = icmp eq i32 %3193, 1
  br i1 %3194, label %3195, label %3213

3195:                                             ; preds = %3192
  %3196 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
  %3197 = load ptr, ptr %18, align 8, !tbaa !9
  %3198 = load ptr, ptr %17, align 8, !tbaa !9
  %3199 = load ptr, ptr %20, align 8, !tbaa !9
  %3200 = load i32, ptr %38, align 4, !tbaa !5
  %3201 = icmp ne i32 %3200, 0
  br i1 %3201, label %3202, label %3204

3202:                                             ; preds = %3195
  %3203 = load i64, ptr %27, align 8, !tbaa !11
  br label %3207

3204:                                             ; preds = %3195
  %3205 = load i64, ptr %27, align 8, !tbaa !11
  %3206 = sub i64 %3205, 1
  br label %3207

3207:                                             ; preds = %3204, %3202
  %3208 = phi i64 [ %3203, %3202 ], [ %3206, %3204 ]
  %3209 = getelementptr inbounds [7 x ptr], ptr @str_limits_prefixs, i64 0, i64 %3208
  %3210 = load ptr, ptr %3209, align 8, !tbaa !9
  %3211 = load ptr, ptr %19, align 8, !tbaa !9
  %3212 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %3196, ptr noundef @.str.221, ptr noundef %3197, ptr noundef %3198, ptr noundef %3199, ptr noundef %3210, ptr noundef %3211) #14
  br label %3231

3213:                                             ; preds = %3192
  %3214 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
  %3215 = load ptr, ptr %18, align 8, !tbaa !9
  %3216 = load ptr, ptr %17, align 8, !tbaa !9
  %3217 = load ptr, ptr %20, align 8, !tbaa !9
  %3218 = load i32, ptr %38, align 4, !tbaa !5
  %3219 = icmp ne i32 %3218, 0
  br i1 %3219, label %3220, label %3222

3220:                                             ; preds = %3213
  %3221 = load i64, ptr %27, align 8, !tbaa !11
  br label %3225

3222:                                             ; preds = %3213
  %3223 = load i64, ptr %27, align 8, !tbaa !11
  %3224 = sub i64 %3223, 1
  br label %3225

3225:                                             ; preds = %3222, %3220
  %3226 = phi i64 [ %3221, %3220 ], [ %3224, %3222 ]
  %3227 = getelementptr inbounds [7 x ptr], ptr @str_limits_prefixs, i64 0, i64 %3226
  %3228 = load ptr, ptr %3227, align 8, !tbaa !9
  %3229 = load ptr, ptr %19, align 8, !tbaa !9
  %3230 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %3214, ptr noundef @.str.221, ptr noundef %3215, ptr noundef %3216, ptr noundef %3217, ptr noundef %3228, ptr noundef %3229) #14
  br label %3231

3231:                                             ; preds = %3225, %3207
  br label %3232

3232:                                             ; preds = %3231, %3186
  %3233 = load ptr, ptr %20, align 8, !tbaa !9
  call void @free(ptr noundef %3233) #14
  br label %3234

3234:                                             ; preds = %3232, %3139
  %3235 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
  %3236 = call i32 (ptr, ...) @printf(ptr noundef @.str.222, ptr noundef %3235)
  %3237 = load ptr, ptr @stdout, align 8, !tbaa !9
  %3238 = call i32 @fflush(ptr noundef %3237)
  store i32 0, ptr @THREADOUTPUT, align 4, !tbaa !5
  %3239 = call i32 @pthread_mutex_unlock(ptr noundef @bsgs_thread) #14
  %3240 = load ptr, ptr %17, align 8, !tbaa !9
  call void @free(ptr noundef %3240) #14
  %3241 = load ptr, ptr %19, align 8, !tbaa !9
  call void @free(ptr noundef %3241) #14
  %3242 = load ptr, ptr %18, align 8, !tbaa !9
  call void @free(ptr noundef %3242) #14
  br label %3243

3243:                                             ; preds = %3234, %3088
  br label %3244

3244:                                             ; preds = %3243, %3086
  br label %3245

3245:                                             ; preds = %3244
  %3246 = load i32, ptr %35, align 4, !tbaa !5
  %3247 = icmp ne i32 %3246, 0
  br i1 %3247, label %3061, label %3248, !llvm.loop !66

3248:                                             ; preds = %3245
  %3249 = call i32 (ptr, ...) @printf(ptr noundef @.str.223)
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %48) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %47) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %46) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %41) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #14
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #14
  call void @llvm.lifetime.end.p0(i64 2048, ptr %6) #14
  %3250 = load i32, ptr %3, align 4
  ret i32 %3250

3251:                                             ; preds = %2981, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %49) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %48) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %47) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %46) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %45) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %42) #14
  call void @llvm.lifetime.end.p0(i64 40, ptr %41) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #14
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #14
  call void @llvm.lifetime.end.p0(i64 2048, ptr %6) #14
  br label %3252

3252:                                             ; preds = %3251
  %3253 = load ptr, ptr %53, align 8
  %3254 = load i32, ptr %54, align 4
  %3255 = insertvalue { ptr, i32 } poison, ptr %3253, 0
  %3256 = insertvalue { ptr, i32 } %3255, i32 %3254, 1
  resume { ptr, i32 } %3256
}

; 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

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

; 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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #9

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

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

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) #9

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

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

declare void @_Z15stringtokenizerPcP13str_tokenizer(ptr noundef, ptr noundef) #1

declare noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef) #1

declare noundef i32 @_Z10isValidHexPc(ptr noundef) #1

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

declare noundef zeroext i1 @_ZN3Int7IsLowerEPS_(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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z19isValidBase58StringPc(ptr noundef) #8

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z15readFileAddressPc(ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z14readFileVanityPc(ptr noundef) #7

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

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

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

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

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

declare noundef ptr @_Z4trimPcPKc(ptr noundef, ptr noundef) #1

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

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

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

declare noundef zeroext i1 @_ZN9Secp256K117ParsePublicKeyHexEPcR5PointRb(ptr noundef nonnull align 8 dereferenceable(983240), ptr noundef, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 1 dereferenceable(1)) #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) #8 align 2

declare void @_Z13freetokenizerP13str_tokenizer(ptr noundef) #1

declare i32 @fclose(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 @_ZN3Int4RandEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) #1

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

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) #13

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

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

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
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #0

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) #9

; 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: mustprogress uwtable
declare dso_local noundef ptr @_Z19thread_process_bsgsPv(ptr noundef) #7

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8sleep_msi(i32 noundef) #7

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

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

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 = { 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 #9 = { 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 #10 = { 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 #11 = { 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 #12 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #13 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #14 = { nounwind }
attributes #15 = { builtin allocsize(0) }
attributes #16 = { builtin nounwind }
attributes #17 = { noreturn nounwind }
attributes #18 = { nounwind willreturn memory(read) }
attributes #19 = { nounwind allocsize(0) }
attributes #20 = { nounwind allocsize(0,1) }

!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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !6, i64 4}
!17 = !{!"_ZTS13str_tokenizer", !6, i64 0, !6, i64 4, !10, i64 8}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = !{!23, !12, i64 16}
!23 = !{!"_ZTS5bloom", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !24, i64 32, !7, i64 48, !7, i64 49, !7, i64 50, !25, i64 56, !10, i64 64}
!24 = !{!"long double", !7, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}
!29 = !{i64 0, i64 40, !13, i64 40, i64 40, !13, i64 80, i64 40, !13}
!30 = distinct !{!30, !15}
!31 = distinct !{!31, !15}
!32 = distinct !{!32, !15}
!33 = !{!23, !10, i64 64}
!34 = distinct !{!34, !15}
!35 = distinct !{!35, !15}
!36 = distinct !{!36, !15}
!37 = distinct !{!37, !15}
!38 = distinct !{!38, !15}
!39 = !{!40, !12, i64 8}
!40 = !{!"_ZTS6bPload", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !6, i64 40, !6, i64 44}
!41 = !{!40, !6, i64 0}
!42 = !{!40, !6, i64 44}
!43 = !{!40, !12, i64 16}
!44 = !{!40, !12, i64 32}
!45 = distinct !{!45, !15}
!46 = distinct !{!46, !15}
!47 = distinct !{!47, !15}
!48 = distinct !{!48, !15}
!49 = distinct !{!49, !15}
!50 = distinct !{!50, !15}
!51 = distinct !{!51, !15}
!52 = distinct !{!52, !15}
!53 = distinct !{!53, !15}
!54 = distinct !{!54, !15}
!55 = distinct !{!55, !15}
!56 = distinct !{!56, !15}
!57 = distinct !{!57, !15}
!58 = !{!59, !6, i64 0}
!59 = !{!"_ZTS8tothread", !6, i64 0, !10, i64 8, !10, i64 16}
!60 = distinct !{!60, !15}
!61 = distinct !{!61, !15}
!62 = distinct !{!62, !15}
!63 = distinct !{!63, !15}
!64 = distinct !{!64, !15}
!65 = distinct !{!65, !15}
!66 = distinct !{!66, !15}


; 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.str_tokenizer = type { i32, i32, ptr }
%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
@Ccoinbuffer = external dso_local local_unnamed_addr global ptr, align 8
@str_baseminikey = external dso_local local_unnamed_addr global ptr, align 8
@raw_baseminikey = external dso_local local_unnamed_addr global ptr, align 8
@minikeyN = external dso_local local_unnamed_addr global ptr, align 8
@minikey_n_limit = external dso_local local_unnamed_addr global i32, align 4
@version = external dso_local local_unnamed_addr global ptr, align 8
@GSn = external dso_local global %"class.std::vector", align 8
@_2GSn = external dso_local local_unnamed_addr global %class.Point, align 8
@THREADOUTPUT = external dso_local local_unnamed_addr global i32, align 4
@bit_range_str_min = external dso_local local_unnamed_addr global ptr, align 8
@bit_range_str_max = external dso_local local_unnamed_addr global ptr, align 8
@bsgs_modes = external dso_local global [5 x ptr], align 16
@modes = external dso_local global [7 x ptr], align 16
@cryptos = external dso_local global [3 x ptr], align 16
@publicsearch = external dso_local global [3 x ptr], align 16
@default_fileName = external dso_local local_unnamed_addr global ptr, align 8
@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
@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
@vanity_bloom = external dso_local local_unnamed_addr global ptr, align 8
@steps = external dso_local local_unnamed_addr global ptr, align 8
@ends = external dso_local local_unnamed_addr global ptr, align 8
@N = external dso_local local_unnamed_addr global i64, align 8
@N_SEQUENTIAL_MAX = external dso_local local_unnamed_addr global i64, align 8
@DEBUGCOUNT = external dso_local local_unnamed_addr global i64, align 8
@OUTPUTSECONDS = external dso_local global %class.Int, align 8
@FLAGSKIPCHECKSUM = external dso_local local_unnamed_addr global i32, align 4
@FLAGENDOMORPHISM = external dso_local local_unnamed_addr global i32, align 4
@FLAGBLOOMMULTIPLIER = external dso_local local_unnamed_addr global i32, align 4
@FLAGVANITY = external dso_local local_unnamed_addr global i32, align 4
@FLAGBASEMINIKEY = external dso_local local_unnamed_addr global i32, align 4
@FLAGBSGSMODE = external dso_local local_unnamed_addr global i32, align 4
@FLAGDEBUG = external dso_local local_unnamed_addr global i32, align 4
@FLAGQUIET = external dso_local local_unnamed_addr global i32, align 4
@FLAGMATRIX = 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
@FLAGSTRIDE = external dso_local local_unnamed_addr global i32, align 4
@FLAGSEARCH = external dso_local local_unnamed_addr global i32, align 4
@FLAGBITRANGE = external dso_local local_unnamed_addr global i32, align 4
@FLAGRANGE = external dso_local local_unnamed_addr global i32, align 4
@FLAGFILE = external dso_local local_unnamed_addr global i32, align 4
@FLAGMODE = external dso_local local_unnamed_addr global i32, align 4
@FLAGCRYPTO = external dso_local local_unnamed_addr global i32, align 4
@FLAGRANDOM = external dso_local local_unnamed_addr global i32, align 4
@FLAG_N = external dso_local local_unnamed_addr global i32, align 4
@bitrange = external dso_local local_unnamed_addr global i32, align 4
@str_N = external dso_local local_unnamed_addr global ptr, align 8
@range_start = external dso_local local_unnamed_addr global ptr, align 8
@range_end = external dso_local local_unnamed_addr global ptr, align 8
@str_stride = external dso_local local_unnamed_addr global ptr, align 8
@stride = external dso_local global %class.Int, align 8
@bsgs_found = external dso_local local_unnamed_addr global ptr, align 8
@OriginalPointsBSGS = external dso_local global %"class.std::vector", align 8
@OriginalPointsBSGScompressed = external dso_local local_unnamed_addr global ptr, 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
@addressTable = 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_point_number = external dso_local local_unnamed_addr global i32, align 4
@str_limits_prefixs = external dso_local local_unnamed_addr global [7 x ptr], align 16
@str_limits = external dso_local local_unnamed_addr global [7 x ptr], align 16
@int_limits = external dso_local global [7 x %class.Int], align 16
@BSGS_GROUP_SIZE = external dso_local global %class.Int, align 8
@BSGS_CURRENT = 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_N_double = 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
@MPZAUX = 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
@n_range_start = external dso_local global %class.Int, align 8
@n_range_end = external dso_local global %class.Int, align 8
@n_range_diff = external dso_local global %class.Int, align 8
@n_range_aux = external dso_local global %class.Int, align 8
@lambda = external dso_local global %class.Int, align 8
@lambda2 = external dso_local global %class.Int, align 8
@beta = external dso_local global %class.Int, align 8
@beta2 = external dso_local global %class.Int, align 8
@secp = external dso_local local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.76 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [33 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.80 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.113 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.114 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.119 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.120 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.123 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.134 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.137 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.139 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.141 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.148 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.169 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.191 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.220 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [6 x i8], align 1
@switch.table.main = private unnamed_addr constant [5 x ptr] [ptr @_Z19thread_process_bsgsPv, ptr @_Z28thread_process_bsgs_backwardPv, ptr @_Z24thread_process_bsgs_bothPv, ptr @_Z26thread_process_bsgs_randomPv, ptr @_Z25thread_process_bsgs_dancePv], align 8
@switch.table.main.1 = private unnamed_addr constant [7 x ptr] [ptr @_Z14thread_processPv, ptr @_Z14thread_processPv, ptr @_Z14thread_processPv, ptr @_Z14thread_processPv, ptr @_Z14thread_processPv, ptr @_Z23thread_process_minikeysPv, ptr @_Z21thread_process_vanityPv], align 8

; 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) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca [2048 x i8], align 16
  %4 = alloca [32 x i8], align 16
  %5 = alloca %struct.str_tokenizer, align 8
  %6 = alloca %struct.str_tokenizer, 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 %class.Int, align 8
  %14 = alloca %class.Int, align 8
  %15 = alloca %class.Int, align 8
  %16 = alloca i64, 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 %class.Point, align 8
  %32 = alloca %class.Point, align 8
  %33 = alloca %class.Point, align 8
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %3) #20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #20
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %8)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %10)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %12)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %13)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %14)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #20
  call void @_ZN3IntC1Ev(ptr noundef nonnull align 8 dereferenceable(40) %15)
  %34 = call i32 @pthread_mutex_init(ptr noundef nonnull @write_keys, ptr noundef null) #20
  %35 = call i32 @pthread_mutex_init(ptr noundef nonnull @write_random, ptr noundef null) #20
  %36 = call i32 @pthread_mutex_init(ptr noundef nonnull @bsgs_thread, ptr noundef null) #20
  %37 = call i64 @time(ptr noundef null) #20
  %38 = trunc i64 %37 to i32
  call void @srand(i32 noundef %38) #20
  %39 = call noalias noundef nonnull dereferenceable(983240) ptr @_Znwm(i64 noundef 983240) #21
  invoke void @_ZN9Secp256K1C1Ev(ptr noundef nonnull align 8 dereferenceable(983240) %39)
          to label %40 unwind label %49

40:                                               ; preds = %2
  store ptr %39, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240) %39)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, i32 noundef 30)
  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 %16) #20
  %41 = call i64 @getrandom(ptr noundef nonnull %16, i64 noundef 8, i32 noundef 1)
  %42 = trunc i64 %41 to i32
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %44, label %51

44:                                               ; preds = %40
  %45 = load i64, ptr %16, align 8, !tbaa !9
  call void @_Z5rseedm(i64 noundef %45)
  %46 = load ptr, ptr @version, align 8, !tbaa !5
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.77, ptr noundef %46)
  %48 = getelementptr inbounds i8, ptr %5, i64 4
  br label %54

49:                                               ; preds = %2
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %39, i64 noundef 983240) #22
  br label %1796

51:                                               ; preds = %40
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str.76) #23
  call void @exit(i32 noundef 1) #24
  unreachable

54:                                               ; preds = %.loopexit743, %44
  %.0530 = phi ptr [ null, %44 ], [ %.1531, %.loopexit743 ]
  %55 = call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.78) #20
  switch i32 %55, label %277 [
    i32 -1, label %280
    i32 104, label %56
    i32 54, label %57
    i32 66, label %60
    i32 98, label %68
    i32 99, label %90
    i32 67, label %100
    i32 100, label %133
    i32 101, label %135
    i32 102, label %137
    i32 73, label %139
    i32 107, label %141
    i32 108, label %146
    i32 77, label %155
    i32 109, label %157
    i32 110, label %181
    i32 113, label %183
    i32 82, label %185
    i32 114, label %187
    i32 115, label %223
    i32 83, label %234
    i32 116, label %235
    i32 118, label %242
    i32 56, label %263
    i32 122, label %272
  ]

56:                                               ; preds = %54
  call void @_Z4menuv()
  br label %.loopexit743

57:                                               ; preds = %54
  store i32 1, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %58 = load ptr, ptr @stderr, align 8, !tbaa !5
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef nonnull @.str.79) #23
  br label %.loopexit743

60:                                               ; preds = %54
  %61 = load ptr, ptr @optarg, align 8, !tbaa !5
  %62 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %61, ptr noundef nonnull @bsgs_modes, i32 noundef 5)
  %or.cond = icmp ult i32 %62, 5
  br i1 %or.cond, label %63, label %64

63:                                               ; preds = %60
  store i32 %62, ptr @FLAGBSGSMODE, align 4, !tbaa !11
  br label %.loopexit743

64:                                               ; preds = %60
  %65 = load ptr, ptr @stderr, align 8, !tbaa !5
  %66 = load ptr, ptr @optarg, align 8, !tbaa !5
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef nonnull @.str.80, ptr noundef %66) #23
  br label %.loopexit743

68:                                               ; preds = %54
  %69 = load ptr, ptr @optarg, align 8, !tbaa !5
  %70 = call i64 @strtol(ptr nocapture noundef %69, ptr noundef null, i32 noundef 10) #20
  %71 = trunc i64 %70 to i32
  store i32 %71, ptr @bitrange, align 4, !tbaa !11
  %72 = add i32 %71, -1
  %or.cond3 = icmp ult i32 %72, 256
  br i1 %or.cond3, label %73, label %86

73:                                               ; preds = %68
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef nonnull @ONE)
  %74 = load i32, ptr @bitrange, align 4, !tbaa !11
  %75 = add nsw i32 %74, -1
  call void @_ZN3Int6ShiftLEj(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, i32 noundef %75)
  %76 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX)
  store ptr %76, ptr @bit_range_str_min, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %76, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.83, i32 noundef 513)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef nonnull @ONE)
  %77 = load i32, ptr @bitrange, align 4, !tbaa !11
  call void @_ZN3Int6ShiftLEj(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, i32 noundef %77)
  %78 = load ptr, ptr @secp, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 160
  %80 = call noundef zeroext i1 @_ZN3Int9IsGreaterEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef nonnull %79)
  br i1 %80, label %81, label %84

81:                                               ; preds = %73
  %82 = load ptr, ptr @secp, align 8, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %82, i64 160
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef nonnull %83)
  br label %84

84:                                               ; preds = %81, %73
  %85 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX)
  store ptr %85, ptr @bit_range_str_max, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %85, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.83, i32 noundef 520)
  store i32 1, ptr @FLAGBITRANGE, align 4, !tbaa !11
  br label %.loopexit743

86:                                               ; preds = %68
  %87 = load ptr, ptr @stderr, align 8, !tbaa !5
  %88 = load ptr, ptr @optarg, align 8, !tbaa !5
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.84, ptr noundef %88) #23
  br label %.loopexit743

90:                                               ; preds = %54
  %91 = load ptr, ptr @optarg, align 8, !tbaa !5
  %92 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %91, ptr noundef nonnull @cryptos, i32 noundef 3)
  switch i32 %92, label %96 [
    i32 0, label %93
    i32 1, label %94
  ]

93:                                               ; preds = %90
  store i32 1, ptr @FLAGCRYPTO, align 4, !tbaa !11
  br label %.loopexit743

94:                                               ; preds = %90
  store i32 2, ptr @FLAGCRYPTO, align 4, !tbaa !11
  %95 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.85)
  br label %.loopexit743

96:                                               ; preds = %90
  store i32 0, ptr @FLAGCRYPTO, align 4, !tbaa !11
  %97 = load ptr, ptr @stderr, align 8, !tbaa !5
  %98 = load ptr, ptr @optarg, align 8, !tbaa !5
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef nonnull @.str.86, ptr noundef %98) #23
  call void @exit(i32 noundef 1) #24
  unreachable

100:                                              ; preds = %54
  %101 = load ptr, ptr @optarg, align 8, !tbaa !5
  %102 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %101) #25
  %103 = icmp eq i64 %102, 22
  br i1 %103, label %104, label %130

104:                                              ; preds = %100
  store i32 1, ptr @FLAGBASEMINIKEY, align 4, !tbaa !11
  %105 = call noalias dereferenceable_or_null(23) ptr @malloc(i64 noundef 23) #26
  store ptr %105, ptr @str_baseminikey, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %105, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.87, i32 noundef 553)
  %106 = call noalias dereferenceable_or_null(23) ptr @malloc(i64 noundef 23) #26
  store ptr %106, ptr @raw_baseminikey, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %106, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.88, i32 noundef 555)
  %107 = load ptr, ptr @str_baseminikey, align 8, !tbaa !5
  %108 = load ptr, ptr @optarg, align 8, !tbaa !5
  %109 = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %107, ptr noundef nonnull dereferenceable(1) %108, i64 noundef 22) #20
  br label %110

110:                                              ; preds = %104, %118
  %.0545766 = phi i64 [ 0, %104 ], [ %113, %118 ]
  %111 = load ptr, ptr @Ccoinbuffer, align 8, !tbaa !5
  %112 = load ptr, ptr @str_baseminikey, align 8, !tbaa !5
  %113 = add nuw nsw i64 %.0545766, 1
  %114 = getelementptr inbounds i8, ptr %112, i64 %113
  %115 = load i8, ptr %114, align 1, !tbaa !13
  %116 = sext i8 %115 to i32
  %117 = call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %111, i32 noundef %116) #25
  %.not695 = icmp eq ptr %117, null
  br i1 %.not695, label %127, label %118

118:                                              ; preds = %110
  %119 = ptrtoint ptr %117 to i64
  %120 = ptrtoint ptr %111 to i64
  %121 = sub i64 %119, %120
  %122 = trunc i64 %121 to i32
  %123 = srem i32 %122, 58
  %124 = trunc nsw i32 %123 to i8
  %125 = load ptr, ptr @raw_baseminikey, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %125, i64 %.0545766
  store i8 %124, ptr %126, align 1, !tbaa !13
  %exitcond.not = icmp eq i64 %113, 21
  br i1 %exitcond.not, label %.loopexit743, label %110, !llvm.loop !14

127:                                              ; preds = %110
  %128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.89) #23
  call void @exit(i32 noundef 1) #24
  unreachable

130:                                              ; preds = %100
  %131 = load ptr, ptr @stderr, align 8, !tbaa !5
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef nonnull @.str.90, i64 noundef %102, ptr noundef %101) #23
  call void @exit(i32 noundef 1) #24
  unreachable

133:                                              ; preds = %54
  store i32 1, ptr @FLAGDEBUG, align 4, !tbaa !11
  %134 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.91)
  br label %.loopexit743

135:                                              ; preds = %54
  store i32 1, ptr @FLAGENDOMORPHISM, align 4, !tbaa !11
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.92)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @lambda, ptr noundef nonnull @.str.93)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @lambda2, ptr noundef nonnull @.str.94)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @beta, ptr noundef nonnull @.str.95)
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @beta2, ptr noundef nonnull @.str.96)
  br label %.loopexit743

137:                                              ; preds = %54
  store i32 1, ptr @FLAGFILE, align 4, !tbaa !11
  %138 = load ptr, ptr @optarg, align 8, !tbaa !5
  br label %.loopexit743

139:                                              ; preds = %54
  store i32 1, ptr @FLAGSTRIDE, align 4, !tbaa !11
  %140 = load ptr, ptr @optarg, align 8, !tbaa !5
  store ptr %140, ptr @str_stride, align 8, !tbaa !5
  br label %.loopexit743

141:                                              ; preds = %54
  %142 = load ptr, ptr @optarg, align 8, !tbaa !5
  %143 = call i64 @strtol(ptr nocapture noundef %142, ptr noundef null, i32 noundef 10) #20
  %144 = trunc i64 %143 to i32
  %spec.store.select = call i32 @llvm.smax.i32(i32 %144, i32 1)
  store i32 %spec.store.select, ptr @KFACTOR, align 4
  %145 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.97, i32 noundef %spec.store.select)
  br label %.loopexit743

146:                                              ; preds = %54
  %147 = load ptr, ptr @optarg, align 8, !tbaa !5
  %148 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %147, ptr noundef nonnull @publicsearch, i32 noundef 3)
  switch i32 %148, label %.loopexit743 [
    i32 0, label %149
    i32 1, label %151
    i32 2, label %153
  ]

149:                                              ; preds = %146
  store i32 0, ptr @FLAGSEARCH, align 4, !tbaa !11
  %150 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.98)
  br label %.loopexit743

151:                                              ; preds = %146
  store i32 1, ptr @FLAGSEARCH, align 4, !tbaa !11
  %152 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.99)
  br label %.loopexit743

153:                                              ; preds = %146
  store i32 2, ptr @FLAGSEARCH, align 4, !tbaa !11
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.100)
  br label %.loopexit743

155:                                              ; preds = %54
  store i32 1, ptr @FLAGMATRIX, align 4, !tbaa !11
  %156 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.101)
  br label %.loopexit743

157:                                              ; preds = %54
  %158 = load ptr, ptr @optarg, align 8, !tbaa !5
  %159 = call noundef i32 @_Z7indexOfPcPPKci(ptr noundef %158, ptr noundef nonnull @modes, i32 noundef 7)
  switch i32 %159, label %177 [
    i32 0, label %160
    i32 1, label %162
    i32 2, label %164
    i32 3, label %165
    i32 4, label %167
    i32 5, label %169
    i32 6, label %171
  ]

160:                                              ; preds = %157
  store i32 0, ptr @FLAGMODE, align 4, !tbaa !11
  %161 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.102)
  br label %.loopexit743

162:                                              ; preds = %157
  store i32 1, ptr @FLAGMODE, align 4, !tbaa !11
  %163 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.103)
  br label %.loopexit743

164:                                              ; preds = %157
  store i32 2, ptr @FLAGMODE, align 4, !tbaa !11
  br label %.loopexit743

165:                                              ; preds = %157
  store i32 3, ptr @FLAGMODE, align 4, !tbaa !11
  store i32 1, ptr @FLAGCRYPTO, align 4, !tbaa !11
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.104)
  br label %.loopexit743

167:                                              ; preds = %157
  store i32 4, ptr @FLAGMODE, align 4, !tbaa !11
  %168 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.105)
  call void @exit(i32 noundef 0) #24
  unreachable

169:                                              ; preds = %157
  store i32 5, ptr @FLAGMODE, align 4, !tbaa !11
  %170 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.106)
  br label %.loopexit743

171:                                              ; preds = %157
  store i32 6, ptr @FLAGMODE, align 4, !tbaa !11
  %172 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.107)
  %173 = load ptr, ptr @vanity_bloom, align 8, !tbaa !5
  %174 = icmp eq ptr %173, null
  br i1 %174, label %175, label %.loopexit743

175:                                              ; preds = %171
  %176 = call noalias dereferenceable_or_null(80) ptr @calloc(i64 noundef 1, i64 noundef 80) #27
  store ptr %176, ptr @vanity_bloom, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %176, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.109, i32 noundef 655)
  br label %.loopexit743

177:                                              ; preds = %157
  %178 = load ptr, ptr @stderr, align 8, !tbaa !5
  %179 = load ptr, ptr @optarg, align 8, !tbaa !5
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef nonnull @.str.110, ptr noundef %179) #23
  call void @exit(i32 noundef 1) #24
  unreachable

181:                                              ; preds = %54
  store i32 1, ptr @FLAG_N, align 4, !tbaa !11
  %182 = load ptr, ptr @optarg, align 8, !tbaa !5
  store ptr %182, ptr @str_N, align 8, !tbaa !5
  br label %.loopexit743

183:                                              ; preds = %54
  store i32 1, ptr @FLAGQUIET, align 4, !tbaa !11
  %184 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.111)
  br label %.loopexit743

185:                                              ; preds = %54
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.112)
  store i32 1, ptr @FLAGRANDOM, align 4, !tbaa !11
  store i32 3, ptr @FLAGBSGSMODE, align 4, !tbaa !11
  br label %.loopexit743

187:                                              ; preds = %54
  %188 = load ptr, ptr @optarg, align 8, !tbaa !5
  %.not690 = icmp eq ptr %188, null
  br i1 %.not690, label %.loopexit743, label %189

189:                                              ; preds = %187
  call void @_Z15stringtokenizerPcP13str_tokenizer(ptr noundef nonnull %188, ptr noundef nonnull %5)
  %190 = load i32, ptr %48, align 4, !tbaa !16
  switch i32 %190, label %221 [
    i32 1, label %191
    i32 2, label %202
  ]

191:                                              ; preds = %189
  %192 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef nonnull %5)
  store ptr %192, ptr @range_start, align 8, !tbaa !5
  %193 = call noundef i32 @_Z10isValidHexPc(ptr noundef %192)
  %.not694 = icmp eq i32 %193, 0
  br i1 %.not694, label %198, label %194

194:                                              ; preds = %191
  store i32 1, ptr @FLAGRANGE, align 4, !tbaa !11
  %195 = load ptr, ptr @secp, align 8, !tbaa !5
  %196 = getelementptr inbounds i8, ptr %195, i64 160
  %197 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) %196)
  store ptr %197, ptr @range_end, align 8, !tbaa !5
  br label %.loopexit743

198:                                              ; preds = %191
  %199 = load ptr, ptr @stderr, align 8, !tbaa !5
  %200 = load ptr, ptr @range_start, align 8, !tbaa !5
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef nonnull @.str.113, ptr noundef %200) #23
  br label %.loopexit743

202:                                              ; preds = %189
  %203 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef nonnull %5)
  store ptr %203, ptr @range_start, align 8, !tbaa !5
  %204 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef nonnull %5)
  store ptr %204, ptr @range_end, align 8, !tbaa !5
  %205 = load ptr, ptr @range_start, align 8, !tbaa !5
  %206 = call noundef i32 @_Z10isValidHexPc(ptr noundef %205)
  %.not691 = icmp eq i32 %206, 0
  br i1 %.not691, label %211, label %207

207:                                              ; preds = %202
  %208 = load ptr, ptr @range_end, align 8, !tbaa !5
  %209 = call noundef i32 @_Z10isValidHexPc(ptr noundef %208)
  %.not692 = icmp eq i32 %209, 0
  br i1 %.not692, label %211, label %210

210:                                              ; preds = %207
  store i32 1, ptr @FLAGRANGE, align 4, !tbaa !11
  br label %.loopexit743

211:                                              ; preds = %207, %202
  %212 = load ptr, ptr @range_start, align 8, !tbaa !5
  %213 = call noundef i32 @_Z10isValidHexPc(ptr noundef %212)
  %.not693 = icmp eq i32 %213, 0
  %214 = load ptr, ptr @stderr, align 8, !tbaa !5
  br i1 %.not693, label %218, label %215

215:                                              ; preds = %211
  %216 = load ptr, ptr @range_start, align 8, !tbaa !5
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef nonnull @.str.114, ptr noundef %216) #23
  br label %.loopexit743

218:                                              ; preds = %211
  %219 = load ptr, ptr @range_end, align 8, !tbaa !5
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %214, ptr noundef nonnull @.str.114, ptr noundef %219) #23
  br label %.loopexit743

221:                                              ; preds = %189
  %222 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.115, i32 noundef %190)
  br label %.loopexit743

223:                                              ; preds = %54
  %224 = load ptr, ptr @optarg, align 8, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, ptr noundef %224)
  %225 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, ptr noundef nonnull @ZERO)
  br i1 %225, label %226, label %227

226:                                              ; preds = %223
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, i32 noundef 30)
  br label %227

227:                                              ; preds = %226, %223
  %228 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS)
  br i1 %228, label %229, label %231

229:                                              ; preds = %227
  %230 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.116)
  br label %.loopexit743

231:                                              ; preds = %227
  %232 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS)
  %233 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.117, ptr noundef %232)
  call void @free(ptr noundef %232) #20
  br label %.loopexit743

234:                                              ; preds = %54
  store i32 1, ptr @FLAGSAVEREADFILE, align 4, !tbaa !11
  br label %.loopexit743

235:                                              ; preds = %54
  %236 = load ptr, ptr @optarg, align 8, !tbaa !5
  %237 = call i64 @strtol(ptr nocapture noundef %236, ptr noundef null, i32 noundef 10) #20
  %238 = trunc i64 %237 to i32
  %spec.store.select4 = call i32 @llvm.smax.i32(i32 %238, i32 1)
  store i32 %spec.store.select4, ptr @NTHREADS, align 4
  %239 = icmp sgt i32 %238, 1
  %240 = select i1 %239, ptr @.str.118, ptr @.str.119
  %241 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %240, i32 noundef %spec.store.select4)
  br label %.loopexit743

242:                                              ; preds = %54
  store i32 1, ptr @FLAGVANITY, align 4, !tbaa !11
  %243 = load ptr, ptr @vanity_bloom, align 8, !tbaa !5
  %244 = icmp eq ptr %243, null
  br i1 %244, label %245, label %247

245:                                              ; preds = %242
  %246 = call noalias dereferenceable_or_null(80) ptr @calloc(i64 noundef 1, i64 noundef 80) #27
  store ptr %246, ptr @vanity_bloom, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %246, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.109, i32 noundef 740)
  br label %247

247:                                              ; preds = %245, %242
  %248 = load ptr, ptr @optarg, align 8, !tbaa !5
  %249 = call noundef zeroext i1 @_Z19isValidBase58StringPc(ptr noundef %248)
  br i1 %249, label %250, label %259

250:                                              ; preds = %247
  %251 = load ptr, ptr @optarg, align 8, !tbaa !5
  %252 = call noundef i32 @_Z9addvanityPc(ptr noundef %251)
  %253 = icmp sgt i32 %252, 0
  %254 = load ptr, ptr @optarg, align 8, !tbaa !5
  br i1 %253, label %255, label %257

255:                                              ; preds = %250
  %256 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.120, ptr noundef %254)
  br label %.loopexit743

257:                                              ; preds = %250
  %258 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.121, ptr noundef %254)
  br label %.loopexit743

259:                                              ; preds = %247
  %260 = load ptr, ptr @stderr, align 8, !tbaa !5
  %261 = load ptr, ptr @optarg, align 8, !tbaa !5
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %260, ptr noundef nonnull @.str.122, ptr noundef %261) #23
  br label %.loopexit743

263:                                              ; preds = %54
  %264 = load ptr, ptr @optarg, align 8, !tbaa !5
  %265 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %264) #25
  %266 = icmp eq i64 %265, 58
  br i1 %266, label %267, label %269

267:                                              ; preds = %263
  store ptr %264, ptr @Ccoinbuffer, align 8, !tbaa !5
  %268 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.123, ptr noundef %264)
  br label %.loopexit743

269:                                              ; preds = %263
  %270 = load ptr, ptr @stderr, align 8, !tbaa !5
  %271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %270, ptr noundef nonnull @.str.124) #23
  call void @exit(i32 noundef 1) #24
  unreachable

272:                                              ; preds = %54
  %273 = load ptr, ptr @optarg, align 8, !tbaa !5
  %274 = call i64 @strtol(ptr nocapture noundef %273, ptr noundef null, i32 noundef 10) #20
  %275 = trunc i64 %274 to i32
  %spec.store.select5 = call i32 @llvm.smax.i32(i32 %275, i32 1)
  store i32 %spec.store.select5, ptr @FLAGBLOOMMULTIPLIER, align 4
  %276 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.125, i32 noundef %spec.store.select5)
  br label %.loopexit743

277:                                              ; preds = %54
  %278 = load ptr, ptr @stderr, align 8, !tbaa !5
  %279 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %278, ptr noundef nonnull @.str.126, i32 noundef %55) #23
  call void @exit(i32 noundef 1) #24
  unreachable

.loopexit743:                                     ; preds = %118, %259, %257, %255, %229, %231, %187, %210, %218, %215, %194, %198, %221, %160, %162, %164, %165, %169, %175, %171, %146, %149, %151, %153, %93, %94, %84, %86, %63, %64, %272, %267, %235, %234, %185, %183, %181, %155, %141, %139, %137, %135, %133, %57, %56
  %.1531 = phi ptr [ %.0530, %272 ], [ %.0530, %267 ], [ %.0530, %255 ], [ %.0530, %257 ], [ %.0530, %259 ], [ %.0530, %235 ], [ %.0530, %234 ], [ %.0530, %229 ], [ %.0530, %231 ], [ %.0530, %221 ], [ %.0530, %210 ], [ %.0530, %215 ], [ %.0530, %218 ], [ %.0530, %194 ], [ %.0530, %198 ], [ %.0530, %187 ], [ %.0530, %185 ], [ %.0530, %183 ], [ %.0530, %181 ], [ %.0530, %175 ], [ %.0530, %171 ], [ %.0530, %169 ], [ %.0530, %165 ], [ %.0530, %164 ], [ %.0530, %162 ], [ %.0530, %160 ], [ %.0530, %155 ], [ %.0530, %146 ], [ %.0530, %153 ], [ %.0530, %151 ], [ %.0530, %149 ], [ %.0530, %141 ], [ %.0530, %139 ], [ %138, %137 ], [ %.0530, %135 ], [ %.0530, %133 ], [ %.0530, %94 ], [ %.0530, %93 ], [ %.0530, %84 ], [ %.0530, %86 ], [ %.0530, %63 ], [ %.0530, %64 ], [ %.0530, %57 ], [ %.0530, %56 ], [ %.0530, %118 ]
  br label %54, !llvm.loop !18

280:                                              ; preds = %54
  %281 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !11
  %282 = icmp eq i32 %281, 2
  %283 = load i32, ptr @FLAGENDOMORPHISM, align 4
  %284 = icmp ne i32 %283, 0
  %or.cond7 = select i1 %282, i1 %284, i1 false
  br i1 %or.cond7, label %285, label %288

285:                                              ; preds = %280
  %286 = load ptr, ptr @stderr, align 8, !tbaa !5
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %286, ptr noundef nonnull @.str.127) #23
  call void @exit(i32 noundef 1) #24
  unreachable

288:                                              ; preds = %280
  %289 = load i32, ptr @FLAGSTRIDE, align 4
  %290 = icmp ne i32 %289, 0
  %or.cond9 = select i1 %282, i1 %290, i1 false
  br i1 %or.cond9, label %291, label %294

291:                                              ; preds = %288
  %292 = load ptr, ptr @stderr, align 8, !tbaa !5
  %293 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %292, ptr noundef nonnull @.str.128) #23
  call void @exit(i32 noundef 1) #24
  unreachable

294:                                              ; preds = %288
  br i1 %290, label %295, label %309

295:                                              ; preds = %294
  %296 = load ptr, ptr @str_stride, align 8, !tbaa !5
  %297 = load i8, ptr %296, align 1, !tbaa !13
  %298 = icmp eq i8 %297, 48
  br i1 %298, label %299, label %305

299:                                              ; preds = %295
  %300 = getelementptr inbounds i8, ptr %296, i64 1
  %301 = load i8, ptr %300, align 1, !tbaa !13
  %302 = icmp eq i8 %301, 120
  br i1 %302, label %303, label %305

303:                                              ; preds = %299
  %304 = getelementptr inbounds i8, ptr %296, i64 2
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef nonnull %304)
  br label %306

305:                                              ; preds = %299, %295
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef nonnull %296)
  br label %306

306:                                              ; preds = %305, %303
  %307 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @stride)
  %308 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.129, ptr noundef %307)
  br label %310

309:                                              ; preds = %294
  store i32 1, ptr @FLAGSTRIDE, align 4, !tbaa !11
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @stride, ptr noundef nonnull @ONE)
  br label %310

310:                                              ; preds = %309, %306
  call void @_Z14init_generatorv()
  %311 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %312 = icmp eq i32 %311, 2
  br i1 %312, label %313, label %319

313:                                              ; preds = %310
  %314 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !11
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds [5 x ptr], ptr @bsgs_modes, i64 0, i64 %315
  %317 = load ptr, ptr %316, align 8, !tbaa !5
  %318 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.130, ptr noundef %317)
  %.pre = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  br label %319

319:                                              ; preds = %313, %310
  %320 = phi i32 [ %.pre, %313 ], [ %311, %310 ]
  %321 = load i32, ptr @FLAGFILE, align 4, !tbaa !11
  %322 = icmp eq i32 %321, 0
  %323 = load ptr, ptr @default_fileName, align 8
  %spec.select = select i1 %322, ptr %323, ptr %.0530
  %324 = icmp eq i32 %320, 1
  %325 = load i32, ptr @FLAGCRYPTO, align 4
  %326 = icmp eq i32 %325, 0
  %or.cond11 = select i1 %324, i1 %326, i1 false
  br i1 %or.cond11, label %327, label %329

327:                                              ; preds = %319
  store i32 1, ptr @FLAGCRYPTO, align 4, !tbaa !11
  %328 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.131)
  br label %329

329:                                              ; preds = %327, %319
  %330 = load i32, ptr @FLAGRANGE, align 4, !tbaa !11
  %.not587 = icmp eq i32 %330, 0
  br i1 %.not587, label %358, label %331

331:                                              ; preds = %329
  %332 = load ptr, ptr @range_start, align 8, !tbaa !5
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef %332)
  %333 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start)
  br i1 %333, label %334, label %335

334:                                              ; preds = %331
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start)
  br label %335

335:                                              ; preds = %334, %331
  %336 = load ptr, ptr @range_end, align 8, !tbaa !5
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %336)
  %337 = call noundef zeroext i1 @_ZN3Int7IsEqualEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef nonnull @n_range_end)
  br i1 %337, label %355, label %338

338:                                              ; preds = %335
  %339 = load ptr, ptr @secp, align 8, !tbaa !5
  %340 = getelementptr inbounds i8, ptr %339, i64 160
  %341 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef nonnull %340)
  br i1 %341, label %342, label %352

342:                                              ; preds = %338
  %343 = load ptr, ptr @secp, align 8, !tbaa !5
  %344 = getelementptr inbounds i8, ptr %343, i64 160
  %345 = call noundef zeroext i1 @_ZN3Int14IsLowerOrEqualEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef nonnull %344)
  br i1 %345, label %346, label %352

346:                                              ; preds = %342
  %347 = call noundef zeroext i1 @_ZN3Int9IsGreaterEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef nonnull @n_range_end)
  br i1 %347, label %348, label %351

348:                                              ; preds = %346
  %349 = load ptr, ptr @stderr, align 8, !tbaa !5
  %350 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %349, ptr noundef nonnull @.str.132) #23
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_aux, ptr noundef nonnull @n_range_start)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef nonnull @n_range_end)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef nonnull @n_range_aux)
  br label %351

351:                                              ; preds = %348, %346
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_start)
  br label %358

352:                                              ; preds = %342, %338
  %353 = load ptr, ptr @stderr, align 8, !tbaa !5
  %354 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %353, ptr noundef nonnull @.str.133) #23
  store i32 0, ptr @FLAGRANGE, align 4, !tbaa !11
  br label %358

355:                                              ; preds = %335
  %356 = load ptr, ptr @stderr, align 8, !tbaa !5
  %357 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %356, ptr noundef nonnull @.str.134) #23
  store i32 0, ptr @FLAGRANGE, align 4, !tbaa !11
  br label %358

358:                                              ; preds = %355, %352, %351, %329
  %359 = load i32, ptr @FLAGMODE, align 4
  switch i32 %359, label %360 [
    i32 5, label %378
    i32 2, label %378
  ]

360:                                              ; preds = %358
  %361 = load i64, ptr @DEBUGCOUNT, align 8, !tbaa !9
  %362 = trunc i64 %361 to i32
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i32 noundef %362)
  %363 = load i32, ptr @FLAGRANGE, align 4, !tbaa !11
  %364 = icmp eq i32 %363, 0
  %365 = load i32, ptr @FLAGBITRANGE, align 4
  %366 = icmp eq i32 %365, 0
  %or.cond15 = select i1 %364, i1 %366, i1 false
  br i1 %or.cond15, label %367, label %370

367:                                              ; preds = %360
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, i32 noundef 1)
  %368 = load ptr, ptr @secp, align 8, !tbaa !5
  %369 = getelementptr inbounds i8, ptr %368, i64 160
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef nonnull %369)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_start)
  br label %thread-pre-split

370:                                              ; preds = %360
  br i1 %366, label %374, label %371

371:                                              ; preds = %370
  %372 = load ptr, ptr @bit_range_str_min, align 8, !tbaa !5
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef %372)
  %373 = load ptr, ptr @bit_range_str_max, align 8, !tbaa !5
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %373)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_start)
  br label %thread-pre-split

374:                                              ; preds = %370
  br i1 %364, label %375, label %thread-pre-split

375:                                              ; preds = %374
  %376 = load ptr, ptr @stderr, align 8, !tbaa !5
  %377 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %376, ptr noundef nonnull @.str.135) #23
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %371, %375, %374, %367
  %.pr = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  br label %378

378:                                              ; preds = %thread-pre-split, %358, %358
  %379 = phi i32 [ %.pr, %thread-pre-split ], [ %359, %358 ], [ %359, %358 ]
  store i64 0, ptr @N, align 8, !tbaa !9
  %.not589 = icmp eq i32 %379, 2
  br i1 %.not589, label %thread-pre-split707.thread, label %380

380:                                              ; preds = %378
  %381 = load i32, ptr @FLAG_N, align 4, !tbaa !11
  %.not590 = icmp eq i32 %381, 0
  br i1 %.not590, label %._crit_edge914, label %382

._crit_edge914:                                   ; preds = %380
  %.pre915 = load i64, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !9
  br label %401

382:                                              ; preds = %380
  %383 = load ptr, ptr @str_N, align 8, !tbaa !5
  %384 = load i8, ptr %383, align 1, !tbaa !13
  %385 = icmp eq i8 %384, 48
  br i1 %385, label %386, label %390

386:                                              ; preds = %382
  %387 = getelementptr inbounds i8, ptr %383, i64 1
  %388 = load i8, ptr %387, align 1, !tbaa !13
  %389 = icmp eq i8 %388, 120
  br i1 %389, label %391, label %390

390:                                              ; preds = %386, %382
  br label %391

391:                                              ; preds = %386, %390
  %.sink970 = phi i32 [ 10, %390 ], [ 16, %386 ]
  %392 = call i64 @strtol(ptr nocapture noundef nonnull %383, ptr noundef null, i32 noundef %.sink970) #20
  store i64 %392, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !9
  %393 = icmp ult i64 %392, 1024
  br i1 %393, label %.thread931, label %396

.thread931:                                       ; preds = %391
  %394 = load ptr, ptr @stderr, align 8, !tbaa !5
  %395 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %394, ptr noundef nonnull @.str.136) #23
  store i32 0, ptr @FLAG_N, align 4, !tbaa !11
  store i64 4294967296, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !9
  br label %401

396:                                              ; preds = %391
  %397 = and i64 %392, 1023
  %.not591 = icmp eq i64 %397, 0
  br i1 %.not591, label %401, label %398

398:                                              ; preds = %396
  %399 = load ptr, ptr @stderr, align 8, !tbaa !5
  %400 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %399, ptr noundef nonnull @.str.137) #23
  store i32 0, ptr @FLAG_N, align 4, !tbaa !11
  store i64 4294967296, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !9
  br label %401

401:                                              ; preds = %.thread931, %._crit_edge914, %396, %398
  %402 = phi i64 [ %.pre915, %._crit_edge914 ], [ %392, %396 ], [ 4294967296, %398 ], [ 4294967296, %.thread931 ]
  %403 = inttoptr i64 %402 to ptr
  %404 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.138, ptr noundef %403)
  %405 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %406 = icmp eq i32 %405, 5
  br i1 %406, label %407, label %427

407:                                              ; preds = %401
  %408 = load i64, ptr @DEBUGCOUNT, align 8, !tbaa !9
  %409 = trunc i64 %408 to i32
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, i32 noundef %409)
  %410 = load i32, ptr @FLAGBASEMINIKEY, align 4, !tbaa !11
  %.not593 = icmp eq i32 %410, 0
  br i1 %.not593, label %414, label %411

411:                                              ; preds = %407
  %412 = load ptr, ptr @str_baseminikey, align 8, !tbaa !5
  %413 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.139, ptr noundef %412)
  br label %414

414:                                              ; preds = %411, %407
  %415 = call noalias dereferenceable_or_null(22) ptr @malloc(i64 noundef 22) #26
  store ptr %415, ptr @minikeyN, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %415, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.140, i32 noundef 893)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %15, i32 noundef 58)
  %416 = load i64, ptr @N_SEQUENTIAL_MAX, align 8, !tbaa !9
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) %12, i64 noundef %416)
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %12, i64 noundef 253)
  br label %417

417:                                              ; preds = %419, %414
  %.1546 = phi i64 [ 20, %414 ], [ %424, %419 ]
  %418 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) %12)
  br i1 %418, label %.thread, label %419

419:                                              ; preds = %417
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull %12)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull %15)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef nonnull %12)
  %420 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) %13)
  %421 = trunc i64 %420 to i8
  %422 = load ptr, ptr @minikeyN, align 8, !tbaa !5
  %423 = getelementptr inbounds i8, ptr %422, i64 %.1546
  store i8 %421, ptr %423, align 1, !tbaa !13
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef nonnull %13)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef nonnull %15, ptr noundef null)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull %14)
  %424 = add nsw i64 %.1546, -1
  %.not = icmp eq i64 %424, 0
  br i1 %.not, label %.thread, label %417, !llvm.loop !19

.thread:                                          ; preds = %417, %419
  %.2547704 = phi i64 [ 0, %419 ], [ %.1546, %417 ]
  %425 = trunc i64 %.2547704 to i32
  %426 = sub i32 21, %425
  store i32 %426, ptr @minikey_n_limit, align 4, !tbaa !11
  br label %434

427:                                              ; preds = %401
  %428 = load i32, ptr @FLAGBITRANGE, align 4, !tbaa !11
  %.not592 = icmp eq i32 %428, 0
  br i1 %.not592, label %432, label %429

429:                                              ; preds = %427
  %430 = load i32, ptr @bitrange, align 4, !tbaa !11
  %431 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.141, i32 noundef %430)
  br label %434

432:                                              ; preds = %427
  %433 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.142)
  br label %434

434:                                              ; preds = %429, %432, %.thread
  %435 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %.not595 = icmp eq i32 %435, 5
  br i1 %.not595, label %.thread706, label %436

436:                                              ; preds = %434
  %437 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start)
  %438 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.143, ptr noundef %437)
  call void @free(ptr noundef %437) #20
  %439 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end)
  %440 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.144, ptr noundef %439)
  call void @free(ptr noundef %439) #20
  %.pr705 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  switch i32 %.pr705, label %450 [
    i32 5, label %.thread706
    i32 3, label %.thread706
    i32 1, label %.thread706
    i32 0, label %.thread706
    i32 6, label %445
  ]

.thread706:                                       ; preds = %434, %436, %436, %436, %436
  %441 = call noundef zeroext i1 @_Z15readFileAddressPc(ptr noundef %spec.select)
  br i1 %441, label %450, label %442

442:                                              ; preds = %.thread706
  %443 = load ptr, ptr @stderr, align 8, !tbaa !5
  %444 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef nonnull @.str.145) #23
  call void @exit(i32 noundef 1) #24
  unreachable

445:                                              ; preds = %436
  %446 = call noundef zeroext i1 @_Z14readFileVanityPc(ptr noundef %spec.select)
  br i1 %446, label %450, label %447

447:                                              ; preds = %445
  %448 = load ptr, ptr @stderr, align 8, !tbaa !5
  %449 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %448, ptr noundef nonnull @.str.145) #23
  call void @exit(i32 noundef 1) #24
  unreachable

450:                                              ; preds = %445, %.thread706, %436
  %451 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %452 = icmp eq i32 %451, 6
  %453 = load i32, ptr @FLAGREADEDFILE1, align 4
  %454 = icmp ne i32 %453, 0
  %or.cond17 = select i1 %452, i1 true, i1 %454
  br i1 %or.cond17, label %thread-pre-split707, label %455

455:                                              ; preds = %450
  %456 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.146)
  %457 = load ptr, ptr @addressTable, align 8, !tbaa !5
  %458 = load i64, ptr @N, align 8, !tbaa !9
  call void @_Z5_sortP13address_valuel(ptr noundef %457, i64 noundef %458)
  %459 = load i64, ptr @N, align 8, !tbaa !9
  %460 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.147, i64 noundef %459)
  call void @_Z17writeFileIfNeededPKc(ptr noundef %spec.select)
  %.pr708.pre = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  br label %thread-pre-split707

thread-pre-split707:                              ; preds = %455, %450
  %461 = phi i32 [ %451, %450 ], [ %.pr708.pre, %455 ]
  %462 = icmp eq i32 %461, 2
  br i1 %462, label %thread-pre-split707.thread, label %.thread935

thread-pre-split707.thread:                       ; preds = %378, %thread-pre-split707
  %463 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.148, ptr noundef %spec.select)
  %464 = call noalias ptr @fopen(ptr noundef %spec.select, ptr noundef nonnull @.str.149)
  %465 = icmp eq ptr %464, null
  br i1 %465, label %466, label %469

466:                                              ; preds = %thread-pre-split707.thread
  %467 = load ptr, ptr @stderr, align 8, !tbaa !5
  %468 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %467, ptr noundef nonnull @.str.150, ptr noundef %spec.select) #23
  call void @exit(i32 noundef 1) #24
  unreachable

469:                                              ; preds = %thread-pre-split707.thread
  %470 = call noalias dereferenceable_or_null(1024) ptr @malloc(i64 noundef 1024) #26
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %470, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.151, i32 noundef 969)
  %471 = call i32 @feof(ptr noundef nonnull %464) #20
  %.not596767 = icmp eq i32 %471, 0
  br i1 %.not596767, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %469, %480
  %472 = call ptr @fgets(ptr noundef %470, i32 noundef 1022, ptr noundef nonnull %464)
  %473 = icmp eq ptr %472, %470
  br i1 %473, label %474, label %480

474:                                              ; preds = %.lr.ph
  %475 = call noundef ptr @_Z4trimPcPKc(ptr noundef %470, ptr noundef nonnull @.str.152)
  %476 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %470) #25
  %477 = icmp ugt i64 %476, 65
  br i1 %477, label %.sink.split, label %480

.sink.split:                                      ; preds = %474
  %478 = load i64, ptr @N, align 8, !tbaa !9
  %479 = add i64 %478, 1
  store i64 %479, ptr @N, align 8, !tbaa !9
  br label %480

480:                                              ; preds = %474, %.sink.split, %.lr.ph
  %481 = call i32 @feof(ptr noundef nonnull %464) #20
  %.not596 = icmp eq i32 %481, 0
  br i1 %.not596, label %.lr.ph, label %._crit_edge, !llvm.loop !20

._crit_edge:                                      ; preds = %480, %469
  %482 = load i64, ptr @N, align 8, !tbaa !9
  %483 = icmp eq i64 %482, 0
  br i1 %483, label %484, label %487

484:                                              ; preds = %._crit_edge
  %485 = load ptr, ptr @stderr, align 8, !tbaa !5
  %486 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %485, ptr noundef nonnull @.str.153) #23
  call void @exit(i32 noundef 1) #24
  unreachable

487:                                              ; preds = %._crit_edge
  %488 = call noalias ptr @calloc(i64 noundef %482, i64 noundef 4) #27
  store ptr %488, ptr @bsgs_found, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %488, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.154, i32 noundef 987)
  %489 = load i64, ptr @N, align 8, !tbaa !9
  call void @_ZNSt6vectorI5PointSaIS0_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) @OriginalPointsBSGS, i64 noundef %489)
  %490 = load i64, ptr @N, align 8, !tbaa !9
  %491 = call noalias ptr @malloc(i64 noundef %490) #26
  store ptr %491, ptr @OriginalPointsBSGScompressed, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %491, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.155, i32 noundef 990)
  %492 = call noalias dereferenceable_or_null(65) ptr @malloc(i64 noundef 65) #26
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %492, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.156, i32 noundef 992)
  %493 = call noalias dereferenceable_or_null(65) ptr @malloc(i64 noundef 65) #26
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %493, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.157, i32 noundef 994)
  %494 = call i32 @fseek(ptr noundef nonnull %464, i64 noundef 0, i32 noundef 0)
  %495 = call i32 @feof(ptr noundef nonnull %464) #20
  %.not597768 = icmp eq i32 %495, 0
  br i1 %.not597768, label %.lr.ph771, label %._crit_edge772

.lr.ph771:                                        ; preds = %487, %532
  %.3548769 = phi i64 [ %.5550, %532 ], [ 0, %487 ]
  %496 = call ptr @fgets(ptr noundef %470, i32 noundef 1022, ptr noundef nonnull %464)
  %497 = icmp eq ptr %496, %470
  br i1 %497, label %498, label %532

498:                                              ; preds = %.lr.ph771
  %499 = call noundef ptr @_Z4trimPcPKc(ptr noundef %470, ptr noundef nonnull @.str.152)
  %500 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %470) #25
  %501 = icmp ugt i64 %500, 65
  br i1 %501, label %502, label %532

502:                                              ; preds = %498
  call void @_Z15stringtokenizerPcP13str_tokenizer(ptr noundef %470, ptr noundef nonnull %6)
  %503 = call noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef nonnull %6)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(65) %492, i8 0, i64 65, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(65) %493, i8 0, i64 65, i1 false)
  %504 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %503) #25
  switch i64 %504, label %527 [
    i64 66, label %505
    i64 130, label %516
  ]

505:                                              ; preds = %502
  %506 = load ptr, ptr @secp, align 8, !tbaa !5
  %507 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @OriginalPointsBSGS, i64 noundef %.3548769) #20
  %508 = load ptr, ptr @OriginalPointsBSGScompressed, align 8, !tbaa !5
  %509 = getelementptr inbounds i8, ptr %508, i64 %.3548769
  %510 = call noundef zeroext i1 @_ZN9Secp256K117ParsePublicKeyHexEPcR5PointRb(ptr noundef nonnull align 8 dereferenceable(983240) %506, ptr noundef %503, ptr noundef nonnull align 8 dereferenceable(120) %507, ptr noundef nonnull align 1 dereferenceable(1) %509)
  br i1 %510, label %511, label %513

511:                                              ; preds = %505
  %512 = add i64 %.3548769, 1
  br label %531

513:                                              ; preds = %505
  %514 = load i64, ptr @N, align 8, !tbaa !9
  %515 = add i64 %514, -1
  store i64 %515, ptr @N, align 8, !tbaa !9
  br label %531

516:                                              ; preds = %502
  %517 = load ptr, ptr @secp, align 8, !tbaa !5
  %518 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @OriginalPointsBSGS, i64 noundef %.3548769) #20
  %519 = load ptr, ptr @OriginalPointsBSGScompressed, align 8, !tbaa !5
  %520 = getelementptr inbounds i8, ptr %519, i64 %.3548769
  %521 = call noundef zeroext i1 @_ZN9Secp256K117ParsePublicKeyHexEPcR5PointRb(ptr noundef nonnull align 8 dereferenceable(983240) %517, ptr noundef %503, ptr noundef nonnull align 8 dereferenceable(120) %518, ptr noundef nonnull align 1 dereferenceable(1) %520)
  br i1 %521, label %522, label %524

522:                                              ; preds = %516
  %523 = add i64 %.3548769, 1
  br label %531

524:                                              ; preds = %516
  %525 = load i64, ptr @N, align 8, !tbaa !9
  %526 = add i64 %525, -1
  store i64 %526, ptr @N, align 8, !tbaa !9
  br label %531

527:                                              ; preds = %502
  %528 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.158, ptr noundef %503)
  %529 = load i64, ptr @N, align 8, !tbaa !9
  %530 = add i64 %529, -1
  store i64 %530, ptr @N, align 8, !tbaa !9
  br label %531

531:                                              ; preds = %522, %524, %511, %513, %527
  %.4549 = phi i64 [ %.3548769, %527 ], [ %523, %522 ], [ %.3548769, %524 ], [ %512, %511 ], [ %.3548769, %513 ]
  call void @_Z13freetokenizerP13str_tokenizer(ptr noundef nonnull %6)
  br label %532

532:                                              ; preds = %498, %531, %.lr.ph771
  %.5550 = phi i64 [ %.4549, %531 ], [ %.3548769, %498 ], [ %.3548769, %.lr.ph771 ]
  %533 = call i32 @feof(ptr noundef nonnull %464) #20
  %.not597 = icmp eq i32 %533, 0
  br i1 %.not597, label %.lr.ph771, label %._crit_edge772, !llvm.loop !21

._crit_edge772:                                   ; preds = %532, %487
  %534 = call i32 @fclose(ptr noundef nonnull %464)
  %535 = load i64, ptr @N, align 8, !tbaa !9
  %536 = trunc i64 %535 to i32
  store i32 %536, ptr @bsgs_point_number, align 4, !tbaa !11
  %.not598 = icmp eq i32 %536, 0
  br i1 %.not598, label %541, label %537

537:                                              ; preds = %._crit_edge772
  %538 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.159, i32 noundef %536)
  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)
  %539 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  call void @_ZN3Int8SetInt64Em(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %539)
  %540 = load i32, ptr @FLAG_N, align 4, !tbaa !11
  %.not599 = icmp eq i32 %540, 0
  br i1 %.not599, label %555, label %544

541:                                              ; preds = %._crit_edge772
  %542 = load ptr, ptr @stderr, align 8, !tbaa !5
  %543 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %542, ptr noundef nonnull @.str.160) #23
  call void @exit(i32 noundef 1) #24
  unreachable

544:                                              ; preds = %537
  %545 = load ptr, ptr @str_N, align 8, !tbaa !5
  %546 = load i8, ptr %545, align 1, !tbaa !13
  %547 = icmp eq i8 %546, 48
  br i1 %547, label %548, label %554

548:                                              ; preds = %544
  %549 = getelementptr inbounds i8, ptr %545, i64 1
  %550 = load i8, ptr %549, align 1, !tbaa !13
  %551 = icmp eq i8 %550, 120
  br i1 %551, label %552, label %554

552:                                              ; preds = %548
  %553 = getelementptr inbounds i8, ptr %545, i64 2
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef nonnull %553)
  br label %556

554:                                              ; preds = %548, %544
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N, ptr noundef nonnull %545)
  br label %556

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

556:                                              ; preds = %552, %554, %555
  %557 = call noundef zeroext i1 @_ZN3Int7HasSqrtEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  br i1 %557, label %558, label %560

558:                                              ; preds = %556
  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)
  %559 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  br i1 %559, label %567, label %563

560:                                              ; preds = %556
  %561 = load ptr, ptr @stderr, align 8, !tbaa !5
  %562 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %561, ptr noundef nonnull @.str.161) #23
  call void @exit(i32 noundef 1) #24
  unreachable

563:                                              ; preds = %558
  %564 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_GROUP_SIZE)
  %565 = load ptr, ptr @stderr, align 8, !tbaa !5
  %566 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %565, ptr noundef nonnull @.str.162, ptr noundef %564) #23
  call void @exit(i32 noundef 1) #24
  unreachable

567:                                              ; preds = %558
  %568 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %568, ptr @bsgs_m, align 8, !tbaa !9
  %569 = load i32, ptr @FLAGRANGE, align 4, !tbaa !11
  %570 = icmp ne i32 %569, 0
  %571 = load i32, ptr @FLAGBITRANGE, align 4
  %572 = icmp ne i32 %571, 0
  %or.cond19 = select i1 %570, i1 true, i1 %572
  br i1 %or.cond19, label %573, label %589

573:                                              ; preds = %567
  br i1 %572, label %574, label %583

574:                                              ; preds = %573
  %575 = load ptr, ptr @bit_range_str_min, align 8, !tbaa !5
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef %575)
  %576 = load ptr, ptr @bit_range_str_max, align 8, !tbaa !5
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef %576)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_end)
  call void @_ZN3Int3SubEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_start)
  %577 = load i32, ptr @bitrange, align 4, !tbaa !11
  %578 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.141, i32 noundef %577)
  %579 = load ptr, ptr @bit_range_str_min, align 8, !tbaa !5
  %580 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.143, ptr noundef %579)
  %581 = load ptr, ptr @bit_range_str_max, align 8, !tbaa !5
  %582 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.144, ptr noundef %581)
  br label %592

583:                                              ; preds = %573
  %584 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.142)
  %585 = load ptr, ptr @range_start, align 8, !tbaa !5
  %586 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.143, ptr noundef %585)
  %587 = load ptr, ptr @range_end, align 8, !tbaa !5
  %588 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.144, ptr noundef %587)
  br label %592

589:                                              ; preds = %567
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, i32 noundef 1)
  %590 = load ptr, ptr @secp, align 8, !tbaa !5
  %591 = getelementptr inbounds i8, ptr %590, i64 160
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_end, ptr noundef nonnull %591)
  call void @_ZN3Int4RandEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @n_range_start, ptr noundef nonnull @n_range_end)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_start, ptr noundef nonnull @n_range_diff)
  br label %592

592:                                              ; preds = %574, %583, %589
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_CURRENT, ptr noundef nonnull @n_range_start)
  %593 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) @n_range_diff, ptr noundef nonnull @BSGS_N)
  br i1 %593, label %594, label %597

594:                                              ; preds = %592
  %595 = load ptr, ptr @stderr, align 8, !tbaa !5
  %596 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %595, ptr noundef nonnull @.str.163) #23
  call void @exit(i32 noundef 1) #24
  unreachable

597:                                              ; preds = %592
  %598 = load i32, ptr @KFACTOR, align 4, !tbaa !11
  %599 = sext i32 %598 to i64
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M, i64 noundef %599)
  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)
  %600 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %600, label %602, label %601

601:                                              ; preds = %597
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  br label %602

602:                                              ; preds = %601, %597
  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)
  %603 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %603, label %605, label %604

604:                                              ; preds = %602
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  br label %605

605:                                              ; preds = %604, %602
  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)
  %606 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M2)
  store i64 %606, ptr @bsgs_m2, align 8, !tbaa !9
  %607 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M3)
  store i64 %607, 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)
  %608 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_R)
  br i1 %608, label %610, label %609

609:                                              ; preds = %605
  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 %610

610:                                              ; preds = %609, %605
  %611 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_M)
  store i64 %611, ptr @bsgs_m, align 8, !tbaa !9
  %612 = call noundef i64 @_ZN3Int8GetInt64Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_AUX)
  store i64 %612, ptr @bsgs_aux, align 8, !tbaa !9
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N_double, i32 noundef 2)
  call void @_ZN3Int4MultEPS_(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N_double, ptr noundef nonnull @BSGS_N)
  %613 = call noundef ptr @_ZN3Int9GetBase16Ev(ptr noundef nonnull align 8 dereferenceable(40) @BSGS_N)
  %614 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.164, ptr noundef %613)
  call void @free(ptr noundef %613) #20
  %615 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %616 = lshr i64 %615, 8
  %617 = icmp ugt i64 %615, 2560255
  %618 = and i64 %615, 255
  %.not600 = icmp ne i64 %618, 0
  %619 = zext i1 %.not600 to i64
  %spec.select696 = add nuw nsw i64 %616, %619
  %.0538 = select i1 %617, i64 %spec.select696, i64 1000
  %620 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %621 = lshr i64 %620, 8
  %622 = icmp ugt i64 %620, 256255
  %623 = and i64 %620, 255
  %.not601 = icmp ne i64 %623, 0
  %624 = zext i1 %.not601 to i64
  %spec.select697 = add nuw nsw i64 %621, %624
  %.0537 = select i1 %622, i64 %spec.select697, i64 1000
  %625 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %626 = lshr i64 %625, 8
  %627 = icmp ugt i64 %625, 256255
  %628 = and i64 %625, 255
  %.not602 = icmp ne i64 %628, 0
  %629 = zext i1 %.not602 to i64
  %spec.select698 = add nuw nsw i64 %626, %629
  %.0536 = select i1 %627, i64 %spec.select698, i64 1000
  %630 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.165, i64 noundef %615)
  %631 = call noalias dereferenceable_or_null(20480) ptr @calloc(i64 noundef 256, i64 noundef 80) #27
  store ptr %631, ptr @bloom_bP, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %631, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.166, i32 noundef 1216)
  %632 = call noalias dereferenceable_or_null(16384) ptr @calloc(i64 noundef 256, i64 noundef 64) #27
  store ptr %632, ptr @bloom_bP_checksums, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %632, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.167, i32 noundef 1218)
  %633 = call noalias dereferenceable_or_null(10240) ptr @calloc(i64 noundef 256, i64 noundef 40) #27
  store ptr %633, ptr @bloom_bP_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %633, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.168, i32 noundef 1226)
  %634 = load ptr, ptr @stdout, align 8, !tbaa !5
  %635 = call i32 @fflush(ptr noundef %634)
  store i64 0, ptr @bloom_bP_totalbytes, align 8, !tbaa !9
  br label %636

636:                                              ; preds = %610, %647
  %.6551773 = phi i64 [ 0, %610 ], [ %653, %647 ]
  %637 = load ptr, ptr @bloom_bP_mutex, align 8, !tbaa !5
  %638 = getelementptr inbounds %union.pthread_mutex_t, ptr %637, i64 %.6551773
  %639 = call i32 @pthread_mutex_init(ptr noundef %638, ptr noundef null) #20
  %640 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %641 = getelementptr inbounds %struct.bloom, ptr %640, i64 %.6551773
  %642 = call i32 @bloom_init2(ptr noundef %641, i64 noundef %.0538, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %643 = icmp eq i32 %642, 1
  br i1 %643, label %644, label %647

644:                                              ; preds = %636
  %645 = load ptr, ptr @stderr, align 8, !tbaa !5
  %646 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %645, ptr noundef nonnull @.str.169, i64 noundef %.6551773) #23
  call void @exit(i32 noundef 1) #24
  unreachable

647:                                              ; preds = %636
  %648 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %649 = getelementptr inbounds %struct.bloom, ptr %648, i64 %.6551773, i32 2
  %650 = load i64, ptr %649, align 16, !tbaa !22
  %651 = load i64, ptr @bloom_bP_totalbytes, align 8, !tbaa !9
  %652 = add i64 %651, %650
  store i64 %652, ptr @bloom_bP_totalbytes, align 8, !tbaa !9
  %653 = add nuw nsw i64 %.6551773, 1
  %exitcond860.not = icmp eq i64 %653, 256
  br i1 %exitcond860.not, label %654, label %636, !llvm.loop !26

654:                                              ; preds = %647
  %655 = uitofp i64 %652 to float
  %656 = fmul float %655, 0x3EB0000000000000
  %657 = fpext float %656 to double
  %658 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.170, double noundef %657)
  %659 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %660 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.165, i64 noundef %659)
  %661 = call noalias dereferenceable_or_null(10240) ptr @calloc(i64 noundef 256, i64 noundef 40) #27
  store ptr %661, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %661, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.171, i32 noundef 1254)
  %662 = call noalias dereferenceable_or_null(20480) ptr @calloc(i64 noundef 256, i64 noundef 80) #27
  store ptr %662, ptr @bloom_bPx2nd, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %662, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.172, i32 noundef 1256)
  %663 = call noalias dereferenceable_or_null(16384) ptr @calloc(i64 noundef 256, i64 noundef 64) #27
  store ptr %663, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %663, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.173, i32 noundef 1258)
  store i64 0, ptr @bloom_bP2_totalbytes, align 8, !tbaa !9
  br label %664

664:                                              ; preds = %654, %675
  %.7552774 = phi i64 [ 0, %654 ], [ %681, %675 ]
  %665 = load ptr, ptr @bloom_bPx2nd_mutex, align 8, !tbaa !5
  %666 = getelementptr inbounds %union.pthread_mutex_t, ptr %665, i64 %.7552774
  %667 = call i32 @pthread_mutex_init(ptr noundef %666, ptr noundef null) #20
  %668 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %669 = getelementptr inbounds %struct.bloom, ptr %668, i64 %.7552774
  %670 = call i32 @bloom_init2(ptr noundef %669, i64 noundef %.0537, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %671 = icmp eq i32 %670, 1
  br i1 %671, label %672, label %675

672:                                              ; preds = %664
  %673 = load ptr, ptr @stderr, align 8, !tbaa !5
  %674 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %673, ptr noundef nonnull @.str.169, i64 noundef %.7552774) #23
  call void @exit(i32 noundef 1) #24
  unreachable

675:                                              ; preds = %664
  %676 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %677 = getelementptr inbounds %struct.bloom, ptr %676, i64 %.7552774, i32 2
  %678 = load i64, ptr %677, align 16, !tbaa !22
  %679 = load i64, ptr @bloom_bP2_totalbytes, align 8, !tbaa !9
  %680 = add i64 %679, %678
  store i64 %680, ptr @bloom_bP2_totalbytes, align 8, !tbaa !9
  %681 = add nuw nsw i64 %.7552774, 1
  %exitcond861.not = icmp eq i64 %681, 256
  br i1 %exitcond861.not, label %682, label %664, !llvm.loop !27

682:                                              ; preds = %675
  %683 = uitofp i64 %680 to float
  %684 = fmul float %683, 0x3EB0000000000000
  %685 = fpext float %684 to double
  %686 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.170, double noundef %685)
  %687 = call noalias dereferenceable_or_null(10240) ptr @calloc(i64 noundef 256, i64 noundef 40) #27
  store ptr %687, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %687, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.174, i32 noundef 1281)
  %688 = call noalias dereferenceable_or_null(20480) ptr @calloc(i64 noundef 256, i64 noundef 80) #27
  store ptr %688, ptr @bloom_bPx3rd, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %688, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.175, i32 noundef 1283)
  %689 = call noalias dereferenceable_or_null(16384) ptr @calloc(i64 noundef 256, i64 noundef 64) #27
  store ptr %689, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %689, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.176, i32 noundef 1285)
  %690 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %691 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.165, i64 noundef %690)
  store i64 0, ptr @bloom_bP3_totalbytes, align 8, !tbaa !9
  br label %692

692:                                              ; preds = %682, %703
  %.8553775 = phi i64 [ 0, %682 ], [ %709, %703 ]
  %693 = load ptr, ptr @bloom_bPx3rd_mutex, align 8, !tbaa !5
  %694 = getelementptr inbounds %union.pthread_mutex_t, ptr %693, i64 %.8553775
  %695 = call i32 @pthread_mutex_init(ptr noundef %694, ptr noundef null) #20
  %696 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %697 = getelementptr inbounds %struct.bloom, ptr %696, i64 %.8553775
  %698 = call i32 @bloom_init2(ptr noundef %697, i64 noundef %.0536, x86_fp80 noundef 0xK3FEB8637BD05AF6C6800)
  %699 = icmp eq i32 %698, 1
  br i1 %699, label %700, label %703

700:                                              ; preds = %692
  %701 = load ptr, ptr @stderr, align 8, !tbaa !5
  %702 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %701, ptr noundef nonnull @.str.177, i64 noundef %.8553775) #23
  call void @exit(i32 noundef 1) #24
  unreachable

703:                                              ; preds = %692
  %704 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %705 = getelementptr inbounds %struct.bloom, ptr %704, i64 %.8553775, i32 2
  %706 = load i64, ptr %705, align 16, !tbaa !22
  %707 = load i64, ptr @bloom_bP3_totalbytes, align 8, !tbaa !9
  %708 = add i64 %707, %706
  store i64 %708, ptr @bloom_bP3_totalbytes, align 8, !tbaa !9
  %709 = add nuw nsw i64 %.8553775, 1
  %exitcond862.not = icmp eq i64 %709, 256
  br i1 %exitcond862.not, label %710, label %692, !llvm.loop !28

710:                                              ; preds = %703
  %711 = uitofp i64 %708 to float
  %712 = fmul float %711, 0x3EB0000000000000
  %713 = fpext float %712 to double
  %714 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.170, double noundef %713)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %17) #20
  %715 = 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) %715, 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) %17, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %17) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %17) #20
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %18) #20
  %716 = 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) %716, 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) %18, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %18) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %18) #20
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %19) #20
  %717 = 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) %717, 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) %19, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %19) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %19) #20
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %20) #20
  %718 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %20, ptr noundef nonnull align 8 dereferenceable(983240) %718, 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) %20, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %20) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %20) #20
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %21) #20
  %719 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %21, ptr noundef nonnull align 8 dereferenceable(983240) %719, 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) %21, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %21) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %21) #20
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %22) #20
  %720 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K116ComputePublicKeyEP3Int(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %22, ptr noundef nonnull align 8 dereferenceable(983240) %720, 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) %22, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %22) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %22) #20
  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 %23) #20
  %721 = load ptr, ptr @secp, align 8, !tbaa !5
  call void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %23, ptr noundef nonnull align 8 dereferenceable(983240) %721, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP_double)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %24) #20
  invoke void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %24, ptr noundef nonnull align 8 dereferenceable(120) %23)
          to label %722 unwind label %730

722:                                              ; preds = %710
  %723 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 0) #20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %723, ptr noundef nonnull align 8 dereferenceable(120) %24, i64 120, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %25) #20
  %724 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %25, ptr noundef nonnull align 8 dereferenceable(983240) %724, ptr noundef nonnull align 8 dereferenceable(120) %24)
          to label %725 unwind label %732

725:                                              ; preds = %722
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %24, ptr noundef nonnull align 8 dereferenceable(120) %25, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %25) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %25) #20
  %726 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 1) #20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %726, ptr noundef nonnull align 8 dereferenceable(120) %24, i64 120, i1 false), !tbaa.struct !29
  br label %734

727:                                              ; preds = %736
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %27) #20
  %728 = load ptr, ptr @secp, align 8, !tbaa !5
  %729 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef 511) #20
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %27, ptr noundef nonnull align 8 dereferenceable(983240) %728, ptr noundef nonnull align 8 dereferenceable(120) %729)
          to label %740 unwind label %758

730:                                              ; preds = %710
  %731 = landingpad { ptr, i32 }
          cleanup
  br label %1698

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

734:                                              ; preds = %725, %736
  %indvars.iv = phi i64 [ 2, %725 ], [ %indvars.iv.next, %736 ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %26) #20
  %735 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %26, ptr noundef nonnull align 8 dereferenceable(983240) %735, ptr noundef nonnull align 8 dereferenceable(120) %24, ptr noundef nonnull align 8 dereferenceable(120) %23)
          to label %736 unwind label %738

736:                                              ; preds = %734
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %24, ptr noundef nonnull align 8 dereferenceable(120) %26, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %26) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %26) #20
  %737 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @GSn, i64 noundef %indvars.iv) #20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %737, ptr noundef nonnull align 8 dereferenceable(120) %24, i64 120, i1 false), !tbaa.struct !29
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond864.not = icmp eq i64 %indvars.iv.next, 512
  br i1 %exitcond864.not, label %727, label %734, !llvm.loop !30

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

740:                                              ; preds = %727
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @_2GSn, ptr noundef nonnull align 8 dereferenceable(120) %27, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %27) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %27) #20
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2)
          to label %741 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

741:                                              ; preds = %740
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %28) #20
  %742 = 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) %742, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %743 unwind label %760

743:                                              ; preds = %741
  %744 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %744, ptr noundef nonnull align 8 dereferenceable(120) %28, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %28) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %28) #20
  %745 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef 0) #20
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %745)
          to label %746 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

746:                                              ; preds = %743
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP2_double)
          to label %747 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

747:                                              ; preds = %746
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %29) #20
  %748 = 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) %748, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %749 unwind label %762

749:                                              ; preds = %747
  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 !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %29) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %29) #20
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %.preheader740 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

.preheader740:                                    ; preds = %749, %756
  %.9554777 = phi i64 [ %757, %756 ], [ 1, %749 ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %30) #20
  %750 = load ptr, ptr @secp, align 8, !tbaa !5
  %751 = add nsw i64 %.9554777, -1
  %752 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %751) #20
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %30, ptr noundef nonnull align 8 dereferenceable(983240) %750, ptr noundef nonnull align 8 dereferenceable(120) %752, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %753 unwind label %764

753:                                              ; preds = %.preheader740
  %754 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %.9554777) #20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %754, ptr noundef nonnull align 8 dereferenceable(120) %30, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %30) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %30) #20
  %755 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP2, i64 noundef %.9554777) #20
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %755)
          to label %756 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

756:                                              ; preds = %753
  %757 = add nuw nsw i64 %.9554777, 1
  %exitcond865.not = icmp eq i64 %757, 32
  br i1 %exitcond865.not, label %766, label %.preheader740, !llvm.loop !31

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

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

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

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

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

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %987
  %lpad.loopexit729 = 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 = %917
  %lpad.loopexit731 = 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 = %844
  %lpad.loopexit734 = 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 = %779
  %lpad.loopexit737 = 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 = %753
  %lpad.loopexit741 = 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 = %740, %743, %746, %749, %766, %769, %772, %775, %1049, %1458, %1465
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

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

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

766:                                              ; preds = %756
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3)
          to label %767 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

767:                                              ; preds = %766
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %31) #20
  %768 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %31, ptr noundef nonnull align 8 dereferenceable(983240) %768, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %769 unwind label %784

769:                                              ; preds = %767
  %770 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %770, ptr noundef nonnull align 8 dereferenceable(120) %31, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %31) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %31) #20
  %771 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef 0) #20
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %771)
          to label %772 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

772:                                              ; preds = %769
  invoke void @_ZN5Point3SetERS_(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) @BSGS_MP3_double)
          to label %773 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

773:                                              ; preds = %772
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %32) #20
  %774 = load ptr, ptr @secp, align 8, !tbaa !5
  invoke void @_ZN9Secp256K18NegationER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %32, ptr noundef nonnull align 8 dereferenceable(983240) %774, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %775 unwind label %786

775:                                              ; preds = %773
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) @point_temp, ptr noundef nonnull align 8 dereferenceable(120) %32, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %32) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %32) #20
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %.preheader736 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

.preheader736:                                    ; preds = %775, %782
  %.10555778 = phi i64 [ %783, %782 ], [ 1, %775 ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %33) #20
  %776 = load ptr, ptr @secp, align 8, !tbaa !5
  %777 = add nsw i64 %.10555778, -1
  %778 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %777) #20
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %33, ptr noundef nonnull align 8 dereferenceable(983240) %776, ptr noundef nonnull align 8 dereferenceable(120) %778, ptr noundef nonnull align 8 dereferenceable(120) @point_temp)
          to label %779 unwind label %788

779:                                              ; preds = %.preheader736
  %780 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %.10555778) #20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %780, ptr noundef nonnull align 8 dereferenceable(120) %33, i64 120, i1 false), !tbaa.struct !29
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %33) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %33) #20
  %781 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @BSGS_AMP3, i64 noundef %.10555778) #20
  invoke void @_ZN5Point6ReduceEv(ptr noundef nonnull align 8 dereferenceable(120) %781)
          to label %782 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

782:                                              ; preds = %779
  %783 = add nuw nsw i64 %.10555778, 1
  %exitcond866.not = icmp eq i64 %783, 32
  br i1 %exitcond866.not, label %790, label %.preheader736, !llvm.loop !32

784:                                              ; preds = %767
  %785 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %31) #20
  br label %.loopexit.split-lp

786:                                              ; preds = %773
  %787 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %32) #20
  br label %.loopexit.split-lp

788:                                              ; preds = %.preheader736
  %789 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %33) #20
  br label %.loopexit.split-lp

790:                                              ; preds = %782
  %791 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %792 = shl i64 %791, 4
  store i64 %792, ptr @bytes, align 8, !tbaa !9
  %793 = lshr i64 %792, 20
  %794 = uitofp nneg i64 %793 to double
  %795 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.178, double noundef %794, i64 noundef %791)
  %796 = load i64, ptr @bytes, align 8, !tbaa !9
  %797 = call noalias ptr @malloc(i64 noundef %796) #26
  store ptr %797, ptr @bPtable, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %797, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.179, i32 noundef 1369)
  %798 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %799 = load i64, ptr @bytes, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 8 %798, i8 0, i64 %799, i1 false)
  %800 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !11
  %.not603 = icmp eq i32 %800, 0
  br i1 %.not603, label %._crit_edge917, label %801

._crit_edge917:                                   ; preds = %790
  %.pre918 = load i32, ptr @FLAGREADEDFILE4, align 4
  br label %1130

801:                                              ; preds = %790
  %802 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %803 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.180, i64 noundef %802) #20
  %804 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not604 = icmp eq ptr %804, null
  br i1 %.not604, label %877, label %805

805:                                              ; preds = %801
  %806 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.181, ptr noundef nonnull @buffer_bloom_file)
  %807 = load ptr, ptr @stdout, align 8, !tbaa !5
  %808 = call i32 @fflush(ptr noundef %807)
  br label %809

809:                                              ; preds = %805, %866
  %.11556779 = phi i64 [ 0, %805 ], [ %867, %866 ]
  %810 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %811 = getelementptr inbounds %struct.bloom, ptr %810, i64 %.11556779
  %812 = getelementptr inbounds i8, ptr %811, i64 64
  %813 = load ptr, ptr %812, align 16, !tbaa !33
  %814 = call i64 @fread(ptr noundef %811, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %804)
  %815 = and i64 %814, 4294967295
  %.not680 = icmp eq i64 %815, 1
  br i1 %.not680, label %819, label %816

816:                                              ; preds = %809
  %817 = load ptr, ptr @stderr, align 8, !tbaa !5
  %818 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %817, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

819:                                              ; preds = %809
  %820 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %821 = getelementptr inbounds %struct.bloom, ptr %820, i64 %.11556779, i32 9
  store ptr %813, ptr %821, align 16, !tbaa !33
  %822 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %823 = getelementptr inbounds %struct.bloom, ptr %822, i64 %.11556779
  %824 = getelementptr inbounds i8, ptr %823, i64 64
  %825 = load ptr, ptr %824, align 16, !tbaa !33
  %826 = getelementptr inbounds i8, ptr %823, i64 16
  %827 = load i64, ptr %826, align 16, !tbaa !22
  %828 = call i64 @fread(ptr noundef %825, i64 noundef %827, i64 noundef 1, ptr noundef nonnull %804)
  %829 = and i64 %828, 4294967295
  %.not681 = icmp eq i64 %829, 1
  br i1 %.not681, label %833, label %830

830:                                              ; preds = %819
  %831 = load ptr, ptr @stderr, align 8, !tbaa !5
  %832 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %831, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

833:                                              ; preds = %819
  %834 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %835 = getelementptr inbounds %struct.checksumsha256, ptr %834, i64 %.11556779
  %836 = call i64 @fread(ptr noundef %835, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %804)
  %837 = and i64 %836, 4294967295
  %.not682 = icmp eq i64 %837, 1
  br i1 %.not682, label %841, label %838

838:                                              ; preds = %833
  %839 = load ptr, ptr @stderr, align 8, !tbaa !5
  %840 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %839, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

841:                                              ; preds = %833
  %842 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %843 = icmp eq i32 %842, 0
  br i1 %843, label %844, label %859

844:                                              ; preds = %841
  %845 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %846 = getelementptr inbounds %struct.bloom, ptr %845, i64 %.11556779
  %847 = getelementptr inbounds i8, ptr %846, i64 64
  %848 = load ptr, ptr %847, align 16, !tbaa !33
  %849 = getelementptr inbounds i8, ptr %846, i64 16
  %850 = load i64, ptr %849, align 16, !tbaa !22
  invoke void @_Z6sha256PhmS_(ptr noundef %848, i64 noundef %850, ptr noundef nonnull %4)
          to label %851 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

851:                                              ; preds = %844
  %852 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %853 = getelementptr inbounds %struct.checksumsha256, ptr %852, i64 %.11556779
  %bcmp683 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %853, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not684 = icmp eq i32 %bcmp683, 0
  br i1 %.not684, label %854, label %856

854:                                              ; preds = %851
  %855 = getelementptr inbounds i8, ptr %853, i64 32
  %bcmp685 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %855, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not686 = icmp eq i32 %bcmp685, 0
  br i1 %.not686, label %859, label %856

856:                                              ; preds = %854, %851
  %857 = load ptr, ptr @stderr, align 8, !tbaa !5
  %858 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %857, ptr noundef nonnull @.str.183, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

859:                                              ; preds = %854, %841
  %860 = and i64 %.11556779, 63
  %861 = icmp eq i64 %860, 0
  br i1 %861, label %862, label %866

862:                                              ; preds = %859
  %863 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %864 = load ptr, ptr @stdout, align 8, !tbaa !5
  %865 = call i32 @fflush(ptr noundef %864)
  br label %866

866:                                              ; preds = %859, %862
  %867 = add nuw nsw i64 %.11556779, 1
  %exitcond867.not = icmp eq i64 %867, 256
  br i1 %exitcond867.not, label %868, label %809, !llvm.loop !34

868:                                              ; preds = %866
  %869 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.185)
  %870 = call i32 @fclose(ptr noundef nonnull %804)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %871 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %872 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.186, i64 noundef %871) #20
  %873 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not611 = icmp eq ptr %873, null
  br i1 %.not611, label %944, label %874

874:                                              ; preds = %868
  %875 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.187, ptr noundef nonnull @buffer_bloom_file)
  %876 = call i32 @fclose(ptr noundef nonnull %873)
  br label %944

877:                                              ; preds = %801
  %878 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %879 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.186, i64 noundef %878) #20
  %880 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not605 = icmp eq ptr %880, null
  br i1 %.not605, label %944, label %881

881:                                              ; preds = %877
  %882 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.181, ptr noundef nonnull @buffer_bloom_file)
  %883 = load ptr, ptr @stdout, align 8, !tbaa !5
  %884 = call i32 @fflush(ptr noundef %883)
  br label %885

885:                                              ; preds = %881, %939
  %.12780 = phi i64 [ 0, %881 ], [ %940, %939 ]
  %886 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %887 = getelementptr inbounds %struct.bloom, ptr %886, i64 %.12780, i32 9
  %888 = load ptr, ptr %887, align 16, !tbaa !33
  %889 = call i64 @fread(ptr noundef nonnull @oldbloom_bP, i64 noundef 176, i64 noundef 1, ptr noundef nonnull %880)
  %890 = and i64 %889, 4294967295
  %.not606 = icmp eq i64 %890, 1
  br i1 %.not606, label %894, label %891

891:                                              ; preds = %885
  %892 = load ptr, ptr @stderr, align 8, !tbaa !5
  %893 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %892, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

894:                                              ; preds = %885
  %895 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %896 = getelementptr inbounds %struct.bloom, ptr %895, i64 %.12780
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(80) %896, ptr noundef nonnull align 16 dereferenceable(80) @oldbloom_bP, i64 80, i1 false)
  %897 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %898 = getelementptr inbounds %struct.bloom, ptr %897, i64 %.12780, i32 9
  store ptr %888, ptr %898, align 16, !tbaa !33
  %899 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %900 = getelementptr inbounds %struct.bloom, ptr %899, i64 %.12780
  %901 = getelementptr inbounds i8, ptr %900, i64 64
  %902 = load ptr, ptr %901, align 16, !tbaa !33
  %903 = getelementptr inbounds i8, ptr %900, i64 16
  %904 = load i64, ptr %903, align 16, !tbaa !22
  %905 = call i64 @fread(ptr noundef %902, i64 noundef %904, i64 noundef 1, ptr noundef nonnull %880)
  %906 = and i64 %905, 4294967295
  %.not607 = icmp eq i64 %906, 1
  br i1 %.not607, label %910, label %907

907:                                              ; preds = %894
  %908 = load ptr, ptr @stderr, align 8, !tbaa !5
  %909 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %908, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

910:                                              ; preds = %894
  %911 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %912 = getelementptr inbounds %struct.checksumsha256, ptr %911, i64 %.12780
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %912, ptr noundef nonnull align 16 dereferenceable(32) getelementptr inbounds (i8, ptr @oldbloom_bP, i64 64), i64 32, i1 false)
  %913 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %914 = getelementptr inbounds %struct.checksumsha256, ptr %913, i64 %.12780, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %914, 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) %4, i8 0, i64 32, i1 false)
  %915 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %916 = icmp eq i32 %915, 0
  br i1 %916, label %917, label %932

917:                                              ; preds = %910
  %918 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %919 = getelementptr inbounds %struct.bloom, ptr %918, i64 %.12780
  %920 = getelementptr inbounds i8, ptr %919, i64 64
  %921 = load ptr, ptr %920, align 16, !tbaa !33
  %922 = getelementptr inbounds i8, ptr %919, i64 16
  %923 = load i64, ptr %922, align 16, !tbaa !22
  invoke void @_Z6sha256PhmS_(ptr noundef %921, i64 noundef %923, ptr noundef nonnull %4)
          to label %924 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

924:                                              ; preds = %917
  %925 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %926 = getelementptr inbounds %struct.checksumsha256, ptr %925, i64 %.12780
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %926, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not608 = icmp eq i32 %bcmp, 0
  br i1 %.not608, label %927, label %929

927:                                              ; preds = %924
  %928 = getelementptr inbounds i8, ptr %926, i64 32
  %bcmp609 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %928, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not610 = icmp eq i32 %bcmp609, 0
  br i1 %.not610, label %932, label %929

929:                                              ; preds = %927, %924
  %930 = load ptr, ptr @stderr, align 8, !tbaa !5
  %931 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %930, ptr noundef nonnull @.str.183, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

932:                                              ; preds = %927, %910
  %933 = and i64 %.12780, 31
  %934 = icmp eq i64 %933, 0
  br i1 %934, label %935, label %939

935:                                              ; preds = %932
  %936 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %937 = load ptr, ptr @stdout, align 8, !tbaa !5
  %938 = call i32 @fflush(ptr noundef %937)
  br label %939

939:                                              ; preds = %932, %935
  %940 = add nuw nsw i64 %.12780, 1
  %exitcond868.not = icmp eq i64 %940, 256
  br i1 %exitcond868.not, label %941, label %885, !llvm.loop !35

941:                                              ; preds = %939
  %942 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.185)
  %943 = call i32 @fclose(ptr noundef nonnull %880)
  store i32 1, ptr @FLAGUPDATEFILE1, align 4, !tbaa !11
  br label %944

944:                                              ; preds = %877, %868, %874, %941
  %.sink973 = phi i32 [ 1, %941 ], [ 1, %874 ], [ 1, %868 ], [ 0, %877 ]
  store i32 %.sink973, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %945 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %946 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.188, i64 noundef %945) #20
  %947 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not612 = icmp eq ptr %947, null
  br i1 %.not612, label %1027, label %948

948:                                              ; preds = %944
  %949 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.181, ptr noundef nonnull @buffer_bloom_file)
  %950 = load ptr, ptr @stdout, align 8, !tbaa !5
  %951 = call i32 @fflush(ptr noundef %950)
  br label %952

952:                                              ; preds = %948, %1009
  %.13781 = phi i64 [ 0, %948 ], [ %1010, %1009 ]
  %953 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %954 = getelementptr inbounds %struct.bloom, ptr %953, i64 %.13781
  %955 = getelementptr inbounds i8, ptr %954, i64 64
  %956 = load ptr, ptr %955, align 16, !tbaa !33
  %957 = call i64 @fread(ptr noundef %954, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %947)
  %958 = and i64 %957, 4294967295
  %.not673 = icmp eq i64 %958, 1
  br i1 %.not673, label %962, label %959

959:                                              ; preds = %952
  %960 = load ptr, ptr @stderr, align 8, !tbaa !5
  %961 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %960, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

962:                                              ; preds = %952
  %963 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %964 = getelementptr inbounds %struct.bloom, ptr %963, i64 %.13781, i32 9
  store ptr %956, ptr %964, align 16, !tbaa !33
  %965 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %966 = getelementptr inbounds %struct.bloom, ptr %965, i64 %.13781
  %967 = getelementptr inbounds i8, ptr %966, i64 64
  %968 = load ptr, ptr %967, align 16, !tbaa !33
  %969 = getelementptr inbounds i8, ptr %966, i64 16
  %970 = load i64, ptr %969, align 16, !tbaa !22
  %971 = call i64 @fread(ptr noundef %968, i64 noundef %970, i64 noundef 1, ptr noundef nonnull %947)
  %972 = and i64 %971, 4294967295
  %.not674 = icmp eq i64 %972, 1
  br i1 %.not674, label %976, label %973

973:                                              ; preds = %962
  %974 = load ptr, ptr @stderr, align 8, !tbaa !5
  %975 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %974, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

976:                                              ; preds = %962
  %977 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %978 = getelementptr inbounds %struct.checksumsha256, ptr %977, i64 %.13781
  %979 = call i64 @fread(ptr noundef %978, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %947)
  %980 = and i64 %979, 4294967295
  %.not675 = icmp eq i64 %980, 1
  br i1 %.not675, label %984, label %981

981:                                              ; preds = %976
  %982 = load ptr, ptr @stderr, align 8, !tbaa !5
  %983 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %982, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

984:                                              ; preds = %976
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, i8 0, i64 32, i1 false)
  %985 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %986 = icmp eq i32 %985, 0
  br i1 %986, label %987, label %1002

987:                                              ; preds = %984
  %988 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %989 = getelementptr inbounds %struct.bloom, ptr %988, i64 %.13781
  %990 = getelementptr inbounds i8, ptr %989, i64 64
  %991 = load ptr, ptr %990, align 16, !tbaa !33
  %992 = getelementptr inbounds i8, ptr %989, i64 16
  %993 = load i64, ptr %992, align 16, !tbaa !22
  invoke void @_Z6sha256PhmS_(ptr noundef %991, i64 noundef %993, ptr noundef nonnull %4)
          to label %994 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

994:                                              ; preds = %987
  %995 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %996 = getelementptr inbounds %struct.checksumsha256, ptr %995, i64 %.13781
  %bcmp676 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %996, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not677 = icmp eq i32 %bcmp676, 0
  br i1 %.not677, label %997, label %999

997:                                              ; preds = %994
  %998 = getelementptr inbounds i8, ptr %996, i64 32
  %bcmp678 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %998, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not679 = icmp eq i32 %bcmp678, 0
  br i1 %.not679, label %1002, label %999

999:                                              ; preds = %997, %994
  %1000 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1001 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1000, ptr noundef nonnull @.str.183, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1002:                                             ; preds = %997, %984
  %1003 = and i64 %.13781, 63
  %1004 = icmp eq i64 %1003, 0
  br i1 %1004, label %1005, label %1009

1005:                                             ; preds = %1002
  %1006 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %1007 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1008 = call i32 @fflush(ptr noundef %1007)
  br label %1009

1009:                                             ; preds = %1002, %1005
  %1010 = add nuw nsw i64 %.13781, 1
  %exitcond869.not = icmp eq i64 %1010, 256
  br i1 %exitcond869.not, label %1011, label %952, !llvm.loop !36

1011:                                             ; preds = %1009
  %1012 = call i32 @fclose(ptr noundef nonnull %947)
  %1013 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.185)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %1014 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %1015 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.189, i64 noundef %1014) #20
  %1016 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not614 = icmp eq ptr %1016, null
  br i1 %.not614, label %1020, label %1017

1017:                                             ; preds = %1011
  %1018 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.187, ptr noundef nonnull @buffer_bloom_file)
  %1019 = call i32 @fclose(ptr noundef nonnull %1016)
  br label %1020

1020:                                             ; preds = %1017, %1011
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1024) @buffer_bloom_file, i8 0, i64 1024, i1 false)
  %1021 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %1022 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.190, i64 noundef %1021) #20
  %1023 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not615 = icmp eq ptr %1023, null
  br i1 %.not615, label %1027, label %1024

1024:                                             ; preds = %1020
  %1025 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.187, ptr noundef nonnull @buffer_bloom_file)
  %1026 = call i32 @fclose(ptr noundef nonnull %1023)
  br label %1027

1027:                                             ; preds = %944, %1020, %1024
  %storemerge613 = phi i32 [ 1, %1024 ], [ 1, %1020 ], [ 0, %944 ]
  store i32 %storemerge613, ptr @FLAGREADEDFILE2, align 4, !tbaa !11
  %1028 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %1029 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.191, i64 noundef %1028) #20
  %1030 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not616 = icmp eq ptr %1030, null
  br i1 %.not616, label %1059, label %1031

1031:                                             ; preds = %1027
  %1032 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.192, ptr noundef nonnull @buffer_bloom_file)
  %1033 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1034 = call i32 @fflush(ptr noundef %1033)
  %1035 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %1036 = load i64, ptr @bytes, align 8, !tbaa !9
  %1037 = call i64 @fread(ptr noundef %1035, i64 noundef %1036, i64 noundef 1, ptr noundef nonnull %1030)
  %.not618 = icmp eq i64 %1037, 1
  br i1 %.not618, label %1041, label %1038

1038:                                             ; preds = %1031
  %1039 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1040 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1039, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1041:                                             ; preds = %1031
  %1042 = call i64 @fread(ptr noundef nonnull @checksum, i64 noundef 32, i64 noundef 1, ptr noundef nonnull %1030)
  %.not619 = icmp eq i64 %1042, 1
  br i1 %.not619, label %1046, label %1043

1043:                                             ; preds = %1041
  %1044 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1045 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1044, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1046:                                             ; preds = %1041
  %1047 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %1048 = icmp eq i32 %1047, 0
  br i1 %1048, label %1049, label %1056

1049:                                             ; preds = %1046
  %1050 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %1051 = load i64, ptr @bytes, align 8, !tbaa !9
  invoke void @_Z6sha256PhmS_(ptr noundef %1050, i64 noundef %1051, ptr noundef nonnull @checksum_backup)
          to label %1052 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

1052:                                             ; preds = %1049
  %bcmp620 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) @checksum, ptr noundef nonnull dereferenceable(32) @checksum_backup, i64 32)
  %.not621 = icmp eq i32 %bcmp620, 0
  br i1 %.not621, label %1056, label %1053

1053:                                             ; preds = %1052
  %1054 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1055 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1054, ptr noundef nonnull @.str.183, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1056:                                             ; preds = %1052, %1046
  %1057 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.193)
  %1058 = call i32 @fclose(ptr noundef nonnull %1030)
  br label %1059

1059:                                             ; preds = %1027, %1056
  %storemerge617 = phi i32 [ 1, %1056 ], [ 0, %1027 ]
  store i32 %storemerge617, ptr @FLAGREADEDFILE3, align 4, !tbaa !11
  %1060 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %1061 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.194, i64 noundef %1060) #20
  %1062 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.149)
  %.not622 = icmp eq ptr %1062, null
  br i1 %.not622, label %1129, label %1063

1063:                                             ; preds = %1059
  %1064 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.181, ptr noundef nonnull @buffer_bloom_file)
  %1065 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1066 = call i32 @fflush(ptr noundef %1065)
  br label %1067

1067:                                             ; preds = %1063, %1124
  %.14782 = phi i64 [ 0, %1063 ], [ %1125, %1124 ]
  %1068 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1069 = getelementptr inbounds %struct.bloom, ptr %1068, i64 %.14782
  %1070 = getelementptr inbounds i8, ptr %1069, i64 64
  %1071 = load ptr, ptr %1070, align 16, !tbaa !33
  %1072 = call i64 @fread(ptr noundef %1069, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %1062)
  %1073 = and i64 %1072, 4294967295
  %.not666 = icmp eq i64 %1073, 1
  br i1 %.not666, label %1077, label %1074

1074:                                             ; preds = %1067
  %1075 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1076 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1075, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1077:                                             ; preds = %1067
  %1078 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1079 = getelementptr inbounds %struct.bloom, ptr %1078, i64 %.14782, i32 9
  store ptr %1071, ptr %1079, align 16, !tbaa !33
  %1080 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1081 = getelementptr inbounds %struct.bloom, ptr %1080, i64 %.14782
  %1082 = getelementptr inbounds i8, ptr %1081, i64 64
  %1083 = load ptr, ptr %1082, align 16, !tbaa !33
  %1084 = getelementptr inbounds i8, ptr %1081, i64 16
  %1085 = load i64, ptr %1084, align 16, !tbaa !22
  %1086 = call i64 @fread(ptr noundef %1083, i64 noundef %1085, i64 noundef 1, ptr noundef nonnull %1062)
  %1087 = and i64 %1086, 4294967295
  %.not667 = icmp eq i64 %1087, 1
  br i1 %.not667, label %1091, label %1088

1088:                                             ; preds = %1077
  %1089 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1090 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1089, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1091:                                             ; preds = %1077
  %1092 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %1093 = getelementptr inbounds %struct.checksumsha256, ptr %1092, i64 %.14782
  %1094 = call i64 @fread(ptr noundef %1093, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %1062)
  %1095 = and i64 %1094, 4294967295
  %.not668 = icmp eq i64 %1095, 1
  br i1 %.not668, label %1099, label %1096

1096:                                             ; preds = %1091
  %1097 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1098 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1097, ptr noundef nonnull @.str.182, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1099:                                             ; preds = %1091
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, i8 0, i64 32, i1 false)
  %1100 = load i32, ptr @FLAGSKIPCHECKSUM, align 4, !tbaa !11
  %1101 = icmp eq i32 %1100, 0
  br i1 %1101, label %1102, label %1117

1102:                                             ; preds = %1099
  %1103 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1104 = getelementptr inbounds %struct.bloom, ptr %1103, i64 %.14782
  %1105 = getelementptr inbounds i8, ptr %1104, i64 64
  %1106 = load ptr, ptr %1105, align 16, !tbaa !33
  %1107 = getelementptr inbounds i8, ptr %1104, i64 16
  %1108 = load i64, ptr %1107, align 16, !tbaa !22
  invoke void @_Z6sha256PhmS_(ptr noundef %1106, i64 noundef %1108, ptr noundef nonnull %4)
          to label %1109 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

1109:                                             ; preds = %1102
  %1110 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %1111 = getelementptr inbounds %struct.checksumsha256, ptr %1110, i64 %.14782
  %bcmp669 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %1111, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not670 = icmp eq i32 %bcmp669, 0
  br i1 %.not670, label %1112, label %1114

1112:                                             ; preds = %1109
  %1113 = getelementptr inbounds i8, ptr %1111, i64 32
  %bcmp671 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32) %1113, ptr noundef nonnull dereferenceable(32) %4, i64 32)
  %.not672 = icmp eq i32 %bcmp671, 0
  br i1 %.not672, label %1117, label %1114

1114:                                             ; preds = %1112, %1109
  %1115 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1115, ptr noundef nonnull @.str.183, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1117:                                             ; preds = %1112, %1099
  %1118 = and i64 %.14782, 63
  %1119 = icmp eq i64 %1118, 0
  br i1 %1119, label %1120, label %1124

1120:                                             ; preds = %1117
  %1121 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %1122 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1123 = call i32 @fflush(ptr noundef %1122)
  br label %1124

1124:                                             ; preds = %1117, %1120
  %1125 = add nuw nsw i64 %.14782, 1
  %exitcond870.not = icmp eq i64 %1125, 256
  br i1 %exitcond870.not, label %1126, label %1067, !llvm.loop !37

1126:                                             ; preds = %1124
  %1127 = call i32 @fclose(ptr noundef nonnull %1062)
  %1128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.185)
  store i32 1, ptr @FLAGREADEDFILE4, align 4, !tbaa !11
  br label %1130

1129:                                             ; preds = %1059
  store i32 0, ptr @FLAGREADEDFILE4, align 4, !tbaa !11
  br label %1130

1130:                                             ; preds = %._crit_edge917, %1126, %1129
  %1131 = phi i32 [ %.pre918, %._crit_edge917 ], [ 1, %1126 ], [ 0, %1129 ]
  %1132 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %1133 = icmp ne i32 %1132, 0
  %1134 = load i32, ptr @FLAGREADEDFILE2, align 4
  %1135 = icmp ne i32 %1134, 0
  %or.cond21 = select i1 %1133, i1 %1135, i1 false
  %1136 = load i32, ptr @FLAGREADEDFILE3, align 4
  %1137 = icmp ne i32 %1136, 0
  %or.cond23 = select i1 %or.cond21, i1 %1137, i1 false
  %1138 = icmp ne i32 %1131, 0
  %or.cond25 = select i1 %or.cond23, i1 %1138, i1 false
  br i1 %or.cond25, label %1386, label %1139

1139:                                             ; preds = %1130
  %1140 = icmp eq i32 %1132, 1
  br i1 %1140, label %1141, label %1262

1141:                                             ; preds = %1139
  %1142 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.195)
  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
  %1143 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %1144 = zext i32 %1143 to i64
  %1145 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %.not629 = icmp ugt i64 %1145, %1144
  br i1 %.not629, label %1148, label %1146

1146:                                             ; preds = %1141
  %1147 = trunc nuw i64 %1145 to i32
  store i32 %1147, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  br label %1148

1148:                                             ; preds = %1146, %1141
  %.pre-phi = phi i64 [ %1145, %1146 ], [ %1144, %1141 ]
  %1149 = udiv i64 %1145, %.pre-phi
  %1150 = urem i64 %1145, %.pre-phi
  %.not630 = icmp ne i64 %1150, 0
  %1151 = zext i1 %.not630 to i64
  %spec.select699 = add i64 %1149, %1151
  store i64 %spec.select699, ptr @THREADCYCLES, align 8, !tbaa !9
  %1152 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %1153 = uitofp i64 %1152 to double
  %1154 = fdiv double 0.000000e+00, %1153
  %1155 = fmul double %1154, 1.000000e+02
  %1156 = fptosi double %1155 to i32
  %1157 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.196, i64 noundef 0, i64 noundef %1152, i32 noundef %1156)
  %1158 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1159 = call i32 @fflush(ptr noundef %1158)
  %1160 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1161 = sext i32 %1160 to i64
  %1162 = call noalias ptr @calloc(i64 noundef %1161, i64 noundef 8) #27
  store ptr %1162, ptr @tid, align 8, !tbaa !5
  %1163 = call noalias ptr @calloc(i64 noundef %1161, i64 noundef 40) #27
  store ptr %1163, ptr @bPload_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1163, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.197, i32 noundef 1649)
  %1164 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1165 = sext i32 %1164 to i64
  %1166 = call noalias ptr @calloc(i64 noundef %1165, i64 noundef 48) #27
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1166, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.198, i32 noundef 1651)
  %1167 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1168 = sext i32 %1167 to i64
  %1169 = call noalias ptr @calloc(i64 noundef %1168, i64 noundef 1) #27
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1169, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.199, i32 noundef 1653)
  %1170 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1171 = sext i32 %1170 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %1169, i8 1, i64 %1171, i1 false)
  %1172 = icmp sgt i32 %1170, 0
  br i1 %1172, label %.lr.ph799, label %.preheader724.preheader

.lr.ph799:                                        ; preds = %1148, %.lr.ph799
  %indvars.iv880 = phi i64 [ %indvars.iv.next881, %.lr.ph799 ], [ 0, %1148 ]
  %1173 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %1174 = getelementptr inbounds %union.pthread_mutex_t, ptr %1173, i64 %indvars.iv880
  %1175 = call i32 @pthread_mutex_init(ptr noundef %1174, ptr noundef null) #20
  %indvars.iv.next881 = add nuw nsw i64 %indvars.iv880, 1
  %1176 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1177 = sext i32 %1176 to i64
  %1178 = icmp slt i64 %indvars.iv.next881, %1177
  br i1 %1178, label %.lr.ph799, label %.preheader724.preheader, !llvm.loop !38

.preheader724.preheader:                          ; preds = %.lr.ph799, %1148
  %.ph = phi i32 [ %1170, %1148 ], [ %1176, %.lr.ph799 ]
  br label %.preheader724

.preheader724:                                    ; preds = %.preheader724.preheader, %._crit_edge811
  %1179 = phi i32 [ %1258, %._crit_edge811 ], [ %.ph, %.preheader724.preheader ]
  %.0539 = phi i64 [ %.1540.lcssa, %._crit_edge811 ], [ 0, %.preheader724.preheader ]
  %.2521 = phi i32 [ %.3522.lcssa, %._crit_edge811 ], [ 0, %.preheader724.preheader ]
  %1180 = icmp sgt i32 %1179, 0
  %.not632800 = icmp eq i32 %.2521, 0
  %1181 = select i1 %1180, i1 %.not632800, i1 false
  br i1 %1181, label %.lr.ph804, label %._crit_edge805

.lr.ph804:                                        ; preds = %.preheader724, %1214
  %1182 = phi i32 [ %1215, %1214 ], [ %1179, %.preheader724 ]
  %1183 = phi i32 [ %1216, %1214 ], [ %1179, %.preheader724 ]
  %indvars.iv883 = phi i64 [ %indvars.iv.next884, %1214 ], [ 0, %.preheader724 ]
  %.1540801 = phi i64 [ %.2541, %1214 ], [ %.0539, %.preheader724 ]
  %1184 = getelementptr inbounds i8, ptr %1169, i64 %indvars.iv883
  %1185 = load i8, ptr %1184, align 1, !tbaa !13
  %1186 = icmp eq i8 %1185, 0
  br i1 %1186, label %1214, label %1187

1187:                                             ; preds = %.lr.ph804
  store i8 0, ptr %1184, align 1, !tbaa !13
  %1188 = getelementptr inbounds %struct.bPload, ptr %1166, i64 %indvars.iv883
  %1189 = getelementptr inbounds i8, ptr %1188, i64 8
  store i64 %.1540801, ptr %1189, align 8, !tbaa !39
  %1190 = trunc nuw nsw i64 %indvars.iv883 to i32
  store i32 %1190, ptr %1188, align 8, !tbaa !41
  %1191 = getelementptr inbounds i8, ptr %1188, i64 44
  store i32 0, ptr %1191, align 4, !tbaa !42
  %1192 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %1193 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %1194 = add i64 %1193, -1
  %1195 = icmp uge i64 %1192, %1194
  %1196 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %1197 = zext i32 %1196 to i64
  %1198 = select i1 %1195, i64 %1150, i64 0
  %.sink911.v = add i64 %.1540801, %1198
  %.sink911 = add i64 %.sink911.v, %1197
  %1199 = select i1 %1195, i64 %1150, i64 0
  %.sink = add nuw nsw i64 %1199, %1197
  %.4523 = zext i1 %1195 to i32
  %1200 = getelementptr inbounds i8, ptr %1188, i64 16
  store i64 %.sink911, ptr %1200, align 8
  %1201 = getelementptr inbounds i8, ptr %1188, i64 32
  store i64 %.sink, ptr %1201, align 8
  %1202 = load ptr, ptr @tid, align 8, !tbaa !5
  %1203 = getelementptr inbounds i64, ptr %1202, i64 %indvars.iv883
  %1204 = call i32 @pthread_create(ptr noundef %1203, ptr noundef null, ptr noundef nonnull @_Z21thread_bPload_2bloomsPv, ptr noundef nonnull %1188) #20
  %1205 = load ptr, ptr @tid, align 8, !tbaa !5
  %1206 = getelementptr inbounds i64, ptr %1205, i64 %indvars.iv883
  %1207 = load i64, ptr %1206, align 8, !tbaa !9
  %1208 = call i32 @pthread_detach(i64 noundef %1207) #20
  %1209 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %1210 = zext i32 %1209 to i64
  %1211 = add i64 %.1540801, %1210
  %1212 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %1213 = add i64 %1212, 1
  store i64 %1213, ptr @THREADCOUNTER, align 8, !tbaa !9
  %.pre921 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %1214

1214:                                             ; preds = %.lr.ph804, %1187
  %1215 = phi i32 [ %1182, %.lr.ph804 ], [ %.pre921, %1187 ]
  %1216 = phi i32 [ %1183, %.lr.ph804 ], [ %.pre921, %1187 ]
  %.2541 = phi i64 [ %.1540801, %.lr.ph804 ], [ %1211, %1187 ]
  %.5524 = phi i32 [ 0, %.lr.ph804 ], [ %.4523, %1187 ]
  %indvars.iv.next884 = add nuw nsw i64 %indvars.iv883, 1
  %1217 = sext i32 %1216 to i64
  %1218 = icmp slt i64 %indvars.iv.next884, %1217
  %.not632 = icmp eq i32 %.5524, 0
  %1219 = and i1 %1218, %.not632
  br i1 %1219, label %.lr.ph804, label %._crit_edge805, !llvm.loop !43

._crit_edge805:                                   ; preds = %1214, %.preheader724
  %1220 = phi i32 [ %1179, %.preheader724 ], [ %1215, %1214 ]
  %.1540.lcssa = phi i64 [ %.0539, %.preheader724 ], [ %.2541, %1214 ]
  %.3522.lcssa = phi i32 [ %.2521, %.preheader724 ], [ %.5524, %1214 ]
  %1221 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %1222 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %.not633 = icmp eq i64 %1221, %1222
  br i1 %.not633, label %1234, label %1223

1223:                                             ; preds = %._crit_edge805
  %1224 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %1225 = uitofp i64 %1222 to double
  %1226 = uitofp i64 %1224 to double
  %1227 = fdiv double %1225, %1226
  %1228 = fmul double %1227, 1.000000e+02
  %1229 = fptosi double %1228 to i32
  %1230 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.196, i64 noundef %1222, i64 noundef %1224, i32 noundef %1229)
  %1231 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1232 = call i32 @fflush(ptr noundef %1231)
  %1233 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  store i64 %1233, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %.pre922 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %1234

1234:                                             ; preds = %1223, %._crit_edge805
  %1235 = phi i32 [ %.pre922, %1223 ], [ %1220, %._crit_edge805 ]
  %1236 = icmp sgt i32 %1235, 0
  br i1 %1236, label %.lr.ph810, label %._crit_edge811

.lr.ph810:                                        ; preds = %1234, %1254
  %indvars.iv886 = phi i64 [ %indvars.iv.next887, %1254 ], [ 0, %1234 ]
  %1237 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %1238 = getelementptr inbounds %union.pthread_mutex_t, ptr %1237, i64 %indvars.iv886
  %1239 = call i32 @pthread_mutex_lock(ptr noundef %1238) #20
  %1240 = getelementptr inbounds %struct.bPload, ptr %1166, i64 %indvars.iv886
  %1241 = getelementptr inbounds i8, ptr %1240, i64 44
  %1242 = load i32, ptr %1241, align 4, !tbaa !42
  %1243 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %1244 = getelementptr inbounds %union.pthread_mutex_t, ptr %1243, i64 %indvars.iv886
  %1245 = call i32 @pthread_mutex_unlock(ptr noundef %1244) #20
  %.not634 = icmp eq i32 %1242, 0
  br i1 %.not634, label %1254, label %1246

1246:                                             ; preds = %.lr.ph810
  store i32 0, ptr %1241, align 4, !tbaa !42
  %1247 = getelementptr inbounds i8, ptr %1169, i64 %indvars.iv886
  store i8 1, ptr %1247, align 1, !tbaa !13
  %1248 = getelementptr inbounds i8, ptr %1240, i64 32
  %1249 = load i64, ptr %1248, align 8, !tbaa !44
  %1250 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %1251 = add i64 %1250, %1249
  store i64 %1251, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %1252 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %1253 = add i64 %1252, 1
  store i64 %1253, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  br label %1254

1254:                                             ; preds = %.lr.ph810, %1246
  %indvars.iv.next887 = add nuw nsw i64 %indvars.iv886, 1
  %1255 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1256 = sext i32 %1255 to i64
  %1257 = icmp slt i64 %indvars.iv.next887, %1256
  br i1 %1257, label %.lr.ph810, label %._crit_edge811, !llvm.loop !45

._crit_edge811:                                   ; preds = %1254, %1234
  %1258 = phi i32 [ %1235, %1234 ], [ %1255, %1254 ]
  %1259 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %1260 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %1261 = icmp ult i64 %1259, %1260
  br i1 %1261, label %.preheader724, label %.sink.split974, !llvm.loop !46

1262:                                             ; preds = %1139
  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
  %1263 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %1264 = zext i32 %1263 to i64
  %1265 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %.not623 = icmp ugt i64 %1265, %1264
  br i1 %.not623, label %1268, label %1266

1266:                                             ; preds = %1262
  %1267 = trunc nuw i64 %1265 to i32
  store i32 %1267, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  br label %1268

1268:                                             ; preds = %1266, %1262
  %.pre-phi928 = phi i64 [ %1265, %1266 ], [ %1264, %1262 ]
  %1269 = udiv i64 %1265, %.pre-phi928
  %1270 = urem i64 %1265, %.pre-phi928
  %.not624 = icmp ne i64 %1270, 0
  %1271 = zext i1 %.not624 to i64
  %spec.select700 = add i64 %1269, %1271
  store i64 %spec.select700, ptr @THREADCYCLES, align 8, !tbaa !9
  %1272 = uitofp i64 %1265 to double
  %1273 = fdiv double 0.000000e+00, %1272
  %1274 = fmul double %1273, 1.000000e+02
  %1275 = fptosi double %1274 to i32
  %1276 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.196, i64 noundef 0, i64 noundef %1265, i32 noundef %1275)
  %1277 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1278 = call i32 @fflush(ptr noundef %1277)
  %1279 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1280 = sext i32 %1279 to i64
  %1281 = call noalias ptr @calloc(i64 noundef %1280, i64 noundef 8) #27
  store ptr %1281, ptr @tid, align 8, !tbaa !5
  %1282 = call noalias ptr @calloc(i64 noundef %1280, i64 noundef 40) #27
  store ptr %1282, ptr @bPload_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1281, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.201, i32 noundef 1759)
  %1283 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1283, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.197, i32 noundef 1760)
  %1284 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1285 = sext i32 %1284 to i64
  %1286 = call noalias ptr @calloc(i64 noundef %1285, i64 noundef 48) #27
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1286, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.198, i32 noundef 1763)
  %1287 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1288 = sext i32 %1287 to i64
  %1289 = call noalias ptr @calloc(i64 noundef %1288, i64 noundef 1) #27
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1289, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.199, i32 noundef 1765)
  %1290 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1291 = sext i32 %1290 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %1289, i8 1, i64 %1291, i1 false)
  %1292 = icmp sgt i32 %1290, 0
  br i1 %1292, label %.lr.ph785, label %.preheader725.preheader

.lr.ph785:                                        ; preds = %1268, %.lr.ph785
  %indvars.iv871 = phi i64 [ %indvars.iv.next872, %.lr.ph785 ], [ 0, %1268 ]
  %1293 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %1294 = getelementptr inbounds %union.pthread_mutex_t, ptr %1293, i64 %indvars.iv871
  %1295 = call i32 @pthread_mutex_init(ptr noundef %1294, ptr noundef null) #20
  %indvars.iv.next872 = add nuw nsw i64 %indvars.iv871, 1
  %1296 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1297 = sext i32 %1296 to i64
  %1298 = icmp slt i64 %indvars.iv.next872, %1297
  br i1 %1298, label %.lr.ph785, label %.preheader725.preheader, !llvm.loop !47

.preheader725.preheader:                          ; preds = %.lr.ph785, %1268
  %.ph1031 = phi i32 [ %1290, %1268 ], [ %1296, %.lr.ph785 ]
  br label %.preheader725

.preheader725:                                    ; preds = %.preheader725.preheader, %._crit_edge796
  %1299 = phi i32 [ %1378, %._crit_edge796 ], [ %.ph1031, %.preheader725.preheader ]
  %.3542 = phi i64 [ %.4543.lcssa, %._crit_edge796 ], [ 0, %.preheader725.preheader ]
  %.6525 = phi i32 [ %.7526.lcssa, %._crit_edge796 ], [ 0, %.preheader725.preheader ]
  %1300 = icmp sgt i32 %1299, 0
  %.not626786 = icmp eq i32 %.6525, 0
  %1301 = select i1 %1300, i1 %.not626786, i1 false
  br i1 %1301, label %.lr.ph790, label %._crit_edge791

.lr.ph790:                                        ; preds = %.preheader725, %1334
  %1302 = phi i32 [ %1335, %1334 ], [ %1299, %.preheader725 ]
  %1303 = phi i32 [ %1336, %1334 ], [ %1299, %.preheader725 ]
  %indvars.iv874 = phi i64 [ %indvars.iv.next875, %1334 ], [ 0, %.preheader725 ]
  %.4543787 = phi i64 [ %.5544, %1334 ], [ %.3542, %.preheader725 ]
  %1304 = getelementptr inbounds i8, ptr %1289, i64 %indvars.iv874
  %1305 = load i8, ptr %1304, align 1, !tbaa !13
  %1306 = icmp eq i8 %1305, 0
  br i1 %1306, label %1334, label %1307

1307:                                             ; preds = %.lr.ph790
  store i8 0, ptr %1304, align 1, !tbaa !13
  %1308 = getelementptr inbounds %struct.bPload, ptr %1286, i64 %indvars.iv874
  %1309 = getelementptr inbounds i8, ptr %1308, i64 8
  store i64 %.4543787, ptr %1309, align 8, !tbaa !39
  %1310 = trunc nuw nsw i64 %indvars.iv874 to i32
  store i32 %1310, ptr %1308, align 8, !tbaa !41
  %1311 = getelementptr inbounds i8, ptr %1308, i64 44
  store i32 0, ptr %1311, align 4, !tbaa !42
  %1312 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %1313 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %1314 = add i64 %1313, -1
  %1315 = icmp uge i64 %1312, %1314
  %1316 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %1317 = zext i32 %1316 to i64
  %1318 = select i1 %1315, i64 %1270, i64 0
  %.sink913.v = add i64 %.4543787, %1318
  %.sink913 = add i64 %.sink913.v, %1317
  %1319 = select i1 %1315, i64 %1270, i64 0
  %.sink912 = add nuw nsw i64 %1319, %1317
  %.8527 = zext i1 %1315 to i32
  %1320 = getelementptr inbounds i8, ptr %1308, i64 16
  store i64 %.sink913, ptr %1320, align 8
  %1321 = getelementptr inbounds i8, ptr %1308, i64 32
  store i64 %.sink912, ptr %1321, align 8
  %1322 = load ptr, ptr @tid, align 8, !tbaa !5
  %1323 = getelementptr inbounds i64, ptr %1322, i64 %indvars.iv874
  %1324 = call i32 @pthread_create(ptr noundef %1323, ptr noundef null, ptr noundef nonnull @_Z13thread_bPloadPv, ptr noundef nonnull %1308) #20
  %1325 = load ptr, ptr @tid, align 8, !tbaa !5
  %1326 = getelementptr inbounds i64, ptr %1325, i64 %indvars.iv874
  %1327 = load i64, ptr %1326, align 8, !tbaa !9
  %1328 = call i32 @pthread_detach(i64 noundef %1327) #20
  %1329 = load i32, ptr @THREADBPWORKLOAD, align 4, !tbaa !11
  %1330 = zext i32 %1329 to i64
  %1331 = add i64 %.4543787, %1330
  %1332 = load i64, ptr @THREADCOUNTER, align 8, !tbaa !9
  %1333 = add i64 %1332, 1
  store i64 %1333, ptr @THREADCOUNTER, align 8, !tbaa !9
  %.pre919 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %1334

1334:                                             ; preds = %.lr.ph790, %1307
  %1335 = phi i32 [ %1302, %.lr.ph790 ], [ %.pre919, %1307 ]
  %1336 = phi i32 [ %1303, %.lr.ph790 ], [ %.pre919, %1307 ]
  %.5544 = phi i64 [ %.4543787, %.lr.ph790 ], [ %1331, %1307 ]
  %.9528 = phi i32 [ 0, %.lr.ph790 ], [ %.8527, %1307 ]
  %indvars.iv.next875 = add nuw nsw i64 %indvars.iv874, 1
  %1337 = sext i32 %1336 to i64
  %1338 = icmp slt i64 %indvars.iv.next875, %1337
  %.not626 = icmp eq i32 %.9528, 0
  %1339 = and i1 %1338, %.not626
  br i1 %1339, label %.lr.ph790, label %._crit_edge791, !llvm.loop !48

._crit_edge791:                                   ; preds = %1334, %.preheader725
  %1340 = phi i32 [ %1299, %.preheader725 ], [ %1335, %1334 ]
  %.4543.lcssa = phi i64 [ %.3542, %.preheader725 ], [ %.5544, %1334 ]
  %.7526.lcssa = phi i32 [ %.6525, %.preheader725 ], [ %.9528, %1334 ]
  %1341 = load i64, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %1342 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %.not627 = icmp eq i64 %1341, %1342
  br i1 %.not627, label %1354, label %1343

1343:                                             ; preds = %._crit_edge791
  %1344 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %1345 = uitofp i64 %1342 to double
  %1346 = uitofp i64 %1344 to double
  %1347 = fdiv double %1345, %1346
  %1348 = fmul double %1347, 1.000000e+02
  %1349 = fptosi double %1348 to i32
  %1350 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.196, i64 noundef %1342, i64 noundef %1344, i32 noundef %1349)
  %1351 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1352 = call i32 @fflush(ptr noundef %1351)
  %1353 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  store i64 %1353, ptr @OLDFINISHED_ITEMS, align 8, !tbaa !9
  %.pre920 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  br label %1354

1354:                                             ; preds = %1343, %._crit_edge791
  %1355 = phi i32 [ %.pre920, %1343 ], [ %1340, %._crit_edge791 ]
  %1356 = icmp sgt i32 %1355, 0
  br i1 %1356, label %.lr.ph795, label %._crit_edge796

.lr.ph795:                                        ; preds = %1354, %1374
  %indvars.iv877 = phi i64 [ %indvars.iv.next878, %1374 ], [ 0, %1354 ]
  %1357 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %1358 = getelementptr inbounds %union.pthread_mutex_t, ptr %1357, i64 %indvars.iv877
  %1359 = call i32 @pthread_mutex_lock(ptr noundef %1358) #20
  %1360 = getelementptr inbounds %struct.bPload, ptr %1286, i64 %indvars.iv877
  %1361 = getelementptr inbounds i8, ptr %1360, i64 44
  %1362 = load i32, ptr %1361, align 4, !tbaa !42
  %1363 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  %1364 = getelementptr inbounds %union.pthread_mutex_t, ptr %1363, i64 %indvars.iv877
  %1365 = call i32 @pthread_mutex_unlock(ptr noundef %1364) #20
  %.not628 = icmp eq i32 %1362, 0
  br i1 %.not628, label %1374, label %1366

1366:                                             ; preds = %.lr.ph795
  store i32 0, ptr %1361, align 4, !tbaa !42
  %1367 = getelementptr inbounds i8, ptr %1289, i64 %indvars.iv877
  store i8 1, ptr %1367, align 1, !tbaa !13
  %1368 = getelementptr inbounds i8, ptr %1360, i64 32
  %1369 = load i64, ptr %1368, align 8, !tbaa !44
  %1370 = load i64, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %1371 = add i64 %1370, %1369
  store i64 %1371, ptr @FINISHED_ITEMS, align 8, !tbaa !9
  %1372 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %1373 = add i64 %1372, 1
  store i64 %1373, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  br label %1374

1374:                                             ; preds = %.lr.ph795, %1366
  %indvars.iv.next878 = add nuw nsw i64 %indvars.iv877, 1
  %1375 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1376 = sext i32 %1375 to i64
  %1377 = icmp slt i64 %indvars.iv.next878, %1376
  br i1 %1377, label %.lr.ph795, label %._crit_edge796, !llvm.loop !49

._crit_edge796:                                   ; preds = %1374, %1354
  %1378 = phi i32 [ %1355, %1354 ], [ %1375, %1374 ]
  %1379 = load i64, ptr @FINISHED_THREADS_COUNTER, align 8, !tbaa !9
  %1380 = load i64, ptr @THREADCYCLES, align 8, !tbaa !9
  %1381 = icmp ult i64 %1379, %1380
  br i1 %1381, label %.preheader725, label %.sink.split974, !llvm.loop !50

.sink.split974:                                   ; preds = %._crit_edge796, %._crit_edge811
  %bsgs_m2.sink = phi ptr [ @bsgs_m2, %._crit_edge811 ], [ @bsgs_m, %._crit_edge796 ]
  %.sink976 = phi ptr [ %1166, %._crit_edge811 ], [ %1286, %._crit_edge796 ]
  %.sink975 = phi ptr [ %1169, %._crit_edge811 ], [ %1289, %._crit_edge796 ]
  %1382 = load i64, ptr %bsgs_m2.sink, align 8, !tbaa !9
  %1383 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.200, i64 noundef %1382, i64 noundef %1382)
  %1384 = load ptr, ptr @tid, align 8, !tbaa !5
  call void @free(ptr noundef %1384) #20
  %1385 = load ptr, ptr @bPload_mutex, align 8, !tbaa !5
  call void @free(ptr noundef %1385) #20
  call void @free(ptr noundef %.sink976) #20
  call void @free(ptr noundef %.sink975) #20
  br label %1386

1386:                                             ; preds = %.sink.split974, %1130
  %1387 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %1388 = icmp ne i32 %1387, 0
  %1389 = load i32, ptr @FLAGREADEDFILE2, align 4
  %1390 = icmp ne i32 %1389, 0
  %or.cond31 = select i1 %1388, i1 %1390, i1 false
  %1391 = load i32, ptr @FLAGREADEDFILE4, align 4
  %1392 = icmp ne i32 %1391, 0
  %or.cond33 = select i1 %or.cond31, i1 %1392, i1 false
  br i1 %or.cond33, label %.thread933, label %1393

1393:                                             ; preds = %1386
  %1394 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.202)
  %1395 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1396 = call i32 @fflush(ptr noundef %1395)
  %.pre923 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %.not635 = icmp eq i32 %.pre923, 0
  br i1 %.not635, label %.preheader721, label %.thread933

.preheader721:                                    ; preds = %1393, %1405
  %.15812 = phi i64 [ %1409, %1405 ], [ 0, %1393 ]
  %1397 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %1398 = getelementptr inbounds %struct.bloom, ptr %1397, i64 %.15812
  %1399 = getelementptr inbounds i8, ptr %1398, i64 64
  %1400 = load ptr, ptr %1399, align 16, !tbaa !33
  %1401 = getelementptr inbounds i8, ptr %1398, i64 16
  %1402 = load i64, ptr %1401, align 16, !tbaa !22
  %1403 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %1404 = getelementptr inbounds %struct.checksumsha256, ptr %1403, i64 %.15812
  invoke void @_Z6sha256PhmS_(ptr noundef %1400, i64 noundef %1402, ptr noundef %1404)
          to label %1405 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

1405:                                             ; preds = %.preheader721
  %1406 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %1407 = getelementptr inbounds %struct.checksumsha256, ptr %1406, i64 %.15812
  %1408 = getelementptr inbounds i8, ptr %1407, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %1408, ptr noundef nonnull align 1 dereferenceable(32) %1407, i64 32, i1 false)
  %1409 = add nuw nsw i64 %.15812, 1
  %exitcond889.not = icmp eq i64 %1409, 256
  br i1 %exitcond889.not, label %1410, label %.preheader721, !llvm.loop !51

1410:                                             ; preds = %1405
  %1411 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  br label %.thread933

.thread933:                                       ; preds = %1386, %1410, %1393
  %1412 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !11
  %.not636 = icmp eq i32 %1412, 0
  br i1 %.not636, label %.preheader717, label %1428

.preheader717:                                    ; preds = %.thread933, %1421
  %.16813 = phi i64 [ %1425, %1421 ], [ 0, %.thread933 ]
  %1413 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %1414 = getelementptr inbounds %struct.bloom, ptr %1413, i64 %.16813
  %1415 = getelementptr inbounds i8, ptr %1414, i64 64
  %1416 = load ptr, ptr %1415, align 16, !tbaa !33
  %1417 = getelementptr inbounds i8, ptr %1414, i64 16
  %1418 = load i64, ptr %1417, align 16, !tbaa !22
  %1419 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %1420 = getelementptr inbounds %struct.checksumsha256, ptr %1419, i64 %.16813
  invoke void @_Z6sha256PhmS_(ptr noundef %1416, i64 noundef %1418, ptr noundef %1420)
          to label %1421 unwind label %.loopexit.split-lp.loopexit

1421:                                             ; preds = %.preheader717
  %1422 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %1423 = getelementptr inbounds %struct.checksumsha256, ptr %1422, i64 %.16813
  %1424 = getelementptr inbounds i8, ptr %1423, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %1424, ptr noundef nonnull align 1 dereferenceable(32) %1423, i64 32, i1 false)
  %1425 = add nuw nsw i64 %.16813, 1
  %exitcond890.not = icmp eq i64 %1425, 256
  br i1 %exitcond890.not, label %1426, label %.preheader717, !llvm.loop !52

1426:                                             ; preds = %1421
  %1427 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  br label %1428

1428:                                             ; preds = %1426, %.thread933
  %1429 = load i32, ptr @FLAGREADEDFILE4, align 4
  %.not637 = icmp eq i32 %1429, 0
  br i1 %.not637, label %.preheader715, label %1445

.preheader715:                                    ; preds = %1428, %1438
  %.17814 = phi i64 [ %1442, %1438 ], [ 0, %1428 ]
  %1430 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1431 = getelementptr inbounds %struct.bloom, ptr %1430, i64 %.17814
  %1432 = getelementptr inbounds i8, ptr %1431, i64 64
  %1433 = load ptr, ptr %1432, align 16, !tbaa !33
  %1434 = getelementptr inbounds i8, ptr %1431, i64 16
  %1435 = load i64, ptr %1434, align 16, !tbaa !22
  %1436 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %1437 = getelementptr inbounds %struct.checksumsha256, ptr %1436, i64 %.17814
  invoke void @_Z6sha256PhmS_(ptr noundef %1433, i64 noundef %1435, ptr noundef %1437)
          to label %1438 unwind label %.loopexit716

1438:                                             ; preds = %.preheader715
  %1439 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %1440 = getelementptr inbounds %struct.checksumsha256, ptr %1439, i64 %.17814
  %1441 = getelementptr inbounds i8, ptr %1440, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(32) %1441, ptr noundef nonnull align 1 dereferenceable(32) %1440, i64 32, i1 false)
  %1442 = add nuw nsw i64 %.17814, 1
  %exitcond891.not = icmp eq i64 %1442, 256
  br i1 %exitcond891.not, label %1443, label %.preheader715, !llvm.loop !53

1443:                                             ; preds = %1438
  %1444 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %.pre924 = load i32, ptr @FLAGREADEDFILE4, align 4
  br label %1445

1445:                                             ; preds = %1443, %1428
  %1446 = phi i32 [ %.pre924, %1443 ], [ %1429, %1428 ]
  %1447 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %1448 = icmp ne i32 %1447, 0
  %1449 = load i32, ptr @FLAGREADEDFILE2, align 4
  %1450 = icmp ne i32 %1449, 0
  %or.cond35 = select i1 %1448, i1 %1450, i1 false
  %1451 = icmp ne i32 %1446, 0
  %or.cond37 = select i1 %or.cond35, i1 %1451, i1 false
  br i1 %or.cond37, label %1456, label %1452

1452:                                             ; preds = %1445
  %1453 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.203)
  %1454 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1455 = call i32 @fflush(ptr noundef %1454)
  br label %1456

1456:                                             ; preds = %1445, %1452
  %1457 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !11
  %.not638 = icmp eq i32 %1457, 0
  br i1 %.not638, label %1458, label %1472

1458:                                             ; preds = %1456
  %1459 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %1460 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.204, i64 noundef %1459)
  %1461 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1462 = call i32 @fflush(ptr noundef %1461)
  %1463 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %1464 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  invoke void @_Z9bsgs_sortP11bsgs_xvaluel(ptr noundef %1463, i64 noundef %1464)
          to label %1465 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

1465:                                             ; preds = %1458
  %1466 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %1467 = load i64, ptr @bytes, align 8, !tbaa !9
  invoke void @_Z6sha256PhmS_(ptr noundef %1466, i64 noundef %1467, ptr noundef nonnull @checksum)
          to label %1468 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

1468:                                             ; preds = %1465
  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)
  %1469 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.205)
  %1470 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1471 = call i32 @fflush(ptr noundef %1470)
  br label %1472

1472:                                             ; preds = %1468, %1456
  %1473 = load i32, ptr @FLAGSAVEREADFILE, align 4, !tbaa !11
  %1474 = icmp ne i32 %1473, 0
  %1475 = load i32, ptr @FLAGUPDATEFILE1, align 4
  %1476 = icmp ne i32 %1475, 0
  %or.cond39 = select i1 %1474, i1 true, i1 %1476
  br i1 %or.cond39, label %1477, label %1670

1477:                                             ; preds = %1472
  %1478 = load i32, ptr @FLAGREADEDFILE1, align 4, !tbaa !11
  %1479 = icmp eq i32 %1478, 0
  %or.cond41 = select i1 %1479, i1 true, i1 %1476
  br i1 %or.cond41, label %1480, label %1535

1480:                                             ; preds = %1477
  %1481 = load i64, ptr @bsgs_m, align 8, !tbaa !9
  %1482 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.180, i64 noundef %1481) #20
  %1483 = load i32, ptr @FLAGUPDATEFILE1, align 4, !tbaa !11
  %.not639 = icmp eq i32 %1483, 0
  br i1 %.not639, label %1486, label %1484

1484:                                             ; preds = %1480
  %1485 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.206)
  br label %1486

1486:                                             ; preds = %1484, %1480
  %1487 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.207)
  %.not640 = icmp eq ptr %1487, null
  br i1 %.not640, label %1532, label %1488

1488:                                             ; preds = %1486
  %1489 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.208, ptr noundef nonnull @buffer_bloom_file)
  %1490 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1491 = call i32 @fflush(ptr noundef %1490)
  br label %1492

1492:                                             ; preds = %1488, %1527
  %.18815 = phi i64 [ 0, %1488 ], [ %1528, %1527 ]
  %1493 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %1494 = getelementptr inbounds %struct.bloom, ptr %1493, i64 %.18815
  %1495 = call i64 @fwrite(ptr noundef %1494, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %1487)
  %1496 = and i64 %1495, 4294967295
  %.not663 = icmp eq i64 %1496, 1
  br i1 %.not663, label %1500, label %1497

1497:                                             ; preds = %1492
  %1498 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1499 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1498, ptr noundef nonnull @.str.209, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1500:                                             ; preds = %1492
  %1501 = load ptr, ptr @bloom_bP, align 8, !tbaa !5
  %1502 = getelementptr inbounds %struct.bloom, ptr %1501, i64 %.18815
  %1503 = getelementptr inbounds i8, ptr %1502, i64 64
  %1504 = load ptr, ptr %1503, align 16, !tbaa !33
  %1505 = getelementptr inbounds i8, ptr %1502, i64 16
  %1506 = load i64, ptr %1505, align 16, !tbaa !22
  %1507 = call i64 @fwrite(ptr noundef %1504, i64 noundef %1506, i64 noundef 1, ptr noundef nonnull %1487)
  %1508 = and i64 %1507, 4294967295
  %.not664 = icmp eq i64 %1508, 1
  br i1 %.not664, label %1512, label %1509

1509:                                             ; preds = %1500
  %1510 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1511 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1510, ptr noundef nonnull @.str.209, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1512:                                             ; preds = %1500
  %1513 = load ptr, ptr @bloom_bP_checksums, align 8, !tbaa !5
  %1514 = getelementptr inbounds %struct.checksumsha256, ptr %1513, i64 %.18815
  %1515 = call i64 @fwrite(ptr noundef %1514, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %1487)
  %1516 = and i64 %1515, 4294967295
  %.not665 = icmp eq i64 %1516, 1
  br i1 %.not665, label %1520, label %1517

1517:                                             ; preds = %1512
  %1518 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1519 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1518, ptr noundef nonnull @.str.209, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1520:                                             ; preds = %1512
  %1521 = and i64 %.18815, 63
  %1522 = icmp eq i64 %1521, 0
  br i1 %1522, label %1523, label %1527

1523:                                             ; preds = %1520
  %1524 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %1525 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1526 = call i32 @fflush(ptr noundef %1525)
  br label %1527

1527:                                             ; preds = %1520, %1523
  %1528 = add nuw nsw i64 %.18815, 1
  %exitcond892.not = icmp eq i64 %1528, 256
  br i1 %exitcond892.not, label %1529, label %1492, !llvm.loop !54

1529:                                             ; preds = %1527
  %1530 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.185)
  %1531 = call i32 @fclose(ptr noundef nonnull %1487)
  br label %1535

1532:                                             ; preds = %1486
  %1533 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1534 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1533, ptr noundef nonnull @.str.210, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1535:                                             ; preds = %1477, %1529
  %1536 = load i32, ptr @FLAGREADEDFILE2, align 4, !tbaa !11
  %.not641 = icmp eq i32 %1536, 0
  br i1 %.not641, label %1537, label %1588

1537:                                             ; preds = %1535
  %1538 = load i64, ptr @bsgs_m2, align 8, !tbaa !9
  %1539 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.188, i64 noundef %1538) #20
  %1540 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.207)
  %.not642 = icmp eq ptr %1540, null
  br i1 %.not642, label %1585, label %1541

1541:                                             ; preds = %1537
  %1542 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.208, ptr noundef nonnull @buffer_bloom_file)
  %1543 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1544 = call i32 @fflush(ptr noundef %1543)
  br label %1545

1545:                                             ; preds = %1541, %1580
  %.19816 = phi i64 [ 0, %1541 ], [ %1581, %1580 ]
  %1546 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %1547 = getelementptr inbounds %struct.bloom, ptr %1546, i64 %.19816
  %1548 = call i64 @fwrite(ptr noundef %1547, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %1540)
  %1549 = and i64 %1548, 4294967295
  %.not643 = icmp eq i64 %1549, 1
  br i1 %.not643, label %1553, label %1550

1550:                                             ; preds = %1545
  %1551 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1552 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1551, ptr noundef nonnull @.str.211, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1553:                                             ; preds = %1545
  %1554 = load ptr, ptr @bloom_bPx2nd, align 8, !tbaa !5
  %1555 = getelementptr inbounds %struct.bloom, ptr %1554, i64 %.19816
  %1556 = getelementptr inbounds i8, ptr %1555, i64 64
  %1557 = load ptr, ptr %1556, align 16, !tbaa !33
  %1558 = getelementptr inbounds i8, ptr %1555, i64 16
  %1559 = load i64, ptr %1558, align 16, !tbaa !22
  %1560 = call i64 @fwrite(ptr noundef %1557, i64 noundef %1559, i64 noundef 1, ptr noundef nonnull %1540)
  %1561 = and i64 %1560, 4294967295
  %.not644 = icmp eq i64 %1561, 1
  br i1 %.not644, label %1565, label %1562

1562:                                             ; preds = %1553
  %1563 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1564 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1563, ptr noundef nonnull @.str.211, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1565:                                             ; preds = %1553
  %1566 = load ptr, ptr @bloom_bPx2nd_checksums, align 8, !tbaa !5
  %1567 = getelementptr inbounds %struct.checksumsha256, ptr %1566, i64 %.19816
  %1568 = call i64 @fwrite(ptr noundef %1567, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %1540)
  %1569 = and i64 %1568, 4294967295
  %.not645 = icmp eq i64 %1569, 1
  br i1 %.not645, label %1573, label %1570

1570:                                             ; preds = %1565
  %1571 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1572 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1571, ptr noundef nonnull @.str.209, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1573:                                             ; preds = %1565
  %1574 = and i64 %.19816, 63
  %1575 = icmp eq i64 %1574, 0
  br i1 %1575, label %1576, label %1580

1576:                                             ; preds = %1573
  %1577 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %1578 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1579 = call i32 @fflush(ptr noundef %1578)
  br label %1580

1580:                                             ; preds = %1573, %1576
  %1581 = add nuw nsw i64 %.19816, 1
  %exitcond893.not = icmp eq i64 %1581, 256
  br i1 %exitcond893.not, label %1582, label %1545, !llvm.loop !55

1582:                                             ; preds = %1580
  %1583 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.185)
  %1584 = call i32 @fclose(ptr noundef nonnull %1540)
  br label %1588

1585:                                             ; preds = %1537
  %1586 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1587 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1586, ptr noundef nonnull @.str.210, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1588:                                             ; preds = %1582, %1535
  %1589 = load i32, ptr @FLAGREADEDFILE3, align 4, !tbaa !11
  %.not646 = icmp eq i32 %1589, 0
  br i1 %.not646, label %1590, label %1617

1590:                                             ; preds = %1588
  %1591 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %1592 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.191, i64 noundef %1591) #20
  %1593 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.207)
  %.not647 = icmp eq ptr %1593, null
  br i1 %.not647, label %1614, label %1594

1594:                                             ; preds = %1590
  %1595 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.212, ptr noundef nonnull @buffer_bloom_file)
  %1596 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1597 = call i32 @fflush(ptr noundef %1596)
  %1598 = load ptr, ptr @bPtable, align 8, !tbaa !5
  %1599 = load i64, ptr @bytes, align 8, !tbaa !9
  %1600 = call i64 @fwrite(ptr noundef %1598, i64 noundef %1599, i64 noundef 1, ptr noundef nonnull %1593)
  %1601 = and i64 %1600, 4294967295
  %.not648 = icmp eq i64 %1601, 1
  br i1 %.not648, label %1605, label %1602

1602:                                             ; preds = %1594
  %1603 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1604 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1603, ptr noundef nonnull @.str.211, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1605:                                             ; preds = %1594
  %1606 = call i64 @fwrite(ptr noundef nonnull @checksum, i64 noundef 32, i64 noundef 1, ptr noundef nonnull %1593)
  %1607 = and i64 %1606, 4294967295
  %.not649 = icmp eq i64 %1607, 1
  br i1 %.not649, label %1611, label %1608

1608:                                             ; preds = %1605
  %1609 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1610 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1609, ptr noundef nonnull @.str.211, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1611:                                             ; preds = %1605
  %1612 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.205)
  %1613 = call i32 @fclose(ptr noundef nonnull %1593)
  br label %1617

1614:                                             ; preds = %1590
  %1615 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1616 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1615, ptr noundef nonnull @.str.210, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1617:                                             ; preds = %1611, %1588
  %1618 = load i32, ptr @FLAGREADEDFILE4, align 4, !tbaa !11
  %.not650 = icmp eq i32 %1618, 0
  br i1 %.not650, label %1619, label %1670

1619:                                             ; preds = %1617
  %1620 = load i64, ptr @bsgs_m3, align 8, !tbaa !9
  %1621 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) @buffer_bloom_file, i64 noundef 1024, ptr noundef nonnull @.str.194, i64 noundef %1620) #20
  %1622 = call noalias ptr @fopen(ptr noundef nonnull @buffer_bloom_file, ptr noundef nonnull @.str.207)
  %.not651 = icmp eq ptr %1622, null
  br i1 %.not651, label %1667, label %1623

1623:                                             ; preds = %1619
  %1624 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.208, ptr noundef nonnull @buffer_bloom_file)
  %1625 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1626 = call i32 @fflush(ptr noundef %1625)
  br label %1627

1627:                                             ; preds = %1623, %1662
  %.20817 = phi i64 [ 0, %1623 ], [ %1663, %1662 ]
  %1628 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1629 = getelementptr inbounds %struct.bloom, ptr %1628, i64 %.20817
  %1630 = call i64 @fwrite(ptr noundef %1629, i64 noundef 80, i64 noundef 1, ptr noundef nonnull %1622)
  %1631 = and i64 %1630, 4294967295
  %.not652 = icmp eq i64 %1631, 1
  br i1 %.not652, label %1635, label %1632

1632:                                             ; preds = %1627
  %1633 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1634 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1633, ptr noundef nonnull @.str.211, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1635:                                             ; preds = %1627
  %1636 = load ptr, ptr @bloom_bPx3rd, align 8, !tbaa !5
  %1637 = getelementptr inbounds %struct.bloom, ptr %1636, i64 %.20817
  %1638 = getelementptr inbounds i8, ptr %1637, i64 64
  %1639 = load ptr, ptr %1638, align 16, !tbaa !33
  %1640 = getelementptr inbounds i8, ptr %1637, i64 16
  %1641 = load i64, ptr %1640, align 16, !tbaa !22
  %1642 = call i64 @fwrite(ptr noundef %1639, i64 noundef %1641, i64 noundef 1, ptr noundef nonnull %1622)
  %1643 = and i64 %1642, 4294967295
  %.not653 = icmp eq i64 %1643, 1
  br i1 %.not653, label %1647, label %1644

1644:                                             ; preds = %1635
  %1645 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1646 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1645, ptr noundef nonnull @.str.211, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1647:                                             ; preds = %1635
  %1648 = load ptr, ptr @bloom_bPx3rd_checksums, align 8, !tbaa !5
  %1649 = getelementptr inbounds %struct.checksumsha256, ptr %1648, i64 %.20817
  %1650 = call i64 @fwrite(ptr noundef %1649, i64 noundef 64, i64 noundef 1, ptr noundef nonnull %1622)
  %1651 = and i64 %1650, 4294967295
  %.not654 = icmp eq i64 %1651, 1
  br i1 %.not654, label %1655, label %1652

1652:                                             ; preds = %1647
  %1653 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1654 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1653, ptr noundef nonnull @.str.209, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1655:                                             ; preds = %1647
  %1656 = and i64 %.20817, 63
  %1657 = icmp eq i64 %1656, 0
  br i1 %1657, label %1658, label %1662

1658:                                             ; preds = %1655
  %1659 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.184)
  %1660 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1661 = call i32 @fflush(ptr noundef %1660)
  br label %1662

1662:                                             ; preds = %1655, %1658
  %1663 = add nuw nsw i64 %.20817, 1
  %exitcond894.not = icmp eq i64 %1663, 256
  br i1 %exitcond894.not, label %1664, label %1627, !llvm.loop !56

1664:                                             ; preds = %1662
  %1665 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.185)
  %1666 = call i32 @fclose(ptr noundef nonnull %1622)
  br label %1670

1667:                                             ; preds = %1619
  %1668 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1669 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1668, ptr noundef nonnull @.str.210, ptr noundef nonnull @buffer_bloom_file) #23
  call void @exit(i32 noundef 1) #24
  unreachable

1670:                                             ; preds = %1617, %1664, %1472
  %1671 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1672 = sext i32 %1671 to i64
  %1673 = call noalias ptr @calloc(i64 noundef %1672, i64 noundef 8) #27
  store ptr %1673, ptr @steps, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1673, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.213, i32 noundef 2030)
  %1674 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1675 = sext i32 %1674 to i64
  %1676 = call noalias ptr @calloc(i64 noundef %1675, i64 noundef 4) #27
  store ptr %1676, ptr @ends, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1676, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.214, i32 noundef 2032)
  %1677 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1678 = sext i32 %1677 to i64
  %1679 = call noalias ptr @calloc(i64 noundef %1678, i64 noundef 8) #27
  store ptr %1679, ptr @tid, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1679, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.201, i32 noundef 2038)
  %1680 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1681 = icmp sgt i32 %1680, 0
  br i1 %1681, label %.lr.ph820, label %.loopexit937

.lr.ph820:                                        ; preds = %1670, %.thread709
  %indvars.iv895 = phi i64 [ %indvars.iv.next896, %.thread709 ], [ 0, %1670 ]
  %1682 = call noalias dereferenceable_or_null(24) ptr @malloc(i64 noundef 24) #26
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1682, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.215, i32 noundef 2042)
  %1683 = trunc nuw nsw i64 %indvars.iv895 to i32
  store i32 %1683, ptr %1682, align 8, !tbaa !57
  %1684 = load ptr, ptr @steps, align 8, !tbaa !5
  %1685 = getelementptr inbounds i64, ptr %1684, i64 %indvars.iv895
  store i64 0, ptr %1685, align 8, !tbaa !9
  %1686 = load i32, ptr @FLAGBSGSMODE, align 4, !tbaa !11
  %1687 = icmp ult i32 %1686, 5
  br i1 %1687, label %switch.lookup, label %.thread709

switch.lookup:                                    ; preds = %.lr.ph820
  %1688 = zext nneg i32 %1686 to i64
  %switch.gep = getelementptr inbounds [5 x ptr], ptr @switch.table.main, i64 0, i64 %1688
  %switch.load = load ptr, ptr %switch.gep, align 8
  %1689 = load ptr, ptr @tid, align 8, !tbaa !5
  %1690 = getelementptr inbounds i64, ptr %1689, i64 %indvars.iv895
  %1691 = call i32 @pthread_create(ptr noundef %1690, ptr noundef null, ptr noundef nonnull %switch.load, ptr noundef nonnull %1682) #20
  %.not662 = icmp eq i32 %1691, 0
  br i1 %.not662, label %.thread709, label %1692

1692:                                             ; preds = %switch.lookup
  %1693 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1694 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1693, ptr noundef nonnull @.str.216) #23
  call void @exit(i32 noundef 1) #24
  unreachable

.thread709:                                       ; preds = %.lr.ph820, %switch.lookup
  %indvars.iv.next896 = add nuw nsw i64 %indvars.iv895, 1
  %1695 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1696 = sext i32 %1695 to i64
  %1697 = icmp slt i64 %indvars.iv.next896, %1696
  br i1 %1697, label %.lr.ph820, label %.loopexit937, !llvm.loop !59

.loopexit.split-lp:                               ; preds = %.loopexit716, %.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, %788, %786, %784, %764, %762, %760, %758, %738, %732
  %.pn = phi { ptr, i32 } [ %739, %738 ], [ %765, %764 ], [ %789, %788 ], [ %787, %786 ], [ %785, %784 ], [ %763, %762 ], [ %761, %760 ], [ %759, %758 ], [ %733, %732 ], [ %lpad.loopexit, %.loopexit716 ], [ %lpad.loopexit718, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit722, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit726, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit729, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit731, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit734, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit737, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit741, %.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) %24) #20
  br label %1698

1698:                                             ; preds = %.loopexit.split-lp, %730
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %731, %730 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %24) #20
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %23) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %23) #20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #20
  br label %1796

.loopexit937:                                     ; preds = %.thread709, %1670
  call void @free(ptr noundef %470) #20
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %24) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %24) #20
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %23) #20
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %23) #20
  %.pre925 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %1699 = icmp eq i32 %.pre925, 2
  br i1 %1699, label %.loopexit, label %.thread935

.thread935:                                       ; preds = %thread-pre-split707, %.loopexit937
  %1700 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1701 = sext i32 %1700 to i64
  %1702 = call noalias ptr @calloc(i64 noundef %1701, i64 noundef 8) #27
  store ptr %1702, ptr @steps, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1702, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.213, i32 noundef 2095)
  %1703 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1704 = sext i32 %1703 to i64
  %1705 = call noalias ptr @calloc(i64 noundef %1704, i64 noundef 4) #27
  store ptr %1705, ptr @ends, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1705, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.214, i32 noundef 2097)
  %1706 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1707 = sext i32 %1706 to i64
  %1708 = call noalias ptr @calloc(i64 noundef %1707, i64 noundef 8) #27
  store ptr %1708, ptr @tid, align 8, !tbaa !5
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1708, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.108, ptr noundef nonnull @.str.201, i32 noundef 2103)
  %1709 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1710 = icmp sgt i32 %1709, 0
  br i1 %1710, label %.lr.ph824, label %.loopexit

.lr.ph824:                                        ; preds = %.thread935, %.thread712
  %indvars.iv898 = phi i64 [ %indvars.iv.next899, %.thread712 ], [ 0, %.thread935 ]
  %1711 = call noalias dereferenceable_or_null(24) ptr @malloc(i64 noundef 24) #26
  call void @_Z12checkpointerPvPKcS1_S1_i(ptr noundef %1711, ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.82, ptr noundef nonnull @.str.215, i32 noundef 2106)
  %1712 = trunc nuw nsw i64 %indvars.iv898 to i32
  store i32 %1712, ptr %1711, align 8, !tbaa !57
  %1713 = load ptr, ptr @steps, align 8, !tbaa !5
  %1714 = getelementptr inbounds i64, ptr %1713, i64 %indvars.iv898
  store i64 0, ptr %1714, align 8, !tbaa !9
  %1715 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %1716 = icmp ult i32 %1715, 7
  br i1 %1716, label %switch.hole_check, label %.thread712

switch.hole_check:                                ; preds = %.lr.ph824
  %switch.maskindex = trunc nuw i32 %1715 to i8
  %switch.shifted = lshr i8 107, %switch.maskindex
  %switch.lobit = trunc i8 %switch.shifted to i1
  br i1 %switch.lobit, label %switch.lookup1024, label %.thread712

switch.lookup1024:                                ; preds = %switch.hole_check
  %1717 = zext nneg i32 %1715 to i64
  %switch.gep1025 = getelementptr inbounds [7 x ptr], ptr @switch.table.main.1, i64 0, i64 %1717
  %switch.load1026 = load ptr, ptr %switch.gep1025, align 8
  %1718 = load ptr, ptr @tid, align 8, !tbaa !5
  %1719 = getelementptr inbounds i64, ptr %1718, i64 %indvars.iv898
  %1720 = call i32 @pthread_create(ptr noundef %1719, ptr noundef null, ptr noundef nonnull %switch.load1026, ptr noundef nonnull %1711) #20
  %.not661 = icmp eq i32 %1720, 0
  br i1 %.not661, label %.thread712, label %1721

1721:                                             ; preds = %switch.lookup1024
  %1722 = load ptr, ptr @stderr, align 8, !tbaa !5
  %1723 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1722, ptr noundef nonnull @.str.217) #23
  call void @exit(i32 noundef 1) #24
  unreachable

.thread712:                                       ; preds = %switch.hole_check, %.lr.ph824, %switch.lookup1024
  %indvars.iv.next899 = add nuw nsw i64 %indvars.iv898, 1
  %1724 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1725 = sext i32 %1724 to i64
  %1726 = icmp slt i64 %indvars.iv.next899, %1725
  br i1 %1726, label %.lr.ph824, label %.loopexit, !llvm.loop !60

.loopexit:                                        ; preds = %.thread712, %.thread935, %.loopexit937
  %1727 = load ptr, ptr @str_limits, align 16, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) @int_limits, ptr noundef %1727)
  %1728 = load ptr, ptr getelementptr inbounds (i8, ptr @str_limits, i64 8), align 8, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) getelementptr inbounds (i8, ptr @int_limits, i64 40), ptr noundef %1728)
  %1729 = load ptr, ptr getelementptr inbounds (i8, ptr @str_limits, i64 16), align 16, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) getelementptr inbounds (i8, ptr @int_limits, i64 80), ptr noundef %1729)
  %1730 = load ptr, ptr getelementptr inbounds (i8, ptr @str_limits, i64 24), align 8, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) getelementptr inbounds (i8, ptr @int_limits, i64 120), ptr noundef %1730)
  %1731 = load ptr, ptr getelementptr inbounds (i8, ptr @str_limits, i64 32), align 16, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) getelementptr inbounds (i8, ptr @int_limits, i64 160), ptr noundef %1731)
  %1732 = load ptr, ptr getelementptr inbounds (i8, ptr @str_limits, i64 40), align 8, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) getelementptr inbounds (i8, ptr @int_limits, i64 200), ptr noundef %1732)
  %1733 = load ptr, ptr getelementptr inbounds (i8, ptr @str_limits, i64 48), align 16, !tbaa !5
  call void @_ZN3Int9SetBase10EPKc(ptr noundef nonnull align 8 dereferenceable(40) getelementptr inbounds (i8, ptr @int_limits, i64 240), ptr noundef %1733)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef 0)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %8, i32 noundef 0)
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull @BSGS_N)
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %10, i32 noundef 0)
  br label %1734

1734:                                             ; preds = %1793, %.loopexit
  call void @_Z8sleep_msi(i32 noundef 1000)
  call void @_ZN3Int6AddOneEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
  %1735 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1736 = icmp sgt i32 %1735, 0
  br i1 %1736, label %.lr.ph828, label %._crit_edge829

.lr.ph828:                                        ; preds = %1734
  %1737 = load ptr, ptr @ends, align 8, !tbaa !5
  %1738 = zext nneg i32 %1735 to i64
  br label %1739

1739:                                             ; preds = %.lr.ph828, %1739
  %indvars.iv905 = phi i64 [ 0, %.lr.ph828 ], [ %indvars.iv.next906, %1739 ]
  %1740 = getelementptr inbounds i32, ptr %1737, i64 %indvars.iv905
  %1741 = load i32, ptr %1740, align 4, !tbaa !11
  %1742 = and i32 %1741, 1
  %indvars.iv.next906 = add nuw nsw i64 %indvars.iv905, 1
  %1743 = icmp ult i64 %indvars.iv.next906, %1738
  %1744 = icmp ne i32 %1742, 0
  %1745 = select i1 %1743, i1 %1744, i1 false
  br i1 %1745, label %1739, label %._crit_edge829, !llvm.loop !61

._crit_edge829:                                   ; preds = %1739, %1734
  %.lcssa = phi i1 [ true, %1734 ], [ %1744, %1739 ]
  %1746 = call noundef zeroext i1 @_ZN3Int9IsGreaterEPS_(ptr noundef nonnull align 8 dereferenceable(40) @OUTPUTSECONDS, ptr noundef nonnull @ZERO)
  br i1 %1746, label %1747, label %1793

1747:                                             ; preds = %._crit_edge829
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef nonnull %10)
  call void @_ZN3Int3ModEPS_(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX, ptr noundef nonnull @OUTPUTSECONDS)
  %1748 = call noundef zeroext i1 @_ZN3Int6IsZeroEv(ptr noundef nonnull align 8 dereferenceable(40) @MPZAUX)
  br i1 %1748, label %1749, label %1793

1749:                                             ; preds = %1747
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef 0)
  %1750 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1751 = icmp sgt i32 %1750, 0
  br i1 %1751, label %.lr.ph833, label %._crit_edge834

.lr.ph833:                                        ; preds = %1749, %.lr.ph833
  %indvars.iv908 = phi i64 [ %indvars.iv.next909, %.lr.ph833 ], [ 0, %1749 ]
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %9)
  %1752 = load ptr, ptr @steps, align 8, !tbaa !5
  %1753 = getelementptr inbounds i64, ptr %1752, i64 %indvars.iv908
  %1754 = load i64, ptr %1753, align 8, !tbaa !9
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %1754)
  call void @_ZN3Int3AddEPS_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull %8)
  %indvars.iv.next909 = add nuw nsw i64 %indvars.iv908, 1
  %1755 = load i32, ptr @NTHREADS, align 4, !tbaa !11
  %1756 = sext i32 %1755 to i64
  %1757 = icmp slt i64 %indvars.iv.next909, %1756
  br i1 %1757, label %.lr.ph833, label %._crit_edge834, !llvm.loop !62

._crit_edge834:                                   ; preds = %.lr.ph833, %1749
  %1758 = load i32, ptr @FLAGENDOMORPHISM, align 4, !tbaa !11
  %.not656 = icmp eq i32 %1758, 0
  br i1 %.not656, label %1762, label %1759

1759:                                             ; preds = %._crit_edge834
  %1760 = load i32, ptr @FLAGMODE, align 4, !tbaa !11
  %1761 = icmp eq i32 %1760, 0
  %. = select i1 %1761, i64 3, i64 6
  br label %.sink.split985

1762:                                             ; preds = %._crit_edge834
  %1763 = load i32, ptr @FLAGSEARCH, align 4, !tbaa !11
  %1764 = icmp eq i32 %1763, 1
  br i1 %1764, label %.sink.split985, label %1765

.sink.split985:                                   ; preds = %1762, %1759
  %.sink986 = phi i64 [ %., %1759 ], [ 2, %1762 ]
  call void @_ZN3Int4MultEm(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %.sink986)
  br label %1765

1765:                                             ; preds = %.sink.split985, %1762
  %1766 = call i32 @pthread_mutex_lock(ptr noundef nonnull @bsgs_thread) #20
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %7)
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %10, ptr noundef null)
  %1767 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %10)
  %1768 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %8)
  %1769 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %7)
  %1770 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @int_limits)
  br i1 %1770, label %1771, label %.preheader

1771:                                             ; preds = %1765
  %1772 = load i32, ptr @FLAGMATRIX, align 4, !tbaa !11
  %.not659 = icmp eq i32 %1772, 0
  br i1 %.not659, label %1775, label %1773

1773:                                             ; preds = %1771
  %1774 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.218, ptr noundef %1769, ptr noundef %1767, ptr noundef %1768) #20
  br label %1788

1775:                                             ; preds = %1771
  %1776 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.219, ptr noundef %1769, ptr noundef %1767, ptr noundef %1768) #20
  br label %1788

.preheader:                                       ; preds = %1765, %.preheader
  %.21835 = phi i64 [ %.21., %.preheader ], [ 0, %1765 ]
  %1777 = add nuw nsw i64 %.21835, 1
  %1778 = getelementptr inbounds [7 x %class.Int], ptr @int_limits, i64 0, i64 %1777
  %1779 = call noundef zeroext i1 @_ZN3Int7IsLowerEPS_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull %1778)
  %.21. = select i1 %1779, i64 %.21835, i64 %1777
  %1780 = icmp ugt i64 %.21., 5
  %.not930 = or i1 %1780, %1779
  br i1 %.not930, label %1781, label %.preheader, !llvm.loop !63

1781:                                             ; preds = %.preheader
  call void @_ZN3Int3SetEPS_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull %8)
  %1782 = getelementptr inbounds [7 x %class.Int], ptr @int_limits, i64 0, i64 %.21835
  call void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull %1782, ptr noundef null)
  %1783 = call noundef ptr @_ZN3Int9GetBase10Ev(ptr noundef nonnull align 8 dereferenceable(40) %11)
  %1784 = load i32, ptr @FLAGMATRIX, align 4, !tbaa !11
  %.not658 = icmp eq i32 %1784, 0
  %.str.221..str.220 = select i1 %.not658, ptr @.str.221, ptr @.str.220
  %1785 = getelementptr inbounds [7 x ptr], ptr @str_limits_prefixs, i64 0, i64 %.21835
  %1786 = load ptr, ptr %1785, align 8, !tbaa !5
  %1787 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %.str.221..str.220, ptr noundef %1769, ptr noundef %1767, ptr noundef %1783, ptr noundef %1786, ptr noundef %1768) #20
  call void @free(ptr noundef %1783) #20
  br label %1788

1788:                                             ; preds = %1773, %1775, %1781
  %1789 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.222, ptr noundef nonnull %3)
  %1790 = load ptr, ptr @stdout, align 8, !tbaa !5
  %1791 = call i32 @fflush(ptr noundef %1790)
  store i32 0, ptr @THREADOUTPUT, align 4, !tbaa !11
  %1792 = call i32 @pthread_mutex_unlock(ptr noundef nonnull @bsgs_thread) #20
  call void @free(ptr noundef %1767) #20
  call void @free(ptr noundef %1768) #20
  call void @free(ptr noundef %1769) #20
  br label %1793

1793:                                             ; preds = %._crit_edge829, %1788, %1747
  br i1 %.lcssa, label %1794, label %1734, !llvm.loop !64

1794:                                             ; preds = %1793
  %1795 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.223)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #20
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #20
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %3) #20
  ret i32 0

1796:                                             ; preds = %1698, %49
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %1698 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #20
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #20
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #20
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %3) #20
  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

declare noundef i32 @_Z7indexOfPcPPKci(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; 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

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

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

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

declare noundef zeroext i1 @_ZN3Int9IsGreaterEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #11

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #12

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #13

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #11

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

; 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 #14

declare void @_Z15stringtokenizerPcP13str_tokenizer(ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef ptr @_Z9nextTokenP13str_tokenizer(ptr noundef) local_unnamed_addr #1

declare noundef i32 @_Z10isValidHexPc(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 @_ZN3Int7IsLowerEPS_(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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #15

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z19isValidBase58StringPc(ptr noundef) local_unnamed_addr #10

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z9addvanityPc(ptr noundef) local_unnamed_addr #8

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

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

declare noundef zeroext i1 @_ZN3Int7IsEqualEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN3Int14IsLowerOrEqualEPS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #1

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

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

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

declare void @_ZN3Int3ModEPS_(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 void @_ZN3Int3DivEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z15readFileAddressPc(ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z14readFileVanityPc(ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5_sortP13address_valuel(ptr noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17writeFileIfNeededPKc(ptr noundef) local_unnamed_addr #8

; 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 i32 @feof(ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef ptr @fgets(ptr noundef, i32 noundef, ptr nocapture noundef) local_unnamed_addr #6

declare noundef ptr @_Z4trimPcPKc(ptr noundef, ptr noundef) local_unnamed_addr #1

; 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

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #6

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

declare noundef zeroext i1 @_ZN9Secp256K117ParsePublicKeyHexEPcR5PointRb(ptr noundef nonnull align 8 dereferenceable(983240), ptr noundef, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 1 dereferenceable(1)) local_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 #10 align 2

declare void @_Z13freetokenizerP13str_tokenizer(ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #6

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 @_ZN3Int4RandEPS_S0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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: 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 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: 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: mustprogress uwtable
declare dso_local noundef ptr @_Z19thread_process_bsgsPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z28thread_process_bsgs_backwardPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z24thread_process_bsgs_bothPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z26thread_process_bsgs_randomPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z25thread_process_bsgs_dancePv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14thread_processPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z23thread_process_minikeysPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z21thread_process_vanityPv(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z8sleep_msi(i32 noundef) local_unnamed_addr #8

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

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #18

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #19

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 = { 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 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 #11 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #12 = { 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 #13 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 = { 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 #15 = { 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 #16 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #17 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #18 = { nofree nounwind willreturn memory(argmem: read) }
attributes #19 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #20 = { nounwind }
attributes #21 = { builtin allocsize(0) }
attributes #22 = { builtin nounwind }
attributes #23 = { cold nounwind }
attributes #24 = { noreturn nounwind }
attributes #25 = { nounwind willreturn memory(read) }
attributes #26 = { nounwind allocsize(0) }
attributes #27 = { nounwind allocsize(0,1) }

!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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !12, i64 4}
!17 = !{!"_ZTS13str_tokenizer", !12, i64 0, !12, i64 4, !6, i64 8}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = !{!23, !10, i64 16}
!23 = !{!"_ZTS5bloom", !10, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !24, i64 32, !7, i64 48, !7, i64 49, !7, i64 50, !25, i64 56, !6, i64 64}
!24 = !{!"long double", !7, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}
!29 = !{i64 0, i64 40, !13, i64 40, i64 40, !13, i64 80, i64 40, !13}
!30 = distinct !{!30, !15}
!31 = distinct !{!31, !15}
!32 = distinct !{!32, !15}
!33 = !{!23, !6, i64 64}
!34 = distinct !{!34, !15}
!35 = distinct !{!35, !15}
!36 = distinct !{!36, !15}
!37 = distinct !{!37, !15}
!38 = distinct !{!38, !15}
!39 = !{!40, !10, i64 8}
!40 = !{!"_ZTS6bPload", !12, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !12, i64 40, !12, i64 44}
!41 = !{!40, !12, i64 0}
!42 = !{!40, !12, i64 44}
!43 = distinct !{!43, !15}
!44 = !{!40, !10, i64 32}
!45 = distinct !{!45, !15}
!46 = distinct !{!46, !15}
!47 = distinct !{!47, !15}
!48 = distinct !{!48, !15}
!49 = distinct !{!49, !15}
!50 = distinct !{!50, !15}
!51 = distinct !{!51, !15}
!52 = distinct !{!52, !15}
!53 = distinct !{!53, !15}
!54 = distinct !{!54, !15}
!55 = distinct !{!55, !15}
!56 = distinct !{!56, !15}
!57 = !{!58, !12, i64 0}
!58 = !{!"_ZTS8tothread", !12, i64 0, !6, i64 8, !6, i64 16}
!59 = distinct !{!59, !15}
!60 = distinct !{!60, !15}
!61 = distinct !{!61, !15}
!62 = distinct !{!62, !15}
!63 = distinct !{!63, !15}
!64 = distinct !{!64, !15}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,ReassociatePass,SROAPass,SimplifyCFGPass