; LLVM IR from theck01/offbrand_lib :: src/tests (obmap_test)

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

@MAP_CAPACITIES = external constant [0 x i32], align 4
@.str = external hidden unnamed_addr constant [75 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca [2048 x ptr], align 16
  %14 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 8, 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 16384, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %15 = call ptr @obmap_new()
  store ptr %15, ptr %3, align 8, !tbaa !5
  %16 = call ptr @obtest_new(i32 noundef 1)
  store ptr %16, ptr %5, align 8, !tbaa !5
  %17 = call ptr @obtest_new(i32 noundef 2)
  store ptr %17, ptr %6, align 8, !tbaa !5
  %18 = call ptr @obtest_new(i32 noundef 3)
  store ptr %18, ptr %7, align 8, !tbaa !5
  %19 = call ptr @obtest_new(i32 noundef 103923)
  store ptr %19, ptr %8, align 8, !tbaa !5
  %20 = load i32, ptr @MAP_CAPACITIES, align 4, !tbaa !9
  %21 = add i32 1, %20
  %22 = call ptr @obtest_new(i32 noundef %21)
  store ptr %22, ptr %9, align 8, !tbaa !5
  %23 = load i32, ptr @MAP_CAPACITIES, align 4, !tbaa !9
  %24 = mul i32 2, %23
  %25 = add i32 1, %24
  %26 = call ptr @obtest_new(i32 noundef %25)
  store ptr %26, ptr %10, align 8, !tbaa !5
  %27 = load i32, ptr @MAP_CAPACITIES, align 4, !tbaa !9
  %28 = mul i32 3, %27
  %29 = add i32 1, %28
  %30 = call ptr @obtest_new(i32 noundef %29)
  store ptr %30, ptr %11, align 8, !tbaa !5
  %31 = load i32, ptr @MAP_CAPACITIES, align 4, !tbaa !9
  %32 = mul i32 4, %31
  %33 = add i32 1, %32
  %34 = call ptr @obtest_new(i32 noundef %33)
  store ptr %34, ptr %12, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = call i64 @ob_hash(ptr noundef %35)
  %37 = load i32, ptr @MAP_CAPACITIES, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = urem i64 %36, %38
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = call i64 @ob_hash(ptr noundef %40)
  %42 = load i32, ptr @MAP_CAPACITIES, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = urem i64 %41, %43
  %45 = icmp eq i64 %39, %44
  br i1 %45, label %46, label %47

46:                                               ; preds = %0
  br label %48

47:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 37, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

48:                                               ; preds = %46
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = call ptr @obmap_lookup(ptr noundef %49, ptr noundef %50)
  %52 = icmp eq ptr %51, null
  br i1 %52, label %53, label %54

53:                                               ; preds = %48
  br label %55

54:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 39, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

55:                                               ; preds = %53
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %56, ptr noundef %57, ptr noundef %58)
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = call ptr @obmap_lookup(ptr noundef %59, ptr noundef %60)
  store ptr %61, ptr %14, align 8, !tbaa !5
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %65

64:                                               ; preds = %55
  br label %66

65:                                               ; preds = %55
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 44, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

66:                                               ; preds = %64
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = load ptr, ptr %14, align 8, !tbaa !5
  %69 = call signext i8 @ob_compare(ptr noundef %67, ptr noundef %68)
  %70 = sext i8 %69 to i32
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %66
  br label %74

73:                                               ; preds = %66
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 45, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

74:                                               ; preds = %72
  %75 = load ptr, ptr %14, align 8, !tbaa !5
  %76 = call i32 @ob_reference_count(ptr noundef %75)
  %77 = icmp ugt i32 %76, 1
  br i1 %77, label %78, label %79

78:                                               ; preds = %74
  br label %80

79:                                               ; preds = %74
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 46, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

80:                                               ; preds = %78
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %81, ptr noundef %82, ptr noundef %83)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %84, ptr noundef %85, ptr noundef %86)
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %87, ptr noundef %88, ptr noundef %89)
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = load ptr, ptr %12, align 8, !tbaa !5
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %90, ptr noundef %91, ptr noundef %92)
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = call ptr @obmap_lookup(ptr noundef %93, ptr noundef %94)
  store ptr %95, ptr %14, align 8, !tbaa !5
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load ptr, ptr %14, align 8, !tbaa !5
  %98 = call signext i8 @ob_compare(ptr noundef %96, ptr noundef %97)
  %99 = sext i8 %98 to i32
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %101, label %102

