; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/121 Division 1/Problem C (C)

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

@n = external dso_local global i32, align 4
@cnt = external dso_local global [131072 x i32], align 16
@val = external dso_local global [131072 x i32], align 16
@p = external dso_local global [17 x [131072 x i32]], align 16
@l = external dso_local global [131072 x i32], align 16
@v = external dso_local global [131072 x i32], align 16
@g = external dso_local global [131072 x %"class.std::vector"], align 16
@levels = external dso_local global [131072 x %"class.std::vector.0"], align 16
@mxl = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_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: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2 align 2

; 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() #4 {
  %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 %"struct.std::pair", 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 %"class.__gnu_cxx::__normal_iterator.5", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %20 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  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 1, ptr %4, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %37, %0
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = load i32, ptr @n, align 4, !tbaa !5
  %25 = icmp slt i32 %23, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %40

27:                                               ; preds = %22
  %28 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %2, ptr noundef %3)
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %32 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store i64 %32, ptr %5, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %36 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %4)
  store i64 %36, ptr %6, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %37

37:                                               ; preds = %27
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %4, align 4, !tbaa !5
  br label %22, !llvm.loop !9

40:                                               ; preds = %26
  store i32 -1, ptr getelementptr inbounds ([131072 x i32], ptr @l, i64 0, i64 1), align 4, !tbaa !5
  call void @_Z3dfsii(i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %77, %40
  %42 = load i32, ptr %7, align 4, !tbaa !5
  %43 = icmp slt i32 %42, 17
  br i1 %43, label %45, label %44

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

45:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %73, %45
  %47 = load i32, ptr %9, align 4, !tbaa !5
  %48 = load i32, ptr @n, align 4, !tbaa !5
  %49 = icmp sle i32 %47, %48
  br i1 %49, label %51, label %50

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

51:                                               ; preds = %46
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = sub nsw i32 %52, 1
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 %54
  %56 = load i32, ptr %7, align 4, !tbaa !5
  %57 = sub nsw i32 %56, 1
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 %58
  %60 = load i32, ptr %9, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [131072 x i32], ptr %59, i64 0, i64 %61
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [131072 x i32], ptr %55, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 %68
  %70 = load i32, ptr %9, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [131072 x i32], ptr %69, i64 0, i64 %71
  store i32 %66, ptr %72, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %51
  %74 = load i32, ptr %9, align 4, !tbaa !5
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %9, align 4, !tbaa !5
  br label %46, !llvm.loop !11

76:                                               ; preds = %50
  br label %77

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

80:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %81 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %10)
  br label %82

82:                                               ; preds = %86, %80
  %83 = load i32, ptr %10, align 4, !tbaa !5
  %84 = add nsw i32 %83, -1
  store i32 %84, ptr %10, align 4, !tbaa !5
  %85 = icmp ne i32 %83, 0
  br i1 %85, label %86, label %106

86:                                               ; preds = %82
  %87 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %88 = load i32, ptr %2, align 4, !tbaa !5
  %89 = load i32, ptr %3, align 4, !tbaa !5
  %90 = call noundef i32 @_Z3LCAii(i32 noundef %88, i32 noundef %89)
  store i32 %90, ptr %11, align 4, !tbaa !5
  %91 = load i32, ptr %11, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = sub nsw i32 %94, 2
  store i32 %95, ptr %93, align 4, !tbaa !5
  %96 = load i32, ptr %2, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %98, align 4, !tbaa !5
  %101 = load i32, ptr %3, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %103, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %82, !llvm.loop !13

106:                                              ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %107 = load i32, ptr @mxl, align 4, !tbaa !5
  store i32 %107, ptr %12, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %183, %106
  %109 = load i32, ptr %12, align 4, !tbaa !5
  %110 = icmp sge i32 %109, 0
  br i1 %110, label %112, label %111

111:                                              ; preds = %108
  store i32 13, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %186

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %113 = load i32, ptr %12, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [131072 x %"class.std::vector.0"], ptr @levels, i64 0, i64 %114
  %116 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #6
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %13, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  br label %118

118:                                              ; preds = %179, %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %119 = load i32, ptr %12, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [131072 x %"class.std::vector.0"], ptr @levels, i64 0, i64 %120
  %122 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #6
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %14, i32 0, i32 0
  store ptr %122, ptr %123, align 8
  %124 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br i1 %124, label %126, label %125

125:                                              ; preds = %118
  store i32 16, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %182

126:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %128 = load i32, ptr %127, align 4, !tbaa !5
  store i32 %128, ptr %15, align 4, !tbaa !5
  %129 = load i32, ptr %15, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [131072 x i32], ptr @v, i64 0, i64 %130
  store i32 1, ptr %131, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %132 = load i32, ptr %15, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %133
  %135 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #6
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %135, ptr %136, align 8
  br label %137

137:                                              ; preds = %175, %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %138 = load i32, ptr %15, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %139
  %141 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %140) #6
  %142 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %141, ptr %142, align 8
  %143 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br i1 %143, label %145, label %144

144:                                              ; preds = %137
  store i32 19, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %178

145:                                              ; preds = %137
  %146 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %147 = getelementptr inbounds %"struct.std::pair", ptr %146, i32 0, i32 0
  %148 = load i32, ptr %147, align 4, !tbaa !14
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [131072 x i32], ptr @v, i64 0, i64 %149
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %145
  br label %175

154:                                              ; preds = %145
  %155 = load i32, ptr %15, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %156
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %160 = getelementptr inbounds %"struct.std::pair", ptr %159, i32 0, i32 1
  %161 = load i32, ptr %160, align 4, !tbaa !16
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [131072 x i32], ptr @val, i64 0, i64 %162
  store i32 %158, ptr %163, align 4, !tbaa !5
  %164 = load i32, ptr %15, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %169 = getelementptr inbounds %"struct.std::pair", ptr %168, i32 0, i32 0
  %170 = load i32, ptr %169, align 4, !tbaa !14
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %171
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = add nsw i32 %173, %167
  store i32 %174, ptr %172, align 4, !tbaa !5
  br label %175

175:                                              ; preds = %154, %153
  %176 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef 0) #6
  %177 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %176, ptr %177, align 8
  br label %137, !llvm.loop !17

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

179:                                              ; preds = %178
  %180 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #6
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %19, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  br label %118, !llvm.loop !18

182:                                              ; preds = %125
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr %12, align 4, !tbaa !5
  %185 = add nsw i32 %184, -1
  store i32 %185, ptr %12, align 4, !tbaa !5
  br label %108, !llvm.loop !19

186:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 1, ptr %20, align 4, !tbaa !5
  br label %187

187:                                              ; preds = %198, %186
  %188 = load i32, ptr %20, align 4, !tbaa !5
  %189 = load i32, ptr @n, align 4, !tbaa !5
  %190 = icmp slt i32 %188, %189
  br i1 %190, label %192, label %191

191:                                              ; preds = %187
  store i32 22, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %201

192:                                              ; preds = %187
  %193 = load i32, ptr %20, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [131072 x i32], ptr @val, i64 0, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %196)
  br label %198

198:                                              ; preds = %192
  %199 = load i32, ptr %20, align 4, !tbaa !5
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %20, align 4, !tbaa !5
  br label %187, !llvm.loop !20

201:                                              ; preds = %191
  %202 = call i32 @puts(ptr noundef @.str.6)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  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
  %203 = load i32, ptr %1, align 4
  ret i32 %203
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2 align 2

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

declare i32 @puts(ptr noundef) #5

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 = { inlinehint 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 #4 = { 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 #5 = { "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 #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 = !{!15, !6, i64 0}
!15 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!16 = !{!15, !6, i64 4}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !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<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@n = external dso_local global i32, align 4
@cnt = external dso_local local_unnamed_addr global [131072 x i32], align 16
@val = external dso_local local_unnamed_addr global [131072 x i32], align 16
@p = external dso_local local_unnamed_addr global [17 x [131072 x i32]], align 16
@l = 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
@g = external dso_local global [131072 x %"class.std::vector"], align 16
@levels = external dso_local global [131072 x %"class.std::vector.0"], align 16
@mxl = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_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 nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2 align 2

; 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 #4 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca %"struct.std::pair", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 1, ptr %3, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = icmp sgt i32 %12, 1
  br i1 %13, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  store i32 -1, ptr getelementptr inbounds (i8, ptr @l, i64 4), align 4, !tbaa !5
  call void @_Z3dfsii(i32 noundef 1, i32 noundef 1)
  %14 = load i32, ptr @n, align 4, !tbaa !5
  %.not2830 = icmp slt i32 %14, 1
  br i1 %.not2830, label %.split36.us, label %.preheader29.preheader

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

.preheader29.preheader.new:                       ; preds = %.preheader29.preheader
  %unroll_iter = and i64 %15, 2147483644
  br label %497

.lr.ph:                                           ; preds = %0, %.lr.ph
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %18 = load i32, ptr %1, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %21 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3)
  store i64 %21, ptr %4, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %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 @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %25 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %3)
  store i64 %25, ptr %5, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %3, align 4, !tbaa !5
  %28 = load i32, ptr @n, align 4, !tbaa !5
  %29 = icmp slt i32 %27, %28
  br i1 %29, 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.mod146.not = icmp eq i64 %xtraiter144, 0
  br i1 %lcmp.mod146.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.iter145 = phi i64 [ %epil.iter145.next, %._crit_edge33.14.epil ], [ 0, %.split36.us.loopexit.unr-lcssa ]
  %30 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.15.epil
  %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 15, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.15.epil
  store i32 %34, ptr %35, align 4, !tbaa !5
  %indvars.iv.next.15.epil = add nuw nsw i64 %indvars.iv.15.epil, 1
  %epil.iter145.next = add i64 %epil.iter145, 1
  %epil.iter145.cmp.not = icmp eq i64 %epil.iter145.next, %xtraiter144
  br i1 %epil.iter145.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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %36 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %6)
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = add nsw i32 %37, -1
  store i32 %38, ptr %6, align 4, !tbaa !5
  %.not37 = icmp eq i32 %37, 0
  br i1 %.not37, label %._crit_edge40, label %.lr.ph39

._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 ]
  %niter75 = phi i64 [ 0, %._crit_edge33.preheader.new ], [ %niter75.next.3, %._crit_edge33 ]
  %39 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.1
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !5
  %44 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.1
  store i32 %43, ptr %44, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %45 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1
  store i32 %49, ptr %50, align 4, !tbaa !5
  %indvars.iv.next.1.1 = add nuw nsw i64 %indvars.iv.1, 2
  %51 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1.1
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1.1
  store i32 %55, ptr %56, align 4, !tbaa !5
  %indvars.iv.next.1.2 = add nuw nsw i64 %indvars.iv.1, 3
  %57 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1.2
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1.2
  store i32 %61, ptr %62, align 4, !tbaa !5
  %indvars.iv.next.1.3 = add nuw nsw i64 %indvars.iv.1, 4
  %niter75.next.3 = add i64 %niter75, 4
  %niter75.ncmp.3 = icmp eq i64 %niter75.next.3, %unroll_iter74
  br i1 %niter75.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.mod73.not = icmp eq i64 %xtraiter71, 0
  br i1 %lcmp.mod73.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.iter72 = phi i64 [ %epil.iter72.next, %._crit_edge33.epil ], [ 0, %._crit_edge33.1.preheader.unr-lcssa ]
  %63 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.1.epil
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.1.epil
  store i32 %67, ptr %68, align 4, !tbaa !5
  %indvars.iv.next.1.epil = add nuw nsw i64 %indvars.iv.1.epil, 1
  %epil.iter72.next = add i64 %epil.iter72, 1
  %epil.iter72.cmp.not = icmp eq i64 %epil.iter72.next, %xtraiter71
  br i1 %epil.iter72.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
  %xtraiter79 = and i64 %15, 3
  %69 = icmp ult i32 %14, 4
  br i1 %69, label %._crit_edge33.2.preheader.unr-lcssa, label %._crit_edge33.1.preheader.new

._crit_edge33.1.preheader.new:                    ; preds = %._crit_edge33.1.preheader
  %unroll_iter82 = and i64 %15, 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 ]
  %niter83 = phi i64 [ 0, %._crit_edge33.1.preheader.new ], [ %niter83.next.3, %._crit_edge33.1 ]
  %70 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.2
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.2
  store i32 %74, ptr %75, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %76 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2
  store i32 %80, ptr %81, align 4, !tbaa !5
  %indvars.iv.next.2.1 = add nuw nsw i64 %indvars.iv.2, 2
  %82 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2.1
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2.1
  store i32 %86, ptr %87, align 4, !tbaa !5
  %indvars.iv.next.2.2 = add nuw nsw i64 %indvars.iv.2, 3
  %88 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2.2
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2.2
  store i32 %92, ptr %93, align 4, !tbaa !5
  %indvars.iv.next.2.3 = add nuw nsw i64 %indvars.iv.2, 4
  %niter83.next.3 = add i64 %niter83, 4
  %niter83.ncmp.3 = icmp eq i64 %niter83.next.3, %unroll_iter82
  br i1 %niter83.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.mod81.not = icmp eq i64 %xtraiter79, 0
  br i1 %lcmp.mod81.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.iter80 = phi i64 [ %epil.iter80.next, %._crit_edge33.1.epil ], [ 0, %._crit_edge33.2.preheader.unr-lcssa ]
  %94 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.2.epil
  %95 = load i32, ptr %94, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 2, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.2.epil
  store i32 %98, ptr %99, align 4, !tbaa !5
  %indvars.iv.next.2.epil = add nuw nsw i64 %indvars.iv.2.epil, 1
  %epil.iter80.next = add i64 %epil.iter80, 1
  %epil.iter80.cmp.not = icmp eq i64 %epil.iter80.next, %xtraiter79
  br i1 %epil.iter80.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
  %xtraiter84 = and i64 %15, 3
  %100 = icmp ult i32 %14, 4
  br i1 %100, label %._crit_edge33.3.preheader.unr-lcssa, label %._crit_edge33.2.preheader.new

._crit_edge33.2.preheader.new:                    ; preds = %._crit_edge33.2.preheader
  %unroll_iter87 = and i64 %15, 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 ]
  %niter88 = phi i64 [ 0, %._crit_edge33.2.preheader.new ], [ %niter88.next.3, %._crit_edge33.2 ]
  %101 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.3
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.3
  store i32 %105, ptr %106, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %107 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3
  store i32 %111, ptr %112, align 4, !tbaa !5
  %indvars.iv.next.3.1 = add nuw nsw i64 %indvars.iv.3, 2
  %113 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3.1
  %114 = load i32, ptr %113, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %115
  %117 = load i32, ptr %116, align 4, !tbaa !5
  %118 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3.1
  store i32 %117, ptr %118, align 4, !tbaa !5
  %indvars.iv.next.3.2 = add nuw nsw i64 %indvars.iv.3, 3
  %119 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3.2
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3.2
  store i32 %123, ptr %124, align 4, !tbaa !5
  %indvars.iv.next.3.3 = add nuw nsw i64 %indvars.iv.3, 4
  %niter88.next.3 = add i64 %niter88, 4
  %niter88.ncmp.3 = icmp eq i64 %niter88.next.3, %unroll_iter87
  br i1 %niter88.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.mod86.not = icmp eq i64 %xtraiter84, 0
  br i1 %lcmp.mod86.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.iter85 = phi i64 [ %epil.iter85.next, %._crit_edge33.2.epil ], [ 0, %._crit_edge33.3.preheader.unr-lcssa ]
  %125 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.3.epil
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 3, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.3.epil
  store i32 %129, ptr %130, align 4, !tbaa !5
  %indvars.iv.next.3.epil = add nuw nsw i64 %indvars.iv.3.epil, 1
  %epil.iter85.next = add i64 %epil.iter85, 1
  %epil.iter85.cmp.not = icmp eq i64 %epil.iter85.next, %xtraiter84
  br i1 %epil.iter85.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
  %xtraiter89 = and i64 %15, 3
  %131 = icmp ult i32 %14, 4
  br i1 %131, label %._crit_edge33.4.preheader.unr-lcssa, label %._crit_edge33.3.preheader.new

._crit_edge33.3.preheader.new:                    ; preds = %._crit_edge33.3.preheader
  %unroll_iter92 = and i64 %15, 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 ]
  %niter93 = phi i64 [ 0, %._crit_edge33.3.preheader.new ], [ %niter93.next.3, %._crit_edge33.3 ]
  %132 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.4
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.4
  store i32 %136, ptr %137, align 4, !tbaa !5
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %138 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %140
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4
  store i32 %142, ptr %143, align 4, !tbaa !5
  %indvars.iv.next.4.1 = add nuw nsw i64 %indvars.iv.4, 2
  %144 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4.1
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %146
  %148 = load i32, ptr %147, align 4, !tbaa !5
  %149 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4.1
  store i32 %148, ptr %149, align 4, !tbaa !5
  %indvars.iv.next.4.2 = add nuw nsw i64 %indvars.iv.4, 3
  %150 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4.2
  %151 = load i32, ptr %150, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %152
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4.2
  store i32 %154, ptr %155, align 4, !tbaa !5
  %indvars.iv.next.4.3 = add nuw nsw i64 %indvars.iv.4, 4
  %niter93.next.3 = add i64 %niter93, 4
  %niter93.ncmp.3 = icmp eq i64 %niter93.next.3, %unroll_iter92
  br i1 %niter93.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.mod91.not = icmp eq i64 %xtraiter89, 0
  br i1 %lcmp.mod91.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.iter90 = phi i64 [ %epil.iter90.next, %._crit_edge33.3.epil ], [ 0, %._crit_edge33.4.preheader.unr-lcssa ]
  %156 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.4.epil
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 4, i64 %158
  %160 = load i32, ptr %159, align 4, !tbaa !5
  %161 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.4.epil
  store i32 %160, ptr %161, align 4, !tbaa !5
  %indvars.iv.next.4.epil = add nuw nsw i64 %indvars.iv.4.epil, 1
  %epil.iter90.next = add i64 %epil.iter90, 1
  %epil.iter90.cmp.not = icmp eq i64 %epil.iter90.next, %xtraiter89
  br i1 %epil.iter90.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
  %xtraiter94 = and i64 %15, 3
  %162 = icmp ult i32 %14, 4
  br i1 %162, label %._crit_edge33.5.preheader.unr-lcssa, label %._crit_edge33.4.preheader.new

._crit_edge33.4.preheader.new:                    ; preds = %._crit_edge33.4.preheader
  %unroll_iter97 = and i64 %15, 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 ]
  %niter98 = phi i64 [ 0, %._crit_edge33.4.preheader.new ], [ %niter98.next.3, %._crit_edge33.4 ]
  %163 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.5
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.5
  store i32 %167, ptr %168, align 4, !tbaa !5
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %169 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %171
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5
  store i32 %173, ptr %174, align 4, !tbaa !5
  %indvars.iv.next.5.1 = add nuw nsw i64 %indvars.iv.5, 2
  %175 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5.1
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5.1
  store i32 %179, ptr %180, align 4, !tbaa !5
  %indvars.iv.next.5.2 = add nuw nsw i64 %indvars.iv.5, 3
  %181 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5.2
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %183
  %185 = load i32, ptr %184, align 4, !tbaa !5
  %186 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5.2
  store i32 %185, ptr %186, align 4, !tbaa !5
  %indvars.iv.next.5.3 = add nuw nsw i64 %indvars.iv.5, 4
  %niter98.next.3 = add i64 %niter98, 4
  %niter98.ncmp.3 = icmp eq i64 %niter98.next.3, %unroll_iter97
  br i1 %niter98.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.mod96.not = icmp eq i64 %xtraiter94, 0
  br i1 %lcmp.mod96.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.iter95 = phi i64 [ %epil.iter95.next, %._crit_edge33.4.epil ], [ 0, %._crit_edge33.5.preheader.unr-lcssa ]
  %187 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.5.epil
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 5, i64 %189
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.5.epil
  store i32 %191, ptr %192, align 4, !tbaa !5
  %indvars.iv.next.5.epil = add nuw nsw i64 %indvars.iv.5.epil, 1
  %epil.iter95.next = add i64 %epil.iter95, 1
  %epil.iter95.cmp.not = icmp eq i64 %epil.iter95.next, %xtraiter94
  br i1 %epil.iter95.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
  %xtraiter99 = and i64 %15, 3
  %193 = icmp ult i32 %14, 4
  br i1 %193, label %._crit_edge33.6.preheader.unr-lcssa, label %._crit_edge33.5.preheader.new

._crit_edge33.5.preheader.new:                    ; preds = %._crit_edge33.5.preheader
  %unroll_iter102 = and i64 %15, 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 ]
  %niter103 = phi i64 [ 0, %._crit_edge33.5.preheader.new ], [ %niter103.next.3, %._crit_edge33.5 ]
  %194 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.6
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !5
  %199 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.6
  store i32 %198, ptr %199, align 4, !tbaa !5
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %200 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6
  store i32 %204, ptr %205, align 4, !tbaa !5
  %indvars.iv.next.6.1 = add nuw nsw i64 %indvars.iv.6, 2
  %206 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6.1
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6.1
  store i32 %210, ptr %211, align 4, !tbaa !5
  %indvars.iv.next.6.2 = add nuw nsw i64 %indvars.iv.6, 3
  %212 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6.2
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %214
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6.2
  store i32 %216, ptr %217, align 4, !tbaa !5
  %indvars.iv.next.6.3 = add nuw nsw i64 %indvars.iv.6, 4
  %niter103.next.3 = add i64 %niter103, 4
  %niter103.ncmp.3 = icmp eq i64 %niter103.next.3, %unroll_iter102
  br i1 %niter103.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.mod101.not = icmp eq i64 %xtraiter99, 0
  br i1 %lcmp.mod101.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.iter100 = phi i64 [ %epil.iter100.next, %._crit_edge33.5.epil ], [ 0, %._crit_edge33.6.preheader.unr-lcssa ]
  %218 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.6.epil
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 6, i64 %220
  %222 = load i32, ptr %221, align 4, !tbaa !5
  %223 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.6.epil
  store i32 %222, ptr %223, align 4, !tbaa !5
  %indvars.iv.next.6.epil = add nuw nsw i64 %indvars.iv.6.epil, 1
  %epil.iter100.next = add i64 %epil.iter100, 1
  %epil.iter100.cmp.not = icmp eq i64 %epil.iter100.next, %xtraiter99
  br i1 %epil.iter100.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
  %xtraiter104 = and i64 %15, 3
  %224 = icmp ult i32 %14, 4
  br i1 %224, label %._crit_edge33.7.preheader.unr-lcssa, label %._crit_edge33.6.preheader.new

._crit_edge33.6.preheader.new:                    ; preds = %._crit_edge33.6.preheader
  %unroll_iter107 = and i64 %15, 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 ]
  %niter108 = phi i64 [ 0, %._crit_edge33.6.preheader.new ], [ %niter108.next.3, %._crit_edge33.6 ]
  %225 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.7
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %227
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.7
  store i32 %229, ptr %230, align 4, !tbaa !5
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %231 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %233
  %235 = load i32, ptr %234, align 4, !tbaa !5
  %236 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7
  store i32 %235, ptr %236, align 4, !tbaa !5
  %indvars.iv.next.7.1 = add nuw nsw i64 %indvars.iv.7, 2
  %237 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7.1
  %238 = load i32, ptr %237, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %239
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7.1
  store i32 %241, ptr %242, align 4, !tbaa !5
  %indvars.iv.next.7.2 = add nuw nsw i64 %indvars.iv.7, 3
  %243 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7.2
  %244 = load i32, ptr %243, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %245
  %247 = load i32, ptr %246, align 4, !tbaa !5
  %248 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7.2
  store i32 %247, ptr %248, align 4, !tbaa !5
  %indvars.iv.next.7.3 = add nuw nsw i64 %indvars.iv.7, 4
  %niter108.next.3 = add i64 %niter108, 4
  %niter108.ncmp.3 = icmp eq i64 %niter108.next.3, %unroll_iter107
  br i1 %niter108.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.mod106.not = icmp eq i64 %xtraiter104, 0
  br i1 %lcmp.mod106.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.iter105 = phi i64 [ %epil.iter105.next, %._crit_edge33.6.epil ], [ 0, %._crit_edge33.7.preheader.unr-lcssa ]
  %249 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.7.epil
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 7, i64 %251
  %253 = load i32, ptr %252, align 4, !tbaa !5
  %254 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.7.epil
  store i32 %253, ptr %254, align 4, !tbaa !5
  %indvars.iv.next.7.epil = add nuw nsw i64 %indvars.iv.7.epil, 1
  %epil.iter105.next = add i64 %epil.iter105, 1
  %epil.iter105.cmp.not = icmp eq i64 %epil.iter105.next, %xtraiter104
  br i1 %epil.iter105.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
  %xtraiter109 = and i64 %15, 3
  %255 = icmp ult i32 %14, 4
  br i1 %255, label %._crit_edge33.8.preheader.unr-lcssa, label %._crit_edge33.7.preheader.new

._crit_edge33.7.preheader.new:                    ; preds = %._crit_edge33.7.preheader
  %unroll_iter112 = and i64 %15, 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 ]
  %niter113 = phi i64 [ 0, %._crit_edge33.7.preheader.new ], [ %niter113.next.3, %._crit_edge33.7 ]
  %256 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.8
  %257 = load i32, ptr %256, align 4, !tbaa !5
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %258
  %260 = load i32, ptr %259, align 4, !tbaa !5
  %261 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.8
  store i32 %260, ptr %261, align 4, !tbaa !5
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  %262 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8
  %263 = load i32, ptr %262, align 4, !tbaa !5
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %264
  %266 = load i32, ptr %265, align 4, !tbaa !5
  %267 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8
  store i32 %266, ptr %267, align 4, !tbaa !5
  %indvars.iv.next.8.1 = add nuw nsw i64 %indvars.iv.8, 2
  %268 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8.1
  %269 = load i32, ptr %268, align 4, !tbaa !5
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %270
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8.1
  store i32 %272, ptr %273, align 4, !tbaa !5
  %indvars.iv.next.8.2 = add nuw nsw i64 %indvars.iv.8, 3
  %274 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8.2
  %275 = load i32, ptr %274, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %276
  %278 = load i32, ptr %277, align 4, !tbaa !5
  %279 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8.2
  store i32 %278, ptr %279, align 4, !tbaa !5
  %indvars.iv.next.8.3 = add nuw nsw i64 %indvars.iv.8, 4
  %niter113.next.3 = add i64 %niter113, 4
  %niter113.ncmp.3 = icmp eq i64 %niter113.next.3, %unroll_iter112
  br i1 %niter113.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.mod111.not = icmp eq i64 %xtraiter109, 0
  br i1 %lcmp.mod111.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.iter110 = phi i64 [ %epil.iter110.next, %._crit_edge33.7.epil ], [ 0, %._crit_edge33.8.preheader.unr-lcssa ]
  %280 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.8.epil
  %281 = load i32, ptr %280, align 4, !tbaa !5
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 8, i64 %282
  %284 = load i32, ptr %283, align 4, !tbaa !5
  %285 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.8.epil
  store i32 %284, ptr %285, align 4, !tbaa !5
  %indvars.iv.next.8.epil = add nuw nsw i64 %indvars.iv.8.epil, 1
  %epil.iter110.next = add i64 %epil.iter110, 1
  %epil.iter110.cmp.not = icmp eq i64 %epil.iter110.next, %xtraiter109
  br i1 %epil.iter110.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
  %xtraiter114 = and i64 %15, 3
  %286 = icmp ult i32 %14, 4
  br i1 %286, label %._crit_edge33.9.preheader.unr-lcssa, label %._crit_edge33.8.preheader.new

._crit_edge33.8.preheader.new:                    ; preds = %._crit_edge33.8.preheader
  %unroll_iter117 = and i64 %15, 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 ]
  %niter118 = phi i64 [ 0, %._crit_edge33.8.preheader.new ], [ %niter118.next.3, %._crit_edge33.8 ]
  %287 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.9
  %288 = load i32, ptr %287, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %289
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.9
  store i32 %291, ptr %292, align 4, !tbaa !5
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  %293 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9
  %294 = load i32, ptr %293, align 4, !tbaa !5
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %295
  %297 = load i32, ptr %296, align 4, !tbaa !5
  %298 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9
  store i32 %297, ptr %298, align 4, !tbaa !5
  %indvars.iv.next.9.1 = add nuw nsw i64 %indvars.iv.9, 2
  %299 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9.1
  %300 = load i32, ptr %299, align 4, !tbaa !5
  %301 = sext i32 %300 to i64
  %302 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %301
  %303 = load i32, ptr %302, align 4, !tbaa !5
  %304 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9.1
  store i32 %303, ptr %304, align 4, !tbaa !5
  %indvars.iv.next.9.2 = add nuw nsw i64 %indvars.iv.9, 3
  %305 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9.2
  %306 = load i32, ptr %305, align 4, !tbaa !5
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %307
  %309 = load i32, ptr %308, align 4, !tbaa !5
  %310 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9.2
  store i32 %309, ptr %310, align 4, !tbaa !5
  %indvars.iv.next.9.3 = add nuw nsw i64 %indvars.iv.9, 4
  %niter118.next.3 = add i64 %niter118, 4
  %niter118.ncmp.3 = icmp eq i64 %niter118.next.3, %unroll_iter117
  br i1 %niter118.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.mod116.not = icmp eq i64 %xtraiter114, 0
  br i1 %lcmp.mod116.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.iter115 = phi i64 [ %epil.iter115.next, %._crit_edge33.8.epil ], [ 0, %._crit_edge33.9.preheader.unr-lcssa ]
  %311 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.9.epil
  %312 = load i32, ptr %311, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 9, i64 %313
  %315 = load i32, ptr %314, align 4, !tbaa !5
  %316 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.9.epil
  store i32 %315, ptr %316, align 4, !tbaa !5
  %indvars.iv.next.9.epil = add nuw nsw i64 %indvars.iv.9.epil, 1
  %epil.iter115.next = add i64 %epil.iter115, 1
  %epil.iter115.cmp.not = icmp eq i64 %epil.iter115.next, %xtraiter114
  br i1 %epil.iter115.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
  %xtraiter119 = and i64 %15, 3
  %317 = icmp ult i32 %14, 4
  br i1 %317, label %._crit_edge33.10.preheader.unr-lcssa, label %._crit_edge33.9.preheader.new

._crit_edge33.9.preheader.new:                    ; preds = %._crit_edge33.9.preheader
  %unroll_iter122 = and i64 %15, 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 ]
  %niter123 = phi i64 [ 0, %._crit_edge33.9.preheader.new ], [ %niter123.next.3, %._crit_edge33.9 ]
  %318 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.10
  %319 = load i32, ptr %318, align 4, !tbaa !5
  %320 = sext i32 %319 to i64
  %321 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %320
  %322 = load i32, ptr %321, align 4, !tbaa !5
  %323 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.10
  store i32 %322, ptr %323, align 4, !tbaa !5
  %indvars.iv.next.10 = add nuw nsw i64 %indvars.iv.10, 1
  %324 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10
  %325 = load i32, ptr %324, align 4, !tbaa !5
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %326
  %328 = load i32, ptr %327, align 4, !tbaa !5
  %329 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10
  store i32 %328, ptr %329, align 4, !tbaa !5
  %indvars.iv.next.10.1 = add nuw nsw i64 %indvars.iv.10, 2
  %330 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10.1
  %331 = load i32, ptr %330, align 4, !tbaa !5
  %332 = sext i32 %331 to i64
  %333 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %332
  %334 = load i32, ptr %333, align 4, !tbaa !5
  %335 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10.1
  store i32 %334, ptr %335, align 4, !tbaa !5
  %indvars.iv.next.10.2 = add nuw nsw i64 %indvars.iv.10, 3
  %336 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10.2
  %337 = load i32, ptr %336, align 4, !tbaa !5
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %338
  %340 = load i32, ptr %339, align 4, !tbaa !5
  %341 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10.2
  store i32 %340, ptr %341, align 4, !tbaa !5
  %indvars.iv.next.10.3 = add nuw nsw i64 %indvars.iv.10, 4
  %niter123.next.3 = add i64 %niter123, 4
  %niter123.ncmp.3 = icmp eq i64 %niter123.next.3, %unroll_iter122
  br i1 %niter123.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.mod121.not = icmp eq i64 %xtraiter119, 0
  br i1 %lcmp.mod121.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.iter120 = phi i64 [ %epil.iter120.next, %._crit_edge33.9.epil ], [ 0, %._crit_edge33.10.preheader.unr-lcssa ]
  %342 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.10.epil
  %343 = load i32, ptr %342, align 4, !tbaa !5
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 10, i64 %344
  %346 = load i32, ptr %345, align 4, !tbaa !5
  %347 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.10.epil
  store i32 %346, ptr %347, align 4, !tbaa !5
  %indvars.iv.next.10.epil = add nuw nsw i64 %indvars.iv.10.epil, 1
  %epil.iter120.next = add i64 %epil.iter120, 1
  %epil.iter120.cmp.not = icmp eq i64 %epil.iter120.next, %xtraiter119
  br i1 %epil.iter120.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
  %xtraiter124 = and i64 %15, 3
  %348 = icmp ult i32 %14, 4
  br i1 %348, label %._crit_edge33.11.preheader.unr-lcssa, label %._crit_edge33.10.preheader.new

._crit_edge33.10.preheader.new:                   ; preds = %._crit_edge33.10.preheader
  %unroll_iter127 = and i64 %15, 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 ]
  %niter128 = phi i64 [ 0, %._crit_edge33.10.preheader.new ], [ %niter128.next.3, %._crit_edge33.10 ]
  %349 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.11
  %350 = load i32, ptr %349, align 4, !tbaa !5
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %351
  %353 = load i32, ptr %352, align 4, !tbaa !5
  %354 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.11
  store i32 %353, ptr %354, align 4, !tbaa !5
  %indvars.iv.next.11 = add nuw nsw i64 %indvars.iv.11, 1
  %355 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11
  %356 = load i32, ptr %355, align 4, !tbaa !5
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %357
  %359 = load i32, ptr %358, align 4, !tbaa !5
  %360 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11
  store i32 %359, ptr %360, align 4, !tbaa !5
  %indvars.iv.next.11.1 = add nuw nsw i64 %indvars.iv.11, 2
  %361 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11.1
  %362 = load i32, ptr %361, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %363
  %365 = load i32, ptr %364, align 4, !tbaa !5
  %366 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11.1
  store i32 %365, ptr %366, align 4, !tbaa !5
  %indvars.iv.next.11.2 = add nuw nsw i64 %indvars.iv.11, 3
  %367 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11.2
  %368 = load i32, ptr %367, align 4, !tbaa !5
  %369 = sext i32 %368 to i64
  %370 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %369
  %371 = load i32, ptr %370, align 4, !tbaa !5
  %372 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11.2
  store i32 %371, ptr %372, align 4, !tbaa !5
  %indvars.iv.next.11.3 = add nuw nsw i64 %indvars.iv.11, 4
  %niter128.next.3 = add i64 %niter128, 4
  %niter128.ncmp.3 = icmp eq i64 %niter128.next.3, %unroll_iter127
  br i1 %niter128.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.mod126.not = icmp eq i64 %xtraiter124, 0
  br i1 %lcmp.mod126.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.iter125 = phi i64 [ %epil.iter125.next, %._crit_edge33.10.epil ], [ 0, %._crit_edge33.11.preheader.unr-lcssa ]
  %373 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.11.epil
  %374 = load i32, ptr %373, align 4, !tbaa !5
  %375 = sext i32 %374 to i64
  %376 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 11, i64 %375
  %377 = load i32, ptr %376, align 4, !tbaa !5
  %378 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.11.epil
  store i32 %377, ptr %378, align 4, !tbaa !5
  %indvars.iv.next.11.epil = add nuw nsw i64 %indvars.iv.11.epil, 1
  %epil.iter125.next = add i64 %epil.iter125, 1
  %epil.iter125.cmp.not = icmp eq i64 %epil.iter125.next, %xtraiter124
  br i1 %epil.iter125.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
  %xtraiter129 = and i64 %15, 3
  %379 = icmp ult i32 %14, 4
  br i1 %379, label %._crit_edge33.12.preheader.unr-lcssa, label %._crit_edge33.11.preheader.new

._crit_edge33.11.preheader.new:                   ; preds = %._crit_edge33.11.preheader
  %unroll_iter132 = and i64 %15, 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 ]
  %niter133 = phi i64 [ 0, %._crit_edge33.11.preheader.new ], [ %niter133.next.3, %._crit_edge33.11 ]
  %380 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.12
  %381 = load i32, ptr %380, align 4, !tbaa !5
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %382
  %384 = load i32, ptr %383, align 4, !tbaa !5
  %385 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.12
  store i32 %384, ptr %385, align 4, !tbaa !5
  %indvars.iv.next.12 = add nuw nsw i64 %indvars.iv.12, 1
  %386 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = sext i32 %387 to i64
  %389 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %388
  %390 = load i32, ptr %389, align 4, !tbaa !5
  %391 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12
  store i32 %390, ptr %391, align 4, !tbaa !5
  %indvars.iv.next.12.1 = add nuw nsw i64 %indvars.iv.12, 2
  %392 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12.1
  %393 = load i32, ptr %392, align 4, !tbaa !5
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %394
  %396 = load i32, ptr %395, align 4, !tbaa !5
  %397 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12.1
  store i32 %396, ptr %397, align 4, !tbaa !5
  %indvars.iv.next.12.2 = add nuw nsw i64 %indvars.iv.12, 3
  %398 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12.2
  %399 = load i32, ptr %398, align 4, !tbaa !5
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %400
  %402 = load i32, ptr %401, align 4, !tbaa !5
  %403 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12.2
  store i32 %402, ptr %403, align 4, !tbaa !5
  %indvars.iv.next.12.3 = add nuw nsw i64 %indvars.iv.12, 4
  %niter133.next.3 = add i64 %niter133, 4
  %niter133.ncmp.3 = icmp eq i64 %niter133.next.3, %unroll_iter132
  br i1 %niter133.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.mod131.not = icmp eq i64 %xtraiter129, 0
  br i1 %lcmp.mod131.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.iter130 = phi i64 [ %epil.iter130.next, %._crit_edge33.11.epil ], [ 0, %._crit_edge33.12.preheader.unr-lcssa ]
  %404 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.12.epil
  %405 = load i32, ptr %404, align 4, !tbaa !5
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 12, i64 %406
  %408 = load i32, ptr %407, align 4, !tbaa !5
  %409 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.12.epil
  store i32 %408, ptr %409, align 4, !tbaa !5
  %indvars.iv.next.12.epil = add nuw nsw i64 %indvars.iv.12.epil, 1
  %epil.iter130.next = add i64 %epil.iter130, 1
  %epil.iter130.cmp.not = icmp eq i64 %epil.iter130.next, %xtraiter129
  br i1 %epil.iter130.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
  %xtraiter134 = and i64 %15, 3
  %410 = icmp ult i32 %14, 4
  br i1 %410, label %._crit_edge33.13.preheader.unr-lcssa, label %._crit_edge33.12.preheader.new

._crit_edge33.12.preheader.new:                   ; preds = %._crit_edge33.12.preheader
  %unroll_iter137 = and i64 %15, 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 ]
  %niter138 = phi i64 [ 0, %._crit_edge33.12.preheader.new ], [ %niter138.next.3, %._crit_edge33.12 ]
  %411 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.13
  %412 = load i32, ptr %411, align 4, !tbaa !5
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %413
  %415 = load i32, ptr %414, align 4, !tbaa !5
  %416 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.13
  store i32 %415, ptr %416, align 4, !tbaa !5
  %indvars.iv.next.13 = add nuw nsw i64 %indvars.iv.13, 1
  %417 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13
  %418 = load i32, ptr %417, align 4, !tbaa !5
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %419
  %421 = load i32, ptr %420, align 4, !tbaa !5
  %422 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13
  store i32 %421, ptr %422, align 4, !tbaa !5
  %indvars.iv.next.13.1 = add nuw nsw i64 %indvars.iv.13, 2
  %423 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13.1
  %424 = load i32, ptr %423, align 4, !tbaa !5
  %425 = sext i32 %424 to i64
  %426 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %425
  %427 = load i32, ptr %426, align 4, !tbaa !5
  %428 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13.1
  store i32 %427, ptr %428, align 4, !tbaa !5
  %indvars.iv.next.13.2 = add nuw nsw i64 %indvars.iv.13, 3
  %429 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13.2
  %430 = load i32, ptr %429, align 4, !tbaa !5
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %431
  %433 = load i32, ptr %432, align 4, !tbaa !5
  %434 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13.2
  store i32 %433, ptr %434, align 4, !tbaa !5
  %indvars.iv.next.13.3 = add nuw nsw i64 %indvars.iv.13, 4
  %niter138.next.3 = add i64 %niter138, 4
  %niter138.ncmp.3 = icmp eq i64 %niter138.next.3, %unroll_iter137
  br i1 %niter138.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.mod136.not = icmp eq i64 %xtraiter134, 0
  br i1 %lcmp.mod136.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.iter135 = phi i64 [ %epil.iter135.next, %._crit_edge33.12.epil ], [ 0, %._crit_edge33.13.preheader.unr-lcssa ]
  %435 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.13.epil
  %436 = load i32, ptr %435, align 4, !tbaa !5
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 13, i64 %437
  %439 = load i32, ptr %438, align 4, !tbaa !5
  %440 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.13.epil
  store i32 %439, ptr %440, align 4, !tbaa !5
  %indvars.iv.next.13.epil = add nuw nsw i64 %indvars.iv.13.epil, 1
  %epil.iter135.next = add i64 %epil.iter135, 1
  %epil.iter135.cmp.not = icmp eq i64 %epil.iter135.next, %xtraiter134
  br i1 %epil.iter135.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
  %xtraiter139 = and i64 %15, 3
  %441 = icmp ult i32 %14, 4
  br i1 %441, label %._crit_edge33.14.preheader.unr-lcssa, label %._crit_edge33.13.preheader.new

._crit_edge33.13.preheader.new:                   ; preds = %._crit_edge33.13.preheader
  %unroll_iter142 = and i64 %15, 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 ]
  %niter143 = phi i64 [ 0, %._crit_edge33.13.preheader.new ], [ %niter143.next.3, %._crit_edge33.13 ]
  %442 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.14
  %443 = load i32, ptr %442, align 4, !tbaa !5
  %444 = sext i32 %443 to i64
  %445 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %444
  %446 = load i32, ptr %445, align 4, !tbaa !5
  %447 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.14
  store i32 %446, ptr %447, align 4, !tbaa !5
  %indvars.iv.next.14 = add nuw nsw i64 %indvars.iv.14, 1
  %448 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14
  %449 = load i32, ptr %448, align 4, !tbaa !5
  %450 = sext i32 %449 to i64
  %451 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %450
  %452 = load i32, ptr %451, align 4, !tbaa !5
  %453 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14
  store i32 %452, ptr %453, align 4, !tbaa !5
  %indvars.iv.next.14.1 = add nuw nsw i64 %indvars.iv.14, 2
  %454 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14.1
  %455 = load i32, ptr %454, align 4, !tbaa !5
  %456 = sext i32 %455 to i64
  %457 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %456
  %458 = load i32, ptr %457, align 4, !tbaa !5
  %459 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14.1
  store i32 %458, ptr %459, align 4, !tbaa !5
  %indvars.iv.next.14.2 = add nuw nsw i64 %indvars.iv.14, 3
  %460 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14.2
  %461 = load i32, ptr %460, align 4, !tbaa !5
  %462 = sext i32 %461 to i64
  %463 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %462
  %464 = load i32, ptr %463, align 4, !tbaa !5
  %465 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14.2
  store i32 %464, ptr %465, align 4, !tbaa !5
  %indvars.iv.next.14.3 = add nuw nsw i64 %indvars.iv.14, 4
  %niter143.next.3 = add i64 %niter143, 4
  %niter143.ncmp.3 = icmp eq i64 %niter143.next.3, %unroll_iter142
  br i1 %niter143.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.mod141.not = icmp eq i64 %xtraiter139, 0
  br i1 %lcmp.mod141.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.iter140 = phi i64 [ %epil.iter140.next, %._crit_edge33.13.epil ], [ 0, %._crit_edge33.14.preheader.unr-lcssa ]
  %466 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.14.epil
  %467 = load i32, ptr %466, align 4, !tbaa !5
  %468 = sext i32 %467 to i64
  %469 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 14, i64 %468
  %470 = load i32, ptr %469, align 4, !tbaa !5
  %471 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.14.epil
  store i32 %470, ptr %471, align 4, !tbaa !5
  %indvars.iv.next.14.epil = add nuw nsw i64 %indvars.iv.14.epil, 1
  %epil.iter140.next = add i64 %epil.iter140, 1
  %epil.iter140.cmp.not = icmp eq i64 %epil.iter140.next, %xtraiter139
  br i1 %epil.iter140.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
  %xtraiter144 = and i64 %15, 3
  %472 = icmp ult i32 %14, 4
  br i1 %472, label %.split36.us.loopexit.unr-lcssa, label %._crit_edge33.14.preheader.new

._crit_edge33.14.preheader.new:                   ; preds = %._crit_edge33.14.preheader
  %unroll_iter147 = and i64 %15, 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 ]
  %niter148 = phi i64 [ 0, %._crit_edge33.14.preheader.new ], [ %niter148.next.3, %._crit_edge33.14 ]
  %473 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.15
  %474 = load i32, ptr %473, align 4, !tbaa !5
  %475 = sext i32 %474 to i64
  %476 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %475
  %477 = load i32, ptr %476, align 4, !tbaa !5
  %478 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.15
  store i32 %477, ptr %478, align 4, !tbaa !5
  %indvars.iv.next.15 = add nuw nsw i64 %indvars.iv.15, 1
  %479 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15
  %480 = load i32, ptr %479, align 4, !tbaa !5
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %481
  %483 = load i32, ptr %482, align 4, !tbaa !5
  %484 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15
  store i32 %483, ptr %484, align 4, !tbaa !5
  %indvars.iv.next.15.1 = add nuw nsw i64 %indvars.iv.15, 2
  %485 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15.1
  %486 = load i32, ptr %485, align 4, !tbaa !5
  %487 = sext i32 %486 to i64
  %488 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %487
  %489 = load i32, ptr %488, align 4, !tbaa !5
  %490 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15.1
  store i32 %489, ptr %490, align 4, !tbaa !5
  %indvars.iv.next.15.2 = add nuw nsw i64 %indvars.iv.15, 3
  %491 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15.2
  %492 = load i32, ptr %491, align 4, !tbaa !5
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 15, i64 %493
  %495 = load i32, ptr %494, align 4, !tbaa !5
  %496 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15.2
  store i32 %495, ptr %496, align 4, !tbaa !5
  %indvars.iv.next.15.3 = add nuw nsw i64 %indvars.iv.15, 4
  %niter148.next.3 = add i64 %niter148, 4
  %niter148.ncmp.3 = icmp eq i64 %niter148.next.3, %unroll_iter147
  br i1 %niter148.ncmp.3, label %.split36.us.loopexit.unr-lcssa, label %._crit_edge33.14, !llvm.loop !13

497:                                              ; preds = %497, %.preheader29.preheader.new
  %indvars.iv = phi i64 [ 1, %.preheader29.preheader.new ], [ %indvars.iv.next.370, %497 ]
  %niter = phi i64 [ 0, %.preheader29.preheader.new ], [ %niter.next.3, %497 ]
  %498 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv
  %499 = load i32, ptr %498, align 4, !tbaa !5
  %500 = sext i32 %499 to i64
  %501 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %500
  %502 = load i32, ptr %501, align 4, !tbaa !5
  %503 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv
  store i32 %502, ptr %503, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %504 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next
  %505 = load i32, ptr %504, align 4, !tbaa !5
  %506 = sext i32 %505 to i64
  %507 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %506
  %508 = load i32, ptr %507, align 4, !tbaa !5
  %509 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next
  store i32 %508, ptr %509, align 4, !tbaa !5
  %indvars.iv.next.166 = add nuw nsw i64 %indvars.iv, 2
  %510 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next.166
  %511 = load i32, ptr %510, align 4, !tbaa !5
  %512 = sext i32 %511 to i64
  %513 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %512
  %514 = load i32, ptr %513, align 4, !tbaa !5
  %515 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.166
  store i32 %514, ptr %515, align 4, !tbaa !5
  %indvars.iv.next.268 = add nuw nsw i64 %indvars.iv, 3
  %516 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next.268
  %517 = load i32, ptr %516, align 4, !tbaa !5
  %518 = sext i32 %517 to i64
  %519 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %518
  %520 = load i32, ptr %519, align 4, !tbaa !5
  %521 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.268
  store i32 %520, ptr %521, align 4, !tbaa !5
  %indvars.iv.next.370 = 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 %497, !llvm.loop !13

._crit_edge33.preheader.unr-lcssa:                ; preds = %497, %.preheader29.preheader
  %indvars.iv.unr = phi i64 [ 1, %.preheader29.preheader ], [ %indvars.iv.next.370, %497 ]
  %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 ]
  %522 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.epil
  %523 = load i32, ptr %522, align 4, !tbaa !5
  %524 = sext i32 %523 to i64
  %525 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 0, i64 %524
  %526 = load i32, ptr %525, align 4, !tbaa !5
  %527 = getelementptr inbounds [17 x [131072 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.epil
  store i32 %526, ptr %527, 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
  %xtraiter71 = and i64 %15, 3
  %528 = icmp ult i32 %14, 4
  br i1 %528, label %._crit_edge33.1.preheader.unr-lcssa, label %._crit_edge33.preheader.new

._crit_edge33.preheader.new:                      ; preds = %._crit_edge33.preheader
  %unroll_iter74 = and i64 %15, 2147483644
  br label %._crit_edge33

.lr.ph39:                                         ; preds = %.split36.us, %.lr.ph39
  %529 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %530 = load i32, ptr %1, align 4, !tbaa !5
  %531 = load i32, ptr %2, align 4, !tbaa !5
  %532 = call noundef i32 @_Z3LCAii(i32 noundef %530, i32 noundef %531)
  %533 = sext i32 %532 to i64
  %534 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %533
  %535 = load i32, ptr %534, align 4, !tbaa !5
  %536 = add nsw i32 %535, -2
  store i32 %536, ptr %534, align 4, !tbaa !5
  %537 = load i32, ptr %1, align 4, !tbaa !5
  %538 = sext i32 %537 to i64
  %539 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %538
  %540 = load i32, ptr %539, align 4, !tbaa !5
  %541 = add nsw i32 %540, 1
  store i32 %541, ptr %539, align 4, !tbaa !5
  %542 = load i32, ptr %2, align 4, !tbaa !5
  %543 = sext i32 %542 to i64
  %544 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %543
  %545 = load i32, ptr %544, align 4, !tbaa !5
  %546 = add nsw i32 %545, 1
  store i32 %546, ptr %544, align 4, !tbaa !5
  %547 = load i32, ptr %6, align 4, !tbaa !5
  %548 = add nsw i32 %547, -1
  store i32 %548, ptr %6, align 4, !tbaa !5
  %.not = icmp eq i32 %547, 0
  br i1 %.not, label %._crit_edge40, label %.lr.ph39, !llvm.loop !29

._crit_edge40:                                    ; preds = %.lr.ph39, %.split36.us
  %549 = load i32, ptr @mxl, align 4, !tbaa !5
  %550 = icmp sgt i32 %549, -1
  br i1 %550, label %.lr.ph49.preheader, label %.preheader

.lr.ph49.preheader:                               ; preds = %._crit_edge40
  %551 = zext nneg i32 %549 to i64
  br label %.lr.ph49

.preheader:                                       ; preds = %._crit_edge46, %._crit_edge40
  %552 = load i32, ptr @n, align 4, !tbaa !5
  %553 = icmp sgt i32 %552, 1
  br i1 %553, label %.lr.ph51, label %._crit_edge52

.lr.ph49:                                         ; preds = %.lr.ph49.preheader, %._crit_edge46
  %indvars.iv59 = phi i64 [ %551, %.lr.ph49.preheader ], [ %indvars.iv.next60, %._crit_edge46 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %554 = getelementptr inbounds [131072 x %"class.std::vector.0"], ptr @levels, i64 0, i64 %indvars.iv59
  %555 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %554) #6
  store ptr %555, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %556 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %554) #6
  store ptr %556, ptr %8, align 8
  %557 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br i1 %557, label %.lr.ph45, label %._crit_edge46

._crit_edge46:                                    ; preds = %._crit_edge43, %.lr.ph49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %indvars.iv.next60 = add nsw i64 %indvars.iv59, -1
  %558 = icmp sgt i64 %indvars.iv59, 0
  br i1 %558, label %.lr.ph49, label %.preheader, !llvm.loop !30

.lr.ph45:                                         ; preds = %.lr.ph49, %._crit_edge43
  %559 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %560 = load i32, ptr %559, align 4, !tbaa !5
  %561 = sext i32 %560 to i64
  %562 = getelementptr inbounds [131072 x i32], ptr @v, i64 0, i64 %561
  store i32 1, ptr %562, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %563 = getelementptr inbounds [131072 x %"class.std::vector"], ptr @g, i64 0, i64 %561
  %564 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %563) #6
  store ptr %564, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %565 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %563) #6
  store ptr %565, ptr %10, align 8
  %566 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %566, label %.lr.ph42, label %._crit_edge43

.lr.ph42:                                         ; preds = %.lr.ph45
  %567 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %561
  br label %571

._crit_edge43:                                    ; preds = %591, %.lr.ph45
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  %568 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %569 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %554) #6
  store ptr %569, ptr %8, align 8
  %570 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br i1 %570, label %.lr.ph45, label %._crit_edge46, !llvm.loop !31

571:                                              ; preds = %.lr.ph42, %591
  %572 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %573 = load i32, ptr %572, align 4, !tbaa !32
  %574 = sext i32 %573 to i64
  %575 = getelementptr inbounds [131072 x i32], ptr @v, i64 0, i64 %574
  %576 = load i32, ptr %575, align 4, !tbaa !5
  %.not27 = icmp eq i32 %576, 0
  br i1 %.not27, label %577, label %591

577:                                              ; preds = %571
  %578 = load i32, ptr %567, align 4, !tbaa !5
  %579 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %580 = getelementptr inbounds i8, ptr %579, i64 4
  %581 = load i32, ptr %580, align 4, !tbaa !34
  %582 = sext i32 %581 to i64
  %583 = getelementptr inbounds [131072 x i32], ptr @val, i64 0, i64 %582
  store i32 %578, ptr %583, align 4, !tbaa !5
  %584 = load i32, ptr %567, align 4, !tbaa !5
  %585 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %586 = load i32, ptr %585, align 4, !tbaa !32
  %587 = sext i32 %586 to i64
  %588 = getelementptr inbounds [131072 x i32], ptr @cnt, i64 0, i64 %587
  %589 = load i32, ptr %588, align 4, !tbaa !5
  %590 = add nsw i32 %589, %584
  store i32 %590, ptr %588, align 4, !tbaa !5
  br label %591

591:                                              ; preds = %571, %577
  %592 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %593 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %563) #6
  store ptr %593, ptr %10, align 8
  %594 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %594, label %571, label %._crit_edge43, !llvm.loop !35

._crit_edge52:                                    ; preds = %.lr.ph51, %.preheader
  %595 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #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

.lr.ph51:                                         ; preds = %.preheader, %.lr.ph51
  %indvars.iv62 = phi i64 [ %indvars.iv.next63, %.lr.ph51 ], [ 1, %.preheader ]
  %596 = getelementptr inbounds [131072 x i32], ptr @val, i64 0, i64 %indvars.iv62
  %597 = load i32, ptr %596, align 4, !tbaa !5
  %598 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %597)
  %indvars.iv.next63 = add nuw nsw i64 %indvars.iv62, 1
  %599 = load i32, ptr @n, align 4, !tbaa !5
  %600 = sext i32 %599 to i64
  %601 = icmp slt i64 %indvars.iv.next63, %600
  br i1 %601, label %.lr.ph51, label %._crit_edge52, !llvm.loop !36
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #5

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 = { inlinehint 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 #4 = { 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 #5 = { 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 #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}
!31 = distinct !{!31, !10}
!32 = !{!33, !6, i64 0}
!33 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!34 = !{!33, !6, i64 4}
!35 = distinct !{!35, !10}
!36 = distinct !{!36, !10}


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