; LLVM IR from ShaneYCG/wflz :: example (main)

; 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 [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @HashData(ptr noundef, i64 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 @Malloc(i64 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 1, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = icmp slt i32 %17, 2
  br i1 %18, label %19, label %21

19:                                               ; preds = %2
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %135

21:                                               ; preds = %2
  %22 = load ptr, ptr %5, align 8, !tbaa !9
  %23 = getelementptr inbounds ptr, ptr %22, i64 1
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  store ptr %24, ptr %6, align 8, !tbaa !9
  %25 = load ptr, ptr %6, align 8, !tbaa !9
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %27 = load ptr, ptr %6, align 8, !tbaa !9
  %28 = call noalias ptr @fopen(ptr noundef %27, ptr noundef @.str.2)
  store ptr %28, ptr %16, align 8, !tbaa !9
  %29 = load ptr, ptr %16, align 8, !tbaa !9
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %34

31:                                               ; preds = %21
  %32 = load ptr, ptr %6, align 8, !tbaa !9
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %32)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %67

34:                                               ; preds = %21
  %35 = load ptr, ptr %16, align 8, !tbaa !9
  %36 = call i32 @fseek(ptr noundef %35, i64 noundef 0, i32 noundef 2)
  %37 = load ptr, ptr %16, align 8, !tbaa !9
  %38 = call i64 @ftell(ptr noundef %37)
  %39 = trunc i64 %38 to i32
  store i32 %39, ptr %11, align 4, !tbaa !5
  %40 = load i32, ptr %11, align 4, !tbaa !5
  %41 = zext i32 %40 to i64
  %42 = call ptr @Malloc(i64 noundef %41)
  store ptr %42, ptr %12, align 8, !tbaa !9
  %43 = load ptr, ptr %12, align 8, !tbaa !9
  %44 = icmp eq ptr %43, null
  br i1 %44, label %45, label %49

45:                                               ; preds = %34
  %46 = load ptr, ptr %16, align 8, !tbaa !9
  %47 = call i32 @fclose(ptr noundef %46)
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %67

49:                                               ; preds = %34
  %50 = load ptr, ptr %16, align 8, !tbaa !9
  %51 = call i32 @fseek(ptr noundef %50, i64 noundef 0, i32 noundef 0)
  %52 = load ptr, ptr %12, align 8, !tbaa !9
  %53 = load i32, ptr %11, align 4, !tbaa !5
  %54 = zext i32 %53 to i64
  %55 = load ptr, ptr %16, align 8, !tbaa !9
  %56 = call i64 @fread(ptr noundef %52, i64 noundef 1, i64 noundef %54, ptr noundef %55)
  %57 = load i32, ptr %11, align 4, !tbaa !5
  %58 = zext i32 %57 to i64
  %59 = icmp ne i64 %56, %58
  br i1 %59, label %60, label %64

60:                                               ; preds = %49
  %61 = load ptr, ptr %16, align 8, !tbaa !9
  %62 = call i32 @fclose(ptr noundef %61)
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %67

64:                                               ; preds = %49
  %65 = load ptr, ptr %16, align 8, !tbaa !9
  %66 = call i32 @fclose(ptr noundef %65)
  store i32 0, ptr %15, align 4
  br label %67

67:                                               ; preds = %64, %60, %45, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %68 = load i32, ptr %15, align 4
  switch i32 %68, label %135 [
    i32 0, label %69
  ]

69:                                               ; preds = %67
  %70 = call i32 (...) @wfLZ_GetWorkMemSize()
  %71 = zext i32 %70 to i64
  %72 = call ptr @Malloc(i64 noundef %71)
  store ptr %72, ptr %13, align 8, !tbaa !9
  %73 = load ptr, ptr %13, align 8, !tbaa !9
  %74 = icmp eq ptr %73, null
  br i1 %74, label %75, label %77

75:                                               ; preds = %69
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %135

77:                                               ; preds = %69
  %78 = load i32, ptr %11, align 4, !tbaa !5
  %79 = call i32 @wfLZ_GetMaxCompressedSize(i32 noundef %78)
  %80 = zext i32 %79 to i64
  %81 = call ptr @Malloc(i64 noundef %80)
  store ptr %81, ptr %14, align 8, !tbaa !9
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %89

84:                                               ; preds = %77
  %85 = load ptr, ptr %12, align 8, !tbaa !9
  %86 = load i32, ptr %11, align 4, !tbaa !5
  %87 = zext i32 %86 to i64
  %88 = call i64 @HashData(ptr noundef %85, i64 noundef %87)
  br label %90

89:                                               ; preds = %77
  br label %90

90:                                               ; preds = %89, %84
  %91 = phi i64 [ %88, %84 ], [ 0, %89 ]
  store i64 %91, ptr %8, align 8, !tbaa !11
  %92 = load ptr, ptr %12, align 8, !tbaa !9
  %93 = load i32, ptr %11, align 4, !tbaa !5
  %94 = load ptr, ptr %14, align 8, !tbaa !9
  %95 = load ptr, ptr %13, align 8, !tbaa !9
  %96 = call i32 @wfLZ_CompressFast(ptr noundef %92, i32 noundef %93, ptr noundef %94, ptr noundef %95, i32 noundef 0)
  store i32 %96, ptr %10, align 4, !tbaa !5
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %103

99:                                               ; preds = %90
  %100 = load ptr, ptr %12, align 8, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !5
  %102 = zext i32 %101 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %100, i8 0, i64 %102, i1 false)
  br label %103

103:                                              ; preds = %99, %90
  %104 = load ptr, ptr %14, align 8, !tbaa !9
  %105 = load ptr, ptr %12, align 8, !tbaa !9
  call void @wfLZ_Decompress(ptr noundef %104, ptr noundef %105)
  %106 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free(ptr noundef %106) #5
  %107 = load ptr, ptr %14, align 8, !tbaa !9
  call void @free(ptr noundef %107) #5
  %108 = load i32, ptr %7, align 4, !tbaa !5
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %115

110:                                              ; preds = %103
  %111 = load ptr, ptr %12, align 8, !tbaa !9
  %112 = load i32, ptr %11, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = call i64 @HashData(ptr noundef %111, i64 noundef %113)
  br label %116

115:                                              ; preds = %103
  br label %116

116:                                              ; preds = %115, %110
  %117 = phi i64 [ %114, %110 ], [ 0, %115 ]
  store i64 %117, ptr %9, align 8, !tbaa !11
  %118 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %118) #5
  %119 = load i32, ptr %10, align 4, !tbaa !5
  %120 = uitofp i32 %119 to float
  %121 = load i32, ptr %11, align 4, !tbaa !5
  %122 = uitofp i32 %121 to float
  %123 = fdiv float %120, %122
  %124 = fpext float %123 to double
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %124)
  %126 = load i32, ptr %7, align 4, !tbaa !5
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %134

128:                                              ; preds = %116
  %129 = load i64, ptr %8, align 8, !tbaa !11
  %130 = load i64, ptr %9, align 8, !tbaa !11
  %131 = icmp ne i64 %129, %130
  br i1 %131, label %132, label %134

132:                                              ; preds = %128
  %133 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %135

134:                                              ; preds = %128, %116
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %135

135:                                              ; preds = %134, %132, %75, %67, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  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 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %136 = load i32, ptr %3, align 4
  ret i32 %136
}

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

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

declare i64 @ftell(ptr noundef) #2

declare i32 @fclose(ptr noundef) #2

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

declare i32 @wfLZ_GetWorkMemSize(...) #2

declare i32 @wfLZ_GetMaxCompressedSize(i32 noundef) #2

declare i32 @wfLZ_CompressFast(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @wfLZ_Decompress(ptr noundef, ptr noundef) #2

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

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 }

!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, !10, i64 0}
!10 = !{!"any pointer", !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 [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = icmp slt i32 %0, 2
  br i1 %3, label %4, label %6

4:                                                ; preds = %2
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  br label %.thread

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %8)
  %10 = tail call noalias ptr @fopen(ptr noundef %8, ptr noundef nonnull @.str.2)
  %11 = icmp eq ptr %10, null
  br i1 %11, label %12, label %14

12:                                               ; preds = %6
  %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %8)
  br label %.thread

14:                                               ; preds = %6
  %15 = tail call i32 @fseek(ptr noundef nonnull %10, i64 noundef 0, i32 noundef 2)
  %16 = tail call i64 @ftell(ptr noundef nonnull %10)
  %17 = trunc i64 %16 to i32
  %18 = and i64 %16, 4294967295
  %19 = tail call ptr @Malloc(i64 noundef %18)
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %24

21:                                               ; preds = %14
  %22 = tail call i32 @fclose(ptr noundef nonnull %10)
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  br label %.thread

24:                                               ; preds = %14
  %25 = tail call i32 @fseek(ptr noundef nonnull %10, i64 noundef 0, i32 noundef 0)
  %26 = tail call i64 @fread(ptr noundef nonnull %19, i64 noundef 1, i64 noundef %18, ptr noundef nonnull %10)
  %.not = icmp eq i64 %26, %18
  %27 = tail call i32 @fclose(ptr noundef nonnull %10)
  br i1 %.not, label %30, label %28

28:                                               ; preds = %24
  %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  br label %.thread

30:                                               ; preds = %24
  %31 = tail call i32 (...) @wfLZ_GetWorkMemSize() #5
  %32 = zext i32 %31 to i64
  %33 = tail call ptr @Malloc(i64 noundef %32)
  %34 = icmp eq ptr %33, null
  br i1 %34, label %35, label %37

35:                                               ; preds = %30
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  br label %.thread

37:                                               ; preds = %30
  %38 = tail call i32 @wfLZ_GetMaxCompressedSize(i32 noundef %17) #5
  %39 = zext i32 %38 to i64
  %40 = tail call ptr @Malloc(i64 noundef %39)
  %41 = tail call i64 @HashData(ptr noundef nonnull %19, i64 noundef %18)
  %42 = tail call i32 @wfLZ_CompressFast(ptr noundef nonnull %19, i32 noundef %17, ptr noundef %40, ptr noundef nonnull %33, i32 noundef 0) #5
  tail call void @llvm.memset.p0.i64(ptr nonnull align 1 %19, i8 0, i64 %18, i1 false)
  tail call void @wfLZ_Decompress(ptr noundef %40, ptr noundef nonnull %19) #5
  tail call void @free(ptr noundef nonnull %33) #5
  tail call void @free(ptr noundef %40) #5
  %43 = tail call i64 @HashData(ptr noundef nonnull %19, i64 noundef %18)
  tail call void @free(ptr noundef nonnull %19) #5
  %44 = uitofp i32 %42 to float
  %45 = uitofp i32 %17 to float
  %46 = fdiv float %44, %45
  %47 = fpext float %46 to double
  %48 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %47)
  %.not50 = icmp eq i64 %41, %43
  br i1 %.not50, label %.thread, label %49

49:                                               ; preds = %37
  %50 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %.thread

.thread:                                          ; preds = %28, %21, %12, %37, %49, %35, %4
  %.1 = phi i32 [ 0, %4 ], [ 0, %35 ], [ -1, %49 ], [ 0, %37 ], [ 0, %12 ], [ 0, %21 ], [ 0, %28 ]
  ret i32 %.1
}

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #1

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

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture 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 #1

declare i32 @wfLZ_GetWorkMemSize(...) local_unnamed_addr #2

declare i32 @wfLZ_GetMaxCompressedSize(i32 noundef) local_unnamed_addr #2

declare i32 @wfLZ_CompressFast(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @wfLZ_Decompress(ptr noundef, ptr 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 #4

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 = { "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 nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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"}


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