; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull_r (geom2_r)

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

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, [1 x %struct.__jmp_buf_tag], [40 x i8], i32, double, ptr, ptr, ptr, %struct.qhmemT, %struct.qhstatT }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhmemT = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }

@.str.66 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printmatrix(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @qh_rotatepoints(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store ptr null, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.qhT, ptr %19, i32 0, i32 29
  %21 = load i32, ptr %20, align 8, !tbaa !11
  %22 = icmp sge i32 %21, 1
  br i1 %22, label %23, label %31

23:                                               ; preds = %5
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.qhT, ptr %25, i32 0, i32 158
  %27 = load ptr, ptr %26, align 8, !tbaa !17
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = load i32, ptr %9, align 4, !tbaa !9
  call void @qh_printmatrix(ptr noundef %24, ptr noundef %27, ptr noundef @.str.66, ptr noundef %28, i32 noundef %29, i32 noundef %30)
  br label %31

31:                                               ; preds = %23, %5
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %32, ptr %11, align 8, !tbaa !5
  %33 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %33, ptr %17, align 4, !tbaa !9
  br label %34

34:                                               ; preds = %89, %31
  %35 = load i32, ptr %17, align 4, !tbaa !9
  %36 = add nsw i32 %35, -1
  store i32 %36, ptr %17, align 4, !tbaa !9
  %37 = icmp ne i32 %35, 0
  br i1 %37, label %38, label %94

38:                                               ; preds = %34
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds ptr, ptr %39, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  store ptr %43, ptr %15, align 8, !tbaa !5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %73, %38
  %45 = load i32, ptr %16, align 4, !tbaa !9
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %48, label %76

48:                                               ; preds = %44
  %49 = load ptr, ptr %10, align 8, !tbaa !5
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds ptr, ptr %49, i64 %51
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  store ptr %53, ptr %12, align 8, !tbaa !5
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %54, ptr %13, align 8, !tbaa !5
  store double 0.000000e+00, ptr %14, align 8, !tbaa !18
  %55 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %55, ptr %18, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %60, %48
  %57 = load i32, ptr %18, align 4, !tbaa !9
  %58 = add nsw i32 %57, -1
  store i32 %58, ptr %18, align 4, !tbaa !9
  %59 = icmp ne i32 %57, 0
  br i1 %59, label %60, label %69

60:                                               ; preds = %56
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = getelementptr inbounds double, ptr %61, i32 1
  store ptr %62, ptr %12, align 8, !tbaa !5
  %63 = load double, ptr %61, align 8, !tbaa !18
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %64, i32 1
  store ptr %65, ptr %13, align 8, !tbaa !5
  %66 = load double, ptr %64, align 8, !tbaa !18
  %67 = load double, ptr %14, align 8, !tbaa !18
  %68 = call double @llvm.fmuladd.f64(double %63, double %66, double %67)
  store double %68, ptr %14, align 8, !tbaa !18
  br label %56, !llvm.loop !19

69:                                               ; preds = %56
  %70 = load double, ptr %14, align 8, !tbaa !18
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = getelementptr inbounds double, ptr %71, i32 1
  store ptr %72, ptr %15, align 8, !tbaa !5
  store double %70, ptr %71, align 8, !tbaa !18
  br label %73

73:                                               ; preds = %69
  %74 = load i32, ptr %16, align 4, !tbaa !9
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %16, align 4, !tbaa !9
  br label %44, !llvm.loop !21

76:                                               ; preds = %44
  %77 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %77, ptr %18, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %82, %76
  %79 = load i32, ptr %18, align 4, !tbaa !9
  %80 = add nsw i32 %79, -1
  store i32 %80, ptr %18, align 4, !tbaa !9
  %81 = icmp ne i32 %79, 0
  br i1 %81, label %82, label %88

82:                                               ; preds = %78
  %83 = load ptr, ptr %15, align 8, !tbaa !5
  %84 = getelementptr inbounds double, ptr %83, i32 -1
  store ptr %84, ptr %15, align 8, !tbaa !5
  %85 = load double, ptr %84, align 8, !tbaa !18
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds double, ptr %86, i32 -1
  store ptr %87, ptr %13, align 8, !tbaa !5
  store double %85, ptr %87, align 8, !tbaa !18
  br label %78, !llvm.loop !22

88:                                               ; preds = %78
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %9, align 4, !tbaa !9
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = sext i32 %90 to i64
  %93 = getelementptr inbounds double, ptr %91, i64 %92
  store ptr %93, ptr %11, align 8, !tbaa !5
  br label %34, !llvm.loop !23

94:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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 = !{!12, !10, i64 136}
!12 = !{!"qhT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !13, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !13, i64 64, !13, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !6, i64 104, !10, i64 112, !10, i64 116, !6, i64 120, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !13, i64 160, !13, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !13, i64 192, !13, i64 200, !10, i64 208, !10, i64 212, !13, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !7, i64 300, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !13, i64 448, !13, i64 456, !13, i64 464, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !13, i64 552, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !13, i64 592, !10, i64 600, !6, i64 608, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !6, i64 648, !10, i64 656, !6, i64 664, !10, i64 672, !7, i64 676, !10, i64 932, !7, i64 936, !7, i64 1192, !10, i64 1704, !10, i64 1708, !10, i64 1712, !10, i64 1716, !10, i64 1720, !10, i64 1724, !6, i64 1728, !6, i64 1736, !6, i64 1744, !6, i64 1752, !13, i64 1760, !13, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !13, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !13, i64 1864, !6, i64 1872, !13, i64 1880, !13, i64 1888, !13, i64 1896, !13, i64 1904, !10, i64 1912, !7, i64 1916, !7, i64 1928, !7, i64 2128, !7, i64 2168, !7, i64 2368, !6, i64 2408, !6, i64 2416, !6, i64 2424, !6, i64 2432, !10, i64 2440, !10, i64 2444, !10, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !6, i64 2480, !6, i64 2488, !10, i64 2496, !10, i64 2500, !6, i64 2504, !10, i64 2512, !6, i64 2520, !10, i64 2528, !6, i64 2536, !6, i64 2544, !6, i64 2552, !6, i64 2560, !10, i64 2568, !10, i64 2572, !10, i64 2576, !10, i64 2580, !10, i64 2584, !10, i64 2588, !10, i64 2592, !10, i64 2596, !14, i64 2600, !10, i64 2608, !10, i64 2612, !10, i64 2616, !10, i64 2620, !10, i64 2624, !6, i64 2632, !6, i64 2640, !10, i64 2648, !10, i64 2652, !10, i64 2656, !13, i64 2664, !10, i64 2672, !13, i64 2680, !13, i64 2688, !13, i64 2696, !10, i64 2704, !10, i64 2708, !10, i64 2712, !10, i64 2716, !10, i64 2720, !13, i64 2728, !13, i64 2736, !10, i64 2744, !10, i64 2748, !10, i64 2752, !10, i64 2756, !10, i64 2760, !10, i64 2764, !13, i64 2768, !13, i64 2776, !10, i64 2784, !10, i64 2788, !10, i64 2792, !10, i64 2796, !6, i64 2800, !6, i64 2808, !6, i64 2816, !6, i64 2824, !6, i64 2832, !6, i64 2840, !6, i64 2848, !6, i64 2856, !6, i64 2864, !10, i64 2872, !6, i64 2880, !6, i64 2888, !10, i64 2896, !10, i64 2900, !10, i64 2904, !6, i64 2912, !13, i64 2920, !13, i64 2928, !13, i64 2936, !13, i64 2944, !10, i64 2952, !10, i64 2956, !10, i64 2960, !10, i64 2964, !10, i64 2968, !10, i64 2972, !6, i64 2976, !10, i64 2984, !10, i64 2988, !7, i64 2992, !7, i64 3192, !10, i64 3232, !13, i64 3240, !6, i64 3248, !6, i64 3256, !6, i64 3264, !15, i64 3272, !16, i64 3424}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"qhmemT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!16 = !{!"qhstatT", !7, i64 0, !7, i64 1992, !7, i64 2256, !7, i64 4248, !7, i64 4746, !7, i64 4995, !7, i64 5248, !10, i64 5320, !10, i64 5324, !10, i64 5328, !10, i64 5332, !13, i64 5336}
!17 = !{!12, !6, i64 2424}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}


; 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.66 = external hidden unnamed_addr constant [34 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_rotatepoints(ptr noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = ptrtoint ptr %1 to i64
  %7 = getelementptr inbounds i8, ptr %0, i64 136
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %10, label %13

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 2424
  %12 = load ptr, ptr %11, align 8, !tbaa !15
  tail call void @qh_printmatrix(ptr noundef nonnull %0, ptr noundef %12, ptr noundef nonnull @.str.66, ptr noundef %4, i32 noundef %3, i32 noundef %3)
  br label %13

13:                                               ; preds = %10, %5
  %14 = add nsw i32 %2, -1
  %.not62 = icmp eq i32 %2, 0
  br i1 %.not62, label %._crit_edge67, label %.lr.ph66

.lr.ph66:                                         ; preds = %13
  %15 = sext i32 %3 to i64
  %16 = getelementptr inbounds ptr, ptr %4, i64 %15
  %17 = load ptr, ptr %16, align 8, !tbaa !16
  %18 = ptrtoint ptr %17 to i64
  %19 = icmp sgt i32 %3, 0
  br i1 %19, label %.lr.ph51.us.preheader, label %.lr.ph66.split

.lr.ph51.us.preheader:                            ; preds = %.lr.ph66
  %wide.trip.count = zext nneg i32 %3 to i64
  %20 = sub i64 %18, %6
  %21 = mul nsw i64 %15, -8
  %xtraiter142 = and i32 %3, 3
  %22 = icmp ult i32 %3, 4
  %unroll_iter = and i32 %3, 2147483644
  %lcmp.mod143.not = icmp eq i32 %xtraiter142, 0
  %min.iters.check110 = icmp ult i32 %3, 8
  %n.vec113 = and i64 %wide.trip.count, 2147483644
  %.cast114 = trunc nuw nsw i64 %n.vec113 to i32
  %ind.end115 = sub nsw i32 %3, %.cast114
  %23 = mul nsw i64 %n.vec113, -8
  %24 = mul nsw i64 %n.vec113, -8
  %cmp.n136 = icmp eq i64 %n.vec113, %wide.trip.count
  br label %.lr.ph51.us

.lr.ph51.us:                                      ; preds = %.lr.ph51.us.preheader, %._crit_edge60.us
  %indvar = phi i64 [ 0, %.lr.ph51.us.preheader ], [ %indvar.next, %._crit_edge60.us ]
  %25 = phi i32 [ %14, %.lr.ph51.us.preheader ], [ %97, %._crit_edge60.us ]
  %.03763.us = phi ptr [ %1, %.lr.ph51.us.preheader ], [ %96, %._crit_edge60.us ]
  %26 = mul i64 %21, %indvar
  %27 = add i64 %20, %26
  br label %.lr.ph.us

..preheader_crit_edge.split.us:                   ; preds = %..preheader_crit_edge.split.us.prol.loopexit, %..preheader_crit_edge.split.us
  %.158.us = phi i32 [ %49, %..preheader_crit_edge.split.us ], [ %.158.us.unr, %..preheader_crit_edge.split.us.prol.loopexit ]
  %.13257.us = phi ptr [ %50, %..preheader_crit_edge.split.us ], [ %.13257.us.unr, %..preheader_crit_edge.split.us.prol.loopexit ]
  %.356.us = phi ptr [ %52, %..preheader_crit_edge.split.us ], [ %.356.us.unr, %..preheader_crit_edge.split.us.prol.loopexit ]
  %28 = getelementptr inbounds i8, ptr %.13257.us, i64 -8
  %29 = load double, ptr %28, align 8, !tbaa !17
  %30 = getelementptr inbounds i8, ptr %.356.us, i64 -8
  store double %29, ptr %30, align 8, !tbaa !17
  %31 = getelementptr inbounds i8, ptr %.13257.us, i64 -16
  %32 = load double, ptr %31, align 8, !tbaa !17
  %33 = getelementptr inbounds i8, ptr %.356.us, i64 -16
  store double %32, ptr %33, align 8, !tbaa !17
  %34 = getelementptr inbounds i8, ptr %.13257.us, i64 -24
  %35 = load double, ptr %34, align 8, !tbaa !17
  %36 = getelementptr inbounds i8, ptr %.356.us, i64 -24
  store double %35, ptr %36, align 8, !tbaa !17
  %37 = getelementptr inbounds i8, ptr %.13257.us, i64 -32
  %38 = load double, ptr %37, align 8, !tbaa !17
  %39 = getelementptr inbounds i8, ptr %.356.us, i64 -32
  store double %38, ptr %39, align 8, !tbaa !17
  %40 = getelementptr inbounds i8, ptr %.13257.us, i64 -40
  %41 = load double, ptr %40, align 8, !tbaa !17
  %42 = getelementptr inbounds i8, ptr %.356.us, i64 -40
  store double %41, ptr %42, align 8, !tbaa !17
  %43 = getelementptr inbounds i8, ptr %.13257.us, i64 -48
  %44 = load double, ptr %43, align 8, !tbaa !17
  %45 = getelementptr inbounds i8, ptr %.356.us, i64 -48
  store double %44, ptr %45, align 8, !tbaa !17
  %46 = getelementptr inbounds i8, ptr %.13257.us, i64 -56
  %47 = load double, ptr %46, align 8, !tbaa !17
  %48 = getelementptr inbounds i8, ptr %.356.us, i64 -56
  store double %47, ptr %48, align 8, !tbaa !17
  %49 = add nsw i32 %.158.us, -8
  %50 = getelementptr inbounds i8, ptr %.13257.us, i64 -64
  %51 = load double, ptr %50, align 8, !tbaa !17
  %52 = getelementptr inbounds i8, ptr %.356.us, i64 -64
  store double %51, ptr %52, align 8, !tbaa !17
  %.not40.us.7 = icmp eq i32 %49, 0
  br i1 %.not40.us.7, label %._crit_edge60.us, label %..preheader_crit_edge.split.us, !llvm.loop !18

.lr.ph.us:                                        ; preds = %.lr.ph51.us, %._crit_edge.us
  %indvars.iv = phi i64 [ 0, %.lr.ph51.us ], [ %indvars.iv.next, %._crit_edge.us ]
  %.03148.us = phi ptr [ %17, %.lr.ph51.us ], [ %80, %._crit_edge.us ]
  %53 = getelementptr inbounds ptr, ptr %4, i64 %indvars.iv
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  br i1 %22, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new

.lr.ph.us.new:                                    ; preds = %.lr.ph.us, %.lr.ph.us.new
  %indvar105 = phi i64 [ %indvar.next106.3, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %.03345.us = phi double [ %74, %.lr.ph.us.new ], [ 0.000000e+00, %.lr.ph.us ]
  %.244.us = phi ptr [ %72, %.lr.ph.us.new ], [ %.03763.us, %.lr.ph.us ]
  %.03643.us = phi ptr [ %70, %.lr.ph.us.new ], [ %54, %.lr.ph.us ]
  %niter = phi i32 [ %niter.next.3, %.lr.ph.us.new ], [ 0, %.lr.ph.us ]
  %55 = getelementptr inbounds i8, ptr %.03643.us, i64 8
  %56 = load double, ptr %.03643.us, align 8, !tbaa !17
  %57 = getelementptr inbounds i8, ptr %.244.us, i64 8
  %58 = load double, ptr %.244.us, align 8, !tbaa !17
  %59 = tail call double @llvm.fmuladd.f64(double %56, double %58, double %.03345.us)
  %60 = getelementptr inbounds i8, ptr %.03643.us, i64 16
  %61 = load double, ptr %55, align 8, !tbaa !17
  %62 = getelementptr inbounds i8, ptr %.244.us, i64 16
  %63 = load double, ptr %57, align 8, !tbaa !17
  %64 = tail call double @llvm.fmuladd.f64(double %61, double %63, double %59)
  %65 = getelementptr inbounds i8, ptr %.03643.us, i64 24
  %66 = load double, ptr %60, align 8, !tbaa !17
  %67 = getelementptr inbounds i8, ptr %.244.us, i64 24
  %68 = load double, ptr %62, align 8, !tbaa !17
  %69 = tail call double @llvm.fmuladd.f64(double %66, double %68, double %64)
  %70 = getelementptr inbounds i8, ptr %.03643.us, i64 32
  %71 = load double, ptr %65, align 8, !tbaa !17
  %72 = getelementptr inbounds i8, ptr %.244.us, i64 32
  %73 = load double, ptr %67, align 8, !tbaa !17
  %74 = tail call double @llvm.fmuladd.f64(double %71, double %73, double %69)
  %indvar.next106.3 = add nuw nsw i64 %indvar105, 4
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.us.unr-lcssa.loopexit, label %.lr.ph.us.new, !llvm.loop !21

._crit_edge.us.unr-lcssa.loopexit:                ; preds = %.lr.ph.us.new
  %indvar.next106.2 = or disjoint i64 %indvar105, 3
  br label %._crit_edge.us.unr-lcssa

._crit_edge.us.unr-lcssa:                         ; preds = %._crit_edge.us.unr-lcssa.loopexit, %.lr.ph.us
  %indvar105.lcssa.ph = phi i64 [ poison, %.lr.ph.us ], [ %indvar.next106.2, %._crit_edge.us.unr-lcssa.loopexit ]
  %.lcssa138.ph = phi ptr [ poison, %.lr.ph.us ], [ %72, %._crit_edge.us.unr-lcssa.loopexit ]
  %.lcssa.ph = phi double [ poison, %.lr.ph.us ], [ %74, %._crit_edge.us.unr-lcssa.loopexit ]
  %indvar105.unr = phi i64 [ 0, %.lr.ph.us ], [ %indvar.next106.3, %._crit_edge.us.unr-lcssa.loopexit ]
  %.03345.us.unr = phi double [ 0.000000e+00, %.lr.ph.us ], [ %74, %._crit_edge.us.unr-lcssa.loopexit ]
  %.244.us.unr = phi ptr [ %.03763.us, %.lr.ph.us ], [ %72, %._crit_edge.us.unr-lcssa.loopexit ]
  %.03643.us.unr = phi ptr [ %54, %.lr.ph.us ], [ %70, %._crit_edge.us.unr-lcssa.loopexit ]
  br i1 %lcmp.mod143.not, label %._crit_edge.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.us.unr-lcssa, %.epil.preheader
  %indvar105.epil = phi i64 [ %indvar.next106.epil, %.epil.preheader ], [ %indvar105.unr, %._crit_edge.us.unr-lcssa ]
  %.03345.us.epil = phi double [ %79, %.epil.preheader ], [ %.03345.us.unr, %._crit_edge.us.unr-lcssa ]
  %.244.us.epil = phi ptr [ %77, %.epil.preheader ], [ %.244.us.unr, %._crit_edge.us.unr-lcssa ]
  %.03643.us.epil = phi ptr [ %75, %.epil.preheader ], [ %.03643.us.unr, %._crit_edge.us.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.us.unr-lcssa ]
  %75 = getelementptr inbounds i8, ptr %.03643.us.epil, i64 8
  %76 = load double, ptr %.03643.us.epil, align 8, !tbaa !17
  %77 = getelementptr inbounds i8, ptr %.244.us.epil, i64 8
  %78 = load double, ptr %.244.us.epil, align 8, !tbaa !17
  %79 = tail call double @llvm.fmuladd.f64(double %76, double %78, double %.03345.us.epil)
  %indvar.next106.epil = add i64 %indvar105.epil, 1
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter142
  br i1 %epil.iter.cmp.not, label %._crit_edge.us, label %.epil.preheader, !llvm.loop !22

._crit_edge.us:                                   ; preds = %.epil.preheader, %._crit_edge.us.unr-lcssa
  %indvar105.lcssa = phi i64 [ %indvar105.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %indvar105.epil, %.epil.preheader ]
  %.lcssa138 = phi ptr [ %.lcssa138.ph, %._crit_edge.us.unr-lcssa ], [ %77, %.epil.preheader ]
  %.lcssa = phi double [ %.lcssa.ph, %._crit_edge.us.unr-lcssa ], [ %79, %.epil.preheader ]
  %80 = getelementptr inbounds i8, ptr %.03148.us, i64 8
  store double %.lcssa, ptr %.03148.us, align 8, !tbaa !17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %..preheader_crit_edge.split.us.preheader, label %.lr.ph.us, !llvm.loop !24

..preheader_crit_edge.split.us.preheader:         ; preds = %._crit_edge.us
  br i1 %min.iters.check110, label %..preheader_crit_edge.split.us.preheader137, label %vector.memcheck104

..preheader_crit_edge.split.us.preheader137:      ; preds = %middle.block108, %vector.memcheck104, %..preheader_crit_edge.split.us.preheader
  %.158.us.ph = phi i32 [ %3, %vector.memcheck104 ], [ %3, %..preheader_crit_edge.split.us.preheader ], [ %ind.end115, %middle.block108 ]
  %.13257.us.ph = phi ptr [ %80, %vector.memcheck104 ], [ %80, %..preheader_crit_edge.split.us.preheader ], [ %ind.end117, %middle.block108 ]
  %.356.us.ph = phi ptr [ %.lcssa138, %vector.memcheck104 ], [ %.lcssa138, %..preheader_crit_edge.split.us.preheader ], [ %ind.end119, %middle.block108 ]
  %81 = add nsw i32 %.158.us.ph, -1
  %xtraiter147 = and i32 %.158.us.ph, 7
  %lcmp.mod148.not = icmp eq i32 %xtraiter147, 0
  br i1 %lcmp.mod148.not, label %..preheader_crit_edge.split.us.prol.loopexit, label %..preheader_crit_edge.split.us.prol

..preheader_crit_edge.split.us.prol:              ; preds = %..preheader_crit_edge.split.us.preheader137, %..preheader_crit_edge.split.us.prol
  %.158.us.prol = phi i32 [ %82, %..preheader_crit_edge.split.us.prol ], [ %.158.us.ph, %..preheader_crit_edge.split.us.preheader137 ]
  %.13257.us.prol = phi ptr [ %83, %..preheader_crit_edge.split.us.prol ], [ %.13257.us.ph, %..preheader_crit_edge.split.us.preheader137 ]
  %.356.us.prol = phi ptr [ %85, %..preheader_crit_edge.split.us.prol ], [ %.356.us.ph, %..preheader_crit_edge.split.us.preheader137 ]
  %prol.iter149 = phi i32 [ %prol.iter149.next, %..preheader_crit_edge.split.us.prol ], [ 0, %..preheader_crit_edge.split.us.preheader137 ]
  %82 = add nsw i32 %.158.us.prol, -1
  %83 = getelementptr inbounds i8, ptr %.13257.us.prol, i64 -8
  %84 = load double, ptr %83, align 8, !tbaa !17
  %85 = getelementptr inbounds i8, ptr %.356.us.prol, i64 -8
  store double %84, ptr %85, align 8, !tbaa !17
  %prol.iter149.next = add i32 %prol.iter149, 1
  %prol.iter149.cmp.not = icmp eq i32 %prol.iter149.next, %xtraiter147
  br i1 %prol.iter149.cmp.not, label %..preheader_crit_edge.split.us.prol.loopexit, label %..preheader_crit_edge.split.us.prol, !llvm.loop !25

..preheader_crit_edge.split.us.prol.loopexit:     ; preds = %..preheader_crit_edge.split.us.prol, %..preheader_crit_edge.split.us.preheader137
  %.158.us.unr = phi i32 [ %.158.us.ph, %..preheader_crit_edge.split.us.preheader137 ], [ %82, %..preheader_crit_edge.split.us.prol ]
  %.13257.us.unr = phi ptr [ %.13257.us.ph, %..preheader_crit_edge.split.us.preheader137 ], [ %83, %..preheader_crit_edge.split.us.prol ]
  %.356.us.unr = phi ptr [ %.356.us.ph, %..preheader_crit_edge.split.us.preheader137 ], [ %85, %..preheader_crit_edge.split.us.prol ]
  %86 = icmp ult i32 %81, 7
  br i1 %86, label %._crit_edge60.us, label %..preheader_crit_edge.split.us

vector.memcheck104:                               ; preds = %..preheader_crit_edge.split.us.preheader
  %87 = shl nuw nsw i64 %indvars.iv, 3
  %88 = add i64 %87, %27
  %89 = shl i64 %indvar105.lcssa, 3
  %90 = sub i64 %88, %89
  %diff.check107 = icmp ult i64 %90, 32
  br i1 %diff.check107, label %..preheader_crit_edge.split.us.preheader137, label %vector.ph111

vector.ph111:                                     ; preds = %vector.memcheck104
  %ind.end117 = getelementptr i8, ptr %80, i64 %23
  %ind.end119 = getelementptr i8, ptr %.lcssa138, i64 %24
  br label %vector.body121

vector.body121:                                   ; preds = %vector.body121, %vector.ph111
  %index122 = phi i64 [ 0, %vector.ph111 ], [ %index.next135, %vector.body121 ]
  %offset.idx123 = mul i64 %index122, -8
  %next.gep124 = getelementptr i8, ptr %80, i64 %offset.idx123
  %offset.idx126 = mul i64 %index122, -8
  %next.gep127 = getelementptr i8, ptr %.lcssa138, i64 %offset.idx126
  %91 = getelementptr inbounds i8, ptr %next.gep124, i64 -16
  %92 = getelementptr inbounds i8, ptr %next.gep124, i64 -32
  %wide.load129 = load <2 x double>, ptr %91, align 8, !tbaa !17
  %wide.load131 = load <2 x double>, ptr %92, align 8, !tbaa !17
  %93 = getelementptr inbounds i8, ptr %next.gep127, i64 -16
  %94 = getelementptr inbounds i8, ptr %next.gep127, i64 -32
  store <2 x double> %wide.load129, ptr %93, align 8, !tbaa !17
  store <2 x double> %wide.load131, ptr %94, align 8, !tbaa !17
  %index.next135 = add nuw i64 %index122, 4
  %95 = icmp eq i64 %index.next135, %n.vec113
  br i1 %95, label %middle.block108, label %vector.body121, !llvm.loop !26

middle.block108:                                  ; preds = %vector.body121
  br i1 %cmp.n136, label %._crit_edge60.us, label %..preheader_crit_edge.split.us.preheader137

._crit_edge60.us:                                 ; preds = %..preheader_crit_edge.split.us.prol.loopexit, %..preheader_crit_edge.split.us, %middle.block108
  %96 = getelementptr inbounds double, ptr %.03763.us, i64 %15
  %97 = add nsw i32 %25, -1
  %.not.us = icmp eq i32 %25, 0
  %indvar.next = add i64 %indvar, 1
  br i1 %.not.us, label %._crit_edge67, label %.lr.ph51.us, !llvm.loop !28

.lr.ph66.split:                                   ; preds = %.lr.ph66
  %.not4055 = icmp eq i32 %3, 0
  br i1 %.not4055, label %._crit_edge67, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.lr.ph66.split
  %98 = zext i32 %3 to i64
  %n.vec = and i64 %98, 4294967292
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end = sub i32 %3, %.cast
  %99 = mul nsw i64 %n.vec, -8
  %ind.end92 = getelementptr i8, ptr %17, i64 %99
  %100 = mul nsw i64 %n.vec, -8
  %cmp.n = icmp eq i64 %n.vec, %98
  br label %vector.memcheck

vector.memcheck:                                  ; preds = %._crit_edge60, %.preheader.preheader
  %101 = phi i32 [ %139, %._crit_edge60 ], [ %14, %.preheader.preheader ]
  %.03464 = phi ptr [ %.lcssa90, %._crit_edge60 ], [ null, %.preheader.preheader ]
  %.0346491 = ptrtoint ptr %.03464 to i64
  %102 = sub i64 %18, %.0346491
  %diff.check = icmp ult i64 %102, 32
  br i1 %diff.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %ind.end94 = getelementptr i8, ptr %.03464, i64 %100
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = mul i64 %index, -8
  %next.gep = getelementptr i8, ptr %17, i64 %offset.idx
  %offset.idx97 = mul i64 %index, -8
  %next.gep98 = getelementptr i8, ptr %.03464, i64 %offset.idx97
  %103 = getelementptr inbounds i8, ptr %next.gep, i64 -16
  %104 = getelementptr inbounds i8, ptr %next.gep, i64 -32
  %wide.load = load <2 x double>, ptr %103, align 8, !tbaa !17
  %wide.load100 = load <2 x double>, ptr %104, align 8, !tbaa !17
  %105 = getelementptr inbounds i8, ptr %next.gep98, i64 -16
  %106 = getelementptr inbounds i8, ptr %next.gep98, i64 -32
  store <2 x double> %wide.load, ptr %105, align 8, !tbaa !17
  store <2 x double> %wide.load100, ptr %106, align 8, !tbaa !17
  %index.next = add nuw i64 %index, 4
  %107 = icmp eq i64 %index.next, %n.vec
  br i1 %107, label %middle.block, label %vector.body, !llvm.loop !29

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge60, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck
  %.158.ph = phi i32 [ %3, %vector.memcheck ], [ %ind.end, %middle.block ]
  %.13257.ph = phi ptr [ %17, %vector.memcheck ], [ %ind.end92, %middle.block ]
  %.356.ph = phi ptr [ %.03464, %vector.memcheck ], [ %ind.end94, %middle.block ]
  %108 = add nsw i32 %.158.ph, -1
  %xtraiter = and i32 %.158.ph, 7
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %.158.prol = phi i32 [ %109, %scalar.ph.prol ], [ %.158.ph, %scalar.ph.preheader ]
  %.13257.prol = phi ptr [ %110, %scalar.ph.prol ], [ %.13257.ph, %scalar.ph.preheader ]
  %.356.prol = phi ptr [ %112, %scalar.ph.prol ], [ %.356.ph, %scalar.ph.preheader ]
  %prol.iter = phi i32 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %109 = add nsw i32 %.158.prol, -1
  %110 = getelementptr inbounds i8, ptr %.13257.prol, i64 -8
  %111 = load double, ptr %110, align 8, !tbaa !17
  %112 = getelementptr inbounds i8, ptr %.356.prol, i64 -8
  store double %111, ptr %112, align 8, !tbaa !17
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !30

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.lcssa141.unr = phi ptr [ poison, %scalar.ph.preheader ], [ %112, %scalar.ph.prol ]
  %.158.unr = phi i32 [ %.158.ph, %scalar.ph.preheader ], [ %109, %scalar.ph.prol ]
  %.13257.unr = phi ptr [ %.13257.ph, %scalar.ph.preheader ], [ %110, %scalar.ph.prol ]
  %.356.unr = phi ptr [ %.356.ph, %scalar.ph.preheader ], [ %112, %scalar.ph.prol ]
  %113 = icmp ult i32 %108, 7
  br i1 %113, label %._crit_edge60, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.158 = phi i32 [ %135, %scalar.ph ], [ %.158.unr, %scalar.ph.prol.loopexit ]
  %.13257 = phi ptr [ %136, %scalar.ph ], [ %.13257.unr, %scalar.ph.prol.loopexit ]
  %.356 = phi ptr [ %138, %scalar.ph ], [ %.356.unr, %scalar.ph.prol.loopexit ]
  %114 = getelementptr inbounds i8, ptr %.13257, i64 -8
  %115 = load double, ptr %114, align 8, !tbaa !17
  %116 = getelementptr inbounds i8, ptr %.356, i64 -8
  store double %115, ptr %116, align 8, !tbaa !17
  %117 = getelementptr inbounds i8, ptr %.13257, i64 -16
  %118 = load double, ptr %117, align 8, !tbaa !17
  %119 = getelementptr inbounds i8, ptr %.356, i64 -16
  store double %118, ptr %119, align 8, !tbaa !17
  %120 = getelementptr inbounds i8, ptr %.13257, i64 -24
  %121 = load double, ptr %120, align 8, !tbaa !17
  %122 = getelementptr inbounds i8, ptr %.356, i64 -24
  store double %121, ptr %122, align 8, !tbaa !17
  %123 = getelementptr inbounds i8, ptr %.13257, i64 -32
  %124 = load double, ptr %123, align 8, !tbaa !17
  %125 = getelementptr inbounds i8, ptr %.356, i64 -32
  store double %124, ptr %125, align 8, !tbaa !17
  %126 = getelementptr inbounds i8, ptr %.13257, i64 -40
  %127 = load double, ptr %126, align 8, !tbaa !17
  %128 = getelementptr inbounds i8, ptr %.356, i64 -40
  store double %127, ptr %128, align 8, !tbaa !17
  %129 = getelementptr inbounds i8, ptr %.13257, i64 -48
  %130 = load double, ptr %129, align 8, !tbaa !17
  %131 = getelementptr inbounds i8, ptr %.356, i64 -48
  store double %130, ptr %131, align 8, !tbaa !17
  %132 = getelementptr inbounds i8, ptr %.13257, i64 -56
  %133 = load double, ptr %132, align 8, !tbaa !17
  %134 = getelementptr inbounds i8, ptr %.356, i64 -56
  store double %133, ptr %134, align 8, !tbaa !17
  %135 = add nsw i32 %.158, -8
  %136 = getelementptr inbounds i8, ptr %.13257, i64 -64
  %137 = load double, ptr %136, align 8, !tbaa !17
  %138 = getelementptr inbounds i8, ptr %.356, i64 -64
  store double %137, ptr %138, align 8, !tbaa !17
  %.not40.7 = icmp eq i32 %135, 0
  br i1 %.not40.7, label %._crit_edge60, label %scalar.ph, !llvm.loop !31

._crit_edge60:                                    ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %.lcssa90 = phi ptr [ %ind.end94, %middle.block ], [ %.lcssa141.unr, %scalar.ph.prol.loopexit ], [ %138, %scalar.ph ]
  %139 = add nsw i32 %101, -1
  %.not = icmp eq i32 %101, 0
  br i1 %.not, label %._crit_edge67, label %vector.memcheck, !llvm.loop !28

._crit_edge67:                                    ; preds = %._crit_edge60, %._crit_edge60.us, %.lr.ph66.split, %13
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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" }

!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, !7, i64 136}
!6 = !{!"qhT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !10, i64 64, !10, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !11, i64 104, !7, i64 112, !7, i64 116, !11, i64 120, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !10, i64 160, !10, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !10, i64 192, !10, i64 200, !7, i64 208, !7, i64 212, !10, i64 216, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !8, i64 300, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !10, i64 448, !10, i64 456, !10, i64 464, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !7, i64 512, !7, i64 516, !7, i64 520, !7, i64 524, !7, i64 528, !7, i64 532, !7, i64 536, !7, i64 540, !7, i64 544, !10, i64 552, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !7, i64 588, !10, i64 592, !7, i64 600, !11, i64 608, !11, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !11, i64 648, !7, i64 656, !11, i64 664, !7, i64 672, !8, i64 676, !7, i64 932, !8, i64 936, !8, i64 1192, !7, i64 1704, !7, i64 1708, !7, i64 1712, !7, i64 1716, !7, i64 1720, !7, i64 1724, !11, i64 1728, !11, i64 1736, !11, i64 1744, !11, i64 1752, !10, i64 1760, !10, i64 1768, !10, i64 1776, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !10, i64 1816, !10, i64 1824, !10, i64 1832, !10, i64 1840, !10, i64 1848, !10, i64 1856, !10, i64 1864, !11, i64 1872, !10, i64 1880, !10, i64 1888, !10, i64 1896, !10, i64 1904, !7, i64 1912, !8, i64 1916, !8, i64 1928, !8, i64 2128, !8, i64 2168, !8, i64 2368, !11, i64 2408, !11, i64 2416, !11, i64 2424, !11, i64 2432, !7, i64 2440, !7, i64 2444, !7, i64 2448, !11, i64 2456, !11, i64 2464, !11, i64 2472, !11, i64 2480, !11, i64 2488, !7, i64 2496, !7, i64 2500, !11, i64 2504, !7, i64 2512, !11, i64 2520, !7, i64 2528, !11, i64 2536, !11, i64 2544, !11, i64 2552, !11, i64 2560, !7, i64 2568, !7, i64 2572, !7, i64 2576, !7, i64 2580, !7, i64 2584, !7, i64 2588, !7, i64 2592, !7, i64 2596, !12, i64 2600, !7, i64 2608, !7, i64 2612, !7, i64 2616, !7, i64 2620, !7, i64 2624, !11, i64 2632, !11, i64 2640, !7, i64 2648, !7, i64 2652, !7, i64 2656, !10, i64 2664, !7, i64 2672, !10, i64 2680, !10, i64 2688, !10, i64 2696, !7, i64 2704, !7, i64 2708, !7, i64 2712, !7, i64 2716, !7, i64 2720, !10, i64 2728, !10, i64 2736, !7, i64 2744, !7, i64 2748, !7, i64 2752, !7, i64 2756, !7, i64 2760, !7, i64 2764, !10, i64 2768, !10, i64 2776, !7, i64 2784, !7, i64 2788, !7, i64 2792, !7, i64 2796, !11, i64 2800, !11, i64 2808, !11, i64 2816, !11, i64 2824, !11, i64 2832, !11, i64 2840, !11, i64 2848, !11, i64 2856, !11, i64 2864, !7, i64 2872, !11, i64 2880, !11, i64 2888, !7, i64 2896, !7, i64 2900, !7, i64 2904, !11, i64 2912, !10, i64 2920, !10, i64 2928, !10, i64 2936, !10, i64 2944, !7, i64 2952, !7, i64 2956, !7, i64 2960, !7, i64 2964, !7, i64 2968, !7, i64 2972, !11, i64 2976, !7, i64 2984, !7, i64 2988, !8, i64 2992, !8, i64 3192, !7, i64 3232, !10, i64 3240, !11, i64 3248, !11, i64 3256, !11, i64 3264, !13, i64 3272, !14, i64 3424}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"qhmemT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64, !11, i64 72, !11, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144}
!14 = !{!"qhstatT", !8, i64 0, !8, i64 1992, !8, i64 2256, !8, i64 4248, !8, i64 4746, !8, i64 4995, !8, i64 5248, !7, i64 5320, !7, i64 5324, !7, i64 5328, !7, i64 5332, !10, i64 5336}
!15 = !{!6, !11, i64 2424}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19, !20}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !19, !20, !27}
!27 = !{!"llvm.loop.unroll.runtime.disable"}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19, !20, !27}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !19, !20}


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