; LLVM IR from VastoLorde95/Competitive-Programming :: SPOJ/Random/COT (ref)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair" = type { i32, i32 }
%struct.node = type { i32, ptr, ptr }

@v = external dso_local global [111111 x i32], align 16
@pa = external dso_local global [111111 x [19 x i32]], align 16
@RM = external dso_local global [111111 x i32], align 16
@maxi = external dso_local global i32, align 4
@adj = external dso_local global [111111 x %"class.std::vector"], align 16
@M = external dso_local global %"class.std::map", align 8
@null = external dso_local global ptr, align 8
@root = external dso_local global [111111 x ptr], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5queryP4nodeS0_S0_S0_iii(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %6 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %7 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %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 i32, align 4
  %18 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %34, %0
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %25, label %24

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

25:                                               ; preds = %20
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [111111 x i32], ptr @v, i64 0, i64 %27
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %28)
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [111111 x i32], ptr @v, i64 0, i64 %31
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @M, ptr noundef nonnull align 4 dereferenceable(4) %32)
  br label %34

34:                                               ; preds = %25
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %4, align 4, !tbaa !5
  br label %20, !llvm.loop !9

37:                                               ; preds = %24
  store i32 0, ptr @maxi, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %38 = call ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @M) #6
  %39 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %5, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  br label %40

40:                                               ; preds = %58, %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %41 = call ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @M) #6
  %42 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %6, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  %43 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %61

45:                                               ; preds = %40
  %46 = load i32, ptr @maxi, align 4, !tbaa !5
  %47 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %48 = getelementptr inbounds %"struct.std::pair", ptr %47, i32 0, i32 0
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @M, ptr noundef nonnull align 4 dereferenceable(4) %48)
  store i32 %46, ptr %49, align 4, !tbaa !5
  %50 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %51 = getelementptr inbounds %"struct.std::pair", ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 4, !tbaa !11
  %53 = load i32, ptr @maxi, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [111111 x i32], ptr @RM, i64 0, i64 %54
  store i32 %52, ptr %55, align 4, !tbaa !5
  %56 = load i32, ptr @maxi, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr @maxi, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %45
  %59 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #6
  %60 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %7, i32 0, i32 0
  store ptr %59, ptr %60, align 8
  br label %40, !llvm.loop !13

61:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %80, %61
  %63 = load i32, ptr %8, align 4, !tbaa !5
  %64 = load i32, ptr %2, align 4, !tbaa !5
  %65 = sub nsw i32 %64, 1
  %66 = icmp slt i32 %63, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %83

68:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %69 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %9, ptr noundef %10)
  %70 = load i32, ptr %9, align 4, !tbaa !5
  %71 = add nsw i32 %70, -1
  store i32 %71, ptr %9, align 4, !tbaa !5
  %72 = load i32, ptr %10, align 4, !tbaa !5
  %73 = add nsw i32 %72, -1
  store i32 %73, ptr %10, align 4, !tbaa !5
  %74 = load i32, ptr %9, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [111111 x %"class.std::vector"], ptr @adj, i64 0, i64 %75
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %77 = load i32, ptr %10, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [111111 x %"class.std::vector"], ptr @adj, i64 0, i64 %78
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef nonnull align 4 dereferenceable(4) %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %80

80:                                               ; preds = %68
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %8, align 4, !tbaa !5
  br label %62, !llvm.loop !14

83:                                               ; preds = %67
  call void @llvm.memset.p0.i64(ptr align 16 @pa, i8 -1, i64 8444436, i1 false)
  %84 = load ptr, ptr @null, align 8, !tbaa !15
  %85 = load ptr, ptr @null, align 8, !tbaa !15
  %86 = getelementptr inbounds %struct.node, ptr %85, i32 0, i32 2
  store ptr %84, ptr %86, align 8, !tbaa !17
  %87 = load ptr, ptr @null, align 8, !tbaa !15
  %88 = getelementptr inbounds %struct.node, ptr %87, i32 0, i32 1
  store ptr %84, ptr %88, align 8, !tbaa !19
  call void @_Z3dfsii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %134, %83
  %90 = load i32, ptr %11, align 4, !tbaa !5
  %91 = icmp slt i32 %90, 18
  br i1 %91, label %93, label %92

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

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %130, %93
  %95 = load i32, ptr %13, align 4, !tbaa !5
  %96 = load i32, ptr %2, align 4, !tbaa !5
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %94
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %133

99:                                               ; preds = %94
  %100 = load i32, ptr %13, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %101
  %103 = load i32, ptr %11, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [19 x i32], ptr %102, i64 0, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = icmp ne i32 %106, -1
  br i1 %107, label %108, label %129

108:                                              ; preds = %99
  %109 = load i32, ptr %13, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %110
  %112 = load i32, ptr %11, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [19 x i32], ptr %111, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %116
  %118 = load i32, ptr %11, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [19 x i32], ptr %117, i64 0, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = load i32, ptr %13, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %123
  %125 = load i32, ptr %11, align 4, !tbaa !5
  %126 = add nsw i32 %125, 1
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [19 x i32], ptr %124, i64 0, i64 %127
  store i32 %121, ptr %128, align 4, !tbaa !5
  br label %129

129:                                              ; preds = %108, %99
  br label %130

130:                                              ; preds = %129
  %131 = load i32, ptr %13, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %13, align 4, !tbaa !5
  br label %94, !llvm.loop !20

133:                                              ; preds = %98
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %11, align 4, !tbaa !5
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %11, align 4, !tbaa !5
  br label %89, !llvm.loop !21

137:                                              ; preds = %92
  br label %138

138:                                              ; preds = %180, %137
  %139 = load i32, ptr %3, align 4, !tbaa !5
  %140 = add nsw i32 %139, -1
  store i32 %140, ptr %3, align 4, !tbaa !5
  %141 = icmp ne i32 %139, 0
  br i1 %141, label %142, label %190

142:                                              ; preds = %138
  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
  %143 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.5, ptr noundef %14, ptr noundef %15, ptr noundef %16)
  %144 = load i32, ptr %14, align 4, !tbaa !5
  %145 = add nsw i32 %144, -1
  store i32 %145, ptr %14, align 4, !tbaa !5
  %146 = load i32, ptr %15, align 4, !tbaa !5
  %147 = add nsw i32 %146, -1
  store i32 %147, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %148 = load i32, ptr %14, align 4, !tbaa !5
  %149 = load i32, ptr %15, align 4, !tbaa !5
  %150 = call noundef i32 @_Z3LCAii(i32 noundef %148, i32 noundef %149)
  store i32 %150, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %151 = load i32, ptr %14, align 4, !tbaa !5
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %152
  %154 = load ptr, ptr %153, align 8, !tbaa !15
  %155 = load i32, ptr %15, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %156
  %158 = load ptr, ptr %157, align 8, !tbaa !15
  %159 = load i32, ptr %17, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %160
  %162 = load ptr, ptr %161, align 8, !tbaa !15
  %163 = load i32, ptr %17, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %164
  %166 = getelementptr inbounds [19 x i32], ptr %165, i64 0, i64 0
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = icmp eq i32 %167, -1
  br i1 %168, label %169, label %171

169:                                              ; preds = %142
  %170 = load ptr, ptr @null, align 8, !tbaa !15
  br label %180

171:                                              ; preds = %142
  %172 = load i32, ptr %17, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %173
  %175 = getelementptr inbounds [19 x i32], ptr %174, i64 0, i64 0
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %177
  %179 = load ptr, ptr %178, align 8, !tbaa !15
  br label %180

180:                                              ; preds = %171, %169
  %181 = phi ptr [ %170, %169 ], [ %179, %171 ]
  %182 = load i32, ptr @maxi, align 4, !tbaa !5
  %183 = load i32, ptr %16, align 4, !tbaa !5
  %184 = call noundef i32 @_Z5queryP4nodeS0_S0_S0_iii(ptr noundef %154, ptr noundef %158, ptr noundef %162, ptr noundef %181, i32 noundef 0, i32 noundef %182, i32 noundef %183)
  store i32 %184, ptr %18, align 4, !tbaa !5
  %185 = load i32, ptr %18, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [111111 x i32], ptr @RM, i64 0, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %188)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #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 %138, !llvm.loop !22

190:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %191 = load i32, ptr %1, align 4
  ret i32 %191
}

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@v = external dso_local global [111111 x i32], align 16
@pa = external dso_local local_unnamed_addr global [111111 x [19 x i32]], align 16
@RM = external dso_local local_unnamed_addr global [111111 x i32], align 16
@maxi = external dso_local local_unnamed_addr global i32, align 4
@adj = external dso_local global [111111 x %"class.std::vector"], align 16
@M = external dso_local global %"class.std::map", align 8
@null = external dso_local local_unnamed_addr global ptr, align 8
@root = external dso_local local_unnamed_addr global [111111 x ptr], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5queryP4nodeS0_S0_S0_iii(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

._crit_edge:                                      ; preds = %.lr.ph, %0
  store i32 0, ptr @maxi, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %13 = call ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) @M) #6
  store ptr %13, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %14 = call ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @M) #6
  store ptr %14, ptr %4, align 8
  %15 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br i1 %15, label %.lr.ph31, label %._crit_edge32

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %16 = getelementptr inbounds [111111 x i32], ptr @v, i64 0, i64 %indvars.iv
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %16)
  %18 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @M, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = icmp slt i64 %indvars.iv.next, %20
  br i1 %21, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge32:                                    ; preds = %.lr.ph31, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = icmp sgt i32 %22, 1
  br i1 %23, label %.lr.ph35, label %._crit_edge36

.lr.ph31:                                         ; preds = %._crit_edge, %.lr.ph31
  %24 = load i32, ptr @maxi, align 4, !tbaa !5
  %25 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @M, ptr noundef nonnull align 4 dereferenceable(4) %25)
  store i32 %24, ptr %26, align 4, !tbaa !5
  %27 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiiEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = load i32, ptr @maxi, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [111111 x i32], ptr @RM, i64 0, i64 %30
  store i32 %28, ptr %31, align 4, !tbaa !5
  %32 = add nsw i32 %29, 1
  store i32 %32, ptr @maxi, align 4, !tbaa !5
  %33 = call ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiiEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %34 = call ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) @M) #6
  store ptr %34, ptr %4, align 8
  %35 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiiEES5_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br i1 %35, label %.lr.ph31, label %._crit_edge32, !llvm.loop !13

._crit_edge36:                                    ; preds = %.lr.ph35, %._crit_edge32
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(8444436) @pa, i8 -1, i64 8444436, i1 false)
  %36 = load ptr, ptr @null, align 8, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  store ptr %36, ptr %37, align 8, !tbaa !16
  %38 = getelementptr inbounds i8, ptr %36, i64 8
  store ptr %36, ptr %38, align 8, !tbaa !18
  call void @_Z3dfsii(i32 noundef 0, i32 noundef -1)
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = icmp sgt i32 %39, 0
  br i1 %40, label %.preheader28.us.preheader, label %.preheader

.preheader28.us.preheader:                        ; preds = %._crit_edge36
  %wide.trip.count = zext nneg i32 %39 to i64
  %41 = add nsw i64 %wide.trip.count, -1
  %xtraiter = and i64 %wide.trip.count, 1
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %._crit_edge39.us.preheader.unr-lcssa, label %.preheader28.us.preheader.new

.preheader28.us.preheader.new:                    ; preds = %.preheader28.us.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %43

43:                                               ; preds = %59, %.preheader28.us.preheader.new
  %indvars.iv46 = phi i64 [ 0, %.preheader28.us.preheader.new ], [ %indvars.iv.next47.155, %59 ]
  %niter = phi i64 [ 0, %.preheader28.us.preheader.new ], [ %niter.next.1, %59 ]
  %44 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46, i64 0
  %45 = load i32, ptr %44, align 8, !tbaa !5
  %.not27.us = icmp eq i32 %45, -1
  br i1 %.not27.us, label %51, label %46

46:                                               ; preds = %43
  %47 = sext i32 %45 to i64
  %48 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %47, i64 0
  %49 = load i32, ptr %48, align 4, !tbaa !5
  %50 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46, i64 1
  store i32 %49, ptr %50, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %46, %43
  %indvars.iv.next47 = or disjoint i64 %indvars.iv46, 1
  %52 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47, i64 0
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %.not27.us.154 = icmp eq i32 %53, -1
  br i1 %.not27.us.154, label %59, label %54

54:                                               ; preds = %51
  %55 = sext i32 %53 to i64
  %56 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %55, i64 0
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47, i64 1
  store i32 %57, ptr %58, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %54, %51
  %indvars.iv.next47.155 = add nuw nsw i64 %indvars.iv46, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge39.us.preheader.unr-lcssa, label %43, !llvm.loop !19

._crit_edge39.us.preheader.unr-lcssa:             ; preds = %59, %.preheader28.us.preheader
  %indvars.iv46.unr = phi i64 [ 0, %.preheader28.us.preheader ], [ %indvars.iv.next47.155, %59 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge39.us.preheader, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge39.us.preheader.unr-lcssa
  %60 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.unr, i64 0
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %.not27.us.epil = icmp eq i32 %61, -1
  br i1 %.not27.us.epil, label %._crit_edge39.us.preheader, label %62

62:                                               ; preds = %.epil.preheader
  %63 = sext i32 %61 to i64
  %64 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %63, i64 0
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.unr, i64 1
  store i32 %65, ptr %66, align 4, !tbaa !5
  br label %._crit_edge39.us.preheader

._crit_edge39.us.preheader:                       ; preds = %.epil.preheader, %62, %._crit_edge39.us.preheader.unr-lcssa
  %xtraiter56 = and i64 %wide.trip.count, 1
  %67 = icmp eq i64 %41, 0
  br i1 %67, label %._crit_edge39.us.1.preheader.unr-lcssa, label %._crit_edge39.us.preheader.new

._crit_edge39.us.preheader.new:                   ; preds = %._crit_edge39.us.preheader
  %unroll_iter58 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us

._crit_edge39.us:                                 ; preds = %82, %._crit_edge39.us.preheader.new
  %indvars.iv46.1 = phi i64 [ 0, %._crit_edge39.us.preheader.new ], [ %indvars.iv.next47.1.1, %82 ]
  %niter59 = phi i64 [ 0, %._crit_edge39.us.preheader.new ], [ %niter59.next.1, %82 ]
  %68 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.1, i64 1
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %.not27.us.1 = icmp eq i32 %69, -1
  br i1 %.not27.us.1, label %._crit_edge39.us.160, label %70

70:                                               ; preds = %._crit_edge39.us
  %71 = sext i32 %69 to i64
  %72 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %71, i64 1
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.1, i64 2
  store i32 %73, ptr %74, align 8, !tbaa !5
  br label %._crit_edge39.us.160

._crit_edge39.us.160:                             ; preds = %70, %._crit_edge39.us
  %indvars.iv.next47.1 = or disjoint i64 %indvars.iv46.1, 1
  %75 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.1, i64 1
  %76 = load i32, ptr %75, align 8, !tbaa !5
  %.not27.us.1.1 = icmp eq i32 %76, -1
  br i1 %.not27.us.1.1, label %82, label %77

77:                                               ; preds = %._crit_edge39.us.160
  %78 = sext i32 %76 to i64
  %79 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %78, i64 1
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.1, i64 2
  store i32 %80, ptr %81, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %77, %._crit_edge39.us.160
  %indvars.iv.next47.1.1 = add nuw nsw i64 %indvars.iv46.1, 2
  %niter59.next.1 = add i64 %niter59, 2
  %niter59.ncmp.1 = icmp eq i64 %niter59.next.1, %unroll_iter58
  br i1 %niter59.ncmp.1, label %._crit_edge39.us.1.preheader.unr-lcssa, label %._crit_edge39.us, !llvm.loop !19

._crit_edge39.us.1.preheader.unr-lcssa:           ; preds = %82, %._crit_edge39.us.preheader
  %indvars.iv46.1.unr = phi i64 [ 0, %._crit_edge39.us.preheader ], [ %indvars.iv.next47.1.1, %82 ]
  %lcmp.mod57.not = icmp eq i64 %xtraiter56, 0
  br i1 %lcmp.mod57.not, label %._crit_edge39.us.1.preheader, label %._crit_edge39.us.epil

._crit_edge39.us.epil:                            ; preds = %._crit_edge39.us.1.preheader.unr-lcssa
  %83 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.1.unr, i64 1
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %.not27.us.1.epil = icmp eq i32 %84, -1
  br i1 %.not27.us.1.epil, label %._crit_edge39.us.1.preheader, label %85

85:                                               ; preds = %._crit_edge39.us.epil
  %86 = sext i32 %84 to i64
  %87 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %86, i64 1
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.1.unr, i64 2
  store i32 %88, ptr %89, align 4, !tbaa !5
  br label %._crit_edge39.us.1.preheader

._crit_edge39.us.1.preheader:                     ; preds = %._crit_edge39.us.epil, %85, %._crit_edge39.us.1.preheader.unr-lcssa
  %xtraiter61 = and i64 %wide.trip.count, 1
  %90 = icmp eq i64 %41, 0
  br i1 %90, label %._crit_edge39.us.2.preheader.unr-lcssa, label %._crit_edge39.us.1.preheader.new

._crit_edge39.us.1.preheader.new:                 ; preds = %._crit_edge39.us.1.preheader
  %unroll_iter63 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.1

._crit_edge39.us.1:                               ; preds = %105, %._crit_edge39.us.1.preheader.new
  %indvars.iv46.2 = phi i64 [ 0, %._crit_edge39.us.1.preheader.new ], [ %indvars.iv.next47.2.1, %105 ]
  %niter64 = phi i64 [ 0, %._crit_edge39.us.1.preheader.new ], [ %niter64.next.1, %105 ]
  %91 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.2, i64 2
  %92 = load i32, ptr %91, align 8, !tbaa !5
  %.not27.us.2 = icmp eq i32 %92, -1
  br i1 %.not27.us.2, label %._crit_edge39.us.1.1, label %93

93:                                               ; preds = %._crit_edge39.us.1
  %94 = sext i32 %92 to i64
  %95 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %94, i64 2
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.2, i64 3
  store i32 %96, ptr %97, align 4, !tbaa !5
  br label %._crit_edge39.us.1.1

._crit_edge39.us.1.1:                             ; preds = %93, %._crit_edge39.us.1
  %indvars.iv.next47.2 = or disjoint i64 %indvars.iv46.2, 1
  %98 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.2, i64 2
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %.not27.us.2.1 = icmp eq i32 %99, -1
  br i1 %.not27.us.2.1, label %105, label %100

100:                                              ; preds = %._crit_edge39.us.1.1
  %101 = sext i32 %99 to i64
  %102 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %101, i64 2
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.2, i64 3
  store i32 %103, ptr %104, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %100, %._crit_edge39.us.1.1
  %indvars.iv.next47.2.1 = add nuw nsw i64 %indvars.iv46.2, 2
  %niter64.next.1 = add i64 %niter64, 2
  %niter64.ncmp.1 = icmp eq i64 %niter64.next.1, %unroll_iter63
  br i1 %niter64.ncmp.1, label %._crit_edge39.us.2.preheader.unr-lcssa, label %._crit_edge39.us.1, !llvm.loop !19

._crit_edge39.us.2.preheader.unr-lcssa:           ; preds = %105, %._crit_edge39.us.1.preheader
  %indvars.iv46.2.unr = phi i64 [ 0, %._crit_edge39.us.1.preheader ], [ %indvars.iv.next47.2.1, %105 ]
  %lcmp.mod62.not = icmp eq i64 %xtraiter61, 0
  br i1 %lcmp.mod62.not, label %._crit_edge39.us.2.preheader, label %._crit_edge39.us.1.epil

._crit_edge39.us.1.epil:                          ; preds = %._crit_edge39.us.2.preheader.unr-lcssa
  %106 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.2.unr, i64 2
  %107 = load i32, ptr %106, align 4, !tbaa !5
  %.not27.us.2.epil = icmp eq i32 %107, -1
  br i1 %.not27.us.2.epil, label %._crit_edge39.us.2.preheader, label %108

108:                                              ; preds = %._crit_edge39.us.1.epil
  %109 = sext i32 %107 to i64
  %110 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %109, i64 2
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.2.unr, i64 3
  store i32 %111, ptr %112, align 4, !tbaa !5
  br label %._crit_edge39.us.2.preheader

._crit_edge39.us.2.preheader:                     ; preds = %._crit_edge39.us.1.epil, %108, %._crit_edge39.us.2.preheader.unr-lcssa
  %xtraiter65 = and i64 %wide.trip.count, 1
  %113 = icmp eq i64 %41, 0
  br i1 %113, label %._crit_edge39.us.3.preheader.unr-lcssa, label %._crit_edge39.us.2.preheader.new

._crit_edge39.us.2.preheader.new:                 ; preds = %._crit_edge39.us.2.preheader
  %unroll_iter67 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.2

._crit_edge39.us.2:                               ; preds = %128, %._crit_edge39.us.2.preheader.new
  %indvars.iv46.3 = phi i64 [ 0, %._crit_edge39.us.2.preheader.new ], [ %indvars.iv.next47.3.1, %128 ]
  %niter68 = phi i64 [ 0, %._crit_edge39.us.2.preheader.new ], [ %niter68.next.1, %128 ]
  %114 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.3, i64 3
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %.not27.us.3 = icmp eq i32 %115, -1
  br i1 %.not27.us.3, label %._crit_edge39.us.2.1, label %116

116:                                              ; preds = %._crit_edge39.us.2
  %117 = sext i32 %115 to i64
  %118 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %117, i64 3
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.3, i64 4
  store i32 %119, ptr %120, align 8, !tbaa !5
  br label %._crit_edge39.us.2.1

._crit_edge39.us.2.1:                             ; preds = %116, %._crit_edge39.us.2
  %indvars.iv.next47.3 = or disjoint i64 %indvars.iv46.3, 1
  %121 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.3, i64 3
  %122 = load i32, ptr %121, align 8, !tbaa !5
  %.not27.us.3.1 = icmp eq i32 %122, -1
  br i1 %.not27.us.3.1, label %128, label %123

123:                                              ; preds = %._crit_edge39.us.2.1
  %124 = sext i32 %122 to i64
  %125 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %124, i64 3
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.3, i64 4
  store i32 %126, ptr %127, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %123, %._crit_edge39.us.2.1
  %indvars.iv.next47.3.1 = add nuw nsw i64 %indvars.iv46.3, 2
  %niter68.next.1 = add i64 %niter68, 2
  %niter68.ncmp.1 = icmp eq i64 %niter68.next.1, %unroll_iter67
  br i1 %niter68.ncmp.1, label %._crit_edge39.us.3.preheader.unr-lcssa, label %._crit_edge39.us.2, !llvm.loop !19

._crit_edge39.us.3.preheader.unr-lcssa:           ; preds = %128, %._crit_edge39.us.2.preheader
  %indvars.iv46.3.unr = phi i64 [ 0, %._crit_edge39.us.2.preheader ], [ %indvars.iv.next47.3.1, %128 ]
  %lcmp.mod66.not = icmp eq i64 %xtraiter65, 0
  br i1 %lcmp.mod66.not, label %._crit_edge39.us.3.preheader, label %._crit_edge39.us.2.epil

._crit_edge39.us.2.epil:                          ; preds = %._crit_edge39.us.3.preheader.unr-lcssa
  %129 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.3.unr, i64 3
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %.not27.us.3.epil = icmp eq i32 %130, -1
  br i1 %.not27.us.3.epil, label %._crit_edge39.us.3.preheader, label %131

131:                                              ; preds = %._crit_edge39.us.2.epil
  %132 = sext i32 %130 to i64
  %133 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %132, i64 3
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.3.unr, i64 4
  store i32 %134, ptr %135, align 4, !tbaa !5
  br label %._crit_edge39.us.3.preheader

._crit_edge39.us.3.preheader:                     ; preds = %._crit_edge39.us.2.epil, %131, %._crit_edge39.us.3.preheader.unr-lcssa
  %xtraiter69 = and i64 %wide.trip.count, 1
  %136 = icmp eq i64 %41, 0
  br i1 %136, label %._crit_edge39.us.4.preheader.unr-lcssa, label %._crit_edge39.us.3.preheader.new

._crit_edge39.us.3.preheader.new:                 ; preds = %._crit_edge39.us.3.preheader
  %unroll_iter71 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.3

._crit_edge39.us.3:                               ; preds = %151, %._crit_edge39.us.3.preheader.new
  %indvars.iv46.4 = phi i64 [ 0, %._crit_edge39.us.3.preheader.new ], [ %indvars.iv.next47.4.1, %151 ]
  %niter72 = phi i64 [ 0, %._crit_edge39.us.3.preheader.new ], [ %niter72.next.1, %151 ]
  %137 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.4, i64 4
  %138 = load i32, ptr %137, align 8, !tbaa !5
  %.not27.us.4 = icmp eq i32 %138, -1
  br i1 %.not27.us.4, label %._crit_edge39.us.3.1, label %139

139:                                              ; preds = %._crit_edge39.us.3
  %140 = sext i32 %138 to i64
  %141 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %140, i64 4
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.4, i64 5
  store i32 %142, ptr %143, align 4, !tbaa !5
  br label %._crit_edge39.us.3.1

._crit_edge39.us.3.1:                             ; preds = %139, %._crit_edge39.us.3
  %indvars.iv.next47.4 = or disjoint i64 %indvars.iv46.4, 1
  %144 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.4, i64 4
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %.not27.us.4.1 = icmp eq i32 %145, -1
  br i1 %.not27.us.4.1, label %151, label %146

146:                                              ; preds = %._crit_edge39.us.3.1
  %147 = sext i32 %145 to i64
  %148 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %147, i64 4
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.4, i64 5
  store i32 %149, ptr %150, align 8, !tbaa !5
  br label %151

151:                                              ; preds = %146, %._crit_edge39.us.3.1
  %indvars.iv.next47.4.1 = add nuw nsw i64 %indvars.iv46.4, 2
  %niter72.next.1 = add i64 %niter72, 2
  %niter72.ncmp.1 = icmp eq i64 %niter72.next.1, %unroll_iter71
  br i1 %niter72.ncmp.1, label %._crit_edge39.us.4.preheader.unr-lcssa, label %._crit_edge39.us.3, !llvm.loop !19

._crit_edge39.us.4.preheader.unr-lcssa:           ; preds = %151, %._crit_edge39.us.3.preheader
  %indvars.iv46.4.unr = phi i64 [ 0, %._crit_edge39.us.3.preheader ], [ %indvars.iv.next47.4.1, %151 ]
  %lcmp.mod70.not = icmp eq i64 %xtraiter69, 0
  br i1 %lcmp.mod70.not, label %._crit_edge39.us.4.preheader, label %._crit_edge39.us.3.epil

._crit_edge39.us.3.epil:                          ; preds = %._crit_edge39.us.4.preheader.unr-lcssa
  %152 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.4.unr, i64 4
  %153 = load i32, ptr %152, align 4, !tbaa !5
  %.not27.us.4.epil = icmp eq i32 %153, -1
  br i1 %.not27.us.4.epil, label %._crit_edge39.us.4.preheader, label %154

154:                                              ; preds = %._crit_edge39.us.3.epil
  %155 = sext i32 %153 to i64
  %156 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %155, i64 4
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.4.unr, i64 5
  store i32 %157, ptr %158, align 4, !tbaa !5
  br label %._crit_edge39.us.4.preheader

._crit_edge39.us.4.preheader:                     ; preds = %._crit_edge39.us.3.epil, %154, %._crit_edge39.us.4.preheader.unr-lcssa
  %xtraiter73 = and i64 %wide.trip.count, 1
  %159 = icmp eq i64 %41, 0
  br i1 %159, label %._crit_edge39.us.5.preheader.unr-lcssa, label %._crit_edge39.us.4.preheader.new

._crit_edge39.us.4.preheader.new:                 ; preds = %._crit_edge39.us.4.preheader
  %unroll_iter75 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.4

._crit_edge39.us.4:                               ; preds = %174, %._crit_edge39.us.4.preheader.new
  %indvars.iv46.5 = phi i64 [ 0, %._crit_edge39.us.4.preheader.new ], [ %indvars.iv.next47.5.1, %174 ]
  %niter76 = phi i64 [ 0, %._crit_edge39.us.4.preheader.new ], [ %niter76.next.1, %174 ]
  %160 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.5, i64 5
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %.not27.us.5 = icmp eq i32 %161, -1
  br i1 %.not27.us.5, label %._crit_edge39.us.4.1, label %162

162:                                              ; preds = %._crit_edge39.us.4
  %163 = sext i32 %161 to i64
  %164 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %163, i64 5
  %165 = load i32, ptr %164, align 4, !tbaa !5
  %166 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.5, i64 6
  store i32 %165, ptr %166, align 8, !tbaa !5
  br label %._crit_edge39.us.4.1

._crit_edge39.us.4.1:                             ; preds = %162, %._crit_edge39.us.4
  %indvars.iv.next47.5 = or disjoint i64 %indvars.iv46.5, 1
  %167 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.5, i64 5
  %168 = load i32, ptr %167, align 8, !tbaa !5
  %.not27.us.5.1 = icmp eq i32 %168, -1
  br i1 %.not27.us.5.1, label %174, label %169

169:                                              ; preds = %._crit_edge39.us.4.1
  %170 = sext i32 %168 to i64
  %171 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %170, i64 5
  %172 = load i32, ptr %171, align 4, !tbaa !5
  %173 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.5, i64 6
  store i32 %172, ptr %173, align 4, !tbaa !5
  br label %174

174:                                              ; preds = %169, %._crit_edge39.us.4.1
  %indvars.iv.next47.5.1 = add nuw nsw i64 %indvars.iv46.5, 2
  %niter76.next.1 = add i64 %niter76, 2
  %niter76.ncmp.1 = icmp eq i64 %niter76.next.1, %unroll_iter75
  br i1 %niter76.ncmp.1, label %._crit_edge39.us.5.preheader.unr-lcssa, label %._crit_edge39.us.4, !llvm.loop !19

._crit_edge39.us.5.preheader.unr-lcssa:           ; preds = %174, %._crit_edge39.us.4.preheader
  %indvars.iv46.5.unr = phi i64 [ 0, %._crit_edge39.us.4.preheader ], [ %indvars.iv.next47.5.1, %174 ]
  %lcmp.mod74.not = icmp eq i64 %xtraiter73, 0
  br i1 %lcmp.mod74.not, label %._crit_edge39.us.5.preheader, label %._crit_edge39.us.4.epil

._crit_edge39.us.4.epil:                          ; preds = %._crit_edge39.us.5.preheader.unr-lcssa
  %175 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.5.unr, i64 5
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %.not27.us.5.epil = icmp eq i32 %176, -1
  br i1 %.not27.us.5.epil, label %._crit_edge39.us.5.preheader, label %177

177:                                              ; preds = %._crit_edge39.us.4.epil
  %178 = sext i32 %176 to i64
  %179 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %178, i64 5
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.5.unr, i64 6
  store i32 %180, ptr %181, align 4, !tbaa !5
  br label %._crit_edge39.us.5.preheader

._crit_edge39.us.5.preheader:                     ; preds = %._crit_edge39.us.4.epil, %177, %._crit_edge39.us.5.preheader.unr-lcssa
  %xtraiter77 = and i64 %wide.trip.count, 1
  %182 = icmp eq i64 %41, 0
  br i1 %182, label %._crit_edge39.us.6.preheader.unr-lcssa, label %._crit_edge39.us.5.preheader.new

._crit_edge39.us.5.preheader.new:                 ; preds = %._crit_edge39.us.5.preheader
  %unroll_iter79 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.5

._crit_edge39.us.5:                               ; preds = %197, %._crit_edge39.us.5.preheader.new
  %indvars.iv46.6 = phi i64 [ 0, %._crit_edge39.us.5.preheader.new ], [ %indvars.iv.next47.6.1, %197 ]
  %niter80 = phi i64 [ 0, %._crit_edge39.us.5.preheader.new ], [ %niter80.next.1, %197 ]
  %183 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.6, i64 6
  %184 = load i32, ptr %183, align 8, !tbaa !5
  %.not27.us.6 = icmp eq i32 %184, -1
  br i1 %.not27.us.6, label %._crit_edge39.us.5.1, label %185

185:                                              ; preds = %._crit_edge39.us.5
  %186 = sext i32 %184 to i64
  %187 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %186, i64 6
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.6, i64 7
  store i32 %188, ptr %189, align 4, !tbaa !5
  br label %._crit_edge39.us.5.1

._crit_edge39.us.5.1:                             ; preds = %185, %._crit_edge39.us.5
  %indvars.iv.next47.6 = or disjoint i64 %indvars.iv46.6, 1
  %190 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.6, i64 6
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %.not27.us.6.1 = icmp eq i32 %191, -1
  br i1 %.not27.us.6.1, label %197, label %192

192:                                              ; preds = %._crit_edge39.us.5.1
  %193 = sext i32 %191 to i64
  %194 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %193, i64 6
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.6, i64 7
  store i32 %195, ptr %196, align 8, !tbaa !5
  br label %197

197:                                              ; preds = %192, %._crit_edge39.us.5.1
  %indvars.iv.next47.6.1 = add nuw nsw i64 %indvars.iv46.6, 2
  %niter80.next.1 = add i64 %niter80, 2
  %niter80.ncmp.1 = icmp eq i64 %niter80.next.1, %unroll_iter79
  br i1 %niter80.ncmp.1, label %._crit_edge39.us.6.preheader.unr-lcssa, label %._crit_edge39.us.5, !llvm.loop !19

._crit_edge39.us.6.preheader.unr-lcssa:           ; preds = %197, %._crit_edge39.us.5.preheader
  %indvars.iv46.6.unr = phi i64 [ 0, %._crit_edge39.us.5.preheader ], [ %indvars.iv.next47.6.1, %197 ]
  %lcmp.mod78.not = icmp eq i64 %xtraiter77, 0
  br i1 %lcmp.mod78.not, label %._crit_edge39.us.6.preheader, label %._crit_edge39.us.5.epil

._crit_edge39.us.5.epil:                          ; preds = %._crit_edge39.us.6.preheader.unr-lcssa
  %198 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.6.unr, i64 6
  %199 = load i32, ptr %198, align 4, !tbaa !5
  %.not27.us.6.epil = icmp eq i32 %199, -1
  br i1 %.not27.us.6.epil, label %._crit_edge39.us.6.preheader, label %200

200:                                              ; preds = %._crit_edge39.us.5.epil
  %201 = sext i32 %199 to i64
  %202 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %201, i64 6
  %203 = load i32, ptr %202, align 4, !tbaa !5
  %204 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.6.unr, i64 7
  store i32 %203, ptr %204, align 4, !tbaa !5
  br label %._crit_edge39.us.6.preheader

._crit_edge39.us.6.preheader:                     ; preds = %._crit_edge39.us.5.epil, %200, %._crit_edge39.us.6.preheader.unr-lcssa
  %xtraiter81 = and i64 %wide.trip.count, 1
  %205 = icmp eq i64 %41, 0
  br i1 %205, label %._crit_edge39.us.7.preheader.unr-lcssa, label %._crit_edge39.us.6.preheader.new

._crit_edge39.us.6.preheader.new:                 ; preds = %._crit_edge39.us.6.preheader
  %unroll_iter83 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.6

._crit_edge39.us.6:                               ; preds = %220, %._crit_edge39.us.6.preheader.new
  %indvars.iv46.7 = phi i64 [ 0, %._crit_edge39.us.6.preheader.new ], [ %indvars.iv.next47.7.1, %220 ]
  %niter84 = phi i64 [ 0, %._crit_edge39.us.6.preheader.new ], [ %niter84.next.1, %220 ]
  %206 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.7, i64 7
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %.not27.us.7 = icmp eq i32 %207, -1
  br i1 %.not27.us.7, label %._crit_edge39.us.6.1, label %208

208:                                              ; preds = %._crit_edge39.us.6
  %209 = sext i32 %207 to i64
  %210 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %209, i64 7
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.7, i64 8
  store i32 %211, ptr %212, align 8, !tbaa !5
  br label %._crit_edge39.us.6.1

._crit_edge39.us.6.1:                             ; preds = %208, %._crit_edge39.us.6
  %indvars.iv.next47.7 = or disjoint i64 %indvars.iv46.7, 1
  %213 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.7, i64 7
  %214 = load i32, ptr %213, align 8, !tbaa !5
  %.not27.us.7.1 = icmp eq i32 %214, -1
  br i1 %.not27.us.7.1, label %220, label %215

215:                                              ; preds = %._crit_edge39.us.6.1
  %216 = sext i32 %214 to i64
  %217 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %216, i64 7
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.7, i64 8
  store i32 %218, ptr %219, align 4, !tbaa !5
  br label %220

220:                                              ; preds = %215, %._crit_edge39.us.6.1
  %indvars.iv.next47.7.1 = add nuw nsw i64 %indvars.iv46.7, 2
  %niter84.next.1 = add i64 %niter84, 2
  %niter84.ncmp.1 = icmp eq i64 %niter84.next.1, %unroll_iter83
  br i1 %niter84.ncmp.1, label %._crit_edge39.us.7.preheader.unr-lcssa, label %._crit_edge39.us.6, !llvm.loop !19

._crit_edge39.us.7.preheader.unr-lcssa:           ; preds = %220, %._crit_edge39.us.6.preheader
  %indvars.iv46.7.unr = phi i64 [ 0, %._crit_edge39.us.6.preheader ], [ %indvars.iv.next47.7.1, %220 ]
  %lcmp.mod82.not = icmp eq i64 %xtraiter81, 0
  br i1 %lcmp.mod82.not, label %._crit_edge39.us.7.preheader, label %._crit_edge39.us.6.epil

._crit_edge39.us.6.epil:                          ; preds = %._crit_edge39.us.7.preheader.unr-lcssa
  %221 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.7.unr, i64 7
  %222 = load i32, ptr %221, align 4, !tbaa !5
  %.not27.us.7.epil = icmp eq i32 %222, -1
  br i1 %.not27.us.7.epil, label %._crit_edge39.us.7.preheader, label %223

223:                                              ; preds = %._crit_edge39.us.6.epil
  %224 = sext i32 %222 to i64
  %225 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %224, i64 7
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.7.unr, i64 8
  store i32 %226, ptr %227, align 4, !tbaa !5
  br label %._crit_edge39.us.7.preheader

._crit_edge39.us.7.preheader:                     ; preds = %._crit_edge39.us.6.epil, %223, %._crit_edge39.us.7.preheader.unr-lcssa
  %xtraiter85 = and i64 %wide.trip.count, 1
  %228 = icmp eq i64 %41, 0
  br i1 %228, label %._crit_edge39.us.8.preheader.unr-lcssa, label %._crit_edge39.us.7.preheader.new

._crit_edge39.us.7.preheader.new:                 ; preds = %._crit_edge39.us.7.preheader
  %unroll_iter87 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.7

._crit_edge39.us.7:                               ; preds = %243, %._crit_edge39.us.7.preheader.new
  %indvars.iv46.8 = phi i64 [ 0, %._crit_edge39.us.7.preheader.new ], [ %indvars.iv.next47.8.1, %243 ]
  %niter88 = phi i64 [ 0, %._crit_edge39.us.7.preheader.new ], [ %niter88.next.1, %243 ]
  %229 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.8, i64 8
  %230 = load i32, ptr %229, align 8, !tbaa !5
  %.not27.us.8 = icmp eq i32 %230, -1
  br i1 %.not27.us.8, label %._crit_edge39.us.7.1, label %231

231:                                              ; preds = %._crit_edge39.us.7
  %232 = sext i32 %230 to i64
  %233 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %232, i64 8
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.8, i64 9
  store i32 %234, ptr %235, align 4, !tbaa !5
  br label %._crit_edge39.us.7.1

._crit_edge39.us.7.1:                             ; preds = %231, %._crit_edge39.us.7
  %indvars.iv.next47.8 = or disjoint i64 %indvars.iv46.8, 1
  %236 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.8, i64 8
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %.not27.us.8.1 = icmp eq i32 %237, -1
  br i1 %.not27.us.8.1, label %243, label %238

238:                                              ; preds = %._crit_edge39.us.7.1
  %239 = sext i32 %237 to i64
  %240 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %239, i64 8
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.8, i64 9
  store i32 %241, ptr %242, align 8, !tbaa !5
  br label %243

243:                                              ; preds = %238, %._crit_edge39.us.7.1
  %indvars.iv.next47.8.1 = add nuw nsw i64 %indvars.iv46.8, 2
  %niter88.next.1 = add i64 %niter88, 2
  %niter88.ncmp.1 = icmp eq i64 %niter88.next.1, %unroll_iter87
  br i1 %niter88.ncmp.1, label %._crit_edge39.us.8.preheader.unr-lcssa, label %._crit_edge39.us.7, !llvm.loop !19

._crit_edge39.us.8.preheader.unr-lcssa:           ; preds = %243, %._crit_edge39.us.7.preheader
  %indvars.iv46.8.unr = phi i64 [ 0, %._crit_edge39.us.7.preheader ], [ %indvars.iv.next47.8.1, %243 ]
  %lcmp.mod86.not = icmp eq i64 %xtraiter85, 0
  br i1 %lcmp.mod86.not, label %._crit_edge39.us.8.preheader, label %._crit_edge39.us.7.epil

._crit_edge39.us.7.epil:                          ; preds = %._crit_edge39.us.8.preheader.unr-lcssa
  %244 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.8.unr, i64 8
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %.not27.us.8.epil = icmp eq i32 %245, -1
  br i1 %.not27.us.8.epil, label %._crit_edge39.us.8.preheader, label %246

246:                                              ; preds = %._crit_edge39.us.7.epil
  %247 = sext i32 %245 to i64
  %248 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %247, i64 8
  %249 = load i32, ptr %248, align 4, !tbaa !5
  %250 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.8.unr, i64 9
  store i32 %249, ptr %250, align 4, !tbaa !5
  br label %._crit_edge39.us.8.preheader

._crit_edge39.us.8.preheader:                     ; preds = %._crit_edge39.us.7.epil, %246, %._crit_edge39.us.8.preheader.unr-lcssa
  %xtraiter89 = and i64 %wide.trip.count, 1
  %251 = icmp eq i64 %41, 0
  br i1 %251, label %._crit_edge39.us.9.preheader.unr-lcssa, label %._crit_edge39.us.8.preheader.new

._crit_edge39.us.8.preheader.new:                 ; preds = %._crit_edge39.us.8.preheader
  %unroll_iter91 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.8

._crit_edge39.us.8:                               ; preds = %266, %._crit_edge39.us.8.preheader.new
  %indvars.iv46.9 = phi i64 [ 0, %._crit_edge39.us.8.preheader.new ], [ %indvars.iv.next47.9.1, %266 ]
  %niter92 = phi i64 [ 0, %._crit_edge39.us.8.preheader.new ], [ %niter92.next.1, %266 ]
  %252 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.9, i64 9
  %253 = load i32, ptr %252, align 4, !tbaa !5
  %.not27.us.9 = icmp eq i32 %253, -1
  br i1 %.not27.us.9, label %._crit_edge39.us.8.1, label %254

254:                                              ; preds = %._crit_edge39.us.8
  %255 = sext i32 %253 to i64
  %256 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %255, i64 9
  %257 = load i32, ptr %256, align 4, !tbaa !5
  %258 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.9, i64 10
  store i32 %257, ptr %258, align 8, !tbaa !5
  br label %._crit_edge39.us.8.1

._crit_edge39.us.8.1:                             ; preds = %254, %._crit_edge39.us.8
  %indvars.iv.next47.9 = or disjoint i64 %indvars.iv46.9, 1
  %259 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.9, i64 9
  %260 = load i32, ptr %259, align 8, !tbaa !5
  %.not27.us.9.1 = icmp eq i32 %260, -1
  br i1 %.not27.us.9.1, label %266, label %261

261:                                              ; preds = %._crit_edge39.us.8.1
  %262 = sext i32 %260 to i64
  %263 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %262, i64 9
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.9, i64 10
  store i32 %264, ptr %265, align 4, !tbaa !5
  br label %266

266:                                              ; preds = %261, %._crit_edge39.us.8.1
  %indvars.iv.next47.9.1 = add nuw nsw i64 %indvars.iv46.9, 2
  %niter92.next.1 = add i64 %niter92, 2
  %niter92.ncmp.1 = icmp eq i64 %niter92.next.1, %unroll_iter91
  br i1 %niter92.ncmp.1, label %._crit_edge39.us.9.preheader.unr-lcssa, label %._crit_edge39.us.8, !llvm.loop !19

._crit_edge39.us.9.preheader.unr-lcssa:           ; preds = %266, %._crit_edge39.us.8.preheader
  %indvars.iv46.9.unr = phi i64 [ 0, %._crit_edge39.us.8.preheader ], [ %indvars.iv.next47.9.1, %266 ]
  %lcmp.mod90.not = icmp eq i64 %xtraiter89, 0
  br i1 %lcmp.mod90.not, label %._crit_edge39.us.9.preheader, label %._crit_edge39.us.8.epil

._crit_edge39.us.8.epil:                          ; preds = %._crit_edge39.us.9.preheader.unr-lcssa
  %267 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.9.unr, i64 9
  %268 = load i32, ptr %267, align 4, !tbaa !5
  %.not27.us.9.epil = icmp eq i32 %268, -1
  br i1 %.not27.us.9.epil, label %._crit_edge39.us.9.preheader, label %269

269:                                              ; preds = %._crit_edge39.us.8.epil
  %270 = sext i32 %268 to i64
  %271 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %270, i64 9
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.9.unr, i64 10
  store i32 %272, ptr %273, align 4, !tbaa !5
  br label %._crit_edge39.us.9.preheader

._crit_edge39.us.9.preheader:                     ; preds = %._crit_edge39.us.8.epil, %269, %._crit_edge39.us.9.preheader.unr-lcssa
  %xtraiter93 = and i64 %wide.trip.count, 1
  %274 = icmp eq i64 %41, 0
  br i1 %274, label %._crit_edge39.us.10.preheader.unr-lcssa, label %._crit_edge39.us.9.preheader.new

._crit_edge39.us.9.preheader.new:                 ; preds = %._crit_edge39.us.9.preheader
  %unroll_iter95 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.9

._crit_edge39.us.9:                               ; preds = %289, %._crit_edge39.us.9.preheader.new
  %indvars.iv46.10 = phi i64 [ 0, %._crit_edge39.us.9.preheader.new ], [ %indvars.iv.next47.10.1, %289 ]
  %niter96 = phi i64 [ 0, %._crit_edge39.us.9.preheader.new ], [ %niter96.next.1, %289 ]
  %275 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.10, i64 10
  %276 = load i32, ptr %275, align 8, !tbaa !5
  %.not27.us.10 = icmp eq i32 %276, -1
  br i1 %.not27.us.10, label %._crit_edge39.us.9.1, label %277

277:                                              ; preds = %._crit_edge39.us.9
  %278 = sext i32 %276 to i64
  %279 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %278, i64 10
  %280 = load i32, ptr %279, align 4, !tbaa !5
  %281 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.10, i64 11
  store i32 %280, ptr %281, align 4, !tbaa !5
  br label %._crit_edge39.us.9.1

._crit_edge39.us.9.1:                             ; preds = %277, %._crit_edge39.us.9
  %indvars.iv.next47.10 = or disjoint i64 %indvars.iv46.10, 1
  %282 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.10, i64 10
  %283 = load i32, ptr %282, align 4, !tbaa !5
  %.not27.us.10.1 = icmp eq i32 %283, -1
  br i1 %.not27.us.10.1, label %289, label %284

284:                                              ; preds = %._crit_edge39.us.9.1
  %285 = sext i32 %283 to i64
  %286 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %285, i64 10
  %287 = load i32, ptr %286, align 4, !tbaa !5
  %288 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.10, i64 11
  store i32 %287, ptr %288, align 8, !tbaa !5
  br label %289

289:                                              ; preds = %284, %._crit_edge39.us.9.1
  %indvars.iv.next47.10.1 = add nuw nsw i64 %indvars.iv46.10, 2
  %niter96.next.1 = add i64 %niter96, 2
  %niter96.ncmp.1 = icmp eq i64 %niter96.next.1, %unroll_iter95
  br i1 %niter96.ncmp.1, label %._crit_edge39.us.10.preheader.unr-lcssa, label %._crit_edge39.us.9, !llvm.loop !19

._crit_edge39.us.10.preheader.unr-lcssa:          ; preds = %289, %._crit_edge39.us.9.preheader
  %indvars.iv46.10.unr = phi i64 [ 0, %._crit_edge39.us.9.preheader ], [ %indvars.iv.next47.10.1, %289 ]
  %lcmp.mod94.not = icmp eq i64 %xtraiter93, 0
  br i1 %lcmp.mod94.not, label %._crit_edge39.us.10.preheader, label %._crit_edge39.us.9.epil

._crit_edge39.us.9.epil:                          ; preds = %._crit_edge39.us.10.preheader.unr-lcssa
  %290 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.10.unr, i64 10
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %.not27.us.10.epil = icmp eq i32 %291, -1
  br i1 %.not27.us.10.epil, label %._crit_edge39.us.10.preheader, label %292

292:                                              ; preds = %._crit_edge39.us.9.epil
  %293 = sext i32 %291 to i64
  %294 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %293, i64 10
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.10.unr, i64 11
  store i32 %295, ptr %296, align 4, !tbaa !5
  br label %._crit_edge39.us.10.preheader

._crit_edge39.us.10.preheader:                    ; preds = %._crit_edge39.us.9.epil, %292, %._crit_edge39.us.10.preheader.unr-lcssa
  %xtraiter97 = and i64 %wide.trip.count, 1
  %297 = icmp eq i64 %41, 0
  br i1 %297, label %._crit_edge39.us.11.preheader.unr-lcssa, label %._crit_edge39.us.10.preheader.new

._crit_edge39.us.10.preheader.new:                ; preds = %._crit_edge39.us.10.preheader
  %unroll_iter99 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.10

._crit_edge39.us.10:                              ; preds = %312, %._crit_edge39.us.10.preheader.new
  %indvars.iv46.11 = phi i64 [ 0, %._crit_edge39.us.10.preheader.new ], [ %indvars.iv.next47.11.1, %312 ]
  %niter100 = phi i64 [ 0, %._crit_edge39.us.10.preheader.new ], [ %niter100.next.1, %312 ]
  %298 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.11, i64 11
  %299 = load i32, ptr %298, align 4, !tbaa !5
  %.not27.us.11 = icmp eq i32 %299, -1
  br i1 %.not27.us.11, label %._crit_edge39.us.10.1, label %300

300:                                              ; preds = %._crit_edge39.us.10
  %301 = sext i32 %299 to i64
  %302 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %301, i64 11
  %303 = load i32, ptr %302, align 4, !tbaa !5
  %304 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.11, i64 12
  store i32 %303, ptr %304, align 8, !tbaa !5
  br label %._crit_edge39.us.10.1

._crit_edge39.us.10.1:                            ; preds = %300, %._crit_edge39.us.10
  %indvars.iv.next47.11 = or disjoint i64 %indvars.iv46.11, 1
  %305 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.11, i64 11
  %306 = load i32, ptr %305, align 8, !tbaa !5
  %.not27.us.11.1 = icmp eq i32 %306, -1
  br i1 %.not27.us.11.1, label %312, label %307

307:                                              ; preds = %._crit_edge39.us.10.1
  %308 = sext i32 %306 to i64
  %309 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %308, i64 11
  %310 = load i32, ptr %309, align 4, !tbaa !5
  %311 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.11, i64 12
  store i32 %310, ptr %311, align 4, !tbaa !5
  br label %312

312:                                              ; preds = %307, %._crit_edge39.us.10.1
  %indvars.iv.next47.11.1 = add nuw nsw i64 %indvars.iv46.11, 2
  %niter100.next.1 = add i64 %niter100, 2
  %niter100.ncmp.1 = icmp eq i64 %niter100.next.1, %unroll_iter99
  br i1 %niter100.ncmp.1, label %._crit_edge39.us.11.preheader.unr-lcssa, label %._crit_edge39.us.10, !llvm.loop !19

._crit_edge39.us.11.preheader.unr-lcssa:          ; preds = %312, %._crit_edge39.us.10.preheader
  %indvars.iv46.11.unr = phi i64 [ 0, %._crit_edge39.us.10.preheader ], [ %indvars.iv.next47.11.1, %312 ]
  %lcmp.mod98.not = icmp eq i64 %xtraiter97, 0
  br i1 %lcmp.mod98.not, label %._crit_edge39.us.11.preheader, label %._crit_edge39.us.10.epil

._crit_edge39.us.10.epil:                         ; preds = %._crit_edge39.us.11.preheader.unr-lcssa
  %313 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.11.unr, i64 11
  %314 = load i32, ptr %313, align 4, !tbaa !5
  %.not27.us.11.epil = icmp eq i32 %314, -1
  br i1 %.not27.us.11.epil, label %._crit_edge39.us.11.preheader, label %315

315:                                              ; preds = %._crit_edge39.us.10.epil
  %316 = sext i32 %314 to i64
  %317 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %316, i64 11
  %318 = load i32, ptr %317, align 4, !tbaa !5
  %319 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.11.unr, i64 12
  store i32 %318, ptr %319, align 4, !tbaa !5
  br label %._crit_edge39.us.11.preheader

._crit_edge39.us.11.preheader:                    ; preds = %._crit_edge39.us.10.epil, %315, %._crit_edge39.us.11.preheader.unr-lcssa
  %xtraiter101 = and i64 %wide.trip.count, 1
  %320 = icmp eq i64 %41, 0
  br i1 %320, label %._crit_edge39.us.12.preheader.unr-lcssa, label %._crit_edge39.us.11.preheader.new

._crit_edge39.us.11.preheader.new:                ; preds = %._crit_edge39.us.11.preheader
  %unroll_iter103 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.11

._crit_edge39.us.11:                              ; preds = %335, %._crit_edge39.us.11.preheader.new
  %indvars.iv46.12 = phi i64 [ 0, %._crit_edge39.us.11.preheader.new ], [ %indvars.iv.next47.12.1, %335 ]
  %niter104 = phi i64 [ 0, %._crit_edge39.us.11.preheader.new ], [ %niter104.next.1, %335 ]
  %321 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.12, i64 12
  %322 = load i32, ptr %321, align 8, !tbaa !5
  %.not27.us.12 = icmp eq i32 %322, -1
  br i1 %.not27.us.12, label %._crit_edge39.us.11.1, label %323

323:                                              ; preds = %._crit_edge39.us.11
  %324 = sext i32 %322 to i64
  %325 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %324, i64 12
  %326 = load i32, ptr %325, align 4, !tbaa !5
  %327 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.12, i64 13
  store i32 %326, ptr %327, align 4, !tbaa !5
  br label %._crit_edge39.us.11.1

._crit_edge39.us.11.1:                            ; preds = %323, %._crit_edge39.us.11
  %indvars.iv.next47.12 = or disjoint i64 %indvars.iv46.12, 1
  %328 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.12, i64 12
  %329 = load i32, ptr %328, align 4, !tbaa !5
  %.not27.us.12.1 = icmp eq i32 %329, -1
  br i1 %.not27.us.12.1, label %335, label %330

330:                                              ; preds = %._crit_edge39.us.11.1
  %331 = sext i32 %329 to i64
  %332 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %331, i64 12
  %333 = load i32, ptr %332, align 4, !tbaa !5
  %334 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.12, i64 13
  store i32 %333, ptr %334, align 8, !tbaa !5
  br label %335

335:                                              ; preds = %330, %._crit_edge39.us.11.1
  %indvars.iv.next47.12.1 = add nuw nsw i64 %indvars.iv46.12, 2
  %niter104.next.1 = add i64 %niter104, 2
  %niter104.ncmp.1 = icmp eq i64 %niter104.next.1, %unroll_iter103
  br i1 %niter104.ncmp.1, label %._crit_edge39.us.12.preheader.unr-lcssa, label %._crit_edge39.us.11, !llvm.loop !19

._crit_edge39.us.12.preheader.unr-lcssa:          ; preds = %335, %._crit_edge39.us.11.preheader
  %indvars.iv46.12.unr = phi i64 [ 0, %._crit_edge39.us.11.preheader ], [ %indvars.iv.next47.12.1, %335 ]
  %lcmp.mod102.not = icmp eq i64 %xtraiter101, 0
  br i1 %lcmp.mod102.not, label %._crit_edge39.us.12.preheader, label %._crit_edge39.us.11.epil

._crit_edge39.us.11.epil:                         ; preds = %._crit_edge39.us.12.preheader.unr-lcssa
  %336 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.12.unr, i64 12
  %337 = load i32, ptr %336, align 4, !tbaa !5
  %.not27.us.12.epil = icmp eq i32 %337, -1
  br i1 %.not27.us.12.epil, label %._crit_edge39.us.12.preheader, label %338

338:                                              ; preds = %._crit_edge39.us.11.epil
  %339 = sext i32 %337 to i64
  %340 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %339, i64 12
  %341 = load i32, ptr %340, align 4, !tbaa !5
  %342 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.12.unr, i64 13
  store i32 %341, ptr %342, align 4, !tbaa !5
  br label %._crit_edge39.us.12.preheader

._crit_edge39.us.12.preheader:                    ; preds = %._crit_edge39.us.11.epil, %338, %._crit_edge39.us.12.preheader.unr-lcssa
  %xtraiter105 = and i64 %wide.trip.count, 1
  %343 = icmp eq i64 %41, 0
  br i1 %343, label %._crit_edge39.us.13.preheader.unr-lcssa, label %._crit_edge39.us.12.preheader.new

._crit_edge39.us.12.preheader.new:                ; preds = %._crit_edge39.us.12.preheader
  %unroll_iter107 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.12

._crit_edge39.us.12:                              ; preds = %358, %._crit_edge39.us.12.preheader.new
  %indvars.iv46.13 = phi i64 [ 0, %._crit_edge39.us.12.preheader.new ], [ %indvars.iv.next47.13.1, %358 ]
  %niter108 = phi i64 [ 0, %._crit_edge39.us.12.preheader.new ], [ %niter108.next.1, %358 ]
  %344 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.13, i64 13
  %345 = load i32, ptr %344, align 4, !tbaa !5
  %.not27.us.13 = icmp eq i32 %345, -1
  br i1 %.not27.us.13, label %._crit_edge39.us.12.1, label %346

346:                                              ; preds = %._crit_edge39.us.12
  %347 = sext i32 %345 to i64
  %348 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %347, i64 13
  %349 = load i32, ptr %348, align 4, !tbaa !5
  %350 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.13, i64 14
  store i32 %349, ptr %350, align 8, !tbaa !5
  br label %._crit_edge39.us.12.1

._crit_edge39.us.12.1:                            ; preds = %346, %._crit_edge39.us.12
  %indvars.iv.next47.13 = or disjoint i64 %indvars.iv46.13, 1
  %351 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.13, i64 13
  %352 = load i32, ptr %351, align 8, !tbaa !5
  %.not27.us.13.1 = icmp eq i32 %352, -1
  br i1 %.not27.us.13.1, label %358, label %353

353:                                              ; preds = %._crit_edge39.us.12.1
  %354 = sext i32 %352 to i64
  %355 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %354, i64 13
  %356 = load i32, ptr %355, align 4, !tbaa !5
  %357 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.13, i64 14
  store i32 %356, ptr %357, align 4, !tbaa !5
  br label %358

358:                                              ; preds = %353, %._crit_edge39.us.12.1
  %indvars.iv.next47.13.1 = add nuw nsw i64 %indvars.iv46.13, 2
  %niter108.next.1 = add i64 %niter108, 2
  %niter108.ncmp.1 = icmp eq i64 %niter108.next.1, %unroll_iter107
  br i1 %niter108.ncmp.1, label %._crit_edge39.us.13.preheader.unr-lcssa, label %._crit_edge39.us.12, !llvm.loop !19

._crit_edge39.us.13.preheader.unr-lcssa:          ; preds = %358, %._crit_edge39.us.12.preheader
  %indvars.iv46.13.unr = phi i64 [ 0, %._crit_edge39.us.12.preheader ], [ %indvars.iv.next47.13.1, %358 ]
  %lcmp.mod106.not = icmp eq i64 %xtraiter105, 0
  br i1 %lcmp.mod106.not, label %._crit_edge39.us.13.preheader, label %._crit_edge39.us.12.epil

._crit_edge39.us.12.epil:                         ; preds = %._crit_edge39.us.13.preheader.unr-lcssa
  %359 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.13.unr, i64 13
  %360 = load i32, ptr %359, align 4, !tbaa !5
  %.not27.us.13.epil = icmp eq i32 %360, -1
  br i1 %.not27.us.13.epil, label %._crit_edge39.us.13.preheader, label %361

361:                                              ; preds = %._crit_edge39.us.12.epil
  %362 = sext i32 %360 to i64
  %363 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %362, i64 13
  %364 = load i32, ptr %363, align 4, !tbaa !5
  %365 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.13.unr, i64 14
  store i32 %364, ptr %365, align 4, !tbaa !5
  br label %._crit_edge39.us.13.preheader

._crit_edge39.us.13.preheader:                    ; preds = %._crit_edge39.us.12.epil, %361, %._crit_edge39.us.13.preheader.unr-lcssa
  %xtraiter109 = and i64 %wide.trip.count, 1
  %366 = icmp eq i64 %41, 0
  br i1 %366, label %._crit_edge39.us.14.preheader.unr-lcssa, label %._crit_edge39.us.13.preheader.new

._crit_edge39.us.13.preheader.new:                ; preds = %._crit_edge39.us.13.preheader
  %unroll_iter111 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.13

._crit_edge39.us.13:                              ; preds = %381, %._crit_edge39.us.13.preheader.new
  %indvars.iv46.14 = phi i64 [ 0, %._crit_edge39.us.13.preheader.new ], [ %indvars.iv.next47.14.1, %381 ]
  %niter112 = phi i64 [ 0, %._crit_edge39.us.13.preheader.new ], [ %niter112.next.1, %381 ]
  %367 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.14, i64 14
  %368 = load i32, ptr %367, align 8, !tbaa !5
  %.not27.us.14 = icmp eq i32 %368, -1
  br i1 %.not27.us.14, label %._crit_edge39.us.13.1, label %369

369:                                              ; preds = %._crit_edge39.us.13
  %370 = sext i32 %368 to i64
  %371 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %370, i64 14
  %372 = load i32, ptr %371, align 4, !tbaa !5
  %373 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.14, i64 15
  store i32 %372, ptr %373, align 4, !tbaa !5
  br label %._crit_edge39.us.13.1

._crit_edge39.us.13.1:                            ; preds = %369, %._crit_edge39.us.13
  %indvars.iv.next47.14 = or disjoint i64 %indvars.iv46.14, 1
  %374 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.14, i64 14
  %375 = load i32, ptr %374, align 4, !tbaa !5
  %.not27.us.14.1 = icmp eq i32 %375, -1
  br i1 %.not27.us.14.1, label %381, label %376

376:                                              ; preds = %._crit_edge39.us.13.1
  %377 = sext i32 %375 to i64
  %378 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %377, i64 14
  %379 = load i32, ptr %378, align 4, !tbaa !5
  %380 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.14, i64 15
  store i32 %379, ptr %380, align 8, !tbaa !5
  br label %381

381:                                              ; preds = %376, %._crit_edge39.us.13.1
  %indvars.iv.next47.14.1 = add nuw nsw i64 %indvars.iv46.14, 2
  %niter112.next.1 = add i64 %niter112, 2
  %niter112.ncmp.1 = icmp eq i64 %niter112.next.1, %unroll_iter111
  br i1 %niter112.ncmp.1, label %._crit_edge39.us.14.preheader.unr-lcssa, label %._crit_edge39.us.13, !llvm.loop !19

._crit_edge39.us.14.preheader.unr-lcssa:          ; preds = %381, %._crit_edge39.us.13.preheader
  %indvars.iv46.14.unr = phi i64 [ 0, %._crit_edge39.us.13.preheader ], [ %indvars.iv.next47.14.1, %381 ]
  %lcmp.mod110.not = icmp eq i64 %xtraiter109, 0
  br i1 %lcmp.mod110.not, label %._crit_edge39.us.14.preheader, label %._crit_edge39.us.13.epil

._crit_edge39.us.13.epil:                         ; preds = %._crit_edge39.us.14.preheader.unr-lcssa
  %382 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.14.unr, i64 14
  %383 = load i32, ptr %382, align 4, !tbaa !5
  %.not27.us.14.epil = icmp eq i32 %383, -1
  br i1 %.not27.us.14.epil, label %._crit_edge39.us.14.preheader, label %384

384:                                              ; preds = %._crit_edge39.us.13.epil
  %385 = sext i32 %383 to i64
  %386 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %385, i64 14
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.14.unr, i64 15
  store i32 %387, ptr %388, align 4, !tbaa !5
  br label %._crit_edge39.us.14.preheader

._crit_edge39.us.14.preheader:                    ; preds = %._crit_edge39.us.13.epil, %384, %._crit_edge39.us.14.preheader.unr-lcssa
  %xtraiter113 = and i64 %wide.trip.count, 1
  %389 = icmp eq i64 %41, 0
  br i1 %389, label %._crit_edge39.us.15.preheader.unr-lcssa, label %._crit_edge39.us.14.preheader.new

._crit_edge39.us.14.preheader.new:                ; preds = %._crit_edge39.us.14.preheader
  %unroll_iter115 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.14

._crit_edge39.us.14:                              ; preds = %404, %._crit_edge39.us.14.preheader.new
  %indvars.iv46.15 = phi i64 [ 0, %._crit_edge39.us.14.preheader.new ], [ %indvars.iv.next47.15.1, %404 ]
  %niter116 = phi i64 [ 0, %._crit_edge39.us.14.preheader.new ], [ %niter116.next.1, %404 ]
  %390 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.15, i64 15
  %391 = load i32, ptr %390, align 4, !tbaa !5
  %.not27.us.15 = icmp eq i32 %391, -1
  br i1 %.not27.us.15, label %._crit_edge39.us.14.1, label %392

392:                                              ; preds = %._crit_edge39.us.14
  %393 = sext i32 %391 to i64
  %394 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %393, i64 15
  %395 = load i32, ptr %394, align 4, !tbaa !5
  %396 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.15, i64 16
  store i32 %395, ptr %396, align 8, !tbaa !5
  br label %._crit_edge39.us.14.1

._crit_edge39.us.14.1:                            ; preds = %392, %._crit_edge39.us.14
  %indvars.iv.next47.15 = or disjoint i64 %indvars.iv46.15, 1
  %397 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.15, i64 15
  %398 = load i32, ptr %397, align 8, !tbaa !5
  %.not27.us.15.1 = icmp eq i32 %398, -1
  br i1 %.not27.us.15.1, label %404, label %399

399:                                              ; preds = %._crit_edge39.us.14.1
  %400 = sext i32 %398 to i64
  %401 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %400, i64 15
  %402 = load i32, ptr %401, align 4, !tbaa !5
  %403 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.15, i64 16
  store i32 %402, ptr %403, align 4, !tbaa !5
  br label %404

404:                                              ; preds = %399, %._crit_edge39.us.14.1
  %indvars.iv.next47.15.1 = add nuw nsw i64 %indvars.iv46.15, 2
  %niter116.next.1 = add i64 %niter116, 2
  %niter116.ncmp.1 = icmp eq i64 %niter116.next.1, %unroll_iter115
  br i1 %niter116.ncmp.1, label %._crit_edge39.us.15.preheader.unr-lcssa, label %._crit_edge39.us.14, !llvm.loop !19

._crit_edge39.us.15.preheader.unr-lcssa:          ; preds = %404, %._crit_edge39.us.14.preheader
  %indvars.iv46.15.unr = phi i64 [ 0, %._crit_edge39.us.14.preheader ], [ %indvars.iv.next47.15.1, %404 ]
  %lcmp.mod114.not = icmp eq i64 %xtraiter113, 0
  br i1 %lcmp.mod114.not, label %._crit_edge39.us.15.preheader, label %._crit_edge39.us.14.epil

._crit_edge39.us.14.epil:                         ; preds = %._crit_edge39.us.15.preheader.unr-lcssa
  %405 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.15.unr, i64 15
  %406 = load i32, ptr %405, align 4, !tbaa !5
  %.not27.us.15.epil = icmp eq i32 %406, -1
  br i1 %.not27.us.15.epil, label %._crit_edge39.us.15.preheader, label %407

407:                                              ; preds = %._crit_edge39.us.14.epil
  %408 = sext i32 %406 to i64
  %409 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %408, i64 15
  %410 = load i32, ptr %409, align 4, !tbaa !5
  %411 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.15.unr, i64 16
  store i32 %410, ptr %411, align 4, !tbaa !5
  br label %._crit_edge39.us.15.preheader

._crit_edge39.us.15.preheader:                    ; preds = %._crit_edge39.us.14.epil, %407, %._crit_edge39.us.15.preheader.unr-lcssa
  %xtraiter117 = and i64 %wide.trip.count, 1
  %412 = icmp eq i64 %41, 0
  br i1 %412, label %._crit_edge39.us.16.preheader.unr-lcssa, label %._crit_edge39.us.15.preheader.new

._crit_edge39.us.15.preheader.new:                ; preds = %._crit_edge39.us.15.preheader
  %unroll_iter119 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.15

._crit_edge39.us.15:                              ; preds = %427, %._crit_edge39.us.15.preheader.new
  %indvars.iv46.16 = phi i64 [ 0, %._crit_edge39.us.15.preheader.new ], [ %indvars.iv.next47.16.1, %427 ]
  %niter120 = phi i64 [ 0, %._crit_edge39.us.15.preheader.new ], [ %niter120.next.1, %427 ]
  %413 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.16, i64 16
  %414 = load i32, ptr %413, align 8, !tbaa !5
  %.not27.us.16 = icmp eq i32 %414, -1
  br i1 %.not27.us.16, label %._crit_edge39.us.15.1, label %415

415:                                              ; preds = %._crit_edge39.us.15
  %416 = sext i32 %414 to i64
  %417 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %416, i64 16
  %418 = load i32, ptr %417, align 4, !tbaa !5
  %419 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.16, i64 17
  store i32 %418, ptr %419, align 4, !tbaa !5
  br label %._crit_edge39.us.15.1

._crit_edge39.us.15.1:                            ; preds = %415, %._crit_edge39.us.15
  %indvars.iv.next47.16 = or disjoint i64 %indvars.iv46.16, 1
  %420 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.16, i64 16
  %421 = load i32, ptr %420, align 4, !tbaa !5
  %.not27.us.16.1 = icmp eq i32 %421, -1
  br i1 %.not27.us.16.1, label %427, label %422

422:                                              ; preds = %._crit_edge39.us.15.1
  %423 = sext i32 %421 to i64
  %424 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %423, i64 16
  %425 = load i32, ptr %424, align 4, !tbaa !5
  %426 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.16, i64 17
  store i32 %425, ptr %426, align 8, !tbaa !5
  br label %427

427:                                              ; preds = %422, %._crit_edge39.us.15.1
  %indvars.iv.next47.16.1 = add nuw nsw i64 %indvars.iv46.16, 2
  %niter120.next.1 = add i64 %niter120, 2
  %niter120.ncmp.1 = icmp eq i64 %niter120.next.1, %unroll_iter119
  br i1 %niter120.ncmp.1, label %._crit_edge39.us.16.preheader.unr-lcssa, label %._crit_edge39.us.15, !llvm.loop !19

._crit_edge39.us.16.preheader.unr-lcssa:          ; preds = %427, %._crit_edge39.us.15.preheader
  %indvars.iv46.16.unr = phi i64 [ 0, %._crit_edge39.us.15.preheader ], [ %indvars.iv.next47.16.1, %427 ]
  %lcmp.mod118.not = icmp eq i64 %xtraiter117, 0
  br i1 %lcmp.mod118.not, label %._crit_edge39.us.16.preheader, label %._crit_edge39.us.15.epil

._crit_edge39.us.15.epil:                         ; preds = %._crit_edge39.us.16.preheader.unr-lcssa
  %428 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.16.unr, i64 16
  %429 = load i32, ptr %428, align 4, !tbaa !5
  %.not27.us.16.epil = icmp eq i32 %429, -1
  br i1 %.not27.us.16.epil, label %._crit_edge39.us.16.preheader, label %430

430:                                              ; preds = %._crit_edge39.us.15.epil
  %431 = sext i32 %429 to i64
  %432 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %431, i64 16
  %433 = load i32, ptr %432, align 4, !tbaa !5
  %434 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.16.unr, i64 17
  store i32 %433, ptr %434, align 4, !tbaa !5
  br label %._crit_edge39.us.16.preheader

._crit_edge39.us.16.preheader:                    ; preds = %._crit_edge39.us.15.epil, %430, %._crit_edge39.us.16.preheader.unr-lcssa
  %xtraiter121 = and i64 %wide.trip.count, 1
  %435 = icmp eq i64 %41, 0
  br i1 %435, label %.preheader.loopexit.unr-lcssa, label %._crit_edge39.us.16.preheader.new

._crit_edge39.us.16.preheader.new:                ; preds = %._crit_edge39.us.16.preheader
  %unroll_iter123 = and i64 %wide.trip.count, 2147483646
  br label %._crit_edge39.us.16

._crit_edge39.us.16:                              ; preds = %450, %._crit_edge39.us.16.preheader.new
  %indvars.iv46.17 = phi i64 [ 0, %._crit_edge39.us.16.preheader.new ], [ %indvars.iv.next47.17.1, %450 ]
  %niter124 = phi i64 [ 0, %._crit_edge39.us.16.preheader.new ], [ %niter124.next.1, %450 ]
  %436 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.17, i64 17
  %437 = load i32, ptr %436, align 4, !tbaa !5
  %.not27.us.17 = icmp eq i32 %437, -1
  br i1 %.not27.us.17, label %._crit_edge39.us.16.1, label %438

438:                                              ; preds = %._crit_edge39.us.16
  %439 = sext i32 %437 to i64
  %440 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %439, i64 17
  %441 = load i32, ptr %440, align 4, !tbaa !5
  %442 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.17, i64 18
  store i32 %441, ptr %442, align 8, !tbaa !5
  br label %._crit_edge39.us.16.1

._crit_edge39.us.16.1:                            ; preds = %438, %._crit_edge39.us.16
  %indvars.iv.next47.17 = or disjoint i64 %indvars.iv46.17, 1
  %443 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.17, i64 17
  %444 = load i32, ptr %443, align 8, !tbaa !5
  %.not27.us.17.1 = icmp eq i32 %444, -1
  br i1 %.not27.us.17.1, label %450, label %445

445:                                              ; preds = %._crit_edge39.us.16.1
  %446 = sext i32 %444 to i64
  %447 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %446, i64 17
  %448 = load i32, ptr %447, align 4, !tbaa !5
  %449 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv.next47.17, i64 18
  store i32 %448, ptr %449, align 4, !tbaa !5
  br label %450

450:                                              ; preds = %445, %._crit_edge39.us.16.1
  %indvars.iv.next47.17.1 = add nuw nsw i64 %indvars.iv46.17, 2
  %niter124.next.1 = add i64 %niter124, 2
  %niter124.ncmp.1 = icmp eq i64 %niter124.next.1, %unroll_iter123
  br i1 %niter124.ncmp.1, label %.preheader.loopexit.unr-lcssa, label %._crit_edge39.us.16, !llvm.loop !19

.lr.ph35:                                         ; preds = %._crit_edge32, %.lr.ph35
  %.02233 = phi i32 [ %461, %.lr.ph35 ], [ 0, %._crit_edge32 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %451 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %5, ptr noundef nonnull %6)
  %452 = load i32, ptr %5, align 4, !tbaa !5
  %453 = add nsw i32 %452, -1
  store i32 %453, ptr %5, align 4, !tbaa !5
  %454 = load i32, ptr %6, align 4, !tbaa !5
  %455 = add nsw i32 %454, -1
  store i32 %455, ptr %6, align 4, !tbaa !5
  %456 = sext i32 %453 to i64
  %457 = getelementptr inbounds [111111 x %"class.std::vector"], ptr @adj, i64 0, i64 %456
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %457, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %458 = load i32, ptr %6, align 4, !tbaa !5
  %459 = sext i32 %458 to i64
  %460 = getelementptr inbounds [111111 x %"class.std::vector"], ptr @adj, i64 0, i64 %459
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %460, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  %461 = add nuw nsw i32 %.02233, 1
  %462 = load i32, ptr %1, align 4, !tbaa !5
  %463 = add nsw i32 %462, -1
  %464 = icmp slt i32 %461, %463
  br i1 %464, label %.lr.ph35, label %._crit_edge36, !llvm.loop !20

.preheader.loopexit.unr-lcssa:                    ; preds = %450, %._crit_edge39.us.16.preheader
  %indvars.iv46.17.unr = phi i64 [ 0, %._crit_edge39.us.16.preheader ], [ %indvars.iv.next47.17.1, %450 ]
  %lcmp.mod122.not = icmp eq i64 %xtraiter121, 0
  br i1 %lcmp.mod122.not, label %.preheader, label %._crit_edge39.us.16.epil

._crit_edge39.us.16.epil:                         ; preds = %.preheader.loopexit.unr-lcssa
  %465 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.17.unr, i64 17
  %466 = load i32, ptr %465, align 4, !tbaa !5
  %.not27.us.17.epil = icmp eq i32 %466, -1
  br i1 %.not27.us.17.epil, label %.preheader, label %467

467:                                              ; preds = %._crit_edge39.us.16.epil
  %468 = sext i32 %466 to i64
  %469 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %468, i64 17
  %470 = load i32, ptr %469, align 4, !tbaa !5
  %471 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %indvars.iv46.17.unr, i64 18
  store i32 %470, ptr %471, align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit.unr-lcssa, %467, %._crit_edge39.us.16.epil, %._crit_edge36
  %472 = load i32, ptr %2, align 4, !tbaa !5
  %473 = add nsw i32 %472, -1
  store i32 %473, ptr %2, align 4, !tbaa !5
  %.not41 = icmp eq i32 %472, 0
  br i1 %.not41, label %._crit_edge43, label %.lr.ph42

.lr.ph42:                                         ; preds = %.preheader, %.lr.ph42
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  %474 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.5, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %475 = load i32, ptr %7, align 4, !tbaa !5
  %476 = add nsw i32 %475, -1
  store i32 %476, ptr %7, align 4, !tbaa !5
  %477 = load i32, ptr %8, align 4, !tbaa !5
  %478 = add nsw i32 %477, -1
  store i32 %478, ptr %8, align 4, !tbaa !5
  %479 = call noundef i32 @_Z3LCAii(i32 noundef %476, i32 noundef %478)
  %480 = load i32, ptr %7, align 4, !tbaa !5
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %481
  %483 = load ptr, ptr %482, align 8, !tbaa !14
  %484 = load i32, ptr %8, align 4, !tbaa !5
  %485 = sext i32 %484 to i64
  %486 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %485
  %487 = load ptr, ptr %486, align 8, !tbaa !14
  %488 = sext i32 %479 to i64
  %489 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %488
  %490 = load ptr, ptr %489, align 8, !tbaa !14
  %491 = getelementptr inbounds [111111 x [19 x i32]], ptr @pa, i64 0, i64 %488
  %492 = load i32, ptr %491, align 4, !tbaa !5
  %493 = icmp eq i32 %492, -1
  %494 = sext i32 %492 to i64
  %495 = getelementptr inbounds [111111 x ptr], ptr @root, i64 0, i64 %494
  %.in = select i1 %493, ptr @null, ptr %495
  %496 = load ptr, ptr %.in, align 8, !tbaa !14
  %497 = load i32, ptr @maxi, align 4, !tbaa !5
  %498 = load i32, ptr %9, align 4, !tbaa !5
  %499 = call noundef i32 @_Z5queryP4nodeS0_S0_S0_iii(ptr noundef %483, ptr noundef %487, ptr noundef %490, ptr noundef %496, i32 noundef 0, i32 noundef %497, i32 noundef %498)
  %500 = sext i32 %499 to i64
  %501 = getelementptr inbounds [111111 x i32], ptr @RM, i64 0, i64 %500
  %502 = load i32, ptr %501, align 4, !tbaa !5
  %503 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %502)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  %504 = load i32, ptr %2, align 4, !tbaa !5
  %505 = add nsw i32 %504, -1
  store i32 %505, ptr %2, align 4, !tbaa !5
  %.not = icmp eq i32 %504, 0
  br i1 %.not, label %._crit_edge43, label %.lr.ph42, !llvm.loop !21

._crit_edge43:                                    ; preds = %.lr.ph42, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }

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

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


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