; LLVM IR from themisvaltinos/Partitioned-Hash-Join :: tests (test_hopscotch)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.tuple = type { i32, i32 }
%struct.hash_table = type { ptr, i32, i32, i32 }
%struct.bucket = type { i32, i32, i64, ptr }
%struct.row_ids = type { i32, i32, ptr }

@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [20 x i8], align 1
@__const.testSearch.tuple = external hidden unnamed_addr constant %struct.tuple, align 4
@.str.61 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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

; Function Attrs: noreturn nounwind uwtable
declare dso_local void @acutest_abort_() #2

declare ptr @createHashTable(i32 noundef, i32 noundef) #3

declare void @destroyHashTable(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @_testBasicInsert(ptr noundef, i32 noundef) #0

declare i32 @insert(ptr noundef, ptr noundef) #3

declare ptr @search(ptr noundef, i32 noundef) #3

declare void @destroyRowIDs(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @testSearch() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %struct.tuple, align 4
  %6 = alloca ptr, align 8
  %7 = alloca [10 x i32], align 16
  %8 = alloca i32, align 4
  %9 = alloca %struct.tuple, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 16, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 4, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %16 = load i32, ptr %1, align 4, !tbaa !5
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = call ptr @createHashTable(i32 noundef %16, i32 noundef %17)
  store ptr %18, ptr %4, align 8, !tbaa !9
  %19 = load ptr, ptr %4, align 8, !tbaa !9
  %20 = load i32, ptr %1, align 4, !tbaa !5
  call void @_testBasicInsert(ptr noundef %19, i32 noundef %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.testSearch.tuple, i64 8, i1 false)
  %21 = load ptr, ptr %4, align 8, !tbaa !9
  %22 = call i32 @insert(ptr noundef %21, ptr noundef %5)
  store i32 %22, ptr %3, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %0
  %24 = load ptr, ptr %4, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.hash_table, ptr %24, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8, !tbaa !11
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = zext i32 %27 to i64
  %29 = getelementptr inbounds %struct.bucket, ptr %26, i64 %28
  %30 = getelementptr inbounds %struct.bucket, ptr %29, i32 0, i32 1
  %31 = load i32, ptr %30, align 4, !tbaa !13
  %32 = icmp eq i32 %31, 3000
  %33 = zext i1 %32 to i32
  %34 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %33, ptr noundef @.str.36, i32 noundef 183, ptr noundef @.str.5, ptr noundef @.str.61)
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %37, label %36

36:                                               ; preds = %23
  call void @acutest_abort_() #6
  unreachable

37:                                               ; preds = %23
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  br label %40

40:                                               ; preds = %39
  %41 = load ptr, ptr %4, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.hash_table, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !16
  %44 = load i32, ptr %1, align 4, !tbaa !5
  %45 = add i32 %44, 1
  %46 = icmp eq i32 %43, %45
  %47 = zext i1 %46 to i32
  %48 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %47, ptr noundef @.str.36, i32 noundef 185, ptr noundef @.str.5, ptr noundef @.str.62)
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %51, label %50

50:                                               ; preds = %40
  call void @acutest_abort_() #6
  unreachable

51:                                               ; preds = %40
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %54 = load ptr, ptr %4, align 8, !tbaa !9
  %55 = call ptr @search(ptr noundef %54, i32 noundef 3000)
  store ptr %55, ptr %6, align 8, !tbaa !9
  br label %56

56:                                               ; preds = %53
  %57 = load ptr, ptr %6, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct.row_ids, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !17
  %60 = icmp eq i32 %59, 1
  %61 = zext i1 %60 to i32
  %62 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %61, ptr noundef @.str.36, i32 noundef 190, ptr noundef @.str.5, ptr noundef @.str.54)
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %65, label %64

64:                                               ; preds = %56
  call void @acutest_abort_() #6
  unreachable

65:                                               ; preds = %56
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  %69 = load ptr, ptr %6, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.row_ids, ptr %69, i32 0, i32 2
  %71 = load ptr, ptr %70, align 8, !tbaa !19
  %72 = getelementptr inbounds i32, ptr %71, i64 0
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = icmp eq i32 %73, 2
  %75 = zext i1 %74 to i32
  %76 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %75, ptr noundef @.str.36, i32 noundef 191, ptr noundef @.str.5, ptr noundef @.str.63)
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %79, label %78

78:                                               ; preds = %68
  call void @acutest_abort_() #6
  unreachable

79:                                               ; preds = %68
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %113, %81
  %83 = load i32, ptr %8, align 4, !tbaa !5
  %84 = icmp ult i32 %83, 10
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %116

86:                                               ; preds = %82
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = load i32, ptr %8, align 4, !tbaa !5
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %89
  store i32 %87, ptr %90, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %91 = getelementptr inbounds %struct.tuple, ptr %9, i32 0, i32 0
  %92 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %92, ptr %91, align 4, !tbaa !20
  %93 = getelementptr inbounds %struct.tuple, ptr %9, i32 0, i32 1
  store i32 99, ptr %93, align 4, !tbaa !22
  %94 = load ptr, ptr %4, align 8, !tbaa !9
  %95 = call i32 @insert(ptr noundef %94, ptr noundef %9)
  store i32 %95, ptr %3, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %86
  %97 = load ptr, ptr %4, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.hash_table, ptr %97, i32 0, i32 0
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = load i32, ptr %3, align 4, !tbaa !5
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds %struct.bucket, ptr %99, i64 %101
  %103 = getelementptr inbounds %struct.bucket, ptr %102, i32 0, i32 1
  %104 = load i32, ptr %103, align 4, !tbaa !13
  %105 = icmp eq i32 %104, 99
  %106 = zext i1 %105 to i32
  %107 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %106, ptr noundef @.str.36, i32 noundef 200, ptr noundef @.str.5, ptr noundef @.str.64)
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %110, label %109

109:                                              ; preds = %96
  call void @acutest_abort_() #6
  unreachable

110:                                              ; preds = %96
  br label %111

111:                                              ; preds = %110
  br label %112

112:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %8, align 4, !tbaa !5
  %115 = add i32 %114, 1
  store i32 %115, ptr %8, align 4, !tbaa !5
  br label %82, !llvm.loop !23

116:                                              ; preds = %85
  br label %117

117:                                              ; preds = %116
  %118 = load ptr, ptr %4, align 8, !tbaa !9
  %119 = getelementptr inbounds %struct.hash_table, ptr %118, i32 0, i32 1
  %120 = load i32, ptr %119, align 8, !tbaa !16
  %121 = load i32, ptr %1, align 4, !tbaa !5
  %122 = add i32 %121, 11
  %123 = icmp eq i32 %120, %122
  %124 = zext i1 %123 to i32
  %125 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %124, ptr noundef @.str.36, i32 noundef 203, ptr noundef @.str.5, ptr noundef @.str.65)
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %128, label %127

127:                                              ; preds = %117
  call void @acutest_abort_() #6
  unreachable

128:                                              ; preds = %117
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %131 = load ptr, ptr %4, align 8, !tbaa !9
  %132 = call ptr @search(ptr noundef %131, i32 noundef 99)
  store ptr %132, ptr %10, align 8, !tbaa !9
  br label %133

133:                                              ; preds = %130
  %134 = load ptr, ptr %10, align 8, !tbaa !9
  %135 = getelementptr inbounds %struct.row_ids, ptr %134, i32 0, i32 0
  %136 = load i32, ptr %135, align 8, !tbaa !17
  %137 = icmp eq i32 %136, 10
  %138 = zext i1 %137 to i32
  %139 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %138, ptr noundef @.str.36, i32 noundef 207, ptr noundef @.str.5, ptr noundef @.str.66)
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %142, label %141

141:                                              ; preds = %133
  call void @acutest_abort_() #6
  unreachable

142:                                              ; preds = %133
  br label %143

143:                                              ; preds = %142
  br label %144

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %180, %144
  %146 = load i32, ptr %11, align 4, !tbaa !5
  %147 = load ptr, ptr %10, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.row_ids, ptr %147, i32 0, i32 0
  %149 = load i32, ptr %148, align 8, !tbaa !17
  %150 = icmp ult i32 %146, %149
  br i1 %150, label %152, label %151

151:                                              ; preds = %145
  store i32 19, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %183

152:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %153

153:                                              ; preds = %175, %152
  %154 = load i32, ptr %13, align 4, !tbaa !5
  %155 = icmp ult i32 %154, 10
  br i1 %155, label %157, label %156

156:                                              ; preds = %153
  store i32 22, ptr %12, align 4
  br label %178

157:                                              ; preds = %153
  %158 = load i32, ptr %13, align 4, !tbaa !5
  %159 = zext i32 %158 to i64
  %160 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = load ptr, ptr %10, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.row_ids, ptr %162, i32 0, i32 2
  %164 = load ptr, ptr %163, align 8, !tbaa !19
  %165 = load i32, ptr %11, align 4, !tbaa !5
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds i32, ptr %164, i64 %166
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = icmp eq i32 %161, %168
  br i1 %169, label %170, label %174

170:                                              ; preds = %157
  %171 = load i32, ptr %13, align 4, !tbaa !5
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %172
  store i32 77, ptr %173, align 4, !tbaa !5
  store i32 22, ptr %12, align 4
  br label %178

174:                                              ; preds = %157
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %13, align 4, !tbaa !5
  %177 = add i32 %176, 1
  store i32 %177, ptr %13, align 4, !tbaa !5
  br label %153, !llvm.loop !25

178:                                              ; preds = %170, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %179

179:                                              ; preds = %178
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %11, align 4, !tbaa !5
  %182 = add i32 %181, 1
  store i32 %182, ptr %11, align 4, !tbaa !5
  br label %145, !llvm.loop !26

183:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %184

184:                                              ; preds = %198, %183
  %185 = load i32, ptr %15, align 4, !tbaa !5
  %186 = icmp ult i32 %185, 10
  br i1 %186, label %188, label %187

187:                                              ; preds = %184
  store i32 25, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %201

188:                                              ; preds = %184
  %189 = load i32, ptr %15, align 4, !tbaa !5
  %190 = zext i32 %189 to i64
  %191 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %190
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = icmp eq i32 %192, 77
  br i1 %193, label %194, label %197

194:                                              ; preds = %188
  %195 = load i32, ptr %14, align 4, !tbaa !5
  %196 = add i32 %195, 1
  store i32 %196, ptr %14, align 4, !tbaa !5
  br label %197

197:                                              ; preds = %194, %188
  br label %198

198:                                              ; preds = %197
  %199 = load i32, ptr %15, align 4, !tbaa !5
  %200 = add i32 %199, 1
  store i32 %200, ptr %15, align 4, !tbaa !5
  br label %184, !llvm.loop !27

201:                                              ; preds = %187
  br label %202

202:                                              ; preds = %201
  %203 = load i32, ptr %14, align 4, !tbaa !5
  %204 = icmp eq i32 %203, 10
  %205 = zext i1 %204 to i32
  %206 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %205, ptr noundef @.str.36, i32 noundef 228, ptr noundef @.str.5, ptr noundef @.str.67)
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %209, label %208

208:                                              ; preds = %202
  call void @acutest_abort_() #6
  unreachable

209:                                              ; preds = %202
  br label %210

210:                                              ; preds = %209
  br label %211

211:                                              ; preds = %210
  %212 = load ptr, ptr %6, align 8, !tbaa !9
  call void @destroyRowIDs(ptr noundef %212)
  %213 = load ptr, ptr %10, align 8, !tbaa !9
  call void @destroyRowIDs(ptr noundef %213)
  %214 = load ptr, ptr %4, align 8, !tbaa !9
  call void @destroyHashTable(ptr noundef %214)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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 = { noreturn 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 nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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 = !{!12, !10, i64 0}
!12 = !{!"hash_table", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!13 = !{!14, !6, i64 4}
!14 = !{!"bucket", !6, i64 0, !6, i64 4, !15, i64 8, !10, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!12, !6, i64 8}
!17 = !{!18, !6, i64 0}
!18 = !{!"row_ids", !6, i64 0, !6, i64 4, !10, i64 8}
!19 = !{!18, !10, i64 8}
!20 = !{!21, !6, i64 0}
!21 = !{!"tuple", !6, i64 0, !6, i64 4}
!22 = !{!21, !6, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.tuple = type { i32, i32 }
%struct.bucket = type { i32, i32, i64, ptr }

@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [20 x i8], align 1
@__const.testSearch.tuple = external hidden unnamed_addr constant %struct.tuple, align 4
@.str.61 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @acutest_check_(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

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

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

; Function Attrs: noreturn nounwind uwtable
declare dso_local void @acutest_abort_() local_unnamed_addr #2

declare ptr @createHashTable(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @destroyHashTable(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @_testBasicInsert(ptr noundef, i32 noundef) local_unnamed_addr #0

declare i32 @insert(ptr noundef, ptr noundef) local_unnamed_addr #3

declare ptr @search(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @destroyRowIDs(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @testSearch() local_unnamed_addr #0 {
  %1 = alloca %struct.tuple, align 8
  %.sroa.0 = alloca i32, align 16
  %.sroa.6 = alloca i32, align 4
  %.sroa.10 = alloca i32, align 8
  %.sroa.14 = alloca i32, align 4
  %.sroa.18 = alloca i32, align 16
  %.sroa.22 = alloca i32, align 4
  %.sroa.26 = alloca i32, align 8
  %.sroa.30 = alloca i32, align 4
  %.sroa.34 = alloca i32, align 16
  %.sroa.38 = alloca i32, align 4
  %2 = alloca %struct.tuple, align 4
  %3 = tail call ptr @createHashTable(i32 noundef 16, i32 noundef 4) #5
  tail call void @_testBasicInsert(ptr noundef %3, i32 noundef 16)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  %4 = load i64, ptr @__const.testSearch.tuple, align 4
  store i64 %4, ptr %1, align 8
  %5 = call i32 @insert(ptr noundef %3, ptr noundef nonnull %1) #5
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = zext i32 %5 to i64
  %8 = getelementptr inbounds %struct.bucket, ptr %6, i64 %7, i32 1
  %9 = load i32, ptr %8, align 4, !tbaa !11
  %10 = icmp eq i32 %9, 3000
  %11 = zext i1 %10 to i32
  %12 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %11, ptr noundef nonnull @.str.36, i32 noundef 183, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.61)
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %13, label %14

13:                                               ; preds = %0
  call void @acutest_abort_() #6
  unreachable

14:                                               ; preds = %0
  %15 = getelementptr inbounds i8, ptr %3, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !14
  %17 = icmp eq i32 %16, 17
  %18 = zext i1 %17 to i32
  %19 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %18, ptr noundef nonnull @.str.36, i32 noundef 185, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.62)
  %.not44 = icmp eq i32 %19, 0
  br i1 %.not44, label %20, label %21

20:                                               ; preds = %14
  call void @acutest_abort_() #6
  unreachable

21:                                               ; preds = %14
  %22 = call ptr @search(ptr noundef nonnull %3, i32 noundef 3000) #5
  %23 = load i32, ptr %22, align 8, !tbaa !15
  %24 = icmp eq i32 %23, 1
  %25 = zext i1 %24 to i32
  %26 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %25, ptr noundef nonnull @.str.36, i32 noundef 190, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.54)
  %.not45 = icmp eq i32 %26, 0
  br i1 %.not45, label %27, label %28

27:                                               ; preds = %21
  call void @acutest_abort_() #6
  unreachable

28:                                               ; preds = %21
  %29 = getelementptr inbounds i8, ptr %22, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  %31 = load i32, ptr %30, align 4, !tbaa !18
  %32 = icmp eq i32 %31, 2
  %33 = zext i1 %32 to i32
  %34 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %33, ptr noundef nonnull @.str.36, i32 noundef 191, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.63)
  %.not46 = icmp eq i32 %34, 0
  br i1 %.not46, label %35, label %36

35:                                               ; preds = %28
  call void @acutest_abort_() #6
  unreachable

36:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.0)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.18)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.22)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.26)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.30)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.34)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.38)
  %37 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 0, ptr %.sroa.0, align 16, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 0, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %38 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = zext i32 %38 to i64
  %41 = getelementptr inbounds %struct.bucket, ptr %39, i64 %40, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !11
  %43 = icmp eq i32 %42, 99
  %44 = zext i1 %43 to i32
  %45 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %44, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50 = icmp eq i32 %45, 0
  br i1 %.not50, label %46, label %47

46:                                               ; preds = %119, %110, %101, %92, %83, %74, %65, %56, %47, %36
  call void @acutest_abort_() #6
  unreachable

47:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 1, ptr %.sroa.6, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 1, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %48 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = zext i32 %48 to i64
  %51 = getelementptr inbounds %struct.bucket, ptr %49, i64 %50, i32 1
  %52 = load i32, ptr %51, align 4, !tbaa !11
  %53 = icmp eq i32 %52, 99
  %54 = zext i1 %53 to i32
  %55 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %54, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.1 = icmp eq i32 %55, 0
  br i1 %.not50.1, label %46, label %56

56:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 2, ptr %.sroa.10, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 2, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %57 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = zext i32 %57 to i64
  %60 = getelementptr inbounds %struct.bucket, ptr %58, i64 %59, i32 1
  %61 = load i32, ptr %60, align 4, !tbaa !11
  %62 = icmp eq i32 %61, 99
  %63 = zext i1 %62 to i32
  %64 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %63, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.2 = icmp eq i32 %64, 0
  br i1 %.not50.2, label %46, label %65

65:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 3, ptr %.sroa.14, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 3, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %66 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = zext i32 %66 to i64
  %69 = getelementptr inbounds %struct.bucket, ptr %67, i64 %68, i32 1
  %70 = load i32, ptr %69, align 4, !tbaa !11
  %71 = icmp eq i32 %70, 99
  %72 = zext i1 %71 to i32
  %73 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %72, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.3 = icmp eq i32 %73, 0
  br i1 %.not50.3, label %46, label %74

74:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 4, ptr %.sroa.18, align 16, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 4, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %75 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = zext i32 %75 to i64
  %78 = getelementptr inbounds %struct.bucket, ptr %76, i64 %77, i32 1
  %79 = load i32, ptr %78, align 4, !tbaa !11
  %80 = icmp eq i32 %79, 99
  %81 = zext i1 %80 to i32
  %82 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %81, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.4 = icmp eq i32 %82, 0
  br i1 %.not50.4, label %46, label %83

83:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 5, ptr %.sroa.22, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 5, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %84 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = zext i32 %84 to i64
  %87 = getelementptr inbounds %struct.bucket, ptr %85, i64 %86, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !11
  %89 = icmp eq i32 %88, 99
  %90 = zext i1 %89 to i32
  %91 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %90, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.5 = icmp eq i32 %91, 0
  br i1 %.not50.5, label %46, label %92

92:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 6, ptr %.sroa.26, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 6, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %93 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = zext i32 %93 to i64
  %96 = getelementptr inbounds %struct.bucket, ptr %94, i64 %95, i32 1
  %97 = load i32, ptr %96, align 4, !tbaa !11
  %98 = icmp eq i32 %97, 99
  %99 = zext i1 %98 to i32
  %100 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %99, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.6 = icmp eq i32 %100, 0
  br i1 %.not50.6, label %46, label %101

101:                                              ; preds = %92
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 7, ptr %.sroa.30, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 7, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %102 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = zext i32 %102 to i64
  %105 = getelementptr inbounds %struct.bucket, ptr %103, i64 %104, i32 1
  %106 = load i32, ptr %105, align 4, !tbaa !11
  %107 = icmp eq i32 %106, 99
  %108 = zext i1 %107 to i32
  %109 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %108, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.7 = icmp eq i32 %109, 0
  br i1 %.not50.7, label %46, label %110

110:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 8, ptr %.sroa.34, align 16, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 8, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %111 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = zext i32 %111 to i64
  %114 = getelementptr inbounds %struct.bucket, ptr %112, i64 %113, i32 1
  %115 = load i32, ptr %114, align 4, !tbaa !11
  %116 = icmp eq i32 %115, 99
  %117 = zext i1 %116 to i32
  %118 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %117, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.8 = icmp eq i32 %118, 0
  br i1 %.not50.8, label %46, label %119

119:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  store i32 9, ptr %.sroa.38, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store i32 9, ptr %2, align 4, !tbaa !19
  store i32 99, ptr %37, align 4, !tbaa !21
  %120 = call i32 @insert(ptr noundef nonnull %3, ptr noundef nonnull %2) #5
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = zext i32 %120 to i64
  %123 = getelementptr inbounds %struct.bucket, ptr %121, i64 %122, i32 1
  %124 = load i32, ptr %123, align 4, !tbaa !11
  %125 = icmp eq i32 %124, 99
  %126 = zext i1 %125 to i32
  %127 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %126, ptr noundef nonnull @.str.36, i32 noundef 200, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.64)
  %.not50.9 = icmp eq i32 %127, 0
  br i1 %.not50.9, label %46, label %128

128:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  %129 = load i32, ptr %15, align 8, !tbaa !14
  %130 = icmp eq i32 %129, 27
  %131 = zext i1 %130 to i32
  %132 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %131, ptr noundef nonnull @.str.36, i32 noundef 203, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.65)
  %.not47 = icmp eq i32 %132, 0
  br i1 %.not47, label %133, label %134

133:                                              ; preds = %128
  call void @acutest_abort_() #6
  unreachable

134:                                              ; preds = %128
  %135 = call ptr @search(ptr noundef nonnull %3, i32 noundef 99) #5
  %136 = load i32, ptr %135, align 8, !tbaa !15
  %137 = icmp eq i32 %136, 10
  %138 = zext i1 %137 to i32
  %139 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %138, ptr noundef nonnull @.str.36, i32 noundef 207, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.66)
  %.not48 = icmp eq i32 %139, 0
  br i1 %.not48, label %143, label %.preheader52

.preheader52:                                     ; preds = %134
  %140 = load i32, ptr %135, align 8, !tbaa !15
  %.not59 = icmp eq i32 %140, 0
  br i1 %.not59, label %.preheader, label %.preheader51.lr.ph

.preheader51.lr.ph:                               ; preds = %.preheader52
  %141 = getelementptr inbounds i8, ptr %135, i64 8
  %142 = load ptr, ptr %141, align 8, !tbaa !17
  %wide.trip.count = zext i32 %140 to i64
  br label %.preheader51

143:                                              ; preds = %134
  call void @acutest_abort_() #6
  unreachable

.preheader51:                                     ; preds = %.preheader51.lr.ph, %.loopexit
  %indvars.iv = phi i64 [ 0, %.preheader51.lr.ph ], [ %indvars.iv.next, %.loopexit ]
  %144 = getelementptr inbounds i32, ptr %142, i64 %indvars.iv
  %145 = load i32, ptr %144, align 4, !tbaa !18
  %.sroa.0.0..sroa.0.0..sroa.0.0. = load i32, ptr %.sroa.0, align 16, !tbaa !18
  %146 = icmp eq i32 %.sroa.0.0..sroa.0.0..sroa.0.0., %145
  br i1 %146, label %184, label %166

.preheader.loopexit:                              ; preds = %.loopexit
  %.sroa.0.0..sroa.0.0..sroa.0.0.77.pre = load i32, ptr %.sroa.0, align 16, !tbaa !18
  %.sroa.6.0..sroa.6.0..sroa.6.4.78.pre = load i32, ptr %.sroa.6, align 4, !tbaa !18
  %.sroa.10.0..sroa.10.0..sroa.10.8.79.pre = load i32, ptr %.sroa.10, align 8, !tbaa !18
  %.sroa.14.0..sroa.14.0..sroa.14.12.80.pre = load i32, ptr %.sroa.14, align 4, !tbaa !18
  %.sroa.18.0..sroa.18.0..sroa.18.16.81.pre = load i32, ptr %.sroa.18, align 16, !tbaa !18
  %.sroa.22.0..sroa.22.0..sroa.22.20.82.pre = load i32, ptr %.sroa.22, align 4, !tbaa !18
  %.sroa.26.0..sroa.26.0..sroa.26.24.83.pre = load i32, ptr %.sroa.26, align 8, !tbaa !18
  %.sroa.30.0..sroa.30.0..sroa.30.28.84.pre = load i32, ptr %.sroa.30, align 4, !tbaa !18
  %.sroa.34.0..sroa.34.0..sroa.34.32.85.pre = load i32, ptr %.sroa.34, align 16, !tbaa !18
  %.sroa.38.0..sroa.38.0..sroa.38.36.86.pre = load i32, ptr %.sroa.38, align 4, !tbaa !18
  %147 = insertelement <8 x i32> poison, i32 %.sroa.0.0..sroa.0.0..sroa.0.0.77.pre, i64 0
  %148 = insertelement <8 x i32> %147, i32 %.sroa.6.0..sroa.6.0..sroa.6.4.78.pre, i64 1
  %149 = insertelement <8 x i32> %148, i32 %.sroa.10.0..sroa.10.0..sroa.10.8.79.pre, i64 2
  %150 = insertelement <8 x i32> %149, i32 %.sroa.14.0..sroa.14.0..sroa.14.12.80.pre, i64 3
  %151 = insertelement <8 x i32> %150, i32 %.sroa.18.0..sroa.18.0..sroa.18.16.81.pre, i64 4
  %152 = insertelement <8 x i32> %151, i32 %.sroa.22.0..sroa.22.0..sroa.22.20.82.pre, i64 5
  %153 = insertelement <8 x i32> %152, i32 %.sroa.26.0..sroa.26.0..sroa.26.24.83.pre, i64 6
  %154 = insertelement <8 x i32> %153, i32 %.sroa.30.0..sroa.30.0..sroa.30.28.84.pre, i64 7
  %155 = icmp eq <8 x i32> %154, <i32 77, i32 77, i32 77, i32 77, i32 77, i32 77, i32 77, i32 77>
  %156 = icmp eq i32 %.sroa.34.0..sroa.34.0..sroa.34.32.85.pre, 77
  %157 = zext i1 %156 to i32
  %158 = icmp eq i32 %.sroa.38.0..sroa.38.0..sroa.38.36.86.pre, 77
  %159 = zext i1 %158 to i32
  %160 = bitcast <8 x i1> %155 to i8
  %161 = call range(i8 0, 9) i8 @llvm.ctpop.i8(i8 %160)
  %162 = zext nneg i8 %161 to i32
  %op.rdx = add nuw nsw i32 %162, %157
  %op.rdx97 = add nuw nsw i32 %op.rdx, %159
  %163 = icmp eq i32 %op.rdx97, 10
  %164 = zext i1 %163 to i32
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader52
  %spec.select.9 = phi i32 [ %164, %.preheader.loopexit ], [ 0, %.preheader52 ]
  %165 = call i32 (i32, ptr, i32, ptr, ...) @acutest_check_(i32 noundef %spec.select.9, ptr noundef nonnull @.str.36, i32 noundef 228, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.67)
  %.not49 = icmp eq i32 %165, 0
  br i1 %.not49, label %185, label %186

166:                                              ; preds = %.preheader51
  %.sroa.6.0..sroa.6.0..sroa.6.4. = load i32, ptr %.sroa.6, align 4, !tbaa !18
  %167 = icmp eq i32 %.sroa.6.0..sroa.6.0..sroa.6.4., %145
  br i1 %167, label %184, label %168

168:                                              ; preds = %166
  %.sroa.10.0..sroa.10.0..sroa.10.8. = load i32, ptr %.sroa.10, align 8, !tbaa !18
  %169 = icmp eq i32 %.sroa.10.0..sroa.10.0..sroa.10.8., %145
  br i1 %169, label %184, label %170

170:                                              ; preds = %168
  %.sroa.14.0..sroa.14.0..sroa.14.12. = load i32, ptr %.sroa.14, align 4, !tbaa !18
  %171 = icmp eq i32 %.sroa.14.0..sroa.14.0..sroa.14.12., %145
  br i1 %171, label %184, label %172

172:                                              ; preds = %170
  %.sroa.18.0..sroa.18.0..sroa.18.16. = load i32, ptr %.sroa.18, align 16, !tbaa !18
  %173 = icmp eq i32 %.sroa.18.0..sroa.18.0..sroa.18.16., %145
  br i1 %173, label %184, label %174

174:                                              ; preds = %172
  %.sroa.22.0..sroa.22.0..sroa.22.20. = load i32, ptr %.sroa.22, align 4, !tbaa !18
  %175 = icmp eq i32 %.sroa.22.0..sroa.22.0..sroa.22.20., %145
  br i1 %175, label %184, label %176

176:                                              ; preds = %174
  %.sroa.26.0..sroa.26.0..sroa.26.24. = load i32, ptr %.sroa.26, align 8, !tbaa !18
  %177 = icmp eq i32 %.sroa.26.0..sroa.26.0..sroa.26.24., %145
  br i1 %177, label %184, label %178

178:                                              ; preds = %176
  %.sroa.30.0..sroa.30.0..sroa.30.28. = load i32, ptr %.sroa.30, align 4, !tbaa !18
  %179 = icmp eq i32 %.sroa.30.0..sroa.30.0..sroa.30.28., %145
  br i1 %179, label %184, label %180

180:                                              ; preds = %178
  %.sroa.34.0..sroa.34.0..sroa.34.32. = load i32, ptr %.sroa.34, align 16, !tbaa !18
  %181 = icmp eq i32 %.sroa.34.0..sroa.34.0..sroa.34.32., %145
  br i1 %181, label %184, label %182

182:                                              ; preds = %180
  %.sroa.38.0..sroa.38.0..sroa.38.36. = load i32, ptr %.sroa.38, align 4, !tbaa !18
  %183 = icmp eq i32 %.sroa.38.0..sroa.38.0..sroa.38.36., %145
  br i1 %183, label %184, label %.loopexit

184:                                              ; preds = %182, %180, %178, %176, %174, %172, %170, %168, %166, %.preheader51
  %.lcssa.sroa.phi = phi ptr [ %.sroa.0, %.preheader51 ], [ %.sroa.6, %166 ], [ %.sroa.10, %168 ], [ %.sroa.14, %170 ], [ %.sroa.18, %172 ], [ %.sroa.22, %174 ], [ %.sroa.26, %176 ], [ %.sroa.30, %178 ], [ %.sroa.34, %180 ], [ %.sroa.38, %182 ]
  store i32 77, ptr %.lcssa.sroa.phi, align 4, !tbaa !18
  br label %.loopexit

.loopexit:                                        ; preds = %182, %184
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader.loopexit, label %.preheader51, !llvm.loop !22

185:                                              ; preds = %.preheader
  call void @acutest_abort_() #6
  unreachable

186:                                              ; preds = %.preheader
  call void @destroyRowIDs(ptr noundef nonnull %22) #5
  call void @destroyRowIDs(ptr noundef nonnull %135) #5
  call void @destroyHashTable(ptr noundef nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.0)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.22)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.26)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.30)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.34)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.38)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.ctpop.i8(i8) #4

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 = { noreturn 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 speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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, !7, i64 0}
!6 = !{!"hash_table", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"bucket", !10, i64 0, !10, i64 4, !13, i64 8, !7, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !10, i64 8}
!15 = !{!16, !10, i64 0}
!16 = !{!"row_ids", !10, i64 0, !10, i64 4, !7, i64 8}
!17 = !{!16, !7, i64 8}
!18 = !{!10, !10, i64 0}
!19 = !{!20, !10, i64 0}
!20 = !{!"tuple", !10, i64 0, !10, i64 4}
!21 = !{!20, !10, i64 4}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass