; LLVM IR from pmwkaa/monotone :: monotone/engine/storage (storage_mgr)

; 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.Runtime = type { %struct.ExceptionMgr, %struct.Error, ptr }
%struct.ExceptionMgr = type { ptr }
%struct.Error = type { [256 x i8], i32, ptr, ptr, i32, ptr, ptr }
%struct.Storage = type { %struct.List, i32, i32, i64, i64, ptr, ptr, %struct.List }
%struct.List = type { ptr, ptr }
%struct.StorageMgr = type { %struct.List, i32, ptr }

@mn_runtime = external thread_local global %struct.Runtime, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [87 x i8], align 1
@__func__.storage_mgr_drop = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__.storage_mgr_drop = external hidden unnamed_addr constant [50 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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @storage_free(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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @storage_mgr_find(ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint noreturn nounwind uwtable
declare hidden void @error_throw_as(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #4

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @str_of(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @storage_mgr_drop(ptr noundef %0, ptr noundef %1, i1 noundef zeroext %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %9 = zext i1 %2 to i8
  store i8 %9, ptr %6, align 1, !tbaa !9
  %10 = load ptr, ptr %5, align 8, !tbaa !5
  %11 = call zeroext i1 @str_compare_raw(ptr noundef %10, ptr noundef @.str, i32 noundef 4)
  %12 = xor i1 %11, true
  %13 = xor i1 %12, true
  %14 = zext i1 %13 to i32
  %15 = sext i32 %14 to i64
  %16 = call i64 @llvm.expect.i64(i64 %15, i64 0)
  %17 = icmp ne i64 %16, 0
  br i1 %17, label %18, label %27

18:                                               ; preds = %3
  %19 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %20 = getelementptr inbounds %struct.Runtime, ptr %19, i32 0, i32 1
  %21 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %22 = getelementptr inbounds %struct.Runtime, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call i32 @str_size(ptr noundef %23)
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = call ptr @str_of(ptr noundef %25)
  call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef %20, ptr noundef %22, ptr noundef @.str.1, ptr noundef @__func__.storage_mgr_drop, i32 noundef 214, ptr noundef @.str.3, i32 noundef %24, ptr noundef %26) #7
  unreachable

27:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = call ptr @storage_mgr_find(ptr noundef %28, ptr noundef %29)
  store ptr %30, ptr %7, align 8, !tbaa !5
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %46, label %33

33:                                               ; preds = %27
  %34 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %35 = trunc i8 %34 to i1
  br i1 %35, label %45, label %36

36:                                               ; preds = %33
  %37 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %38 = getelementptr inbounds %struct.Runtime, ptr %37, i32 0, i32 1
  %39 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %40 = getelementptr inbounds %struct.Runtime, ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = call i32 @str_size(ptr noundef %41)
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = call ptr @str_of(ptr noundef %43)
  call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef %38, ptr noundef %40, ptr noundef @.str.1, ptr noundef @__func__.storage_mgr_drop, i32 noundef 222, ptr noundef @.str.4, i32 noundef %42, ptr noundef %44) #7
  unreachable

45:                                               ; preds = %33
  store i32 1, ptr %8, align 4
  br label %102

46:                                               ; preds = %27
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.Storage, ptr %47, i32 0, i32 2
  %49 = load i32, ptr %48, align 4, !tbaa !13
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %51, label %60

51:                                               ; preds = %46
  %52 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %53 = getelementptr inbounds %struct.Runtime, ptr %52, i32 0, i32 1
  %54 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %55 = getelementptr inbounds %struct.Runtime, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = call i32 @str_size(ptr noundef %56)
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = call ptr @str_of(ptr noundef %58)
  call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef %53, ptr noundef %55, ptr noundef @.str.1, ptr noundef @__func__.storage_mgr_drop, i32 noundef 228, ptr noundef @.str.5, i32 noundef %57, ptr noundef %59) #7
  unreachable

60:                                               ; preds = %46
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.Storage, ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 8, !tbaa !18
  %64 = icmp sgt i32 %63, 0
  br i1 %64, label %65, label %74

65:                                               ; preds = %60
  %66 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %67 = getelementptr inbounds %struct.Runtime, ptr %66, i32 0, i32 1
  %68 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %69 = getelementptr inbounds %struct.Runtime, ptr %68, i32 0, i32 0
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = call i32 @str_size(ptr noundef %70)
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = call ptr @str_of(ptr noundef %72)
  call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef %67, ptr noundef %69, ptr noundef @.str.1, ptr noundef @__func__.storage_mgr_drop, i32 noundef 232, ptr noundef @.str.6, i32 noundef %71, ptr noundef %73) #7
  unreachable

74:                                               ; preds = %60
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.Storage, ptr %75, i32 0, i32 5
  %77 = load ptr, ptr %76, align 8, !tbaa !19
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %86

79:                                               ; preds = %74
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.Storage, ptr %80, i32 0, i32 5
  %82 = load ptr, ptr %81, align 8, !tbaa !19
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.Storage, ptr %83, i32 0, i32 6
  %85 = load ptr, ptr %84, align 8, !tbaa !20
  call void @cloud_detach(ptr noundef %82, ptr noundef %85)
  br label %86

86:                                               ; preds = %79, %74
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.Storage, ptr %87, i32 0, i32 7
  call void @list_unlink(ptr noundef %88)
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.StorageMgr, ptr %89, i32 0, i32 1
  %91 = load i32, ptr %90, align 8, !tbaa !21
  %92 = add nsw i32 %91, -1
  store i32 %92, ptr %90, align 8, !tbaa !21
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.StorageMgr, ptr %93, i32 0, i32 1
  %95 = load i32, ptr %94, align 8, !tbaa !21
  %96 = icmp sge i32 %95, 0
  br i1 %96, label %97, label %98

97:                                               ; preds = %86
  br label %99

98:                                               ; preds = %86
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 239, ptr noundef @__PRETTY_FUNCTION__.storage_mgr_drop) #9
  unreachable

99:                                               ; preds = %97
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  call void @storage_free(ptr noundef %100)
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  call void @storage_mgr_save(ptr noundef %101)
  store i32 0, ptr %8, align 4
  br label %102

102:                                              ; preds = %99, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  %103 = load i32, ptr %8, align 4
  switch i32 %103, label %105 [
    i32 0, label %104
    i32 1, label %104
  ]

104:                                              ; preds = %102, %102
  ret void

105:                                              ; preds = %102
  unreachable
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @str_compare_raw(ptr noundef, ptr noundef, i32 noundef) #1

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { inlinehint 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 #5 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #6 = { 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 #7 = { noreturn }
attributes #8 = { nounwind }
attributes #9 = { 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 = !{!"_Bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !16, i64 20}
!14 = !{!"Storage", !15, i64 0, !16, i64 16, !16, i64 20, !17, i64 24, !17, i64 32, !6, i64 40, !6, i64 48, !15, i64 56}
!15 = !{!"List", !6, i64 0, !6, i64 8}
!16 = !{!"int", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!14, !16, i64 16}
!19 = !{!14, !6, i64 40}
!20 = !{!14, !6, i64 48}
!21 = !{!22, !16, i64 16}
!22 = !{!"StorageMgr", !15, i64 0, !16, i64 16, !6, i64 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.Runtime = type { %struct.ExceptionMgr, %struct.Error, ptr }
%struct.ExceptionMgr = type { ptr }
%struct.Error = type { [256 x i8], i32, ptr, ptr, i32, ptr, ptr }

@mn_runtime = external thread_local global %struct.Runtime, align 8
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [87 x i8], align 1
@__func__.storage_mgr_drop = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__.storage_mgr_drop = external hidden unnamed_addr constant [50 x i8], align 1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @storage_free(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @storage_mgr_find(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint noreturn nounwind uwtable
declare hidden void @error_throw_as(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @str_size(ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @str_of(ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @storage_mgr_save(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @storage_mgr_drop(ptr noundef %0, ptr noundef %1, i1 noundef zeroext %2) local_unnamed_addr #2 {
  %4 = tail call zeroext i1 @str_compare_raw(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 4)
  br i1 %4, label %5, label %10, !prof !5

5:                                                ; preds = %3
  %6 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %7 = getelementptr inbounds i8, ptr %6, i64 8
  %8 = tail call i32 @str_size(ptr noundef %1)
  %9 = tail call ptr @str_of(ptr noundef %1)
  tail call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef nonnull %7, ptr noundef nonnull %6, ptr noundef nonnull @.str.1, ptr noundef nonnull @__func__.storage_mgr_drop, i32 noundef 214, ptr noundef nonnull @.str.3, i32 noundef %8, ptr noundef %9) #5
  unreachable

10:                                               ; preds = %3
  %11 = tail call ptr @storage_mgr_find(ptr noundef %0, ptr noundef %1)
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %12, label %18

12:                                               ; preds = %10
  br i1 %2, label %50, label %13

13:                                               ; preds = %12
  %14 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  %16 = tail call i32 @str_size(ptr noundef %1)
  %17 = tail call ptr @str_of(ptr noundef %1)
  tail call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef nonnull %15, ptr noundef nonnull %14, ptr noundef nonnull @.str.1, ptr noundef nonnull @__func__.storage_mgr_drop, i32 noundef 222, ptr noundef nonnull @.str.4, i32 noundef %16, ptr noundef %17) #5
  unreachable

18:                                               ; preds = %10
  %19 = getelementptr inbounds i8, ptr %11, i64 20
  %20 = load i32, ptr %19, align 4, !tbaa !6
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %22, label %27

22:                                               ; preds = %18
  %23 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = tail call i32 @str_size(ptr noundef %1)
  %26 = tail call ptr @str_of(ptr noundef %1)
  tail call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef nonnull %24, ptr noundef nonnull %23, ptr noundef nonnull @.str.1, ptr noundef nonnull @__func__.storage_mgr_drop, i32 noundef 228, ptr noundef nonnull @.str.5, i32 noundef %25, ptr noundef %26) #5
  unreachable

27:                                               ; preds = %18
  %28 = getelementptr inbounds i8, ptr %11, i64 16
  %29 = load i32, ptr %28, align 8, !tbaa !14
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %31, label %36

31:                                               ; preds = %27
  %32 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @mn_runtime)
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  %34 = tail call i32 @str_size(ptr noundef %1)
  %35 = tail call ptr @str_of(ptr noundef %1)
  tail call void (ptr, ptr, ptr, ptr, i32, ptr, ...) @error_throw_as(ptr noundef nonnull %33, ptr noundef nonnull %32, ptr noundef nonnull @.str.1, ptr noundef nonnull @__func__.storage_mgr_drop, i32 noundef 232, ptr noundef nonnull @.str.6, i32 noundef %34, ptr noundef %35) #5
  unreachable

36:                                               ; preds = %27
  %37 = getelementptr inbounds i8, ptr %11, i64 40
  %38 = load ptr, ptr %37, align 8, !tbaa !15
  %.not23 = icmp eq ptr %38, null
  br i1 %.not23, label %42, label %39

39:                                               ; preds = %36
  %40 = getelementptr inbounds i8, ptr %11, i64 48
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  tail call void @cloud_detach(ptr noundef nonnull %38, ptr noundef %41)
  br label %42

42:                                               ; preds = %39, %36
  %43 = getelementptr inbounds i8, ptr %11, i64 56
  tail call void @list_unlink(ptr noundef nonnull %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %45 = load i32, ptr %44, align 8, !tbaa !17
  %46 = add nsw i32 %45, -1
  store i32 %46, ptr %44, align 8, !tbaa !17
  %47 = icmp sgt i32 %45, 0
  br i1 %47, label %49, label %48

48:                                               ; preds = %42
  tail call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 239, ptr noundef nonnull @__PRETTY_FUNCTION__.storage_mgr_drop) #6
  unreachable

49:                                               ; preds = %42
  tail call void @storage_free(ptr noundef nonnull %11)
  tail call void @storage_mgr_save(ptr noundef nonnull %0)
  br label %50

50:                                               ; preds = %12, %49
  ret void
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @str_compare_raw(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @cloud_detach(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @list_unlink(ptr noundef) local_unnamed_addr #0

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

attributes #0 = { inlinehint 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 speculatable willreturn memory(none) }
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 = { inlinehint 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 #4 = { 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 #5 = { noreturn }
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 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!6 = !{!7, !12, i64 20}
!7 = !{!"Storage", !8, i64 0, !12, i64 16, !12, i64 20, !13, i64 24, !13, i64 32, !9, i64 40, !9, i64 48, !8, i64 56}
!8 = !{!"List", !9, i64 0, !9, i64 8}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!7, !12, i64 16}
!15 = !{!7, !9, i64 40}
!16 = !{!7, !9, i64 48}
!17 = !{!18, !12, i64 16}
!18 = !{!"StorageMgr", !8, i64 0, !12, i64 16, !9, i64 24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LowerExpectIntrinsicPass,SROAPass,SimplifyCFGPass,TailCallElimPass