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

; 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 [259 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [189 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [320 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [827 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [94 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [14 x ptr], align 16
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [6 x i64], align 16
  %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) #7
  %8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  call void @llvm.lifetime.start.p0(i64 112, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %9

9:                                                ; preds = %16, %0
  %10 = load i64, ptr %3, align 8, !tbaa !9
  %11 = icmp ult i64 %10, 14
  br i1 %11, label %12, label %19

12:                                               ; preds = %9
  %13 = call noalias ptr @malloc(i64 noundef 64) #8
  %14 = load i64, ptr %3, align 8, !tbaa !9
  %15 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %14
  store ptr %13, ptr %15, align 8, !tbaa !5
  br label %16

16:                                               ; preds = %12
  %17 = load i64, ptr %3, align 8, !tbaa !9
  %18 = add i64 %17, 1
  store i64 %18, ptr %3, align 8, !tbaa !9
  br label %9, !llvm.loop !11

19:                                               ; preds = %9
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %28, %19
  %22 = load i64, ptr %3, align 8, !tbaa !9
  %23 = icmp ult i64 %22, 7
  br i1 %23, label %24, label %31

24:                                               ; preds = %21
  %25 = load i64, ptr %3, align 8, !tbaa !9
  %26 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %25
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  call void @free(ptr noundef %27) #7
  br label %28

28:                                               ; preds = %24
  %29 = load i64, ptr %3, align 8, !tbaa !9
  %30 = add i64 %29, 1
  store i64 %30, ptr %3, align 8, !tbaa !9
  br label %21, !llvm.loop !13

31:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %32 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 7
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  store ptr %33, ptr %4, align 8, !tbaa !5
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34)
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  call void @free(ptr noundef %36) #7
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  store i64 8, ptr %3, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %45, %31
  %39 = load i64, ptr %3, align 8, !tbaa !9
  %40 = icmp ult i64 %39, 14
  br i1 %40, label %41, label %48

41:                                               ; preds = %38
  %42 = load i64, ptr %3, align 8, !tbaa !9
  %43 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %42
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  call void @free(ptr noundef %44) #7
  br label %45

45:                                               ; preds = %41
  %46 = load i64, ptr %3, align 8, !tbaa !9
  %47 = add i64 %46, 1
  store i64 %47, ptr %3, align 8, !tbaa !9
  br label %38, !llvm.loop !14

48:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #7
  %49 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %49, i8 -51, i64 48, i1 false)
  %50 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 2
  %51 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 2
  %52 = load i64, ptr %51, align 16, !tbaa !9
  %53 = inttoptr i64 %52 to ptr
  %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %50, ptr noundef %53)
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %55)
  %57 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 0
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %57, ptr %58, align 8, !tbaa !5
  %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %67, %48
  %61 = load i64, ptr %3, align 8, !tbaa !9
  %62 = icmp ult i64 %61, 7
  br i1 %62, label %63, label %70

63:                                               ; preds = %60
  %64 = call noalias ptr @malloc(i64 noundef 64) #8
  %65 = load i64, ptr %3, align 8, !tbaa !9
  %66 = getelementptr inbounds [14 x ptr], ptr %2, i64 0, i64 %65
  store ptr %64, ptr %66, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %63
  %68 = load i64, ptr %3, align 8, !tbaa !9
  %69 = add i64 %68, 1
  store i64 %69, ptr %3, align 8, !tbaa !9
  br label %60, !llvm.loop !15

70:                                               ; preds = %60
  %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %72

72:                                               ; preds = %83, %70
  %73 = load i64, ptr %3, align 8, !tbaa !9
  %74 = icmp ult i64 %73, 6
  br i1 %74, label %75, label %86

75:                                               ; preds = %72
  %76 = load i64, ptr %3, align 8, !tbaa !9
  %77 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 %76
  %78 = load i64, ptr %3, align 8, !tbaa !9
  %79 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 %78
  %80 = load i64, ptr %79, align 8, !tbaa !9
  %81 = inttoptr i64 %80 to ptr
  %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %77, ptr noundef %81)
  br label %83

83:                                               ; preds = %75
  %84 = load i64, ptr %3, align 8, !tbaa !9
  %85 = add i64 %84, 1
  store i64 %85, ptr %3, align 8, !tbaa !9
  br label %72, !llvm.loop !16

86:                                               ; preds = %72
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %88 = call noalias ptr @malloc(i64 noundef 64) #8
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %100, %86
  %90 = load i64, ptr %3, align 8, !tbaa !9
  %91 = icmp ult i64 %90, 6
  br i1 %91, label %92, label %103

92:                                               ; preds = %89
  %93 = load i64, ptr %3, align 8, !tbaa !9
  %94 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 %93
  %95 = load i64, ptr %3, align 8, !tbaa !9
  %96 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 %95
  %97 = load i64, ptr %96, align 8, !tbaa !9
  %98 = inttoptr i64 %97 to ptr
  %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %94, ptr noundef %98)
  br label %100

100:                                              ; preds = %92
  %101 = load i64, ptr %3, align 8, !tbaa !9
  %102 = add i64 %101, 1
  store i64 %102, ptr %3, align 8, !tbaa !9
  br label %89, !llvm.loop !17

103:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %104 = call noalias ptr @malloc(i64 noundef 64) #8
  store ptr %104, ptr %6, align 8, !tbaa !5
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %105)
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds [6 x i64], ptr %5, i64 0, i64 2
  %109 = icmp eq ptr %107, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %103
  br label %112

111:                                              ; preds = %103
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 131, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

112:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %2) #7
  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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

; 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nounwind }
attributes #8 = { nounwind allocsize(0) }
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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


; 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 [259 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [189 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [320 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [827 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [94 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [6 x i64], align 16
  %2 = load ptr, ptr @stdout, align 8, !tbaa !5
  tail call void @setbuf(ptr noundef %2, ptr noundef null) #7
  %3 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %4 = tail call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #8
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %4)
  tail call void @free(ptr noundef %4) #7
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %1) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %1, i8 -51, i64 48, i1 false)
  %8 = getelementptr inbounds i8, ptr %1, i64 16
  %9 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull %8, ptr noundef nonnull inttoptr (i64 -3617008641903833651 to ptr))
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %4)
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %13 = load i64, ptr %1, align 16, !tbaa !9
  %14 = inttoptr i64 %13 to ptr
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %1, ptr noundef %14)
  %16 = getelementptr inbounds i8, ptr %1, i64 8
  %17 = load i64, ptr %16, align 8, !tbaa !9
  %18 = inttoptr i64 %17 to ptr
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %16, ptr noundef %18)
  %20 = load i64, ptr %8, align 16, !tbaa !9
  %21 = inttoptr i64 %20 to ptr
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %8, ptr noundef %21)
  %23 = getelementptr inbounds i8, ptr %1, i64 24
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = inttoptr i64 %24 to ptr
  %26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %23, ptr noundef %25)
  %27 = getelementptr inbounds i8, ptr %1, i64 32
  %28 = load i64, ptr %27, align 16, !tbaa !9
  %29 = inttoptr i64 %28 to ptr
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %27, ptr noundef %29)
  %31 = getelementptr inbounds i8, ptr %1, i64 40
  %32 = load i64, ptr %31, align 8, !tbaa !9
  %33 = inttoptr i64 %32 to ptr
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %31, ptr noundef %33)
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %36 = load i64, ptr %1, align 16, !tbaa !9
  %37 = inttoptr i64 %36 to ptr
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %1, ptr noundef %37)
  %39 = load i64, ptr %16, align 8, !tbaa !9
  %40 = inttoptr i64 %39 to ptr
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %16, ptr noundef %40)
  %42 = load i64, ptr %8, align 16, !tbaa !9
  %43 = inttoptr i64 %42 to ptr
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %8, ptr noundef %43)
  %45 = load i64, ptr %23, align 8, !tbaa !9
  %46 = inttoptr i64 %45 to ptr
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %23, ptr noundef %46)
  %48 = load i64, ptr %27, align 16, !tbaa !9
  %49 = inttoptr i64 %48 to ptr
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %27, ptr noundef %49)
  %51 = load i64, ptr %31, align 8, !tbaa !9
  %52 = inttoptr i64 %51 to ptr
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull %31, ptr noundef %52)
  %54 = call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #8
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef %54)
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, i32 noundef 131, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #9
  unreachable
}

; 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: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

attributes #0 = { 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 #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { nounwind }
attributes #8 = { nounwind allocsize(0) }
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 = !{!"long", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass