; LLVM IR from VastoLorde95/Competitive-Programming :: Hackerrank/Codesprints 2016/Codesprint July/Problem H (H)

; 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 }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@n = external dso_local global i32, align 4
@p = external dso_local global [18 x [262144 x i32]], align 16
@g = external dso_local global [262144 x %"class.std::vector"], align 16
@m = external dso_local global i32, align 4
@cost = external dso_local global [262144 x i32], align 16
@type = external dso_local global [262144 x i32], align 16
@tkt = external dso_local global [262144 x %"class.std::vector"], align 16
@ans = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@__FUNCTION__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z5queryv() #2

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

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

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

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

; 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 uwtable
declare dso_local void @_Z4dfs2iix(i32 noundef, i32 noundef, i64 noundef) #0

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

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

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

24:                                               ; preds = %39, %0
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = load i32, ptr @n, align 4, !tbaa !5
  %27 = icmp slt i32 %25, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %42

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %30 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %3, ptr noundef %4, ptr noundef %5)
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @g, i64 0, i64 %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %34 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store i64 %34, ptr %6, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @g, i64 0, i64 %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %38 = 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) %5)
  store i64 %38, ptr %7, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %39

39:                                               ; preds = %29
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %2, align 4, !tbaa !5
  br label %24, !llvm.loop !9

42:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 279, ptr %8, align 4, !tbaa !5
  call void @_Z2trIPKcJiEEvT_DpRKT0_(ptr noundef @__FUNCTION__.main, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @_Z4dfs1iix(i32 noundef 1, i32 noundef 1, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 281, ptr %9, align 4, !tbaa !5
  call void @_Z2trIPKcJiEEvT_DpRKT0_(ptr noundef @__FUNCTION__.main, ptr noundef nonnull align 4 dereferenceable(4) %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %79, %42
  %44 = load i32, ptr %10, align 4, !tbaa !5
  %45 = icmp slt i32 %44, 18
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %82

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %75, %47
  %49 = load i32, ptr %12, align 4, !tbaa !5
  %50 = load i32, ptr @n, align 4, !tbaa !5
  %51 = icmp sle i32 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %78

53:                                               ; preds = %48
  %54 = load i32, ptr %10, align 4, !tbaa !5
  %55 = sub nsw i32 %54, 1
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 %56
  %58 = load i32, ptr %10, align 4, !tbaa !5
  %59 = sub nsw i32 %58, 1
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 %60
  %62 = load i32, ptr %12, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [262144 x i32], ptr %61, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [262144 x i32], ptr %57, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 %70
  %72 = load i32, ptr %12, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [262144 x i32], ptr %71, i64 0, i64 %73
  store i32 %68, ptr %74, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %53
  %76 = load i32, ptr %12, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %12, align 4, !tbaa !5
  br label %48, !llvm.loop !11

78:                                               ; preds = %52
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %10, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %10, align 4, !tbaa !5
  br label %43, !llvm.loop !12

82:                                               ; preds = %46
  %83 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %84

84:                                               ; preds = %118, %82
  %85 = load i32, ptr %13, align 4, !tbaa !5
  %86 = load i32, ptr @m, align 4, !tbaa !5
  %87 = icmp sle i32 %85, %86
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %121

89:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %90 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %14, ptr noundef %15, ptr noundef %16)
  %91 = load i32, ptr %16, align 4, !tbaa !5
  %92 = load i32, ptr %13, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [262144 x i32], ptr @cost, i64 0, i64 %93
  store i32 %91, ptr %94, align 4, !tbaa !5
  %95 = load i32, ptr %14, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @tkt, i64 0, i64 %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %98 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %13)
  store i64 %98, ptr %17, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %99 = load i32, ptr %15, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @tkt, i64 0, i64 %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %102 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %13)
  store i64 %102, ptr %18, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef nonnull align 4 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %103 = load i32, ptr %14, align 4, !tbaa !5
  %104 = load i32, ptr %15, align 4, !tbaa !5
  %105 = call noundef i32 @_Z3LCAii(i32 noundef %103, i32 noundef %104)
  store i32 %105, ptr %19, align 4, !tbaa !5
  %106 = load i32, ptr %19, align 4, !tbaa !5
  %107 = load i32, ptr %14, align 4, !tbaa !5
  %108 = icmp eq i32 %106, %107
  br i1 %108, label %113, label %109

109:                                              ; preds = %89
  %110 = load i32, ptr %19, align 4, !tbaa !5
  %111 = load i32, ptr %15, align 4, !tbaa !5
  %112 = icmp eq i32 %110, %111
  br i1 %112, label %113, label %117

113:                                              ; preds = %109, %89
  %114 = load i32, ptr %13, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [262144 x i32], ptr @type, i64 0, i64 %115
  store i32 1, ptr %116, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %113, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %118

118:                                              ; preds = %117
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %13, align 4, !tbaa !5
  br label %84, !llvm.loop !13

121:                                              ; preds = %88
  call void @_Z4dfs2iix(i32 noundef 1, i32 noundef 1, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 1, ptr %20, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %142, %121
  %123 = load i32, ptr %20, align 4, !tbaa !5
  %124 = load i32, ptr @n, align 4, !tbaa !5
  %125 = icmp sle i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %145

127:                                              ; preds = %122
  %128 = load i32, ptr %20, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @tkt, i64 0, i64 %129
  %131 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #6
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %131, ptr %132, align 8
  %133 = load i32, ptr %20, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @tkt, i64 0, i64 %134
  %136 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %135) #6
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  %139 = load ptr, ptr %138, align 8
  %140 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %139, ptr %141, ptr noundef @_Z3cmpRKSt4pairIiiES2_)
  br label %142

142:                                              ; preds = %127
  %143 = load i32, ptr %20, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %20, align 4, !tbaa !5
  br label %122, !llvm.loop !14

145:                                              ; preds = %126
  %146 = load i32, ptr @n, align 4, !tbaa !5
  call void @_Z5buildiii(i32 noundef 1, i32 noundef 0, i32 noundef %146)
  %147 = call noundef i64 @_Z5queryv()
  store i64 %147, ptr @ans, align 8, !tbaa !15
  call void @_Z4dfs3ii(i32 noundef 1, i32 noundef 1)
  %148 = load i64, ptr @ans, align 8, !tbaa !15
  %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %148)
  ret i32 0
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) #5

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

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


; 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 }
%"struct.std::pair" = type { i32, i32 }

@n = external dso_local global i32, align 4
@p = external dso_local local_unnamed_addr global [18 x [262144 x i32]], align 16
@g = external dso_local global [262144 x %"class.std::vector"], align 16
@m = external dso_local global i32, align 4
@cost = external dso_local local_unnamed_addr global [262144 x i32], align 16
@type = external dso_local local_unnamed_addr global [262144 x i32], align 16
@tkt = external dso_local global [262144 x %"class.std::vector"], align 16
@ans = external dso_local local_unnamed_addr global i64, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@__FUNCTION__.main = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z5queryv() local_unnamed_addr #2

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

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

; 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: 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 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 uwtable
declare dso_local void @_Z4dfs2iix(i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca %"struct.std::pair", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::pair", align 8
  %13 = alloca %"struct.std::pair", align 8
  %14 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %15 = load i32, ptr @n, align 4, !tbaa !5
  %16 = icmp sgt i32 %15, 1
  br i1 %16, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 279, ptr %6, align 4, !tbaa !5
  call void @_Z2trIPKcJiEEvT_DpRKT0_(ptr noundef nonnull @__FUNCTION__.main, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @_Z4dfs1iix(i32 noundef 1, i32 noundef 1, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 281, ptr %7, align 4, !tbaa !5
  call void @_Z2trIPKcJiEEvT_DpRKT0_(ptr noundef nonnull @__FUNCTION__.main, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  %17 = load i32, ptr @n, align 4, !tbaa !5
  %.not2427 = icmp slt i32 %17, 1
  br i1 %.not2427, label %.split33.us, label %.preheader.preheader

.preheader.preheader:                             ; preds = %._crit_edge
  %18 = zext nneg i32 %17 to i64
  %xtraiter = and i64 %18, 3
  %19 = icmp ult i32 %17, 4
  br i1 %19, label %._crit_edge30.preheader.unr-lcssa, label %.preheader.preheader.new

.preheader.preheader.new:                         ; preds = %.preheader.preheader
  %unroll_iter = and i64 %18, 2147483644
  br label %517

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.026 = phi i32 [ %29, %.lr.ph ], [ 1, %0 ]
  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
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %21 = load i32, ptr %1, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @g, i64 0, i64 %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %24 = 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 %24, ptr %4, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @g, i64 0, i64 %26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %28 = 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 %28, ptr %5, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 4 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  %29 = add nuw nsw i32 %.026, 1
  %30 = load i32, ptr @n, align 4, !tbaa !5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.split33.us.loopexit.unr-lcssa:                   ; preds = %._crit_edge30.15, %._crit_edge30.15.preheader
  %indvars.iv.16.unr = phi i64 [ 1, %._crit_edge30.15.preheader ], [ %indvars.iv.next.16.1, %._crit_edge30.15 ]
  %lcmp.mod142.not = icmp eq i64 %xtraiter140, 0
  br i1 %lcmp.mod142.not, label %.split33.us, label %._crit_edge30.15.epil

._crit_edge30.15.epil:                            ; preds = %.split33.us.loopexit.unr-lcssa
  %32 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.16.unr
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 17, i64 %indvars.iv.16.unr
  store i32 %36, ptr %37, align 4, !tbaa !5
  br label %.split33.us

.split33.us:                                      ; preds = %._crit_edge30.15.epil, %.split33.us.loopexit.unr-lcssa, %._crit_edge
  %38 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store i32 1, ptr %8, align 4, !tbaa !5
  %39 = load i32, ptr @m, align 4, !tbaa !5
  %.not34 = icmp slt i32 %39, 1
  br i1 %.not34, label %._crit_edge37, label %.lr.ph36

._crit_edge30:                                    ; preds = %._crit_edge30, %._crit_edge30.preheader.new
  %indvars.iv.1 = phi i64 [ 1, %._crit_edge30.preheader.new ], [ %indvars.iv.next.1.3, %._crit_edge30 ]
  %niter66 = phi i64 [ 0, %._crit_edge30.preheader.new ], [ %niter66.next.3, %._crit_edge30 ]
  %40 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.1
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.1
  store i32 %44, ptr %45, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %46 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1
  store i32 %50, ptr %51, align 4, !tbaa !5
  %indvars.iv.next.1.1 = add nuw nsw i64 %indvars.iv.1, 2
  %52 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1.1
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1.1
  store i32 %56, ptr %57, align 4, !tbaa !5
  %indvars.iv.next.1.2 = add nuw nsw i64 %indvars.iv.1, 3
  %58 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.1.2
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.1.2
  store i32 %62, ptr %63, align 4, !tbaa !5
  %indvars.iv.next.1.3 = add nuw nsw i64 %indvars.iv.1, 4
  %niter66.next.3 = add i64 %niter66, 4
  %niter66.ncmp.3 = icmp eq i64 %niter66.next.3, %unroll_iter65
  br i1 %niter66.ncmp.3, label %._crit_edge30.1.preheader.unr-lcssa, label %._crit_edge30, !llvm.loop !11

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

._crit_edge30.epil:                               ; preds = %._crit_edge30.1.preheader.unr-lcssa, %._crit_edge30.epil
  %indvars.iv.1.epil = phi i64 [ %indvars.iv.next.1.epil, %._crit_edge30.epil ], [ %indvars.iv.1.unr, %._crit_edge30.1.preheader.unr-lcssa ]
  %epil.iter63 = phi i64 [ %epil.iter63.next, %._crit_edge30.epil ], [ 0, %._crit_edge30.1.preheader.unr-lcssa ]
  %64 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.1.epil
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.1.epil
  store i32 %68, ptr %69, align 4, !tbaa !5
  %indvars.iv.next.1.epil = add nuw nsw i64 %indvars.iv.1.epil, 1
  %epil.iter63.next = add i64 %epil.iter63, 1
  %epil.iter63.cmp.not = icmp eq i64 %epil.iter63.next, %xtraiter62
  br i1 %epil.iter63.cmp.not, label %._crit_edge30.1.preheader, label %._crit_edge30.epil, !llvm.loop !12

._crit_edge30.1.preheader:                        ; preds = %._crit_edge30.epil, %._crit_edge30.1.preheader.unr-lcssa
  %xtraiter70 = and i64 %18, 3
  %70 = icmp ult i32 %17, 4
  br i1 %70, label %._crit_edge30.2.preheader.unr-lcssa, label %._crit_edge30.1.preheader.new

._crit_edge30.1.preheader.new:                    ; preds = %._crit_edge30.1.preheader
  %unroll_iter73 = and i64 %18, 2147483644
  br label %._crit_edge30.1

._crit_edge30.1:                                  ; preds = %._crit_edge30.1, %._crit_edge30.1.preheader.new
  %indvars.iv.2 = phi i64 [ 1, %._crit_edge30.1.preheader.new ], [ %indvars.iv.next.2.3, %._crit_edge30.1 ]
  %niter74 = phi i64 [ 0, %._crit_edge30.1.preheader.new ], [ %niter74.next.3, %._crit_edge30.1 ]
  %71 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.2
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.2
  store i32 %75, ptr %76, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %77 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2
  store i32 %81, ptr %82, align 4, !tbaa !5
  %indvars.iv.next.2.1 = add nuw nsw i64 %indvars.iv.2, 2
  %83 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2.1
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %85
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2.1
  store i32 %87, ptr %88, align 4, !tbaa !5
  %indvars.iv.next.2.2 = add nuw nsw i64 %indvars.iv.2, 3
  %89 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.next.2.2
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.2.2
  store i32 %93, ptr %94, align 4, !tbaa !5
  %indvars.iv.next.2.3 = add nuw nsw i64 %indvars.iv.2, 4
  %niter74.next.3 = add i64 %niter74, 4
  %niter74.ncmp.3 = icmp eq i64 %niter74.next.3, %unroll_iter73
  br i1 %niter74.ncmp.3, label %._crit_edge30.2.preheader.unr-lcssa, label %._crit_edge30.1, !llvm.loop !11

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

._crit_edge30.1.epil:                             ; preds = %._crit_edge30.2.preheader.unr-lcssa, %._crit_edge30.1.epil
  %indvars.iv.2.epil = phi i64 [ %indvars.iv.next.2.epil, %._crit_edge30.1.epil ], [ %indvars.iv.2.unr, %._crit_edge30.2.preheader.unr-lcssa ]
  %epil.iter71 = phi i64 [ %epil.iter71.next, %._crit_edge30.1.epil ], [ 0, %._crit_edge30.2.preheader.unr-lcssa ]
  %95 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %indvars.iv.2.epil
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 2, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.2.epil
  store i32 %99, ptr %100, align 4, !tbaa !5
  %indvars.iv.next.2.epil = add nuw nsw i64 %indvars.iv.2.epil, 1
  %epil.iter71.next = add i64 %epil.iter71, 1
  %epil.iter71.cmp.not = icmp eq i64 %epil.iter71.next, %xtraiter70
  br i1 %epil.iter71.cmp.not, label %._crit_edge30.2.preheader, label %._crit_edge30.1.epil, !llvm.loop !14

._crit_edge30.2.preheader:                        ; preds = %._crit_edge30.1.epil, %._crit_edge30.2.preheader.unr-lcssa
  %xtraiter75 = and i64 %18, 3
  %101 = icmp ult i32 %17, 4
  br i1 %101, label %._crit_edge30.3.preheader.unr-lcssa, label %._crit_edge30.2.preheader.new

._crit_edge30.2.preheader.new:                    ; preds = %._crit_edge30.2.preheader
  %unroll_iter78 = and i64 %18, 2147483644
  br label %._crit_edge30.2

._crit_edge30.2:                                  ; preds = %._crit_edge30.2, %._crit_edge30.2.preheader.new
  %indvars.iv.3 = phi i64 [ 1, %._crit_edge30.2.preheader.new ], [ %indvars.iv.next.3.3, %._crit_edge30.2 ]
  %niter79 = phi i64 [ 0, %._crit_edge30.2.preheader.new ], [ %niter79.next.3, %._crit_edge30.2 ]
  %102 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.3
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.3
  store i32 %106, ptr %107, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %108 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3
  store i32 %112, ptr %113, align 4, !tbaa !5
  %indvars.iv.next.3.1 = add nuw nsw i64 %indvars.iv.3, 2
  %114 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3.1
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3.1
  store i32 %118, ptr %119, align 4, !tbaa !5
  %indvars.iv.next.3.2 = add nuw nsw i64 %indvars.iv.3, 3
  %120 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.next.3.2
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.3.2
  store i32 %124, ptr %125, align 4, !tbaa !5
  %indvars.iv.next.3.3 = add nuw nsw i64 %indvars.iv.3, 4
  %niter79.next.3 = add i64 %niter79, 4
  %niter79.ncmp.3 = icmp eq i64 %niter79.next.3, %unroll_iter78
  br i1 %niter79.ncmp.3, label %._crit_edge30.3.preheader.unr-lcssa, label %._crit_edge30.2, !llvm.loop !11

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

._crit_edge30.2.epil:                             ; preds = %._crit_edge30.3.preheader.unr-lcssa, %._crit_edge30.2.epil
  %indvars.iv.3.epil = phi i64 [ %indvars.iv.next.3.epil, %._crit_edge30.2.epil ], [ %indvars.iv.3.unr, %._crit_edge30.3.preheader.unr-lcssa ]
  %epil.iter76 = phi i64 [ %epil.iter76.next, %._crit_edge30.2.epil ], [ 0, %._crit_edge30.3.preheader.unr-lcssa ]
  %126 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %indvars.iv.3.epil
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 3, i64 %128
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.3.epil
  store i32 %130, ptr %131, align 4, !tbaa !5
  %indvars.iv.next.3.epil = add nuw nsw i64 %indvars.iv.3.epil, 1
  %epil.iter76.next = add i64 %epil.iter76, 1
  %epil.iter76.cmp.not = icmp eq i64 %epil.iter76.next, %xtraiter75
  br i1 %epil.iter76.cmp.not, label %._crit_edge30.3.preheader, label %._crit_edge30.2.epil, !llvm.loop !15

._crit_edge30.3.preheader:                        ; preds = %._crit_edge30.2.epil, %._crit_edge30.3.preheader.unr-lcssa
  %xtraiter80 = and i64 %18, 3
  %132 = icmp ult i32 %17, 4
  br i1 %132, label %._crit_edge30.4.preheader.unr-lcssa, label %._crit_edge30.3.preheader.new

._crit_edge30.3.preheader.new:                    ; preds = %._crit_edge30.3.preheader
  %unroll_iter83 = and i64 %18, 2147483644
  br label %._crit_edge30.3

._crit_edge30.3:                                  ; preds = %._crit_edge30.3, %._crit_edge30.3.preheader.new
  %indvars.iv.4 = phi i64 [ 1, %._crit_edge30.3.preheader.new ], [ %indvars.iv.next.4.3, %._crit_edge30.3 ]
  %niter84 = phi i64 [ 0, %._crit_edge30.3.preheader.new ], [ %niter84.next.3, %._crit_edge30.3 ]
  %133 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.4
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.4
  store i32 %137, ptr %138, align 4, !tbaa !5
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %139 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4
  store i32 %143, ptr %144, align 4, !tbaa !5
  %indvars.iv.next.4.1 = add nuw nsw i64 %indvars.iv.4, 2
  %145 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4.1
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4.1
  store i32 %149, ptr %150, align 4, !tbaa !5
  %indvars.iv.next.4.2 = add nuw nsw i64 %indvars.iv.4, 3
  %151 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.next.4.2
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %153
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.4.2
  store i32 %155, ptr %156, align 4, !tbaa !5
  %indvars.iv.next.4.3 = add nuw nsw i64 %indvars.iv.4, 4
  %niter84.next.3 = add i64 %niter84, 4
  %niter84.ncmp.3 = icmp eq i64 %niter84.next.3, %unroll_iter83
  br i1 %niter84.ncmp.3, label %._crit_edge30.4.preheader.unr-lcssa, label %._crit_edge30.3, !llvm.loop !11

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

._crit_edge30.3.epil:                             ; preds = %._crit_edge30.4.preheader.unr-lcssa, %._crit_edge30.3.epil
  %indvars.iv.4.epil = phi i64 [ %indvars.iv.next.4.epil, %._crit_edge30.3.epil ], [ %indvars.iv.4.unr, %._crit_edge30.4.preheader.unr-lcssa ]
  %epil.iter81 = phi i64 [ %epil.iter81.next, %._crit_edge30.3.epil ], [ 0, %._crit_edge30.4.preheader.unr-lcssa ]
  %157 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %indvars.iv.4.epil
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 4, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.4.epil
  store i32 %161, ptr %162, align 4, !tbaa !5
  %indvars.iv.next.4.epil = add nuw nsw i64 %indvars.iv.4.epil, 1
  %epil.iter81.next = add i64 %epil.iter81, 1
  %epil.iter81.cmp.not = icmp eq i64 %epil.iter81.next, %xtraiter80
  br i1 %epil.iter81.cmp.not, label %._crit_edge30.4.preheader, label %._crit_edge30.3.epil, !llvm.loop !16

._crit_edge30.4.preheader:                        ; preds = %._crit_edge30.3.epil, %._crit_edge30.4.preheader.unr-lcssa
  %xtraiter85 = and i64 %18, 3
  %163 = icmp ult i32 %17, 4
  br i1 %163, label %._crit_edge30.5.preheader.unr-lcssa, label %._crit_edge30.4.preheader.new

._crit_edge30.4.preheader.new:                    ; preds = %._crit_edge30.4.preheader
  %unroll_iter88 = and i64 %18, 2147483644
  br label %._crit_edge30.4

._crit_edge30.4:                                  ; preds = %._crit_edge30.4, %._crit_edge30.4.preheader.new
  %indvars.iv.5 = phi i64 [ 1, %._crit_edge30.4.preheader.new ], [ %indvars.iv.next.5.3, %._crit_edge30.4 ]
  %niter89 = phi i64 [ 0, %._crit_edge30.4.preheader.new ], [ %niter89.next.3, %._crit_edge30.4 ]
  %164 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.5
  %165 = load i32, ptr %164, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %166
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.5
  store i32 %168, ptr %169, align 4, !tbaa !5
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %170 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %172
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5
  store i32 %174, ptr %175, align 4, !tbaa !5
  %indvars.iv.next.5.1 = add nuw nsw i64 %indvars.iv.5, 2
  %176 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5.1
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %178
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5.1
  store i32 %180, ptr %181, align 4, !tbaa !5
  %indvars.iv.next.5.2 = add nuw nsw i64 %indvars.iv.5, 3
  %182 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.next.5.2
  %183 = load i32, ptr %182, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %184
  %186 = load i32, ptr %185, align 4, !tbaa !5
  %187 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.5.2
  store i32 %186, ptr %187, align 4, !tbaa !5
  %indvars.iv.next.5.3 = add nuw nsw i64 %indvars.iv.5, 4
  %niter89.next.3 = add i64 %niter89, 4
  %niter89.ncmp.3 = icmp eq i64 %niter89.next.3, %unroll_iter88
  br i1 %niter89.ncmp.3, label %._crit_edge30.5.preheader.unr-lcssa, label %._crit_edge30.4, !llvm.loop !11

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

._crit_edge30.4.epil:                             ; preds = %._crit_edge30.5.preheader.unr-lcssa, %._crit_edge30.4.epil
  %indvars.iv.5.epil = phi i64 [ %indvars.iv.next.5.epil, %._crit_edge30.4.epil ], [ %indvars.iv.5.unr, %._crit_edge30.5.preheader.unr-lcssa ]
  %epil.iter86 = phi i64 [ %epil.iter86.next, %._crit_edge30.4.epil ], [ 0, %._crit_edge30.5.preheader.unr-lcssa ]
  %188 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %indvars.iv.5.epil
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 5, i64 %190
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.5.epil
  store i32 %192, ptr %193, align 4, !tbaa !5
  %indvars.iv.next.5.epil = add nuw nsw i64 %indvars.iv.5.epil, 1
  %epil.iter86.next = add i64 %epil.iter86, 1
  %epil.iter86.cmp.not = icmp eq i64 %epil.iter86.next, %xtraiter85
  br i1 %epil.iter86.cmp.not, label %._crit_edge30.5.preheader, label %._crit_edge30.4.epil, !llvm.loop !17

._crit_edge30.5.preheader:                        ; preds = %._crit_edge30.4.epil, %._crit_edge30.5.preheader.unr-lcssa
  %xtraiter90 = and i64 %18, 3
  %194 = icmp ult i32 %17, 4
  br i1 %194, label %._crit_edge30.6.preheader.unr-lcssa, label %._crit_edge30.5.preheader.new

._crit_edge30.5.preheader.new:                    ; preds = %._crit_edge30.5.preheader
  %unroll_iter93 = and i64 %18, 2147483644
  br label %._crit_edge30.5

._crit_edge30.5:                                  ; preds = %._crit_edge30.5, %._crit_edge30.5.preheader.new
  %indvars.iv.6 = phi i64 [ 1, %._crit_edge30.5.preheader.new ], [ %indvars.iv.next.6.3, %._crit_edge30.5 ]
  %niter94 = phi i64 [ 0, %._crit_edge30.5.preheader.new ], [ %niter94.next.3, %._crit_edge30.5 ]
  %195 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.6
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %197
  %199 = load i32, ptr %198, align 4, !tbaa !5
  %200 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.6
  store i32 %199, ptr %200, align 4, !tbaa !5
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %201 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %203
  %205 = load i32, ptr %204, align 4, !tbaa !5
  %206 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6
  store i32 %205, ptr %206, align 4, !tbaa !5
  %indvars.iv.next.6.1 = add nuw nsw i64 %indvars.iv.6, 2
  %207 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6.1
  %208 = load i32, ptr %207, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %209
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6.1
  store i32 %211, ptr %212, align 4, !tbaa !5
  %indvars.iv.next.6.2 = add nuw nsw i64 %indvars.iv.6, 3
  %213 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.next.6.2
  %214 = load i32, ptr %213, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %215
  %217 = load i32, ptr %216, align 4, !tbaa !5
  %218 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.6.2
  store i32 %217, ptr %218, align 4, !tbaa !5
  %indvars.iv.next.6.3 = add nuw nsw i64 %indvars.iv.6, 4
  %niter94.next.3 = add i64 %niter94, 4
  %niter94.ncmp.3 = icmp eq i64 %niter94.next.3, %unroll_iter93
  br i1 %niter94.ncmp.3, label %._crit_edge30.6.preheader.unr-lcssa, label %._crit_edge30.5, !llvm.loop !11

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

._crit_edge30.5.epil:                             ; preds = %._crit_edge30.6.preheader.unr-lcssa, %._crit_edge30.5.epil
  %indvars.iv.6.epil = phi i64 [ %indvars.iv.next.6.epil, %._crit_edge30.5.epil ], [ %indvars.iv.6.unr, %._crit_edge30.6.preheader.unr-lcssa ]
  %epil.iter91 = phi i64 [ %epil.iter91.next, %._crit_edge30.5.epil ], [ 0, %._crit_edge30.6.preheader.unr-lcssa ]
  %219 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %indvars.iv.6.epil
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 6, i64 %221
  %223 = load i32, ptr %222, align 4, !tbaa !5
  %224 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.6.epil
  store i32 %223, ptr %224, align 4, !tbaa !5
  %indvars.iv.next.6.epil = add nuw nsw i64 %indvars.iv.6.epil, 1
  %epil.iter91.next = add i64 %epil.iter91, 1
  %epil.iter91.cmp.not = icmp eq i64 %epil.iter91.next, %xtraiter90
  br i1 %epil.iter91.cmp.not, label %._crit_edge30.6.preheader, label %._crit_edge30.5.epil, !llvm.loop !18

._crit_edge30.6.preheader:                        ; preds = %._crit_edge30.5.epil, %._crit_edge30.6.preheader.unr-lcssa
  %xtraiter95 = and i64 %18, 3
  %225 = icmp ult i32 %17, 4
  br i1 %225, label %._crit_edge30.7.preheader.unr-lcssa, label %._crit_edge30.6.preheader.new

._crit_edge30.6.preheader.new:                    ; preds = %._crit_edge30.6.preheader
  %unroll_iter98 = and i64 %18, 2147483644
  br label %._crit_edge30.6

._crit_edge30.6:                                  ; preds = %._crit_edge30.6, %._crit_edge30.6.preheader.new
  %indvars.iv.7 = phi i64 [ 1, %._crit_edge30.6.preheader.new ], [ %indvars.iv.next.7.3, %._crit_edge30.6 ]
  %niter99 = phi i64 [ 0, %._crit_edge30.6.preheader.new ], [ %niter99.next.3, %._crit_edge30.6 ]
  %226 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.7
  %227 = load i32, ptr %226, align 4, !tbaa !5
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %228
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %231 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.7
  store i32 %230, ptr %231, align 4, !tbaa !5
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %232 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7
  %233 = load i32, ptr %232, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %234
  %236 = load i32, ptr %235, align 4, !tbaa !5
  %237 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7
  store i32 %236, ptr %237, align 4, !tbaa !5
  %indvars.iv.next.7.1 = add nuw nsw i64 %indvars.iv.7, 2
  %238 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7.1
  %239 = load i32, ptr %238, align 4, !tbaa !5
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %240
  %242 = load i32, ptr %241, align 4, !tbaa !5
  %243 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7.1
  store i32 %242, ptr %243, align 4, !tbaa !5
  %indvars.iv.next.7.2 = add nuw nsw i64 %indvars.iv.7, 3
  %244 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.next.7.2
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %246
  %248 = load i32, ptr %247, align 4, !tbaa !5
  %249 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.7.2
  store i32 %248, ptr %249, align 4, !tbaa !5
  %indvars.iv.next.7.3 = add nuw nsw i64 %indvars.iv.7, 4
  %niter99.next.3 = add i64 %niter99, 4
  %niter99.ncmp.3 = icmp eq i64 %niter99.next.3, %unroll_iter98
  br i1 %niter99.ncmp.3, label %._crit_edge30.7.preheader.unr-lcssa, label %._crit_edge30.6, !llvm.loop !11

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

._crit_edge30.6.epil:                             ; preds = %._crit_edge30.7.preheader.unr-lcssa, %._crit_edge30.6.epil
  %indvars.iv.7.epil = phi i64 [ %indvars.iv.next.7.epil, %._crit_edge30.6.epil ], [ %indvars.iv.7.unr, %._crit_edge30.7.preheader.unr-lcssa ]
  %epil.iter96 = phi i64 [ %epil.iter96.next, %._crit_edge30.6.epil ], [ 0, %._crit_edge30.7.preheader.unr-lcssa ]
  %250 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %indvars.iv.7.epil
  %251 = load i32, ptr %250, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 7, i64 %252
  %254 = load i32, ptr %253, align 4, !tbaa !5
  %255 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.7.epil
  store i32 %254, ptr %255, align 4, !tbaa !5
  %indvars.iv.next.7.epil = add nuw nsw i64 %indvars.iv.7.epil, 1
  %epil.iter96.next = add i64 %epil.iter96, 1
  %epil.iter96.cmp.not = icmp eq i64 %epil.iter96.next, %xtraiter95
  br i1 %epil.iter96.cmp.not, label %._crit_edge30.7.preheader, label %._crit_edge30.6.epil, !llvm.loop !19

._crit_edge30.7.preheader:                        ; preds = %._crit_edge30.6.epil, %._crit_edge30.7.preheader.unr-lcssa
  %xtraiter100 = and i64 %18, 3
  %256 = icmp ult i32 %17, 4
  br i1 %256, label %._crit_edge30.8.preheader.unr-lcssa, label %._crit_edge30.7.preheader.new

._crit_edge30.7.preheader.new:                    ; preds = %._crit_edge30.7.preheader
  %unroll_iter103 = and i64 %18, 2147483644
  br label %._crit_edge30.7

._crit_edge30.7:                                  ; preds = %._crit_edge30.7, %._crit_edge30.7.preheader.new
  %indvars.iv.8 = phi i64 [ 1, %._crit_edge30.7.preheader.new ], [ %indvars.iv.next.8.3, %._crit_edge30.7 ]
  %niter104 = phi i64 [ 0, %._crit_edge30.7.preheader.new ], [ %niter104.next.3, %._crit_edge30.7 ]
  %257 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.8
  %258 = load i32, ptr %257, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %259
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %262 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.8
  store i32 %261, ptr %262, align 4, !tbaa !5
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  %263 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %265
  %267 = load i32, ptr %266, align 4, !tbaa !5
  %268 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8
  store i32 %267, ptr %268, align 4, !tbaa !5
  %indvars.iv.next.8.1 = add nuw nsw i64 %indvars.iv.8, 2
  %269 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8.1
  %270 = load i32, ptr %269, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %271
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8.1
  store i32 %273, ptr %274, align 4, !tbaa !5
  %indvars.iv.next.8.2 = add nuw nsw i64 %indvars.iv.8, 3
  %275 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.next.8.2
  %276 = load i32, ptr %275, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %277
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.8.2
  store i32 %279, ptr %280, align 4, !tbaa !5
  %indvars.iv.next.8.3 = add nuw nsw i64 %indvars.iv.8, 4
  %niter104.next.3 = add i64 %niter104, 4
  %niter104.ncmp.3 = icmp eq i64 %niter104.next.3, %unroll_iter103
  br i1 %niter104.ncmp.3, label %._crit_edge30.8.preheader.unr-lcssa, label %._crit_edge30.7, !llvm.loop !11

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

._crit_edge30.7.epil:                             ; preds = %._crit_edge30.8.preheader.unr-lcssa, %._crit_edge30.7.epil
  %indvars.iv.8.epil = phi i64 [ %indvars.iv.next.8.epil, %._crit_edge30.7.epil ], [ %indvars.iv.8.unr, %._crit_edge30.8.preheader.unr-lcssa ]
  %epil.iter101 = phi i64 [ %epil.iter101.next, %._crit_edge30.7.epil ], [ 0, %._crit_edge30.8.preheader.unr-lcssa ]
  %281 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %indvars.iv.8.epil
  %282 = load i32, ptr %281, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 8, i64 %283
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.8.epil
  store i32 %285, ptr %286, align 4, !tbaa !5
  %indvars.iv.next.8.epil = add nuw nsw i64 %indvars.iv.8.epil, 1
  %epil.iter101.next = add i64 %epil.iter101, 1
  %epil.iter101.cmp.not = icmp eq i64 %epil.iter101.next, %xtraiter100
  br i1 %epil.iter101.cmp.not, label %._crit_edge30.8.preheader, label %._crit_edge30.7.epil, !llvm.loop !20

._crit_edge30.8.preheader:                        ; preds = %._crit_edge30.7.epil, %._crit_edge30.8.preheader.unr-lcssa
  %xtraiter105 = and i64 %18, 3
  %287 = icmp ult i32 %17, 4
  br i1 %287, label %._crit_edge30.9.preheader.unr-lcssa, label %._crit_edge30.8.preheader.new

._crit_edge30.8.preheader.new:                    ; preds = %._crit_edge30.8.preheader
  %unroll_iter108 = and i64 %18, 2147483644
  br label %._crit_edge30.8

._crit_edge30.8:                                  ; preds = %._crit_edge30.8, %._crit_edge30.8.preheader.new
  %indvars.iv.9 = phi i64 [ 1, %._crit_edge30.8.preheader.new ], [ %indvars.iv.next.9.3, %._crit_edge30.8 ]
  %niter109 = phi i64 [ 0, %._crit_edge30.8.preheader.new ], [ %niter109.next.3, %._crit_edge30.8 ]
  %288 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.9
  %289 = load i32, ptr %288, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %290
  %292 = load i32, ptr %291, align 4, !tbaa !5
  %293 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.9
  store i32 %292, ptr %293, align 4, !tbaa !5
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  %294 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %296
  %298 = load i32, ptr %297, align 4, !tbaa !5
  %299 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9
  store i32 %298, ptr %299, align 4, !tbaa !5
  %indvars.iv.next.9.1 = add nuw nsw i64 %indvars.iv.9, 2
  %300 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9.1
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %302
  %304 = load i32, ptr %303, align 4, !tbaa !5
  %305 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9.1
  store i32 %304, ptr %305, align 4, !tbaa !5
  %indvars.iv.next.9.2 = add nuw nsw i64 %indvars.iv.9, 3
  %306 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.next.9.2
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %308
  %310 = load i32, ptr %309, align 4, !tbaa !5
  %311 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.9.2
  store i32 %310, ptr %311, align 4, !tbaa !5
  %indvars.iv.next.9.3 = add nuw nsw i64 %indvars.iv.9, 4
  %niter109.next.3 = add i64 %niter109, 4
  %niter109.ncmp.3 = icmp eq i64 %niter109.next.3, %unroll_iter108
  br i1 %niter109.ncmp.3, label %._crit_edge30.9.preheader.unr-lcssa, label %._crit_edge30.8, !llvm.loop !11

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

._crit_edge30.8.epil:                             ; preds = %._crit_edge30.9.preheader.unr-lcssa, %._crit_edge30.8.epil
  %indvars.iv.9.epil = phi i64 [ %indvars.iv.next.9.epil, %._crit_edge30.8.epil ], [ %indvars.iv.9.unr, %._crit_edge30.9.preheader.unr-lcssa ]
  %epil.iter106 = phi i64 [ %epil.iter106.next, %._crit_edge30.8.epil ], [ 0, %._crit_edge30.9.preheader.unr-lcssa ]
  %312 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %indvars.iv.9.epil
  %313 = load i32, ptr %312, align 4, !tbaa !5
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 9, i64 %314
  %316 = load i32, ptr %315, align 4, !tbaa !5
  %317 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.9.epil
  store i32 %316, ptr %317, align 4, !tbaa !5
  %indvars.iv.next.9.epil = add nuw nsw i64 %indvars.iv.9.epil, 1
  %epil.iter106.next = add i64 %epil.iter106, 1
  %epil.iter106.cmp.not = icmp eq i64 %epil.iter106.next, %xtraiter105
  br i1 %epil.iter106.cmp.not, label %._crit_edge30.9.preheader, label %._crit_edge30.8.epil, !llvm.loop !21

._crit_edge30.9.preheader:                        ; preds = %._crit_edge30.8.epil, %._crit_edge30.9.preheader.unr-lcssa
  %xtraiter110 = and i64 %18, 3
  %318 = icmp ult i32 %17, 4
  br i1 %318, label %._crit_edge30.10.preheader.unr-lcssa, label %._crit_edge30.9.preheader.new

._crit_edge30.9.preheader.new:                    ; preds = %._crit_edge30.9.preheader
  %unroll_iter113 = and i64 %18, 2147483644
  br label %._crit_edge30.9

._crit_edge30.9:                                  ; preds = %._crit_edge30.9, %._crit_edge30.9.preheader.new
  %indvars.iv.10 = phi i64 [ 1, %._crit_edge30.9.preheader.new ], [ %indvars.iv.next.10.3, %._crit_edge30.9 ]
  %niter114 = phi i64 [ 0, %._crit_edge30.9.preheader.new ], [ %niter114.next.3, %._crit_edge30.9 ]
  %319 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.10
  %320 = load i32, ptr %319, align 4, !tbaa !5
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %321
  %323 = load i32, ptr %322, align 4, !tbaa !5
  %324 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.10
  store i32 %323, ptr %324, align 4, !tbaa !5
  %indvars.iv.next.10 = add nuw nsw i64 %indvars.iv.10, 1
  %325 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10
  %326 = load i32, ptr %325, align 4, !tbaa !5
  %327 = sext i32 %326 to i64
  %328 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %327
  %329 = load i32, ptr %328, align 4, !tbaa !5
  %330 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10
  store i32 %329, ptr %330, align 4, !tbaa !5
  %indvars.iv.next.10.1 = add nuw nsw i64 %indvars.iv.10, 2
  %331 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10.1
  %332 = load i32, ptr %331, align 4, !tbaa !5
  %333 = sext i32 %332 to i64
  %334 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %333
  %335 = load i32, ptr %334, align 4, !tbaa !5
  %336 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10.1
  store i32 %335, ptr %336, align 4, !tbaa !5
  %indvars.iv.next.10.2 = add nuw nsw i64 %indvars.iv.10, 3
  %337 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.next.10.2
  %338 = load i32, ptr %337, align 4, !tbaa !5
  %339 = sext i32 %338 to i64
  %340 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %339
  %341 = load i32, ptr %340, align 4, !tbaa !5
  %342 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.10.2
  store i32 %341, ptr %342, align 4, !tbaa !5
  %indvars.iv.next.10.3 = add nuw nsw i64 %indvars.iv.10, 4
  %niter114.next.3 = add i64 %niter114, 4
  %niter114.ncmp.3 = icmp eq i64 %niter114.next.3, %unroll_iter113
  br i1 %niter114.ncmp.3, label %._crit_edge30.10.preheader.unr-lcssa, label %._crit_edge30.9, !llvm.loop !11

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

._crit_edge30.9.epil:                             ; preds = %._crit_edge30.10.preheader.unr-lcssa, %._crit_edge30.9.epil
  %indvars.iv.10.epil = phi i64 [ %indvars.iv.next.10.epil, %._crit_edge30.9.epil ], [ %indvars.iv.10.unr, %._crit_edge30.10.preheader.unr-lcssa ]
  %epil.iter111 = phi i64 [ %epil.iter111.next, %._crit_edge30.9.epil ], [ 0, %._crit_edge30.10.preheader.unr-lcssa ]
  %343 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %indvars.iv.10.epil
  %344 = load i32, ptr %343, align 4, !tbaa !5
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 10, i64 %345
  %347 = load i32, ptr %346, align 4, !tbaa !5
  %348 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.10.epil
  store i32 %347, ptr %348, align 4, !tbaa !5
  %indvars.iv.next.10.epil = add nuw nsw i64 %indvars.iv.10.epil, 1
  %epil.iter111.next = add i64 %epil.iter111, 1
  %epil.iter111.cmp.not = icmp eq i64 %epil.iter111.next, %xtraiter110
  br i1 %epil.iter111.cmp.not, label %._crit_edge30.10.preheader, label %._crit_edge30.9.epil, !llvm.loop !22

._crit_edge30.10.preheader:                       ; preds = %._crit_edge30.9.epil, %._crit_edge30.10.preheader.unr-lcssa
  %xtraiter115 = and i64 %18, 3
  %349 = icmp ult i32 %17, 4
  br i1 %349, label %._crit_edge30.11.preheader.unr-lcssa, label %._crit_edge30.10.preheader.new

._crit_edge30.10.preheader.new:                   ; preds = %._crit_edge30.10.preheader
  %unroll_iter118 = and i64 %18, 2147483644
  br label %._crit_edge30.10

._crit_edge30.10:                                 ; preds = %._crit_edge30.10, %._crit_edge30.10.preheader.new
  %indvars.iv.11 = phi i64 [ 1, %._crit_edge30.10.preheader.new ], [ %indvars.iv.next.11.3, %._crit_edge30.10 ]
  %niter119 = phi i64 [ 0, %._crit_edge30.10.preheader.new ], [ %niter119.next.3, %._crit_edge30.10 ]
  %350 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.11
  %351 = load i32, ptr %350, align 4, !tbaa !5
  %352 = sext i32 %351 to i64
  %353 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %352
  %354 = load i32, ptr %353, align 4, !tbaa !5
  %355 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.11
  store i32 %354, ptr %355, align 4, !tbaa !5
  %indvars.iv.next.11 = add nuw nsw i64 %indvars.iv.11, 1
  %356 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11
  %357 = load i32, ptr %356, align 4, !tbaa !5
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %358
  %360 = load i32, ptr %359, align 4, !tbaa !5
  %361 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11
  store i32 %360, ptr %361, align 4, !tbaa !5
  %indvars.iv.next.11.1 = add nuw nsw i64 %indvars.iv.11, 2
  %362 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11.1
  %363 = load i32, ptr %362, align 4, !tbaa !5
  %364 = sext i32 %363 to i64
  %365 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %364
  %366 = load i32, ptr %365, align 4, !tbaa !5
  %367 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11.1
  store i32 %366, ptr %367, align 4, !tbaa !5
  %indvars.iv.next.11.2 = add nuw nsw i64 %indvars.iv.11, 3
  %368 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.next.11.2
  %369 = load i32, ptr %368, align 4, !tbaa !5
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %370
  %372 = load i32, ptr %371, align 4, !tbaa !5
  %373 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.11.2
  store i32 %372, ptr %373, align 4, !tbaa !5
  %indvars.iv.next.11.3 = add nuw nsw i64 %indvars.iv.11, 4
  %niter119.next.3 = add i64 %niter119, 4
  %niter119.ncmp.3 = icmp eq i64 %niter119.next.3, %unroll_iter118
  br i1 %niter119.ncmp.3, label %._crit_edge30.11.preheader.unr-lcssa, label %._crit_edge30.10, !llvm.loop !11

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

._crit_edge30.10.epil:                            ; preds = %._crit_edge30.11.preheader.unr-lcssa, %._crit_edge30.10.epil
  %indvars.iv.11.epil = phi i64 [ %indvars.iv.next.11.epil, %._crit_edge30.10.epil ], [ %indvars.iv.11.unr, %._crit_edge30.11.preheader.unr-lcssa ]
  %epil.iter116 = phi i64 [ %epil.iter116.next, %._crit_edge30.10.epil ], [ 0, %._crit_edge30.11.preheader.unr-lcssa ]
  %374 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %indvars.iv.11.epil
  %375 = load i32, ptr %374, align 4, !tbaa !5
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 11, i64 %376
  %378 = load i32, ptr %377, align 4, !tbaa !5
  %379 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.11.epil
  store i32 %378, ptr %379, align 4, !tbaa !5
  %indvars.iv.next.11.epil = add nuw nsw i64 %indvars.iv.11.epil, 1
  %epil.iter116.next = add i64 %epil.iter116, 1
  %epil.iter116.cmp.not = icmp eq i64 %epil.iter116.next, %xtraiter115
  br i1 %epil.iter116.cmp.not, label %._crit_edge30.11.preheader, label %._crit_edge30.10.epil, !llvm.loop !23

._crit_edge30.11.preheader:                       ; preds = %._crit_edge30.10.epil, %._crit_edge30.11.preheader.unr-lcssa
  %xtraiter120 = and i64 %18, 3
  %380 = icmp ult i32 %17, 4
  br i1 %380, label %._crit_edge30.12.preheader.unr-lcssa, label %._crit_edge30.11.preheader.new

._crit_edge30.11.preheader.new:                   ; preds = %._crit_edge30.11.preheader
  %unroll_iter123 = and i64 %18, 2147483644
  br label %._crit_edge30.11

._crit_edge30.11:                                 ; preds = %._crit_edge30.11, %._crit_edge30.11.preheader.new
  %indvars.iv.12 = phi i64 [ 1, %._crit_edge30.11.preheader.new ], [ %indvars.iv.next.12.3, %._crit_edge30.11 ]
  %niter124 = phi i64 [ 0, %._crit_edge30.11.preheader.new ], [ %niter124.next.3, %._crit_edge30.11 ]
  %381 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.12
  %382 = load i32, ptr %381, align 4, !tbaa !5
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %383
  %385 = load i32, ptr %384, align 4, !tbaa !5
  %386 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.12
  store i32 %385, ptr %386, align 4, !tbaa !5
  %indvars.iv.next.12 = add nuw nsw i64 %indvars.iv.12, 1
  %387 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12
  %388 = load i32, ptr %387, align 4, !tbaa !5
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %389
  %391 = load i32, ptr %390, align 4, !tbaa !5
  %392 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12
  store i32 %391, ptr %392, align 4, !tbaa !5
  %indvars.iv.next.12.1 = add nuw nsw i64 %indvars.iv.12, 2
  %393 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12.1
  %394 = load i32, ptr %393, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %395
  %397 = load i32, ptr %396, align 4, !tbaa !5
  %398 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12.1
  store i32 %397, ptr %398, align 4, !tbaa !5
  %indvars.iv.next.12.2 = add nuw nsw i64 %indvars.iv.12, 3
  %399 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.next.12.2
  %400 = load i32, ptr %399, align 4, !tbaa !5
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %401
  %403 = load i32, ptr %402, align 4, !tbaa !5
  %404 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.12.2
  store i32 %403, ptr %404, align 4, !tbaa !5
  %indvars.iv.next.12.3 = add nuw nsw i64 %indvars.iv.12, 4
  %niter124.next.3 = add i64 %niter124, 4
  %niter124.ncmp.3 = icmp eq i64 %niter124.next.3, %unroll_iter123
  br i1 %niter124.ncmp.3, label %._crit_edge30.12.preheader.unr-lcssa, label %._crit_edge30.11, !llvm.loop !11

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

._crit_edge30.11.epil:                            ; preds = %._crit_edge30.12.preheader.unr-lcssa, %._crit_edge30.11.epil
  %indvars.iv.12.epil = phi i64 [ %indvars.iv.next.12.epil, %._crit_edge30.11.epil ], [ %indvars.iv.12.unr, %._crit_edge30.12.preheader.unr-lcssa ]
  %epil.iter121 = phi i64 [ %epil.iter121.next, %._crit_edge30.11.epil ], [ 0, %._crit_edge30.12.preheader.unr-lcssa ]
  %405 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %indvars.iv.12.epil
  %406 = load i32, ptr %405, align 4, !tbaa !5
  %407 = sext i32 %406 to i64
  %408 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 12, i64 %407
  %409 = load i32, ptr %408, align 4, !tbaa !5
  %410 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.12.epil
  store i32 %409, ptr %410, align 4, !tbaa !5
  %indvars.iv.next.12.epil = add nuw nsw i64 %indvars.iv.12.epil, 1
  %epil.iter121.next = add i64 %epil.iter121, 1
  %epil.iter121.cmp.not = icmp eq i64 %epil.iter121.next, %xtraiter120
  br i1 %epil.iter121.cmp.not, label %._crit_edge30.12.preheader, label %._crit_edge30.11.epil, !llvm.loop !24

._crit_edge30.12.preheader:                       ; preds = %._crit_edge30.11.epil, %._crit_edge30.12.preheader.unr-lcssa
  %xtraiter125 = and i64 %18, 3
  %411 = icmp ult i32 %17, 4
  br i1 %411, label %._crit_edge30.13.preheader.unr-lcssa, label %._crit_edge30.12.preheader.new

._crit_edge30.12.preheader.new:                   ; preds = %._crit_edge30.12.preheader
  %unroll_iter128 = and i64 %18, 2147483644
  br label %._crit_edge30.12

._crit_edge30.12:                                 ; preds = %._crit_edge30.12, %._crit_edge30.12.preheader.new
  %indvars.iv.13 = phi i64 [ 1, %._crit_edge30.12.preheader.new ], [ %indvars.iv.next.13.3, %._crit_edge30.12 ]
  %niter129 = phi i64 [ 0, %._crit_edge30.12.preheader.new ], [ %niter129.next.3, %._crit_edge30.12 ]
  %412 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.13
  %413 = load i32, ptr %412, align 4, !tbaa !5
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %414
  %416 = load i32, ptr %415, align 4, !tbaa !5
  %417 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.13
  store i32 %416, ptr %417, align 4, !tbaa !5
  %indvars.iv.next.13 = add nuw nsw i64 %indvars.iv.13, 1
  %418 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13
  %419 = load i32, ptr %418, align 4, !tbaa !5
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %420
  %422 = load i32, ptr %421, align 4, !tbaa !5
  %423 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13
  store i32 %422, ptr %423, align 4, !tbaa !5
  %indvars.iv.next.13.1 = add nuw nsw i64 %indvars.iv.13, 2
  %424 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13.1
  %425 = load i32, ptr %424, align 4, !tbaa !5
  %426 = sext i32 %425 to i64
  %427 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %426
  %428 = load i32, ptr %427, align 4, !tbaa !5
  %429 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13.1
  store i32 %428, ptr %429, align 4, !tbaa !5
  %indvars.iv.next.13.2 = add nuw nsw i64 %indvars.iv.13, 3
  %430 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.next.13.2
  %431 = load i32, ptr %430, align 4, !tbaa !5
  %432 = sext i32 %431 to i64
  %433 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %432
  %434 = load i32, ptr %433, align 4, !tbaa !5
  %435 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.13.2
  store i32 %434, ptr %435, align 4, !tbaa !5
  %indvars.iv.next.13.3 = add nuw nsw i64 %indvars.iv.13, 4
  %niter129.next.3 = add i64 %niter129, 4
  %niter129.ncmp.3 = icmp eq i64 %niter129.next.3, %unroll_iter128
  br i1 %niter129.ncmp.3, label %._crit_edge30.13.preheader.unr-lcssa, label %._crit_edge30.12, !llvm.loop !11

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

._crit_edge30.12.epil:                            ; preds = %._crit_edge30.13.preheader.unr-lcssa, %._crit_edge30.12.epil
  %indvars.iv.13.epil = phi i64 [ %indvars.iv.next.13.epil, %._crit_edge30.12.epil ], [ %indvars.iv.13.unr, %._crit_edge30.13.preheader.unr-lcssa ]
  %epil.iter126 = phi i64 [ %epil.iter126.next, %._crit_edge30.12.epil ], [ 0, %._crit_edge30.13.preheader.unr-lcssa ]
  %436 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %indvars.iv.13.epil
  %437 = load i32, ptr %436, align 4, !tbaa !5
  %438 = sext i32 %437 to i64
  %439 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 13, i64 %438
  %440 = load i32, ptr %439, align 4, !tbaa !5
  %441 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.13.epil
  store i32 %440, ptr %441, align 4, !tbaa !5
  %indvars.iv.next.13.epil = add nuw nsw i64 %indvars.iv.13.epil, 1
  %epil.iter126.next = add i64 %epil.iter126, 1
  %epil.iter126.cmp.not = icmp eq i64 %epil.iter126.next, %xtraiter125
  br i1 %epil.iter126.cmp.not, label %._crit_edge30.13.preheader, label %._crit_edge30.12.epil, !llvm.loop !25

._crit_edge30.13.preheader:                       ; preds = %._crit_edge30.12.epil, %._crit_edge30.13.preheader.unr-lcssa
  %xtraiter130 = and i64 %18, 3
  %442 = icmp ult i32 %17, 4
  br i1 %442, label %._crit_edge30.14.preheader.unr-lcssa, label %._crit_edge30.13.preheader.new

._crit_edge30.13.preheader.new:                   ; preds = %._crit_edge30.13.preheader
  %unroll_iter133 = and i64 %18, 2147483644
  br label %._crit_edge30.13

._crit_edge30.13:                                 ; preds = %._crit_edge30.13, %._crit_edge30.13.preheader.new
  %indvars.iv.14 = phi i64 [ 1, %._crit_edge30.13.preheader.new ], [ %indvars.iv.next.14.3, %._crit_edge30.13 ]
  %niter134 = phi i64 [ 0, %._crit_edge30.13.preheader.new ], [ %niter134.next.3, %._crit_edge30.13 ]
  %443 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.14
  %444 = load i32, ptr %443, align 4, !tbaa !5
  %445 = sext i32 %444 to i64
  %446 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %445
  %447 = load i32, ptr %446, align 4, !tbaa !5
  %448 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.14
  store i32 %447, ptr %448, align 4, !tbaa !5
  %indvars.iv.next.14 = add nuw nsw i64 %indvars.iv.14, 1
  %449 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14
  %450 = load i32, ptr %449, align 4, !tbaa !5
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %451
  %453 = load i32, ptr %452, align 4, !tbaa !5
  %454 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14
  store i32 %453, ptr %454, align 4, !tbaa !5
  %indvars.iv.next.14.1 = add nuw nsw i64 %indvars.iv.14, 2
  %455 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14.1
  %456 = load i32, ptr %455, align 4, !tbaa !5
  %457 = sext i32 %456 to i64
  %458 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %457
  %459 = load i32, ptr %458, align 4, !tbaa !5
  %460 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14.1
  store i32 %459, ptr %460, align 4, !tbaa !5
  %indvars.iv.next.14.2 = add nuw nsw i64 %indvars.iv.14, 3
  %461 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.next.14.2
  %462 = load i32, ptr %461, align 4, !tbaa !5
  %463 = sext i32 %462 to i64
  %464 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %463
  %465 = load i32, ptr %464, align 4, !tbaa !5
  %466 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.14.2
  store i32 %465, ptr %466, align 4, !tbaa !5
  %indvars.iv.next.14.3 = add nuw nsw i64 %indvars.iv.14, 4
  %niter134.next.3 = add i64 %niter134, 4
  %niter134.ncmp.3 = icmp eq i64 %niter134.next.3, %unroll_iter133
  br i1 %niter134.ncmp.3, label %._crit_edge30.14.preheader.unr-lcssa, label %._crit_edge30.13, !llvm.loop !11

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

._crit_edge30.13.epil:                            ; preds = %._crit_edge30.14.preheader.unr-lcssa, %._crit_edge30.13.epil
  %indvars.iv.14.epil = phi i64 [ %indvars.iv.next.14.epil, %._crit_edge30.13.epil ], [ %indvars.iv.14.unr, %._crit_edge30.14.preheader.unr-lcssa ]
  %epil.iter131 = phi i64 [ %epil.iter131.next, %._crit_edge30.13.epil ], [ 0, %._crit_edge30.14.preheader.unr-lcssa ]
  %467 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %indvars.iv.14.epil
  %468 = load i32, ptr %467, align 4, !tbaa !5
  %469 = sext i32 %468 to i64
  %470 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 14, i64 %469
  %471 = load i32, ptr %470, align 4, !tbaa !5
  %472 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.14.epil
  store i32 %471, ptr %472, align 4, !tbaa !5
  %indvars.iv.next.14.epil = add nuw nsw i64 %indvars.iv.14.epil, 1
  %epil.iter131.next = add i64 %epil.iter131, 1
  %epil.iter131.cmp.not = icmp eq i64 %epil.iter131.next, %xtraiter130
  br i1 %epil.iter131.cmp.not, label %._crit_edge30.14.preheader, label %._crit_edge30.13.epil, !llvm.loop !26

._crit_edge30.14.preheader:                       ; preds = %._crit_edge30.13.epil, %._crit_edge30.14.preheader.unr-lcssa
  %xtraiter135 = and i64 %18, 3
  %473 = icmp ult i32 %17, 4
  br i1 %473, label %._crit_edge30.15.preheader.unr-lcssa, label %._crit_edge30.14.preheader.new

._crit_edge30.14.preheader.new:                   ; preds = %._crit_edge30.14.preheader
  %unroll_iter138 = and i64 %18, 2147483644
  br label %._crit_edge30.14

._crit_edge30.14:                                 ; preds = %._crit_edge30.14, %._crit_edge30.14.preheader.new
  %indvars.iv.15 = phi i64 [ 1, %._crit_edge30.14.preheader.new ], [ %indvars.iv.next.15.3, %._crit_edge30.14 ]
  %niter139 = phi i64 [ 0, %._crit_edge30.14.preheader.new ], [ %niter139.next.3, %._crit_edge30.14 ]
  %474 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.15
  %475 = load i32, ptr %474, align 4, !tbaa !5
  %476 = sext i32 %475 to i64
  %477 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %476
  %478 = load i32, ptr %477, align 4, !tbaa !5
  %479 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.15
  store i32 %478, ptr %479, align 4, !tbaa !5
  %indvars.iv.next.15 = add nuw nsw i64 %indvars.iv.15, 1
  %480 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15
  %481 = load i32, ptr %480, align 4, !tbaa !5
  %482 = sext i32 %481 to i64
  %483 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %482
  %484 = load i32, ptr %483, align 4, !tbaa !5
  %485 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15
  store i32 %484, ptr %485, align 4, !tbaa !5
  %indvars.iv.next.15.1 = add nuw nsw i64 %indvars.iv.15, 2
  %486 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15.1
  %487 = load i32, ptr %486, align 4, !tbaa !5
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %488
  %490 = load i32, ptr %489, align 4, !tbaa !5
  %491 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15.1
  store i32 %490, ptr %491, align 4, !tbaa !5
  %indvars.iv.next.15.2 = add nuw nsw i64 %indvars.iv.15, 3
  %492 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.next.15.2
  %493 = load i32, ptr %492, align 4, !tbaa !5
  %494 = sext i32 %493 to i64
  %495 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %494
  %496 = load i32, ptr %495, align 4, !tbaa !5
  %497 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.15.2
  store i32 %496, ptr %497, align 4, !tbaa !5
  %indvars.iv.next.15.3 = add nuw nsw i64 %indvars.iv.15, 4
  %niter139.next.3 = add i64 %niter139, 4
  %niter139.ncmp.3 = icmp eq i64 %niter139.next.3, %unroll_iter138
  br i1 %niter139.ncmp.3, label %._crit_edge30.15.preheader.unr-lcssa, label %._crit_edge30.14, !llvm.loop !11

._crit_edge30.15.preheader.unr-lcssa:             ; preds = %._crit_edge30.14, %._crit_edge30.14.preheader
  %indvars.iv.15.unr = phi i64 [ 1, %._crit_edge30.14.preheader ], [ %indvars.iv.next.15.3, %._crit_edge30.14 ]
  %lcmp.mod137.not = icmp eq i64 %xtraiter135, 0
  br i1 %lcmp.mod137.not, label %._crit_edge30.15.preheader, label %._crit_edge30.14.epil

._crit_edge30.14.epil:                            ; preds = %._crit_edge30.15.preheader.unr-lcssa, %._crit_edge30.14.epil
  %indvars.iv.15.epil = phi i64 [ %indvars.iv.next.15.epil, %._crit_edge30.14.epil ], [ %indvars.iv.15.unr, %._crit_edge30.15.preheader.unr-lcssa ]
  %epil.iter136 = phi i64 [ %epil.iter136.next, %._crit_edge30.14.epil ], [ 0, %._crit_edge30.15.preheader.unr-lcssa ]
  %498 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %indvars.iv.15.epil
  %499 = load i32, ptr %498, align 4, !tbaa !5
  %500 = sext i32 %499 to i64
  %501 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 15, i64 %500
  %502 = load i32, ptr %501, align 4, !tbaa !5
  %503 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.15.epil
  store i32 %502, ptr %503, align 4, !tbaa !5
  %indvars.iv.next.15.epil = add nuw nsw i64 %indvars.iv.15.epil, 1
  %epil.iter136.next = add i64 %epil.iter136, 1
  %epil.iter136.cmp.not = icmp eq i64 %epil.iter136.next, %xtraiter135
  br i1 %epil.iter136.cmp.not, label %._crit_edge30.15.preheader, label %._crit_edge30.14.epil, !llvm.loop !27

._crit_edge30.15.preheader:                       ; preds = %._crit_edge30.14.epil, %._crit_edge30.15.preheader.unr-lcssa
  %xtraiter140 = and i64 %18, 1
  %504 = icmp eq i32 %17, 1
  br i1 %504, label %.split33.us.loopexit.unr-lcssa, label %._crit_edge30.15.preheader.new

._crit_edge30.15.preheader.new:                   ; preds = %._crit_edge30.15.preheader
  %unroll_iter143 = and i64 %18, 2147483646
  br label %._crit_edge30.15

._crit_edge30.15:                                 ; preds = %._crit_edge30.15, %._crit_edge30.15.preheader.new
  %indvars.iv.16 = phi i64 [ 1, %._crit_edge30.15.preheader.new ], [ %indvars.iv.next.16.1, %._crit_edge30.15 ]
  %niter144 = phi i64 [ 0, %._crit_edge30.15.preheader.new ], [ %niter144.next.1, %._crit_edge30.15 ]
  %505 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.16
  %506 = load i32, ptr %505, align 4, !tbaa !5
  %507 = sext i32 %506 to i64
  %508 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %507
  %509 = load i32, ptr %508, align 4, !tbaa !5
  %510 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 17, i64 %indvars.iv.16
  store i32 %509, ptr %510, align 4, !tbaa !5
  %indvars.iv.next.16 = add nuw nsw i64 %indvars.iv.16, 1
  %511 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %indvars.iv.next.16
  %512 = load i32, ptr %511, align 4, !tbaa !5
  %513 = sext i32 %512 to i64
  %514 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 16, i64 %513
  %515 = load i32, ptr %514, align 4, !tbaa !5
  %516 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 17, i64 %indvars.iv.next.16
  store i32 %515, ptr %516, align 4, !tbaa !5
  %indvars.iv.next.16.1 = add nuw nsw i64 %indvars.iv.16, 2
  %niter144.next.1 = add i64 %niter144, 2
  %niter144.ncmp.1 = icmp eq i64 %niter144.next.1, %unroll_iter143
  br i1 %niter144.ncmp.1, label %.split33.us.loopexit.unr-lcssa, label %._crit_edge30.15, !llvm.loop !11

517:                                              ; preds = %517, %.preheader.preheader.new
  %indvars.iv = phi i64 [ 1, %.preheader.preheader.new ], [ %indvars.iv.next.361, %517 ]
  %niter = phi i64 [ 0, %.preheader.preheader.new ], [ %niter.next.3, %517 ]
  %518 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv
  %519 = load i32, ptr %518, align 4, !tbaa !5
  %520 = sext i32 %519 to i64
  %521 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %520
  %522 = load i32, ptr %521, align 4, !tbaa !5
  %523 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv
  store i32 %522, ptr %523, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %524 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next
  %525 = load i32, ptr %524, align 4, !tbaa !5
  %526 = sext i32 %525 to i64
  %527 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %526
  %528 = load i32, ptr %527, align 4, !tbaa !5
  %529 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next
  store i32 %528, ptr %529, align 4, !tbaa !5
  %indvars.iv.next.157 = add nuw nsw i64 %indvars.iv, 2
  %530 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next.157
  %531 = load i32, ptr %530, align 4, !tbaa !5
  %532 = sext i32 %531 to i64
  %533 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %532
  %534 = load i32, ptr %533, align 4, !tbaa !5
  %535 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.157
  store i32 %534, ptr %535, align 4, !tbaa !5
  %indvars.iv.next.259 = add nuw nsw i64 %indvars.iv, 3
  %536 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.next.259
  %537 = load i32, ptr %536, align 4, !tbaa !5
  %538 = sext i32 %537 to i64
  %539 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %538
  %540 = load i32, ptr %539, align 4, !tbaa !5
  %541 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.next.259
  store i32 %540, ptr %541, align 4, !tbaa !5
  %indvars.iv.next.361 = 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_edge30.preheader.unr-lcssa, label %517, !llvm.loop !11

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

.epil.preheader:                                  ; preds = %._crit_edge30.preheader.unr-lcssa, %.epil.preheader
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.epil.preheader ], [ %indvars.iv.unr, %._crit_edge30.preheader.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge30.preheader.unr-lcssa ]
  %542 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %indvars.iv.epil
  %543 = load i32, ptr %542, align 4, !tbaa !5
  %544 = sext i32 %543 to i64
  %545 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 0, i64 %544
  %546 = load i32, ptr %545, align 4, !tbaa !5
  %547 = getelementptr inbounds [18 x [262144 x i32]], ptr @p, i64 0, i64 1, i64 %indvars.iv.epil
  store i32 %546, ptr %547, 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_edge30.preheader, label %.epil.preheader, !llvm.loop !28

._crit_edge30.preheader:                          ; preds = %.epil.preheader, %._crit_edge30.preheader.unr-lcssa
  %xtraiter62 = and i64 %18, 3
  %548 = icmp ult i32 %17, 4
  br i1 %548, label %._crit_edge30.1.preheader.unr-lcssa, label %._crit_edge30.preheader.new

._crit_edge30.preheader.new:                      ; preds = %._crit_edge30.preheader
  %unroll_iter65 = and i64 %18, 2147483644
  br label %._crit_edge30

._crit_edge37:                                    ; preds = %573, %.split33.us
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @_Z4dfs2iix(i32 noundef 1, i32 noundef 1, i64 noundef 0)
  %549 = load i32, ptr @n, align 4, !tbaa !5
  %.not2338 = icmp slt i32 %549, 1
  br i1 %.not2338, label %._crit_edge42, label %.lr.ph41

.lr.ph36:                                         ; preds = %.split33.us, %573
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %550 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11)
  %551 = load i32, ptr %11, align 4, !tbaa !5
  %552 = load i32, ptr %8, align 4, !tbaa !5
  %553 = sext i32 %552 to i64
  %554 = getelementptr inbounds [262144 x i32], ptr @cost, i64 0, i64 %553
  store i32 %551, ptr %554, align 4, !tbaa !5
  %555 = load i32, ptr %9, align 4, !tbaa !5
  %556 = sext i32 %555 to i64
  %557 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @tkt, i64 0, i64 %556
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %558 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i64 %558, ptr %12, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %557, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %559 = load i32, ptr %10, align 4, !tbaa !5
  %560 = sext i32 %559 to i64
  %561 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @tkt, i64 0, i64 %560
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %562 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i64 %562, ptr %13, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %561, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  %563 = load i32, ptr %9, align 4, !tbaa !5
  %564 = load i32, ptr %10, align 4, !tbaa !5
  %565 = call noundef i32 @_Z3LCAii(i32 noundef %563, i32 noundef %564)
  %566 = load i32, ptr %9, align 4, !tbaa !5
  %567 = icmp eq i32 %565, %566
  %568 = load i32, ptr %10, align 4
  %569 = icmp eq i32 %565, %568
  %or.cond = select i1 %567, i1 true, i1 %569
  %.pre = load i32, ptr %8, align 4, !tbaa !5
  br i1 %or.cond, label %570, label %573

570:                                              ; preds = %.lr.ph36
  %571 = sext i32 %.pre to i64
  %572 = getelementptr inbounds [262144 x i32], ptr @type, i64 0, i64 %571
  store i32 1, ptr %572, align 4, !tbaa !5
  br label %573

573:                                              ; preds = %.lr.ph36, %570
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %574 = add nsw i32 %.pre, 1
  store i32 %574, ptr %8, align 4, !tbaa !5
  %575 = load i32, ptr @m, align 4, !tbaa !5
  %.not.not = icmp slt i32 %.pre, %575
  br i1 %.not.not, label %.lr.ph36, label %._crit_edge37, !llvm.loop !29

._crit_edge42:                                    ; preds = %.lr.ph41, %._crit_edge37
  %.lcssa = phi i32 [ %549, %._crit_edge37 ], [ %582, %.lr.ph41 ]
  call void @_Z5buildiii(i32 noundef 1, i32 noundef 0, i32 noundef %.lcssa)
  %576 = call noundef i64 @_Z5queryv()
  store i64 %576, ptr @ans, align 8, !tbaa !30
  call void @_Z4dfs3ii(i32 noundef 1, i32 noundef 1)
  %577 = load i64, ptr @ans, align 8, !tbaa !30
  %578 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef %577)
  ret i32 0

.lr.ph41:                                         ; preds = %._crit_edge37, %.lr.ph41
  %indvars.iv50 = phi i64 [ %indvars.iv.next51, %.lr.ph41 ], [ 1, %._crit_edge37 ]
  %579 = getelementptr inbounds [262144 x %"class.std::vector"], ptr @tkt, i64 0, i64 %indvars.iv50
  %580 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %579) #6
  %581 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %579) #6
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr %580, ptr %581, ptr noundef nonnull @_Z3cmpRKSt4pairIiiES2_)
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %582 = load i32, ptr @n, align 4, !tbaa !5
  %583 = sext i32 %582 to i64
  %.not23.not = icmp slt i64 %indvars.iv50, %583
  br i1 %.not23.not, label %.lr.ph41, label %._crit_edge42, !llvm.loop !32
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS3_SaIS3_EEEEPFbRKS3_SA_EEvT_SD_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #5

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

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


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