; LLVM IR from mwarning/KadNode :: src (dht)

; 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"

%struct.timeval = type { i64, i64 }
%struct.bucket = type { i32, [20 x i8], i32, i32, i64, ptr, %struct.sockaddr_storage, i32, ptr }
%struct.sockaddr_storage = type { i16, [118 x i8], i64 }
%struct.search = type { i16, i32, i64, [20 x i8], i16, i32, [14 x %struct.search_node], i32, ptr }
%struct.search_node = type { [20 x i8], %struct.sockaddr_storage, i32, i64, i64, i32, [40 x i8], i32, i32, i32 }
%struct.storage = type { [20 x i8], i32, i32, ptr, ptr }
%struct.peer = type { i64, [16 x i8], i16, i16 }

@searches = external hidden global ptr, align 8
@now = external hidden global %struct.timeval, align 8
@myid = external hidden global [20 x i8], align 16
@buckets = external hidden global ptr, align 8
@buckets6 = external hidden global ptr, align 8
@storage = external hidden global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @dht_dump_tables(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca [100 x i8], align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %9 = load ptr, ptr @storage, align 8, !tbaa !5
  store ptr %9, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %10 = load ptr, ptr @searches, align 8, !tbaa !5
  store ptr %10, ptr %6, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1) #4
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  call void @print_hex(ptr noundef %13, ptr noundef @myid, i32 noundef 20)
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.2) #4
  %16 = load ptr, ptr @buckets, align 8, !tbaa !5
  store ptr %16, ptr %4, align 8, !tbaa !5
  br label %17

17:                                               ; preds = %20, %1
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %26

20:                                               ; preds = %17
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @dump_bucket(ptr noundef %21, ptr noundef %22)
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.bucket, ptr %23, i32 0, i32 8
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  store ptr %25, ptr %4, align 8, !tbaa !5
  br label %17, !llvm.loop !15

26:                                               ; preds = %17
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %27, ptr noundef @.str.2) #4
  %29 = load ptr, ptr @buckets6, align 8, !tbaa !5
  store ptr %29, ptr %4, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %33, %26
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %39

33:                                               ; preds = %30
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  call void @dump_bucket(ptr noundef %34, ptr noundef %35)
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.bucket, ptr %36, i32 0, i32 8
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  store ptr %38, ptr %4, align 8, !tbaa !5
  br label %30, !llvm.loop !17

39:                                               ; preds = %30
  br label %40

40:                                               ; preds = %152, %39
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %156

43:                                               ; preds = %40
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.search, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 4, !tbaa !18
  %48 = icmp eq i32 %47, 10
  %49 = zext i1 %48 to i64
  %50 = select i1 %48, ptr @.str.4, ptr @.str.5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str.3, ptr noundef %50) #4
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.search, ptr %53, i32 0, i32 3
  %55 = getelementptr inbounds [20 x i8], ptr %54, i64 0, i64 0
  call void @print_hex(ptr noundef %52, ptr noundef %55, i32 noundef 20)
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = load i64, ptr @now, align 8, !tbaa !20
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.search, ptr %58, i32 0, i32 2
  %60 = load i64, ptr %59, align 8, !tbaa !22
  %61 = sub nsw i64 %57, %60
  %62 = trunc i64 %61 to i32
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.search, ptr %63, i32 0, i32 5
  %65 = load i32, ptr %64, align 8, !tbaa !23
  %66 = icmp ne i32 %65, 0
  %67 = zext i1 %66 to i64
  %68 = select i1 %66, ptr @.str.7, ptr @.str.5
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.6, i32 noundef %62, ptr noundef %68) #4
  store i32 0, ptr %3, align 4, !tbaa !24
  br label %70

70:                                               ; preds = %149, %43
  %71 = load i32, ptr %3, align 4, !tbaa !24
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.search, ptr %72, i32 0, i32 7
  %74 = load i32, ptr %73, align 8, !tbaa !25
  %75 = icmp slt i32 %71, %74
  br i1 %75, label %76, label %152

76:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.search, ptr %77, i32 0, i32 6
  %79 = load i32, ptr %3, align 4, !tbaa !24
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [14 x %struct.search_node], ptr %78, i64 0, i64 %80
  store ptr %81, ptr %7, align 8, !tbaa !5
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = load i32, ptr %3, align 4, !tbaa !24
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.8, i32 noundef %83) #4
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.search_node, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds [20 x i8], ptr %87, i64 0, i64 0
  call void @print_hex(ptr noundef %85, ptr noundef %88, i32 noundef 20)
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.search, ptr %90, i32 0, i32 3
  %92 = getelementptr inbounds [20 x i8], ptr %91, i64 0, i64 0
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.search_node, ptr %93, i32 0, i32 0
  %95 = getelementptr inbounds [20 x i8], ptr %94, i64 0, i64 0
  %96 = call i32 @common_bits(ptr noundef %92, ptr noundef %95)
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.9, i32 noundef %96) #4
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.search_node, ptr %98, i32 0, i32 3
  %100 = load i64, ptr %99, align 8, !tbaa !26
  %101 = icmp ne i64 %100, 0
  br i1 %101, label %102, label %111

102:                                              ; preds = %76
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = load i64, ptr @now, align 8, !tbaa !20
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.search_node, ptr %105, i32 0, i32 3
  %107 = load i64, ptr %106, align 8, !tbaa !26
  %108 = sub nsw i64 %104, %107
  %109 = trunc i64 %108 to i32
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.10, i32 noundef %109) #4
  br label %111

111:                                              ; preds = %102, %76
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = load i64, ptr @now, align 8, !tbaa !20
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.search_node, ptr %114, i32 0, i32 4
  %116 = load i64, ptr %115, align 8, !tbaa !28
  %117 = sub nsw i64 %113, %116
  %118 = trunc i64 %117 to i32
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.11, i32 noundef %118) #4
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.search_node, ptr %120, i32 0, i32 5
  %122 = load i32, ptr %121, align 8, !tbaa !29
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %130

124:                                              ; preds = %111
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.search_node, ptr %126, i32 0, i32 5
  %128 = load i32, ptr %127, align 8, !tbaa !29
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.12, i32 noundef %128) #4
  br label %130

130:                                              ; preds = %124, %111
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.search_node, ptr %132, i32 0, i32 0
  %134 = getelementptr inbounds [20 x i8], ptr %133, i64 0, i64 0
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.search, ptr %135, i32 0, i32 1
  %137 = load i32, ptr %136, align 4, !tbaa !18
  %138 = call ptr @find_node(ptr noundef %134, i32 noundef %137)
  %139 = icmp ne ptr %138, null
  %140 = zext i1 %139 to i64
  %141 = select i1 %139, ptr @.str.14, ptr @.str.5
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.search_node, ptr %142, i32 0, i32 8
  %144 = load i32, ptr %143, align 8, !tbaa !30
  %145 = icmp ne i32 %144, 0
  %146 = zext i1 %145 to i64
  %147 = select i1 %145, ptr @.str.15, ptr @.str.5
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef @.str.13, ptr noundef %141, ptr noundef %147) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %149

149:                                              ; preds = %130
  %150 = load i32, ptr %3, align 4, !tbaa !24
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %3, align 4, !tbaa !24
  br label %70, !llvm.loop !31

152:                                              ; preds = %70
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.search, ptr %153, i32 0, i32 8
  %155 = load ptr, ptr %154, align 8, !tbaa !32
  store ptr %155, ptr %6, align 8, !tbaa !5
  br label %40, !llvm.loop !33

156:                                              ; preds = %40
  br label %157

157:                                              ; preds = %259, %156
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = icmp ne ptr %158, null
  br i1 %159, label %160, label %263

160:                                              ; preds = %157
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.16) #4
  %163 = load ptr, ptr %2, align 8, !tbaa !5
  %164 = load ptr, ptr %5, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.storage, ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds [20 x i8], ptr %165, i64 0, i64 0
  call void @print_hex(ptr noundef %163, ptr noundef %166, i32 noundef 20)
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.storage, ptr %168, i32 0, i32 1
  %170 = load i32, ptr %169, align 4, !tbaa !34
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.storage, ptr %171, i32 0, i32 2
  %173 = load i32, ptr %172, align 8, !tbaa !36
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef @.str.17, i32 noundef %170, i32 noundef %173) #4
  store i32 0, ptr %3, align 4, !tbaa !24
  br label %175

175:                                              ; preds = %256, %160
  %176 = load i32, ptr %3, align 4, !tbaa !24
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.storage, ptr %177, i32 0, i32 1
  %179 = load i32, ptr %178, align 4, !tbaa !34
  %180 = icmp slt i32 %176, %179
  br i1 %180, label %181, label %259

181:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 100, ptr %8) #4
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.storage, ptr %182, i32 0, i32 3
  %184 = load ptr, ptr %183, align 8, !tbaa !37
  %185 = load i32, ptr %3, align 4, !tbaa !24
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds %struct.peer, ptr %184, i64 %186
  %188 = getelementptr inbounds %struct.peer, ptr %187, i32 0, i32 2
  %189 = load i16, ptr %188, align 8, !tbaa !38
  %190 = zext i16 %189 to i32
  %191 = icmp eq i32 %190, 4
  br i1 %191, label %192, label %203

192:                                              ; preds = %181
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.storage, ptr %193, i32 0, i32 3
  %195 = load ptr, ptr %194, align 8, !tbaa !37
  %196 = load i32, ptr %3, align 4, !tbaa !24
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %struct.peer, ptr %195, i64 %197
  %199 = getelementptr inbounds %struct.peer, ptr %198, i32 0, i32 1
  %200 = getelementptr inbounds [16 x i8], ptr %199, i64 0, i64 0
  %201 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
  %202 = call ptr @inet_ntop(i32 noundef 2, ptr noundef %200, ptr noundef %201, i32 noundef 100) #4
  br label %233

203:                                              ; preds = %181
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.storage, ptr %204, i32 0, i32 3
  %206 = load ptr, ptr %205, align 8, !tbaa !37
  %207 = load i32, ptr %3, align 4, !tbaa !24
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds %struct.peer, ptr %206, i64 %208
  %210 = getelementptr inbounds %struct.peer, ptr %209, i32 0, i32 2
  %211 = load i16, ptr %210, align 8, !tbaa !38
  %212 = zext i16 %211 to i32
  %213 = icmp eq i32 %212, 16
  br i1 %213, label %214, label %229

214:                                              ; preds = %203
  %215 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
  store i8 91, ptr %215, align 16, !tbaa !40
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.storage, ptr %216, i32 0, i32 3
  %218 = load ptr, ptr %217, align 8, !tbaa !37
  %219 = load i32, ptr %3, align 4, !tbaa !24
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds %struct.peer, ptr %218, i64 %220
  %222 = getelementptr inbounds %struct.peer, ptr %221, i32 0, i32 1
  %223 = getelementptr inbounds [16 x i8], ptr %222, i64 0, i64 0
  %224 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
  %225 = getelementptr inbounds i8, ptr %224, i64 1
  %226 = call ptr @inet_ntop(i32 noundef 10, ptr noundef %223, ptr noundef %225, i32 noundef 98) #4
  %227 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
  %228 = call ptr @strcat(ptr noundef %227, ptr noundef @.str.18) #4
  br label %232

229:                                              ; preds = %203
  %230 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
  %231 = call ptr @strcpy(ptr noundef %230, ptr noundef @.str.19) #4
  br label %232

232:                                              ; preds = %229, %214
  br label %233

233:                                              ; preds = %232, %192
  %234 = load ptr, ptr %2, align 8, !tbaa !5
  %235 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
  %236 = load ptr, ptr %5, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.storage, ptr %236, i32 0, i32 3
  %238 = load ptr, ptr %237, align 8, !tbaa !37
  %239 = load i32, ptr %3, align 4, !tbaa !24
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds %struct.peer, ptr %238, i64 %240
  %242 = getelementptr inbounds %struct.peer, ptr %241, i32 0, i32 3
  %243 = load i16, ptr %242, align 2, !tbaa !41
  %244 = zext i16 %243 to i32
  %245 = load i64, ptr @now, align 8, !tbaa !20
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.storage, ptr %246, i32 0, i32 3
  %248 = load ptr, ptr %247, align 8, !tbaa !37
  %249 = load i32, ptr %3, align 4, !tbaa !24
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds %struct.peer, ptr %248, i64 %250
  %252 = getelementptr inbounds %struct.peer, ptr %251, i32 0, i32 0
  %253 = load i64, ptr %252, align 8, !tbaa !42
  %254 = sub nsw i64 %245, %253
  %255 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef @.str.20, ptr noundef %235, i32 noundef %244, i64 noundef %254) #4
  call void @llvm.lifetime.end.p0(i64 100, ptr %8) #4
  br label %256

256:                                              ; preds = %233
  %257 = load i32, ptr %3, align 4, !tbaa !24
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %3, align 4, !tbaa !24
  br label %175, !llvm.loop !43

259:                                              ; preds = %175
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.storage, ptr %260, i32 0, i32 4
  %262 = load ptr, ptr %261, align 8, !tbaa !44
  store ptr %262, ptr %5, align 8, !tbaa !5
  br label %157, !llvm.loop !45

263:                                              ; preds = %157
  %264 = load ptr, ptr %2, align 8, !tbaa !5
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %264, ptr noundef @.str.21) #4
  %266 = load ptr, ptr %2, align 8, !tbaa !5
  %267 = call i32 @fflush(ptr noundef %266)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

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

; Function Attrs: nounwind uwtable
declare hidden void @print_hex(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @dump_bucket(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @common_bits(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden ptr @find_node(ptr noundef, i32 noundef) #1

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

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #2

declare i32 @fflush(ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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/C++ TBAA"}
!9 = !{!10, !6, i64 184}
!10 = !{!"bucket", !11, i64 0, !7, i64 4, !11, i64 24, !11, i64 28, !12, i64 32, !6, i64 40, !13, i64 48, !11, i64 176, !6, i64 184}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"sockaddr_storage", !14, i64 0, !7, i64 2, !12, i64 120}
!14 = !{!"short", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !11, i64 4}
!19 = !{!"search", !14, i64 0, !11, i64 4, !12, i64 8, !7, i64 16, !14, i64 36, !11, i64 40, !7, i64 48, !11, i64 3296, !6, i64 3304}
!20 = !{!21, !12, i64 0}
!21 = !{!"timeval", !12, i64 0, !12, i64 8}
!22 = !{!19, !12, i64 8}
!23 = !{!19, !11, i64 40}
!24 = !{!11, !11, i64 0}
!25 = !{!19, !11, i64 3296}
!26 = !{!27, !12, i64 160}
!27 = !{!"search_node", !7, i64 0, !13, i64 24, !11, i64 152, !12, i64 160, !12, i64 168, !11, i64 176, !7, i64 180, !11, i64 220, !11, i64 224, !11, i64 228}
!28 = !{!27, !12, i64 168}
!29 = !{!27, !11, i64 176}
!30 = !{!27, !11, i64 224}
!31 = distinct !{!31, !16}
!32 = !{!19, !6, i64 3304}
!33 = distinct !{!33, !16}
!34 = !{!35, !11, i64 20}
!35 = !{!"storage", !7, i64 0, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40}
!36 = !{!35, !11, i64 24}
!37 = !{!35, !6, i64 32}
!38 = !{!39, !14, i64 24}
!39 = !{!"peer", !12, i64 0, !7, i64 8, !14, i64 24, !14, i64 26}
!40 = !{!7, !7, i64 0}
!41 = !{!39, !14, i64 26}
!42 = !{!39, !12, i64 0}
!43 = distinct !{!43, !16}
!44 = !{!35, !6, i64 40}
!45 = distinct !{!45, !16}


; 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"

%struct.timeval = type { i64, i64 }
%struct.search_node = type { [20 x i8], %struct.sockaddr_storage, i32, i64, i64, i32, [40 x i8], i32, i32, i32 }
%struct.sockaddr_storage = type { i16, [118 x i8], i64 }
%struct.peer = type { i64, [16 x i8], i16, i16 }

@searches = external hidden local_unnamed_addr global ptr, align 8
@now = external hidden local_unnamed_addr global %struct.timeval, align 8
@myid = external hidden global [20 x i8], align 16
@buckets = external hidden local_unnamed_addr global ptr, align 8
@buckets6 = external hidden local_unnamed_addr global ptr, align 8
@storage = external hidden local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @dht_dump_tables(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca [100 x i8], align 16
  %3 = load ptr, ptr @storage, align 8, !tbaa !5
  %4 = load ptr, ptr @searches, align 8, !tbaa !5
  %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.1) #5
  tail call void @print_hex(ptr noundef %0, ptr noundef nonnull @myid, i32 noundef 20)
  %6 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.2) #5
  %.07286 = load ptr, ptr @buckets, align 8, !tbaa !5
  %.not87 = icmp eq ptr %.07286, null
  br i1 %.not87, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1, %.lr.ph
  %.07288 = phi ptr [ %.072, %.lr.ph ], [ %.07286, %1 ]
  tail call void @dump_bucket(ptr noundef %0, ptr noundef nonnull %.07288)
  %7 = getelementptr inbounds i8, ptr %.07288, i64 184
  %.072 = load ptr, ptr %7, align 8, !tbaa !5
  %.not = icmp eq ptr %.072, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %1
  %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.2) #5
  %.17389 = load ptr, ptr @buckets6, align 8, !tbaa !5
  %.not7790 = icmp eq ptr %.17389, null
  br i1 %.not7790, label %.preheader85, label %.lr.ph93

.preheader85:                                     ; preds = %.lr.ph93, %._crit_edge
  %.not7898 = icmp eq ptr %4, null
  br i1 %.not7898, label %.preheader, label %.lr.ph100

.lr.ph93:                                         ; preds = %._crit_edge, %.lr.ph93
  %.17391 = phi ptr [ %.173, %.lr.ph93 ], [ %.17389, %._crit_edge ]
  tail call void @dump_bucket(ptr noundef %0, ptr noundef nonnull %.17391)
  %9 = getelementptr inbounds i8, ptr %.17391, i64 184
  %.173 = load ptr, ptr %9, align 8, !tbaa !5
  %.not77 = icmp eq ptr %.173, null
  br i1 %.not77, label %.preheader85, label %.lr.ph93, !llvm.loop !11

.preheader:                                       ; preds = %._crit_edge97, %.preheader85
  %.not79105 = icmp eq ptr %3, null
  br i1 %.not79105, label %._crit_edge108, label %.lr.ph107

.lr.ph107:                                        ; preds = %.preheader
  %10 = getelementptr inbounds i8, ptr %2, i64 1
  br label %67

.lr.ph100:                                        ; preds = %.preheader85, %._crit_edge97
  %.07099 = phi ptr [ %66, %._crit_edge97 ], [ %4, %.preheader85 ]
  %11 = getelementptr inbounds i8, ptr %.07099, i64 4
  %12 = load i32, ptr %11, align 4, !tbaa !12
  %13 = icmp eq i32 %12, 10
  %14 = select i1 %13, ptr @.str.4, ptr @.str.5
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %14) #5
  %16 = getelementptr inbounds i8, ptr %.07099, i64 16
  tail call void @print_hex(ptr noundef %0, ptr noundef nonnull %16, i32 noundef 20)
  %17 = load i64, ptr @now, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %.07099, i64 8
  %19 = load i64, ptr %18, align 8, !tbaa !19
  %20 = sub nsw i64 %17, %19
  %21 = trunc i64 %20 to i32
  %22 = getelementptr inbounds i8, ptr %.07099, i64 40
  %23 = load i32, ptr %22, align 8, !tbaa !20
  %.not80 = icmp eq i32 %23, 0
  %24 = select i1 %.not80, ptr @.str.5, ptr @.str.7
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %21, ptr noundef nonnull %24) #5
  %26 = getelementptr inbounds i8, ptr %.07099, i64 3296
  %27 = load i32, ptr %26, align 8, !tbaa !21
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %.lr.ph96, label %._crit_edge97

.lr.ph96:                                         ; preds = %.lr.ph100
  %29 = getelementptr inbounds i8, ptr %.07099, i64 48
  br label %30

30:                                               ; preds = %.lr.ph96, %54
  %indvars.iv = phi i64 [ 0, %.lr.ph96 ], [ %indvars.iv.next, %54 ]
  %31 = getelementptr inbounds [14 x %struct.search_node], ptr %29, i64 0, i64 %indvars.iv
  %32 = trunc nuw nsw i64 %indvars.iv to i32
  %33 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.8, i32 noundef %32) #5
  tail call void @print_hex(ptr noundef %0, ptr noundef nonnull %31, i32 noundef 20)
  %34 = tail call i32 @common_bits(ptr noundef nonnull %16, ptr noundef nonnull %31)
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.9, i32 noundef %34) #5
  %36 = getelementptr inbounds i8, ptr %31, i64 160
  %37 = load i64, ptr %36, align 8, !tbaa !22
  %.not81 = icmp eq i64 %37, 0
  br i1 %.not81, label %43, label %38

38:                                               ; preds = %30
  %39 = load i64, ptr @now, align 8, !tbaa !17
  %40 = sub nsw i64 %39, %37
  %41 = trunc i64 %40 to i32
  %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.10, i32 noundef %41) #5
  br label %43

43:                                               ; preds = %38, %30
  %44 = load i64, ptr @now, align 8, !tbaa !17
  %45 = getelementptr inbounds i8, ptr %31, i64 168
  %46 = load i64, ptr %45, align 8, !tbaa !25
  %47 = sub nsw i64 %44, %46
  %48 = trunc i64 %47 to i32
  %49 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.11, i32 noundef %48) #5
  %50 = getelementptr inbounds i8, ptr %31, i64 176
  %51 = load i32, ptr %50, align 8, !tbaa !26
  %.not82 = icmp eq i32 %51, 0
  br i1 %.not82, label %54, label %52

52:                                               ; preds = %43
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.12, i32 noundef %51) #5
  br label %54

54:                                               ; preds = %52, %43
  %55 = load i32, ptr %11, align 4, !tbaa !12
  %56 = tail call ptr @find_node(ptr noundef nonnull %31, i32 noundef %55)
  %.not83 = icmp eq ptr %56, null
  %57 = select i1 %.not83, ptr @.str.5, ptr @.str.14
  %58 = getelementptr inbounds i8, ptr %31, i64 224
  %59 = load i32, ptr %58, align 8, !tbaa !27
  %.not84 = icmp eq i32 %59, 0
  %60 = select i1 %.not84, ptr @.str.5, ptr @.str.15
  %61 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.13, ptr noundef nonnull %57, ptr noundef nonnull %60) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %62 = load i32, ptr %26, align 8, !tbaa !21
  %63 = sext i32 %62 to i64
  %64 = icmp slt i64 %indvars.iv.next, %63
  br i1 %64, label %30, label %._crit_edge97, !llvm.loop !28

._crit_edge97:                                    ; preds = %54, %.lr.ph100
  %65 = getelementptr inbounds i8, ptr %.07099, i64 3304
  %66 = load ptr, ptr %65, align 8, !tbaa !29
  %.not78 = icmp eq ptr %66, null
  br i1 %.not78, label %.preheader, label %.lr.ph100, !llvm.loop !30

67:                                               ; preds = %.lr.ph107, %._crit_edge104
  %.071106 = phi ptr [ %3, %.lr.ph107 ], [ %105, %._crit_edge104 ]
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.16) #5
  call void @print_hex(ptr noundef %0, ptr noundef nonnull %.071106, i32 noundef 20)
  %69 = getelementptr inbounds i8, ptr %.071106, i64 20
  %70 = load i32, ptr %69, align 4, !tbaa !31
  %71 = getelementptr inbounds i8, ptr %.071106, i64 24
  %72 = load i32, ptr %71, align 8, !tbaa !33
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.17, i32 noundef %70, i32 noundef %72) #5
  %74 = load i32, ptr %69, align 4, !tbaa !31
  %75 = icmp sgt i32 %74, 0
  br i1 %75, label %.lr.ph103, label %._crit_edge104

.lr.ph103:                                        ; preds = %67
  %76 = getelementptr inbounds i8, ptr %.071106, i64 32
  br label %77

77:                                               ; preds = %.lr.ph103, %91
  %indvars.iv110 = phi i64 [ 0, %.lr.ph103 ], [ %indvars.iv.next111, %91 ]
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %2) #5
  %78 = load ptr, ptr %76, align 8, !tbaa !34
  %79 = getelementptr inbounds %struct.peer, ptr %78, i64 %indvars.iv110
  %80 = getelementptr inbounds i8, ptr %79, i64 24
  %81 = load i16, ptr %80, align 8, !tbaa !35
  switch i16 %81, label %89 [
    i16 4, label %82
    i16 16, label %85
  ]

82:                                               ; preds = %77
  %83 = getelementptr inbounds i8, ptr %79, i64 8
  %84 = call ptr @inet_ntop(i32 noundef 2, ptr noundef nonnull %83, ptr noundef nonnull %2, i32 noundef 100) #5
  br label %91

85:                                               ; preds = %77
  store i8 91, ptr %2, align 16, !tbaa !37
  %86 = getelementptr inbounds %struct.peer, ptr %78, i64 %indvars.iv110, i32 1
  %87 = call ptr @inet_ntop(i32 noundef 10, ptr noundef nonnull %86, ptr noundef nonnull %10, i32 noundef 98) #5
  %88 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.18) #5
  br label %91

89:                                               ; preds = %77
  %90 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) @.str.19) #5
  br label %91

91:                                               ; preds = %85, %89, %82
  %92 = load ptr, ptr %76, align 8, !tbaa !34
  %93 = getelementptr inbounds %struct.peer, ptr %92, i64 %indvars.iv110
  %94 = getelementptr inbounds i8, ptr %93, i64 26
  %95 = load i16, ptr %94, align 2, !tbaa !38
  %96 = zext i16 %95 to i32
  %97 = load i64, ptr @now, align 8, !tbaa !17
  %98 = load i64, ptr %93, align 8, !tbaa !39
  %99 = sub nsw i64 %97, %98
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.20, ptr noundef nonnull %2, i32 noundef %96, i64 noundef %99) #5
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %2) #5
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %101 = load i32, ptr %69, align 4, !tbaa !31
  %102 = sext i32 %101 to i64
  %103 = icmp slt i64 %indvars.iv.next111, %102
  br i1 %103, label %77, label %._crit_edge104, !llvm.loop !40

._crit_edge104:                                   ; preds = %91, %67
  %104 = getelementptr inbounds i8, ptr %.071106, i64 40
  %105 = load ptr, ptr %104, align 8, !tbaa !41
  %.not79 = icmp eq ptr %105, null
  br i1 %.not79, label %._crit_edge108, label %67, !llvm.loop !42

._crit_edge108:                                   ; preds = %._crit_edge104, %.preheader
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.21) #5
  %107 = call i32 @fflush(ptr noundef %0)
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @print_hex(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @dump_bucket(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @common_bits(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden ptr @find_node(ptr noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcat(ptr noalias noundef returned, ptr noalias nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { nounwind }

!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/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !15, i64 4}
!13 = !{!"search", !14, i64 0, !15, i64 4, !16, i64 8, !7, i64 16, !14, i64 36, !15, i64 40, !7, i64 48, !15, i64 3296, !6, i64 3304}
!14 = !{!"short", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!18, !16, i64 0}
!18 = !{!"timeval", !16, i64 0, !16, i64 8}
!19 = !{!13, !16, i64 8}
!20 = !{!13, !15, i64 40}
!21 = !{!13, !15, i64 3296}
!22 = !{!23, !16, i64 160}
!23 = !{!"search_node", !7, i64 0, !24, i64 24, !15, i64 152, !16, i64 160, !16, i64 168, !15, i64 176, !7, i64 180, !15, i64 220, !15, i64 224, !15, i64 228}
!24 = !{!"sockaddr_storage", !14, i64 0, !7, i64 2, !16, i64 120}
!25 = !{!23, !16, i64 168}
!26 = !{!23, !15, i64 176}
!27 = !{!23, !15, i64 224}
!28 = distinct !{!28, !10}
!29 = !{!13, !6, i64 3304}
!30 = distinct !{!30, !10}
!31 = !{!32, !15, i64 20}
!32 = !{!"storage", !7, i64 0, !15, i64 20, !15, i64 24, !6, i64 32, !6, i64 40}
!33 = !{!32, !15, i64 24}
!34 = !{!32, !6, i64 32}
!35 = !{!36, !14, i64 24}
!36 = !{!"peer", !16, i64 0, !7, i64 8, !14, i64 24, !14, i64 26}
!37 = !{!7, !7, i64 0}
!38 = !{!36, !14, i64 26}
!39 = !{!36, !16, i64 0}
!40 = distinct !{!40, !10}
!41 = !{!32, !6, i64 40}
!42 = distinct !{!42, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass