; LLVM IR from shellphish/how2heap :: glibc_2.32 (house_of_tangerine)

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

@__const.main.win = external hidden unnamed_addr constant [16 x i8], align 16
@stdout = external global ptr, align 8
@stdin = external global ptr, align 8
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i64, align 8
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca [16 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.win, i64 16, i1 false)
  %10 = load ptr, ptr @stdout, align 8, !tbaa !5
  %11 = call i32 @setvbuf(ptr noundef %10, ptr noundef null, i32 noundef 2, i64 noundef 0) #7
  %12 = load ptr, ptr @stdin, align 8, !tbaa !5
  %13 = call i32 @setvbuf(ptr noundef %12, ptr noundef null, i32 noundef 2, i64 noundef 0) #7
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = call i32 @setvbuf(ptr noundef %14, ptr noundef null, i32 noundef 2, i64 noundef 0) #7
  %16 = call i64 @sysconf(i32 noundef 30) #7
  %17 = sub nsw i64 %16, 32
  %18 = sub nsw i64 %17, 64
  %19 = and i64 %18, -16
  %20 = call i64 @sysconf(i32 noundef 30) #7
  %21 = sub nsw i64 %20, 32
  %22 = sub nsw i64 %21, 64
  %23 = icmp eq i64 %19, %22
  br i1 %23, label %24, label %25

24:                                               ; preds = %0
  br label %26

25:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 65, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

26:                                               ; preds = %24
  %27 = call i32 @puts(ptr noundef @.str.2)
  %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 16)
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 16)
  %30 = call i64 @sysconf(i32 noundef 30) #7
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %30)
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 32)
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 48)
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef 96)
  %35 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
  %36 = ptrtoint ptr %35 to i64
  %37 = add i64 %36, 15
  %38 = and i64 %37, -16
  store i64 %38, ptr %7, align 8, !tbaa !9
  %39 = call noalias ptr @malloc(i64 noundef 16) #9
  store ptr %39, ptr %8, align 8, !tbaa !5
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = getelementptr inbounds i64, ptr %40, i64 3
  %42 = load i64, ptr %41, align 8, !tbaa !9
  store i64 %42, ptr %3, align 8, !tbaa !9
  %43 = load i64, ptr %3, align 8, !tbaa !9
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %43)
  %45 = load i64, ptr %3, align 8, !tbaa !9
  %46 = sub i64 %45, 16
  %47 = sub i64 %46, 32
  %48 = sub i64 %47, 64
  store i64 %48, ptr %1, align 8, !tbaa !9
  %49 = call i64 @sysconf(i32 noundef 30) #7
  %50 = sub nsw i64 %49, 1
  %51 = load i64, ptr %1, align 8, !tbaa !9
  %52 = and i64 %51, %50
  store i64 %52, ptr %1, align 8, !tbaa !9
  %53 = load i64, ptr %1, align 8, !tbaa !9
  %54 = and i64 %53, -16
  store i64 %54, ptr %1, align 8, !tbaa !9
  %55 = load i64, ptr %1, align 8, !tbaa !9
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i64 noundef %55)
  %57 = load i64, ptr %1, align 8, !tbaa !9
  %58 = call noalias ptr @malloc(i64 noundef %57) #9
  store ptr %58, ptr %8, align 8, !tbaa !5
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = load i64, ptr %1, align 8, !tbaa !9
  %61 = udiv i64 %60, 8
  %62 = sub i64 %61, 1
  %63 = add i64 %62, 2
  %64 = getelementptr inbounds i64, ptr %59, i64 %63
  store ptr %64, ptr %2, align 8, !tbaa !5
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = load i64, ptr %65, align 8, !tbaa !9
  store i64 %66, ptr %3, align 8, !tbaa !9
  %67 = load i64, ptr %3, align 8, !tbaa !9
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %67)
  %69 = load i64, ptr %3, align 8, !tbaa !9
  %70 = call i64 @sysconf(i32 noundef 30) #7
  %71 = sub nsw i64 %70, 1
  %72 = and i64 %69, %71
  store i64 %72, ptr %4, align 8, !tbaa !9
  %73 = load i64, ptr %4, align 8, !tbaa !9
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  store i64 %73, ptr %74, align 8, !tbaa !9
  %75 = load i64, ptr %4, align 8, !tbaa !9
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i64 noundef %75)
  %77 = load i64, ptr %4, align 8, !tbaa !9
  %78 = sub i64 %77, 32
  %79 = and i64 %78, -16
  store i64 %79, ptr %5, align 8, !tbaa !9
  %80 = load i64, ptr %5, align 8, !tbaa !9
  %81 = icmp eq i64 %80, 64
  br i1 %81, label %82, label %83

82:                                               ; preds = %26
  br label %84

83:                                               ; preds = %26
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 113, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

84:                                               ; preds = %82
  %85 = call i64 @sysconf(i32 noundef 30) #7
  %86 = sub nsw i64 %85, 32
  %87 = sub nsw i64 %86, 64
  %88 = sub i64 %87, 16
  %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i64 noundef %88)
  %90 = call i64 @sysconf(i32 noundef 30) #7
  %91 = sub nsw i64 %90, 32
  %92 = sub nsw i64 %91, 64
  %93 = sub i64 %92, 16
  %94 = call noalias ptr @malloc(i64 noundef %93) #9
  store ptr %94, ptr %8, align 8, !tbaa !5
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = call i64 @sysconf(i32 noundef 30) #7
  %97 = sub nsw i64 %96, 32
  %98 = sub nsw i64 %97, 64
  %99 = sub i64 %98, 16
  %100 = udiv i64 %99, 8
  %101 = add i64 %100, 1
  %102 = getelementptr inbounds i64, ptr %95, i64 %101
  %103 = load i64, ptr %102, align 8, !tbaa !9
  store i64 %103, ptr %3, align 8, !tbaa !9
  %104 = load i64, ptr %3, align 8, !tbaa !9
  %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i64 noundef %104)
  %106 = load i64, ptr %3, align 8, !tbaa !9
  %107 = call i64 @sysconf(i32 noundef 30) #7
  %108 = sub nsw i64 %107, 1
  %109 = and i64 %106, %108
  store i64 %109, ptr %4, align 8, !tbaa !9
  %110 = load i64, ptr %4, align 8, !tbaa !9
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = call i64 @sysconf(i32 noundef 30) #7
  %113 = sub nsw i64 %112, 32
  %114 = sub nsw i64 %113, 64
  %115 = sub i64 %114, 16
  %116 = udiv i64 %115, 8
  %117 = add i64 %116, 1
  %118 = getelementptr inbounds i64, ptr %111, i64 %117
  store i64 %110, ptr %118, align 8, !tbaa !9
  %119 = load i64, ptr %4, align 8, !tbaa !9
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i64 noundef %119)
  %121 = load i64, ptr %4, align 8, !tbaa !9
  %122 = sub i64 %121, 32
  %123 = and i64 %122, -16
  store i64 %123, ptr %5, align 8, !tbaa !9
  %124 = load i64, ptr %5, align 8, !tbaa !9
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, i64 noundef %124)
  %126 = load i64, ptr %5, align 8, !tbaa !9
  %127 = icmp eq i64 %126, 64
  br i1 %127, label %128, label %129

128:                                              ; preds = %84
  br label %130

129:                                              ; preds = %84
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 138, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

130:                                              ; preds = %128
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = call i64 @sysconf(i32 noundef 30) #7
  %133 = sub nsw i64 %132, 32
  %134 = sub nsw i64 %133, 64
  %135 = sub i64 %134, 16
  %136 = udiv i64 %135, 8
  %137 = add i64 %136, 2
  %138 = getelementptr inbounds i64, ptr %131, i64 %137
  %139 = ptrtoint ptr %138 to i64
  store i64 %139, ptr %6, align 8, !tbaa !9
  %140 = load i64, ptr %6, align 8, !tbaa !9
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i64 noundef %140)
  %142 = call i64 @sysconf(i32 noundef 30) #7
  %143 = sub nsw i64 %142, 32
  %144 = sub nsw i64 %143, 64
  %145 = sub i64 %144, 16
  %146 = call noalias ptr @malloc(i64 noundef %145) #9
  store ptr %146, ptr %8, align 8, !tbaa !5
  %147 = load i64, ptr %7, align 8, !tbaa !9
  %148 = load i64, ptr %6, align 8, !tbaa !9
  %149 = lshr i64 %148, 12
  %150 = xor i64 %147, %149
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  %152 = load i64, ptr %6, align 8, !tbaa !9
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = ptrtoint ptr %153 to i64
  %155 = sub i64 %152, %154
  %156 = udiv i64 %155, 8
  %157 = getelementptr inbounds i64, ptr %151, i64 %156
  store i64 %150, ptr %157, align 8, !tbaa !9
  %158 = call noalias ptr @malloc(i64 noundef 48) #9
  store ptr %158, ptr %8, align 8, !tbaa !5
  %159 = call noalias ptr @malloc(i64 noundef 48) #9
  store ptr %159, ptr %8, align 8, !tbaa !5
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  %161 = ptrtoint ptr %160 to i64
  %162 = load i64, ptr %7, align 8, !tbaa !9
  %163 = icmp eq i64 %161, %162
  br i1 %163, label %164, label %165

164:                                              ; preds = %130
  br label %166

165:                                              ; preds = %130
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 159, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

166:                                              ; preds = %164
  %167 = load ptr, ptr %8, align 8, !tbaa !5
  %168 = call i32 @puts(ptr noundef %167)
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  ret i32 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i64 noundef) #3

; Function Attrs: nounwind
declare i64 @sysconf(i32 noundef) #3

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

declare i32 @puts(ptr noundef) #5

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

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

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 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 #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { nounwind allocsize(0) }

!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
@stdin = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1

; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = load ptr, ptr @stdout, align 8, !tbaa !5
  %2 = tail call i32 @setvbuf(ptr noundef %1, ptr noundef null, i32 noundef 2, i64 noundef 0) #4
  %3 = load ptr, ptr @stdin, align 8, !tbaa !5
  %4 = tail call i32 @setvbuf(ptr noundef %3, ptr noundef null, i32 noundef 2, i64 noundef 0) #4
  %5 = load ptr, ptr @stderr, align 8, !tbaa !5
  %6 = tail call i32 @setvbuf(ptr noundef %5, ptr noundef null, i32 noundef 2, i64 noundef 0) #4
  %7 = tail call i64 @sysconf(i32 noundef 30) #4
  %8 = and i64 %7, -16
  %9 = tail call i64 @sysconf(i32 noundef 30) #4
  %10 = icmp eq i64 %8, %9
  br i1 %10, label %12, label %11

11:                                               ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 65, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #5
  unreachable

12:                                               ; preds = %0
  %13 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  %14 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef 16)
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 16)
  %16 = tail call i64 @sysconf(i32 noundef 30) #4
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i64 noundef %16)
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef 32)
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 48)
  %20 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i64 noundef 96)
  %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef undef)
  %22 = tail call i64 @sysconf(i32 noundef 30) #4
  %23 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, i64 noundef 0)
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef undef)
  %25 = tail call i64 @sysconf(i32 noundef 30) #4
  %26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i64 noundef 0)
  tail call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 113, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #5
  unreachable
}

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

; Function Attrs: nounwind
declare i64 @sysconf(i32 noundef) local_unnamed_addr #2

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

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

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

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 = { 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 #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 = { nounwind }
attributes #5 = { 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"}


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