; LLVM IR from begeekmyfriend/CuckooFilter :: cuckoo_filter (cuckoo_filter_put)

; 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.hash_table = type { ptr, ptr, i32, i32 }

@hash_table = external hidden global %struct.hash_table, align 8
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@nvrom_base_addr = external hidden global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.cuckoo_filter_put = external hidden unnamed_addr constant [45 x i8], align 1
@log_entries = external hidden global i32, align 4

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @cuckoo_filter_put(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %108

14:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = call i32 @cuckoo_hash_get(ptr noundef @hash_table, ptr noundef %15, ptr noundef null)
  store i32 %16, ptr %5, align 4, !tbaa !9
  %17 = load i32, ptr %5, align 4, !tbaa !9
  %18 = icmp eq i32 %17, 1
  br i1 %18, label %19, label %20

19:                                               ; preds = %14
  store i32 1, ptr %6, align 4
  br label %105

20:                                               ; preds = %14
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = icmp eq i32 %21, 2
  br i1 %22, label %23, label %25

23:                                               ; preds = %20
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  call void @cuckoo_hash_recover(ptr noundef @hash_table, ptr noundef %24)
  br label %103

25:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %26 = call i32 @next_entry_offset()
  store i32 %26, ptr %7, align 4, !tbaa !9
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = call i32 @cuckoo_hash_put(ptr noundef @hash_table, ptr noundef %27, ptr noundef %7)
  %29 = icmp eq i32 %28, -1
  br i1 %29, label %30, label %33

30:                                               ; preds = %25
  call void @cuckoo_rehash(ptr noundef @hash_table)
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = call i32 @cuckoo_hash_put(ptr noundef @hash_table, ptr noundef %31, ptr noundef %7)
  br label %33

33:                                               ; preds = %30, %25
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = icmp eq i32 %34, -1
  br i1 %35, label %36, label %39

36:                                               ; preds = %33
  %37 = load ptr, ptr @stderr, align 8, !tbaa !5
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef @.str) #4
  store i32 1, ptr %6, align 4
  br label %100

39:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %40 = load ptr, ptr @nvrom_base_addr, align 8, !tbaa !5
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds i8, ptr %40, i64 %42
  store ptr %43, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = ptrtoint ptr %44 to i64
  %46 = and i64 %45, 31
  %47 = icmp ne i64 %46, 0
  br i1 %47, label %49, label %48

48:                                               ; preds = %39
  br label %50

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

50:                                               ; preds = %48
  br label %51

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %52, ptr %11, align 8, !tbaa !5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %60, %51
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = icmp ult i32 %54, 32
  br i1 %55, label %56, label %63

56:                                               ; preds = %53
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  store volatile i8 -1, ptr %57, align 1, !tbaa !11
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i32 1
  store ptr %59, ptr %11, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %56
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = add i32 %61, 1
  store i32 %62, ptr %10, align 4, !tbaa !9
  br label %53, !llvm.loop !12

63:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %78, %65
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = icmp slt i32 %67, 20
  br i1 %68, label %69, label %81

69:                                               ; preds = %66
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds i8, ptr %70, i64 %72
  %74 = load i8, ptr %73, align 1, !tbaa !11
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  store volatile i8 %74, ptr %75, align 1, !tbaa !11
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i32 1
  store ptr %77, ptr %9, align 8, !tbaa !5
  br label %78

78:                                               ; preds = %69
  %79 = load i32, ptr %8, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %8, align 4, !tbaa !9
  br label %66, !llvm.loop !14

81:                                               ; preds = %66
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %82

82:                                               ; preds = %94, %81
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = icmp slt i32 %83, 12
  br i1 %84, label %85, label %97

85:                                               ; preds = %82
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds i8, ptr %86, i64 %88
  %90 = load i8, ptr %89, align 1, !tbaa !11
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  store volatile i8 %90, ptr %91, align 1, !tbaa !11
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i32 1
  store ptr %93, ptr %9, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %85
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %8, align 4, !tbaa !9
  br label %82, !llvm.loop !15

97:                                               ; preds = %82
  %98 = load i32, ptr @log_entries, align 4, !tbaa !9
  %99 = add i32 %98, 1
  store i32 %99, ptr @log_entries, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  store i32 0, ptr %6, align 4
  br label %100

100:                                              ; preds = %97, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %101 = load i32, ptr %6, align 4
  switch i32 %101, label %105 [
    i32 0, label %102
  ]

102:                                              ; preds = %100
  br label %103

103:                                              ; preds = %102, %23
  br label %104

104:                                              ; preds = %103
  store i32 0, ptr %6, align 4
  br label %105

105:                                              ; preds = %104, %100, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %106 = load i32, ptr %6, align 4
  switch i32 %106, label %111 [
    i32 0, label %107
    i32 1, label %110
  ]

107:                                              ; preds = %105
  br label %110

108:                                              ; preds = %2
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  call void @cuckoo_hash_delete(ptr noundef @hash_table, ptr noundef %109)
  br label %110

110:                                              ; preds = %108, %107, %105
  ret void

111:                                              ; preds = %105
  unreachable
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @next_entry_offset() #1

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

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

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

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

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

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


; 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.hash_table = type { ptr, ptr, i32, i32 }

@hash_table = external hidden global %struct.hash_table, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [22 x i8], align 1
@nvrom_base_addr = external hidden local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__.cuckoo_filter_put = external hidden unnamed_addr constant [45 x i8], align 1
@log_entries = external hidden local_unnamed_addr global i32, align 4

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @cuckoo_filter_put(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #1 {
  %3 = alloca i32, align 4
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %121, label %4

4:                                                ; preds = %2
  %5 = tail call i32 @cuckoo_hash_get(ptr noundef nonnull @hash_table, ptr noundef %0, ptr noundef null)
  switch i32 %5, label %7 [
    i32 1, label %122
    i32 2, label %6
  ]

6:                                                ; preds = %4
  tail call void @cuckoo_hash_recover(ptr noundef nonnull @hash_table, ptr noundef %0)
  br label %122

7:                                                ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %8 = tail call i32 @next_entry_offset()
  store i32 %8, ptr %3, align 4, !tbaa !5
  %9 = call i32 @cuckoo_hash_put(ptr noundef nonnull @hash_table, ptr noundef %0, ptr noundef nonnull %3)
  %10 = icmp eq i32 %9, -1
  br i1 %10, label %11, label %13

11:                                               ; preds = %7
  call void @cuckoo_rehash(ptr noundef nonnull @hash_table)
  %12 = call i32 @cuckoo_hash_put(ptr noundef nonnull @hash_table, ptr noundef %0, ptr noundef nonnull %3)
  br label %13

13:                                               ; preds = %11, %7
  %14 = load i32, ptr %3, align 4, !tbaa !5
  %.not35 = icmp eq i32 %14, -1
  br i1 %.not35, label %15, label %18

15:                                               ; preds = %13
  %16 = load ptr, ptr @stderr, align 8, !tbaa !9
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str) #5
  br label %120

18:                                               ; preds = %13
  %19 = load ptr, ptr @nvrom_base_addr, align 8, !tbaa !9
  %20 = zext i32 %14 to i64
  %21 = getelementptr inbounds i8, ptr %19, i64 %20
  %22 = ptrtoint ptr %21 to i64
  %23 = and i64 %22, 31
  %.not34 = icmp eq i64 %23, 0
  br i1 %.not34, label %.preheader37.preheader, label %119

.preheader37.preheader:                           ; preds = %18
  store volatile i8 -1, ptr %21, align 1, !tbaa !11
  %24 = getelementptr inbounds i8, ptr %21, i64 1
  store volatile i8 -1, ptr %24, align 1, !tbaa !11
  %25 = getelementptr inbounds i8, ptr %21, i64 2
  store volatile i8 -1, ptr %25, align 1, !tbaa !11
  %26 = getelementptr inbounds i8, ptr %21, i64 3
  store volatile i8 -1, ptr %26, align 1, !tbaa !11
  %27 = getelementptr inbounds i8, ptr %21, i64 4
  store volatile i8 -1, ptr %27, align 1, !tbaa !11
  %28 = getelementptr inbounds i8, ptr %21, i64 5
  store volatile i8 -1, ptr %28, align 1, !tbaa !11
  %29 = getelementptr inbounds i8, ptr %21, i64 6
  store volatile i8 -1, ptr %29, align 1, !tbaa !11
  %30 = getelementptr inbounds i8, ptr %21, i64 7
  store volatile i8 -1, ptr %30, align 1, !tbaa !11
  %31 = getelementptr inbounds i8, ptr %21, i64 8
  store volatile i8 -1, ptr %31, align 1, !tbaa !11
  %32 = getelementptr inbounds i8, ptr %21, i64 9
  store volatile i8 -1, ptr %32, align 1, !tbaa !11
  %33 = getelementptr inbounds i8, ptr %21, i64 10
  store volatile i8 -1, ptr %33, align 1, !tbaa !11
  %34 = getelementptr inbounds i8, ptr %21, i64 11
  store volatile i8 -1, ptr %34, align 1, !tbaa !11
  %35 = getelementptr inbounds i8, ptr %21, i64 12
  store volatile i8 -1, ptr %35, align 1, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %21, i64 13
  store volatile i8 -1, ptr %36, align 1, !tbaa !11
  %37 = getelementptr inbounds i8, ptr %21, i64 14
  store volatile i8 -1, ptr %37, align 1, !tbaa !11
  %38 = getelementptr inbounds i8, ptr %21, i64 15
  store volatile i8 -1, ptr %38, align 1, !tbaa !11
  %39 = getelementptr inbounds i8, ptr %21, i64 16
  store volatile i8 -1, ptr %39, align 1, !tbaa !11
  %40 = getelementptr inbounds i8, ptr %21, i64 17
  store volatile i8 -1, ptr %40, align 1, !tbaa !11
  %41 = getelementptr inbounds i8, ptr %21, i64 18
  store volatile i8 -1, ptr %41, align 1, !tbaa !11
  %42 = getelementptr inbounds i8, ptr %21, i64 19
  store volatile i8 -1, ptr %42, align 1, !tbaa !11
  %43 = getelementptr inbounds i8, ptr %21, i64 20
  store volatile i8 -1, ptr %43, align 1, !tbaa !11
  %44 = getelementptr inbounds i8, ptr %21, i64 21
  store volatile i8 -1, ptr %44, align 1, !tbaa !11
  %45 = getelementptr inbounds i8, ptr %21, i64 22
  store volatile i8 -1, ptr %45, align 1, !tbaa !11
  %46 = getelementptr inbounds i8, ptr %21, i64 23
  store volatile i8 -1, ptr %46, align 1, !tbaa !11
  %47 = getelementptr inbounds i8, ptr %21, i64 24
  store volatile i8 -1, ptr %47, align 1, !tbaa !11
  %48 = getelementptr inbounds i8, ptr %21, i64 25
  store volatile i8 -1, ptr %48, align 1, !tbaa !11
  %49 = getelementptr inbounds i8, ptr %21, i64 26
  store volatile i8 -1, ptr %49, align 1, !tbaa !11
  %50 = getelementptr inbounds i8, ptr %21, i64 27
  store volatile i8 -1, ptr %50, align 1, !tbaa !11
  %51 = getelementptr inbounds i8, ptr %21, i64 28
  store volatile i8 -1, ptr %51, align 1, !tbaa !11
  %52 = getelementptr inbounds i8, ptr %21, i64 29
  store volatile i8 -1, ptr %52, align 1, !tbaa !11
  %53 = getelementptr inbounds i8, ptr %21, i64 30
  store volatile i8 -1, ptr %53, align 1, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %21, i64 31
  store volatile i8 -1, ptr %54, align 1, !tbaa !11
  %55 = load i8, ptr %0, align 1, !tbaa !11
  store volatile i8 %55, ptr %21, align 1, !tbaa !11
  %56 = getelementptr inbounds i8, ptr %0, i64 1
  %57 = load i8, ptr %56, align 1, !tbaa !11
  store volatile i8 %57, ptr %24, align 1, !tbaa !11
  %58 = getelementptr inbounds i8, ptr %0, i64 2
  %59 = load i8, ptr %58, align 1, !tbaa !11
  store volatile i8 %59, ptr %25, align 1, !tbaa !11
  %60 = getelementptr inbounds i8, ptr %0, i64 3
  %61 = load i8, ptr %60, align 1, !tbaa !11
  store volatile i8 %61, ptr %26, align 1, !tbaa !11
  %62 = getelementptr inbounds i8, ptr %0, i64 4
  %63 = load i8, ptr %62, align 1, !tbaa !11
  store volatile i8 %63, ptr %27, align 1, !tbaa !11
  %64 = getelementptr inbounds i8, ptr %0, i64 5
  %65 = load i8, ptr %64, align 1, !tbaa !11
  store volatile i8 %65, ptr %28, align 1, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %0, i64 6
  %67 = load i8, ptr %66, align 1, !tbaa !11
  store volatile i8 %67, ptr %29, align 1, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %0, i64 7
  %69 = load i8, ptr %68, align 1, !tbaa !11
  store volatile i8 %69, ptr %30, align 1, !tbaa !11
  %70 = getelementptr inbounds i8, ptr %0, i64 8
  %71 = load i8, ptr %70, align 1, !tbaa !11
  store volatile i8 %71, ptr %31, align 1, !tbaa !11
  %72 = getelementptr inbounds i8, ptr %0, i64 9
  %73 = load i8, ptr %72, align 1, !tbaa !11
  store volatile i8 %73, ptr %32, align 1, !tbaa !11
  %74 = getelementptr inbounds i8, ptr %0, i64 10
  %75 = load i8, ptr %74, align 1, !tbaa !11
  store volatile i8 %75, ptr %33, align 1, !tbaa !11
  %76 = getelementptr inbounds i8, ptr %0, i64 11
  %77 = load i8, ptr %76, align 1, !tbaa !11
  store volatile i8 %77, ptr %34, align 1, !tbaa !11
  %78 = getelementptr inbounds i8, ptr %0, i64 12
  %79 = load i8, ptr %78, align 1, !tbaa !11
  store volatile i8 %79, ptr %35, align 1, !tbaa !11
  %80 = getelementptr inbounds i8, ptr %0, i64 13
  %81 = load i8, ptr %80, align 1, !tbaa !11
  store volatile i8 %81, ptr %36, align 1, !tbaa !11
  %82 = getelementptr inbounds i8, ptr %0, i64 14
  %83 = load i8, ptr %82, align 1, !tbaa !11
  store volatile i8 %83, ptr %37, align 1, !tbaa !11
  %84 = getelementptr inbounds i8, ptr %0, i64 15
  %85 = load i8, ptr %84, align 1, !tbaa !11
  store volatile i8 %85, ptr %38, align 1, !tbaa !11
  %86 = getelementptr inbounds i8, ptr %0, i64 16
  %87 = load i8, ptr %86, align 1, !tbaa !11
  store volatile i8 %87, ptr %39, align 1, !tbaa !11
  %88 = getelementptr inbounds i8, ptr %0, i64 17
  %89 = load i8, ptr %88, align 1, !tbaa !11
  store volatile i8 %89, ptr %40, align 1, !tbaa !11
  %90 = getelementptr inbounds i8, ptr %0, i64 18
  %91 = load i8, ptr %90, align 1, !tbaa !11
  store volatile i8 %91, ptr %41, align 1, !tbaa !11
  %92 = getelementptr inbounds i8, ptr %0, i64 19
  %93 = load i8, ptr %92, align 1, !tbaa !11
  store volatile i8 %93, ptr %42, align 1, !tbaa !11
  %94 = load i8, ptr %1, align 1, !tbaa !11
  store volatile i8 %94, ptr %43, align 1, !tbaa !11
  %95 = getelementptr inbounds i8, ptr %1, i64 1
  %96 = load i8, ptr %95, align 1, !tbaa !11
  store volatile i8 %96, ptr %44, align 1, !tbaa !11
  %97 = getelementptr inbounds i8, ptr %1, i64 2
  %98 = load i8, ptr %97, align 1, !tbaa !11
  store volatile i8 %98, ptr %45, align 1, !tbaa !11
  %99 = getelementptr inbounds i8, ptr %1, i64 3
  %100 = load i8, ptr %99, align 1, !tbaa !11
  store volatile i8 %100, ptr %46, align 1, !tbaa !11
  %101 = getelementptr inbounds i8, ptr %1, i64 4
  %102 = load i8, ptr %101, align 1, !tbaa !11
  store volatile i8 %102, ptr %47, align 1, !tbaa !11
  %103 = getelementptr inbounds i8, ptr %1, i64 5
  %104 = load i8, ptr %103, align 1, !tbaa !11
  store volatile i8 %104, ptr %48, align 1, !tbaa !11
  %105 = getelementptr inbounds i8, ptr %1, i64 6
  %106 = load i8, ptr %105, align 1, !tbaa !11
  store volatile i8 %106, ptr %49, align 1, !tbaa !11
  %107 = getelementptr inbounds i8, ptr %1, i64 7
  %108 = load i8, ptr %107, align 1, !tbaa !11
  store volatile i8 %108, ptr %50, align 1, !tbaa !11
  %109 = getelementptr inbounds i8, ptr %1, i64 8
  %110 = load i8, ptr %109, align 1, !tbaa !11
  store volatile i8 %110, ptr %51, align 1, !tbaa !11
  %111 = getelementptr inbounds i8, ptr %1, i64 9
  %112 = load i8, ptr %111, align 1, !tbaa !11
  store volatile i8 %112, ptr %52, align 1, !tbaa !11
  %113 = getelementptr inbounds i8, ptr %1, i64 10
  %114 = load i8, ptr %113, align 1, !tbaa !11
  store volatile i8 %114, ptr %53, align 1, !tbaa !11
  %115 = getelementptr inbounds i8, ptr %1, i64 11
  %116 = load i8, ptr %115, align 1, !tbaa !11
  store volatile i8 %116, ptr %54, align 1, !tbaa !11
  %117 = load i32, ptr @log_entries, align 4, !tbaa !5
  %118 = add i32 %117, 1
  store i32 %118, ptr @log_entries, align 4, !tbaa !5
  br label %120

119:                                              ; preds = %18
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 414, ptr noundef nonnull @__PRETTY_FUNCTION__.cuckoo_filter_put) #6
  unreachable

120:                                              ; preds = %.preheader37.preheader, %15
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  br label %122

121:                                              ; preds = %2
  tail call void @cuckoo_hash_delete(ptr noundef nonnull @hash_table, ptr noundef %0)
  br label %122

122:                                              ; preds = %120, %4, %6, %121
  ret void
}

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

; Function Attrs: nounwind uwtable
declare hidden i32 @next_entry_offset() local_unnamed_addr #1

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

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

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

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

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

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


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