; LLVM IR from shellphish/how2heap :: glibc_2.27 (large_bin_attack)

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

@stdout = external global ptr, align 8
@.str = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [136 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [299 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [283 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [158 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  %7 = load ptr, ptr @stdout, align 8, !tbaa !5
  call void @setbuf(ptr noundef %7, ptr noundef null) #6
  %8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  store i64 0, ptr %2, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  store i64 0, ptr %3, align 8, !tbaa !9
  %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %11 = load i64, ptr %2, align 8, !tbaa !9
  %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %2, i64 noundef %11)
  %13 = load i64, ptr %3, align 8, !tbaa !9
  %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %3, i64 noundef %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %15 = call noalias ptr @malloc(i64 noundef 1056) #7
  store ptr %15, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds i64, ptr %16, i64 -2
  %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %17)
  %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %20 = call noalias ptr @malloc(i64 noundef 32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %21 = call noalias ptr @malloc(i64 noundef 1280) #7
  store ptr %21, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds i64, ptr %22, i64 -2
  %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %23)
  %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %26 = call noalias ptr @malloc(i64 noundef 32) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %27 = call noalias ptr @malloc(i64 noundef 1280) #7
  store ptr %27, ptr %6, align 8, !tbaa !5
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds i64, ptr %28, i64 -2
  %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %29)
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  %32 = call noalias ptr @malloc(i64 noundef 32) #7
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  call void @free(ptr noundef %33) #6
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  call void @free(ptr noundef %34) #6
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds i64, ptr %35, i64 -2
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = getelementptr inbounds i64, ptr %37, i64 0
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = inttoptr i64 %39 to ptr
  %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %36, ptr noundef %40)
  %42 = call noalias ptr @malloc(i64 noundef 144) #7
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %43, i64 144
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %44)
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %46) #6
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds i64, ptr %47, i64 -2
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds i64, ptr %49, i64 0
  %51 = load i64, ptr %50, align 8, !tbaa !9
  %52 = inttoptr i64 %51 to ptr
  %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %48, ptr noundef %52)
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds i64, ptr %56, i64 -1
  store i64 1009, ptr %57, align 8, !tbaa !9
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds i64, ptr %58, i64 0
  store i64 0, ptr %59, align 8, !tbaa !9
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds i64, ptr %60, i64 2
  store i64 0, ptr %61, align 8, !tbaa !9
  %62 = getelementptr inbounds i64, ptr %2, i64 -2
  %63 = ptrtoint ptr %62 to i64
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds i64, ptr %64, i64 1
  store i64 %63, ptr %65, align 8, !tbaa !9
  %66 = getelementptr inbounds i64, ptr %3, i64 -4
  %67 = ptrtoint ptr %66 to i64
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds i64, ptr %68, i64 3
  store i64 %67, ptr %69, align 8, !tbaa !9
  %70 = call noalias ptr @malloc(i64 noundef 144) #7
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  %72 = load i64, ptr %2, align 8, !tbaa !9
  %73 = inttoptr i64 %72 to ptr
  %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %2, ptr noundef %73)
  %75 = load i64, ptr %3, align 8, !tbaa !9
  %76 = inttoptr i64 %75 to ptr
  %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %3, ptr noundef %76)
  %78 = load i64, ptr %2, align 8, !tbaa !9
  %79 = icmp ne i64 %78, 0
  br i1 %79, label %80, label %81

80:                                               ; preds = %0
  br label %82

81:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.20, i32 noundef 112, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

82:                                               ; preds = %80
  %83 = load i64, ptr %3, align 8, !tbaa !9
  %84 = icmp ne i64 %83, 0
  br i1 %84, label %85, label %86

85:                                               ; preds = %82
  br label %87

86:                                               ; preds = %82
  call void @__assert_fail(ptr noundef @.str.21, ptr noundef @.str.20, i32 noundef 113, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

87:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  ret i32 0
}

; Function Attrs: nounwind
declare void @setbuf(ptr noundef, ptr noundef) #1

declare i32 @printf(ptr noundef, ...) #2

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

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

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

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

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 = { 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 #2 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind allocsize(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 = { 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 = { nounwind }
attributes #7 = { nounwind allocsize(0) }
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 = !{!"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"

@stdout = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [164 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [136 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [128 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [110 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [299 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [97 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [135 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [283 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [158 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [83 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = load ptr, ptr @stdout, align 8, !tbaa !5
  tail call void @setbuf(ptr noundef %3, ptr noundef null) #6
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  store i64 0, ptr %1, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  store i64 0, ptr %2, align 8, !tbaa !9
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %7 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef nonnull %1, i64 noundef 0)
  %8 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull %2, i64 noundef 0)
  %9 = call noalias dereferenceable_or_null(1056) ptr @malloc(i64 noundef 1056) #7
  %10 = getelementptr inbounds i8, ptr %9, i64 -16
  %11 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull %10)
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %13 = call noalias dereferenceable_or_null(1280) ptr @malloc(i64 noundef 1280) #7
  %14 = getelementptr inbounds i8, ptr %13, i64 -16
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef nonnull %14)
  %16 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %17 = call noalias dereferenceable_or_null(1280) ptr @malloc(i64 noundef 1280) #7
  %18 = getelementptr inbounds i8, ptr %17, i64 -16
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, ptr noundef nonnull %18)
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  call void @free(ptr noundef %9) #6
  call void @free(ptr noundef %13) #6
  %21 = load i64, ptr %13, align 8, !tbaa !9
  %22 = inttoptr i64 %21 to ptr
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, ptr noundef nonnull %14, ptr noundef %22)
  %24 = getelementptr inbounds i8, ptr %9, i64 144
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, ptr noundef nonnull %24)
  call void @free(ptr noundef %17) #6
  %26 = load i64, ptr %17, align 8, !tbaa !9
  %27 = inttoptr i64 %26 to ptr
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef nonnull %18, ptr noundef %27)
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  %31 = getelementptr inbounds i8, ptr %13, i64 -8
  store i64 1009, ptr %31, align 8, !tbaa !9
  store i64 0, ptr %13, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %13, i64 16
  store i64 0, ptr %32, align 8, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %1, i64 -16
  %34 = ptrtoint ptr %33 to i64
  %35 = getelementptr inbounds i8, ptr %13, i64 8
  store i64 %34, ptr %35, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %2, i64 -32
  %37 = ptrtoint ptr %36 to i64
  %38 = getelementptr inbounds i8, ptr %13, i64 24
  store i64 %37, ptr %38, align 8, !tbaa !9
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  %40 = load i64, ptr %1, align 8, !tbaa !9
  %41 = inttoptr i64 %40 to ptr
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, ptr noundef nonnull %1, ptr noundef %41)
  %43 = load i64, ptr %2, align 8, !tbaa !9
  %44 = inttoptr i64 %43 to ptr
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, ptr noundef nonnull %2, ptr noundef %44)
  %46 = load i64, ptr %1, align 8, !tbaa !9
  %.not = icmp eq i64 %46, 0
  br i1 %.not, label %47, label %48

47:                                               ; preds = %0
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.20, i32 noundef 112, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

48:                                               ; preds = %0
  %49 = load i64, ptr %2, align 8, !tbaa !9
  %.not16 = icmp eq i64 %49, 0
  br i1 %.not16, label %50, label %51

50:                                               ; preds = %48
  call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.20, i32 noundef 113, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

51:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret i32 0
}

; Function Attrs: nofree nounwind
declare void @setbuf(ptr nocapture noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) 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 #4 = { 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 #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 = { nounwind }
attributes #7 = { nounwind allocsize(0) }
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 = !{!"long", !7, i64 0}


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