; LLVM IR from ryanlayer/giggle :: src (disk_store)

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

@.str.20 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [32 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: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #1

; Function Attrs: noreturn
declare void @err(i32 noundef, ptr noundef, ...) #2

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

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

declare void @check_file_read(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #3

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @disk_store_get(ptr noundef %0, i32 noundef %1, ptr noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %16 = load i32, ptr %6, align 4, !tbaa !9
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.disk_store, ptr %17, i32 0, i32 5
  %19 = load i32, ptr %18, align 4, !tbaa !11
  %20 = icmp uge i32 %16, %19
  br i1 %20, label %21, label %23

21:                                               ; preds = %3
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  store i64 0, ptr %22, align 8, !tbaa !14
  store ptr null, ptr %4, align 8
  br label %142

23:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.disk_store, ptr %24, i32 0, i32 7
  %26 = load i64, ptr %25, align 8, !tbaa !15
  store i64 %26, ptr %8, align 8, !tbaa !14
  %27 = load i32, ptr %6, align 4, !tbaa !9
  %28 = icmp ugt i32 %27, 0
  br i1 %28, label %29, label %38

29:                                               ; preds = %23
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.disk_store, ptr %30, i32 0, i32 8
  %32 = load ptr, ptr %31, align 8, !tbaa !16
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = sub i32 %33, 1
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds i64, ptr %32, i64 %35
  %37 = load i64, ptr %36, align 8, !tbaa !14
  store i64 %37, ptr %8, align 8, !tbaa !14
  br label %38

38:                                               ; preds = %29, %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.disk_store, ptr %39, i32 0, i32 8
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds i64, ptr %41, i64 %43
  %45 = load i64, ptr %44, align 8, !tbaa !14
  store i64 %45, ptr %9, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !14
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.disk_store, ptr %46, i32 0, i32 10
  %48 = load i8, ptr %47, align 8, !tbaa !17
  %49 = icmp ne i8 %48, 0
  br i1 %49, label %50, label %56

50:                                               ; preds = %38
  %51 = load i64, ptr %9, align 8, !tbaa !14
  %52 = load i64, ptr %8, align 8, !tbaa !14
  %53 = sub i64 %51, %52
  store i64 %53, ptr %11, align 8, !tbaa !14
  %54 = load i64, ptr %11, align 8, !tbaa !14
  %55 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %54) #6
  store ptr %55, ptr %10, align 8, !tbaa !5
  br label %64

56:                                               ; preds = %38
  %57 = load i64, ptr %9, align 8, !tbaa !14
  %58 = load i64, ptr %8, align 8, !tbaa !14
  %59 = sub i64 %57, %58
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  store i64 %59, ptr %60, align 8, !tbaa !14
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load i64, ptr %61, align 8, !tbaa !14
  %63 = call noalias ptr @calloc(i64 noundef 1, i64 noundef %62) #6
  store ptr %63, ptr %10, align 8, !tbaa !5
  br label %64

64:                                               ; preds = %56, %50
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = icmp eq ptr %65, null
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.20) #7
  unreachable

68:                                               ; preds = %64
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.disk_store, ptr %69, i32 0, i32 3
  %71 = load ptr, ptr %70, align 8, !tbaa !18
  %72 = load i64, ptr %8, align 8, !tbaa !14
  %73 = call i32 @fseek(ptr noundef %71, i64 noundef %72, i32 noundef 0)
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %79

75:                                               ; preds = %68
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.disk_store, ptr %76, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.21, ptr noundef %78) #7
  unreachable

79:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.disk_store, ptr %80, i32 0, i32 10
  %82 = load i8, ptr %81, align 8, !tbaa !17
  %83 = icmp ne i8 %82, 0
  br i1 %83, label %84, label %91

84:                                               ; preds = %79
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = load i64, ptr %11, align 8, !tbaa !14
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.disk_store, ptr %87, i32 0, i32 3
  %89 = load ptr, ptr %88, align 8, !tbaa !18
  %90 = call i64 @fread(ptr noundef %85, i64 noundef %86, i64 noundef 1, ptr noundef %89)
  store i64 %90, ptr %12, align 8, !tbaa !14
  br label %99

91:                                               ; preds = %79
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = load i64, ptr %93, align 8, !tbaa !14
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.disk_store, ptr %95, i32 0, i32 3
  %97 = load ptr, ptr %96, align 8, !tbaa !18
  %98 = call i64 @fread(ptr noundef %92, i64 noundef %94, i64 noundef 1, ptr noundef %97)
  store i64 %98, ptr %12, align 8, !tbaa !14
  br label %99

99:                                               ; preds = %91, %84
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.disk_store, ptr %100, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8, !tbaa !19
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.disk_store, ptr %103, i32 0, i32 3
  %105 = load ptr, ptr %104, align 8, !tbaa !18
  %106 = load i64, ptr %12, align 8, !tbaa !14
  call void @check_file_read(ptr noundef %102, ptr noundef %105, i64 noundef 1, i64 noundef %106)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.disk_store, ptr %107, i32 0, i32 10
  %109 = load i8, ptr %108, align 8, !tbaa !17
  %110 = icmp ne i8 %109, 0
  br i1 %110, label %111, label %132

111:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.disk_store, ptr %112, i32 0, i32 9
  %114 = load ptr, ptr %113, align 8, !tbaa !20
  %115 = load i32, ptr %6, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !9
  store i32 %118, ptr %14, align 4, !tbaa !9
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.disk_store, ptr %119, i32 0, i32 11
  %121 = load ptr, ptr %120, align 8, !tbaa !21
  %122 = getelementptr inbounds %struct.disk_file_header, ptr %121, i32 0, i32 4
  %123 = load ptr, ptr %122, align 8, !tbaa !22
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = load i64, ptr %11, align 8, !tbaa !14
  %126 = load i32, ptr %14, align 4, !tbaa !9
  %127 = zext i32 %126 to i64
  %128 = call ptr %123(ptr noundef %124, i64 noundef %125, i64 noundef %127)
  store ptr %128, ptr %13, align 8, !tbaa !5
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  store i64 %130, ptr %131, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %132

132:                                              ; preds = %111, %99
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.disk_store, ptr %133, i32 0, i32 10
  %135 = load i8, ptr %134, align 8, !tbaa !17
  %136 = icmp ne i8 %135, 0
  br i1 %136, label %137, label %139

137:                                              ; preds = %132
  %138 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %138, ptr %4, align 8
  store i32 1, ptr %15, align 4
  br label %141

139:                                              ; preds = %132
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %140, ptr %4, align 8
  store i32 1, ptr %15, align 4
  br label %141

141:                                              ; preds = %139, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %142

142:                                              ; preds = %141, %21
  %143 = load ptr, ptr %4, align 8
  ret ptr %143
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(0,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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nounwind }
attributes #6 = { nounwind allocsize(0,1) }
attributes #7 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 36}
!12 = !{!"disk_store", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !13, i64 40, !13, i64 48, !6, i64 56, !6, i64 64, !7, i64 72, !6, i64 80}
!13 = !{!"long", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 48}
!16 = !{!12, !6, i64 56}
!17 = !{!12, !7, i64 72}
!18 = !{!12, !6, i64 24}
!19 = !{!12, !6, i64 8}
!20 = !{!12, !6, i64 64}
!21 = !{!12, !6, i64 80}
!22 = !{!23, !6, i64 16}
!23 = !{!"disk_file_header", !7, i64 0, !7, i64 1, !7, i64 2, !6, i64 8, !6, i64 16}


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

@.str.20 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [32 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @err(i32 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

declare void @check_file_read(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local ptr @disk_store_get(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #4 {
  %4 = getelementptr inbounds i8, ptr %0, i64 36
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %.not = icmp ugt i32 %5, %1
  br i1 %.not, label %7, label %6

6:                                                ; preds = %3
  store i64 0, ptr %2, align 8, !tbaa !12
  br label %59

7:                                                ; preds = %3
  %.not49 = icmp eq i32 %1, 0
  br i1 %.not49, label %._crit_edge, label %9

._crit_edge:                                      ; preds = %7
  %8 = getelementptr inbounds i8, ptr %0, i64 48
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 56
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !13
  br label %15

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  %11 = load ptr, ptr %10, align 8, !tbaa !13
  %12 = add i32 %1, -1
  %13 = zext i32 %12 to i64
  %14 = getelementptr inbounds i64, ptr %11, i64 %13
  br label %15

15:                                               ; preds = %._crit_edge, %9
  %16 = phi ptr [ %11, %9 ], [ %.pre, %._crit_edge ]
  %.047.in = phi ptr [ %14, %9 ], [ %8, %._crit_edge ]
  %.047 = load i64, ptr %.047.in, align 8, !tbaa !12
  %17 = zext i32 %1 to i64
  %18 = getelementptr inbounds i64, ptr %16, i64 %17
  %19 = load i64, ptr %18, align 8, !tbaa !12
  %20 = getelementptr inbounds i8, ptr %0, i64 72
  %21 = load i8, ptr %20, align 8, !tbaa !14
  %.not50 = icmp eq i8 %21, 0
  %22 = sub i64 %19, %.047
  br i1 %.not50, label %23, label %24

23:                                               ; preds = %15
  store i64 %22, ptr %2, align 8, !tbaa !12
  br label %24

24:                                               ; preds = %15, %23
  %.045 = phi i64 [ 0, %23 ], [ %22, %15 ]
  %25 = tail call noalias ptr @calloc(i64 noundef 1, i64 noundef %22) #5
  %26 = icmp eq ptr %25, null
  br i1 %26, label %27, label %28

27:                                               ; preds = %24
  tail call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.20) #6
  unreachable

28:                                               ; preds = %24
  %29 = getelementptr inbounds i8, ptr %0, i64 24
  %30 = load ptr, ptr %29, align 8, !tbaa !15
  %31 = tail call i32 @fseek(ptr noundef %30, i64 noundef %.047, i32 noundef 0)
  %.not51 = icmp eq i32 %31, 0
  br i1 %.not51, label %35, label %32

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %0, i64 8
  %34 = load ptr, ptr %33, align 8, !tbaa !16
  tail call void (i32, ptr, ...) @err(i32 noundef 1, ptr noundef nonnull @.str.21, ptr noundef %34) #6
  unreachable

35:                                               ; preds = %28
  %36 = load i8, ptr %20, align 8, !tbaa !14
  %.not52 = icmp eq i8 %36, 0
  br i1 %.not52, label %37, label %39

37:                                               ; preds = %35
  %38 = load i64, ptr %2, align 8, !tbaa !12
  br label %39

39:                                               ; preds = %35, %37
  %.sink = phi i64 [ %38, %37 ], [ %.045, %35 ]
  %40 = load ptr, ptr %29, align 8, !tbaa !15
  %41 = tail call i64 @fread(ptr noundef nonnull %25, i64 noundef %.sink, i64 noundef 1, ptr noundef %40)
  %42 = getelementptr inbounds i8, ptr %0, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !16
  %44 = load ptr, ptr %29, align 8, !tbaa !15
  tail call void @check_file_read(ptr noundef %43, ptr noundef %44, i64 noundef 1, i64 noundef %41) #7
  %45 = load i8, ptr %20, align 8, !tbaa !14
  %.not53 = icmp eq i8 %45, 0
  br i1 %.not53, label %59, label %46

46:                                               ; preds = %39
  %47 = getelementptr inbounds i8, ptr %0, i64 64
  %48 = load ptr, ptr %47, align 8, !tbaa !17
  %49 = getelementptr inbounds i32, ptr %48, i64 %17
  %50 = load i32, ptr %49, align 4, !tbaa !18
  %51 = getelementptr inbounds i8, ptr %0, i64 80
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  %54 = load ptr, ptr %53, align 8, !tbaa !20
  %55 = zext i32 %50 to i64
  %56 = tail call ptr %54(ptr noundef nonnull %25, i64 noundef %.045, i64 noundef %55) #7
  store i64 %55, ptr %2, align 8, !tbaa !12
  %.pre55 = load i8, ptr %20, align 8, !tbaa !14
  %57 = icmp eq i8 %.pre55, 0
  %58 = select i1 %57, ptr %25, ptr %56
  br label %59

59:                                               ; preds = %39, %46, %6
  %.1 = phi ptr [ null, %6 ], [ %58, %46 ], [ %25, %39 ]
  ret ptr %.1
}

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { noreturn "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 = { "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 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 = { nounwind allocsize(0,1) }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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, !10, i64 36}
!6 = !{!"disk_store", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !11, i64 40, !11, i64 48, !7, i64 56, !7, i64 64, !8, i64 72, !7, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !7, i64 56}
!14 = !{!6, !8, i64 72}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 8}
!17 = !{!6, !7, i64 64}
!18 = !{!10, !10, i64 0}
!19 = !{!6, !7, i64 80}
!20 = !{!21, !7, i64 16}
!21 = !{!"disk_file_header", !8, i64 0, !8, i64 1, !8, i64 2, !7, i64 8, !7, i64 16}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass