; LLVM IR from adventure-db/adventure :: tests/struct (hashmap_tests)

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

@key1 = external dso_local global ptr, align 8
@key2 = external dso_local global ptr, align 8
@key3 = external dso_local global ptr, align 8
@key4 = external dso_local global ptr, align 8
@val1 = external dso_local global ptr, align 8
@val2 = external dso_local global ptr, align 8
@val3 = external dso_local global ptr, align 8
@val4 = external dso_local global ptr, align 8
@map = external hidden global ptr, align 8
@stderr = external global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [13 x i8], align 1

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

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #1

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

; Function Attrs: nounwind uwtable
define dso_local ptr @test_basics() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = load ptr, ptr @map, align 8, !tbaa !5
  %5 = load ptr, ptr @key1, align 8, !tbaa !5
  %6 = load ptr, ptr @val1, align 8, !tbaa !5
  call void @hmap_insert(ptr noundef %4, ptr noundef %5, ptr noundef %6)
  %7 = load ptr, ptr @map, align 8, !tbaa !5
  %8 = load ptr, ptr @key2, align 8, !tbaa !5
  %9 = load ptr, ptr @val2, align 8, !tbaa !5
  call void @hmap_insert(ptr noundef %7, ptr noundef %8, ptr noundef %9)
  %10 = load ptr, ptr @map, align 8, !tbaa !5
  %11 = load ptr, ptr @key3, align 8, !tbaa !5
  %12 = load ptr, ptr @val3, align 8, !tbaa !5
  call void @hmap_insert(ptr noundef %10, ptr noundef %11, ptr noundef %12)
  %13 = load ptr, ptr @map, align 8, !tbaa !5
  %14 = call ptr @hmap_get(ptr noundef %13, ptr noundef @.str.16)
  %15 = icmp eq ptr %14, null
  br i1 %15, label %29, label %16

16:                                               ; preds = %0
  %17 = load ptr, ptr @stderr, align 8, !tbaa !5
  %18 = call ptr @__errno_location() #5
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %22

21:                                               ; preds = %16
  br label %26

22:                                               ; preds = %16
  %23 = call ptr @__errno_location() #5
  %24 = load i32, ptr %23, align 4, !tbaa !9
  %25 = call ptr @strerror(i32 noundef %24) #6
  br label %26

26:                                               ; preds = %22, %21
  %27 = phi ptr [ @.str.10, %21 ], [ %25, %22 ]
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.17, ptr noundef @.str.9, i32 noundef 40, ptr noundef %27) #6
  store ptr @.str.18, ptr %1, align 8
  br label %298

29:                                               ; preds = %0
  %30 = load ptr, ptr @map, align 8, !tbaa !5
  %31 = load ptr, ptr @key1, align 8, !tbaa !5
  %32 = call ptr @hmap_get(ptr noundef %30, ptr noundef %31)
  %33 = load ptr, ptr @val1, align 8, !tbaa !5
  %34 = icmp eq ptr %32, %33
  br i1 %34, label %48, label %35

35:                                               ; preds = %29
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = call ptr @__errno_location() #5
  %38 = load i32, ptr %37, align 4, !tbaa !9
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  br label %45

41:                                               ; preds = %35
  %42 = call ptr @__errno_location() #5
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = call ptr @strerror(i32 noundef %43) #6
  br label %45

45:                                               ; preds = %41, %40
  %46 = phi ptr [ @.str.10, %40 ], [ %44, %41 ]
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.19, ptr noundef @.str.9, i32 noundef 41, ptr noundef %46) #6
  store ptr @.str.20, ptr %1, align 8
  br label %298

48:                                               ; preds = %29
  %49 = load ptr, ptr @map, align 8, !tbaa !5
  %50 = load ptr, ptr @key2, align 8, !tbaa !5
  %51 = call ptr @hmap_get(ptr noundef %49, ptr noundef %50)
  %52 = load ptr, ptr @val2, align 8, !tbaa !5
  %53 = icmp eq ptr %51, %52
  br i1 %53, label %67, label %54

54:                                               ; preds = %48
  %55 = load ptr, ptr @stderr, align 8, !tbaa !5
  %56 = call ptr @__errno_location() #5
  %57 = load i32, ptr %56, align 4, !tbaa !9
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %54
  br label %64

60:                                               ; preds = %54
  %61 = call ptr @__errno_location() #5
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = call ptr @strerror(i32 noundef %62) #6
  br label %64

64:                                               ; preds = %60, %59
  %65 = phi ptr [ @.str.10, %59 ], [ %63, %60 ]
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.21, ptr noundef @.str.9, i32 noundef 42, ptr noundef %65) #6
  store ptr @.str.22, ptr %1, align 8
  br label %298

67:                                               ; preds = %48
  %68 = load ptr, ptr @map, align 8, !tbaa !5
  %69 = load ptr, ptr @key3, align 8, !tbaa !5
  %70 = call ptr @hmap_get(ptr noundef %68, ptr noundef %69)
  %71 = load ptr, ptr @val3, align 8, !tbaa !5
  %72 = icmp eq ptr %70, %71
  br i1 %72, label %86, label %73

73:                                               ; preds = %67
  %74 = load ptr, ptr @stderr, align 8, !tbaa !5
  %75 = call ptr @__errno_location() #5
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %79

78:                                               ; preds = %73
  br label %83

79:                                               ; preds = %73
  %80 = call ptr @__errno_location() #5
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = call ptr @strerror(i32 noundef %81) #6
  br label %83

83:                                               ; preds = %79, %78
  %84 = phi ptr [ @.str.10, %78 ], [ %82, %79 ]
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.23, ptr noundef @.str.9, i32 noundef 43, ptr noundef %84) #6
  store ptr @.str.24, ptr %1, align 8
  br label %298

86:                                               ; preds = %67
  %87 = load ptr, ptr @map, align 8, !tbaa !5
  %88 = call ptr @hmap_get(ptr noundef %87, ptr noundef @.str.25)
  %89 = icmp eq ptr %88, null
  br i1 %89, label %103, label %90

90:                                               ; preds = %86
  %91 = load ptr, ptr @stderr, align 8, !tbaa !5
  %92 = call ptr @__errno_location() #5
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %90
  br label %100

96:                                               ; preds = %90
  %97 = call ptr @__errno_location() #5
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = call ptr @strerror(i32 noundef %98) #6
  br label %100

100:                                              ; preds = %96, %95
  %101 = phi ptr [ @.str.10, %95 ], [ %99, %96 ]
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.17, ptr noundef @.str.9, i32 noundef 44, ptr noundef %101) #6
  store ptr @.str.18, ptr %1, align 8
  br label %298

103:                                              ; preds = %86
  %104 = load ptr, ptr @map, align 8, !tbaa !5
  %105 = load ptr, ptr @key4, align 8, !tbaa !5
  %106 = load ptr, ptr @val4, align 8, !tbaa !5
  call void @hmap_set(ptr noundef %104, ptr noundef %105, ptr noundef %106)
  %107 = load ptr, ptr @map, align 8, !tbaa !5
  %108 = load ptr, ptr @key1, align 8, !tbaa !5
  %109 = load ptr, ptr @val2, align 8, !tbaa !5
  call void @hmap_set(ptr noundef %107, ptr noundef %108, ptr noundef %109)
  %110 = load ptr, ptr @map, align 8, !tbaa !5
  %111 = load ptr, ptr @key2, align 8, !tbaa !5
  %112 = load ptr, ptr @val3, align 8, !tbaa !5
  call void @hmap_set(ptr noundef %110, ptr noundef %111, ptr noundef %112)
  %113 = load ptr, ptr @map, align 8, !tbaa !5
  %114 = load ptr, ptr @key3, align 8, !tbaa !5
  %115 = load ptr, ptr @val1, align 8, !tbaa !5
  call void @hmap_set(ptr noundef %113, ptr noundef %114, ptr noundef %115)
  %116 = load ptr, ptr @map, align 8, !tbaa !5
  %117 = load ptr, ptr @key4, align 8, !tbaa !5
  %118 = call ptr @hmap_get(ptr noundef %116, ptr noundef %117)
  %119 = load ptr, ptr @val4, align 8, !tbaa !5
  %120 = icmp eq ptr %118, %119
  br i1 %120, label %134, label %121

121:                                              ; preds = %103
  %122 = load ptr, ptr @stderr, align 8, !tbaa !5
  %123 = call ptr @__errno_location() #5
  %124 = load i32, ptr %123, align 4, !tbaa !9
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %121
  br label %131

127:                                              ; preds = %121
  %128 = call ptr @__errno_location() #5
  %129 = load i32, ptr %128, align 4, !tbaa !9
  %130 = call ptr @strerror(i32 noundef %129) #6
  br label %131

131:                                              ; preds = %127, %126
  %132 = phi ptr [ @.str.10, %126 ], [ %130, %127 ]
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.26, ptr noundef @.str.9, i32 noundef 53, ptr noundef %132) #6
  store ptr @.str.27, ptr %1, align 8
  br label %298

134:                                              ; preds = %103
  %135 = load ptr, ptr @map, align 8, !tbaa !5
  %136 = load ptr, ptr @key1, align 8, !tbaa !5
  %137 = call ptr @hmap_get(ptr noundef %135, ptr noundef %136)
  %138 = load ptr, ptr @val2, align 8, !tbaa !5
  %139 = icmp eq ptr %137, %138
  br i1 %139, label %153, label %140

140:                                              ; preds = %134
  %141 = load ptr, ptr @stderr, align 8, !tbaa !5
  %142 = call ptr @__errno_location() #5
  %143 = load i32, ptr %142, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %140
  br label %150

146:                                              ; preds = %140
  %147 = call ptr @__errno_location() #5
  %148 = load i32, ptr %147, align 4, !tbaa !9
  %149 = call ptr @strerror(i32 noundef %148) #6
  br label %150

150:                                              ; preds = %146, %145
  %151 = phi ptr [ @.str.10, %145 ], [ %149, %146 ]
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef @.str.28, ptr noundef @.str.9, i32 noundef 54, ptr noundef %151) #6
  store ptr @.str.29, ptr %1, align 8
  br label %298

153:                                              ; preds = %134
  %154 = load ptr, ptr @map, align 8, !tbaa !5
  %155 = load ptr, ptr @key2, align 8, !tbaa !5
  %156 = call ptr @hmap_get(ptr noundef %154, ptr noundef %155)
  %157 = load ptr, ptr @val3, align 8, !tbaa !5
  %158 = icmp eq ptr %156, %157
  br i1 %158, label %172, label %159

159:                                              ; preds = %153
  %160 = load ptr, ptr @stderr, align 8, !tbaa !5
  %161 = call ptr @__errno_location() #5
  %162 = load i32, ptr %161, align 4, !tbaa !9
  %163 = icmp eq i32 %162, 0
  br i1 %163, label %164, label %165

164:                                              ; preds = %159
  br label %169

165:                                              ; preds = %159
  %166 = call ptr @__errno_location() #5
  %167 = load i32, ptr %166, align 4, !tbaa !9
  %168 = call ptr @strerror(i32 noundef %167) #6
  br label %169

169:                                              ; preds = %165, %164
  %170 = phi ptr [ @.str.10, %164 ], [ %168, %165 ]
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %160, ptr noundef @.str.21, ptr noundef @.str.9, i32 noundef 55, ptr noundef %170) #6
  store ptr @.str.22, ptr %1, align 8
  br label %298

172:                                              ; preds = %153
  %173 = load ptr, ptr @map, align 8, !tbaa !5
  %174 = load ptr, ptr @key3, align 8, !tbaa !5
  %175 = call ptr @hmap_get(ptr noundef %173, ptr noundef %174)
  %176 = load ptr, ptr @val1, align 8, !tbaa !5
  %177 = icmp eq ptr %175, %176
  br i1 %177, label %191, label %178

178:                                              ; preds = %172
  %179 = load ptr, ptr @stderr, align 8, !tbaa !5
  %180 = call ptr @__errno_location() #5
  %181 = load i32, ptr %180, align 4, !tbaa !9
  %182 = icmp eq i32 %181, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %178
  br label %188

184:                                              ; preds = %178
  %185 = call ptr @__errno_location() #5
  %186 = load i32, ptr %185, align 4, !tbaa !9
  %187 = call ptr @strerror(i32 noundef %186) #6
  br label %188

188:                                              ; preds = %184, %183
  %189 = phi ptr [ @.str.10, %183 ], [ %187, %184 ]
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.23, ptr noundef @.str.9, i32 noundef 56, ptr noundef %189) #6
  store ptr @.str.24, ptr %1, align 8
  br label %298

191:                                              ; preds = %172
  %192 = load ptr, ptr @map, align 8, !tbaa !5
  %193 = load ptr, ptr @key1, align 8, !tbaa !5
  %194 = load ptr, ptr @val1, align 8, !tbaa !5
  call void @hmap_set(ptr noundef %192, ptr noundef %193, ptr noundef %194)
  %195 = load ptr, ptr @map, align 8, !tbaa !5
  %196 = load ptr, ptr @key2, align 8, !tbaa !5
  %197 = load ptr, ptr @val2, align 8, !tbaa !5
  call void @hmap_set(ptr noundef %195, ptr noundef %196, ptr noundef %197)
  %198 = load ptr, ptr @map, align 8, !tbaa !5
  %199 = load ptr, ptr @key3, align 8, !tbaa !5
  %200 = load ptr, ptr @val3, align 8, !tbaa !5
  call void @hmap_set(ptr noundef %198, ptr noundef %199, ptr noundef %200)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %201 = load ptr, ptr @map, align 8, !tbaa !5
  %202 = load ptr, ptr @key1, align 8, !tbaa !5
  %203 = call ptr @hmap_remove(ptr noundef %201, ptr noundef %202)
  store ptr %203, ptr %2, align 8, !tbaa !5
  %204 = load ptr, ptr %2, align 8, !tbaa !5
  %205 = load ptr, ptr @val1, align 8, !tbaa !5
  %206 = icmp eq ptr %204, %205
  br i1 %206, label %220, label %207

207:                                              ; preds = %191
  %208 = load ptr, ptr @stderr, align 8, !tbaa !5
  %209 = call ptr @__errno_location() #5
  %210 = load i32, ptr %209, align 4, !tbaa !9
  %211 = icmp eq i32 %210, 0
  br i1 %211, label %212, label %213

212:                                              ; preds = %207
  br label %217

213:                                              ; preds = %207
  %214 = call ptr @__errno_location() #5
  %215 = load i32, ptr %214, align 4, !tbaa !9
  %216 = call ptr @strerror(i32 noundef %215) #6
  br label %217

217:                                              ; preds = %213, %212
  %218 = phi ptr [ @.str.10, %212 ], [ %216, %213 ]
  %219 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.30, ptr noundef @.str.9, i32 noundef 64, ptr noundef %218) #6
  store ptr @.str.31, ptr %1, align 8
  store i32 1, ptr %3, align 4
  br label %297

220:                                              ; preds = %191
  %221 = load ptr, ptr @map, align 8, !tbaa !5
  %222 = call ptr @hmap_remove(ptr noundef %221, ptr noundef @.str.32)
  store ptr %222, ptr %2, align 8, !tbaa !5
  %223 = load ptr, ptr %2, align 8, !tbaa !5
  %224 = icmp ne ptr %223, null
  br i1 %224, label %225, label %238

225:                                              ; preds = %220
  %226 = load ptr, ptr @stderr, align 8, !tbaa !5
  %227 = call ptr @__errno_location() #5
  %228 = load i32, ptr %227, align 4, !tbaa !9
  %229 = icmp eq i32 %228, 0
  br i1 %229, label %230, label %231

230:                                              ; preds = %225
  br label %235

231:                                              ; preds = %225
  %232 = call ptr @__errno_location() #5
  %233 = load i32, ptr %232, align 4, !tbaa !9
  %234 = call ptr @strerror(i32 noundef %233) #6
  br label %235

235:                                              ; preds = %231, %230
  %236 = phi ptr [ @.str.10, %230 ], [ %234, %231 ]
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %226, ptr noundef @.str.33, ptr noundef @.str.9, i32 noundef 67, ptr noundef %236) #6
  store ptr @.str.34, ptr %1, align 8
  store i32 1, ptr %3, align 4
  br label %297

238:                                              ; preds = %220
  %239 = load ptr, ptr @map, align 8, !tbaa !5
  %240 = load ptr, ptr @key2, align 8, !tbaa !5
  %241 = call ptr @hmap_remove(ptr noundef %239, ptr noundef %240)
  store ptr %241, ptr %2, align 8, !tbaa !5
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  %243 = load ptr, ptr @val2, align 8, !tbaa !5
  %244 = icmp eq ptr %242, %243
  br i1 %244, label %258, label %245

245:                                              ; preds = %238
  %246 = load ptr, ptr @stderr, align 8, !tbaa !5
  %247 = call ptr @__errno_location() #5
  %248 = load i32, ptr %247, align 4, !tbaa !9
  %249 = icmp eq i32 %248, 0
  br i1 %249, label %250, label %251

250:                                              ; preds = %245
  br label %255

251:                                              ; preds = %245
  %252 = call ptr @__errno_location() #5
  %253 = load i32, ptr %252, align 4, !tbaa !9
  %254 = call ptr @strerror(i32 noundef %253) #6
  br label %255

255:                                              ; preds = %251, %250
  %256 = phi ptr [ @.str.10, %250 ], [ %254, %251 ]
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.35, ptr noundef @.str.9, i32 noundef 70, ptr noundef %256) #6
  store ptr @.str.36, ptr %1, align 8
  store i32 1, ptr %3, align 4
  br label %297

258:                                              ; preds = %238
  %259 = load ptr, ptr @map, align 8, !tbaa !5
  %260 = load ptr, ptr @key3, align 8, !tbaa !5
  %261 = call ptr @hmap_remove(ptr noundef %259, ptr noundef %260)
  store ptr %261, ptr %2, align 8, !tbaa !5
  %262 = load ptr, ptr %2, align 8, !tbaa !5
  %263 = load ptr, ptr @val3, align 8, !tbaa !5
  %264 = icmp eq ptr %262, %263
  br i1 %264, label %278, label %265

265:                                              ; preds = %258
  %266 = load ptr, ptr @stderr, align 8, !tbaa !5
  %267 = call ptr @__errno_location() #5
  %268 = load i32, ptr %267, align 4, !tbaa !9
  %269 = icmp eq i32 %268, 0
  br i1 %269, label %270, label %271

270:                                              ; preds = %265
  br label %275

271:                                              ; preds = %265
  %272 = call ptr @__errno_location() #5
  %273 = load i32, ptr %272, align 4, !tbaa !9
  %274 = call ptr @strerror(i32 noundef %273) #6
  br label %275

275:                                              ; preds = %271, %270
  %276 = phi ptr [ @.str.10, %270 ], [ %274, %271 ]
  %277 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %266, ptr noundef @.str.37, ptr noundef @.str.9, i32 noundef 73, ptr noundef %276) #6
  store ptr @.str.38, ptr %1, align 8
  store i32 1, ptr %3, align 4
  br label %297

278:                                              ; preds = %258
  %279 = load ptr, ptr @map, align 8, !tbaa !5
  %280 = call ptr @hmap_remove(ptr noundef %279, ptr noundef @.str.25)
  store ptr %280, ptr %2, align 8, !tbaa !5
  %281 = load ptr, ptr %2, align 8, !tbaa !5
  %282 = icmp ne ptr %281, null
  br i1 %282, label %283, label %296

283:                                              ; preds = %278
  %284 = load ptr, ptr @stderr, align 8, !tbaa !5
  %285 = call ptr @__errno_location() #5
  %286 = load i32, ptr %285, align 4, !tbaa !9
  %287 = icmp eq i32 %286, 0
  br i1 %287, label %288, label %289

288:                                              ; preds = %283
  br label %293

289:                                              ; preds = %283
  %290 = call ptr @__errno_location() #5
  %291 = load i32, ptr %290, align 4, !tbaa !9
  %292 = call ptr @strerror(i32 noundef %291) #6
  br label %293

293:                                              ; preds = %289, %288
  %294 = phi ptr [ @.str.10, %288 ], [ %292, %289 ]
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef @.str.33, ptr noundef @.str.9, i32 noundef 76, ptr noundef %294) #6
  store ptr @.str.34, ptr %1, align 8
  store i32 1, ptr %3, align 4
  br label %297

296:                                              ; preds = %278
  store ptr null, ptr %1, align 8
  store i32 1, ptr %3, align 4
  br label %297

297:                                              ; preds = %296, %293, %275, %255, %235, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  br label %298

298:                                              ; preds = %297, %188, %169, %150, %131, %100, %83, %64, %45, %26
  %299 = load ptr, ptr %1, align 8
  ret ptr %299
}

declare void @hmap_insert(ptr noundef, ptr noundef, ptr noundef) #3

declare ptr @hmap_get(ptr noundef, ptr noundef) #3

declare void @hmap_set(ptr noundef, ptr noundef, ptr noundef) #3

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

declare ptr @hmap_remove(ptr noundef, ptr noundef) #3

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

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 = { nounwind willreturn memory(none) "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 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 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind willreturn memory(none) }
attributes #6 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}


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

@key1 = external dso_local local_unnamed_addr global ptr, align 8
@key2 = external dso_local local_unnamed_addr global ptr, align 8
@key3 = external dso_local local_unnamed_addr global ptr, align 8
@key4 = external dso_local local_unnamed_addr global ptr, align 8
@val1 = external dso_local local_unnamed_addr global ptr, align 8
@val2 = external dso_local local_unnamed_addr global ptr, align 8
@val3 = external dso_local local_unnamed_addr global ptr, align 8
@val4 = external dso_local local_unnamed_addr global ptr, align 8
@map = external hidden local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.9 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [13 x i8], align 1

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #1

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @test_basics() local_unnamed_addr #3 {
  %1 = load ptr, ptr @map, align 8, !tbaa !5
  %2 = load ptr, ptr @key1, align 8, !tbaa !5
  %3 = load ptr, ptr @val1, align 8, !tbaa !5
  tail call void @hmap_insert(ptr noundef %1, ptr noundef %2, ptr noundef %3) #5
  %4 = load ptr, ptr @map, align 8, !tbaa !5
  %5 = load ptr, ptr @key2, align 8, !tbaa !5
  %6 = load ptr, ptr @val2, align 8, !tbaa !5
  tail call void @hmap_insert(ptr noundef %4, ptr noundef %5, ptr noundef %6) #5
  %7 = load ptr, ptr @map, align 8, !tbaa !5
  %8 = load ptr, ptr @key3, align 8, !tbaa !5
  %9 = load ptr, ptr @val3, align 8, !tbaa !5
  tail call void @hmap_insert(ptr noundef %7, ptr noundef %8, ptr noundef %9) #5
  %10 = load ptr, ptr @map, align 8, !tbaa !5
  %11 = tail call ptr @hmap_get(ptr noundef %10, ptr noundef nonnull @.str.16) #5
  %12 = icmp eq ptr %11, null
  br i1 %12, label %23, label %13

13:                                               ; preds = %0
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = tail call ptr @__errno_location() #6
  %16 = load i32, ptr %15, align 4, !tbaa !9
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %20, label %18

18:                                               ; preds = %13
  %19 = tail call ptr @strerror(i32 noundef %16) #5
  br label %20

20:                                               ; preds = %13, %18
  %21 = phi ptr [ %19, %18 ], [ @.str.10, %13 ]
  %22 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.9, i32 noundef 40, ptr noundef %21) #7
  br label %243

23:                                               ; preds = %0
  %24 = load ptr, ptr @map, align 8, !tbaa !5
  %25 = load ptr, ptr @key1, align 8, !tbaa !5
  %26 = tail call ptr @hmap_get(ptr noundef %24, ptr noundef %25) #5
  %27 = load ptr, ptr @val1, align 8, !tbaa !5
  %28 = icmp eq ptr %26, %27
  br i1 %28, label %39, label %29

29:                                               ; preds = %23
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = tail call ptr @__errno_location() #6
  %32 = load i32, ptr %31, align 4, !tbaa !9
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %36, label %34

34:                                               ; preds = %29
  %35 = tail call ptr @strerror(i32 noundef %32) #5
  br label %36

36:                                               ; preds = %29, %34
  %37 = phi ptr [ %35, %34 ], [ @.str.10, %29 ]
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.9, i32 noundef 41, ptr noundef %37) #7
  br label %243

39:                                               ; preds = %23
  %40 = load ptr, ptr @map, align 8, !tbaa !5
  %41 = load ptr, ptr @key2, align 8, !tbaa !5
  %42 = tail call ptr @hmap_get(ptr noundef %40, ptr noundef %41) #5
  %43 = load ptr, ptr @val2, align 8, !tbaa !5
  %44 = icmp eq ptr %42, %43
  br i1 %44, label %55, label %45

45:                                               ; preds = %39
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = tail call ptr @__errno_location() #6
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %52, label %50

50:                                               ; preds = %45
  %51 = tail call ptr @strerror(i32 noundef %48) #5
  br label %52

52:                                               ; preds = %45, %50
  %53 = phi ptr [ %51, %50 ], [ @.str.10, %45 ]
  %54 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.9, i32 noundef 42, ptr noundef %53) #7
  br label %243

55:                                               ; preds = %39
  %56 = load ptr, ptr @map, align 8, !tbaa !5
  %57 = load ptr, ptr @key3, align 8, !tbaa !5
  %58 = tail call ptr @hmap_get(ptr noundef %56, ptr noundef %57) #5
  %59 = load ptr, ptr @val3, align 8, !tbaa !5
  %60 = icmp eq ptr %58, %59
  br i1 %60, label %71, label %61

61:                                               ; preds = %55
  %62 = load ptr, ptr @stderr, align 8, !tbaa !5
  %63 = tail call ptr @__errno_location() #6
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %68, label %66

66:                                               ; preds = %61
  %67 = tail call ptr @strerror(i32 noundef %64) #5
  br label %68

68:                                               ; preds = %61, %66
  %69 = phi ptr [ %67, %66 ], [ @.str.10, %61 ]
  %70 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.9, i32 noundef 43, ptr noundef %69) #7
  br label %243

71:                                               ; preds = %55
  %72 = load ptr, ptr @map, align 8, !tbaa !5
  %73 = tail call ptr @hmap_get(ptr noundef %72, ptr noundef nonnull @.str.25) #5
  %74 = icmp eq ptr %73, null
  br i1 %74, label %85, label %75

75:                                               ; preds = %71
  %76 = load ptr, ptr @stderr, align 8, !tbaa !5
  %77 = tail call ptr @__errno_location() #6
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %82, label %80

80:                                               ; preds = %75
  %81 = tail call ptr @strerror(i32 noundef %78) #5
  br label %82

82:                                               ; preds = %75, %80
  %83 = phi ptr [ %81, %80 ], [ @.str.10, %75 ]
  %84 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.9, i32 noundef 44, ptr noundef %83) #7
  br label %243

85:                                               ; preds = %71
  %86 = load ptr, ptr @map, align 8, !tbaa !5
  %87 = load ptr, ptr @key4, align 8, !tbaa !5
  %88 = load ptr, ptr @val4, align 8, !tbaa !5
  tail call void @hmap_set(ptr noundef %86, ptr noundef %87, ptr noundef %88) #5
  %89 = load ptr, ptr @map, align 8, !tbaa !5
  %90 = load ptr, ptr @key1, align 8, !tbaa !5
  %91 = load ptr, ptr @val2, align 8, !tbaa !5
  tail call void @hmap_set(ptr noundef %89, ptr noundef %90, ptr noundef %91) #5
  %92 = load ptr, ptr @map, align 8, !tbaa !5
  %93 = load ptr, ptr @key2, align 8, !tbaa !5
  %94 = load ptr, ptr @val3, align 8, !tbaa !5
  tail call void @hmap_set(ptr noundef %92, ptr noundef %93, ptr noundef %94) #5
  %95 = load ptr, ptr @map, align 8, !tbaa !5
  %96 = load ptr, ptr @key3, align 8, !tbaa !5
  %97 = load ptr, ptr @val1, align 8, !tbaa !5
  tail call void @hmap_set(ptr noundef %95, ptr noundef %96, ptr noundef %97) #5
  %98 = load ptr, ptr @map, align 8, !tbaa !5
  %99 = load ptr, ptr @key4, align 8, !tbaa !5
  %100 = tail call ptr @hmap_get(ptr noundef %98, ptr noundef %99) #5
  %101 = load ptr, ptr @val4, align 8, !tbaa !5
  %102 = icmp eq ptr %100, %101
  br i1 %102, label %113, label %103

103:                                              ; preds = %85
  %104 = load ptr, ptr @stderr, align 8, !tbaa !5
  %105 = tail call ptr @__errno_location() #6
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %110, label %108

108:                                              ; preds = %103
  %109 = tail call ptr @strerror(i32 noundef %106) #5
  br label %110

110:                                              ; preds = %103, %108
  %111 = phi ptr [ %109, %108 ], [ @.str.10, %103 ]
  %112 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.9, i32 noundef 53, ptr noundef %111) #7
  br label %243

113:                                              ; preds = %85
  %114 = load ptr, ptr @map, align 8, !tbaa !5
  %115 = load ptr, ptr @key1, align 8, !tbaa !5
  %116 = tail call ptr @hmap_get(ptr noundef %114, ptr noundef %115) #5
  %117 = load ptr, ptr @val2, align 8, !tbaa !5
  %118 = icmp eq ptr %116, %117
  br i1 %118, label %129, label %119

119:                                              ; preds = %113
  %120 = load ptr, ptr @stderr, align 8, !tbaa !5
  %121 = tail call ptr @__errno_location() #6
  %122 = load i32, ptr %121, align 4, !tbaa !9
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %126, label %124

124:                                              ; preds = %119
  %125 = tail call ptr @strerror(i32 noundef %122) #5
  br label %126

126:                                              ; preds = %119, %124
  %127 = phi ptr [ %125, %124 ], [ @.str.10, %119 ]
  %128 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.9, i32 noundef 54, ptr noundef %127) #7
  br label %243

129:                                              ; preds = %113
  %130 = load ptr, ptr @map, align 8, !tbaa !5
  %131 = load ptr, ptr @key2, align 8, !tbaa !5
  %132 = tail call ptr @hmap_get(ptr noundef %130, ptr noundef %131) #5
  %133 = load ptr, ptr @val3, align 8, !tbaa !5
  %134 = icmp eq ptr %132, %133
  br i1 %134, label %145, label %135

135:                                              ; preds = %129
  %136 = load ptr, ptr @stderr, align 8, !tbaa !5
  %137 = tail call ptr @__errno_location() #6
  %138 = load i32, ptr %137, align 4, !tbaa !9
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %142, label %140

140:                                              ; preds = %135
  %141 = tail call ptr @strerror(i32 noundef %138) #5
  br label %142

142:                                              ; preds = %135, %140
  %143 = phi ptr [ %141, %140 ], [ @.str.10, %135 ]
  %144 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.9, i32 noundef 55, ptr noundef %143) #7
  br label %243

145:                                              ; preds = %129
  %146 = load ptr, ptr @map, align 8, !tbaa !5
  %147 = load ptr, ptr @key3, align 8, !tbaa !5
  %148 = tail call ptr @hmap_get(ptr noundef %146, ptr noundef %147) #5
  %149 = load ptr, ptr @val1, align 8, !tbaa !5
  %150 = icmp eq ptr %148, %149
  br i1 %150, label %161, label %151

151:                                              ; preds = %145
  %152 = load ptr, ptr @stderr, align 8, !tbaa !5
  %153 = tail call ptr @__errno_location() #6
  %154 = load i32, ptr %153, align 4, !tbaa !9
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %158, label %156

156:                                              ; preds = %151
  %157 = tail call ptr @strerror(i32 noundef %154) #5
  br label %158

158:                                              ; preds = %151, %156
  %159 = phi ptr [ %157, %156 ], [ @.str.10, %151 ]
  %160 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %152, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.9, i32 noundef 56, ptr noundef %159) #7
  br label %243

161:                                              ; preds = %145
  %162 = load ptr, ptr @map, align 8, !tbaa !5
  %163 = load ptr, ptr @key1, align 8, !tbaa !5
  tail call void @hmap_set(ptr noundef %162, ptr noundef %163, ptr noundef %149) #5
  %164 = load ptr, ptr @map, align 8, !tbaa !5
  %165 = load ptr, ptr @key2, align 8, !tbaa !5
  %166 = load ptr, ptr @val2, align 8, !tbaa !5
  tail call void @hmap_set(ptr noundef %164, ptr noundef %165, ptr noundef %166) #5
  %167 = load ptr, ptr @map, align 8, !tbaa !5
  %168 = load ptr, ptr @key3, align 8, !tbaa !5
  %169 = load ptr, ptr @val3, align 8, !tbaa !5
  tail call void @hmap_set(ptr noundef %167, ptr noundef %168, ptr noundef %169) #5
  %170 = load ptr, ptr @map, align 8, !tbaa !5
  %171 = load ptr, ptr @key1, align 8, !tbaa !5
  %172 = tail call ptr @hmap_remove(ptr noundef %170, ptr noundef %171) #5
  %173 = load ptr, ptr @val1, align 8, !tbaa !5
  %174 = icmp eq ptr %172, %173
  br i1 %174, label %185, label %175

175:                                              ; preds = %161
  %176 = load ptr, ptr @stderr, align 8, !tbaa !5
  %177 = tail call ptr @__errno_location() #6
  %178 = load i32, ptr %177, align 4, !tbaa !9
  %179 = icmp eq i32 %178, 0
  br i1 %179, label %182, label %180

180:                                              ; preds = %175
  %181 = tail call ptr @strerror(i32 noundef %178) #5
  br label %182

182:                                              ; preds = %175, %180
  %183 = phi ptr [ %181, %180 ], [ @.str.10, %175 ]
  %184 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.9, i32 noundef 64, ptr noundef %183) #7
  br label %243

185:                                              ; preds = %161
  %186 = load ptr, ptr @map, align 8, !tbaa !5
  %187 = tail call ptr @hmap_remove(ptr noundef %186, ptr noundef nonnull @.str.32) #5
  %.not = icmp eq ptr %187, null
  br i1 %.not, label %198, label %188

188:                                              ; preds = %185
  %189 = load ptr, ptr @stderr, align 8, !tbaa !5
  %190 = tail call ptr @__errno_location() #6
  %191 = load i32, ptr %190, align 4, !tbaa !9
  %192 = icmp eq i32 %191, 0
  br i1 %192, label %195, label %193

193:                                              ; preds = %188
  %194 = tail call ptr @strerror(i32 noundef %191) #5
  br label %195

195:                                              ; preds = %188, %193
  %196 = phi ptr [ %194, %193 ], [ @.str.10, %188 ]
  %197 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.9, i32 noundef 67, ptr noundef %196) #7
  br label %243

198:                                              ; preds = %185
  %199 = load ptr, ptr @map, align 8, !tbaa !5
  %200 = load ptr, ptr @key2, align 8, !tbaa !5
  %201 = tail call ptr @hmap_remove(ptr noundef %199, ptr noundef %200) #5
  %202 = load ptr, ptr @val2, align 8, !tbaa !5
  %203 = icmp eq ptr %201, %202
  br i1 %203, label %214, label %204

204:                                              ; preds = %198
  %205 = load ptr, ptr @stderr, align 8, !tbaa !5
  %206 = tail call ptr @__errno_location() #6
  %207 = load i32, ptr %206, align 4, !tbaa !9
  %208 = icmp eq i32 %207, 0
  br i1 %208, label %211, label %209

209:                                              ; preds = %204
  %210 = tail call ptr @strerror(i32 noundef %207) #5
  br label %211

211:                                              ; preds = %204, %209
  %212 = phi ptr [ %210, %209 ], [ @.str.10, %204 ]
  %213 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef nonnull @.str.35, ptr noundef nonnull @.str.9, i32 noundef 70, ptr noundef %212) #7
  br label %243

214:                                              ; preds = %198
  %215 = load ptr, ptr @map, align 8, !tbaa !5
  %216 = load ptr, ptr @key3, align 8, !tbaa !5
  %217 = tail call ptr @hmap_remove(ptr noundef %215, ptr noundef %216) #5
  %218 = load ptr, ptr @val3, align 8, !tbaa !5
  %219 = icmp eq ptr %217, %218
  br i1 %219, label %230, label %220

220:                                              ; preds = %214
  %221 = load ptr, ptr @stderr, align 8, !tbaa !5
  %222 = tail call ptr @__errno_location() #6
  %223 = load i32, ptr %222, align 4, !tbaa !9
  %224 = icmp eq i32 %223, 0
  br i1 %224, label %227, label %225

225:                                              ; preds = %220
  %226 = tail call ptr @strerror(i32 noundef %223) #5
  br label %227

227:                                              ; preds = %220, %225
  %228 = phi ptr [ %226, %225 ], [ @.str.10, %220 ]
  %229 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef nonnull @.str.37, ptr noundef nonnull @.str.9, i32 noundef 73, ptr noundef %228) #7
  br label %243

230:                                              ; preds = %214
  %231 = load ptr, ptr @map, align 8, !tbaa !5
  %232 = tail call ptr @hmap_remove(ptr noundef %231, ptr noundef nonnull @.str.25) #5
  %.not21 = icmp eq ptr %232, null
  br i1 %.not21, label %243, label %233

233:                                              ; preds = %230
  %234 = load ptr, ptr @stderr, align 8, !tbaa !5
  %235 = tail call ptr @__errno_location() #6
  %236 = load i32, ptr %235, align 4, !tbaa !9
  %237 = icmp eq i32 %236, 0
  br i1 %237, label %240, label %238

238:                                              ; preds = %233
  %239 = tail call ptr @strerror(i32 noundef %236) #5
  br label %240

240:                                              ; preds = %233, %238
  %241 = phi ptr [ %239, %238 ], [ @.str.10, %233 ]
  %242 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.9, i32 noundef 76, ptr noundef %241) #7
  br label %243

243:                                              ; preds = %182, %195, %211, %227, %240, %230, %158, %142, %126, %110, %82, %68, %52, %36, %20
  %.1 = phi ptr [ @.str.24, %158 ], [ @.str.22, %142 ], [ @.str.29, %126 ], [ @.str.27, %110 ], [ @.str.18, %82 ], [ @.str.24, %68 ], [ @.str.22, %52 ], [ @.str.20, %36 ], [ @.str.18, %20 ], [ @.str.34, %195 ], [ @.str.34, %240 ], [ @.str.38, %227 ], [ @.str.36, %211 ], [ @.str.31, %182 ], [ null, %230 ]
  ret ptr %.1
}

declare void @hmap_insert(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @hmap_get(ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @hmap_set(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @hmap_remove(ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { 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 #1 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { 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 #4 = { "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 }
attributes #6 = { nounwind willreturn memory(none) }
attributes #7 = { cold 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass