; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/143 Division 2/Problem E (E)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@g = external dso_local global [131072 x %"class.std::vector"], align 16
@cycle = external dso_local global [131072 x i32], align 16
@v = external dso_local global [131072 x i32], align 16
@ccnt = external dso_local global i32, align 4
@ok = external dso_local global [131072 x i32], align 16
@MOD = external dso_local global i32, align 4
@p = external dso_local global [17 x [131072 x i32]], align 16
@cnt = external dso_local global [131072 x i32], align 16
@p2 = external dso_local global [131072 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_Z3dfsii(i32 noundef, i32 noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4dfs2ii(i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4dfs3iii(i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3LCAii(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::pair", align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %28, %0
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = load i32, ptr @m, align 4, !tbaa !5
  %18 = icmp slt i32 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %31

20:                                               ; preds = %15
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %23
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %26
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 4 dereferenceable(4) %2)
  br label %28

28:                                               ; preds = %20
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %4, align 4, !tbaa !5
  br label %15, !llvm.loop !9

31:                                               ; preds = %19
  %32 = call i64 @_Z3dfsii(i32 noundef 1, i32 noundef -1)
  store i64 %32, ptr %5, align 4
  call void @llvm.memset.p0.i64(ptr align 16 @v, i8 0, i64 524288, i1 false)
  call void @_Z4dfs2ii(i32 noundef 1, i32 noundef -1)
  call void @_Z4dfs3iii(i32 noundef 1, i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %69, %31
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = icmp slt i32 %34, 17
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %72

37:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %65, %37
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = load i32, ptr @ccnt, align 4, !tbaa !5
  %41 = icmp sle i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %68

43:                                               ; preds = %38
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = sub nsw i32 %44, 1
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 %46
  %48 = load i32, ptr %6, align 4, !tbaa !5
  %49 = sub nsw i32 %48, 1
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 %50
  %52 = load i32, ptr %8, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [131072 x i32], ptr %51, i64 0, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [131072 x i32], ptr %47, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = load i32, ptr %6, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 %60
  %62 = load i32, ptr %8, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [131072 x i32], ptr %61, i64 0, i64 %63
  store i32 %58, ptr %64, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %43
  %66 = load i32, ptr %8, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %8, align 4, !tbaa !5
  br label %38, !llvm.loop !11

68:                                               ; preds = %42
  br label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %6, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %6, align 4, !tbaa !5
  br label %33, !llvm.loop !12

72:                                               ; preds = %36
  store i32 1, ptr @p2, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %101, %72
  %74 = load i32, ptr %9, align 4, !tbaa !5
  %75 = icmp slt i32 %74, 131072
  br i1 %75, label %77, label %76

76:                                               ; preds = %73
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %104

77:                                               ; preds = %73
  %78 = load i32, ptr %9, align 4, !tbaa !5
  %79 = sub nsw i32 %78, 1
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = mul nsw i32 %82, 2
  %84 = load i32, ptr %9, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %85
  store i32 %83, ptr %86, align 4, !tbaa !5
  %87 = load i32, ptr %9, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = load i32, ptr @MOD, align 4, !tbaa !5
  %92 = icmp sge i32 %90, %91
  br i1 %92, label %93, label %100

93:                                               ; preds = %77
  %94 = load i32, ptr @MOD, align 4, !tbaa !5
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = sub nsw i32 %98, %94
  store i32 %99, ptr %97, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %93, %77
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %9, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %9, align 4, !tbaa !5
  br label %73, !llvm.loop !13

104:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %105 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %10)
  br label %106

106:                                              ; preds = %125, %123, %104
  %107 = load i32, ptr %10, align 4, !tbaa !5
  %108 = add nsw i32 %107, -1
  store i32 %108, ptr %10, align 4, !tbaa !5
  %109 = icmp ne i32 %107, 0
  br i1 %109, label %110, label %153

110:                                              ; preds = %106
  %111 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %11, ptr noundef %12)
  %112 = load i32, ptr %11, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [131072 x i32], ptr @cycle, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !5
  store i32 %115, ptr %11, align 4, !tbaa !5
  %116 = load i32, ptr %12, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [131072 x i32], ptr @cycle, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !5
  store i32 %119, ptr %12, align 4, !tbaa !5
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = load i32, ptr %12, align 4, !tbaa !5
  %122 = icmp eq i32 %120, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %110
  %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %106, !llvm.loop !14

125:                                              ; preds = %110
  %126 = load i32, ptr %11, align 4, !tbaa !5
  %127 = load i32, ptr %12, align 4, !tbaa !5
  %128 = call noundef i32 @_Z3LCAii(i32 noundef %126, i32 noundef %127)
  store i32 %128, ptr %13, align 4, !tbaa !5
  %129 = load i32, ptr %11, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = load i32, ptr %12, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = add nsw i32 %132, %136
  %138 = load i32, ptr %13, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = mul nsw i32 2, %141
  %143 = sub nsw i32 %137, %142
  %144 = load i32, ptr %13, align 4, !tbaa !5
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [131072 x i32], ptr @ok, i64 0, i64 %145
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = add nsw i32 %143, %147
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %149
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %151)
  br label %106, !llvm.loop !14

153:                                              ; preds = %106
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %154 = load i32, ptr %1, align 4
  ret i32 %154
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { 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 #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 nounwind willreturn memory(argmem: write) }
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 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@g = external dso_local global [131072 x %"class.std::vector"], align 16
@cycle = external dso_local local_unnamed_addr global [131072 x i32], align 16
@v = external dso_local local_unnamed_addr global [131072 x i32], align 16
@ccnt = external dso_local local_unnamed_addr global i32, align 4
@ok = external dso_local local_unnamed_addr global [131072 x i32], align 16
@MOD = external dso_local local_unnamed_addr global i32, align 4
@p = external dso_local local_unnamed_addr global [17 x [131072 x i32]], align 16
@cnt = external dso_local local_unnamed_addr global [131072 x i32], align 16
@p2 = external dso_local local_unnamed_addr global [131072 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_Z3dfsii(i32 noundef, i32 noundef) local_unnamed_addr #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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4dfs2ii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4dfs3iii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3LCAii(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %7 = load i32, ptr @m, align 4, !tbaa !5
  %8 = icmp sgt i32 %7, 0
  br i1 %8, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %9 = call i64 @_Z3dfsii(i32 noundef 1, i32 noundef -1)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(524288) @v, i8 0, i64 524288, i1 false)
  call void @_Z4dfs2ii(i32 noundef 1, i32 noundef -1)
  call void @_Z4dfs3iii(i32 noundef 1, i32 noundef 1, i32 noundef 1)
  %10 = load i32, ptr @ccnt, align 4, !tbaa !5
  %.not2830 = icmp slt i32 %10, 1
  br i1 %.not2830, label %.split36.us, label %.preheader.preheader

.preheader.preheader:                             ; preds = %._crit_edge
  %11 = zext nneg i32 %10 to i64
  %xtraiter = and i64 %11, 3
  %12 = icmp ult i32 %10, 4
  br i1 %12, label %._crit_edge33.preheader.unr-lcssa, label %.preheader.preheader.new

.preheader.preheader.new:                         ; preds = %.preheader.preheader
  %unroll_iter = and i64 %11, 2147483644
  br label %488

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.02229 = phi i32 [ %20, %.lr.ph ], [ 0, %0 ]
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %15
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %18
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %20 = add nuw nsw i32 %.02229, 1
  %21 = load i32, ptr @m, align 4, !tbaa !5
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.split36.us.loopexit.unr-lcssa:                   ; preds = %._crit_edge33.14, %._crit_edge33.14.preheader
  %indvars.iv.15.unr = phi i64 [ 1, %._crit_edge33.14.preheader ], [ %indvars.iv.next.15.3, %._crit_edge33.14 ]
  %lcmp.mod134.not = icmp eq i64 %xtraiter132, 0
  br i1 %lcmp.mod134.not, label %.split36.us, label %._crit_edge33.14.epil

._crit_edge33.14.epil:                            ; preds = %.split36.us.loopexit.unr-lcssa, %._crit_edge33.14.epil
  %indvars.iv.15.epil = phi i64 [ %indvars.iv.next.15.epil, %._crit_edge33.14.epil ], [ %indvars.iv.15.unr, %.split36.us.loopexit.unr-lcssa ]
  %epil.iter133 = phi i64 [ %epil.iter133.next, %._crit_edge33.14.epil ], [ 0, %.split36.us.loopexit.unr-lcssa ]
  %23 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.15.epil
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.15.epil
  store i32 %27, ptr %28, align 4, !tbaa !5
  %indvars.iv.next.15.epil = add nuw nsw i64 %indvars.iv.15.epil, 1
  %epil.iter133.next = add i64 %epil.iter133, 1
  %epil.iter133.cmp.not = icmp eq i64 %epil.iter133.next, %xtraiter132
  br i1 %epil.iter133.cmp.not, label %.split36.us, label %._crit_edge33.14.epil, !llvm.loop !11

.split36.us:                                      ; preds = %.split36.us.loopexit.unr-lcssa, %._crit_edge33.14.epil, %._crit_edge
  store i32 1, ptr @p2, align 16, !tbaa !5
  %29 = load i32, ptr @MOD, align 4, !tbaa !5
  br label %524

._crit_edge33:                                    ; preds = %._crit_edge33, %._crit_edge33.preheader.new
  %indvars.iv.1 = phi i64 [ 1, %._crit_edge33.preheader.new ], [ %indvars.iv.next.1.3, %._crit_edge33 ]
  %niter63 = phi i64 [ 0, %._crit_edge33.preheader.new ], [ %niter63.next.3, %._crit_edge33 ]
  %30 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.1
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.1
  store i32 %34, ptr %35, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %36 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1
  store i32 %40, ptr %41, align 4, !tbaa !5
  %indvars.iv.next.1.1 = add nuw nsw i64 %indvars.iv.1, 2
  %42 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1.1
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1.1
  store i32 %46, ptr %47, align 4, !tbaa !5
  %indvars.iv.next.1.2 = add nuw nsw i64 %indvars.iv.1, 3
  %48 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1.2
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1.2
  store i32 %52, ptr %53, align 4, !tbaa !5
  %indvars.iv.next.1.3 = add nuw nsw i64 %indvars.iv.1, 4
  %niter63.next.3 = add i64 %niter63, 4
  %niter63.ncmp.3 = icmp eq i64 %niter63.next.3, %unroll_iter62
  br i1 %niter63.ncmp.3, label %._crit_edge33.1.preheader.unr-lcssa, label %._crit_edge33, !llvm.loop !13

._crit_edge33.1.preheader.unr-lcssa:              ; preds = %._crit_edge33, %._crit_edge33.preheader
  %indvars.iv.1.unr = phi i64 [ 1, %._crit_edge33.preheader ], [ %indvars.iv.next.1.3, %._crit_edge33 ]
  %lcmp.mod61.not = icmp eq i64 %xtraiter59, 0
  br i1 %lcmp.mod61.not, label %._crit_edge33.1.preheader, label %._crit_edge33.epil

._crit_edge33.epil:                               ; preds = %._crit_edge33.1.preheader.unr-lcssa, %._crit_edge33.epil
  %indvars.iv.1.epil = phi i64 [ %indvars.iv.next.1.epil, %._crit_edge33.epil ], [ %indvars.iv.1.unr, %._crit_edge33.1.preheader.unr-lcssa ]
  %epil.iter60 = phi i64 [ %epil.iter60.next, %._crit_edge33.epil ], [ 0, %._crit_edge33.1.preheader.unr-lcssa ]
  %54 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.1.epil
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.1.epil
  store i32 %58, ptr %59, align 4, !tbaa !5
  %indvars.iv.next.1.epil = add nuw nsw i64 %indvars.iv.1.epil, 1
  %epil.iter60.next = add i64 %epil.iter60, 1
  %epil.iter60.cmp.not = icmp eq i64 %epil.iter60.next, %xtraiter59
  br i1 %epil.iter60.cmp.not, label %._crit_edge33.1.preheader, label %._crit_edge33.epil, !llvm.loop !14

._crit_edge33.1.preheader:                        ; preds = %._crit_edge33.epil, %._crit_edge33.1.preheader.unr-lcssa
  %xtraiter67 = and i64 %11, 3
  %60 = icmp ult i32 %10, 4
  br i1 %60, label %._crit_edge33.2.preheader.unr-lcssa, label %._crit_edge33.1.preheader.new

._crit_edge33.1.preheader.new:                    ; preds = %._crit_edge33.1.preheader
  %unroll_iter70 = and i64 %11, 2147483644
  br label %._crit_edge33.1

._crit_edge33.1:                                  ; preds = %._crit_edge33.1, %._crit_edge33.1.preheader.new
  %indvars.iv.2 = phi i64 [ 1, %._crit_edge33.1.preheader.new ], [ %indvars.iv.next.2.3, %._crit_edge33.1 ]
  %niter71 = phi i64 [ 0, %._crit_edge33.1.preheader.new ], [ %niter71.next.3, %._crit_edge33.1 ]
  %61 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.2
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.2
  store i32 %65, ptr %66, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %67 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2
  store i32 %71, ptr %72, align 4, !tbaa !5
  %indvars.iv.next.2.1 = add nuw nsw i64 %indvars.iv.2, 2
  %73 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2.1
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2.1
  store i32 %77, ptr %78, align 4, !tbaa !5
  %indvars.iv.next.2.2 = add nuw nsw i64 %indvars.iv.2, 3
  %79 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2.2
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2.2
  store i32 %83, ptr %84, align 4, !tbaa !5
  %indvars.iv.next.2.3 = add nuw nsw i64 %indvars.iv.2, 4
  %niter71.next.3 = add i64 %niter71, 4
  %niter71.ncmp.3 = icmp eq i64 %niter71.next.3, %unroll_iter70
  br i1 %niter71.ncmp.3, label %._crit_edge33.2.preheader.unr-lcssa, label %._crit_edge33.1, !llvm.loop !13

._crit_edge33.2.preheader.unr-lcssa:              ; preds = %._crit_edge33.1, %._crit_edge33.1.preheader
  %indvars.iv.2.unr = phi i64 [ 1, %._crit_edge33.1.preheader ], [ %indvars.iv.next.2.3, %._crit_edge33.1 ]
  %lcmp.mod69.not = icmp eq i64 %xtraiter67, 0
  br i1 %lcmp.mod69.not, label %._crit_edge33.2.preheader, label %._crit_edge33.1.epil

._crit_edge33.1.epil:                             ; preds = %._crit_edge33.2.preheader.unr-lcssa, %._crit_edge33.1.epil
  %indvars.iv.2.epil = phi i64 [ %indvars.iv.next.2.epil, %._crit_edge33.1.epil ], [ %indvars.iv.2.unr, %._crit_edge33.2.preheader.unr-lcssa ]
  %epil.iter68 = phi i64 [ %epil.iter68.next, %._crit_edge33.1.epil ], [ 0, %._crit_edge33.2.preheader.unr-lcssa ]
  %85 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.2.epil
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.2.epil
  store i32 %89, ptr %90, align 4, !tbaa !5
  %indvars.iv.next.2.epil = add nuw nsw i64 %indvars.iv.2.epil, 1
  %epil.iter68.next = add i64 %epil.iter68, 1
  %epil.iter68.cmp.not = icmp eq i64 %epil.iter68.next, %xtraiter67
  br i1 %epil.iter68.cmp.not, label %._crit_edge33.2.preheader, label %._crit_edge33.1.epil, !llvm.loop !15

._crit_edge33.2.preheader:                        ; preds = %._crit_edge33.1.epil, %._crit_edge33.2.preheader.unr-lcssa
  %xtraiter72 = and i64 %11, 3
  %91 = icmp ult i32 %10, 4
  br i1 %91, label %._crit_edge33.3.preheader.unr-lcssa, label %._crit_edge33.2.preheader.new

._crit_edge33.2.preheader.new:                    ; preds = %._crit_edge33.2.preheader
  %unroll_iter75 = and i64 %11, 2147483644
  br label %._crit_edge33.2

._crit_edge33.2:                                  ; preds = %._crit_edge33.2, %._crit_edge33.2.preheader.new
  %indvars.iv.3 = phi i64 [ 1, %._crit_edge33.2.preheader.new ], [ %indvars.iv.next.3.3, %._crit_edge33.2 ]
  %niter76 = phi i64 [ 0, %._crit_edge33.2.preheader.new ], [ %niter76.next.3, %._crit_edge33.2 ]
  %92 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.3
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.3
  store i32 %96, ptr %97, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %98 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3
  store i32 %102, ptr %103, align 4, !tbaa !5
  %indvars.iv.next.3.1 = add nuw nsw i64 %indvars.iv.3, 2
  %104 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3.1
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3.1
  store i32 %108, ptr %109, align 4, !tbaa !5
  %indvars.iv.next.3.2 = add nuw nsw i64 %indvars.iv.3, 3
  %110 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3.2
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %112
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3.2
  store i32 %114, ptr %115, align 4, !tbaa !5
  %indvars.iv.next.3.3 = add nuw nsw i64 %indvars.iv.3, 4
  %niter76.next.3 = add i64 %niter76, 4
  %niter76.ncmp.3 = icmp eq i64 %niter76.next.3, %unroll_iter75
  br i1 %niter76.ncmp.3, label %._crit_edge33.3.preheader.unr-lcssa, label %._crit_edge33.2, !llvm.loop !13

._crit_edge33.3.preheader.unr-lcssa:              ; preds = %._crit_edge33.2, %._crit_edge33.2.preheader
  %indvars.iv.3.unr = phi i64 [ 1, %._crit_edge33.2.preheader ], [ %indvars.iv.next.3.3, %._crit_edge33.2 ]
  %lcmp.mod74.not = icmp eq i64 %xtraiter72, 0
  br i1 %lcmp.mod74.not, label %._crit_edge33.3.preheader, label %._crit_edge33.2.epil

._crit_edge33.2.epil:                             ; preds = %._crit_edge33.3.preheader.unr-lcssa, %._crit_edge33.2.epil
  %indvars.iv.3.epil = phi i64 [ %indvars.iv.next.3.epil, %._crit_edge33.2.epil ], [ %indvars.iv.3.unr, %._crit_edge33.3.preheader.unr-lcssa ]
  %epil.iter73 = phi i64 [ %epil.iter73.next, %._crit_edge33.2.epil ], [ 0, %._crit_edge33.3.preheader.unr-lcssa ]
  %116 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.3.epil
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.3.epil
  store i32 %120, ptr %121, align 4, !tbaa !5
  %indvars.iv.next.3.epil = add nuw nsw i64 %indvars.iv.3.epil, 1
  %epil.iter73.next = add i64 %epil.iter73, 1
  %epil.iter73.cmp.not = icmp eq i64 %epil.iter73.next, %xtraiter72
  br i1 %epil.iter73.cmp.not, label %._crit_edge33.3.preheader, label %._crit_edge33.2.epil, !llvm.loop !16

._crit_edge33.3.preheader:                        ; preds = %._crit_edge33.2.epil, %._crit_edge33.3.preheader.unr-lcssa
  %xtraiter77 = and i64 %11, 3
  %122 = icmp ult i32 %10, 4
  br i1 %122, label %._crit_edge33.4.preheader.unr-lcssa, label %._crit_edge33.3.preheader.new

._crit_edge33.3.preheader.new:                    ; preds = %._crit_edge33.3.preheader
  %unroll_iter80 = and i64 %11, 2147483644
  br label %._crit_edge33.3

._crit_edge33.3:                                  ; preds = %._crit_edge33.3, %._crit_edge33.3.preheader.new
  %indvars.iv.4 = phi i64 [ 1, %._crit_edge33.3.preheader.new ], [ %indvars.iv.next.4.3, %._crit_edge33.3 ]
  %niter81 = phi i64 [ 0, %._crit_edge33.3.preheader.new ], [ %niter81.next.3, %._crit_edge33.3 ]
  %123 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.4
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.4
  store i32 %127, ptr %128, align 4, !tbaa !5
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %129 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4
  store i32 %133, ptr %134, align 4, !tbaa !5
  %indvars.iv.next.4.1 = add nuw nsw i64 %indvars.iv.4, 2
  %135 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4.1
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %137
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4.1
  store i32 %139, ptr %140, align 4, !tbaa !5
  %indvars.iv.next.4.2 = add nuw nsw i64 %indvars.iv.4, 3
  %141 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4.2
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %143
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4.2
  store i32 %145, ptr %146, align 4, !tbaa !5
  %indvars.iv.next.4.3 = add nuw nsw i64 %indvars.iv.4, 4
  %niter81.next.3 = add i64 %niter81, 4
  %niter81.ncmp.3 = icmp eq i64 %niter81.next.3, %unroll_iter80
  br i1 %niter81.ncmp.3, label %._crit_edge33.4.preheader.unr-lcssa, label %._crit_edge33.3, !llvm.loop !13

._crit_edge33.4.preheader.unr-lcssa:              ; preds = %._crit_edge33.3, %._crit_edge33.3.preheader
  %indvars.iv.4.unr = phi i64 [ 1, %._crit_edge33.3.preheader ], [ %indvars.iv.next.4.3, %._crit_edge33.3 ]
  %lcmp.mod79.not = icmp eq i64 %xtraiter77, 0
  br i1 %lcmp.mod79.not, label %._crit_edge33.4.preheader, label %._crit_edge33.3.epil

._crit_edge33.3.epil:                             ; preds = %._crit_edge33.4.preheader.unr-lcssa, %._crit_edge33.3.epil
  %indvars.iv.4.epil = phi i64 [ %indvars.iv.next.4.epil, %._crit_edge33.3.epil ], [ %indvars.iv.4.unr, %._crit_edge33.4.preheader.unr-lcssa ]
  %epil.iter78 = phi i64 [ %epil.iter78.next, %._crit_edge33.3.epil ], [ 0, %._crit_edge33.4.preheader.unr-lcssa ]
  %147 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.4.epil
  %148 = load i32, ptr %147, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %149
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.4.epil
  store i32 %151, ptr %152, align 4, !tbaa !5
  %indvars.iv.next.4.epil = add nuw nsw i64 %indvars.iv.4.epil, 1
  %epil.iter78.next = add i64 %epil.iter78, 1
  %epil.iter78.cmp.not = icmp eq i64 %epil.iter78.next, %xtraiter77
  br i1 %epil.iter78.cmp.not, label %._crit_edge33.4.preheader, label %._crit_edge33.3.epil, !llvm.loop !17

._crit_edge33.4.preheader:                        ; preds = %._crit_edge33.3.epil, %._crit_edge33.4.preheader.unr-lcssa
  %xtraiter82 = and i64 %11, 3
  %153 = icmp ult i32 %10, 4
  br i1 %153, label %._crit_edge33.5.preheader.unr-lcssa, label %._crit_edge33.4.preheader.new

._crit_edge33.4.preheader.new:                    ; preds = %._crit_edge33.4.preheader
  %unroll_iter85 = and i64 %11, 2147483644
  br label %._crit_edge33.4

._crit_edge33.4:                                  ; preds = %._crit_edge33.4, %._crit_edge33.4.preheader.new
  %indvars.iv.5 = phi i64 [ 1, %._crit_edge33.4.preheader.new ], [ %indvars.iv.next.5.3, %._crit_edge33.4 ]
  %niter86 = phi i64 [ 0, %._crit_edge33.4.preheader.new ], [ %niter86.next.3, %._crit_edge33.4 ]
  %154 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.5
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %156
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.5
  store i32 %158, ptr %159, align 4, !tbaa !5
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %160 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5
  store i32 %164, ptr %165, align 4, !tbaa !5
  %indvars.iv.next.5.1 = add nuw nsw i64 %indvars.iv.5, 2
  %166 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5.1
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %168
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5.1
  store i32 %170, ptr %171, align 4, !tbaa !5
  %indvars.iv.next.5.2 = add nuw nsw i64 %indvars.iv.5, 3
  %172 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5.2
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %174
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5.2
  store i32 %176, ptr %177, align 4, !tbaa !5
  %indvars.iv.next.5.3 = add nuw nsw i64 %indvars.iv.5, 4
  %niter86.next.3 = add i64 %niter86, 4
  %niter86.ncmp.3 = icmp eq i64 %niter86.next.3, %unroll_iter85
  br i1 %niter86.ncmp.3, label %._crit_edge33.5.preheader.unr-lcssa, label %._crit_edge33.4, !llvm.loop !13

._crit_edge33.5.preheader.unr-lcssa:              ; preds = %._crit_edge33.4, %._crit_edge33.4.preheader
  %indvars.iv.5.unr = phi i64 [ 1, %._crit_edge33.4.preheader ], [ %indvars.iv.next.5.3, %._crit_edge33.4 ]
  %lcmp.mod84.not = icmp eq i64 %xtraiter82, 0
  br i1 %lcmp.mod84.not, label %._crit_edge33.5.preheader, label %._crit_edge33.4.epil

._crit_edge33.4.epil:                             ; preds = %._crit_edge33.5.preheader.unr-lcssa, %._crit_edge33.4.epil
  %indvars.iv.5.epil = phi i64 [ %indvars.iv.next.5.epil, %._crit_edge33.4.epil ], [ %indvars.iv.5.unr, %._crit_edge33.5.preheader.unr-lcssa ]
  %epil.iter83 = phi i64 [ %epil.iter83.next, %._crit_edge33.4.epil ], [ 0, %._crit_edge33.5.preheader.unr-lcssa ]
  %178 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.5.epil
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %180
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.5.epil
  store i32 %182, ptr %183, align 4, !tbaa !5
  %indvars.iv.next.5.epil = add nuw nsw i64 %indvars.iv.5.epil, 1
  %epil.iter83.next = add i64 %epil.iter83, 1
  %epil.iter83.cmp.not = icmp eq i64 %epil.iter83.next, %xtraiter82
  br i1 %epil.iter83.cmp.not, label %._crit_edge33.5.preheader, label %._crit_edge33.4.epil, !llvm.loop !18

._crit_edge33.5.preheader:                        ; preds = %._crit_edge33.4.epil, %._crit_edge33.5.preheader.unr-lcssa
  %xtraiter87 = and i64 %11, 3
  %184 = icmp ult i32 %10, 4
  br i1 %184, label %._crit_edge33.6.preheader.unr-lcssa, label %._crit_edge33.5.preheader.new

._crit_edge33.5.preheader.new:                    ; preds = %._crit_edge33.5.preheader
  %unroll_iter90 = and i64 %11, 2147483644
  br label %._crit_edge33.5

._crit_edge33.5:                                  ; preds = %._crit_edge33.5, %._crit_edge33.5.preheader.new
  %indvars.iv.6 = phi i64 [ 1, %._crit_edge33.5.preheader.new ], [ %indvars.iv.next.6.3, %._crit_edge33.5 ]
  %niter91 = phi i64 [ 0, %._crit_edge33.5.preheader.new ], [ %niter91.next.3, %._crit_edge33.5 ]
  %185 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.6
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %187
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.6
  store i32 %189, ptr %190, align 4, !tbaa !5
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %191 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %193
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6
  store i32 %195, ptr %196, align 4, !tbaa !5
  %indvars.iv.next.6.1 = add nuw nsw i64 %indvars.iv.6, 2
  %197 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6.1
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %199
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6.1
  store i32 %201, ptr %202, align 4, !tbaa !5
  %indvars.iv.next.6.2 = add nuw nsw i64 %indvars.iv.6, 3
  %203 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6.2
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %205
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6.2
  store i32 %207, ptr %208, align 4, !tbaa !5
  %indvars.iv.next.6.3 = add nuw nsw i64 %indvars.iv.6, 4
  %niter91.next.3 = add i64 %niter91, 4
  %niter91.ncmp.3 = icmp eq i64 %niter91.next.3, %unroll_iter90
  br i1 %niter91.ncmp.3, label %._crit_edge33.6.preheader.unr-lcssa, label %._crit_edge33.5, !llvm.loop !13

._crit_edge33.6.preheader.unr-lcssa:              ; preds = %._crit_edge33.5, %._crit_edge33.5.preheader
  %indvars.iv.6.unr = phi i64 [ 1, %._crit_edge33.5.preheader ], [ %indvars.iv.next.6.3, %._crit_edge33.5 ]
  %lcmp.mod89.not = icmp eq i64 %xtraiter87, 0
  br i1 %lcmp.mod89.not, label %._crit_edge33.6.preheader, label %._crit_edge33.5.epil

._crit_edge33.5.epil:                             ; preds = %._crit_edge33.6.preheader.unr-lcssa, %._crit_edge33.5.epil
  %indvars.iv.6.epil = phi i64 [ %indvars.iv.next.6.epil, %._crit_edge33.5.epil ], [ %indvars.iv.6.unr, %._crit_edge33.6.preheader.unr-lcssa ]
  %epil.iter88 = phi i64 [ %epil.iter88.next, %._crit_edge33.5.epil ], [ 0, %._crit_edge33.6.preheader.unr-lcssa ]
  %209 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.6.epil
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %211
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.6.epil
  store i32 %213, ptr %214, align 4, !tbaa !5
  %indvars.iv.next.6.epil = add nuw nsw i64 %indvars.iv.6.epil, 1
  %epil.iter88.next = add i64 %epil.iter88, 1
  %epil.iter88.cmp.not = icmp eq i64 %epil.iter88.next, %xtraiter87
  br i1 %epil.iter88.cmp.not, label %._crit_edge33.6.preheader, label %._crit_edge33.5.epil, !llvm.loop !19

._crit_edge33.6.preheader:                        ; preds = %._crit_edge33.5.epil, %._crit_edge33.6.preheader.unr-lcssa
  %xtraiter92 = and i64 %11, 3
  %215 = icmp ult i32 %10, 4
  br i1 %215, label %._crit_edge33.7.preheader.unr-lcssa, label %._crit_edge33.6.preheader.new

._crit_edge33.6.preheader.new:                    ; preds = %._crit_edge33.6.preheader
  %unroll_iter95 = and i64 %11, 2147483644
  br label %._crit_edge33.6

._crit_edge33.6:                                  ; preds = %._crit_edge33.6, %._crit_edge33.6.preheader.new
  %indvars.iv.7 = phi i64 [ 1, %._crit_edge33.6.preheader.new ], [ %indvars.iv.next.7.3, %._crit_edge33.6 ]
  %niter96 = phi i64 [ 0, %._crit_edge33.6.preheader.new ], [ %niter96.next.3, %._crit_edge33.6 ]
  %216 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.7
  %217 = load i32, ptr %216, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.7
  store i32 %220, ptr %221, align 4, !tbaa !5
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %222 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7
  %223 = load i32, ptr %222, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %224
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7
  store i32 %226, ptr %227, align 4, !tbaa !5
  %indvars.iv.next.7.1 = add nuw nsw i64 %indvars.iv.7, 2
  %228 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7.1
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %230
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7.1
  store i32 %232, ptr %233, align 4, !tbaa !5
  %indvars.iv.next.7.2 = add nuw nsw i64 %indvars.iv.7, 3
  %234 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7.2
  %235 = load i32, ptr %234, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %236
  %238 = load i32, ptr %237, align 4, !tbaa !5
  %239 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7.2
  store i32 %238, ptr %239, align 4, !tbaa !5
  %indvars.iv.next.7.3 = add nuw nsw i64 %indvars.iv.7, 4
  %niter96.next.3 = add i64 %niter96, 4
  %niter96.ncmp.3 = icmp eq i64 %niter96.next.3, %unroll_iter95
  br i1 %niter96.ncmp.3, label %._crit_edge33.7.preheader.unr-lcssa, label %._crit_edge33.6, !llvm.loop !13

._crit_edge33.7.preheader.unr-lcssa:              ; preds = %._crit_edge33.6, %._crit_edge33.6.preheader
  %indvars.iv.7.unr = phi i64 [ 1, %._crit_edge33.6.preheader ], [ %indvars.iv.next.7.3, %._crit_edge33.6 ]
  %lcmp.mod94.not = icmp eq i64 %xtraiter92, 0
  br i1 %lcmp.mod94.not, label %._crit_edge33.7.preheader, label %._crit_edge33.6.epil

._crit_edge33.6.epil:                             ; preds = %._crit_edge33.7.preheader.unr-lcssa, %._crit_edge33.6.epil
  %indvars.iv.7.epil = phi i64 [ %indvars.iv.next.7.epil, %._crit_edge33.6.epil ], [ %indvars.iv.7.unr, %._crit_edge33.7.preheader.unr-lcssa ]
  %epil.iter93 = phi i64 [ %epil.iter93.next, %._crit_edge33.6.epil ], [ 0, %._crit_edge33.7.preheader.unr-lcssa ]
  %240 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.7.epil
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %242
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.7.epil
  store i32 %244, ptr %245, align 4, !tbaa !5
  %indvars.iv.next.7.epil = add nuw nsw i64 %indvars.iv.7.epil, 1
  %epil.iter93.next = add i64 %epil.iter93, 1
  %epil.iter93.cmp.not = icmp eq i64 %epil.iter93.next, %xtraiter92
  br i1 %epil.iter93.cmp.not, label %._crit_edge33.7.preheader, label %._crit_edge33.6.epil, !llvm.loop !20

._crit_edge33.7.preheader:                        ; preds = %._crit_edge33.6.epil, %._crit_edge33.7.preheader.unr-lcssa
  %xtraiter97 = and i64 %11, 3
  %246 = icmp ult i32 %10, 4
  br i1 %246, label %._crit_edge33.8.preheader.unr-lcssa, label %._crit_edge33.7.preheader.new

._crit_edge33.7.preheader.new:                    ; preds = %._crit_edge33.7.preheader
  %unroll_iter100 = and i64 %11, 2147483644
  br label %._crit_edge33.7

._crit_edge33.7:                                  ; preds = %._crit_edge33.7, %._crit_edge33.7.preheader.new
  %indvars.iv.8 = phi i64 [ 1, %._crit_edge33.7.preheader.new ], [ %indvars.iv.next.8.3, %._crit_edge33.7 ]
  %niter101 = phi i64 [ 0, %._crit_edge33.7.preheader.new ], [ %niter101.next.3, %._crit_edge33.7 ]
  %247 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.8
  %248 = load i32, ptr %247, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %249
  %251 = load i32, ptr %250, align 4, !tbaa !5
  %252 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.8
  store i32 %251, ptr %252, align 4, !tbaa !5
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  %253 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8
  %254 = load i32, ptr %253, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %255
  %257 = load i32, ptr %256, align 4, !tbaa !5
  %258 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8
  store i32 %257, ptr %258, align 4, !tbaa !5
  %indvars.iv.next.8.1 = add nuw nsw i64 %indvars.iv.8, 2
  %259 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8.1
  %260 = load i32, ptr %259, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %261
  %263 = load i32, ptr %262, align 4, !tbaa !5
  %264 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8.1
  store i32 %263, ptr %264, align 4, !tbaa !5
  %indvars.iv.next.8.2 = add nuw nsw i64 %indvars.iv.8, 3
  %265 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8.2
  %266 = load i32, ptr %265, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %267
  %269 = load i32, ptr %268, align 4, !tbaa !5
  %270 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8.2
  store i32 %269, ptr %270, align 4, !tbaa !5
  %indvars.iv.next.8.3 = add nuw nsw i64 %indvars.iv.8, 4
  %niter101.next.3 = add i64 %niter101, 4
  %niter101.ncmp.3 = icmp eq i64 %niter101.next.3, %unroll_iter100
  br i1 %niter101.ncmp.3, label %._crit_edge33.8.preheader.unr-lcssa, label %._crit_edge33.7, !llvm.loop !13

._crit_edge33.8.preheader.unr-lcssa:              ; preds = %._crit_edge33.7, %._crit_edge33.7.preheader
  %indvars.iv.8.unr = phi i64 [ 1, %._crit_edge33.7.preheader ], [ %indvars.iv.next.8.3, %._crit_edge33.7 ]
  %lcmp.mod99.not = icmp eq i64 %xtraiter97, 0
  br i1 %lcmp.mod99.not, label %._crit_edge33.8.preheader, label %._crit_edge33.7.epil

._crit_edge33.7.epil:                             ; preds = %._crit_edge33.8.preheader.unr-lcssa, %._crit_edge33.7.epil
  %indvars.iv.8.epil = phi i64 [ %indvars.iv.next.8.epil, %._crit_edge33.7.epil ], [ %indvars.iv.8.unr, %._crit_edge33.8.preheader.unr-lcssa ]
  %epil.iter98 = phi i64 [ %epil.iter98.next, %._crit_edge33.7.epil ], [ 0, %._crit_edge33.8.preheader.unr-lcssa ]
  %271 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.8.epil
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !5
  %276 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.8.epil
  store i32 %275, ptr %276, align 4, !tbaa !5
  %indvars.iv.next.8.epil = add nuw nsw i64 %indvars.iv.8.epil, 1
  %epil.iter98.next = add i64 %epil.iter98, 1
  %epil.iter98.cmp.not = icmp eq i64 %epil.iter98.next, %xtraiter97
  br i1 %epil.iter98.cmp.not, label %._crit_edge33.8.preheader, label %._crit_edge33.7.epil, !llvm.loop !21

._crit_edge33.8.preheader:                        ; preds = %._crit_edge33.7.epil, %._crit_edge33.8.preheader.unr-lcssa
  %xtraiter102 = and i64 %11, 3
  %277 = icmp ult i32 %10, 4
  br i1 %277, label %._crit_edge33.9.preheader.unr-lcssa, label %._crit_edge33.8.preheader.new

._crit_edge33.8.preheader.new:                    ; preds = %._crit_edge33.8.preheader
  %unroll_iter105 = and i64 %11, 2147483644
  br label %._crit_edge33.8

._crit_edge33.8:                                  ; preds = %._crit_edge33.8, %._crit_edge33.8.preheader.new
  %indvars.iv.9 = phi i64 [ 1, %._crit_edge33.8.preheader.new ], [ %indvars.iv.next.9.3, %._crit_edge33.8 ]
  %niter106 = phi i64 [ 0, %._crit_edge33.8.preheader.new ], [ %niter106.next.3, %._crit_edge33.8 ]
  %278 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.9
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %280
  %282 = load i32, ptr %281, align 4, !tbaa !5
  %283 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.9
  store i32 %282, ptr %283, align 4, !tbaa !5
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  %284 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %286
  %288 = load i32, ptr %287, align 4, !tbaa !5
  %289 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9
  store i32 %288, ptr %289, align 4, !tbaa !5
  %indvars.iv.next.9.1 = add nuw nsw i64 %indvars.iv.9, 2
  %290 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9.1
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %292
  %294 = load i32, ptr %293, align 4, !tbaa !5
  %295 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9.1
  store i32 %294, ptr %295, align 4, !tbaa !5
  %indvars.iv.next.9.2 = add nuw nsw i64 %indvars.iv.9, 3
  %296 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9.2
  %297 = load i32, ptr %296, align 4, !tbaa !5
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %298
  %300 = load i32, ptr %299, align 4, !tbaa !5
  %301 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9.2
  store i32 %300, ptr %301, align 4, !tbaa !5
  %indvars.iv.next.9.3 = add nuw nsw i64 %indvars.iv.9, 4
  %niter106.next.3 = add i64 %niter106, 4
  %niter106.ncmp.3 = icmp eq i64 %niter106.next.3, %unroll_iter105
  br i1 %niter106.ncmp.3, label %._crit_edge33.9.preheader.unr-lcssa, label %._crit_edge33.8, !llvm.loop !13

._crit_edge33.9.preheader.unr-lcssa:              ; preds = %._crit_edge33.8, %._crit_edge33.8.preheader
  %indvars.iv.9.unr = phi i64 [ 1, %._crit_edge33.8.preheader ], [ %indvars.iv.next.9.3, %._crit_edge33.8 ]
  %lcmp.mod104.not = icmp eq i64 %xtraiter102, 0
  br i1 %lcmp.mod104.not, label %._crit_edge33.9.preheader, label %._crit_edge33.8.epil

._crit_edge33.8.epil:                             ; preds = %._crit_edge33.9.preheader.unr-lcssa, %._crit_edge33.8.epil
  %indvars.iv.9.epil = phi i64 [ %indvars.iv.next.9.epil, %._crit_edge33.8.epil ], [ %indvars.iv.9.unr, %._crit_edge33.9.preheader.unr-lcssa ]
  %epil.iter103 = phi i64 [ %epil.iter103.next, %._crit_edge33.8.epil ], [ 0, %._crit_edge33.9.preheader.unr-lcssa ]
  %302 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.9.epil
  %303 = load i32, ptr %302, align 4, !tbaa !5
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %304
  %306 = load i32, ptr %305, align 4, !tbaa !5
  %307 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.9.epil
  store i32 %306, ptr %307, align 4, !tbaa !5
  %indvars.iv.next.9.epil = add nuw nsw i64 %indvars.iv.9.epil, 1
  %epil.iter103.next = add i64 %epil.iter103, 1
  %epil.iter103.cmp.not = icmp eq i64 %epil.iter103.next, %xtraiter102
  br i1 %epil.iter103.cmp.not, label %._crit_edge33.9.preheader, label %._crit_edge33.8.epil, !llvm.loop !22

._crit_edge33.9.preheader:                        ; preds = %._crit_edge33.8.epil, %._crit_edge33.9.preheader.unr-lcssa
  %xtraiter107 = and i64 %11, 3
  %308 = icmp ult i32 %10, 4
  br i1 %308, label %._crit_edge33.10.preheader.unr-lcssa, label %._crit_edge33.9.preheader.new

._crit_edge33.9.preheader.new:                    ; preds = %._crit_edge33.9.preheader
  %unroll_iter110 = and i64 %11, 2147483644
  br label %._crit_edge33.9

._crit_edge33.9:                                  ; preds = %._crit_edge33.9, %._crit_edge33.9.preheader.new
  %indvars.iv.10 = phi i64 [ 1, %._crit_edge33.9.preheader.new ], [ %indvars.iv.next.10.3, %._crit_edge33.9 ]
  %niter111 = phi i64 [ 0, %._crit_edge33.9.preheader.new ], [ %niter111.next.3, %._crit_edge33.9 ]
  %309 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.10
  %310 = load i32, ptr %309, align 4, !tbaa !5
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %311
  %313 = load i32, ptr %312, align 4, !tbaa !5
  %314 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.10
  store i32 %313, ptr %314, align 4, !tbaa !5
  %indvars.iv.next.10 = add nuw nsw i64 %indvars.iv.10, 1
  %315 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10
  %316 = load i32, ptr %315, align 4, !tbaa !5
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %317
  %319 = load i32, ptr %318, align 4, !tbaa !5
  %320 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10
  store i32 %319, ptr %320, align 4, !tbaa !5
  %indvars.iv.next.10.1 = add nuw nsw i64 %indvars.iv.10, 2
  %321 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10.1
  %322 = load i32, ptr %321, align 4, !tbaa !5
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %323
  %325 = load i32, ptr %324, align 4, !tbaa !5
  %326 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10.1
  store i32 %325, ptr %326, align 4, !tbaa !5
  %indvars.iv.next.10.2 = add nuw nsw i64 %indvars.iv.10, 3
  %327 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10.2
  %328 = load i32, ptr %327, align 4, !tbaa !5
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %329
  %331 = load i32, ptr %330, align 4, !tbaa !5
  %332 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10.2
  store i32 %331, ptr %332, align 4, !tbaa !5
  %indvars.iv.next.10.3 = add nuw nsw i64 %indvars.iv.10, 4
  %niter111.next.3 = add i64 %niter111, 4
  %niter111.ncmp.3 = icmp eq i64 %niter111.next.3, %unroll_iter110
  br i1 %niter111.ncmp.3, label %._crit_edge33.10.preheader.unr-lcssa, label %._crit_edge33.9, !llvm.loop !13

._crit_edge33.10.preheader.unr-lcssa:             ; preds = %._crit_edge33.9, %._crit_edge33.9.preheader
  %indvars.iv.10.unr = phi i64 [ 1, %._crit_edge33.9.preheader ], [ %indvars.iv.next.10.3, %._crit_edge33.9 ]
  %lcmp.mod109.not = icmp eq i64 %xtraiter107, 0
  br i1 %lcmp.mod109.not, label %._crit_edge33.10.preheader, label %._crit_edge33.9.epil

._crit_edge33.9.epil:                             ; preds = %._crit_edge33.10.preheader.unr-lcssa, %._crit_edge33.9.epil
  %indvars.iv.10.epil = phi i64 [ %indvars.iv.next.10.epil, %._crit_edge33.9.epil ], [ %indvars.iv.10.unr, %._crit_edge33.10.preheader.unr-lcssa ]
  %epil.iter108 = phi i64 [ %epil.iter108.next, %._crit_edge33.9.epil ], [ 0, %._crit_edge33.10.preheader.unr-lcssa ]
  %333 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.10.epil
  %334 = load i32, ptr %333, align 4, !tbaa !5
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %335
  %337 = load i32, ptr %336, align 4, !tbaa !5
  %338 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.10.epil
  store i32 %337, ptr %338, align 4, !tbaa !5
  %indvars.iv.next.10.epil = add nuw nsw i64 %indvars.iv.10.epil, 1
  %epil.iter108.next = add i64 %epil.iter108, 1
  %epil.iter108.cmp.not = icmp eq i64 %epil.iter108.next, %xtraiter107
  br i1 %epil.iter108.cmp.not, label %._crit_edge33.10.preheader, label %._crit_edge33.9.epil, !llvm.loop !23

._crit_edge33.10.preheader:                       ; preds = %._crit_edge33.9.epil, %._crit_edge33.10.preheader.unr-lcssa
  %xtraiter112 = and i64 %11, 3
  %339 = icmp ult i32 %10, 4
  br i1 %339, label %._crit_edge33.11.preheader.unr-lcssa, label %._crit_edge33.10.preheader.new

._crit_edge33.10.preheader.new:                   ; preds = %._crit_edge33.10.preheader
  %unroll_iter115 = and i64 %11, 2147483644
  br label %._crit_edge33.10

._crit_edge33.10:                                 ; preds = %._crit_edge33.10, %._crit_edge33.10.preheader.new
  %indvars.iv.11 = phi i64 [ 1, %._crit_edge33.10.preheader.new ], [ %indvars.iv.next.11.3, %._crit_edge33.10 ]
  %niter116 = phi i64 [ 0, %._crit_edge33.10.preheader.new ], [ %niter116.next.3, %._crit_edge33.10 ]
  %340 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.11
  %341 = load i32, ptr %340, align 4, !tbaa !5
  %342 = sext i32 %341 to i64
  %343 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %342
  %344 = load i32, ptr %343, align 4, !tbaa !5
  %345 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.11
  store i32 %344, ptr %345, align 4, !tbaa !5
  %indvars.iv.next.11 = add nuw nsw i64 %indvars.iv.11, 1
  %346 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11
  %347 = load i32, ptr %346, align 4, !tbaa !5
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %348
  %350 = load i32, ptr %349, align 4, !tbaa !5
  %351 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11
  store i32 %350, ptr %351, align 4, !tbaa !5
  %indvars.iv.next.11.1 = add nuw nsw i64 %indvars.iv.11, 2
  %352 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11.1
  %353 = load i32, ptr %352, align 4, !tbaa !5
  %354 = sext i32 %353 to i64
  %355 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %354
  %356 = load i32, ptr %355, align 4, !tbaa !5
  %357 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11.1
  store i32 %356, ptr %357, align 4, !tbaa !5
  %indvars.iv.next.11.2 = add nuw nsw i64 %indvars.iv.11, 3
  %358 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11.2
  %359 = load i32, ptr %358, align 4, !tbaa !5
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %360
  %362 = load i32, ptr %361, align 4, !tbaa !5
  %363 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11.2
  store i32 %362, ptr %363, align 4, !tbaa !5
  %indvars.iv.next.11.3 = add nuw nsw i64 %indvars.iv.11, 4
  %niter116.next.3 = add i64 %niter116, 4
  %niter116.ncmp.3 = icmp eq i64 %niter116.next.3, %unroll_iter115
  br i1 %niter116.ncmp.3, label %._crit_edge33.11.preheader.unr-lcssa, label %._crit_edge33.10, !llvm.loop !13

._crit_edge33.11.preheader.unr-lcssa:             ; preds = %._crit_edge33.10, %._crit_edge33.10.preheader
  %indvars.iv.11.unr = phi i64 [ 1, %._crit_edge33.10.preheader ], [ %indvars.iv.next.11.3, %._crit_edge33.10 ]
  %lcmp.mod114.not = icmp eq i64 %xtraiter112, 0
  br i1 %lcmp.mod114.not, label %._crit_edge33.11.preheader, label %._crit_edge33.10.epil

._crit_edge33.10.epil:                            ; preds = %._crit_edge33.11.preheader.unr-lcssa, %._crit_edge33.10.epil
  %indvars.iv.11.epil = phi i64 [ %indvars.iv.next.11.epil, %._crit_edge33.10.epil ], [ %indvars.iv.11.unr, %._crit_edge33.11.preheader.unr-lcssa ]
  %epil.iter113 = phi i64 [ %epil.iter113.next, %._crit_edge33.10.epil ], [ 0, %._crit_edge33.11.preheader.unr-lcssa ]
  %364 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.11.epil
  %365 = load i32, ptr %364, align 4, !tbaa !5
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %366
  %368 = load i32, ptr %367, align 4, !tbaa !5
  %369 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.11.epil
  store i32 %368, ptr %369, align 4, !tbaa !5
  %indvars.iv.next.11.epil = add nuw nsw i64 %indvars.iv.11.epil, 1
  %epil.iter113.next = add i64 %epil.iter113, 1
  %epil.iter113.cmp.not = icmp eq i64 %epil.iter113.next, %xtraiter112
  br i1 %epil.iter113.cmp.not, label %._crit_edge33.11.preheader, label %._crit_edge33.10.epil, !llvm.loop !24

._crit_edge33.11.preheader:                       ; preds = %._crit_edge33.10.epil, %._crit_edge33.11.preheader.unr-lcssa
  %xtraiter117 = and i64 %11, 3
  %370 = icmp ult i32 %10, 4
  br i1 %370, label %._crit_edge33.12.preheader.unr-lcssa, label %._crit_edge33.11.preheader.new

._crit_edge33.11.preheader.new:                   ; preds = %._crit_edge33.11.preheader
  %unroll_iter120 = and i64 %11, 2147483644
  br label %._crit_edge33.11

._crit_edge33.11:                                 ; preds = %._crit_edge33.11, %._crit_edge33.11.preheader.new
  %indvars.iv.12 = phi i64 [ 1, %._crit_edge33.11.preheader.new ], [ %indvars.iv.next.12.3, %._crit_edge33.11 ]
  %niter121 = phi i64 [ 0, %._crit_edge33.11.preheader.new ], [ %niter121.next.3, %._crit_edge33.11 ]
  %371 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.12
  %372 = load i32, ptr %371, align 4, !tbaa !5
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %373
  %375 = load i32, ptr %374, align 4, !tbaa !5
  %376 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.12
  store i32 %375, ptr %376, align 4, !tbaa !5
  %indvars.iv.next.12 = add nuw nsw i64 %indvars.iv.12, 1
  %377 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12
  %378 = load i32, ptr %377, align 4, !tbaa !5
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %379
  %381 = load i32, ptr %380, align 4, !tbaa !5
  %382 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12
  store i32 %381, ptr %382, align 4, !tbaa !5
  %indvars.iv.next.12.1 = add nuw nsw i64 %indvars.iv.12, 2
  %383 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12.1
  %384 = load i32, ptr %383, align 4, !tbaa !5
  %385 = sext i32 %384 to i64
  %386 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %385
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12.1
  store i32 %387, ptr %388, align 4, !tbaa !5
  %indvars.iv.next.12.2 = add nuw nsw i64 %indvars.iv.12, 3
  %389 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12.2
  %390 = load i32, ptr %389, align 4, !tbaa !5
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %391
  %393 = load i32, ptr %392, align 4, !tbaa !5
  %394 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12.2
  store i32 %393, ptr %394, align 4, !tbaa !5
  %indvars.iv.next.12.3 = add nuw nsw i64 %indvars.iv.12, 4
  %niter121.next.3 = add i64 %niter121, 4
  %niter121.ncmp.3 = icmp eq i64 %niter121.next.3, %unroll_iter120
  br i1 %niter121.ncmp.3, label %._crit_edge33.12.preheader.unr-lcssa, label %._crit_edge33.11, !llvm.loop !13

._crit_edge33.12.preheader.unr-lcssa:             ; preds = %._crit_edge33.11, %._crit_edge33.11.preheader
  %indvars.iv.12.unr = phi i64 [ 1, %._crit_edge33.11.preheader ], [ %indvars.iv.next.12.3, %._crit_edge33.11 ]
  %lcmp.mod119.not = icmp eq i64 %xtraiter117, 0
  br i1 %lcmp.mod119.not, label %._crit_edge33.12.preheader, label %._crit_edge33.11.epil

._crit_edge33.11.epil:                            ; preds = %._crit_edge33.12.preheader.unr-lcssa, %._crit_edge33.11.epil
  %indvars.iv.12.epil = phi i64 [ %indvars.iv.next.12.epil, %._crit_edge33.11.epil ], [ %indvars.iv.12.unr, %._crit_edge33.12.preheader.unr-lcssa ]
  %epil.iter118 = phi i64 [ %epil.iter118.next, %._crit_edge33.11.epil ], [ 0, %._crit_edge33.12.preheader.unr-lcssa ]
  %395 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.12.epil
  %396 = load i32, ptr %395, align 4, !tbaa !5
  %397 = sext i32 %396 to i64
  %398 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %397
  %399 = load i32, ptr %398, align 4, !tbaa !5
  %400 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.12.epil
  store i32 %399, ptr %400, align 4, !tbaa !5
  %indvars.iv.next.12.epil = add nuw nsw i64 %indvars.iv.12.epil, 1
  %epil.iter118.next = add i64 %epil.iter118, 1
  %epil.iter118.cmp.not = icmp eq i64 %epil.iter118.next, %xtraiter117
  br i1 %epil.iter118.cmp.not, label %._crit_edge33.12.preheader, label %._crit_edge33.11.epil, !llvm.loop !25

._crit_edge33.12.preheader:                       ; preds = %._crit_edge33.11.epil, %._crit_edge33.12.preheader.unr-lcssa
  %xtraiter122 = and i64 %11, 3
  %401 = icmp ult i32 %10, 4
  br i1 %401, label %._crit_edge33.13.preheader.unr-lcssa, label %._crit_edge33.12.preheader.new

._crit_edge33.12.preheader.new:                   ; preds = %._crit_edge33.12.preheader
  %unroll_iter125 = and i64 %11, 2147483644
  br label %._crit_edge33.12

._crit_edge33.12:                                 ; preds = %._crit_edge33.12, %._crit_edge33.12.preheader.new
  %indvars.iv.13 = phi i64 [ 1, %._crit_edge33.12.preheader.new ], [ %indvars.iv.next.13.3, %._crit_edge33.12 ]
  %niter126 = phi i64 [ 0, %._crit_edge33.12.preheader.new ], [ %niter126.next.3, %._crit_edge33.12 ]
  %402 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.13
  %403 = load i32, ptr %402, align 4, !tbaa !5
  %404 = sext i32 %403 to i64
  %405 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %404
  %406 = load i32, ptr %405, align 4, !tbaa !5
  %407 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.13
  store i32 %406, ptr %407, align 4, !tbaa !5
  %indvars.iv.next.13 = add nuw nsw i64 %indvars.iv.13, 1
  %408 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13
  %409 = load i32, ptr %408, align 4, !tbaa !5
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %410
  %412 = load i32, ptr %411, align 4, !tbaa !5
  %413 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13
  store i32 %412, ptr %413, align 4, !tbaa !5
  %indvars.iv.next.13.1 = add nuw nsw i64 %indvars.iv.13, 2
  %414 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13.1
  %415 = load i32, ptr %414, align 4, !tbaa !5
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %416
  %418 = load i32, ptr %417, align 4, !tbaa !5
  %419 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13.1
  store i32 %418, ptr %419, align 4, !tbaa !5
  %indvars.iv.next.13.2 = add nuw nsw i64 %indvars.iv.13, 3
  %420 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13.2
  %421 = load i32, ptr %420, align 4, !tbaa !5
  %422 = sext i32 %421 to i64
  %423 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %422
  %424 = load i32, ptr %423, align 4, !tbaa !5
  %425 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13.2
  store i32 %424, ptr %425, align 4, !tbaa !5
  %indvars.iv.next.13.3 = add nuw nsw i64 %indvars.iv.13, 4
  %niter126.next.3 = add i64 %niter126, 4
  %niter126.ncmp.3 = icmp eq i64 %niter126.next.3, %unroll_iter125
  br i1 %niter126.ncmp.3, label %._crit_edge33.13.preheader.unr-lcssa, label %._crit_edge33.12, !llvm.loop !13

._crit_edge33.13.preheader.unr-lcssa:             ; preds = %._crit_edge33.12, %._crit_edge33.12.preheader
  %indvars.iv.13.unr = phi i64 [ 1, %._crit_edge33.12.preheader ], [ %indvars.iv.next.13.3, %._crit_edge33.12 ]
  %lcmp.mod124.not = icmp eq i64 %xtraiter122, 0
  br i1 %lcmp.mod124.not, label %._crit_edge33.13.preheader, label %._crit_edge33.12.epil

._crit_edge33.12.epil:                            ; preds = %._crit_edge33.13.preheader.unr-lcssa, %._crit_edge33.12.epil
  %indvars.iv.13.epil = phi i64 [ %indvars.iv.next.13.epil, %._crit_edge33.12.epil ], [ %indvars.iv.13.unr, %._crit_edge33.13.preheader.unr-lcssa ]
  %epil.iter123 = phi i64 [ %epil.iter123.next, %._crit_edge33.12.epil ], [ 0, %._crit_edge33.13.preheader.unr-lcssa ]
  %426 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.13.epil
  %427 = load i32, ptr %426, align 4, !tbaa !5
  %428 = sext i32 %427 to i64
  %429 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %428
  %430 = load i32, ptr %429, align 4, !tbaa !5
  %431 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.13.epil
  store i32 %430, ptr %431, align 4, !tbaa !5
  %indvars.iv.next.13.epil = add nuw nsw i64 %indvars.iv.13.epil, 1
  %epil.iter123.next = add i64 %epil.iter123, 1
  %epil.iter123.cmp.not = icmp eq i64 %epil.iter123.next, %xtraiter122
  br i1 %epil.iter123.cmp.not, label %._crit_edge33.13.preheader, label %._crit_edge33.12.epil, !llvm.loop !26

._crit_edge33.13.preheader:                       ; preds = %._crit_edge33.12.epil, %._crit_edge33.13.preheader.unr-lcssa
  %xtraiter127 = and i64 %11, 3
  %432 = icmp ult i32 %10, 4
  br i1 %432, label %._crit_edge33.14.preheader.unr-lcssa, label %._crit_edge33.13.preheader.new

._crit_edge33.13.preheader.new:                   ; preds = %._crit_edge33.13.preheader
  %unroll_iter130 = and i64 %11, 2147483644
  br label %._crit_edge33.13

._crit_edge33.13:                                 ; preds = %._crit_edge33.13, %._crit_edge33.13.preheader.new
  %indvars.iv.14 = phi i64 [ 1, %._crit_edge33.13.preheader.new ], [ %indvars.iv.next.14.3, %._crit_edge33.13 ]
  %niter131 = phi i64 [ 0, %._crit_edge33.13.preheader.new ], [ %niter131.next.3, %._crit_edge33.13 ]
  %433 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.14
  %434 = load i32, ptr %433, align 4, !tbaa !5
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %435
  %437 = load i32, ptr %436, align 4, !tbaa !5
  %438 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.14
  store i32 %437, ptr %438, align 4, !tbaa !5
  %indvars.iv.next.14 = add nuw nsw i64 %indvars.iv.14, 1
  %439 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14
  %440 = load i32, ptr %439, align 4, !tbaa !5
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %441
  %443 = load i32, ptr %442, align 4, !tbaa !5
  %444 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14
  store i32 %443, ptr %444, align 4, !tbaa !5
  %indvars.iv.next.14.1 = add nuw nsw i64 %indvars.iv.14, 2
  %445 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14.1
  %446 = load i32, ptr %445, align 4, !tbaa !5
  %447 = sext i32 %446 to i64
  %448 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %447
  %449 = load i32, ptr %448, align 4, !tbaa !5
  %450 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14.1
  store i32 %449, ptr %450, align 4, !tbaa !5
  %indvars.iv.next.14.2 = add nuw nsw i64 %indvars.iv.14, 3
  %451 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14.2
  %452 = load i32, ptr %451, align 4, !tbaa !5
  %453 = sext i32 %452 to i64
  %454 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %453
  %455 = load i32, ptr %454, align 4, !tbaa !5
  %456 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14.2
  store i32 %455, ptr %456, align 4, !tbaa !5
  %indvars.iv.next.14.3 = add nuw nsw i64 %indvars.iv.14, 4
  %niter131.next.3 = add i64 %niter131, 4
  %niter131.ncmp.3 = icmp eq i64 %niter131.next.3, %unroll_iter130
  br i1 %niter131.ncmp.3, label %._crit_edge33.14.preheader.unr-lcssa, label %._crit_edge33.13, !llvm.loop !13

._crit_edge33.14.preheader.unr-lcssa:             ; preds = %._crit_edge33.13, %._crit_edge33.13.preheader
  %indvars.iv.14.unr = phi i64 [ 1, %._crit_edge33.13.preheader ], [ %indvars.iv.next.14.3, %._crit_edge33.13 ]
  %lcmp.mod129.not = icmp eq i64 %xtraiter127, 0
  br i1 %lcmp.mod129.not, label %._crit_edge33.14.preheader, label %._crit_edge33.13.epil

._crit_edge33.13.epil:                            ; preds = %._crit_edge33.14.preheader.unr-lcssa, %._crit_edge33.13.epil
  %indvars.iv.14.epil = phi i64 [ %indvars.iv.next.14.epil, %._crit_edge33.13.epil ], [ %indvars.iv.14.unr, %._crit_edge33.14.preheader.unr-lcssa ]
  %epil.iter128 = phi i64 [ %epil.iter128.next, %._crit_edge33.13.epil ], [ 0, %._crit_edge33.14.preheader.unr-lcssa ]
  %457 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.14.epil
  %458 = load i32, ptr %457, align 4, !tbaa !5
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %459
  %461 = load i32, ptr %460, align 4, !tbaa !5
  %462 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.14.epil
  store i32 %461, ptr %462, align 4, !tbaa !5
  %indvars.iv.next.14.epil = add nuw nsw i64 %indvars.iv.14.epil, 1
  %epil.iter128.next = add i64 %epil.iter128, 1
  %epil.iter128.cmp.not = icmp eq i64 %epil.iter128.next, %xtraiter127
  br i1 %epil.iter128.cmp.not, label %._crit_edge33.14.preheader, label %._crit_edge33.13.epil, !llvm.loop !27

._crit_edge33.14.preheader:                       ; preds = %._crit_edge33.13.epil, %._crit_edge33.14.preheader.unr-lcssa
  %xtraiter132 = and i64 %11, 3
  %463 = icmp ult i32 %10, 4
  br i1 %463, label %.split36.us.loopexit.unr-lcssa, label %._crit_edge33.14.preheader.new

._crit_edge33.14.preheader.new:                   ; preds = %._crit_edge33.14.preheader
  %unroll_iter135 = and i64 %11, 2147483644
  br label %._crit_edge33.14

._crit_edge33.14:                                 ; preds = %._crit_edge33.14, %._crit_edge33.14.preheader.new
  %indvars.iv.15 = phi i64 [ 1, %._crit_edge33.14.preheader.new ], [ %indvars.iv.next.15.3, %._crit_edge33.14 ]
  %niter136 = phi i64 [ 0, %._crit_edge33.14.preheader.new ], [ %niter136.next.3, %._crit_edge33.14 ]
  %464 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.15
  %465 = load i32, ptr %464, align 4, !tbaa !5
  %466 = sext i32 %465 to i64
  %467 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %466
  %468 = load i32, ptr %467, align 4, !tbaa !5
  %469 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.15
  store i32 %468, ptr %469, align 4, !tbaa !5
  %indvars.iv.next.15 = add nuw nsw i64 %indvars.iv.15, 1
  %470 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15
  %471 = load i32, ptr %470, align 4, !tbaa !5
  %472 = sext i32 %471 to i64
  %473 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %472
  %474 = load i32, ptr %473, align 4, !tbaa !5
  %475 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15
  store i32 %474, ptr %475, align 4, !tbaa !5
  %indvars.iv.next.15.1 = add nuw nsw i64 %indvars.iv.15, 2
  %476 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15.1
  %477 = load i32, ptr %476, align 4, !tbaa !5
  %478 = sext i32 %477 to i64
  %479 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %478
  %480 = load i32, ptr %479, align 4, !tbaa !5
  %481 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15.1
  store i32 %480, ptr %481, align 4, !tbaa !5
  %indvars.iv.next.15.2 = add nuw nsw i64 %indvars.iv.15, 3
  %482 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15.2
  %483 = load i32, ptr %482, align 4, !tbaa !5
  %484 = sext i32 %483 to i64
  %485 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %484
  %486 = load i32, ptr %485, align 4, !tbaa !5
  %487 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15.2
  store i32 %486, ptr %487, align 4, !tbaa !5
  %indvars.iv.next.15.3 = add nuw nsw i64 %indvars.iv.15, 4
  %niter136.next.3 = add i64 %niter136, 4
  %niter136.ncmp.3 = icmp eq i64 %niter136.next.3, %unroll_iter135
  br i1 %niter136.ncmp.3, label %.split36.us.loopexit.unr-lcssa, label %._crit_edge33.14, !llvm.loop !13

488:                                              ; preds = %488, %.preheader.preheader.new
  %indvars.iv = phi i64 [ 1, %.preheader.preheader.new ], [ %indvars.iv.next.358, %488 ]
  %niter = phi i64 [ 0, %.preheader.preheader.new ], [ %niter.next.3, %488 ]
  %489 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv
  %490 = load i32, ptr %489, align 4, !tbaa !5
  %491 = sext i32 %490 to i64
  %492 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %491
  %493 = load i32, ptr %492, align 4, !tbaa !5
  %494 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv
  store i32 %493, ptr %494, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %495 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next
  %496 = load i32, ptr %495, align 4, !tbaa !5
  %497 = sext i32 %496 to i64
  %498 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %497
  %499 = load i32, ptr %498, align 4, !tbaa !5
  %500 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next
  store i32 %499, ptr %500, align 4, !tbaa !5
  %indvars.iv.next.154 = add nuw nsw i64 %indvars.iv, 2
  %501 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next.154
  %502 = load i32, ptr %501, align 4, !tbaa !5
  %503 = sext i32 %502 to i64
  %504 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %503
  %505 = load i32, ptr %504, align 4, !tbaa !5
  %506 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.154
  store i32 %505, ptr %506, align 4, !tbaa !5
  %indvars.iv.next.256 = add nuw nsw i64 %indvars.iv, 3
  %507 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next.256
  %508 = load i32, ptr %507, align 4, !tbaa !5
  %509 = sext i32 %508 to i64
  %510 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %509
  %511 = load i32, ptr %510, align 4, !tbaa !5
  %512 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.256
  store i32 %511, ptr %512, align 4, !tbaa !5
  %indvars.iv.next.358 = add nuw nsw i64 %indvars.iv, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge33.preheader.unr-lcssa, label %488, !llvm.loop !13

._crit_edge33.preheader.unr-lcssa:                ; preds = %488, %.preheader.preheader
  %indvars.iv.unr = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next.358, %488 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge33.preheader, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge33.preheader.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge33.preheader.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge33.preheader.unr-lcssa ]
  %513 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.epil
  %514 = load i32, ptr %513, align 4, !tbaa !5
  %515 = sext i32 %514 to i64
  %516 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %515
  %517 = load i32, ptr %516, align 4, !tbaa !5
  %518 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.epil
  store i32 %517, ptr %518, align 4, !tbaa !5
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge33.preheader, label %.epil.preheader, !llvm.loop !28

._crit_edge33.preheader:                          ; preds = %.epil.preheader, %._crit_edge33.preheader.unr-lcssa
  %xtraiter59 = and i64 %11, 3
  %519 = icmp ult i32 %10, 4
  br i1 %519, label %._crit_edge33.1.preheader.unr-lcssa, label %._crit_edge33.preheader.new

._crit_edge33.preheader.new:                      ; preds = %._crit_edge33.preheader
  %unroll_iter62 = and i64 %11, 2147483644
  br label %._crit_edge33

520:                                              ; preds = %524
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %521 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %3)
  %522 = load i32, ptr %3, align 4, !tbaa !5
  %523 = add nsw i32 %522, -1
  store i32 %523, ptr %3, align 4, !tbaa !5
  %.not38 = icmp eq i32 %522, 0
  br i1 %.not38, label %._crit_edge41, label %.lr.ph40

524:                                              ; preds = %529, %.split36.us
  %525 = phi i32 [ 1, %.split36.us ], [ %spec.select.1, %529 ]
  %indvars.iv49 = phi i64 [ 1, %.split36.us ], [ %indvars.iv.next50.1, %529 ]
  %526 = shl nsw i32 %525, 1
  %527 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %indvars.iv49
  %.not27 = icmp slt i32 %526, %29
  %528 = select i1 %.not27, i32 0, i32 %29
  %spec.select = sub nsw i32 %526, %528
  store i32 %spec.select, ptr %527, align 4, !tbaa !5
  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 1
  %exitcond52.not = icmp eq i64 %indvars.iv.next50, 131072
  br i1 %exitcond52.not, label %520, label %529, !llvm.loop !29

529:                                              ; preds = %524
  %530 = shl nsw i32 %spec.select, 1
  %531 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %indvars.iv.next50
  %.not27.1 = icmp slt i32 %530, %29
  %532 = select i1 %.not27.1, i32 0, i32 %29
  %spec.select.1 = sub nsw i32 %530, %532
  store i32 %spec.select.1, ptr %531, align 4, !tbaa !5
  %indvars.iv.next50.1 = add nuw nsw i64 %indvars.iv49, 2
  br label %524

.lr.ph40:                                         ; preds = %520, %.backedge
  %533 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %534 = load i32, ptr %4, align 4, !tbaa !5
  %535 = sext i32 %534 to i64
  %536 = getelementptr inbounds [131072 x i32], ptr @cycle, i64 0, i64 %535
  %537 = load i32, ptr %536, align 4, !tbaa !5
  store i32 %537, ptr %4, align 4, !tbaa !5
  %538 = load i32, ptr %5, align 4, !tbaa !5
  %539 = sext i32 %538 to i64
  %540 = getelementptr inbounds [131072 x i32], ptr @cycle, i64 0, i64 %539
  %541 = load i32, ptr %540, align 4, !tbaa !5
  store i32 %541, ptr %5, align 4, !tbaa !5
  %542 = icmp eq i32 %537, %541
  br i1 %542, label %543, label %547

543:                                              ; preds = %.lr.ph40
  %544 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  br label %.backedge

.backedge:                                        ; preds = %543, %547
  %545 = load i32, ptr %3, align 4, !tbaa !5
  %546 = add nsw i32 %545, -1
  store i32 %546, ptr %3, align 4, !tbaa !5
  %.not = icmp eq i32 %545, 0
  br i1 %.not, label %._crit_edge41, label %.lr.ph40, !llvm.loop !30

547:                                              ; preds = %.lr.ph40
  %548 = call noundef i32 @_Z3LCAii(i32 noundef %537, i32 noundef %541)
  %549 = load i32, ptr %4, align 4, !tbaa !5
  %550 = sext i32 %549 to i64
  %551 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %550
  %552 = load i32, ptr %551, align 4, !tbaa !5
  %553 = load i32, ptr %5, align 4, !tbaa !5
  %554 = sext i32 %553 to i64
  %555 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %554
  %556 = load i32, ptr %555, align 4, !tbaa !5
  %557 = add nsw i32 %556, %552
  %558 = sext i32 %548 to i64
  %559 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %558
  %560 = load i32, ptr %559, align 4, !tbaa !5
  %561 = shl i32 %560, 1
  %562 = sub i32 %557, %561
  %563 = getelementptr inbounds [131072 x i32], ptr @ok, i64 0, i64 %558
  %564 = load i32, ptr %563, align 4, !tbaa !5
  %565 = add nsw i32 %562, %564
  %566 = sext i32 %565 to i64
  %567 = getelementptr inbounds [131072 x i32], ptr @p2, i64 0, i64 %566
  %568 = load i32, ptr %567, align 4, !tbaa !5
  %569 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %568)
  br label %.backedge

._crit_edge41:                                    ; preds = %.backedge, %520
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { 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 #4 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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, !12}
!12 = !{!"llvm.loop.unroll.disable"}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass