; LLVM IR from ryanlayer/giggle :: test/unit (test_giggle)

; 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.cache_def = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.uint64_t_ll = type { i64, ptr, ptr }

@ORDER = external dso_local global i32, align 4
@cache = external dso_local global %struct.cache_def, align 8
@.str = external hidden unnamed_addr constant [25 x i8], align 1

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

declare ptr @simple_cache_init(i32 noundef, i32 noundef, ptr noundef) #1

declare void @uint64_t_ll_giggle_set_data_handler(...) #1

declare i32 @giggle_insert(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef) #1

declare void @UnityAssertEqualNumber(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) #1

declare void @UnityFail(ptr noundef, i64 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 @test_uint64_t_ll_giggle_search() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  store i32 7, ptr @ORDER, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #3
  %6 = call ptr @simple_cache_init(i32 noundef 5, i32 noundef 1, ptr noundef null)
  store ptr %6, ptr %1, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  store i32 0, ptr %2, align 4, !tbaa !5
  call void (...) @uint64_t_ll_giggle_set_data_handler()
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = call i32 @giggle_insert(i32 noundef %7, ptr noundef %3, i32 noundef 1, i32 noundef 10, i64 noundef 0)
  store i32 %8, ptr %4, align 4, !tbaa !5
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = call i32 @giggle_insert(i32 noundef %9, ptr noundef %3, i32 noundef 11, i32 noundef 13, i64 noundef 1)
  store i32 %10, ptr %4, align 4, !tbaa !5
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = call i32 @giggle_insert(i32 noundef %11, ptr noundef %3, i32 noundef 2, i32 noundef 4, i64 noundef 2)
  store i32 %12, ptr %4, align 4, !tbaa !5
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = call i32 @giggle_insert(i32 noundef %13, ptr noundef %3, i32 noundef 5, i32 noundef 8, i64 noundef 3)
  store i32 %14, ptr %4, align 4, !tbaa !5
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = call i32 @giggle_insert(i32 noundef %15, ptr noundef %3, i32 noundef 3, i32 noundef 6, i64 noundef 4)
  store i32 %16, ptr %4, align 4, !tbaa !5
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = call i32 @giggle_insert(i32 noundef %17, ptr noundef %3, i32 noundef 7, i32 noundef 9, i64 noundef 5)
  store i32 %18, ptr %4, align 4, !tbaa !5
  %19 = load i32, ptr %2, align 4, !tbaa !5
  %20 = call i32 @giggle_insert(i32 noundef %19, ptr noundef %3, i32 noundef 7, i32 noundef 12, i64 noundef 6)
  store i32 %20, ptr %4, align 4, !tbaa !5
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = call i32 @giggle_insert(i32 noundef %21, ptr noundef %3, i32 noundef 11, i32 noundef 18, i64 noundef 7)
  store i32 %22, ptr %4, align 4, !tbaa !5
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = call i32 @giggle_insert(i32 noundef %23, ptr noundef %3, i32 noundef 1, i32 noundef 17, i64 noundef 8)
  store i32 %24, ptr %4, align 4, !tbaa !5
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = call i32 @giggle_insert(i32 noundef %25, ptr noundef %3, i32 noundef 15, i32 noundef 18, i64 noundef 9)
  store i32 %26, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = call ptr @giggle_search(i32 noundef %27, i32 noundef %28, i32 noundef 2, i32 noundef 5)
  store ptr %29, ptr %5, align 8, !tbaa !9
  %30 = load ptr, ptr %5, align 8, !tbaa !9
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %33

32:                                               ; preds = %0
  br label %34

33:                                               ; preds = %0
  call void @UnityFail(ptr noundef @.str, i64 noundef 730)
  br label %34

34:                                               ; preds = %33, %32
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.uint64_t_ll, ptr %35, i32 0, i32 0
  %37 = load i64, ptr %36, align 8, !tbaa !11
  call void @UnityAssertEqualNumber(i64 noundef 5, i64 noundef %37, ptr noundef null, i64 noundef 731, i32 noundef 148)
  %38 = load ptr, ptr %5, align 8, !tbaa !9
  %39 = call i64 @uint64_t_ll_contains(ptr noundef %38, i64 noundef 0)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %39, ptr noundef null, i64 noundef 732, i32 noundef 148)
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  %41 = call i64 @uint64_t_ll_contains(ptr noundef %40, i64 noundef 2)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %41, ptr noundef null, i64 noundef 733, i32 noundef 148)
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = call i64 @uint64_t_ll_contains(ptr noundef %42, i64 noundef 4)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %43, ptr noundef null, i64 noundef 734, i32 noundef 148)
  %44 = load ptr, ptr %5, align 8, !tbaa !9
  %45 = call i64 @uint64_t_ll_contains(ptr noundef %44, i64 noundef 3)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %45, ptr noundef null, i64 noundef 735, i32 noundef 148)
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = call i64 @uint64_t_ll_contains(ptr noundef %46, i64 noundef 8)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %47, ptr noundef null, i64 noundef 736, i32 noundef 148)
  call void @uint64_t_ll_free(ptr noundef %5)
  store ptr null, ptr %5, align 8, !tbaa !9
  %48 = load i32, ptr %2, align 4, !tbaa !5
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = call ptr @giggle_search(i32 noundef %48, i32 noundef %49, i32 noundef 5, i32 noundef 15)
  store ptr %50, ptr %5, align 8, !tbaa !9
  %51 = load ptr, ptr %5, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.uint64_t_ll, ptr %51, i32 0, i32 0
  %53 = load i64, ptr %52, align 8, !tbaa !11
  call void @UnityAssertEqualNumber(i64 noundef 9, i64 noundef %53, ptr noundef null, i64 noundef 742, i32 noundef 148)
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = call i64 @uint64_t_ll_contains(ptr noundef %54, i64 noundef 0)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %55, ptr noundef null, i64 noundef 743, i32 noundef 148)
  %56 = load ptr, ptr %5, align 8, !tbaa !9
  %57 = call i64 @uint64_t_ll_contains(ptr noundef %56, i64 noundef 1)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %57, ptr noundef null, i64 noundef 744, i32 noundef 148)
  %58 = load ptr, ptr %5, align 8, !tbaa !9
  %59 = call i64 @uint64_t_ll_contains(ptr noundef %58, i64 noundef 3)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %59, ptr noundef null, i64 noundef 745, i32 noundef 148)
  %60 = load ptr, ptr %5, align 8, !tbaa !9
  %61 = call i64 @uint64_t_ll_contains(ptr noundef %60, i64 noundef 4)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %61, ptr noundef null, i64 noundef 746, i32 noundef 148)
  %62 = load ptr, ptr %5, align 8, !tbaa !9
  %63 = call i64 @uint64_t_ll_contains(ptr noundef %62, i64 noundef 5)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %63, ptr noundef null, i64 noundef 747, i32 noundef 148)
  %64 = load ptr, ptr %5, align 8, !tbaa !9
  %65 = call i64 @uint64_t_ll_contains(ptr noundef %64, i64 noundef 6)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %65, ptr noundef null, i64 noundef 748, i32 noundef 148)
  %66 = load ptr, ptr %5, align 8, !tbaa !9
  %67 = call i64 @uint64_t_ll_contains(ptr noundef %66, i64 noundef 7)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %67, ptr noundef null, i64 noundef 749, i32 noundef 148)
  %68 = load ptr, ptr %5, align 8, !tbaa !9
  %69 = call i64 @uint64_t_ll_contains(ptr noundef %68, i64 noundef 8)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %69, ptr noundef null, i64 noundef 750, i32 noundef 148)
  %70 = load ptr, ptr %5, align 8, !tbaa !9
  %71 = call i64 @uint64_t_ll_contains(ptr noundef %70, i64 noundef 9)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %71, ptr noundef null, i64 noundef 751, i32 noundef 148)
  call void @uint64_t_ll_free(ptr noundef %5)
  store ptr null, ptr %5, align 8, !tbaa !9
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = load i32, ptr %3, align 4, !tbaa !5
  %74 = call ptr @giggle_search(i32 noundef %72, i32 noundef %73, i32 noundef 19, i32 noundef 20)
  store ptr %74, ptr %5, align 8, !tbaa !9
  %75 = load ptr, ptr %5, align 8, !tbaa !9
  %76 = ptrtoint ptr %75 to i64
  call void @UnityAssertEqualNumber(i64 noundef 0, i64 noundef %76, ptr noundef null, i64 noundef 757, i32 noundef 148)
  call void @uint64_t_ll_free(ptr noundef %5)
  store ptr null, ptr %5, align 8, !tbaa !9
  %77 = load i32, ptr %2, align 4, !tbaa !5
  %78 = load i32, ptr %3, align 4, !tbaa !5
  %79 = call ptr @giggle_search(i32 noundef %77, i32 noundef %78, i32 noundef 18, i32 noundef 20)
  store ptr %79, ptr %5, align 8, !tbaa !9
  %80 = load ptr, ptr %5, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.uint64_t_ll, ptr %80, i32 0, i32 0
  %82 = load i64, ptr %81, align 8, !tbaa !11
  call void @UnityAssertEqualNumber(i64 noundef 2, i64 noundef %82, ptr noundef null, i64 noundef 763, i32 noundef 148)
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  %84 = call i64 @uint64_t_ll_contains(ptr noundef %83, i64 noundef 9)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %84, ptr noundef null, i64 noundef 764, i32 noundef 148)
  %85 = load ptr, ptr %5, align 8, !tbaa !9
  %86 = call i64 @uint64_t_ll_contains(ptr noundef %85, i64 noundef 7)
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %86, ptr noundef null, i64 noundef 765, i32 noundef 148)
  call void @uint64_t_ll_free(ptr noundef %5)
  store ptr null, ptr %5, align 8, !tbaa !9
  %87 = load ptr, ptr getelementptr inbounds (%struct.cache_def, ptr @cache, i32 0, i32 6), align 8, !tbaa !14
  call void (...) %87()
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  ret void
}

declare ptr @giggle_search(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare i64 @uint64_t_ll_contains(ptr noundef, i64 noundef) #1

declare void @uint64_t_ll_free(ptr noundef) #1

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


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

@ORDER = external dso_local local_unnamed_addr global i32, align 4
@cache = external dso_local local_unnamed_addr global %struct.cache_def, align 8
@.str = external hidden unnamed_addr constant [25 x i8], align 1

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

declare ptr @simple_cache_init(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @uint64_t_ll_giggle_set_data_handler(...) local_unnamed_addr #1

declare i32 @giggle_insert(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare void @UnityAssertEqualNumber(i64 noundef, i64 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

declare void @UnityFail(ptr noundef, i64 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 @test_uint64_t_ll_giggle_search() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  store i32 7, ptr @ORDER, align 4, !tbaa !5
  %3 = tail call ptr @simple_cache_init(i32 noundef 5, i32 noundef 1, ptr noundef null) #3
  tail call void (...) @uint64_t_ll_giggle_set_data_handler() #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
  store i32 0, ptr %1, align 4, !tbaa !5
  %4 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 1, i32 noundef 10, i64 noundef 0) #3
  %5 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 11, i32 noundef 13, i64 noundef 1) #3
  %6 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 2, i32 noundef 4, i64 noundef 2) #3
  %7 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 5, i32 noundef 8, i64 noundef 3) #3
  %8 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 3, i32 noundef 6, i64 noundef 4) #3
  %9 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 7, i32 noundef 9, i64 noundef 5) #3
  %10 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 7, i32 noundef 12, i64 noundef 6) #3
  %11 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 11, i32 noundef 18, i64 noundef 7) #3
  %12 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 1, i32 noundef 17, i64 noundef 8) #3
  %13 = call i32 @giggle_insert(i32 noundef 0, ptr noundef nonnull %1, i32 noundef 15, i32 noundef 18, i64 noundef 9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = call ptr @giggle_search(i32 noundef 0, i32 noundef %14, i32 noundef 2, i32 noundef 5) #3
  store ptr %15, ptr %2, align 8, !tbaa !9
  %.not = icmp eq ptr %15, null
  br i1 %.not, label %16, label %17

16:                                               ; preds = %0
  call void @UnityFail(ptr noundef nonnull @.str, i64 noundef 730) #3
  br label %17

17:                                               ; preds = %0, %16
  %18 = load i64, ptr %15, align 8, !tbaa !11
  call void @UnityAssertEqualNumber(i64 noundef 5, i64 noundef %18, ptr noundef null, i64 noundef 731, i32 noundef 148) #3
  %19 = call i64 @uint64_t_ll_contains(ptr noundef nonnull %15, i64 noundef 0) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %19, ptr noundef null, i64 noundef 732, i32 noundef 148) #3
  %20 = call i64 @uint64_t_ll_contains(ptr noundef nonnull %15, i64 noundef 2) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %20, ptr noundef null, i64 noundef 733, i32 noundef 148) #3
  %21 = call i64 @uint64_t_ll_contains(ptr noundef nonnull %15, i64 noundef 4) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %21, ptr noundef null, i64 noundef 734, i32 noundef 148) #3
  %22 = call i64 @uint64_t_ll_contains(ptr noundef nonnull %15, i64 noundef 3) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %22, ptr noundef null, i64 noundef 735, i32 noundef 148) #3
  %23 = call i64 @uint64_t_ll_contains(ptr noundef nonnull %15, i64 noundef 8) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %23, ptr noundef null, i64 noundef 736, i32 noundef 148) #3
  call void @uint64_t_ll_free(ptr noundef nonnull %2) #3
  store ptr null, ptr %2, align 8, !tbaa !9
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = call ptr @giggle_search(i32 noundef 0, i32 noundef %24, i32 noundef 5, i32 noundef 15) #3
  store ptr %25, ptr %2, align 8, !tbaa !9
  %26 = load i64, ptr %25, align 8, !tbaa !11
  call void @UnityAssertEqualNumber(i64 noundef 9, i64 noundef %26, ptr noundef null, i64 noundef 742, i32 noundef 148) #3
  %27 = load ptr, ptr %2, align 8, !tbaa !9
  %28 = call i64 @uint64_t_ll_contains(ptr noundef %27, i64 noundef 0) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %28, ptr noundef null, i64 noundef 743, i32 noundef 148) #3
  %29 = load ptr, ptr %2, align 8, !tbaa !9
  %30 = call i64 @uint64_t_ll_contains(ptr noundef %29, i64 noundef 1) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %30, ptr noundef null, i64 noundef 744, i32 noundef 148) #3
  %31 = load ptr, ptr %2, align 8, !tbaa !9
  %32 = call i64 @uint64_t_ll_contains(ptr noundef %31, i64 noundef 3) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %32, ptr noundef null, i64 noundef 745, i32 noundef 148) #3
  %33 = load ptr, ptr %2, align 8, !tbaa !9
  %34 = call i64 @uint64_t_ll_contains(ptr noundef %33, i64 noundef 4) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %34, ptr noundef null, i64 noundef 746, i32 noundef 148) #3
  %35 = load ptr, ptr %2, align 8, !tbaa !9
  %36 = call i64 @uint64_t_ll_contains(ptr noundef %35, i64 noundef 5) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %36, ptr noundef null, i64 noundef 747, i32 noundef 148) #3
  %37 = load ptr, ptr %2, align 8, !tbaa !9
  %38 = call i64 @uint64_t_ll_contains(ptr noundef %37, i64 noundef 6) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %38, ptr noundef null, i64 noundef 748, i32 noundef 148) #3
  %39 = load ptr, ptr %2, align 8, !tbaa !9
  %40 = call i64 @uint64_t_ll_contains(ptr noundef %39, i64 noundef 7) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %40, ptr noundef null, i64 noundef 749, i32 noundef 148) #3
  %41 = load ptr, ptr %2, align 8, !tbaa !9
  %42 = call i64 @uint64_t_ll_contains(ptr noundef %41, i64 noundef 8) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %42, ptr noundef null, i64 noundef 750, i32 noundef 148) #3
  %43 = load ptr, ptr %2, align 8, !tbaa !9
  %44 = call i64 @uint64_t_ll_contains(ptr noundef %43, i64 noundef 9) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %44, ptr noundef null, i64 noundef 751, i32 noundef 148) #3
  call void @uint64_t_ll_free(ptr noundef nonnull %2) #3
  store ptr null, ptr %2, align 8, !tbaa !9
  %45 = load i32, ptr %1, align 4, !tbaa !5
  %46 = call ptr @giggle_search(i32 noundef 0, i32 noundef %45, i32 noundef 19, i32 noundef 20) #3
  store ptr %46, ptr %2, align 8, !tbaa !9
  %47 = ptrtoint ptr %46 to i64
  call void @UnityAssertEqualNumber(i64 noundef 0, i64 noundef %47, ptr noundef null, i64 noundef 757, i32 noundef 148) #3
  call void @uint64_t_ll_free(ptr noundef nonnull %2) #3
  store ptr null, ptr %2, align 8, !tbaa !9
  %48 = load i32, ptr %1, align 4, !tbaa !5
  %49 = call ptr @giggle_search(i32 noundef 0, i32 noundef %48, i32 noundef 18, i32 noundef 20) #3
  store ptr %49, ptr %2, align 8, !tbaa !9
  %50 = load i64, ptr %49, align 8, !tbaa !11
  call void @UnityAssertEqualNumber(i64 noundef 2, i64 noundef %50, ptr noundef null, i64 noundef 763, i32 noundef 148) #3
  %51 = load ptr, ptr %2, align 8, !tbaa !9
  %52 = call i64 @uint64_t_ll_contains(ptr noundef %51, i64 noundef 9) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %52, ptr noundef null, i64 noundef 764, i32 noundef 148) #3
  %53 = load ptr, ptr %2, align 8, !tbaa !9
  %54 = call i64 @uint64_t_ll_contains(ptr noundef %53, i64 noundef 7) #3
  call void @UnityAssertEqualNumber(i64 noundef 1, i64 noundef %54, ptr noundef null, i64 noundef 765, i32 noundef 148) #3
  call void @uint64_t_ll_free(ptr noundef nonnull %2) #3
  store ptr null, ptr %2, align 8, !tbaa !9
  %55 = load ptr, ptr getelementptr inbounds (i8, ptr @cache, i64 48), align 8, !tbaa !14
  call void (...) %55() #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
  ret void
}

declare ptr @giggle_search(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i64 @uint64_t_ll_contains(ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @uint64_t_ll_free(ptr noundef) local_unnamed_addr #1

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


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