; LLVM IR from mahendramahara/DSA-in-C-Programing :: GRAPH (Floyd-Warshall-Algorithm-Shortest-Paths)

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

; Function Attrs: nounwind uwtable
define dso_local void @floydWarshall(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca [4 x [4 x i32]], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %12

12:                                               ; preds = %40, %1
  %13 = load i32, ptr %4, align 4, !tbaa !9
  %14 = icmp slt i32 %13, 4
  br i1 %14, label %16, label %15

15:                                               ; preds = %12
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %43

16:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %36, %16
  %18 = load i32, ptr %6, align 4, !tbaa !9
  %19 = icmp slt i32 %18, 4
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  br label %39

21:                                               ; preds = %17
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = load i32, ptr %4, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [4 x i32], ptr %22, i64 %24
  %26 = load i32, ptr %6, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [4 x i32], ptr %25, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = load i32, ptr %4, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %31
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [4 x i32], ptr %32, i64 0, i64 %34
  store i32 %29, ptr %35, align 4, !tbaa !9
  br label %36

36:                                               ; preds = %21
  %37 = load i32, ptr %6, align 4, !tbaa !9
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %6, align 4, !tbaa !9
  br label %17, !llvm.loop !11

39:                                               ; preds = %20
  br label %40

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

43:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %131, %43
  %45 = load i32, ptr %7, align 4, !tbaa !9
  %46 = icmp slt i32 %45, 4
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %134

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %127, %48
  %50 = load i32, ptr %8, align 4, !tbaa !9
  %51 = icmp slt i32 %50, 4
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %130

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %123, %53
  %55 = load i32, ptr %9, align 4, !tbaa !9
  %56 = icmp slt i32 %55, 4
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  store i32 14, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %126

58:                                               ; preds = %54
  %59 = load i32, ptr %8, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %60
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [4 x i32], ptr %61, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !9
  %66 = icmp ne i32 %65, 2147483647
  br i1 %66, label %67, label %122

67:                                               ; preds = %58
  %68 = load i32, ptr %7, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %69
  %71 = load i32, ptr %9, align 4, !tbaa !9
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [4 x i32], ptr %70, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = icmp ne i32 %74, 2147483647
  br i1 %75, label %76, label %122

76:                                               ; preds = %67
  %77 = load i32, ptr %8, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %78
  %80 = load i32, ptr %7, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [4 x i32], ptr %79, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %85
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [4 x i32], ptr %86, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !9
  %91 = add nsw i32 %83, %90
  %92 = load i32, ptr %8, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %93
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [4 x i32], ptr %94, i64 0, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = icmp slt i32 %91, %98
  br i1 %99, label %100, label %122

100:                                              ; preds = %76
  %101 = load i32, ptr %8, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %102
  %104 = load i32, ptr %7, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [4 x i32], ptr %103, i64 0, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = load i32, ptr %7, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %109
  %111 = load i32, ptr %9, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [4 x i32], ptr %110, i64 0, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = add nsw i32 %107, %114
  %116 = load i32, ptr %8, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %117
  %119 = load i32, ptr %9, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [4 x i32], ptr %118, i64 0, i64 %120
  store i32 %115, ptr %121, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %100, %76, %67, %58
  br label %123

123:                                              ; preds = %122
  %124 = load i32, ptr %9, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %9, align 4, !tbaa !9
  br label %54, !llvm.loop !14

126:                                              ; preds = %57
  br label %127

127:                                              ; preds = %126
  %128 = load i32, ptr %8, align 4, !tbaa !9
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %8, align 4, !tbaa !9
  br label %49, !llvm.loop !15

130:                                              ; preds = %52
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %7, align 4, !tbaa !9
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %7, align 4, !tbaa !9
  br label %44, !llvm.loop !16

134:                                              ; preds = %47
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %171, %134
  %137 = load i32, ptr %10, align 4, !tbaa !9
  %138 = icmp slt i32 %137, 4
  br i1 %138, label %140, label %139

139:                                              ; preds = %136
  store i32 17, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %174

140:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %166, %140
  %142 = load i32, ptr %11, align 4, !tbaa !9
  %143 = icmp slt i32 %142, 4
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  store i32 20, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %169

145:                                              ; preds = %141
  %146 = load i32, ptr %10, align 4, !tbaa !9
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %147
  %149 = load i32, ptr %11, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [4 x i32], ptr %148, i64 0, i64 %150
  %152 = load i32, ptr %151, align 4, !tbaa !9
  %153 = icmp eq i32 %152, 2147483647
  br i1 %153, label %154, label %156

154:                                              ; preds = %145
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %165

156:                                              ; preds = %145
  %157 = load i32, ptr %10, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %158
  %160 = load i32, ptr %11, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [4 x i32], ptr %159, i64 0, i64 %161
  %163 = load i32, ptr %162, align 4, !tbaa !9
  %164 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %163)
  br label %165

165:                                              ; preds = %156, %154
  br label %166

166:                                              ; preds = %165
  %167 = load i32, ptr %11, align 4, !tbaa !9
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %11, align 4, !tbaa !9
  br label %141, !llvm.loop !17

169:                                              ; preds = %144
  %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %171

171:                                              ; preds = %169
  %172 = load i32, ptr %10, align 4, !tbaa !9
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %10, align 4, !tbaa !9
  br label %136, !llvm.loop !18

174:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #3
  ret void
}

; 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

declare i32 @printf(ptr noundef, ...) #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 = { 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 }

!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 [51 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local void @floydWarshall(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
.preheader50.preheader:
  %1 = alloca [4 x [4 x i32]], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(64) %0, i64 64, i1 false), !tbaa !5
  %2 = getelementptr inbounds i8, ptr %1, i64 4
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  %4 = getelementptr inbounds i8, ptr %1, i64 12
  %5 = getelementptr inbounds i8, ptr %1, i64 16
  %6 = getelementptr inbounds i8, ptr %1, i64 20
  %7 = getelementptr inbounds i8, ptr %1, i64 24
  %8 = getelementptr inbounds i8, ptr %1, i64 28
  %9 = getelementptr inbounds i8, ptr %1, i64 32
  %10 = getelementptr inbounds i8, ptr %1, i64 36
  %11 = getelementptr inbounds i8, ptr %1, i64 40
  %12 = getelementptr inbounds i8, ptr %1, i64 44
  %13 = getelementptr inbounds i8, ptr %1, i64 48
  %14 = getelementptr inbounds i8, ptr %1, i64 52
  %15 = getelementptr inbounds i8, ptr %1, i64 56
  %16 = getelementptr inbounds i8, ptr %1, i64 60
  %.promoted = load i32, ptr %1, align 16
  %.promoted129 = load i32, ptr %2, align 4
  %.promoted130 = load i32, ptr %3, align 8
  %.promoted131 = load i32, ptr %4, align 4
  %.promoted132 = load i32, ptr %5, align 16
  %.promoted133 = load i32, ptr %6, align 4
  %.promoted134 = load i32, ptr %7, align 8
  %.promoted135 = load i32, ptr %8, align 4
  %.promoted136 = load i32, ptr %9, align 16
  %.promoted137 = load i32, ptr %10, align 4
  %.promoted138 = load i32, ptr %11, align 8
  %.promoted139 = load i32, ptr %12, align 4
  %.promoted140 = load i32, ptr %13, align 16
  %.promoted141 = load i32, ptr %14, align 4
  %.promoted142 = load i32, ptr %15, align 8
  %.promoted143 = load i32, ptr %16, align 4
  br label %.preheader50

.preheader50:                                     ; preds = %.preheader50.preheader, %.split.us.3
  %17 = phi i32 [ %.promoted143, %.preheader50.preheader ], [ %115, %.split.us.3 ]
  %18 = phi i32 [ %.promoted142, %.preheader50.preheader ], [ %116, %.split.us.3 ]
  %19 = phi i32 [ %.promoted141, %.preheader50.preheader ], [ %117, %.split.us.3 ]
  %20 = phi i32 [ %.promoted140, %.preheader50.preheader ], [ %118, %.split.us.3 ]
  %21 = phi i32 [ %.promoted139, %.preheader50.preheader ], [ %89, %.split.us.3 ]
  %22 = phi i32 [ %.promoted138, %.preheader50.preheader ], [ %90, %.split.us.3 ]
  %23 = phi i32 [ %.promoted137, %.preheader50.preheader ], [ %91, %.split.us.3 ]
  %24 = phi i32 [ %.promoted136, %.preheader50.preheader ], [ %92, %.split.us.3 ]
  %25 = phi i32 [ %.promoted135, %.preheader50.preheader ], [ %63, %.split.us.3 ]
  %26 = phi i32 [ %.promoted134, %.preheader50.preheader ], [ %64, %.split.us.3 ]
  %27 = phi i32 [ %.promoted133, %.preheader50.preheader ], [ %65, %.split.us.3 ]
  %28 = phi i32 [ %.promoted132, %.preheader50.preheader ], [ %66, %.split.us.3 ]
  %29 = phi i32 [ %.promoted131, %.preheader50.preheader ], [ %38, %.split.us.3 ]
  %30 = phi i32 [ %.promoted130, %.preheader50.preheader ], [ %39, %.split.us.3 ]
  %31 = phi i32 [ %.promoted129, %.preheader50.preheader ], [ %40, %.split.us.3 ]
  %spec.store.select128 = phi i32 [ %.promoted, %.preheader50.preheader ], [ %spec.store.select127, %.split.us.3 ]
  %indvars.iv = phi i64 [ 0, %.preheader50.preheader ], [ %indvars.iv.next, %.split.us.3 ]
  %32 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 0, i64 %indvars.iv
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = icmp eq i32 %33, 2147483647
  br i1 %34, label %.split.us, label %.preheader49.split.preheader

.preheader:                                       ; preds = %.split.us.3
  %35 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %36 = load i32, ptr %1, align 16, !tbaa !5
  %37 = icmp eq i32 %36, 2147483647
  br i1 %37, label %137, label %139

.split.us:                                        ; preds = %.preheader49.split.1, %.preheader49.split.2, %.preheader49.split.3, %.preheader49.split.3.thread124, %135, %.preheader50
  %38 = phi i32 [ %29, %.preheader49.split.1 ], [ %29, %.preheader49.split.2 ], [ %29, %.preheader49.split.3 ], [ %29, %.preheader49.split.3.thread124 ], [ %spec.store.select.3, %135 ], [ %29, %.preheader50 ]
  %39 = phi i32 [ %30, %.preheader49.split.1 ], [ %30, %.preheader49.split.2 ], [ %spec.store.select.2, %.preheader49.split.3 ], [ %131, %.preheader49.split.3.thread124 ], [ %131, %135 ], [ %30, %.preheader50 ]
  %40 = phi i32 [ %31, %.preheader49.split.1 ], [ %spec.store.select.1, %.preheader49.split.2 ], [ %126, %.preheader49.split.3 ], [ %126, %.preheader49.split.3.thread124 ], [ %126, %135 ], [ %31, %.preheader50 ]
  %spec.store.select127 = phi i32 [ %spec.store.select, %.preheader49.split.1 ], [ %spec.store.select126, %.preheader49.split.2 ], [ %spec.store.select126, %.preheader49.split.3 ], [ %spec.store.select126, %.preheader49.split.3.thread124 ], [ %spec.store.select126, %135 ], [ %spec.store.select128, %.preheader50 ]
  %41 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 1, i64 %indvars.iv
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = icmp eq i32 %42, 2147483647
  br i1 %43, label %.split.us.1, label %.preheader49.split.preheader.1

.preheader49.split.preheader.1:                   ; preds = %.split.us
  %44 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 0
  %45 = load i32, ptr %44, align 16, !tbaa !5
  %.not48.168 = icmp eq i32 %45, 2147483647
  br i1 %.not48.168, label %.preheader49.split.1.1.thread, label %.preheader49.split.1.1

.preheader49.split.1.1:                           ; preds = %.preheader49.split.preheader.1
  %46 = add nsw i32 %45, %42
  %spec.store.select.169 = tail call i32 @llvm.smin.i32(i32 %46, i32 %28)
  store i32 %spec.store.select.169, ptr %5, align 16
  %.pre89 = load i32, ptr %41, align 4, !tbaa !5
  %.not.1.1 = icmp eq i32 %.pre89, 2147483647
  br i1 %.not.1.1, label %.split.us.1, label %.preheader49.split.1.1.thread

.preheader49.split.1.1.thread:                    ; preds = %.preheader49.split.preheader.1, %.preheader49.split.1.1
  %47 = phi i32 [ %spec.store.select.169, %.preheader49.split.1.1 ], [ %28, %.preheader49.split.preheader.1 ]
  %48 = phi i32 [ %.pre89, %.preheader49.split.1.1 ], [ %42, %.preheader49.split.preheader.1 ]
  %49 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 1
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %.not48.1.1 = icmp eq i32 %50, 2147483647
  br i1 %.not48.1.1, label %.preheader49.split.2.1.thread100, label %.preheader49.split.2.1

.preheader49.split.2.1:                           ; preds = %.preheader49.split.1.1.thread
  %51 = add nsw i32 %50, %48
  %spec.store.select.1.1 = tail call i32 @llvm.smin.i32(i32 %51, i32 %27)
  store i32 %spec.store.select.1.1, ptr %6, align 4
  %.pre90 = load i32, ptr %41, align 4, !tbaa !5
  %.not.2.1 = icmp eq i32 %.pre90, 2147483647
  br i1 %.not.2.1, label %.split.us.1, label %.preheader49.split.2.1.thread100

.preheader49.split.2.1.thread100:                 ; preds = %.preheader49.split.1.1.thread, %.preheader49.split.2.1
  %52 = phi i32 [ %spec.store.select.1.1, %.preheader49.split.2.1 ], [ %27, %.preheader49.split.1.1.thread ]
  %53 = phi i32 [ %.pre90, %.preheader49.split.2.1 ], [ %48, %.preheader49.split.1.1.thread ]
  %54 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 2
  %55 = load i32, ptr %54, align 8, !tbaa !5
  %.not48.2.1 = icmp eq i32 %55, 2147483647
  br i1 %.not48.2.1, label %.preheader49.split.3.1.thread103, label %.preheader49.split.3.1

.preheader49.split.3.1:                           ; preds = %.preheader49.split.2.1.thread100
  %56 = add nsw i32 %55, %53
  %spec.store.select.2.1 = tail call i32 @llvm.smin.i32(i32 %56, i32 %26)
  store i32 %spec.store.select.2.1, ptr %7, align 8
  %.pre91 = load i32, ptr %41, align 4, !tbaa !5
  %.not.3.1 = icmp eq i32 %.pre91, 2147483647
  br i1 %.not.3.1, label %.split.us.1, label %.preheader49.split.3.1.thread103

.preheader49.split.3.1.thread103:                 ; preds = %.preheader49.split.2.1.thread100, %.preheader49.split.3.1
  %57 = phi i32 [ %spec.store.select.2.1, %.preheader49.split.3.1 ], [ %26, %.preheader49.split.2.1.thread100 ]
  %58 = phi i32 [ %.pre91, %.preheader49.split.3.1 ], [ %53, %.preheader49.split.2.1.thread100 ]
  %59 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 3
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %.not48.3.1 = icmp eq i32 %60, 2147483647
  br i1 %.not48.3.1, label %.split.us.1, label %61

61:                                               ; preds = %.preheader49.split.3.1.thread103
  %62 = add nsw i32 %60, %58
  %spec.store.select.3.1 = tail call i32 @llvm.smin.i32(i32 %62, i32 %25)
  store i32 %spec.store.select.3.1, ptr %8, align 4
  br label %.split.us.1

.split.us.1:                                      ; preds = %.preheader49.split.1.1, %.preheader49.split.2.1, %.split.us, %.preheader49.split.3.1, %.preheader49.split.3.1.thread103, %61
  %63 = phi i32 [ %25, %.preheader49.split.1.1 ], [ %25, %.preheader49.split.2.1 ], [ %25, %.split.us ], [ %25, %.preheader49.split.3.1 ], [ %25, %.preheader49.split.3.1.thread103 ], [ %spec.store.select.3.1, %61 ]
  %64 = phi i32 [ %26, %.preheader49.split.1.1 ], [ %26, %.preheader49.split.2.1 ], [ %26, %.split.us ], [ %spec.store.select.2.1, %.preheader49.split.3.1 ], [ %57, %.preheader49.split.3.1.thread103 ], [ %57, %61 ]
  %65 = phi i32 [ %27, %.preheader49.split.1.1 ], [ %spec.store.select.1.1, %.preheader49.split.2.1 ], [ %27, %.split.us ], [ %52, %.preheader49.split.3.1 ], [ %52, %.preheader49.split.3.1.thread103 ], [ %52, %61 ]
  %66 = phi i32 [ %spec.store.select.169, %.preheader49.split.1.1 ], [ %47, %.preheader49.split.2.1 ], [ %28, %.split.us ], [ %47, %.preheader49.split.3.1 ], [ %47, %.preheader49.split.3.1.thread103 ], [ %47, %61 ]
  %67 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 2, i64 %indvars.iv
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = icmp eq i32 %68, 2147483647
  br i1 %69, label %.split.us.2, label %.preheader49.split.preheader.2

.preheader49.split.preheader.2:                   ; preds = %.split.us.1
  %70 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 0
  %71 = load i32, ptr %70, align 16, !tbaa !5
  %.not48.272 = icmp eq i32 %71, 2147483647
  br i1 %.not48.272, label %.preheader49.split.1.2.thread, label %.preheader49.split.1.2

.preheader49.split.1.2:                           ; preds = %.preheader49.split.preheader.2
  %72 = add nsw i32 %71, %68
  %spec.store.select.273 = tail call i32 @llvm.smin.i32(i32 %72, i32 %24)
  store i32 %spec.store.select.273, ptr %9, align 16
  %.pre92 = load i32, ptr %67, align 4, !tbaa !5
  %.not.1.2 = icmp eq i32 %.pre92, 2147483647
  br i1 %.not.1.2, label %.split.us.2, label %.preheader49.split.1.2.thread

.preheader49.split.1.2.thread:                    ; preds = %.preheader49.split.preheader.2, %.preheader49.split.1.2
  %73 = phi i32 [ %spec.store.select.273, %.preheader49.split.1.2 ], [ %24, %.preheader49.split.preheader.2 ]
  %74 = phi i32 [ %.pre92, %.preheader49.split.1.2 ], [ %68, %.preheader49.split.preheader.2 ]
  %75 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 1
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %.not48.1.2 = icmp eq i32 %76, 2147483647
  br i1 %.not48.1.2, label %.preheader49.split.2.2.thread107, label %.preheader49.split.2.2

.preheader49.split.2.2:                           ; preds = %.preheader49.split.1.2.thread
  %77 = add nsw i32 %76, %74
  %spec.store.select.1.2 = tail call i32 @llvm.smin.i32(i32 %77, i32 %23)
  store i32 %spec.store.select.1.2, ptr %10, align 4
  %.pre93 = load i32, ptr %67, align 4, !tbaa !5
  %.not.2.2 = icmp eq i32 %.pre93, 2147483647
  br i1 %.not.2.2, label %.split.us.2, label %.preheader49.split.2.2.thread107

.preheader49.split.2.2.thread107:                 ; preds = %.preheader49.split.1.2.thread, %.preheader49.split.2.2
  %78 = phi i32 [ %spec.store.select.1.2, %.preheader49.split.2.2 ], [ %23, %.preheader49.split.1.2.thread ]
  %79 = phi i32 [ %.pre93, %.preheader49.split.2.2 ], [ %74, %.preheader49.split.1.2.thread ]
  %80 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 2
  %81 = load i32, ptr %80, align 8, !tbaa !5
  %.not48.2.2 = icmp eq i32 %81, 2147483647
  br i1 %.not48.2.2, label %.preheader49.split.3.2.thread110, label %.preheader49.split.3.2

.preheader49.split.3.2:                           ; preds = %.preheader49.split.2.2.thread107
  %82 = add nsw i32 %81, %79
  %spec.store.select.2.2 = tail call i32 @llvm.smin.i32(i32 %82, i32 %22)
  store i32 %spec.store.select.2.2, ptr %11, align 8
  %.pre94 = load i32, ptr %67, align 4, !tbaa !5
  %.not.3.2 = icmp eq i32 %.pre94, 2147483647
  br i1 %.not.3.2, label %.split.us.2, label %.preheader49.split.3.2.thread110

.preheader49.split.3.2.thread110:                 ; preds = %.preheader49.split.2.2.thread107, %.preheader49.split.3.2
  %83 = phi i32 [ %spec.store.select.2.2, %.preheader49.split.3.2 ], [ %22, %.preheader49.split.2.2.thread107 ]
  %84 = phi i32 [ %.pre94, %.preheader49.split.3.2 ], [ %79, %.preheader49.split.2.2.thread107 ]
  %85 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 3
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %.not48.3.2 = icmp eq i32 %86, 2147483647
  br i1 %.not48.3.2, label %.split.us.2, label %87

87:                                               ; preds = %.preheader49.split.3.2.thread110
  %88 = add nsw i32 %86, %84
  %spec.store.select.3.2 = tail call i32 @llvm.smin.i32(i32 %88, i32 %21)
  store i32 %spec.store.select.3.2, ptr %12, align 4
  br label %.split.us.2

.split.us.2:                                      ; preds = %.preheader49.split.1.2, %.preheader49.split.2.2, %.split.us.1, %.preheader49.split.3.2, %.preheader49.split.3.2.thread110, %87
  %89 = phi i32 [ %21, %.preheader49.split.1.2 ], [ %21, %.preheader49.split.2.2 ], [ %21, %.split.us.1 ], [ %21, %.preheader49.split.3.2 ], [ %21, %.preheader49.split.3.2.thread110 ], [ %spec.store.select.3.2, %87 ]
  %90 = phi i32 [ %22, %.preheader49.split.1.2 ], [ %22, %.preheader49.split.2.2 ], [ %22, %.split.us.1 ], [ %spec.store.select.2.2, %.preheader49.split.3.2 ], [ %83, %.preheader49.split.3.2.thread110 ], [ %83, %87 ]
  %91 = phi i32 [ %23, %.preheader49.split.1.2 ], [ %spec.store.select.1.2, %.preheader49.split.2.2 ], [ %23, %.split.us.1 ], [ %78, %.preheader49.split.3.2 ], [ %78, %.preheader49.split.3.2.thread110 ], [ %78, %87 ]
  %92 = phi i32 [ %spec.store.select.273, %.preheader49.split.1.2 ], [ %73, %.preheader49.split.2.2 ], [ %24, %.split.us.1 ], [ %73, %.preheader49.split.3.2 ], [ %73, %.preheader49.split.3.2.thread110 ], [ %73, %87 ]
  %93 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 3, i64 %indvars.iv
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = icmp eq i32 %94, 2147483647
  br i1 %95, label %.split.us.3, label %.preheader49.split.preheader.3

.preheader49.split.preheader.3:                   ; preds = %.split.us.2
  %96 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 0
  %97 = load i32, ptr %96, align 16, !tbaa !5
  %.not48.376 = icmp eq i32 %97, 2147483647
  br i1 %.not48.376, label %.preheader49.split.1.3.thread, label %.preheader49.split.1.3

.preheader49.split.1.3:                           ; preds = %.preheader49.split.preheader.3
  %98 = add nsw i32 %97, %94
  %spec.store.select.377 = tail call i32 @llvm.smin.i32(i32 %98, i32 %20)
  store i32 %spec.store.select.377, ptr %13, align 16
  %.pre95 = load i32, ptr %93, align 4, !tbaa !5
  %.not.1.3 = icmp eq i32 %.pre95, 2147483647
  br i1 %.not.1.3, label %.split.us.3, label %.preheader49.split.1.3.thread

.preheader49.split.1.3.thread:                    ; preds = %.preheader49.split.preheader.3, %.preheader49.split.1.3
  %99 = phi i32 [ %spec.store.select.377, %.preheader49.split.1.3 ], [ %20, %.preheader49.split.preheader.3 ]
  %100 = phi i32 [ %.pre95, %.preheader49.split.1.3 ], [ %94, %.preheader49.split.preheader.3 ]
  %101 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 1
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %.not48.1.3 = icmp eq i32 %102, 2147483647
  br i1 %.not48.1.3, label %.preheader49.split.2.3.thread114, label %.preheader49.split.2.3

.preheader49.split.2.3:                           ; preds = %.preheader49.split.1.3.thread
  %103 = add nsw i32 %102, %100
  %spec.store.select.1.3 = tail call i32 @llvm.smin.i32(i32 %103, i32 %19)
  store i32 %spec.store.select.1.3, ptr %14, align 4
  %.pre96 = load i32, ptr %93, align 4, !tbaa !5
  %.not.2.3 = icmp eq i32 %.pre96, 2147483647
  br i1 %.not.2.3, label %.split.us.3, label %.preheader49.split.2.3.thread114

.preheader49.split.2.3.thread114:                 ; preds = %.preheader49.split.1.3.thread, %.preheader49.split.2.3
  %104 = phi i32 [ %spec.store.select.1.3, %.preheader49.split.2.3 ], [ %19, %.preheader49.split.1.3.thread ]
  %105 = phi i32 [ %.pre96, %.preheader49.split.2.3 ], [ %100, %.preheader49.split.1.3.thread ]
  %106 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 2
  %107 = load i32, ptr %106, align 8, !tbaa !5
  %.not48.2.3 = icmp eq i32 %107, 2147483647
  br i1 %.not48.2.3, label %.preheader49.split.3.3.thread117, label %.preheader49.split.3.3

.preheader49.split.3.3:                           ; preds = %.preheader49.split.2.3.thread114
  %108 = add nsw i32 %107, %105
  %spec.store.select.2.3 = tail call i32 @llvm.smin.i32(i32 %108, i32 %18)
  store i32 %spec.store.select.2.3, ptr %15, align 8
  %.pre97 = load i32, ptr %93, align 4, !tbaa !5
  %.not.3.3 = icmp eq i32 %.pre97, 2147483647
  br i1 %.not.3.3, label %.split.us.3, label %.preheader49.split.3.3.thread117

.preheader49.split.3.3.thread117:                 ; preds = %.preheader49.split.2.3.thread114, %.preheader49.split.3.3
  %109 = phi i32 [ %spec.store.select.2.3, %.preheader49.split.3.3 ], [ %18, %.preheader49.split.2.3.thread114 ]
  %110 = phi i32 [ %.pre97, %.preheader49.split.3.3 ], [ %105, %.preheader49.split.2.3.thread114 ]
  %111 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 3
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %.not48.3.3 = icmp eq i32 %112, 2147483647
  br i1 %.not48.3.3, label %.split.us.3, label %113

113:                                              ; preds = %.preheader49.split.3.3.thread117
  %114 = add nsw i32 %112, %110
  %spec.store.select.3.3 = tail call i32 @llvm.smin.i32(i32 %114, i32 %17)
  store i32 %spec.store.select.3.3, ptr %16, align 4
  br label %.split.us.3

.split.us.3:                                      ; preds = %.preheader49.split.1.3, %.preheader49.split.2.3, %.split.us.2, %.preheader49.split.3.3, %.preheader49.split.3.3.thread117, %113
  %115 = phi i32 [ %17, %.preheader49.split.1.3 ], [ %17, %.preheader49.split.2.3 ], [ %17, %.split.us.2 ], [ %17, %.preheader49.split.3.3 ], [ %17, %.preheader49.split.3.3.thread117 ], [ %spec.store.select.3.3, %113 ]
  %116 = phi i32 [ %18, %.preheader49.split.1.3 ], [ %18, %.preheader49.split.2.3 ], [ %18, %.split.us.2 ], [ %spec.store.select.2.3, %.preheader49.split.3.3 ], [ %109, %.preheader49.split.3.3.thread117 ], [ %109, %113 ]
  %117 = phi i32 [ %19, %.preheader49.split.1.3 ], [ %spec.store.select.1.3, %.preheader49.split.2.3 ], [ %19, %.split.us.2 ], [ %104, %.preheader49.split.3.3 ], [ %104, %.preheader49.split.3.3.thread117 ], [ %104, %113 ]
  %118 = phi i32 [ %spec.store.select.377, %.preheader49.split.1.3 ], [ %99, %.preheader49.split.2.3 ], [ %20, %.split.us.2 ], [ %99, %.preheader49.split.3.3 ], [ %99, %.preheader49.split.3.3.thread117 ], [ %99, %113 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4
  br i1 %exitcond.not, label %.preheader, label %.preheader50, !llvm.loop !9

.preheader49.split.preheader:                     ; preds = %.preheader50
  %119 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 0
  %120 = load i32, ptr %119, align 16, !tbaa !5
  %.not48 = icmp eq i32 %120, 2147483647
  br i1 %.not48, label %.preheader49.split.1.thread, label %.preheader49.split.1

.preheader49.split.1:                             ; preds = %.preheader49.split.preheader
  %121 = add nsw i32 %120, %33
  %spec.store.select = tail call i32 @llvm.smin.i32(i32 %121, i32 %spec.store.select128)
  store i32 %spec.store.select, ptr %1, align 16
  %.pre = load i32, ptr %32, align 4, !tbaa !5
  %.not.1 = icmp eq i32 %.pre, 2147483647
  br i1 %.not.1, label %.split.us, label %.preheader49.split.1.thread

.preheader49.split.1.thread:                      ; preds = %.preheader49.split.preheader, %.preheader49.split.1
  %spec.store.select126 = phi i32 [ %spec.store.select, %.preheader49.split.1 ], [ %spec.store.select128, %.preheader49.split.preheader ]
  %122 = phi i32 [ %.pre, %.preheader49.split.1 ], [ %33, %.preheader49.split.preheader ]
  %123 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 1
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %.not48.1 = icmp eq i32 %124, 2147483647
  br i1 %.not48.1, label %.preheader49.split.2.thread121, label %.preheader49.split.2

.preheader49.split.2:                             ; preds = %.preheader49.split.1.thread
  %125 = add nsw i32 %124, %122
  %spec.store.select.1 = tail call i32 @llvm.smin.i32(i32 %125, i32 %31)
  store i32 %spec.store.select.1, ptr %2, align 4
  %.pre87 = load i32, ptr %32, align 4, !tbaa !5
  %.not.2 = icmp eq i32 %.pre87, 2147483647
  br i1 %.not.2, label %.split.us, label %.preheader49.split.2.thread121

.preheader49.split.2.thread121:                   ; preds = %.preheader49.split.1.thread, %.preheader49.split.2
  %126 = phi i32 [ %spec.store.select.1, %.preheader49.split.2 ], [ %31, %.preheader49.split.1.thread ]
  %127 = phi i32 [ %.pre87, %.preheader49.split.2 ], [ %122, %.preheader49.split.1.thread ]
  %128 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 2
  %129 = load i32, ptr %128, align 8, !tbaa !5
  %.not48.2 = icmp eq i32 %129, 2147483647
  br i1 %.not48.2, label %.preheader49.split.3.thread124, label %.preheader49.split.3

.preheader49.split.3:                             ; preds = %.preheader49.split.2.thread121
  %130 = add nsw i32 %129, %127
  %spec.store.select.2 = tail call i32 @llvm.smin.i32(i32 %130, i32 %30)
  store i32 %spec.store.select.2, ptr %3, align 8
  %.pre88 = load i32, ptr %32, align 4, !tbaa !5
  %.not.3 = icmp eq i32 %.pre88, 2147483647
  br i1 %.not.3, label %.split.us, label %.preheader49.split.3.thread124

.preheader49.split.3.thread124:                   ; preds = %.preheader49.split.2.thread121, %.preheader49.split.3
  %131 = phi i32 [ %spec.store.select.2, %.preheader49.split.3 ], [ %30, %.preheader49.split.2.thread121 ]
  %132 = phi i32 [ %.pre88, %.preheader49.split.3 ], [ %127, %.preheader49.split.2.thread121 ]
  %133 = getelementptr inbounds [4 x [4 x i32]], ptr %1, i64 0, i64 %indvars.iv, i64 3
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %.not48.3 = icmp eq i32 %134, 2147483647
  br i1 %.not48.3, label %.split.us, label %135

135:                                              ; preds = %.preheader49.split.3.thread124
  %136 = add nsw i32 %134, %132
  %spec.store.select.3 = tail call i32 @llvm.smin.i32(i32 %136, i32 %29)
  store i32 %spec.store.select.3, ptr %4, align 4
  br label %.split.us

137:                                              ; preds = %.preheader
  %138 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %141

139:                                              ; preds = %.preheader
  %140 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %36)
  br label %141

141:                                              ; preds = %137, %139
  %142 = getelementptr inbounds i8, ptr %1, i64 4
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = icmp eq i32 %143, 2147483647
  br i1 %144, label %147, label %145

145:                                              ; preds = %141
  %146 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %143)
  br label %149

147:                                              ; preds = %141
  %148 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %149

149:                                              ; preds = %147, %145
  %150 = getelementptr inbounds i8, ptr %1, i64 8
  %151 = load i32, ptr %150, align 8, !tbaa !5
  %152 = icmp eq i32 %151, 2147483647
  br i1 %152, label %155, label %153

153:                                              ; preds = %149
  %154 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %151)
  br label %157

155:                                              ; preds = %149
  %156 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %157

157:                                              ; preds = %155, %153
  %158 = getelementptr inbounds i8, ptr %1, i64 12
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = icmp eq i32 %159, 2147483647
  br i1 %160, label %163, label %161

161:                                              ; preds = %157
  %162 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %159)
  br label %.preheader.1

163:                                              ; preds = %157
  %164 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.preheader.1

.preheader.1:                                     ; preds = %163, %161
  %165 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %166 = getelementptr inbounds i8, ptr %1, i64 16
  %167 = load i32, ptr %166, align 16, !tbaa !5
  %168 = icmp eq i32 %167, 2147483647
  br i1 %168, label %171, label %169

169:                                              ; preds = %.preheader.1
  %170 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %167)
  br label %173

171:                                              ; preds = %.preheader.1
  %172 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %173

173:                                              ; preds = %171, %169
  %174 = getelementptr inbounds i8, ptr %1, i64 20
  %175 = load i32, ptr %174, align 4, !tbaa !5
  %176 = icmp eq i32 %175, 2147483647
  br i1 %176, label %179, label %177

177:                                              ; preds = %173
  %178 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %175)
  br label %181

179:                                              ; preds = %173
  %180 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %181

181:                                              ; preds = %179, %177
  %182 = getelementptr inbounds i8, ptr %1, i64 24
  %183 = load i32, ptr %182, align 8, !tbaa !5
  %184 = icmp eq i32 %183, 2147483647
  br i1 %184, label %187, label %185

185:                                              ; preds = %181
  %186 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %183)
  br label %189

187:                                              ; preds = %181
  %188 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %189

189:                                              ; preds = %187, %185
  %190 = getelementptr inbounds i8, ptr %1, i64 28
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = icmp eq i32 %191, 2147483647
  br i1 %192, label %195, label %193

193:                                              ; preds = %189
  %194 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %191)
  br label %.preheader.2

195:                                              ; preds = %189
  %196 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.preheader.2

.preheader.2:                                     ; preds = %195, %193
  %197 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %198 = getelementptr inbounds i8, ptr %1, i64 32
  %199 = load i32, ptr %198, align 16, !tbaa !5
  %200 = icmp eq i32 %199, 2147483647
  br i1 %200, label %203, label %201

201:                                              ; preds = %.preheader.2
  %202 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %199)
  br label %205

203:                                              ; preds = %.preheader.2
  %204 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %205

205:                                              ; preds = %203, %201
  %206 = getelementptr inbounds i8, ptr %1, i64 36
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = icmp eq i32 %207, 2147483647
  br i1 %208, label %211, label %209

209:                                              ; preds = %205
  %210 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %207)
  br label %213

211:                                              ; preds = %205
  %212 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %213

213:                                              ; preds = %211, %209
  %214 = getelementptr inbounds i8, ptr %1, i64 40
  %215 = load i32, ptr %214, align 8, !tbaa !5
  %216 = icmp eq i32 %215, 2147483647
  br i1 %216, label %219, label %217

217:                                              ; preds = %213
  %218 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %215)
  br label %221

219:                                              ; preds = %213
  %220 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %221

221:                                              ; preds = %219, %217
  %222 = getelementptr inbounds i8, ptr %1, i64 44
  %223 = load i32, ptr %222, align 4, !tbaa !5
  %224 = icmp eq i32 %223, 2147483647
  br i1 %224, label %227, label %225

225:                                              ; preds = %221
  %226 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %223)
  br label %.preheader.3

227:                                              ; preds = %221
  %228 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %.preheader.3

.preheader.3:                                     ; preds = %227, %225
  %229 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %230 = getelementptr inbounds i8, ptr %1, i64 48
  %231 = load i32, ptr %230, align 16, !tbaa !5
  %232 = icmp eq i32 %231, 2147483647
  br i1 %232, label %235, label %233

233:                                              ; preds = %.preheader.3
  %234 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %231)
  br label %237

235:                                              ; preds = %.preheader.3
  %236 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %237

237:                                              ; preds = %235, %233
  %238 = getelementptr inbounds i8, ptr %1, i64 52
  %239 = load i32, ptr %238, align 4, !tbaa !5
  %240 = icmp eq i32 %239, 2147483647
  br i1 %240, label %243, label %241

241:                                              ; preds = %237
  %242 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %239)
  br label %245

243:                                              ; preds = %237
  %244 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %245

245:                                              ; preds = %243, %241
  %246 = getelementptr inbounds i8, ptr %1, i64 56
  %247 = load i32, ptr %246, align 8, !tbaa !5
  %248 = icmp eq i32 %247, 2147483647
  br i1 %248, label %251, label %249

249:                                              ; preds = %245
  %250 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %247)
  br label %253

251:                                              ; preds = %245
  %252 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %253

253:                                              ; preds = %251, %249
  %254 = getelementptr inbounds i8, ptr %1, i64 60
  %255 = load i32, ptr %254, align 4, !tbaa !5
  %256 = icmp eq i32 %255, 2147483647
  br i1 %256, label %259, label %257

257:                                              ; preds = %253
  %258 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %255)
  br label %261

259:                                              ; preds = %253
  %260 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  br label %261

261:                                              ; preds = %259, %257
  %262 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #5
  ret void
}

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3

; 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) #4

attributes #0 = { nofree 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass