; LLVM IR from shellphish/how2heap :: glibc_2.23 (house_of_storm)

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

@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@target = external dso_local global [96 x i8], align 16
@.str.15 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @init() #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_shift_amount(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
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @init()
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %9 = call i32 @puts(ptr noundef @.str)
  %10 = call i32 @puts(ptr noundef @.str.1)
  %11 = call i32 @puts(ptr noundef @.str.2)
  %12 = call i32 @puts(ptr noundef @.str.3)
  %13 = call i32 @puts(ptr noundef @.str.4)
  %14 = call noalias ptr @malloc(i64 noundef 1256) #7
  store ptr %14, ptr %2, align 8, !tbaa !5
  %15 = call noalias ptr @malloc(i64 noundef 24) #7
  %16 = call i32 @puts(ptr noundef @.str.5)
  %17 = call i32 @puts(ptr noundef @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = call i32 @get_shift_amount(ptr noundef %18)
  store i32 %19, ptr %6, align 4, !tbaa !9
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = ptrtoint ptr %22 to i64
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = mul nsw i32 8, %24
  %26 = zext i32 %25 to i64
  %27 = lshr i64 %23, %26
  store i64 %27, ptr %7, align 8, !tbaa !11
  %28 = load i64, ptr %7, align 8, !tbaa !11
  %29 = icmp ult i64 %28, 16
  br i1 %29, label %30, label %34

30:                                               ; preds = %0
  %31 = load i64, ptr %7, align 8, !tbaa !11
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %31)
  %33 = call i32 @puts(ptr noundef @.str.9)
  call void @exit(i32 noundef 1) #8
  unreachable

34:                                               ; preds = %0
  %35 = load i64, ptr %7, align 8, !tbaa !11
  %36 = and i64 %35, 68719476734
  %37 = sub i64 %36, 16
  store i64 %37, ptr %7, align 8, !tbaa !11
  %38 = load i64, ptr %7, align 8, !tbaa !11
  %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %38)
  %40 = load i64, ptr %7, align 8, !tbaa !11
  %41 = and i64 %40, 8
  %42 = icmp ne i64 %41, 0
  br i1 %42, label %51, label %43

43:                                               ; preds = %34
  %44 = load i64, ptr %7, align 8, !tbaa !11
  %45 = and i64 %44, 4
  %46 = icmp eq i64 %45, 4
  br i1 %46, label %47, label %56

47:                                               ; preds = %43
  %48 = load i64, ptr %7, align 8, !tbaa !11
  %49 = and i64 %48, 2
  %50 = icmp ne i64 %49, 2
  br i1 %50, label %51, label %56

51:                                               ; preds = %47, %34
  %52 = call i32 @puts(ptr noundef @.str.11)
  %53 = call i32 @puts(ptr noundef @.str.12)
  %54 = call i32 @puts(ptr noundef @.str.13)
  %55 = call i32 @puts(ptr noundef @.str.14)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %104

56:                                               ; preds = %47, %43
  %57 = call noalias ptr @malloc(i64 noundef 1240) #7
  store ptr %57, ptr %3, align 8, !tbaa !5
  %58 = call noalias ptr @malloc(i64 noundef 24) #7
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  call void @free(ptr noundef %59) #6
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  call void @free(ptr noundef %60) #6
  %61 = call noalias ptr @malloc(i64 noundef 1256) #7
  store ptr %61, ptr %2, align 8, !tbaa !5
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  call void @free(ptr noundef %62) #6
  store ptr getelementptr inbounds (i8, ptr @target, i64 -16), ptr %4, align 8, !tbaa !5
  %63 = call i32 @puts(ptr noundef @.str.15)
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = ptrtoint ptr %64 to i64
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds i64, ptr %66, i64 1
  store i64 %65, ptr %67, align 8, !tbaa !11
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = ptrtoint ptr %68 to i64
  %70 = add i64 %69, 8
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds i64, ptr %71, i64 1
  store i64 %70, ptr %72, align 8, !tbaa !11
  %73 = call i32 @puts(ptr noundef @.str.16)
  %74 = call i32 @puts(ptr noundef @.str.17)
  %75 = call i32 @puts(ptr noundef @.str.18)
  %76 = call i32 @puts(ptr noundef @.str.19)
  %77 = call i32 @puts(ptr noundef @.str.20)
  %78 = call i32 @puts(ptr noundef @.str.21)
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = ptrtoint ptr %79 to i64
  %81 = sub i64 %80, 24
  %82 = load i32, ptr %6, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = sub i64 %81, %83
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds i64, ptr %85, i64 3
  store i64 %84, ptr %86, align 8, !tbaa !11
  %87 = call i32 @puts(ptr noundef @.str.22)
  %88 = call i32 @puts(ptr noundef @.str.23)
  %89 = call i32 @puts(ptr noundef @.str.24)
  %90 = call i32 @puts(ptr noundef @.str.25)
  %91 = call i32 @puts(ptr noundef @.str.26)
  %92 = call i32 @puts(ptr noundef @.str.27)
  %93 = call i32 @puts(ptr noundef @.str.28)
  %94 = call i32 @puts(ptr noundef @.str.29)
  %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef @target)
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef @target)
  %97 = load i64, ptr %7, align 8, !tbaa !11
  %98 = call noalias ptr @malloc(i64 noundef %97) #7
  store ptr %98, ptr %5, align 8, !tbaa !5
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = call ptr @strncpy(ptr noundef %99, ptr noundef @.str.32, i64 noundef 87) #6
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef @target)
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.34, ptr noundef %102)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  br label %104

104:                                              ; preds = %56, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, 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
  %105 = load i32, ptr %1, align 4
  ret i32 %105
}

declare i32 @puts(ptr noundef) #2

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

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

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

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

; Function Attrs: nounwind
declare ptr @strncpy(ptr noundef, ptr noundef, i64 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 = { "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 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 #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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"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 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@target = external dso_local global [96 x i8], align 16
@.str.15 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @init() local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main() local_unnamed_addr #0 {
  tail call void @init()
  %1 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str)
  %2 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.1)
  %3 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  %4 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.3)
  %5 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.4)
  %6 = tail call noalias dereferenceable_or_null(1256) ptr @malloc(i64 noundef 1256) #6
  %7 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.5)
  %8 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.6)
  %9 = tail call i32 @get_shift_amount(ptr noundef %6)
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %9)
  %11 = ptrtoint ptr %6 to i64
  %12 = shl nsw i32 %9, 3
  %13 = zext nneg i32 %12 to i64
  %14 = lshr i64 %11, %13
  %15 = icmp ult i64 %14, 16
  br i1 %15, label %16, label %19

16:                                               ; preds = %0
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i64 noundef %14)
  %18 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.9)
  tail call void @exit(i32 noundef 1) #7
  unreachable

19:                                               ; preds = %0
  %20 = and i64 %14, 68719476734
  %21 = add nsw i64 %20, -16
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i64 noundef %21)
  %23 = and i64 %14, 8
  %.not = icmp ne i64 %23, 0
  %24 = and i64 %14, 6
  %or.cond = icmp eq i64 %24, 4
  %or.cond27 = or i1 %.not, %or.cond
  br i1 %or.cond27, label %25, label %30

25:                                               ; preds = %19
  %26 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.11)
  %27 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.12)
  %28 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.13)
  %29 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.14)
  br label %52

30:                                               ; preds = %19
  tail call void @free(ptr noundef %6) #8
  %31 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.15)
  %32 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.16)
  %33 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.17)
  %34 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.18)
  %35 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.19)
  %36 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.20)
  %37 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.21)
  %38 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.22)
  %39 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.23)
  %40 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.24)
  %41 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.25)
  %42 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.26)
  %43 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.27)
  %44 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.28)
  %45 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.29)
  %46 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, ptr noundef nonnull @target)
  %47 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31, ptr noundef nonnull @target)
  %48 = tail call noalias ptr @malloc(i64 noundef %21) #6
  %49 = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %48, ptr noundef nonnull dereferenceable(1) @.str.32, i64 noundef 87) #8
  %50 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.33, ptr noundef nonnull @target)
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34, ptr noundef %48)
  br label %52

52:                                               ; preds = %30, %25
  %.0 = phi i32 [ 1, %25 ], [ 0, %30 ]
  ret i32 %.0
}

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

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

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 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 nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #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 = { 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 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 #3 = { 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 #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 nofree nounwind willreturn memory(argmem: readwrite) "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 allocsize(0) }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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)"}


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