101:                                              ; preds = %80
  br label %103

102:                                              ; preds = %80
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 54, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

103:                                              ; preds = %101
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = call signext i8 @ob_compare(ptr noundef %104, ptr noundef %105)
  %107 = sext i8 %106 to i32
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %103
  br label %111

110:                                              ; preds = %103
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 55, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

111:                                              ; preds = %109
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = call ptr @obmap_lookup(ptr noundef %112, ptr noundef %113)
  store ptr %114, ptr %14, align 8, !tbaa !5
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = load ptr, ptr %14, align 8, !tbaa !5
  %117 = call signext i8 @ob_compare(ptr noundef %115, ptr noundef %116)
  %118 = sext i8 %117 to i32
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %111
  br label %122

121:                                              ; preds = %111
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 59, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

122:                                              ; preds = %120
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = load ptr, ptr %14, align 8, !tbaa !5
  %125 = call signext i8 @ob_compare(ptr noundef %123, ptr noundef %124)
  %126 = sext i8 %125 to i32
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %129

128:                                              ; preds = %122
  br label %130

129:                                              ; preds = %122
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 60, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

130:                                              ; preds = %128
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = load ptr, ptr %5, align 8, !tbaa !5
  %133 = call ptr @obmap_lookup(ptr noundef %131, ptr noundef %132)
  store ptr %133, ptr %14, align 8, !tbaa !5
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %134, ptr noundef %135, ptr noundef null)
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = load ptr, ptr %5, align 8, !tbaa !5
  %138 = call ptr @obmap_lookup(ptr noundef %136, ptr noundef %137)
  %139 = icmp eq ptr %138, null
  br i1 %139, label %140, label %141

140:                                              ; preds = %130
  br label %142

141:                                              ; preds = %130
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 65, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

142:                                              ; preds = %140
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  %144 = call i32 @ob_reference_count(ptr noundef %143)
  %145 = icmp eq i32 %144, 1
  br i1 %145, label %146, label %147

146:                                              ; preds = %142
  br label %148

147:                                              ; preds = %142
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 66, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

148:                                              ; preds = %146
  %149 = load ptr, ptr %3, align 8, !tbaa !5
  %150 = load ptr, ptr %12, align 8, !tbaa !5
  %151 = call ptr @obmap_lookup(ptr noundef %149, ptr noundef %150)
  store ptr %151, ptr %14, align 8, !tbaa !5
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = load ptr, ptr %14, align 8, !tbaa !5
  %154 = call signext i8 @ob_compare(ptr noundef %152, ptr noundef %153)
  %155 = sext i8 %154 to i32
  %156 = icmp eq i32 %155, 0
  br i1 %156, label %157, label %158

157:                                              ; preds = %148
  br label %159

158:                                              ; preds = %148
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 69, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

159:                                              ; preds = %157
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = call ptr @obmap_copy(ptr noundef %160)
  store ptr %161, ptr %4, align 8, !tbaa !5
  %162 = load ptr, ptr %3, align 8, !tbaa !5
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %162, ptr noundef %163, ptr noundef null)
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = call ptr @obmap_lookup(ptr noundef %164, ptr noundef %165)
  store ptr %166, ptr %14, align 8, !tbaa !5
  %167 = load ptr, ptr %14, align 8, !tbaa !5
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = call signext i8 @ob_compare(ptr noundef %167, ptr noundef %168)
  %170 = sext i8 %169 to i32
  %171 = icmp eq i32 %170, 0
  br i1 %171, label %172, label %173

172:                                              ; preds = %159
  br label %174

173:                                              ; preds = %159
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 75, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

174:                                              ; preds = %172
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = load ptr, ptr %9, align 8, !tbaa !5
  call void @obmap_remove(ptr noundef %175, ptr noundef %176)
  %177 = load ptr, ptr %4, align 8, !tbaa !5
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = call ptr @obmap_lookup(ptr noundef %177, ptr noundef %178)
  store ptr %179, ptr %14, align 8, !tbaa !5
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = call signext i8 @ob_compare(ptr noundef %180, ptr noundef %181)
  %183 = sext i8 %182 to i32
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %185, label %186

185:                                              ; preds = %174
  br label %187

186:                                              ; preds = %174
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 80, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

187:                                              ; preds = %185
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = load ptr, ptr %9, align 8, !tbaa !5
  %190 = call ptr @obmap_lookup(ptr noundef %188, ptr noundef %189)
  store ptr %190, ptr %14, align 8, !tbaa !5
  %191 = load ptr, ptr %14, align 8, !tbaa !5
  %192 = icmp eq ptr %191, null
  br i1 %192, label %193, label %194

193:                                              ; preds = %187
  br label %195

194:                                              ; preds = %187
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 84, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

195:                                              ; preds = %193
  %196 = load ptr, ptr %3, align 8, !tbaa !5
  %197 = call i64 @ob_hash(ptr noundef %196)
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = call i64 @ob_hash(ptr noundef %198)
  %200 = icmp ne i64 %197, %199
  br i1 %200, label %201, label %202

201:                                              ; preds = %195
  br label %203

202:                                              ; preds = %195
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.1, i32 noundef 86, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

203:                                              ; preds = %201
  %204 = load ptr, ptr %3, align 8, !tbaa !5
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = call signext i8 @ob_compare(ptr noundef %204, ptr noundef %205)
  %207 = sext i8 %206 to i32
  %208 = icmp ne i32 %207, 0
  br i1 %208, label %209, label %210

209:                                              ; preds = %203
  br label %211

210:                                              ; preds = %203
  call void @__assert_fail(ptr noundef @.str.14, ptr noundef @.str.1, i32 noundef 87, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

211:                                              ; preds = %209
  %212 = load ptr, ptr %3, align 8, !tbaa !5
  %213 = load ptr, ptr %9, align 8, !tbaa !5
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %212, ptr noundef %213, ptr noundef %214)
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = call i64 @ob_hash(ptr noundef %215)
  %217 = load ptr, ptr %4, align 8, !tbaa !5
  %218 = call i64 @ob_hash(ptr noundef %217)
  %219 = icmp eq i64 %216, %218
  br i1 %219, label %220, label %221

220:                                              ; preds = %211
  br label %222

221:                                              ; preds = %211
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.1, i32 noundef 91, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

222:                                              ; preds = %220
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = call signext i8 @ob_compare(ptr noundef %223, ptr noundef %224)
  %226 = sext i8 %225 to i32
  %227 = icmp eq i32 %226, 0
  br i1 %227, label %228, label %229

228:                                              ; preds = %222
  br label %230

229:                                              ; preds = %222
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 92, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

230:                                              ; preds = %228
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  call void @obmap_clear(ptr noundef %231)
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = load ptr, ptr %9, align 8, !tbaa !5
  %234 = call ptr @obmap_lookup(ptr noundef %232, ptr noundef %233)
  %235 = icmp eq ptr %234, null
  br i1 %235, label %236, label %237

236:                                              ; preds = %230
  br label %238

237:                                              ; preds = %230
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.1, i32 noundef 96, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

238:                                              ; preds = %236
  %239 = load ptr, ptr %4, align 8, !tbaa !5
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = call ptr @obmap_lookup(ptr noundef %239, ptr noundef %240)
  %242 = icmp eq ptr %241, null
  br i1 %242, label %243, label %244

243:                                              ; preds = %238
  br label %245

244:                                              ; preds = %238
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 97, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

245:                                              ; preds = %243
  %246 = load ptr, ptr %4, align 8, !tbaa !5
  %247 = load ptr, ptr %10, align 8, !tbaa !5
  %248 = call ptr @obmap_lookup(ptr noundef %246, ptr noundef %247)
  %249 = icmp eq ptr %248, null
  br i1 %249, label %250, label %251

250:                                              ; preds = %245
  br label %252

251:                                              ; preds = %245
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.1, i32 noundef 98, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

252:                                              ; preds = %250
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %253

253:                                              ; preds = %271, %252
  %254 = load i32, ptr %2, align 4, !tbaa !9
  %255 = icmp ult i32 %254, 2048
  br i1 %255, label %256, label %274

256:                                              ; preds = %253
  %257 = load i32, ptr %2, align 4, !tbaa !9
  %258 = call ptr @obtest_new(i32 noundef %257)
  %259 = load i32, ptr %2, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = getelementptr inbounds [2048 x ptr], ptr %13, i64 0, i64 %260
  store ptr %258, ptr %261, align 8, !tbaa !5
  %262 = load ptr, ptr %3, align 8, !tbaa !5
  %263 = load i32, ptr %2, align 4, !tbaa !9
  %264 = zext i32 %263 to i64
  %265 = getelementptr inbounds [2048 x ptr], ptr %13, i64 0, i64 %264
  %266 = load ptr, ptr %265, align 8, !tbaa !5
  %267 = load i32, ptr %2, align 4, !tbaa !9
  %268 = zext i32 %267 to i64
  %269 = getelementptr inbounds [2048 x ptr], ptr %13, i64 0, i64 %268
  %270 = load ptr, ptr %269, align 8, !tbaa !5
  call void @obmap_insert(ptr noundef %262, ptr noundef %266, ptr noundef %270)
  br label %271

271:                                              ; preds = %256
  %272 = load i32, ptr %2, align 4, !tbaa !9
  %273 = add i32 %272, 1
  store i32 %273, ptr %2, align 4, !tbaa !9
  br label %253, !llvm.loop !11

274:                                              ; preds = %253
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %275

275:                                              ; preds = %295, %274
  %276 = load i32, ptr %2, align 4, !tbaa !9
  %277 = icmp ult i32 %276, 2048
  br i1 %277, label %278, label %298

278:                                              ; preds = %275
  %279 = load i32, ptr %2, align 4, !tbaa !9
  %280 = zext i32 %279 to i64
  %281 = getelementptr inbounds [2048 x ptr], ptr %13, i64 0, i64 %280
  %282 = load ptr, ptr %281, align 8, !tbaa !5
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = load i32, ptr %2, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = getelementptr inbounds [2048 x ptr], ptr %13, i64 0, i64 %285
  %287 = load ptr, ptr %286, align 8, !tbaa !5
  %288 = call ptr @obmap_lookup(ptr noundef %283, ptr noundef %287)
  %289 = call signext i8 @ob_compare(ptr noundef %282, ptr noundef %288)
  %290 = sext i8 %289 to i32
  %291 = icmp eq i32 %290, 0
  br i1 %291, label %292, label %293

292:                                              ; preds = %278
  br label %294

293:                                              ; preds = %278
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.1, i32 noundef 107, ptr noundef @__PRETTY_FUNCTION__.main) #5
  unreachable

294:                                              ; preds = %292
  br label %295

295:                                              ; preds = %294
  %296 = load i32, ptr %2, align 4, !tbaa !9
  %297 = add i32 %296, 1
  store i32 %297, ptr %2, align 4, !tbaa !9
  br label %275, !llvm.loop !13

298:                                              ; preds = %275
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  %300 = call ptr @ob_release(ptr noundef %299)
  %301 = load ptr, ptr %6, align 8, !tbaa !5
  %302 = call ptr @ob_release(ptr noundef %301)
  %303 = load ptr, ptr %7, align 8, !tbaa !5
  %304 = call ptr @ob_release(ptr noundef %303)
  %305 = load ptr, ptr %8, align 8, !tbaa !5
  %306 = call ptr @ob_release(ptr noundef %305)
  %307 = load ptr, ptr %9, align 8, !tbaa !5
  %308 = call ptr @ob_release(ptr noundef %307)
  %309 = load ptr, ptr %10, align 8, !tbaa !5
  %310 = call ptr @ob_release(ptr noundef %309)
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = call ptr @ob_release(ptr noundef %311)
  %313 = load ptr, ptr %12, align 8, !tbaa !5
  %314 = call ptr @ob_release(ptr noundef %313)
  %315 = load ptr, ptr %3, align 8, !tbaa !5
  %316 = call ptr @ob_release(ptr noundef %315)
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = call ptr @ob_release(ptr noundef %317)
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %319

319:                                              ; preds = %328, %298
  %320 = load i32, ptr %2, align 4, !tbaa !9
  %321 = icmp ult i32 %320, 2048
  br i1 %321, label %322, label %331

322:                                              ; preds = %319
  %323 = load i32, ptr %2, align 4, !tbaa !9
  %324 = zext i32 %323 to i64
  %325 = getelementptr inbounds [2048 x ptr], ptr %13, i64 0, i64 %324
  %326 = load ptr, ptr %325, align 8, !tbaa !5
  %327 = call ptr @ob_release(ptr noundef %326)
  br label %328

328:                                              ; preds = %322
  %329 = load i32, ptr %2, align 4, !tbaa !9
  %330 = add i32 %329, 1
  store i32 %330, ptr %2, align 4, !tbaa !9
  br label %319, !llvm.loop !14

331:                                              ; preds = %319
  %332 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 16384, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  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 8, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

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

declare ptr @obmap_new() #2

declare ptr @obtest_new(i32 noundef) #2

declare i64 @ob_hash(ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare ptr @obmap_lookup(ptr noundef, ptr noundef) #2

declare void @obmap_insert(ptr noundef, ptr noundef, ptr noundef) #2

declare signext i8 @ob_compare(ptr noundef, ptr noundef) #2

declare i32 @ob_reference_count(ptr noundef) #2

declare ptr @obmap_copy(ptr noundef) #2

declare void @obmap_remove(ptr noundef, ptr noundef) #2

declare void @obmap_clear(ptr noundef) #2

declare ptr @ob_release(ptr noundef) #2

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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

@MAP_CAPACITIES = external local_unnamed_addr constant [0 x i32], align 4
@.str = external hidden unnamed_addr constant [75 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [2048 x ptr], align 16
  call void @llvm.lifetime.start.p0(i64 16384, ptr nonnull %1) #5
  %2 = tail call ptr @obmap_new() #5
  %3 = tail call ptr @obtest_new(i32 noundef 1) #5
  %4 = tail call ptr @obtest_new(i32 noundef 2) #5
  %5 = tail call ptr @obtest_new(i32 noundef 3) #5
  %6 = tail call ptr @obtest_new(i32 noundef 103923) #5
  %7 = load i32, ptr @MAP_CAPACITIES, align 4, !tbaa !5
  %8 = add i32 %7, 1
  %9 = tail call ptr @obtest_new(i32 noundef %8) #5
  %10 = shl i32 %7, 1
  %11 = or disjoint i32 %10, 1
  %12 = tail call ptr @obtest_new(i32 noundef %11) #5
  %13 = mul i32 %7, 3
  %14 = add i32 %13, 1
  %15 = tail call ptr @obtest_new(i32 noundef %14) #5
  %16 = shl i32 %7, 2
  %17 = or disjoint i32 %16, 1
  %18 = tail call ptr @obtest_new(i32 noundef %17) #5
  %19 = tail call i64 @ob_hash(ptr noundef %3) #5
  %20 = zext i32 %7 to i64
  %21 = urem i64 %19, %20
  %22 = tail call i64 @ob_hash(ptr noundef %9) #5
  %23 = urem i64 %22, %20
  %24 = icmp eq i64 %21, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 37, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

26:                                               ; preds = %0
  %27 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %3) #5
  %28 = icmp eq ptr %27, null
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 39, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

30:                                               ; preds = %26
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %3, ptr noundef %4) #5
  %31 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %3) #5
  %.not = icmp eq ptr %31, null
  br i1 %.not, label %32, label %33

32:                                               ; preds = %30
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 44, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

33:                                               ; preds = %30
  %34 = tail call signext i8 @ob_compare(ptr noundef %4, ptr noundef nonnull %31) #5
  %35 = icmp eq i8 %34, 0
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 45, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

37:                                               ; preds = %33
  %38 = tail call i32 @ob_reference_count(ptr noundef nonnull %31) #5
  %39 = icmp ugt i32 %38, 1
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 46, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

41:                                               ; preds = %37
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %9, ptr noundef %5) #5
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %12, ptr noundef %6) #5
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %15, ptr noundef %9) #5
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %18, ptr noundef %12) #5
  %42 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %3) #5
  %43 = tail call signext i8 @ob_compare(ptr noundef %4, ptr noundef %42) #5
  %44 = icmp eq i8 %43, 0
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 54, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

46:                                               ; preds = %41
  %47 = tail call signext i8 @ob_compare(ptr noundef %5, ptr noundef %42) #5
  %.not107 = icmp eq i8 %47, 0
  br i1 %.not107, label %48, label %49

48:                                               ; preds = %46
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 55, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

49:                                               ; preds = %46
  %50 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %9) #5
  %51 = tail call signext i8 @ob_compare(ptr noundef %5, ptr noundef %50) #5
  %52 = icmp eq i8 %51, 0
  br i1 %52, label %54, label %53

53:                                               ; preds = %49
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 59, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

54:                                               ; preds = %49
  %55 = tail call signext i8 @ob_compare(ptr noundef %4, ptr noundef %50) #5
  %.not108 = icmp eq i8 %55, 0
  br i1 %.not108, label %56, label %57

56:                                               ; preds = %54
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 60, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

57:                                               ; preds = %54
  %58 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %3) #5
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %3, ptr noundef null) #5
  %59 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %3) #5
  %60 = icmp eq ptr %59, null
  br i1 %60, label %62, label %61

61:                                               ; preds = %57
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 65, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

62:                                               ; preds = %57
  %63 = tail call i32 @ob_reference_count(ptr noundef %58) #5
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %66, label %65

65:                                               ; preds = %62
  tail call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 66, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

66:                                               ; preds = %62
  %67 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %18) #5
  %68 = tail call signext i8 @ob_compare(ptr noundef %12, ptr noundef %67) #5
  %69 = icmp eq i8 %68, 0
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 69, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

71:                                               ; preds = %66
  %72 = tail call ptr @obmap_copy(ptr noundef %2) #5
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %9, ptr noundef null) #5
  %73 = tail call ptr @obmap_lookup(ptr noundef %72, ptr noundef %9) #5
  %74 = tail call signext i8 @ob_compare(ptr noundef %73, ptr noundef %5) #5
  %75 = icmp eq i8 %74, 0
  br i1 %75, label %77, label %76

76:                                               ; preds = %71
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 75, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

77:                                               ; preds = %71
  tail call void @obmap_remove(ptr noundef %2, ptr noundef %9) #5
  %78 = tail call ptr @obmap_lookup(ptr noundef %72, ptr noundef %9) #5
  %79 = tail call signext i8 @ob_compare(ptr noundef %78, ptr noundef %5) #5
  %80 = icmp eq i8 %79, 0
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  tail call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 80, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

82:                                               ; preds = %77
  %83 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %9) #5
  %84 = icmp eq ptr %83, null
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 84, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

86:                                               ; preds = %82
  %87 = tail call i64 @ob_hash(ptr noundef %2) #5
  %88 = tail call i64 @ob_hash(ptr noundef %72) #5
  %.not109 = icmp eq i64 %87, %88
  br i1 %.not109, label %89, label %90

89:                                               ; preds = %86
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.1, i32 noundef 86, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

90:                                               ; preds = %86
  %91 = tail call signext i8 @ob_compare(ptr noundef %2, ptr noundef %72) #5
  %.not110 = icmp eq i8 %91, 0
  br i1 %.not110, label %92, label %93

92:                                               ; preds = %90
  tail call void @__assert_fail(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.1, i32 noundef 87, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

93:                                               ; preds = %90
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %9, ptr noundef %5) #5
  %94 = tail call i64 @ob_hash(ptr noundef %2) #5
  %95 = tail call i64 @ob_hash(ptr noundef %72) #5
  %96 = icmp eq i64 %94, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  tail call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.1, i32 noundef 91, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

98:                                               ; preds = %93
  %99 = tail call signext i8 @ob_compare(ptr noundef %2, ptr noundef %72) #5
  %100 = icmp eq i8 %99, 0
  br i1 %100, label %102, label %101

101:                                              ; preds = %98
  tail call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 92, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

102:                                              ; preds = %98
  tail call void @obmap_clear(ptr noundef %72) #5
  %103 = tail call ptr @obmap_lookup(ptr noundef %72, ptr noundef %9) #5
  %104 = icmp eq ptr %103, null
  br i1 %104, label %106, label %105

105:                                              ; preds = %102
  tail call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.1, i32 noundef 96, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

106:                                              ; preds = %102
  %107 = tail call ptr @obmap_lookup(ptr noundef %72, ptr noundef %3) #5
  %108 = icmp eq ptr %107, null
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  tail call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.1, i32 noundef 97, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

110:                                              ; preds = %106
  %111 = tail call ptr @obmap_lookup(ptr noundef %72, ptr noundef %12) #5
  %112 = icmp eq ptr %111, null
  br i1 %112, label %.preheader111, label %113

113:                                              ; preds = %110
  tail call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.1, i32 noundef 98, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

.preheader111:                                    ; preds = %110, %.preheader111
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader111 ], [ 0, %110 ]
  %114 = trunc nuw nsw i64 %indvars.iv to i32
  %115 = tail call ptr @obtest_new(i32 noundef %114) #5
  %116 = getelementptr inbounds [2048 x ptr], ptr %1, i64 0, i64 %indvars.iv
  store ptr %115, ptr %116, align 8, !tbaa !9
  tail call void @obmap_insert(ptr noundef %2, ptr noundef %115, ptr noundef %115) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 2048
  br i1 %exitcond.not, label %.preheader, label %.preheader111, !llvm.loop !11

117:                                              ; preds = %.preheader
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %exitcond119.not = icmp eq i64 %indvars.iv.next117, 2048
  br i1 %exitcond119.not, label %124, label %.preheader, !llvm.loop !13

.preheader:                                       ; preds = %.preheader111, %117
  %indvars.iv116 = phi i64 [ %indvars.iv.next117, %117 ], [ 0, %.preheader111 ]
  %118 = getelementptr inbounds [2048 x ptr], ptr %1, i64 0, i64 %indvars.iv116
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %120 = tail call ptr @obmap_lookup(ptr noundef %2, ptr noundef %119) #5
  %121 = tail call signext i8 @ob_compare(ptr noundef %119, ptr noundef %120) #5
  %122 = icmp eq i8 %121, 0
  br i1 %122, label %117, label %123

123:                                              ; preds = %.preheader
  tail call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.1, i32 noundef 107, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #6
  unreachable

124:                                              ; preds = %117
  %125 = tail call ptr @ob_release(ptr noundef %3) #5
  %126 = tail call ptr @ob_release(ptr noundef %4) #5
  %127 = tail call ptr @ob_release(ptr noundef %5) #5
  %128 = tail call ptr @ob_release(ptr noundef %6) #5
  %129 = tail call ptr @ob_release(ptr noundef %9) #5
  %130 = tail call ptr @ob_release(ptr noundef %12) #5
  %131 = tail call ptr @ob_release(ptr noundef %15) #5
  %132 = tail call ptr @ob_release(ptr noundef %18) #5
  %133 = tail call ptr @ob_release(ptr noundef %2) #5
  %134 = tail call ptr @ob_release(ptr noundef %72) #5
  br label %135

135:                                              ; preds = %124, %135
  %indvars.iv120 = phi i64 [ 0, %124 ], [ %indvars.iv.next121, %135 ]
  %136 = getelementptr inbounds [2048 x ptr], ptr %1, i64 0, i64 %indvars.iv120
  %137 = load ptr, ptr %136, align 8, !tbaa !9
  %138 = tail call ptr @ob_release(ptr noundef %137) #5
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %exitcond123.not = icmp eq i64 %indvars.iv.next121, 2048
  br i1 %exitcond123.not, label %139, label %135, !llvm.loop !14

139:                                              ; preds = %135
  %140 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21)
  call void @llvm.lifetime.end.p0(i64 16384, ptr nonnull %1) #5
  ret i32 0
}

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

declare ptr @obmap_new() local_unnamed_addr #2

declare ptr @obtest_new(i32 noundef) local_unnamed_addr #2

declare i64 @ob_hash(ptr noundef) local_unnamed_addr #2

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

declare ptr @obmap_lookup(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @obmap_insert(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare signext i8 @ob_compare(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @ob_reference_count(ptr noundef) local_unnamed_addr #2

declare ptr @obmap_copy(ptr noundef) local_unnamed_addr #2

declare void @obmap_remove(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @obmap_clear(ptr noundef) local_unnamed_addr #2

declare ptr @ob_release(ptr noundef) local_unnamed_addr #2

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass