; LLVM IR from KamilSJaron/smudgeplot :: src_ploidyplot (libfastk)

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

@.str.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @Malloc(i64 noundef, ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @PathTo(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @Root(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @Load_Histogram(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %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 i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call ptr @PathTo(ptr noundef %16)
  store ptr %17, ptr %11, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = call ptr @Root(ptr noundef %18, ptr noundef @.str.19)
  store ptr %19, ptr %12, align 8, !tbaa !5
  %20 = load ptr, ptr %11, align 8, !tbaa !5
  %21 = call i64 @strlen(ptr noundef %20) #7
  %22 = load ptr, ptr %12, align 8, !tbaa !5
  %23 = call i64 @strlen(ptr noundef %22) #7
  %24 = add i64 %21, %23
  %25 = add i64 %24, 10
  %26 = call ptr @Malloc(i64 noundef %25, ptr noundef @.str.20)
  store ptr %26, ptr %13, align 8, !tbaa !5
  %27 = load ptr, ptr %13, align 8, !tbaa !5
  %28 = icmp eq ptr %27, null
  br i1 %28, label %29, label %30

29:                                               ; preds = %1
  call void @exit(i32 noundef 1) #8
  unreachable

30:                                               ; preds = %1
  %31 = load ptr, ptr %13, align 8, !tbaa !5
  %32 = load ptr, ptr %11, align 8, !tbaa !5
  %33 = load ptr, ptr %12, align 8, !tbaa !5
  %34 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %31, ptr noundef @.str.21, ptr noundef %32, ptr noundef %33) #6
  %35 = load ptr, ptr %13, align 8, !tbaa !5
  %36 = call i32 (ptr, i32, ...) @open(ptr noundef %35, i32 noundef 0)
  store i32 %36, ptr %14, align 4, !tbaa !9
  %37 = load i32, ptr %14, align 4, !tbaa !9
  %38 = icmp slt i32 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %30
  store ptr null, ptr %2, align 8
  store i32 1, ptr %15, align 4
  br label %111

40:                                               ; preds = %30
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  call void @free(ptr noundef %41) #6
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  call void @free(ptr noundef %42) #6
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %43) #6
  %44 = load i32, ptr %14, align 4, !tbaa !9
  %45 = call i64 @read(i32 noundef %44, ptr noundef %5, i64 noundef 4)
  %46 = load i32, ptr %14, align 4, !tbaa !9
  %47 = call i64 @read(i32 noundef %46, ptr noundef %6, i64 noundef 4)
  %48 = load i32, ptr %14, align 4, !tbaa !9
  %49 = call i64 @read(i32 noundef %48, ptr noundef %7, i64 noundef 4)
  %50 = load i32, ptr %14, align 4, !tbaa !9
  %51 = call i64 @read(i32 noundef %50, ptr noundef %8, i64 noundef 8)
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = call i64 @read(i32 noundef %52, ptr noundef %9, i64 noundef 8)
  %54 = call ptr @Malloc(i64 noundef 24, ptr noundef @.str.22)
  store ptr %54, ptr %4, align 8, !tbaa !5
  %55 = load i32, ptr %7, align 4, !tbaa !9
  %56 = load i32, ptr %6, align 4, !tbaa !9
  %57 = sub nsw i32 %55, %56
  %58 = add nsw i32 %57, 3
  %59 = sext i32 %58 to i64
  %60 = mul i64 8, %59
  %61 = call ptr @Malloc(i64 noundef %60, ptr noundef @.str.22)
  store ptr %61, ptr %10, align 8, !tbaa !5
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = icmp eq ptr %62, null
  br i1 %63, label %67, label %64

64:                                               ; preds = %40
  %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, %40
  call void @exit(i32 noundef 1) #8
  unreachable

68:                                               ; preds = %64
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = load i32, ptr %7, align 4, !tbaa !9
  %72 = load i32, ptr %6, align 4, !tbaa !9
  %73 = sub nsw i32 %71, %72
  %74 = add nsw i32 %73, 1
  %75 = sext i32 %74 to i64
  %76 = mul i64 8, %75
  %77 = call i64 @read(i32 noundef %69, ptr noundef %70, i64 noundef %76)
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = call i32 @close(i32 noundef %78)
  %80 = load i32, ptr %5, align 4, !tbaa !9
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.Histogram, ptr %81, i32 0, i32 0
  store i32 %80, ptr %82, align 8, !tbaa !11
  %83 = load i32, ptr %6, align 4, !tbaa !9
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.Histogram, ptr %84, i32 0, i32 2
  store i32 %83, ptr %85, align 8, !tbaa !13
  %86 = load i32, ptr %7, align 4, !tbaa !9
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.Histogram, ptr %87, i32 0, i32 3
  store i32 %86, ptr %88, align 4, !tbaa !14
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = load i32, ptr %6, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = sub i64 0, %91
  %93 = getelementptr inbounds i64, ptr %89, i64 %92
  store ptr %93, ptr %10, align 8, !tbaa !5
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.Histogram, ptr %94, i32 0, i32 4
  store ptr %93, ptr %95, align 8, !tbaa !15
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.Histogram, ptr %96, i32 0, i32 1
  store i32 1, ptr %97, align 4, !tbaa !16
  %98 = load i64, ptr %8, align 8, !tbaa !17
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = load i32, ptr %7, align 4, !tbaa !9
  %101 = add nsw i32 %100, 1
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds i64, ptr %99, i64 %102
  store i64 %98, ptr %103, align 8, !tbaa !17
  %104 = load i64, ptr %9, align 8, !tbaa !17
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = load i32, ptr %7, align 4, !tbaa !9
  %107 = add nsw i32 %106, 2
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i64, ptr %105, i64 %108
  store i64 %104, ptr %109, align 8, !tbaa !17
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %110, ptr %2, align 8
  store i32 1, ptr %15, align 4
  br label %111

111:                                              ; preds = %68, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  %112 = load ptr, ptr %2, align 8
  ret ptr %112
}

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

declare i32 @open(ptr noundef, i32 noundef, ...) #5

declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #5

declare i32 @close(i32 noundef) #5

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind willreturn memory(read) "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 "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 = { "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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { 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 = !{!12, !10, i64 0}
!12 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !6, i64 16}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !6, i64 16}
!16 = !{!12, !10, i64 4}
!17 = !{!18, !18, i64 0}
!18 = !{!"long long", !7, i64 0}


; 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.19 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @Malloc(i64 noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @PathTo(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local ptr @Load_Histogram(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %7 = tail call ptr @PathTo(ptr noundef %0)
  %8 = tail call ptr @Root(ptr noundef %0, ptr noundef nonnull @.str.19)
  %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %7) #9
  %10 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %8) #9
  %11 = add i64 %9, 10
  %12 = add i64 %11, %10
  %13 = tail call ptr @Malloc(i64 noundef %12, ptr noundef nonnull @.str.20)
  %14 = icmp eq ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %1
  tail call void @exit(i32 noundef 1) #10
  unreachable

16:                                               ; preds = %1
  %17 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %13, ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef %7, ptr noundef %8) #8
  %18 = tail call i32 (ptr, i32, ...) @open(ptr noundef nonnull %13, i32 noundef 0) #8
  %19 = icmp slt i32 %18, 0
  br i1 %19, label %57, label %20

20:                                               ; preds = %16
  tail call void @free(ptr noundef nonnull %13) #8
  tail call void @free(ptr noundef %8) #8
  tail call void @free(ptr noundef %7) #8
  %21 = call i64 @read(i32 noundef %18, ptr noundef nonnull %2, i64 noundef 4) #8
  %22 = call i64 @read(i32 noundef %18, ptr noundef nonnull %3, i64 noundef 4) #8
  %23 = call i64 @read(i32 noundef %18, ptr noundef nonnull %4, i64 noundef 4) #8
  %24 = call i64 @read(i32 noundef %18, ptr noundef nonnull %5, i64 noundef 8) #8
  %25 = call i64 @read(i32 noundef %18, ptr noundef nonnull %6, i64 noundef 8) #8
  %26 = tail call ptr @Malloc(i64 noundef 24, ptr noundef nonnull @.str.22)
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = sub nsw i32 %27, %28
  %30 = add nsw i32 %29, 3
  %31 = sext i32 %30 to i64
  %32 = shl nsw i64 %31, 3
  %33 = tail call ptr @Malloc(i64 noundef %32, ptr noundef nonnull @.str.22)
  %34 = icmp eq ptr %26, null
  %35 = icmp eq ptr %33, null
  %or.cond = select i1 %34, i1 true, i1 %35
  br i1 %or.cond, label %36, label %37

36:                                               ; preds = %20
  tail call void @exit(i32 noundef 1) #10
  unreachable

37:                                               ; preds = %20
  %38 = add nsw i32 %29, 1
  %39 = sext i32 %38 to i64
  %40 = shl nsw i64 %39, 3
  %41 = tail call i64 @read(i32 noundef %18, ptr noundef nonnull %33, i64 noundef %40) #8
  %42 = tail call i32 @close(i32 noundef %18) #8
  %43 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %43, ptr %26, align 8, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %26, i64 8
  store i32 %28, ptr %44, align 8, !tbaa !12
  %45 = getelementptr inbounds i8, ptr %26, i64 12
  store i32 %27, ptr %45, align 4, !tbaa !13
  %46 = sext i32 %28 to i64
  %47 = sub nsw i64 0, %46
  %48 = getelementptr inbounds i64, ptr %33, i64 %47
  %49 = getelementptr inbounds i8, ptr %26, i64 16
  store ptr %48, ptr %49, align 8, !tbaa !14
  %50 = getelementptr inbounds i8, ptr %26, i64 4
  store i32 1, ptr %50, align 4, !tbaa !15
  %51 = load i64, ptr %5, align 8, !tbaa !16
  %52 = sext i32 %27 to i64
  %53 = getelementptr i64, ptr %48, i64 %52
  %54 = getelementptr i8, ptr %53, i64 8
  store i64 %51, ptr %54, align 8, !tbaa !16
  %55 = load i64, ptr %6, align 8, !tbaa !16
  %56 = getelementptr i8, ptr %53, i64 16
  store i64 %55, ptr %56, align 8, !tbaa !16
  br label %57

57:                                               ; preds = %16, %37
  %.0 = phi ptr [ %26, %37 ], [ null, %16 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  ret ptr %.0
}

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #6

; Function Attrs: nofree
declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #6

declare i32 @close(i32 noundef) local_unnamed_addr #7

attributes #0 = { 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 willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, 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 #4 = { 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 #5 = { 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 #6 = { nofree "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 = { "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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { 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, !6, i64 0}
!10 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!10, !6, i64 12}
!14 = !{!10, !11, i64 16}
!15 = !{!10, !6, i64 4}
!16 = !{!17, !17, i64 0}
!17 = !{!"long long", !7, i64 0}


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