; LLVM IR from lolosssss/leetcode :: c (48_rotate_image)

; 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 [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @rotate(ptr noundef, i32 noundef, i32 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 i32, align 4
  %4 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #4
  store ptr null, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %5 = call noalias ptr @malloc(i64 noundef 80) #5
  store ptr %5, ptr %2, align 8, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %6

6:                                                ; preds = %15, %0
  %7 = load i32, ptr %3, align 4, !tbaa !9
  %8 = icmp slt i32 %7, 10
  br i1 %8, label %9, label %18

9:                                                ; preds = %6
  %10 = call noalias ptr @malloc(i64 noundef 40) #5
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = load i32, ptr %3, align 4, !tbaa !9
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds ptr, ptr %11, i64 %13
  store ptr %10, ptr %14, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %9
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %3, align 4, !tbaa !9
  br label %6, !llvm.loop !11

18:                                               ; preds = %6
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %43, %18
  %20 = load i32, ptr %3, align 4, !tbaa !9
  %21 = icmp slt i32 %20, 10
  br i1 %21, label %22, label %46

22:                                               ; preds = %19
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %39, %22
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = icmp slt i32 %24, 10
  br i1 %25, label %26, label %42

26:                                               ; preds = %23
  %27 = load i32, ptr %3, align 4, !tbaa !9
  %28 = mul nsw i32 %27, 10
  %29 = load i32, ptr %4, align 4, !tbaa !9
  %30 = add nsw i32 %28, %29
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = load i32, ptr %3, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %31, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = load i32, ptr %4, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i32, ptr %35, i64 %37
  store i32 %30, ptr %38, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %26
  %40 = load i32, ptr %4, align 4, !tbaa !9
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %4, align 4, !tbaa !9
  br label %23, !llvm.loop !13

42:                                               ; preds = %23
  br label %43

43:                                               ; preds = %42
  %44 = load i32, ptr %3, align 4, !tbaa !9
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %3, align 4, !tbaa !9
  br label %19, !llvm.loop !14

46:                                               ; preds = %19
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %70, %46
  %48 = load i32, ptr %3, align 4, !tbaa !9
  %49 = icmp slt i32 %48, 10
  br i1 %49, label %50, label %73

50:                                               ; preds = %47
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %65, %50
  %52 = load i32, ptr %4, align 4, !tbaa !9
  %53 = icmp slt i32 %52, 10
  br i1 %53, label %54, label %68

54:                                               ; preds = %51
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = load i32, ptr %3, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds ptr, ptr %55, i64 %57
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  %60 = load i32, ptr %4, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds i32, ptr %59, i64 %61
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %63)
  br label %65

65:                                               ; preds = %54
  %66 = load i32, ptr %4, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %4, align 4, !tbaa !9
  br label %51, !llvm.loop !15

68:                                               ; preds = %51
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %70

70:                                               ; preds = %68
  %71 = load i32, ptr %3, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %3, align 4, !tbaa !9
  br label %47, !llvm.loop !16

73:                                               ; preds = %47
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  call void @rotate(ptr noundef %74, i32 noundef 10, i32 noundef 10)
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %99, %73
  %77 = load i32, ptr %3, align 4, !tbaa !9
  %78 = icmp slt i32 %77, 10
  br i1 %78, label %79, label %102

79:                                               ; preds = %76
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %94, %79
  %81 = load i32, ptr %4, align 4, !tbaa !9
  %82 = icmp slt i32 %81, 10
  br i1 %82, label %83, label %97

83:                                               ; preds = %80
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = load i32, ptr %3, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds ptr, ptr %84, i64 %86
  %88 = load ptr, ptr %87, align 8, !tbaa !5
  %89 = load i32, ptr %4, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds i32, ptr %88, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !9
  %93 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %92)
  br label %94

94:                                               ; preds = %83
  %95 = load i32, ptr %4, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %4, align 4, !tbaa !9
  br label %80, !llvm.loop !17

97:                                               ; preds = %80
  %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %99

99:                                               ; preds = %97
  %100 = load i32, ptr %3, align 4, !tbaa !9
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %3, align 4, !tbaa !9
  br label %76, !llvm.loop !18

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

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

declare i32 @printf(ptr noundef, ...) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "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 = { 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 = !{!"int", !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}
!18 = distinct !{!18, !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"

@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.preheader32.preheader:
  %0 = tail call noalias dereferenceable_or_null(80) ptr @malloc(i64 noundef 80) #3
  %1 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  store ptr %1, ptr %0, align 8, !tbaa !5
  %2 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %2, ptr %3, align 8, !tbaa !5
  %4 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %4, ptr %5, align 8, !tbaa !5
  %6 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %6, ptr %7, align 8, !tbaa !5
  %8 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %8, ptr %9, align 8, !tbaa !5
  %10 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %10, ptr %11, align 8, !tbaa !5
  %12 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %12, ptr %13, align 8, !tbaa !5
  %14 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %14, ptr %15, align 8, !tbaa !5
  %16 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %17 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %16, ptr %17, align 8, !tbaa !5
  %18 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #3
  %19 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %18, ptr %19, align 8, !tbaa !5
  store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, ptr %1, align 4, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %1, i64 16
  store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, ptr %20, align 4, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %1, i64 32
  store i32 8, ptr %21, align 4, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %1, i64 36
  store i32 9, ptr %22, align 4, !tbaa !9
  store <4 x i32> <i32 10, i32 11, i32 12, i32 13>, ptr %2, align 4, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %2, i64 16
  store <4 x i32> <i32 14, i32 15, i32 16, i32 17>, ptr %23, align 4, !tbaa !9
  %24 = getelementptr inbounds i8, ptr %2, i64 32
  store i32 18, ptr %24, align 4, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %2, i64 36
  store i32 19, ptr %25, align 4, !tbaa !9
  store <4 x i32> <i32 20, i32 21, i32 22, i32 23>, ptr %4, align 4, !tbaa !9
  %26 = getelementptr inbounds i8, ptr %4, i64 16
  store <4 x i32> <i32 24, i32 25, i32 26, i32 27>, ptr %26, align 4, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %4, i64 32
  store i32 28, ptr %27, align 4, !tbaa !9
  %28 = getelementptr inbounds i8, ptr %4, i64 36
  store i32 29, ptr %28, align 4, !tbaa !9
  store <4 x i32> <i32 30, i32 31, i32 32, i32 33>, ptr %6, align 4, !tbaa !9
  %29 = getelementptr inbounds i8, ptr %6, i64 16
  store <4 x i32> <i32 34, i32 35, i32 36, i32 37>, ptr %29, align 4, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %6, i64 32
  store i32 38, ptr %30, align 4, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %6, i64 36
  store i32 39, ptr %31, align 4, !tbaa !9
  store <4 x i32> <i32 40, i32 41, i32 42, i32 43>, ptr %8, align 4, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %8, i64 16
  store <4 x i32> <i32 44, i32 45, i32 46, i32 47>, ptr %32, align 4, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %8, i64 32
  store i32 48, ptr %33, align 4, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %8, i64 36
  store i32 49, ptr %34, align 4, !tbaa !9
  %35 = load ptr, ptr %11, align 8, !tbaa !5
  store <4 x i32> <i32 50, i32 51, i32 52, i32 53>, ptr %35, align 4, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  store <4 x i32> <i32 54, i32 55, i32 56, i32 57>, ptr %36, align 4, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %35, i64 32
  store i32 58, ptr %37, align 4, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %35, i64 36
  store i32 59, ptr %38, align 4, !tbaa !9
  %39 = load ptr, ptr %13, align 8, !tbaa !5
  store <4 x i32> <i32 60, i32 61, i32 62, i32 63>, ptr %39, align 4, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  store <4 x i32> <i32 64, i32 65, i32 66, i32 67>, ptr %40, align 4, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %39, i64 32
  store i32 68, ptr %41, align 4, !tbaa !9
  %42 = getelementptr inbounds i8, ptr %39, i64 36
  store i32 69, ptr %42, align 4, !tbaa !9
  %43 = load ptr, ptr %15, align 8, !tbaa !5
  store <4 x i32> <i32 70, i32 71, i32 72, i32 73>, ptr %43, align 4, !tbaa !9
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  store <4 x i32> <i32 74, i32 75, i32 76, i32 77>, ptr %44, align 4, !tbaa !9
  %45 = getelementptr inbounds i8, ptr %43, i64 32
  store i32 78, ptr %45, align 4, !tbaa !9
  %46 = getelementptr inbounds i8, ptr %43, i64 36
  store i32 79, ptr %46, align 4, !tbaa !9
  %47 = load ptr, ptr %17, align 8, !tbaa !5
  store <4 x i32> <i32 80, i32 81, i32 82, i32 83>, ptr %47, align 4, !tbaa !9
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  store <4 x i32> <i32 84, i32 85, i32 86, i32 87>, ptr %48, align 4, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %47, i64 32
  store i32 88, ptr %49, align 4, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %47, i64 36
  store i32 89, ptr %50, align 4, !tbaa !9
  %51 = load ptr, ptr %19, align 8, !tbaa !5
  store <4 x i32> <i32 90, i32 91, i32 92, i32 93>, ptr %51, align 4, !tbaa !9
  %52 = getelementptr inbounds i8, ptr %51, i64 16
  store <4 x i32> <i32 94, i32 95, i32 96, i32 97>, ptr %52, align 4, !tbaa !9
  %53 = getelementptr inbounds i8, ptr %51, i64 32
  store i32 98, ptr %53, align 4, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %51, i64 36
  store i32 99, ptr %54, align 4, !tbaa !9
  br label %.preheader30

.preheader30:                                     ; preds = %.preheader32.preheader, %.preheader30
  %indvars.iv = phi i64 [ 0, %.preheader32.preheader ], [ %indvars.iv.next, %.preheader30 ]
  %55 = getelementptr inbounds ptr, ptr %0, i64 %indvars.iv
  %56 = load ptr, ptr %55, align 8, !tbaa !5
  %57 = load i32, ptr %56, align 4, !tbaa !9
  %58 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %57)
  %59 = getelementptr inbounds i8, ptr %56, i64 4
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %60)
  %62 = getelementptr inbounds i8, ptr %56, i64 8
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %63)
  %65 = getelementptr inbounds i8, ptr %56, i64 12
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %66)
  %68 = getelementptr inbounds i8, ptr %56, i64 16
  %69 = load i32, ptr %68, align 4, !tbaa !9
  %70 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %69)
  %71 = getelementptr inbounds i8, ptr %56, i64 20
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %72)
  %74 = getelementptr inbounds i8, ptr %56, i64 24
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %75)
  %77 = getelementptr inbounds i8, ptr %56, i64 28
  %78 = load i32, ptr %77, align 4, !tbaa !9
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %78)
  %80 = getelementptr inbounds i8, ptr %56, i64 32
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %81)
  %83 = getelementptr inbounds i8, ptr %56, i64 36
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %84)
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 10
  br i1 %exitcond.not, label %87, label %.preheader30, !llvm.loop !11

87:                                               ; preds = %.preheader30
  tail call void @rotate(ptr noundef nonnull %0, i32 noundef 10, i32 noundef 10)
  %88 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %.preheader

.preheader:                                       ; preds = %87, %.preheader
  %indvars.iv50 = phi i64 [ 0, %87 ], [ %indvars.iv.next51, %.preheader ]
  %89 = getelementptr inbounds ptr, ptr %0, i64 %indvars.iv50
  %90 = load ptr, ptr %89, align 8, !tbaa !5
  %91 = load i32, ptr %90, align 4, !tbaa !9
  %92 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %91)
  %93 = load ptr, ptr %89, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 4
  %95 = load i32, ptr %94, align 4, !tbaa !9
  %96 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %95)
  %97 = load ptr, ptr %89, align 8, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %97, i64 8
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %99)
  %101 = load ptr, ptr %89, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %101, i64 12
  %103 = load i32, ptr %102, align 4, !tbaa !9
  %104 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %103)
  %105 = load ptr, ptr %89, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %105, i64 16
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %107)
  %109 = load ptr, ptr %89, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i64 20
  %111 = load i32, ptr %110, align 4, !tbaa !9
  %112 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %111)
  %113 = load ptr, ptr %89, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %113, i64 24
  %115 = load i32, ptr %114, align 4, !tbaa !9
  %116 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %115)
  %117 = load ptr, ptr %89, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %117, i64 28
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %119)
  %121 = load ptr, ptr %89, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 32
  %123 = load i32, ptr %122, align 4, !tbaa !9
  %124 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %123)
  %125 = load ptr, ptr %89, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %125, i64 36
  %127 = load i32, ptr %126, align 4, !tbaa !9
  %128 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %127)
  %129 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %exitcond53.not = icmp eq i64 %indvars.iv.next51, 10
  br i1 %exitcond53.not, label %130, label %.preheader, !llvm.loop !13

130:                                              ; preds = %.preheader
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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 = { 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 #2 = { 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 #3 = { 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass