; LLVM IR from smv1999/CompetitiveProgrammingQuestionBank :: Sorting Algorithms (insertion_sort)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@__const.main.arr = external hidden unnamed_addr constant [11 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca [11 x i32], align 16
  %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
  %12 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 44, ptr %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.arr, i64 44, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 11, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %61, %2
  %14 = load i32, ptr %11, align 4, !tbaa !5
  %15 = load i32, ptr %7, align 4, !tbaa !5
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %64

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

19:                                               ; preds = %30, %18
  %20 = load i32, ptr %11, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [11 x i32], ptr %6, i64 0, i64 %21
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = load i32, ptr %9, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [11 x i32], ptr %6, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = icmp sgt i32 %23, %27
  br i1 %28, label %29, label %33

29:                                               ; preds = %19
  br label %30

30:                                               ; preds = %29
  %31 = load i32, ptr %9, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %9, align 4, !tbaa !5
  br label %19, !llvm.loop !11

33:                                               ; preds = %19
  %34 = load i32, ptr %11, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [11 x i32], ptr %6, i64 0, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !5
  store i32 %37, ptr %8, align 4, !tbaa !5
  %38 = load i32, ptr %11, align 4, !tbaa !5
  %39 = sub nsw i32 %38, 1
  store i32 %39, ptr %10, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %53, %33
  %41 = load i32, ptr %10, align 4, !tbaa !5
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = icmp sge i32 %41, %42
  br i1 %43, label %44, label %56

44:                                               ; preds = %40
  %45 = load i32, ptr %10, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [11 x i32], ptr %6, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = load i32, ptr %10, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [11 x i32], ptr %6, i64 0, i64 %51
  store i32 %48, ptr %52, align 4, !tbaa !5
  br label %53

53:                                               ; preds = %44
  %54 = load i32, ptr %10, align 4, !tbaa !5
  %55 = add nsw i32 %54, -1
  store i32 %55, ptr %10, align 4, !tbaa !5
  br label %40, !llvm.loop !13

56:                                               ; preds = %40
  %57 = load i32, ptr %8, align 4, !tbaa !5
  %58 = load i32, ptr %9, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [11 x i32], ptr %6, i64 0, i64 %59
  store i32 %57, ptr %60, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %56
  %62 = load i32, ptr %11, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %11, align 4, !tbaa !5
  br label %13, !llvm.loop !14

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

65:                                               ; preds = %77, %64
  %66 = load i32, ptr %12, align 4, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = icmp slt i32 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %80

70:                                               ; preds = %65
  %71 = load i32, ptr %12, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [11 x i32], ptr %6, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %74)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef @.str)
  br label %77

77:                                               ; preds = %70
  %78 = load i32, ptr %12, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %12, align 4, !tbaa !5
  br label %65, !llvm.loop !15

80:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 44, ptr %6) #5
  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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

attributes #0 = { mustprogress norecurse 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 = { inlinehint mustprogress 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@__const.main.arr = external hidden unnamed_addr constant [11 x i32], align 16
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
.preheader24:
  %2 = alloca [11 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(44) %2, ptr noundef nonnull align 16 dereferenceable(44) @__const.main.arr, i64 44, i1 false)
  %3 = getelementptr inbounds i8, ptr %2, i64 4
  %4 = load i32, ptr %3, align 4, !tbaa !5
  br label %5

5:                                                ; preds = %5, %.preheader24
  %indvars.iv = phi i64 [ %indvars.iv.next, %5 ], [ 0, %.preheader24 ]
  %6 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = icmp sgt i32 %4, %7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %8, label %5, label %.preheader23, !llvm.loop !9

.preheader23:                                     ; preds = %5
  %9 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv
  %10 = and i64 %indvars.iv, 4294967295
  %.not.not27 = icmp eq i64 %10, 0
  br i1 %.not.not27, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader23
  %11 = load i32, ptr %2, align 16, !tbaa !5
  store i32 %11, ptr %3, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %.preheader23
  store i32 %4, ptr %9, align 4, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %2, i64 8
  %13 = load i32, ptr %12, align 8, !tbaa !5
  br label %14

14:                                               ; preds = %14, %._crit_edge
  %indvars.iv.1 = phi i64 [ %indvars.iv.next.1, %14 ], [ 0, %._crit_edge ]
  %15 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.1
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %17 = icmp sgt i32 %13, %16
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  br i1 %17, label %14, label %.preheader23.1, !llvm.loop !9

.preheader23.1:                                   ; preds = %14
  %18 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.1
  %19 = and i64 %indvars.iv.1, 4294967294
  %.not.not27.1 = icmp eq i64 %19, 0
  br i1 %.not.not27.1, label %.lr.ph.1, label %._crit_edge.1

.lr.ph.1:                                         ; preds = %.preheader23.1
  %20 = and i64 %indvars.iv.1, 1
  %21 = getelementptr inbounds i8, ptr %2, i64 4
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %2, i64 8
  store i32 %22, ptr %23, align 8, !tbaa !5
  %.not.not.1.not.not = icmp eq i64 %20, 0
  br i1 %.not.not.1.not.not, label %.lr.ph.1.1, label %._crit_edge.1, !llvm.loop !11

.lr.ph.1.1:                                       ; preds = %.lr.ph.1
  %24 = load i32, ptr %2, align 16, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %24, ptr %25, align 4, !tbaa !5
  br label %._crit_edge.1

._crit_edge.1:                                    ; preds = %.lr.ph.1, %.lr.ph.1.1, %.preheader23.1
  store i32 %13, ptr %18, align 4, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %2, i64 12
  %27 = load i32, ptr %26, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %28, %._crit_edge.1
  %indvars.iv.2 = phi i64 [ %indvars.iv.next.2, %28 ], [ 0, %._crit_edge.1 ]
  %29 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.2
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = icmp sgt i32 %27, %30
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  br i1 %31, label %28, label %.preheader23.2, !llvm.loop !9

.preheader23.2:                                   ; preds = %28
  %32 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.2
  %33 = and i64 %indvars.iv.2, 4294967295
  %.not.not27.2 = icmp ult i64 %33, 3
  br i1 %.not.not27.2, label %.lr.ph.preheader.2, label %._crit_edge.2

.lr.ph.preheader.2:                               ; preds = %.preheader23.2
  %sext = shl i64 %indvars.iv.2, 32
  %34 = ashr exact i64 %sext, 32
  %35 = sub nsw i64 3, %34
  %min.iters.check = icmp ult i64 %35, 8
  br i1 %min.iters.check, label %.lr.ph.2.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader.2
  %n.vec = and i64 %35, -8
  %ind.end = sub nsw i64 3, %n.vec
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 3, %index
  %36 = sub i64 2, %index
  %37 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %36
  %38 = getelementptr inbounds i8, ptr %37, i64 -12
  %39 = getelementptr inbounds i8, ptr %37, i64 -28
  %wide.load = load <4 x i32>, ptr %38, align 4, !tbaa !5
  %wide.load86 = load <4 x i32>, ptr %39, align 4, !tbaa !5
  %40 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %offset.idx
  %41 = getelementptr inbounds i8, ptr %40, i64 -12
  %42 = getelementptr inbounds i8, ptr %40, i64 -28
  store <4 x i32> %wide.load, ptr %41, align 16, !tbaa !5
  store <4 x i32> %wide.load86, ptr %42, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %43 = icmp eq i64 %index.next, %n.vec
  br i1 %43, label %middle.block, label %vector.body, !llvm.loop !12

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %35, %n.vec
  br i1 %cmp.n, label %._crit_edge.2, label %.lr.ph.2.preheader

.lr.ph.2.preheader:                               ; preds = %middle.block, %.lr.ph.preheader.2
  %indvars.iv37.2.ph = phi i64 [ 3, %.lr.ph.preheader.2 ], [ %ind.end, %middle.block ]
  br label %.lr.ph.2

.lr.ph.2:                                         ; preds = %.lr.ph.2.preheader, %.lr.ph.2
  %indvars.iv37.2 = phi i64 [ %indvars.iv.next38.2, %.lr.ph.2 ], [ %indvars.iv37.2.ph, %.lr.ph.2.preheader ]
  %indvars.iv.next38.2 = add nsw i64 %indvars.iv37.2, -1
  %44 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.next38.2
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv37.2
  store i32 %45, ptr %46, align 4, !tbaa !5
  %.not.not.2 = icmp sgt i64 %indvars.iv.next38.2, %34
  br i1 %.not.not.2, label %.lr.ph.2, label %._crit_edge.2, !llvm.loop !15

._crit_edge.2:                                    ; preds = %.lr.ph.2, %middle.block, %.preheader23.2
  store i32 %27, ptr %32, align 4, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %2, i64 16
  %48 = load i32, ptr %47, align 16, !tbaa !5
  br label %49

49:                                               ; preds = %49, %._crit_edge.2
  %indvars.iv.3 = phi i64 [ %indvars.iv.next.3, %49 ], [ 0, %._crit_edge.2 ]
  %50 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.3
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = icmp sgt i32 %48, %51
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  br i1 %52, label %49, label %.preheader23.3, !llvm.loop !9

.preheader23.3:                                   ; preds = %49
  %53 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.3
  %54 = and i64 %indvars.iv.3, 4294967292
  %.not.not27.3 = icmp eq i64 %54, 0
  br i1 %.not.not27.3, label %.lr.ph.preheader.3, label %._crit_edge.3

.lr.ph.preheader.3:                               ; preds = %.preheader23.3
  %55 = and i64 %indvars.iv.3, 3
  %56 = getelementptr inbounds i8, ptr %2, i64 12
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %2, i64 16
  store i32 %57, ptr %58, align 16, !tbaa !5
  %.not.not.3.not = icmp eq i64 %55, 3
  br i1 %.not.not.3.not, label %._crit_edge.3, label %.lr.ph.3.1, !llvm.loop !11

.lr.ph.3.1:                                       ; preds = %.lr.ph.preheader.3
  %59 = getelementptr inbounds i8, ptr %2, i64 8
  %60 = load i32, ptr %59, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %2, i64 12
  store i32 %60, ptr %61, align 4, !tbaa !5
  %.not.not.3.1 = icmp ult i64 %55, 2
  br i1 %.not.not.3.1, label %.lr.ph.3.2, label %._crit_edge.3, !llvm.loop !11

.lr.ph.3.2:                                       ; preds = %.lr.ph.3.1
  %62 = getelementptr inbounds i8, ptr %2, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %2, i64 8
  store i32 %63, ptr %64, align 8, !tbaa !5
  %.not.not.3.2 = icmp eq i64 %55, 0
  br i1 %.not.not.3.2, label %.lr.ph.3.3, label %._crit_edge.3, !llvm.loop !11

.lr.ph.3.3:                                       ; preds = %.lr.ph.3.2
  %65 = load i32, ptr %2, align 16, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %65, ptr %66, align 4, !tbaa !5
  br label %._crit_edge.3

._crit_edge.3:                                    ; preds = %.lr.ph.preheader.3, %.lr.ph.3.1, %.lr.ph.3.2, %.lr.ph.3.3, %.preheader23.3
  store i32 %48, ptr %53, align 4, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %2, i64 20
  %68 = load i32, ptr %67, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %69, %._crit_edge.3
  %indvars.iv.4 = phi i64 [ %indvars.iv.next.4, %69 ], [ 0, %._crit_edge.3 ]
  %70 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.4
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = icmp sgt i32 %68, %71
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  br i1 %72, label %69, label %.preheader23.4, !llvm.loop !9

.preheader23.4:                                   ; preds = %69
  %73 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.4
  %74 = and i64 %indvars.iv.4, 4294967295
  %.not.not27.4 = icmp ult i64 %74, 5
  br i1 %.not.not27.4, label %.lr.ph.preheader.4, label %._crit_edge.4

.lr.ph.preheader.4:                               ; preds = %.preheader23.4
  %sext62 = shl i64 %indvars.iv.4, 32
  %75 = ashr exact i64 %sext62, 32
  %76 = sub nsw i64 5, %75
  %min.iters.check92 = icmp ult i64 %76, 8
  br i1 %min.iters.check92, label %.lr.ph.4.preheader, label %vector.ph93

vector.ph93:                                      ; preds = %.lr.ph.preheader.4
  %n.vec95 = and i64 %76, -8
  %ind.end96 = sub nsw i64 5, %n.vec95
  br label %vector.body98

vector.body98:                                    ; preds = %vector.body98, %vector.ph93
  %index99 = phi i64 [ 0, %vector.ph93 ], [ %index.next107, %vector.body98 ]
  %offset.idx100 = sub i64 5, %index99
  %77 = sub i64 4, %index99
  %78 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %77
  %79 = getelementptr inbounds i8, ptr %78, i64 -12
  %80 = getelementptr inbounds i8, ptr %78, i64 -28
  %wide.load101 = load <4 x i32>, ptr %79, align 4, !tbaa !5
  %wide.load103 = load <4 x i32>, ptr %80, align 4, !tbaa !5
  %81 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %offset.idx100
  %82 = getelementptr inbounds i8, ptr %81, i64 -12
  %83 = getelementptr inbounds i8, ptr %81, i64 -28
  store <4 x i32> %wide.load101, ptr %82, align 8, !tbaa !5
  store <4 x i32> %wide.load103, ptr %83, align 8, !tbaa !5
  %index.next107 = add nuw i64 %index99, 8
  %84 = icmp eq i64 %index.next107, %n.vec95
  br i1 %84, label %middle.block90, label %vector.body98, !llvm.loop !16

middle.block90:                                   ; preds = %vector.body98
  %cmp.n108 = icmp eq i64 %76, %n.vec95
  br i1 %cmp.n108, label %._crit_edge.4, label %.lr.ph.4.preheader

.lr.ph.4.preheader:                               ; preds = %middle.block90, %.lr.ph.preheader.4
  %indvars.iv37.4.ph = phi i64 [ 5, %.lr.ph.preheader.4 ], [ %ind.end96, %middle.block90 ]
  br label %.lr.ph.4

.lr.ph.4:                                         ; preds = %.lr.ph.4.preheader, %.lr.ph.4
  %indvars.iv37.4 = phi i64 [ %indvars.iv.next38.4, %.lr.ph.4 ], [ %indvars.iv37.4.ph, %.lr.ph.4.preheader ]
  %indvars.iv.next38.4 = add nsw i64 %indvars.iv37.4, -1
  %85 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.next38.4
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv37.4
  store i32 %86, ptr %87, align 4, !tbaa !5
  %.not.not.4 = icmp sgt i64 %indvars.iv.next38.4, %75
  br i1 %.not.not.4, label %.lr.ph.4, label %._crit_edge.4, !llvm.loop !17

._crit_edge.4:                                    ; preds = %.lr.ph.4, %middle.block90, %.preheader23.4
  store i32 %68, ptr %73, align 4, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %2, i64 24
  %89 = load i32, ptr %88, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %90, %._crit_edge.4
  %indvars.iv.5 = phi i64 [ %indvars.iv.next.5, %90 ], [ 0, %._crit_edge.4 ]
  %91 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.5
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = icmp sgt i32 %89, %92
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  br i1 %93, label %90, label %.preheader23.5, !llvm.loop !9

.preheader23.5:                                   ; preds = %90
  %94 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.5
  %95 = and i64 %indvars.iv.5, 4294967294
  %.not.not27.5 = icmp ult i64 %95, 6
  br i1 %.not.not27.5, label %.lr.ph.preheader.5, label %._crit_edge.5

.lr.ph.preheader.5:                               ; preds = %.preheader23.5
  %sext63 = shl i64 %indvars.iv.5, 32
  %96 = ashr exact i64 %sext63, 32
  %smin = tail call i64 @llvm.smin.i64(i64 %96, i64 5)
  %97 = sub i64 6, %smin
  %min.iters.check111 = icmp ult i64 %97, 8
  br i1 %min.iters.check111, label %.lr.ph.5.preheader, label %vector.ph112

vector.ph112:                                     ; preds = %.lr.ph.preheader.5
  %n.vec114 = and i64 %97, -8
  %ind.end115 = sub i64 6, %n.vec114
  br label %vector.body117

vector.body117:                                   ; preds = %vector.body117, %vector.ph112
  %index118 = phi i64 [ 0, %vector.ph112 ], [ %index.next126, %vector.body117 ]
  %offset.idx119 = sub i64 6, %index118
  %98 = sub i64 5, %index118
  %99 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %98
  %100 = getelementptr inbounds i8, ptr %99, i64 -12
  %101 = getelementptr inbounds i8, ptr %99, i64 -28
  %wide.load120 = load <4 x i32>, ptr %100, align 8, !tbaa !5
  %wide.load122 = load <4 x i32>, ptr %101, align 8, !tbaa !5
  %102 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %offset.idx119
  %103 = getelementptr inbounds i8, ptr %102, i64 -12
  %104 = getelementptr inbounds i8, ptr %102, i64 -28
  store <4 x i32> %wide.load120, ptr %103, align 4, !tbaa !5
  store <4 x i32> %wide.load122, ptr %104, align 4, !tbaa !5
  %index.next126 = add nuw i64 %index118, 8
  %105 = icmp eq i64 %index.next126, %n.vec114
  br i1 %105, label %middle.block109, label %vector.body117, !llvm.loop !18

middle.block109:                                  ; preds = %vector.body117
  %cmp.n127 = icmp eq i64 %97, %n.vec114
  br i1 %cmp.n127, label %._crit_edge.5, label %.lr.ph.5.preheader

.lr.ph.5.preheader:                               ; preds = %middle.block109, %.lr.ph.preheader.5
  %indvars.iv37.5.ph = phi i64 [ 6, %.lr.ph.preheader.5 ], [ %ind.end115, %middle.block109 ]
  br label %.lr.ph.5

.lr.ph.5:                                         ; preds = %.lr.ph.5.preheader, %.lr.ph.5
  %indvars.iv37.5 = phi i64 [ %indvars.iv.next38.5, %.lr.ph.5 ], [ %indvars.iv37.5.ph, %.lr.ph.5.preheader ]
  %indvars.iv.next38.5 = add nsw i64 %indvars.iv37.5, -1
  %106 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.next38.5
  %107 = load i32, ptr %106, align 4, !tbaa !5
  %108 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv37.5
  store i32 %107, ptr %108, align 4, !tbaa !5
  %.not.not.5 = icmp sgt i64 %indvars.iv.next38.5, %96
  br i1 %.not.not.5, label %.lr.ph.5, label %._crit_edge.5, !llvm.loop !19

._crit_edge.5:                                    ; preds = %.lr.ph.5, %middle.block109, %.preheader23.5
  store i32 %89, ptr %94, align 4, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %2, i64 28
  %110 = load i32, ptr %109, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %111, %._crit_edge.5
  %indvars.iv.6 = phi i64 [ %indvars.iv.next.6, %111 ], [ 0, %._crit_edge.5 ]
  %112 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.6
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = icmp sgt i32 %110, %113
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  br i1 %114, label %111, label %.preheader23.6, !llvm.loop !9

.preheader23.6:                                   ; preds = %111
  %115 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.6
  %116 = and i64 %indvars.iv.6, 4294967295
  %.not.not27.6 = icmp ult i64 %116, 7
  br i1 %.not.not27.6, label %.lr.ph.preheader.6, label %._crit_edge.6

.lr.ph.preheader.6:                               ; preds = %.preheader23.6
  %sext64 = shl i64 %indvars.iv.6, 32
  %117 = ashr exact i64 %sext64, 32
  %118 = sub nsw i64 7, %117
  %min.iters.check130 = icmp ult i64 %118, 8
  br i1 %min.iters.check130, label %.lr.ph.6.preheader, label %vector.ph131

vector.ph131:                                     ; preds = %.lr.ph.preheader.6
  %n.vec133 = and i64 %118, -8
  %ind.end134 = sub nsw i64 7, %n.vec133
  br label %vector.body136

vector.body136:                                   ; preds = %vector.body136, %vector.ph131
  %index137 = phi i64 [ 0, %vector.ph131 ], [ %index.next145, %vector.body136 ]
  %offset.idx138 = sub i64 7, %index137
  %119 = sub i64 6, %index137
  %120 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %119
  %121 = getelementptr inbounds i8, ptr %120, i64 -12
  %122 = getelementptr inbounds i8, ptr %120, i64 -28
  %wide.load139 = load <4 x i32>, ptr %121, align 4, !tbaa !5
  %wide.load141 = load <4 x i32>, ptr %122, align 4, !tbaa !5
  %123 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %offset.idx138
  %124 = getelementptr inbounds i8, ptr %123, i64 -12
  %125 = getelementptr inbounds i8, ptr %123, i64 -28
  store <4 x i32> %wide.load139, ptr %124, align 16, !tbaa !5
  store <4 x i32> %wide.load141, ptr %125, align 16, !tbaa !5
  %index.next145 = add nuw i64 %index137, 8
  %126 = icmp eq i64 %index.next145, %n.vec133
  br i1 %126, label %middle.block128, label %vector.body136, !llvm.loop !20

middle.block128:                                  ; preds = %vector.body136
  %cmp.n146 = icmp eq i64 %118, %n.vec133
  br i1 %cmp.n146, label %._crit_edge.6, label %.lr.ph.6.preheader

.lr.ph.6.preheader:                               ; preds = %middle.block128, %.lr.ph.preheader.6
  %indvars.iv37.6.ph = phi i64 [ 7, %.lr.ph.preheader.6 ], [ %ind.end134, %middle.block128 ]
  br label %.lr.ph.6

.lr.ph.6:                                         ; preds = %.lr.ph.6.preheader, %.lr.ph.6
  %indvars.iv37.6 = phi i64 [ %indvars.iv.next38.6, %.lr.ph.6 ], [ %indvars.iv37.6.ph, %.lr.ph.6.preheader ]
  %indvars.iv.next38.6 = add nsw i64 %indvars.iv37.6, -1
  %127 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.next38.6
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv37.6
  store i32 %128, ptr %129, align 4, !tbaa !5
  %.not.not.6 = icmp sgt i64 %indvars.iv.next38.6, %117
  br i1 %.not.not.6, label %.lr.ph.6, label %._crit_edge.6, !llvm.loop !21

._crit_edge.6:                                    ; preds = %.lr.ph.6, %middle.block128, %.preheader23.6
  store i32 %110, ptr %115, align 4, !tbaa !5
  %130 = getelementptr inbounds i8, ptr %2, i64 32
  %131 = load i32, ptr %130, align 16, !tbaa !5
  br label %132

132:                                              ; preds = %132, %._crit_edge.6
  %indvars.iv.7 = phi i64 [ %indvars.iv.next.7, %132 ], [ 0, %._crit_edge.6 ]
  %133 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.7
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = icmp sgt i32 %131, %134
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  br i1 %135, label %132, label %.preheader23.7, !llvm.loop !9

.preheader23.7:                                   ; preds = %132
  %136 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.7
  %137 = and i64 %indvars.iv.7, 4294967288
  %.not.not27.7 = icmp eq i64 %137, 0
  br i1 %.not.not27.7, label %.lr.ph.preheader.7, label %._crit_edge.7

.lr.ph.preheader.7:                               ; preds = %.preheader23.7
  %138 = and i64 %indvars.iv.7, 7
  %139 = getelementptr inbounds i8, ptr %2, i64 28
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %2, i64 32
  store i32 %140, ptr %141, align 16, !tbaa !5
  %.not.not.7.not = icmp eq i64 %138, 7
  br i1 %.not.not.7.not, label %._crit_edge.7, label %.lr.ph.7.1, !llvm.loop !11

.lr.ph.7.1:                                       ; preds = %.lr.ph.preheader.7
  %142 = getelementptr inbounds i8, ptr %2, i64 24
  %143 = load i32, ptr %142, align 8, !tbaa !5
  %144 = getelementptr inbounds i8, ptr %2, i64 28
  store i32 %143, ptr %144, align 4, !tbaa !5
  %.not.not.7.1 = icmp ult i64 %138, 6
  br i1 %.not.not.7.1, label %.lr.ph.7.2, label %._crit_edge.7, !llvm.loop !11

.lr.ph.7.2:                                       ; preds = %.lr.ph.7.1
  %145 = getelementptr inbounds i8, ptr %2, i64 20
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = getelementptr inbounds i8, ptr %2, i64 24
  store i32 %146, ptr %147, align 8, !tbaa !5
  %.not.not.7.2.not = icmp eq i64 %138, 5
  br i1 %.not.not.7.2.not, label %._crit_edge.7, label %.lr.ph.7.3, !llvm.loop !11

.lr.ph.7.3:                                       ; preds = %.lr.ph.7.2
  %148 = getelementptr inbounds i8, ptr %2, i64 16
  %149 = load i32, ptr %148, align 16, !tbaa !5
  %150 = getelementptr inbounds i8, ptr %2, i64 20
  store i32 %149, ptr %150, align 4, !tbaa !5
  %.not.not.7.3 = icmp ult i64 %138, 4
  br i1 %.not.not.7.3, label %.lr.ph.7.4, label %._crit_edge.7, !llvm.loop !11

.lr.ph.7.4:                                       ; preds = %.lr.ph.7.3
  %151 = getelementptr inbounds i8, ptr %2, i64 12
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = getelementptr inbounds i8, ptr %2, i64 16
  store i32 %152, ptr %153, align 16, !tbaa !5
  %.not.not.7.4.not = icmp eq i64 %138, 3
  br i1 %.not.not.7.4.not, label %._crit_edge.7, label %.lr.ph.7.5, !llvm.loop !11

.lr.ph.7.5:                                       ; preds = %.lr.ph.7.4
  %154 = getelementptr inbounds i8, ptr %2, i64 8
  %155 = load i32, ptr %154, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %2, i64 12
  store i32 %155, ptr %156, align 4, !tbaa !5
  %.not.not.7.5 = icmp ult i64 %138, 2
  br i1 %.not.not.7.5, label %.lr.ph.7.6, label %._crit_edge.7, !llvm.loop !11

.lr.ph.7.6:                                       ; preds = %.lr.ph.7.5
  %157 = getelementptr inbounds i8, ptr %2, i64 4
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %2, i64 8
  store i32 %158, ptr %159, align 8, !tbaa !5
  %.not.not.7.6 = icmp eq i64 %138, 0
  br i1 %.not.not.7.6, label %.lr.ph.7.7, label %._crit_edge.7, !llvm.loop !11

.lr.ph.7.7:                                       ; preds = %.lr.ph.7.6
  %160 = load i32, ptr %2, align 16, !tbaa !5
  %161 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %160, ptr %161, align 4, !tbaa !5
  br label %._crit_edge.7

._crit_edge.7:                                    ; preds = %.lr.ph.preheader.7, %.lr.ph.7.1, %.lr.ph.7.2, %.lr.ph.7.3, %.lr.ph.7.4, %.lr.ph.7.5, %.lr.ph.7.6, %.lr.ph.7.7, %.preheader23.7
  store i32 %131, ptr %136, align 4, !tbaa !5
  %162 = getelementptr inbounds i8, ptr %2, i64 36
  %163 = load i32, ptr %162, align 4, !tbaa !5
  br label %164

164:                                              ; preds = %164, %._crit_edge.7
  %indvars.iv.8 = phi i64 [ %indvars.iv.next.8, %164 ], [ 0, %._crit_edge.7 ]
  %165 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.8
  %166 = load i32, ptr %165, align 4, !tbaa !5
  %167 = icmp sgt i32 %163, %166
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  br i1 %167, label %164, label %.preheader23.8, !llvm.loop !9

.preheader23.8:                                   ; preds = %164
  %168 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.8
  %169 = and i64 %indvars.iv.8, 4294967295
  %.not.not27.8 = icmp ult i64 %169, 9
  br i1 %.not.not27.8, label %.lr.ph.preheader.8, label %._crit_edge.8

.lr.ph.preheader.8:                               ; preds = %.preheader23.8
  %sext65 = shl i64 %indvars.iv.8, 32
  %170 = ashr exact i64 %sext65, 32
  %171 = sub nsw i64 9, %170
  %min.iters.check149 = icmp ult i64 %171, 8
  br i1 %min.iters.check149, label %.lr.ph.8.preheader, label %vector.ph150

vector.ph150:                                     ; preds = %.lr.ph.preheader.8
  %n.vec152 = and i64 %171, -8
  %ind.end153 = sub nsw i64 9, %n.vec152
  br label %vector.body155

vector.body155:                                   ; preds = %vector.body155, %vector.ph150
  %index156 = phi i64 [ 0, %vector.ph150 ], [ %index.next164, %vector.body155 ]
  %offset.idx157 = sub i64 9, %index156
  %172 = sub i64 8, %index156
  %173 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %172
  %174 = getelementptr inbounds i8, ptr %173, i64 -12
  %175 = getelementptr inbounds i8, ptr %173, i64 -28
  %wide.load158 = load <4 x i32>, ptr %174, align 4, !tbaa !5
  %wide.load160 = load <4 x i32>, ptr %175, align 4, !tbaa !5
  %176 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %offset.idx157
  %177 = getelementptr inbounds i8, ptr %176, i64 -12
  %178 = getelementptr inbounds i8, ptr %176, i64 -28
  store <4 x i32> %wide.load158, ptr %177, align 8, !tbaa !5
  store <4 x i32> %wide.load160, ptr %178, align 8, !tbaa !5
  %index.next164 = add nuw i64 %index156, 8
  %179 = icmp eq i64 %index.next164, %n.vec152
  br i1 %179, label %middle.block147, label %vector.body155, !llvm.loop !22

middle.block147:                                  ; preds = %vector.body155
  %cmp.n165 = icmp eq i64 %171, %n.vec152
  br i1 %cmp.n165, label %._crit_edge.8, label %.lr.ph.8.preheader

.lr.ph.8.preheader:                               ; preds = %middle.block147, %.lr.ph.preheader.8
  %indvars.iv37.8.ph = phi i64 [ 9, %.lr.ph.preheader.8 ], [ %ind.end153, %middle.block147 ]
  br label %.lr.ph.8

.lr.ph.8:                                         ; preds = %.lr.ph.8.preheader, %.lr.ph.8
  %indvars.iv37.8 = phi i64 [ %indvars.iv.next38.8, %.lr.ph.8 ], [ %indvars.iv37.8.ph, %.lr.ph.8.preheader ]
  %indvars.iv.next38.8 = add nsw i64 %indvars.iv37.8, -1
  %180 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.next38.8
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv37.8
  store i32 %181, ptr %182, align 4, !tbaa !5
  %.not.not.8 = icmp sgt i64 %indvars.iv.next38.8, %170
  br i1 %.not.not.8, label %.lr.ph.8, label %._crit_edge.8, !llvm.loop !23

._crit_edge.8:                                    ; preds = %.lr.ph.8, %middle.block147, %.preheader23.8
  store i32 %163, ptr %168, align 4, !tbaa !5
  %183 = getelementptr inbounds i8, ptr %2, i64 40
  %184 = load i32, ptr %183, align 8, !tbaa !5
  br label %185

185:                                              ; preds = %185, %._crit_edge.8
  %indvars.iv.9 = phi i64 [ %indvars.iv.next.9, %185 ], [ 0, %._crit_edge.8 ]
  %186 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.9
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %188 = icmp sgt i32 %184, %187
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  br i1 %188, label %185, label %.preheader23.9, !llvm.loop !9

.preheader23.9:                                   ; preds = %185
  %189 = and i64 %indvars.iv.9, 4294967294
  %.not.not27.9 = icmp ult i64 %189, 10
  br i1 %.not.not27.9, label %.lr.ph.preheader.9, label %._crit_edge.9

.lr.ph.preheader.9:                               ; preds = %.preheader23.9
  %sext66 = shl i64 %indvars.iv.9, 32
  %190 = ashr exact i64 %sext66, 32
  %smin166 = tail call i64 @llvm.smin.i64(i64 %190, i64 9)
  %191 = sub i64 10, %smin166
  %min.iters.check169 = icmp ult i64 %191, 8
  br i1 %min.iters.check169, label %.lr.ph.9.preheader, label %vector.ph170

vector.ph170:                                     ; preds = %.lr.ph.preheader.9
  %n.vec172 = and i64 %191, -8
  %ind.end173 = sub i64 10, %n.vec172
  br label %vector.body175

vector.body175:                                   ; preds = %vector.body175, %vector.ph170
  %index176 = phi i64 [ 0, %vector.ph170 ], [ %index.next184, %vector.body175 ]
  %offset.idx177 = sub i64 10, %index176
  %192 = sub i64 9, %index176
  %193 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %192
  %194 = getelementptr inbounds i8, ptr %193, i64 -12
  %195 = getelementptr inbounds i8, ptr %193, i64 -28
  %wide.load178 = load <4 x i32>, ptr %194, align 8, !tbaa !5
  %wide.load180 = load <4 x i32>, ptr %195, align 8, !tbaa !5
  %196 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %offset.idx177
  %197 = getelementptr inbounds i8, ptr %196, i64 -12
  %198 = getelementptr inbounds i8, ptr %196, i64 -28
  store <4 x i32> %wide.load178, ptr %197, align 4, !tbaa !5
  store <4 x i32> %wide.load180, ptr %198, align 4, !tbaa !5
  %index.next184 = add nuw i64 %index176, 8
  %199 = icmp eq i64 %index.next184, %n.vec172
  br i1 %199, label %middle.block167, label %vector.body175, !llvm.loop !24

middle.block167:                                  ; preds = %vector.body175
  %cmp.n185 = icmp eq i64 %191, %n.vec172
  br i1 %cmp.n185, label %._crit_edge.9, label %.lr.ph.9.preheader

.lr.ph.9.preheader:                               ; preds = %middle.block167, %.lr.ph.preheader.9
  %indvars.iv37.9.ph = phi i64 [ 10, %.lr.ph.preheader.9 ], [ %ind.end173, %middle.block167 ]
  br label %.lr.ph.9

.lr.ph.9:                                         ; preds = %.lr.ph.9.preheader, %.lr.ph.9
  %indvars.iv37.9 = phi i64 [ %indvars.iv.next38.9, %.lr.ph.9 ], [ %indvars.iv37.9.ph, %.lr.ph.9.preheader ]
  %indvars.iv.next38.9 = add nsw i64 %indvars.iv37.9, -1
  %200 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.next38.9
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv37.9
  store i32 %201, ptr %202, align 4, !tbaa !5
  %.not.not.9 = icmp sgt i64 %indvars.iv.next38.9, %190
  br i1 %.not.not.9, label %.lr.ph.9, label %._crit_edge.9, !llvm.loop !25

._crit_edge.9:                                    ; preds = %.lr.ph.9, %middle.block167, %.preheader23.9
  %203 = getelementptr inbounds [11 x i32], ptr %2, i64 0, i64 %indvars.iv.9
  store i32 %184, ptr %203, align 4, !tbaa !5
  %204 = load i32, ptr %2, align 16, !tbaa !5
  %205 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %204)
  %206 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef nonnull @.str)
  %207 = load i32, ptr %3, align 4, !tbaa !5
  %208 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %207)
  %209 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef nonnull @.str)
  %210 = load i32, ptr %12, align 8, !tbaa !5
  %211 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %210)
  %212 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %211, ptr noundef nonnull @.str)
  %213 = load i32, ptr %26, align 4, !tbaa !5
  %214 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %213)
  %215 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef nonnull @.str)
  %216 = load i32, ptr %47, align 16, !tbaa !5
  %217 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %216)
  %218 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %217, ptr noundef nonnull @.str)
  %219 = load i32, ptr %67, align 4, !tbaa !5
  %220 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %219)
  %221 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef nonnull @.str)
  %222 = load i32, ptr %88, align 8, !tbaa !5
  %223 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %222)
  %224 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull @.str)
  %225 = load i32, ptr %109, align 4, !tbaa !5
  %226 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %225)
  %227 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %226, ptr noundef nonnull @.str)
  %228 = load i32, ptr %130, align 16, !tbaa !5
  %229 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %228)
  %230 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull @.str)
  %231 = load i32, ptr %162, align 4, !tbaa !5
  %232 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %231)
  %233 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull @.str)
  %234 = load i32, ptr %183, align 8, !tbaa !5
  %235 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %234)
  %236 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef nonnull @.str)
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %2) #6
  ret i32 0
}

; 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 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress norecurse 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress 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 #4 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10, !13, !14}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !10, !14, !13}
!16 = distinct !{!16, !10, !13, !14}
!17 = distinct !{!17, !10, !14, !13}
!18 = distinct !{!18, !10, !13, !14}
!19 = distinct !{!19, !10, !14, !13}
!20 = distinct !{!20, !10, !13, !14}
!21 = distinct !{!21, !10, !14, !13}
!22 = distinct !{!22, !10, !13, !14}
!23 = distinct !{!23, !10, !14, !13}
!24 = distinct !{!24, !10, !13, !14}
!25 = distinct !{!25, !10, !14, !13}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass