; LLVM IR from fmela/libdict :: src (hashtable)

; 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.hashtable = type { ptr, ptr, ptr, i64, i32 }
%struct.hash_node = type { ptr, ptr, ptr, ptr, i32 }

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [37 x i8], align 1
@__func__.hashtable_verify = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #0

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

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

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @hashtable_verify(ptr noundef %0) #3 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %7

7:                                                ; preds = %158, %1
  %8 = load i32, ptr %4, align 4, !tbaa !9
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.hashtable, ptr %9, i32 0, i32 4
  %11 = load i32, ptr %10, align 8, !tbaa !11
  %12 = icmp ult i32 %8, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %7
  store i32 2, ptr %5, align 4
  br label %161

14:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.hashtable, ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !14
  %18 = load i32, ptr %4, align 4, !tbaa !9
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds ptr, ptr %17, i64 %19
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %21, ptr %6, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %151, %14
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  store i32 5, ptr %5, align 4
  br label %155

26:                                               ; preds = %22
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.hashtable, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !14
  %31 = load i32, ptr %4, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = getelementptr inbounds ptr, ptr %30, i64 %32
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = icmp eq ptr %27, %34
  br i1 %35, label %36, label %52

36:                                               ; preds = %26
  br label %37

37:                                               ; preds = %36
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.hash_node, ptr %38, i32 0, i32 3
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = icmp eq ptr %40, null
  %42 = zext i1 %41 to i32
  %43 = sext i32 %42 to i64
  %44 = call i64 @llvm.expect.i64(i64 %43, i64 1)
  %45 = icmp ne i64 %44, 0
  br i1 %45, label %49, label %46

46:                                               ; preds = %37
  %47 = load ptr, ptr @stderr, align 8, !tbaa !5
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 350, ptr noundef @__func__.hashtable_verify, ptr noundef @.str.8) #4
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %155

49:                                               ; preds = %37
  br label %50

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50
  br label %86

52:                                               ; preds = %26
  br label %53

53:                                               ; preds = %52
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.hash_node, ptr %54, i32 0, i32 3
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = icmp ne ptr %56, null
  %58 = zext i1 %57 to i32
  %59 = sext i32 %58 to i64
  %60 = call i64 @llvm.expect.i64(i64 %59, i64 1)
  %61 = icmp ne i64 %60, 0
  br i1 %61, label %65, label %62

62:                                               ; preds = %53
  %63 = load ptr, ptr @stderr, align 8, !tbaa !5
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 352, ptr noundef @__func__.hashtable_verify, ptr noundef @.str.9) #4
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %155

65:                                               ; preds = %53
  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 !5
  %70 = getelementptr inbounds %struct.hash_node, ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !15
  %72 = getelementptr inbounds %struct.hash_node, ptr %71, i32 0, i32 2
  %73 = load ptr, ptr %72, align 8, !tbaa !17
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = icmp eq ptr %73, %74
  %76 = zext i1 %75 to i32
  %77 = sext i32 %76 to i64
  %78 = call i64 @llvm.expect.i64(i64 %77, i64 1)
  %79 = icmp ne i64 %78, 0
  br i1 %79, label %83, label %80

80:                                               ; preds = %68
  %81 = load ptr, ptr @stderr, align 8, !tbaa !5
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 353, ptr noundef @__func__.hashtable_verify, ptr noundef @.str.10) #4
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %155

83:                                               ; preds = %68
  br label %84

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %85, %51
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.hash_node, ptr %87, i32 0, i32 2
  %89 = load ptr, ptr %88, align 8, !tbaa !17
  %90 = icmp ne ptr %89, null
  br i1 %90, label %91, label %130

91:                                               ; preds = %86
  br label %92

92:                                               ; preds = %91
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.hash_node, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !17
  %96 = getelementptr inbounds %struct.hash_node, ptr %95, i32 0, i32 3
  %97 = load ptr, ptr %96, align 8, !tbaa !15
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = icmp eq ptr %97, %98
  %100 = zext i1 %99 to i32
  %101 = sext i32 %100 to i64
  %102 = call i64 @llvm.expect.i64(i64 %101, i64 1)
  %103 = icmp ne i64 %102, 0
  br i1 %103, label %107, label %104

104:                                              ; preds = %92
  %105 = load ptr, ptr @stderr, align 8, !tbaa !5
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 356, ptr noundef @__func__.hashtable_verify, ptr noundef @.str.11) #4
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %155

107:                                              ; preds = %92
  br label %108

108:                                              ; preds = %107
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.hash_node, ptr %111, i32 0, i32 4
  %113 = load i32, ptr %112, align 8, !tbaa !18
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.hash_node, ptr %114, i32 0, i32 2
  %116 = load ptr, ptr %115, align 8, !tbaa !17
  %117 = getelementptr inbounds %struct.hash_node, ptr %116, i32 0, i32 4
  %118 = load i32, ptr %117, align 8, !tbaa !18
  %119 = icmp ule i32 %113, %118
  %120 = zext i1 %119 to i32
  %121 = sext i32 %120 to i64
  %122 = call i64 @llvm.expect.i64(i64 %121, i64 1)
  %123 = icmp ne i64 %122, 0
  br i1 %123, label %127, label %124

124:                                              ; preds = %110
  %125 = load ptr, ptr @stderr, align 8, !tbaa !5
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 357, ptr noundef @__func__.hashtable_verify, ptr noundef @.str.12) #4
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %155

127:                                              ; preds = %110
  br label %128

128:                                              ; preds = %127
  br label %129

129:                                              ; preds = %128
  br label %130

130:                                              ; preds = %129, %86
  br label %131

131:                                              ; preds = %130
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.hash_node, ptr %132, i32 0, i32 4
  %134 = load i32, ptr %133, align 8, !tbaa !18
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.hashtable, ptr %135, i32 0, i32 4
  %137 = load i32, ptr %136, align 8, !tbaa !11
  %138 = urem i32 %134, %137
  %139 = load i32, ptr %4, align 4, !tbaa !9
  %140 = icmp eq i32 %138, %139
  %141 = zext i1 %140 to i32
  %142 = sext i32 %141 to i64
  %143 = call i64 @llvm.expect.i64(i64 %142, i64 1)
  %144 = icmp ne i64 %143, 0
  br i1 %144, label %148, label %145

145:                                              ; preds = %131
  %146 = load ptr, ptr @stderr, align 8, !tbaa !5
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %146, ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 359, ptr noundef @__func__.hashtable_verify, ptr noundef @.str.13) #4
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %155

148:                                              ; preds = %131
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.hash_node, ptr %152, i32 0, i32 2
  %154 = load ptr, ptr %153, align 8, !tbaa !17
  store ptr %154, ptr %6, align 8, !tbaa !5
  br label %22, !llvm.loop !19

155:                                              ; preds = %145, %124, %104, %80, %62, %46, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %156 = load i32, ptr %5, align 4
  switch i32 %156, label %161 [
    i32 5, label %157
  ]

157:                                              ; preds = %155
  br label %158

158:                                              ; preds = %157
  %159 = load i32, ptr %4, align 4, !tbaa !9
  %160 = add i32 %159, 1
  store i32 %160, ptr %4, align 4, !tbaa !9
  br label %7, !llvm.loop !21

161:                                              ; preds = %155, %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %162 = load i32, ptr %5, align 4
  switch i32 %162, label %166 [
    i32 2, label %163
    i32 1, label %164
  ]

163:                                              ; preds = %161
  store i1 true, ptr %2, align 1
  br label %164

164:                                              ; preds = %163, %161
  %165 = load i1, ptr %2, align 1
  ret i1 %165

166:                                              ; preds = %161
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!12, !10, i64 32}
!12 = !{!"hashtable", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !10, i64 32}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 0}
!15 = !{!16, !6, i64 24}
!16 = !{!"hash_node", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32}
!17 = !{!16, !6, i64 16}
!18 = !{!16, !10, i64 32}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [37 x i8], align 1
@__func__.hashtable_verify = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [30 x i8], align 1

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

; Function Attrs: nofree nounwind uwtable
define dso_local zeroext i1 @hashtable_verify(ptr nocapture noundef readonly %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 32
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = icmp eq i32 %3, 0
  br i1 %4, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %5 = load ptr, ptr %0, align 8, !tbaa !12
  %6 = zext i32 %3 to i64
  br label %7

7:                                                ; preds = %.lr.ph, %57
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %57 ]
  %8 = phi i1 [ false, %.lr.ph ], [ %58, %57 ]
  %9 = getelementptr inbounds ptr, ptr %5, i64 %indvars.iv
  %.0.pre = load ptr, ptr %9, align 8, !tbaa !13
  br label %10

10:                                               ; preds = %49, %7
  %.0 = phi ptr [ %.0.pre, %7 ], [ %33, %49 ]
  %.not = icmp eq ptr %.0, null
  br i1 %.not, label %57, label %11

11:                                               ; preds = %10
  %12 = icmp eq ptr %.0, %.0.pre
  %13 = getelementptr inbounds i8, ptr %.0, i64 24
  %14 = load ptr, ptr %13, align 8, !tbaa !14
  %15 = icmp eq ptr %14, null
  br i1 %12, label %16, label %20

16:                                               ; preds = %11
  br i1 %15, label %31, label %17, !prof !16

17:                                               ; preds = %16
  %18 = load ptr, ptr @stderr, align 8, !tbaa !13
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %18, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 350, ptr noundef nonnull @__func__.hashtable_verify, ptr noundef nonnull @.str.8) #2
  br label %.thread

20:                                               ; preds = %11
  br i1 %15, label %21, label %24, !prof !17

21:                                               ; preds = %20
  %22 = load ptr, ptr @stderr, align 8, !tbaa !13
  %23 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %22, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 352, ptr noundef nonnull @__func__.hashtable_verify, ptr noundef nonnull @.str.9) #2
  br label %.thread

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %14, i64 16
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %27 = icmp eq ptr %26, %.0
  br i1 %27, label %31, label %28, !prof !16

28:                                               ; preds = %24
  %29 = load ptr, ptr @stderr, align 8, !tbaa !13
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 353, ptr noundef nonnull @__func__.hashtable_verify, ptr noundef nonnull @.str.10) #2
  br label %.thread

31:                                               ; preds = %24, %16
  %32 = getelementptr inbounds i8, ptr %.0, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  %.not31 = icmp eq ptr %33, null
  br i1 %.not31, label %._crit_edge, label %34

._crit_edge:                                      ; preds = %31
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.0, i64 32
  %.pre = load i32, ptr %.phi.trans.insert, align 8, !tbaa !19
  br label %49

34:                                               ; preds = %31
  %35 = getelementptr inbounds i8, ptr %33, i64 24
  %36 = load ptr, ptr %35, align 8, !tbaa !14
  %37 = icmp eq ptr %36, %.0
  br i1 %37, label %41, label %38, !prof !16

38:                                               ; preds = %34
  %39 = load ptr, ptr @stderr, align 8, !tbaa !13
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 356, ptr noundef nonnull @__func__.hashtable_verify, ptr noundef nonnull @.str.11) #2
  br label %.thread

41:                                               ; preds = %34
  %42 = getelementptr inbounds i8, ptr %.0, i64 32
  %43 = load i32, ptr %42, align 8, !tbaa !19
  %44 = getelementptr inbounds i8, ptr %33, i64 32
  %45 = load i32, ptr %44, align 8, !tbaa !19
  %.not32 = icmp ugt i32 %43, %45
  br i1 %.not32, label %46, label %49, !prof !17

46:                                               ; preds = %41
  %47 = load ptr, ptr @stderr, align 8, !tbaa !13
  %48 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 357, ptr noundef nonnull @__func__.hashtable_verify, ptr noundef nonnull @.str.12) #2
  br label %.thread

49:                                               ; preds = %._crit_edge, %41
  %50 = phi i32 [ %.pre, %._crit_edge ], [ %43, %41 ]
  %51 = urem i32 %50, %3
  %52 = zext i32 %51 to i64
  %53 = icmp eq i64 %indvars.iv, %52
  br i1 %53, label %10, label %54, !prof !16, !llvm.loop !20

54:                                               ; preds = %49
  %55 = load ptr, ptr @stderr, align 8, !tbaa !13
  %56 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 359, ptr noundef nonnull @__func__.hashtable_verify, ptr noundef nonnull @.str.13) #2
  br label %.thread

57:                                               ; preds = %10
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %58 = icmp uge i64 %indvars.iv.next, %6
  %exitcond = icmp eq i64 %indvars.iv.next, %6
  br i1 %exitcond, label %.thread, label %7, !llvm.loop !22

.thread:                                          ; preds = %57, %1, %17, %21, %28, %38, %46, %54
  %59 = phi i1 [ %8, %17 ], [ %8, %21 ], [ %8, %28 ], [ %8, %38 ], [ %8, %46 ], [ %8, %54 ], [ true, %1 ], [ %58, %57 ]
  ret i1 %59
}

attributes #0 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { cold nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !11, i64 32}
!6 = !{!"hashtable", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 24}
!15 = !{!"hash_node", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!17 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!18 = !{!15, !7, i64 16}
!19 = !{!15, !11, i64 32}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass